Files
雷电芽衣 1ede03d989 chore(go): audit providers copilot droid augment cline
Move the four providers onto managed_runtime.go and shell_command.go;
keep the Auggie wrappers, Cline metadata wrappers, and the Copilot and
Droid precondition handling provider-local.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 01:56:07 -04:00

16 lines
420 B
Go

package plugins
import "path/filepath"
func clineRuntimeFilesExist(contract *clineRuntimeContract) (bool, error) {
if !sameManagedPath(contract.guardPath, filepath.Join(contract.agentDirectory, clineGuardScript)) {
return false, nil
}
return managedRuntimeContractExists(
managedRuntimeContract{contract.agentID, contract.guardPath, contract.auditPath},
clineAgentKey,
"Cline",
clineExpectedScripts,
)
}