@zythegit/agentforge 0.2.3-rc.1 → 0.2.3-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/dist/aforge.js +236 -229
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -56,10 +56,14 @@ aforge status # SoT 概览:scope、各 target 落点与技能调
56
56
  aforge doctor # 体检:配置合法性、投影一致性、环境问题
57
57
  aforge sync --dry-run # 只看会写哪些文件,不落盘
58
58
  aforge learn # 记一条 learning(不投影,promote 后才进规则)
59
+ aforge learn --file - # 从 stdin 读正文(管道 / agent 调用;非交互终端必须走这条)
60
+ aforge learn --file notes.md # 从文件读正文
59
61
  aforge skill add <name> # 装技能进 SoT 并登记,sync 后投影到四家
60
62
  aforge mcp add # 登记 MCP 服务器,sync 时翻译成各 Agent 的原生配置
61
63
  ```
62
64
 
65
+ 让 agent 自己沉淀经验:把 `learning.auto_capture` 设为 `prompt`(投影正文里多一段协议)或 `hook`(codex 侧会话钩子注入)。没有钩子落点的三家可以手工挂载同一份协议,写法见 [learning](docs/learning.md#手工挂载把协议塞进没有落点的三家)。
66
+
63
67
  任何子命令都可加 `--json` 拿机器可读输出(路径一律绝对路径)。完整 14 个命令、参数与退出码见 [命令速查](docs/commands.md)。
64
68
 
65
69
  ## 工作原理