@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 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