mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-30 00:27:42 +08:00
- 权限「此项目永久」:审批新增 persist 级别,规则落盘到 <项目>/.mc-agent/permissions.json(allow/deny 列表), 新会话经 EnableProjectRules 加载;CLI [p] 选项 + UI 按钮; policy 单测覆盖存取往返 - bash env 跨调用保持:export -p 落盘 + 下次调用 source(过滤 PWD/SHLVL 等),保持退出码;工具 Close 清理临时文件,经 Registry.Close/Engine.Close 在会话结束时回收 - 修复 chat 欢迎行 printf 参数错位(模型名未显示) - 修复 isTerminal 把 /dev/null 误判为 TTY(改用 golang.org/x/term) - eval 基线归档到 agent/eval/baselines/(不再只在 /tmp)
23 lines
657 B
AMPL
23 lines
657 B
AMPL
module github.com/chaitin/MonkeyCode/agent
|
|
|
|
go 1.26.5
|
|
|
|
require (
|
|
github.com/bmatcuk/doublestar/v4 v4.10.0
|
|
github.com/coder/websocket v1.8.15
|
|
github.com/modelcontextprotocol/go-sdk v1.6.1
|
|
github.com/spf13/cobra v1.10.2
|
|
)
|
|
|
|
require (
|
|
github.com/google/jsonschema-go v0.4.3 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/segmentio/asm v1.1.3 // indirect
|
|
github.com/segmentio/encoding v0.5.4 // indirect
|
|
github.com/spf13/pflag v1.0.9 // indirect
|
|
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
|
|
golang.org/x/oauth2 v0.35.0 // indirect
|
|
golang.org/x/sys v0.47.0 // indirect
|
|
golang.org/x/term v0.45.0 // indirect
|
|
)
|