@shulex/cxclawctl 0.1.12 → 0.1.13
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 +2 -2
- package/capabilities.lock.json +3 -3
- package/dist/cli.js +139 -139
- package/dist/cli.js.map +1 -1
- package/package.json +1 -2
- package/runtime/auth-wait-state.d.mts +0 -6
- package/runtime/auth-wait-state.mjs +0 -56
package/README.md
CHANGED
|
@@ -33,12 +33,12 @@ codex plugin marketplace add SolveaCX/cx_claw_codex --ref marketplace/stable
|
|
|
33
33
|
codex plugin add cxclaw@cxclaw
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
CXClaw 采用和 DWS CLI 相同的显式登录流程。业务命令发现未登录时,会立即返回结构化的 `not_authenticated` 错误,不会自行打开浏览器。Codex 随后执行一次 `auth login`;该命令会打开钉钉授权页并持续运行到成功、失败或过期。授权成功后,Codex 重试原业务命令,不需要用户回复“已授权”。插件不使用 Codex hooks。
|
|
37
37
|
|
|
38
38
|
CLI 固定连接生产授权服务 `https://ai.solvea.cx/api_v2/ticket`,不接受用户指定服务地址或登录环境。一次登录即可访问获准的测试和生产租户。需要人工诊断授权时,可以执行:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
npx --yes @shulex/cxclawctl@latest auth
|
|
41
|
+
npx --yes @shulex/cxclawctl@latest auth login
|
|
42
42
|
npx --yes @shulex/cxclawctl@latest auth status
|
|
43
43
|
npx --yes @shulex/cxclawctl@latest doctor
|
|
44
44
|
```
|
package/capabilities.lock.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"plugin": {
|
|
4
|
-
"pluginVersion": "0.1.
|
|
5
|
-
"cliVersion": "0.1.
|
|
4
|
+
"pluginVersion": "0.1.13",
|
|
5
|
+
"cliVersion": "0.1.13",
|
|
6
6
|
"toolSchemaVersion": "1",
|
|
7
7
|
"serverApiVersion": "1"
|
|
8
8
|
},
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
}
|
|
159
159
|
],
|
|
160
160
|
"localCommands": [
|
|
161
|
-
"node \"<PLUGIN_ROOT>/plugin-cli.mjs\" auth
|
|
161
|
+
"node \"<PLUGIN_ROOT>/plugin-cli.mjs\" auth login",
|
|
162
162
|
"node \"<PLUGIN_ROOT>/plugin-cli.mjs\" auth status",
|
|
163
163
|
"node \"<PLUGIN_ROOT>/plugin-cli.mjs\" tenant current",
|
|
164
164
|
"node \"<PLUGIN_ROOT>/plugin-cli.mjs\" tenant search",
|