fix(agentcompat): decouple auto-lockdown and telemetry-only mode under agentcompat build tag

This commit is contained in:
Bot
2026-09-04 19:13:27 +08:00
parent 5d0da5490c
commit 5665e0aaa1
4 changed files with 50 additions and 20 deletions
+15
View File
@@ -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)
}