@zythegit/agentforge 0.2.0 → 0.2.2-rc.1
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.
- package/README.md +7 -4
- package/dist/aforge.js +353 -352
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,17 +29,17 @@ npm i -g @zythegit/agentforge # 常用则全局装,命令名
|
|
|
29
29
|
```powershell
|
|
30
30
|
cd C:\path\to\your-project
|
|
31
31
|
|
|
32
|
-
# ①
|
|
33
|
-
aforge init
|
|
32
|
+
# ① 初始化:终端里默认走交互五步——选 scope → 自动探测工具链 → 确认 → 选目标 Agent → 写入(可选立即 sync)
|
|
33
|
+
aforge init
|
|
34
34
|
|
|
35
35
|
# ② 之后每次修改 .agentforge 内的任意内容,同步到四个目标
|
|
36
36
|
aforge sync
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
不想交互?`--yes` 走全默认(scope=project、四个 target 全装),CI / 管道里自动就是这条路:
|
|
40
40
|
|
|
41
41
|
```powershell
|
|
42
|
-
aforge init --scope
|
|
42
|
+
aforge init --yes # 或 aforge init --yes --scope user 单独指定层
|
|
43
43
|
aforge sync
|
|
44
44
|
```
|
|
45
45
|
|
|
@@ -99,6 +99,9 @@ aforge mcp add # 登记 MCP 服务器,sync 时翻译成各 Agent
|
|
|
99
99
|
## 文档
|
|
100
100
|
|
|
101
101
|
- [命令速查与约定](docs/commands.md)——14 个命令、`--json` 契约、环境变量、退出码
|
|
102
|
+
- [profile.yaml 配置参考](docs/profile.md)——全字段类型/默认值、两层合并语义、投影开关
|
|
103
|
+
- [habits.yaml 配置参考](docs/habits.md)——运行时/工具/AI 习惯声明,以及哪些字段真正进投影正文
|
|
104
|
+
- [规则正文装配](docs/rules.md)——四层顺序,`custom/` 逐字规则与 `templates/` 自定义模板
|
|
102
105
|
- [安装与构建](docs/install.md)——三种装法、双轨构建、开发命令
|
|
103
106
|
- [技能](docs/skills.md)——登记来源、安装、投影落点与调用前缀,以及 `expose_as_command` 命令薄壳(命名空间、`$1..$9`)
|
|
104
107
|
- [MCP](docs/mcp.md)——一份声明翻译成四家的原生配置
|