@fenglimg/fabric-cli 2.0.0-rc.13 → 2.0.0-rc.21
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 +4 -2
- package/dist/{chunk-X7QPY5KH.js → chunk-4HC5ZK7H.js} +296 -301
- package/dist/{chunk-FDRLV5PL.js → chunk-FNO7CQDG.js} +5 -213
- package/dist/{chunk-WWNXR34K.js → chunk-G2CIOLD4.js} +16 -1
- package/dist/chunk-KZ2YITOS.js +225 -0
- package/dist/{chunk-OHWQNSLH.js → chunk-MF3OTILQ.js} +267 -44
- package/dist/{chunk-OBQU6NHO.js → chunk-ZSESMG6L.js} +0 -6
- package/dist/config-AYP5F72E.js +13 -0
- package/dist/doctor-L6TIXXIX.js +425 -0
- package/dist/index.js +11 -9
- package/dist/{install-SLS5W27W.js → install-DNZXGFHJ.js} +344 -359
- package/dist/{plan-context-hint-QMUPAXIB.js → plan-context-hint-CFDGXHCA.js} +10 -5
- package/dist/{serve-NGLXHDYC.js → serve-6PPQX7AW.js} +16 -11
- package/dist/{uninstall-JHUSFENL.js → uninstall-L2HEEOU3.js} +200 -215
- package/package.json +3 -3
- package/templates/hooks/configs/README.md +9 -5
- package/templates/hooks/configs/cursor-hooks.json +7 -10
- package/templates/hooks/fabric-hint.cjs +350 -21
- package/templates/hooks/knowledge-hint-broad.cjs +39 -14
- package/templates/hooks/knowledge-hint-narrow.cjs +31 -7
- package/templates/hooks/lib/banner-i18n.cjs +252 -0
- package/dist/chunk-Q72D24BG.js +0 -186
- package/dist/doctor-RILCO5OG.js +0 -282
- package/dist/hooks-HIWYI3VG.js +0 -13
- package/dist/scan-VHKZPT2W.js +0 -24
- package/templates/agents-md/AGENTS.md.template +0 -59
- package/templates/bootstrap/CLAUDE.md +0 -8
- package/templates/bootstrap/codex-AGENTS-header.md +0 -6
- package/templates/bootstrap/cursor-fabric-bootstrap.mdc +0 -10
package/README.md
CHANGED
|
@@ -9,16 +9,18 @@
|
|
|
9
9
|
3. 在目标项目运行 `fabric install`,完成一站式安装。
|
|
10
10
|
4. 启动 `fabric serve`,再去客户端里验证 `fab_plan_context` 和 `fab_get_knowledge_sections`。
|
|
11
11
|
|
|
12
|
-
`fabric install` 会自动准备 bootstrap、MCP 配置和 git hooks。公共命令面只保留 `install`、`
|
|
12
|
+
`fabric install` 会自动准备 bootstrap、MCP 配置和 git hooks。公共命令面只保留 `install`、`doctor`、`serve`、`uninstall`、`config`(rc.15 起 `fab scan` 已折叠到 `fab doctor --rescan`)。
|
|
13
13
|
|
|
14
14
|
## 常用命令
|
|
15
15
|
|
|
16
16
|
- `fabric install`
|
|
17
|
-
- `fabric scan`
|
|
18
17
|
- `fabric doctor`
|
|
19
18
|
- `fabric doctor --json`
|
|
20
19
|
- `fabric doctor --strict`
|
|
21
20
|
- `fabric doctor --fix`
|
|
21
|
+
- `fabric doctor --rescan`(替代旧的 `fabric scan`)
|
|
22
22
|
- `fabric serve`
|
|
23
|
+
- `fabric uninstall`
|
|
24
|
+
- `fabric config`(rc.16 起将提供配置面板;当前为占位提示)
|
|
23
25
|
|
|
24
26
|
`fabric doctor --fix` 只修复确定性的派生状态,例如 `.fabric/agents.meta.json`、`.fabric/.cache/knowledge-test.index.json`、缺失的 `.fabric/events.jsonl` 和 stale hashes;语义冲突、缺失 rule section、未完成的初始化确认仍需要人工处理。
|