@c4a/context-cli 0.7.29 → 0.7.34
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 +12 -0
- package/README.zh-CN.md +8 -0
- package/cli.js +380 -259
- 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 +77 -21
- package/plugins/claude/skills/context-inspect-search/SKILL.md +77 -21
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context-inspect-search/SKILL.md +77 -21
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context-inspect-search.md +77 -21
- package/plugins/cursor/skills/context-inspect-search/SKILL.md +77 -21
- package/plugins/skills/context-inspect-search/SKILL.md +77 -21
- package/providers/context/manifest.json +11 -11
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/dialogue/document-capture.md +8 -0
- package/providers/context/resources/manuals/guides/lark-resources.md +39 -11
- package/providers/context/resources/procedures/document-capture.md +95 -14
- package/providers/context/resources/procedures/source-capture-detailed.md +6 -0
package/README.md
CHANGED
|
@@ -283,6 +283,18 @@ MIT.
|
|
|
283
283
|
|
|
284
284
|
## Updating an existing workspace
|
|
285
285
|
|
|
286
|
+
### Lark read identity
|
|
287
|
+
|
|
288
|
+
`CONTEXT_LARK_IDENTITY=user|bot` selects the identity for Lark acquisition
|
|
289
|
+
(default: `user`). Export it in each shell executing Context commands. In Bot
|
|
290
|
+
mode, a credential/scope/access failure retries once as the current user; the
|
|
291
|
+
rest of that capture keeps the fallback identity for pagination and resources.
|
|
292
|
+
Network, rate-limit and parsing errors do not trigger a user authorization
|
|
293
|
+
attempt. This does not change source-read consent or the audience of published
|
|
294
|
+
knowledge. Host-managed OAuth must use the host's authorization flow.
|
|
295
|
+
|
|
296
|
+
### Workspace updates
|
|
297
|
+
|
|
286
298
|
Start with `context entry --format json` and read the returned update guide when
|
|
287
299
|
adding material or changing published knowledge. Entry and status only observe;
|
|
288
300
|
they do not resume an earlier managed task before the new request is understood.
|
package/README.zh-CN.md
CHANGED
|
@@ -47,6 +47,14 @@ Provider Skill 投影到 Claude、Codex 和 Cursor 的用户技能目录。
|
|
|
47
47
|
方法并停止。它不会为每次调用增加安装预检,也不会把普通工作流中的 `not found`
|
|
48
48
|
诊断误判成可执行文件缺失。
|
|
49
49
|
|
|
50
|
+
## 飞书读取身份
|
|
51
|
+
|
|
52
|
+
`CONTEXT_LARK_IDENTITY=user|bot` 控制飞书来源采集,默认 `user`。每次执行 Context
|
|
53
|
+
命令的 shell 都需传入该环境变量;仅在提示词中写配置并不会自动导出环境变量。
|
|
54
|
+
`bot` 模式先使用应用身份,遇到凭证、scope 或访问权限错误时回退当前用户一次,
|
|
55
|
+
本次采集后续分页、引用与资源下载沿用回退身份。网络、限流和解析错误不切换身份。
|
|
56
|
+
该配置不扩大来源授权或知识产物可见范围;托管运行时的用户授权遵循宿主流程。
|
|
57
|
+
|
|
50
58
|
## 一个 Agent 入口如何驱动整套工作流
|
|
51
59
|
|
|
52
60
|
```text
|