@coze/cli 0.2.0-alpha.094e22 → 0.2.0-alpha.7e85f4
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/lib/cli.js +2 -2
- package/lib/{index-CkTEdvpA.js → index-DNmOe3vH.js} +1 -1
- package/lib/send-message.worker.js +1 -1
- package/package.json +1 -1
- package/skills/manifest.json +6 -6
- package/skills/using-coze-cli/SKILL.md +1 -1
- package/skills/using-coze-cli/coze-claw/MODULE.md +1 -1
- package/skills/using-coze-cli/coze-code/MODULE.md +1 -1
- package/skills/using-coze-cli/coze-file/MODULE.md +1 -1
- package/skills/using-coze-cli/coze-generate/MODULE.md +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("process"),r=require("undici"),t=require("./fetch-client-DC0c3ox3.js"),i=require("./index-
|
|
1
|
+
"use strict";const e=require("process"),r=require("undici"),t=require("./fetch-client-DC0c3ox3.js"),i=require("./index-DNmOe3vH.js");require("form-data"),require("crypto"),require("url"),require("http"),require("https"),require("http2"),require("util"),require("stream"),require("assert"),require("tty"),require("zlib"),require("events"),require("lodash"),require("mitt"),require("path"),require("fs"),require("fs/promises"),async function(){try{const s=e.argv[2];if(!s)throw new Error("No payload provided");const o=t.safeJsonParse(s,void 0);if(!o)throw new Error("Invalid payload");const u=new r.EnvHttpProxyAgent;t.customFetch.setDispatcher(u),t.customFetch.setHeaders({Authorization:`Bearer ${o.accessToken}`}),o.xTTEnv&&t.customFetch.setHeaders({"x-use-ppe":"1","x-tt-env":o.xTTEnv||""}),await i.sendProjectChatMessage(o),e.exit(0)}catch(r){console.error("❌ Worker error:",r),e.exit(1)}}();
|
package/package.json
CHANGED
package/skills/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"cliVersion": "0.2.0-alpha.
|
|
2
|
+
"cliVersion": "0.2.0-alpha.7e85f4",
|
|
3
3
|
"skills": {
|
|
4
4
|
"using-coze-cli": {
|
|
5
5
|
"path": "using-coze-cli/SKILL.md",
|
|
6
|
-
"hash": "sha256:
|
|
6
|
+
"hash": "sha256:4ceafca4342390f8d905ae6136ec5217e2cc355326f3043ae83f68ab5e053ea5"
|
|
7
7
|
},
|
|
8
8
|
"coze-claw": {
|
|
9
9
|
"path": "using-coze-cli/coze-claw/MODULE.md",
|
|
10
|
-
"hash": "sha256:
|
|
10
|
+
"hash": "sha256:47fdfd489e466b94c5cbb07729512ed18b614844d64e77b9d55de455051b9fd3"
|
|
11
11
|
},
|
|
12
12
|
"coze-code": {
|
|
13
13
|
"path": "using-coze-cli/coze-code/MODULE.md",
|
|
14
|
-
"hash": "sha256:
|
|
14
|
+
"hash": "sha256:a3053e49f8e3d5966ea147efee07826627917906e75c287c9341296b7e85b6ae"
|
|
15
15
|
},
|
|
16
16
|
"coze-file": {
|
|
17
17
|
"path": "using-coze-cli/coze-file/MODULE.md",
|
|
18
|
-
"hash": "sha256:
|
|
18
|
+
"hash": "sha256:7fbcc34d5c72c9087cc873e0df20a69542d67c562b4368f492ead1d3f75e84f1"
|
|
19
19
|
},
|
|
20
20
|
"coze-generate": {
|
|
21
21
|
"path": "using-coze-cli/coze-generate/MODULE.md",
|
|
22
|
-
"hash": "sha256:
|
|
22
|
+
"hash": "sha256:aaced46bdd1443e6e36a5afd93d7c734eeb45fc831d2518dae2ab70ab31b846a"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: using-coze-cli
|
|
3
|
-
version: 0.2.0-alpha.
|
|
3
|
+
version: 0.2.0-alpha.7e85f4
|
|
4
4
|
description: "Coze CLI 共享基础:安装、认证登录(OAuth)、组织与空间切换、配置管理、全局执行原则、安全规则、错误码处理、代理配置。当用户首次使用 coze-cli、需要登录授权、遇到权限不足、切换组织/空间、操作 Coze Claw Session/coze session *,或任何操作前的基础检查时触发。"
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|