mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-09-21 10:40:13 +00:00
fix(agentcompat): decouple auto-lockdown and telemetry-only mode under agentcompat build tag
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//go:build agentcompat
|
||||
|
||||
package rpc
|
||||
|
||||
import (
|
||||
"github.com/nezhahq/nezha/model"
|
||||
)
|
||||
|
||||
func defaultTelemetryOnly() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func autoLockdownAgentIfNeeded(server *model.Server) {
|
||||
// agentcompat harness tests full agent control (MCP exec, terminal, FM)
|
||||
}
|
||||
Reference in New Issue
Block a user