feat: AutoZero 通用 Agent 框架(从 AutoGo 五阶段拆分完成)
llm(三协议 Provider)/ session(JSONL 持久化)/ tools(Registry、围栏、 builtin、computer)/ cdp(browser)/ skills / mcp / agent(循环、两级压缩、 编排、审批门控)+ 底座 jsonl/textx/execx/diag/scratch/spill/imagecache。 产品装配代码(config 桥接、schedule 工具、memory/plan/retro/prompt) 留在 AutoGo,宿主接入方式见 MIGRATION.md。
This commit is contained in:
commit
d5dac5a6fc
140 files changed
+26497
No files matched your search
@@ -0,0 +1,19 @@
|
||||
//go:build windows
|
||||
|
||||
package execx
|
||||
|
||||
import "os/exec"
|
||||
|
||||
// SeparateGroup 在 Windows 上是空操作:杀进程树需要 CREATE_NEW_PROCESS_GROUP +
|
||||
// taskkill /T(或 Toolhelp 快照遍历子进程),代价与收益不匹配。Windows 下
|
||||
// "调用方不被钉死"由 Command 的 WaitDelay 保证;孤儿进程留给系统回收。
|
||||
func SeparateGroup(cmd *exec.Cmd) {}
|
||||
|
||||
// KillTree 退化为杀本体(见 SeparateGroup 的说明)。
|
||||
func KillTree(cmd *exec.Cmd) error {
|
||||
if cmd.Process == nil {
|
||||
return nil
|
||||
}
|
||||
_ = cmd.Process.Kill()
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user