@c4a/context-cli 0.7.40 → 0.7.42
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 +17 -0
- package/README.zh-CN.md +14 -0
- package/cli.js +1090 -934
- package/evidence/LICENSE +21 -0
- package/evidence/THIRD-PARTY-NOTICES.txt +3644 -0
- package/evidence/context-evidence.sourcegraph.wasm +0 -0
- package/evidence/manifest.json +4 -0
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context-inspect-search.md +91 -9
- package/plugins/claude/skills/context-inspect-search/SKILL.md +91 -9
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context-inspect-search/SKILL.md +91 -9
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context-inspect-search.md +91 -9
- package/plugins/cursor/skills/context-inspect-search/SKILL.md +91 -9
- package/plugins/skills/context-inspect-search/SKILL.md +91 -9
- package/providers/context/manifest.json +3 -3
- package/providers/context/provider.yaml +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Context Agent Runtime
|
|
2
2
|
|
|
3
|
+
## Repository evidence plugin
|
|
4
|
+
|
|
5
|
+
New workspace initialization includes `context-evidence.sourcegraph.wasm` when
|
|
6
|
+
the workspace is the repository root (or has no enclosing Git repository).
|
|
7
|
+
For existing workspaces run `context evidence install [project-dir] --format json`.
|
|
8
|
+
Nested workspaces require explicit `--repository-root <git-root>` for full-repo
|
|
9
|
+
hosting, or `--plugin-root <registered-content-root>` for scoped hosting. Use the
|
|
10
|
+
workspace directory relative to that plugin root as `workspace_root`.
|
|
11
|
+
Unknown or modified same-name files are preserved. The installer never commits
|
|
12
|
+
or pushes; the artifact must be committed and synchronized before remote use.
|
|
13
|
+
|
|
14
|
+
On a compatible read-only MCP host, read/read_many can request
|
|
15
|
+
`plugins: [{"name":"context-evidence"}]` to attach registered section sources.
|
|
16
|
+
This does not verify original source contents or change local retrieval and
|
|
17
|
+
production. Missing enhancement falls back to ordinary metadata reads.
|
|
18
|
+
See the [plugin ABI and build instructions](../context-evidence-wasm/README.md).
|
|
19
|
+
|
|
3
20
|
[简体中文](./README.zh-CN.md)
|
|
4
21
|
|
|
5
22
|
`@c4a/context-cli` ships the local runtime and Agent integration for the
|
package/README.zh-CN.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Context Agent 运行时
|
|
2
2
|
|
|
3
|
+
## 仓库证据插件
|
|
4
|
+
|
|
5
|
+
新建工作区位于 Git 根目录(或尚无上级 Git 仓库)时,初始化会附带
|
|
6
|
+
`context-evidence.sourcegraph.wasm`。存量工作区运行
|
|
7
|
+
`context evidence install [project-dir] --format json`;嵌套工作区需显式指定
|
|
8
|
+
`--repository-root <git-root>`(全仓托管)或 `--plugin-root <登记内容根目录>`
|
|
9
|
+
(范围托管),远程读取的 `workspace_root` 是工作区相对插件目录的位置。
|
|
10
|
+
未知或用户修改的同名文件会保留,不自动提交或推送。
|
|
11
|
+
|
|
12
|
+
制品正常提交并同步后,兼容的只读 MCP 宿主可在 read/read_many 中传
|
|
13
|
+
`plugins: [{"name":"context-evidence"}]`,随正文返回登记的章节来源。
|
|
14
|
+
这不表示已经复核原始来源,也不改变本地查询或生产流程;增强不可用时保留原读取路径。
|
|
15
|
+
使用者无需安装 Rust。参见[插件 ABI 与构建说明](../context-evidence-wasm/README.md)。
|
|
16
|
+
|
|
3
17
|
[English](./README.md)
|
|
4
18
|
|
|
5
19
|
`@c4a/context-cli` 提供 Context 知识生产工作流的本地运行时和 Agent 接入。虽然
|