sino-bc-cli 1.8.33 → 1.8.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
@@ -191,7 +191,7 @@ Agent 在 API 域未知或有歧义时先选业务域,再选择一级目录对
191
191
  | `/tenant` | 仅 `list`:列出当前身份可用的签约主体 |
192
192
  | `/uninstall` | 清理技能、本机配置和身份;默认同时卸载全局包 |
193
193
 
194
- `sino-bc-cli /auth status --json` 在终端和自动化中都返回 JSON 信封,状态从 `data.localStatus` 读取,解释见 `data.message`。它只判断本地状态,不向服务器验证、不刷新令牌;正常业务调用会自动尝试续期,无需每次先查状态。`refresh_needed` 不表示已经刷新成功,也无需先登录。
194
+ `sino-bc-cli /auth status --json` 在终端和自动化中都返回 JSON 信封,状态从 `data.localStatus` 读取,解释见 `data.message`。它只判断本地状态,不向服务器验证、不刷新令牌;正常业务调用会自动尝试续期,无需每次先查状态。`refresh_needed` 不表示已经刷新成功,也无需先登录。 同一状态目录下,多个 CLI 可并行读取正常凭证;刷新由专用锁协调并复用其他进程的刷新结果,登录、退出和凭证修改仍互斥。锁竞争可能超时,遇到失败应按错误提示处理,不要手动删除锁文件。
195
195
 
196
196
  `/get-config` 的 `exists=false` 只表示公开配置使用默认值;本人资料为空或过期也不表示未登录。状态含义、资料缓存和失败后的完整处理规则见通过 `/skill` 定位的 shared;鉴权失败优先读取 `error.params[].reason`,不能只凭 `token_expired` / `token_invalid` 重新登录。
197
197