@workflow-code/cli 0.2.4-20260921001 → 0.2.4-20260921002
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/dist/{chunk-5YS542FD.js → chunk-2COJUGNI.js} +4 -2
- package/dist/{chunk-FHLFK2CH.js → chunk-4PNQMMWP.js} +1 -1
- package/dist/index.js +6 -18
- package/dist/{local-ZP3D5C2Q.js → local-PIYVEDAW.js} +2 -2
- package/dist/{mcp-K3U7RICE.js → mcp-EC7JFRIT.js} +1 -1
- package/dist/{workspace-H5OFXHP3.js → workspace-FBXSM443.js} +2 -2
- package/package.json +5 -6
|
@@ -3856,6 +3856,7 @@ var desktop = {
|
|
|
3856
3856
|
hideConversationList: "Hide conversation list",
|
|
3857
3857
|
hideDiagnostic: "Hide {{label}}",
|
|
3858
3858
|
hideFileList: "Hide file list",
|
|
3859
|
+
hideTaskList: "Hide task list",
|
|
3859
3860
|
hideWorkflow: "Hide workflow",
|
|
3860
3861
|
historyRunResult: "History run result",
|
|
3861
3862
|
keyColumn: "Key",
|
|
@@ -4650,7 +4651,7 @@ var desktop = {
|
|
|
4650
4651
|
builtinProgress: " {{percent}}%",
|
|
4651
4652
|
connectingServer: "Connecting to Workflow Server...",
|
|
4652
4653
|
conversationNotFoundRecovered: "The corresponding conversation was not found. The workspace is open; trying to locate the run record.",
|
|
4653
|
-
developerAssistantDescription: "
|
|
4654
|
+
developerAssistantDescription: "Create or maintain code and documents across the current workspace root and authorized linked roots, and remember stable preferences and workspace decisions on demand.",
|
|
4654
4655
|
developerAssistantLabel: "Developer assistant",
|
|
4655
4656
|
developerAssistantSubtitle: "Workspace development assistant",
|
|
4656
4657
|
diagramDiagnosticLabel: "Flowchart diagnostics",
|
|
@@ -8824,6 +8825,7 @@ var desktop2 = {
|
|
|
8824
8825
|
hideConversationList: "\u9690\u85CF\u4F1A\u8BDD\u5217\u8868",
|
|
8825
8826
|
hideDiagnostic: "\u6536\u8D77{{label}}",
|
|
8826
8827
|
hideFileList: "\u9690\u85CF\u6587\u4EF6\u5217\u8868",
|
|
8828
|
+
hideTaskList: "\u9690\u85CF\u4EFB\u52A1\u5217\u8868",
|
|
8827
8829
|
hideWorkflow: "\u9690\u85CF workflow",
|
|
8828
8830
|
historyRunResult: "\u5386\u53F2\u6267\u884C\u7ED3\u679C",
|
|
8829
8831
|
keyColumn: "\u952E",
|
|
@@ -9618,7 +9620,7 @@ var desktop2 = {
|
|
|
9618
9620
|
builtinProgress: "\uFF0C{{percent}}%",
|
|
9619
9621
|
connectingServer: "\u6B63\u5728\u8FDE\u63A5 Workflow Server...",
|
|
9620
9622
|
conversationNotFoundRecovered: "\u672A\u627E\u5230\u5BF9\u5E94\u4F1A\u8BDD\uFF0C\u5DF2\u6253\u5F00\u5DE5\u4F5C\u533A\u5E76\u5C1D\u8BD5\u5B9A\u4F4D\u8FD0\u884C\u8BB0\u5F55\u3002",
|
|
9621
|
-
developerAssistantDescription: "\
|
|
9623
|
+
developerAssistantDescription: "\u5728\u5F53\u524D\u5DE5\u4F5C\u533A\u6839\u76EE\u5F55\u53CA\u5DF2\u6388\u6743\u5173\u8054\u6839\u76EE\u5F55\u4E2D\u7EF4\u62A4\u4EE3\u7801\u548C\u6587\u6863\uFF0C\u5E76\u6309\u9700\u8BB0\u4F4F\u7A33\u5B9A\u504F\u597D\u4E0E\u5DE5\u4F5C\u533A\u51B3\u7B56\u3002",
|
|
9622
9624
|
developerAssistantLabel: "\u5C0F\u52A9\u624B",
|
|
9623
9625
|
developerAssistantSubtitle: "\u5DE5\u4F5C\u533A\u5F00\u53D1\u52A9\u624B",
|
|
9624
9626
|
diagramDiagnosticLabel: "\u6D41\u7A0B\u56FE\u8BCA\u65AD",
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
prepareCliInvocation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4PNQMMWP.js";
|
|
5
5
|
import {
|
|
6
6
|
i18n,
|
|
7
7
|
translateWorkflowCodeError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2COJUGNI.js";
|
|
9
9
|
import "./chunk-NSPRIPOP.js";
|
|
10
10
|
|
|
11
11
|
// src/index.ts
|
|
12
|
-
import { realpathSync } from "fs";
|
|
13
12
|
import path from "path";
|
|
14
13
|
import { pathToFileURL } from "url";
|
|
15
14
|
async function main(argv = process.argv.slice(2)) {
|
|
@@ -24,12 +23,12 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
24
23
|
const prepared = prepareCliInvocation(argv);
|
|
25
24
|
argv = prepared.argv;
|
|
26
25
|
if (argv[0] === "workspace") {
|
|
27
|
-
const workspaceCli = await import("./workspace-
|
|
26
|
+
const workspaceCli = await import("./workspace-FBXSM443.js");
|
|
28
27
|
await workspaceCli.main(argv.slice(1), { localeInitialized: true });
|
|
29
28
|
return typeof process.exitCode === "number" ? process.exitCode : 0;
|
|
30
29
|
}
|
|
31
30
|
if (argv[0] === "mcp") {
|
|
32
|
-
const mcpCli = await import("./mcp-
|
|
31
|
+
const mcpCli = await import("./mcp-EC7JFRIT.js");
|
|
33
32
|
return mcpCli.main(argv.slice(1));
|
|
34
33
|
}
|
|
35
34
|
if (argv.length === 0 || argv[0] === "help" || argv[0] === "--help" || argv[0] === "-h") {
|
|
@@ -39,24 +38,13 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
39
38
|
}
|
|
40
39
|
const { register } = await import("tsx/esm/api");
|
|
41
40
|
register();
|
|
42
|
-
const localCli = await import("./local-
|
|
41
|
+
const localCli = await import("./local-PIYVEDAW.js");
|
|
43
42
|
return localCli.main(argv, { localeInitialized: true });
|
|
44
43
|
}
|
|
45
44
|
function formatHelp() {
|
|
46
45
|
return i18n.t("rootHelp", { ns: "cli" });
|
|
47
46
|
}
|
|
48
|
-
|
|
49
|
-
const entry = process.argv[1];
|
|
50
|
-
if (entry === void 0) return false;
|
|
51
|
-
const absolute = path.resolve(entry);
|
|
52
|
-
const candidates = /* @__PURE__ */ new Set([absolute]);
|
|
53
|
-
try {
|
|
54
|
-
candidates.add(realpathSync(absolute));
|
|
55
|
-
} catch {
|
|
56
|
-
}
|
|
57
|
-
return [...candidates].some((candidate) => import.meta.url === pathToFileURL(candidate).href);
|
|
58
|
-
}
|
|
59
|
-
if (isCliEntryPoint()) {
|
|
47
|
+
if (process.argv[1] !== void 0 && import.meta.url === pathToFileURL(path.resolve(process.argv[1])).href) {
|
|
60
48
|
main().then((exitCode) => {
|
|
61
49
|
process.exitCode = exitCode;
|
|
62
50
|
}).catch((error) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
prepareCliInvocation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4PNQMMWP.js";
|
|
5
5
|
import {
|
|
6
6
|
createCliRelatedProjectRuntime,
|
|
7
7
|
parseCliRelatedProjectSpec
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
i18n,
|
|
14
14
|
translateWorkflowCodeError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2COJUGNI.js";
|
|
16
16
|
import {
|
|
17
17
|
__commonJS,
|
|
18
18
|
__toESM
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-PGM3IPWA.js";
|
|
9
9
|
import {
|
|
10
10
|
prepareCliInvocation
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4PNQMMWP.js";
|
|
12
12
|
import {
|
|
13
13
|
isWorkflowUuid,
|
|
14
14
|
readWorkflowProjectInfo,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getCurrentLocale,
|
|
19
19
|
i18n,
|
|
20
20
|
translateWorkflowCodeError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2COJUGNI.js";
|
|
22
22
|
import {
|
|
23
23
|
__commonJS,
|
|
24
24
|
__toESM
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workflow-code/cli",
|
|
3
|
-
"version": "0.2.4-
|
|
3
|
+
"version": "0.2.4-20260921002",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"workflow-code": "./dist/index.js"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"zod": "4.4.3"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"workflow-code": "0.2.4-
|
|
23
|
+
"workflow-code": "0.2.4-20260921004"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "^25.6.0",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"tsup": "^8.5.1",
|
|
30
30
|
"typescript": "^6.0.3",
|
|
31
31
|
"vitest": "^4.1.7",
|
|
32
|
-
"workflow-code": "0.2.4-
|
|
32
|
+
"workflow-code": "0.2.4-20260921004",
|
|
33
33
|
"@workflow-code/auth-config": "0.1.0",
|
|
34
34
|
"@workflow-code/execution-targets": "0.1.0",
|
|
35
|
+
"@workflow-code/openai-responses": "0.1.0",
|
|
35
36
|
"@workflow-code/i18n": "0.1.0",
|
|
36
37
|
"@workflow-code/project-dependencies": "0.1.0",
|
|
37
|
-
"@workflow-code/openai-responses": "0.1.0",
|
|
38
38
|
"@workflow-code/project-info": "0.1.0",
|
|
39
39
|
"@workflow-code/project-upload": "0.1.0",
|
|
40
40
|
"@workflow-code/runtime-compatibility": "0.1.0",
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
"test": "pnpm build && vitest run",
|
|
52
52
|
"coverage": "pnpm build && vitest run --coverage",
|
|
53
53
|
"test:scripts": "node --test --test-reporter=spec scripts/__tests__/*.test.mjs",
|
|
54
|
-
"release:prepare": "node scripts/prepare-release.mjs"
|
|
55
|
-
"release:feature": "node scripts/feature-release.mjs tag"
|
|
54
|
+
"release:prepare": "node scripts/prepare-release.mjs"
|
|
56
55
|
}
|
|
57
56
|
}
|