@c4a/context-cli 0.7.92 → 0.7.94
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 +11 -3
- package/README.zh-CN.md +4 -2
- package/cli.js +19490 -18500
- package/indexers/bundles/context-code-indexer/references/composers/contracts-and-chains.md +1 -1
- package/indexers/bundles/context-code-indexer/references/composers/cross-module-chain.md +1 -1
- package/indexers/bundles/context-code-indexer/references/composers/development-and-delivery.md +1 -1
- package/indexers/bundles/context-code-indexer/references/composers/event-flow.md +1 -1
- package/indexers/bundles/context-code-indexer/references/composers/examples-and-documentation.md +1 -1
- package/indexers/bundles/context-code-indexer/references/composers/persistence-boundary.md +1 -1
- package/indexers/bundles/context-code-indexer/references/composers/protocol-boundary.md +1 -1
- package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +1 -1
- package/indexers/bundles/context-code-indexer/references/indexer.md +1 -1
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation.md +1 -1
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +1 -1
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +14 -14
- package/package.json +12 -12
- package/parserEntryWorker.js +1 -1
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +31 -10
- package/plugins/claude/resources/context/routine-update.md +131 -0
- package/plugins/claude/resources/context/version-alignment.md +54 -0
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +31 -10
- package/plugins/codex/skills/context/references/routine-update.md +131 -0
- package/plugins/codex/skills/context/references/version-alignment.md +54 -0
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +31 -10
- package/plugins/cursor/resources/context/routine-update.md +131 -0
- package/plugins/cursor/resources/context/version-alignment.md +54 -0
- package/plugins/skills/context/SKILL.md +31 -10
- package/plugins/skills/context/references/routine-update.md +131 -0
- package/plugins/skills/context/references/version-alignment.md +54 -0
- package/plugins/skills/context-code-indexer/references/composers/contracts-and-chains.md +1 -1
- package/plugins/skills/context-code-indexer/references/composers/cross-module-chain.md +1 -1
- package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md +1 -1
- package/plugins/skills/context-code-indexer/references/composers/event-flow.md +1 -1
- package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md +1 -1
- package/plugins/skills/context-code-indexer/references/composers/persistence-boundary.md +1 -1
- package/plugins/skills/context-code-indexer/references/composers/protocol-boundary.md +1 -1
- package/plugins/skills/context-code-indexer/references/composers/public-contract.md +1 -1
- package/plugins/skills/context-code-indexer/references/indexer.md +1 -1
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation.md +1 -1
- package/plugins/skills/context-markdown-indexer/references/indexer.md +1 -1
- package/providers/context/manifest.json +24 -24
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/code-indexer-skill-authoring.md +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +22 -7
- package/providers/context/resources/manuals/guides/markdown-indexer-skill-authoring.md +1 -1
- package/providers/context/resources/manuals/guides/site-translation.md +13 -3
- package/providers/context/resources/manuals/reference/package-templates.md +1 -1
- package/providers/context/resources/procedures/approved-revision.md +19 -4
- package/providers/context/resources/procedures/knowledge-maintenance.md +16 -0
- package/providers/context/resources/procedures/knowledge-review.md +17 -6
- package/providers/context/resources/procedures/knowledge-updates.md +22 -7
- package/providers/context/resources/procedures/production-stage-files.md +2 -2
- package/providers/context/resources/procedures/source-update.md +4 -2
- package/providers/context/skills/run-indexer-agent-step/SKILL.md +3 -1
- package/providers/context/skills/translate-site-locales/SKILL.md +8 -2
package/README.md
CHANGED
|
@@ -80,9 +80,10 @@ Agent knowledge package. Keep every code claim traceable.
|
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
If the Agent entry is present but the `context` executable is missing, the
|
|
83
|
-
entry
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
entry installs it once when the host already allows upgrading to a minimum
|
|
84
|
+
version; otherwise it reports the exact installation recovery and stops. It does
|
|
85
|
+
not run an installation preflight on every request and does not confuse a normal
|
|
86
|
+
workflow `not found` diagnostic with a missing executable.
|
|
86
87
|
|
|
87
88
|
## How one Agent entry drives the workflow
|
|
88
89
|
|
|
@@ -368,6 +369,13 @@ same id/input on retry. Status reports active and queued maintenance plus its
|
|
|
368
369
|
waiting condition. Source refreshes remain explicit scope adjustments; this
|
|
369
370
|
entry does not fetch remote sources or rerun every custom Composer.
|
|
370
371
|
|
|
372
|
+
While a revision batch (including the pages of a source update) is not yet
|
|
373
|
+
approved, `revise` and `task maintain` add pages to it instead of queueing, and
|
|
374
|
+
`task retire` schedules the retirement with it. Approval closes the batch; later
|
|
375
|
+
requests queue for the next one. Between approval and delivery, record a
|
|
376
|
+
mechanical correction made without another Review with `context task record-fix
|
|
377
|
+
--input <{path, reason}> --format json`.
|
|
378
|
+
|
|
371
379
|
`context task maintenance-status --format json` exposes the request state and
|
|
372
380
|
revision. `context task cancel-maintenance <id> --format json` cancels a pending
|
|
373
381
|
request. Discarding an active maintenance draft additionally requires its current
|
package/README.zh-CN.md
CHANGED
|
@@ -61,8 +61,8 @@ Provider Skill 投影到 Claude、Codex 和 Cursor 的用户技能目录。
|
|
|
61
61
|
结论都要保留可追溯引用。
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
如果 Agent 入口已经存在但缺少 `context`
|
|
65
|
-
|
|
64
|
+
如果 Agent 入口已经存在但缺少 `context` 可执行文件:宿主已允许升级到最低版本时,
|
|
65
|
+
入口会安装一次;否则给出准确的安装恢复方法并停止。它不会为每次调用增加安装预检,也不会把普通工作流中的 `not found`
|
|
66
66
|
诊断误判成可执行文件缺失。
|
|
67
67
|
|
|
68
68
|
## 飞书读取身份
|
|
@@ -260,4 +260,6 @@ MIT.
|
|
|
260
260
|
|
|
261
261
|
来源刷新仍走明确范围调整;该入口不会抓取远端来源,也不代表能够重跑任意自定义 Composer。目标主体仍有未交付生产内容时,先等该写入方完成,再修订最新正文,避免恢复后覆盖。
|
|
262
262
|
|
|
263
|
+
修订批次(包括来源更新的页面批次)尚未审阅通过时,`revise` 与 `task maintain` 把页面加入该批次而不是排队,`task retire` 把退役安排在该批次一并生效。审阅通过即关闭批次,之后的请求排到下一批。通过后、交付完成前,不经再次审阅的机械修正用 `context task record-fix --input <{path, reason}> --format json` 记录。
|
|
264
|
+
|
|
263
265
|
`context task maintenance-status --format json` 返回维护状态和 revision。`context task cancel-maintenance <id> --format json` 取消待办;明确放弃活动维护草稿时,再提供当前 `--discard-revision`。已批准页面和其他生产成果保留。
|