@workflow-code/cli 0.2.3-20260902001 → 0.2.4-20260904001
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-PPZ35MOY.js → chunk-LL4A5SY6.js} +1 -1
- package/dist/{chunk-PSXLDKGX.js → chunk-RBUVDK25.js} +80 -6
- package/dist/index.js +5 -5
- package/dist/{local-YVQXAXWF.js → local-22SOG6M3.js} +2 -2
- package/dist/{mcp-SGAVKGVX.js → mcp-TULQOTWO.js} +1 -1
- package/dist/{workspace-J3C6D5W5.js → workspace-46BLI6JE.js} +2 -2
- package/package.json +3 -3
|
@@ -2228,6 +2228,7 @@ var common = {
|
|
|
2228
2228
|
copied: "Copied",
|
|
2229
2229
|
copyFailed: "Copy failed",
|
|
2230
2230
|
audioPlaybackUnsupported: "Your browser does not support audio playback.",
|
|
2231
|
+
videoPlaybackUnsupported: "Your browser does not support video playback.",
|
|
2231
2232
|
attachmentPreview: "Preview {{name}}",
|
|
2232
2233
|
attachmentDownload: "Download",
|
|
2233
2234
|
attachmentDownloadName: "Download {{name}}",
|
|
@@ -2646,6 +2647,9 @@ var common = {
|
|
|
2646
2647
|
outputWaiting: "Workflow is waiting; output will appear here once execution resumes.",
|
|
2647
2648
|
outputRunning: "Workflow is running; output will appear here as nodes return.",
|
|
2648
2649
|
noOutputContent: "No output node content yet.",
|
|
2650
|
+
runInput: "Input",
|
|
2651
|
+
runInputEmptyHint: "No input captured for this run.",
|
|
2652
|
+
runInputArgsEmpty: "(none)",
|
|
2649
2653
|
exitCode: "exit {{code}}",
|
|
2650
2654
|
runnerDiagnostics: "Runner diagnostics",
|
|
2651
2655
|
collapseReportJson: "Collapse report.json",
|
|
@@ -3445,7 +3449,21 @@ var desktop = {
|
|
|
3445
3449
|
retry: "Retry",
|
|
3446
3450
|
retryConnectionAria: "Recheck connection: {{label}}",
|
|
3447
3451
|
retryConnectionTitle: "Click to recheck the Workflow Server connection",
|
|
3452
|
+
runInput: "Input",
|
|
3453
|
+
runInputTarget: "Target",
|
|
3454
|
+
runInputResolvedTarget: "Resolved target",
|
|
3455
|
+
runInputArgs: "Args",
|
|
3456
|
+
runInputArgsEmpty: "(none)",
|
|
3457
|
+
runInputDebugNode: "Debug node",
|
|
3458
|
+
runInputPendingUserInput: "Pending user input",
|
|
3459
|
+
runInputResolvedUserInputs: "Resolved inputs",
|
|
3460
|
+
runInputConversationId: "Conversation",
|
|
3461
|
+
runInputExternalSource: "Source",
|
|
3462
|
+
runInputExternalUser: "Initiated by",
|
|
3463
|
+
runInputExternalAssistantTarget: "Assistant target",
|
|
3464
|
+
runInputEmptyHint: "No input captured for this run.",
|
|
3448
3465
|
runOutput: "Run output",
|
|
3466
|
+
runOutputSection: "Output",
|
|
3449
3467
|
runStatusAborted: "Aborted",
|
|
3450
3468
|
runStatusFailed: "Failed",
|
|
3451
3469
|
runStatusHistory: "History",
|
|
@@ -4211,15 +4229,18 @@ var desktop = {
|
|
|
4211
4229
|
sub2apiBalance: "Sub2API account balance",
|
|
4212
4230
|
sub2apiBalanceDescription: "Account-level shared balance, applied to all enabled pay-as-you-go configurations.",
|
|
4213
4231
|
sub2apiBalanceSharedBadge: "Account shared",
|
|
4214
|
-
subscribedPlans: "
|
|
4215
|
-
subscribedPlansDescription: "
|
|
4232
|
+
subscribedPlans: "Subscription plans",
|
|
4233
|
+
subscribedPlansDescription: "Subscribe per group; each purchase or renewal extends the period by 30 days.",
|
|
4234
|
+
subscriptionNotActiveTitle: "Not subscribed",
|
|
4235
|
+
subscriptionNotActiveDescription: "After subscribing, paid-at, expiry and period quotas are shown.",
|
|
4236
|
+
subscriptionViewModels: "Supported models",
|
|
4216
4237
|
enabledPayAsYouGo: "Enabled pay-as-you-go",
|
|
4217
4238
|
enabledPayAsYouGoDescription: "Actual costs are deducted from the shared account balance above.",
|
|
4218
4239
|
noActiveAiConfiguration: "No active AI configuration yet",
|
|
4219
4240
|
noActiveAiConfigurationDescription: "Go to the Web settings page to subscribe to a plan or enable pay-as-you-go.",
|
|
4220
4241
|
goToWebConfiguration: "Go to Web settings",
|
|
4221
4242
|
aiUsagePreference: "Usage preference",
|
|
4222
|
-
aiUsagePreferenceDescription: "The system
|
|
4243
|
+
aiUsagePreferenceDescription: "The system picks AI configurations in this order; unsubscribed or disabled plans are hidden from this list.",
|
|
4223
4244
|
savingPreference: "Saving...",
|
|
4224
4245
|
savePreference: "Save preference",
|
|
4225
4246
|
priorityRank: "Priority {{rank}}",
|
|
@@ -4231,6 +4252,22 @@ var desktop = {
|
|
|
4231
4252
|
moveUp: "Move up {{name}}",
|
|
4232
4253
|
moveDown: "Move down {{name}}",
|
|
4233
4254
|
aiPreferenceSaved: "Usage preference saved.",
|
|
4255
|
+
groupModelDialogFallbackTitle: "Models supported by AI config",
|
|
4256
|
+
groupModelDialogTitle: "Models supported by {{name}}",
|
|
4257
|
+
groupModelEmptyDescription: "Sub2API currently returned no models available for this group.",
|
|
4258
|
+
groupModelEmptyTitle: "No supported models",
|
|
4259
|
+
groupModelErrorTitle: "Failed to load supported models",
|
|
4260
|
+
groupModelHeaderId: "Model ID",
|
|
4261
|
+
groupModelHeaderIndex: "#",
|
|
4262
|
+
groupModelListAria: "Model list supported by {{name}}",
|
|
4263
|
+
groupModelLoading: "Fetching the model list from Sub2API.",
|
|
4264
|
+
groupModelLoadingAria: "Loading supported models",
|
|
4265
|
+
groupModelNoPlatform: "No platform marked",
|
|
4266
|
+
groupModelResult: "{{platform}} \xB7 {{count}} models",
|
|
4267
|
+
groupModelRetry: "Reload",
|
|
4268
|
+
groupModelView: "View the models this group currently supports.",
|
|
4269
|
+
groupModelLoadFailed: "Failed to load supported models.",
|
|
4270
|
+
upstreamStopped: "Upstream stopped",
|
|
4234
4271
|
systemAiConfigurationDescription: "View the plans, pay-as-you-go usage, and account balance enabled for the current account.",
|
|
4235
4272
|
refreshingAiConfiguration: "Refreshing system AI configuration",
|
|
4236
4273
|
refreshAiConfiguration: "Refresh system AI configuration",
|
|
@@ -6760,6 +6797,7 @@ var common2 = {
|
|
|
6760
6797
|
copied: "\u5DF2\u590D\u5236",
|
|
6761
6798
|
copyFailed: "\u590D\u5236\u5931\u8D25",
|
|
6762
6799
|
audioPlaybackUnsupported: "\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u97F3\u9891\u64AD\u653E\u3002",
|
|
6800
|
+
videoPlaybackUnsupported: "\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u89C6\u9891\u64AD\u653E\u3002",
|
|
6763
6801
|
attachmentPreview: "\u9884\u89C8 {{name}}",
|
|
6764
6802
|
attachmentDownload: "\u4E0B\u8F7D",
|
|
6765
6803
|
attachmentDownloadName: "\u4E0B\u8F7D {{name}}",
|
|
@@ -7178,6 +7216,9 @@ var common2 = {
|
|
|
7178
7216
|
outputWaiting: "workflow \u6B63\u5728\u7B49\u5F85\uFF0C\u6267\u884C\u7EE7\u7EED\u540E\u5C06\u5728\u8FD9\u91CC\u663E\u793A\u8F93\u51FA\u3002",
|
|
7179
7217
|
outputRunning: "workflow \u6B63\u5728\u6267\u884C\uFF0C\u8282\u70B9\u8FD4\u56DE\u540E\u5C06\u5728\u8FD9\u91CC\u663E\u793A\u8F93\u51FA\u3002",
|
|
7180
7218
|
noOutputContent: "\u6682\u65E0 output node \u8F93\u51FA\u5185\u5BB9\u3002",
|
|
7219
|
+
runInput: "\u8F93\u5165",
|
|
7220
|
+
runInputEmptyHint: "\u672C\u6B21\u8FD0\u884C\u6CA1\u6709\u6355\u83B7\u8F93\u5165\u3002",
|
|
7221
|
+
runInputArgsEmpty: "\uFF08\u65E0\uFF09",
|
|
7181
7222
|
exitCode: "\u9000\u51FA {{code}}",
|
|
7182
7223
|
runnerDiagnostics: "runner diagnostics",
|
|
7183
7224
|
collapseReportJson: "\u6536\u8D77 report.json",
|
|
@@ -7977,7 +8018,21 @@ var desktop2 = {
|
|
|
7977
8018
|
retry: "\u91CD\u8BD5",
|
|
7978
8019
|
retryConnectionAria: "\u91CD\u65B0\u68C0\u67E5\u8FDE\u63A5\uFF1A{{label}}",
|
|
7979
8020
|
retryConnectionTitle: "\u70B9\u51FB\u91CD\u65B0\u68C0\u67E5 Workflow Server \u8FDE\u63A5",
|
|
8021
|
+
runInput: "\u8F93\u5165",
|
|
8022
|
+
runInputTarget: "\u76EE\u6807",
|
|
8023
|
+
runInputResolvedTarget: "\u89E3\u6790\u540E\u76EE\u6807",
|
|
8024
|
+
runInputArgs: "\u53C2\u6570",
|
|
8025
|
+
runInputArgsEmpty: "\uFF08\u65E0\uFF09",
|
|
8026
|
+
runInputDebugNode: "\u8C03\u8BD5\u8282\u70B9",
|
|
8027
|
+
runInputPendingUserInput: "\u7B49\u5F85\u4E2D\u7684\u7528\u6237\u8F93\u5165",
|
|
8028
|
+
runInputResolvedUserInputs: "\u5DF2\u63D0\u4EA4\u7684\u7528\u6237\u8F93\u5165",
|
|
8029
|
+
runInputConversationId: "\u4F1A\u8BDD",
|
|
8030
|
+
runInputExternalSource: "\u6765\u6E90",
|
|
8031
|
+
runInputExternalUser: "\u53D1\u8D77\u8005",
|
|
8032
|
+
runInputExternalAssistantTarget: "\u5C0F\u52A9\u624B\u76EE\u6807",
|
|
8033
|
+
runInputEmptyHint: "\u672C\u6B21\u8FD0\u884C\u6CA1\u6709\u6355\u83B7\u8F93\u5165\u3002",
|
|
7980
8034
|
runOutput: "\u8FD0\u884C\u8F93\u51FA",
|
|
8035
|
+
runOutputSection: "\u8F93\u51FA",
|
|
7981
8036
|
runStatusAborted: "\u5DF2\u4E2D\u6B62",
|
|
7982
8037
|
runStatusFailed: "\u5931\u8D25",
|
|
7983
8038
|
runStatusHistory: "\u5386\u53F2",
|
|
@@ -8743,15 +8798,18 @@ var desktop2 = {
|
|
|
8743
8798
|
sub2apiBalance: "Sub2API \u8D26\u6237\u4F59\u989D",
|
|
8744
8799
|
sub2apiBalanceDescription: "\u8D26\u6237\u7EA7\u5171\u4EAB\u4F59\u989D\uFF0C\u9002\u7528\u4E8E\u6240\u6709\u5DF2\u5F00\u542F\u7684\u6309\u91CF\u8BA1\u8D39\u914D\u7F6E\u3002",
|
|
8745
8800
|
sub2apiBalanceSharedBadge: "\u8D26\u6237\u5171\u4EAB",
|
|
8746
|
-
subscribedPlans: "\
|
|
8747
|
-
subscribedPlansDescription: "\
|
|
8801
|
+
subscribedPlans: "\u8BA2\u9605\u5957\u9910",
|
|
8802
|
+
subscribedPlansDescription: "\u6309\u5206\u7EC4\u72EC\u7ACB\u8BA2\u9605\uFF0C\u6BCF\u6B21\u8D2D\u4E70\u6216\u7EED\u8D39\u5EF6\u957F 30 \u5929\u3002",
|
|
8803
|
+
subscriptionNotActiveTitle: "\u672A\u5F00\u901A",
|
|
8804
|
+
subscriptionNotActiveDescription: "\u8BA2\u9605\u540E\u663E\u793A\u4ED8\u6B3E\u65F6\u95F4\u3001\u5230\u671F\u65F6\u95F4\u548C\u5468\u671F\u989D\u5EA6\u3002",
|
|
8805
|
+
subscriptionViewModels: "\u652F\u6301\u7684\u6A21\u578B",
|
|
8748
8806
|
enabledPayAsYouGo: "\u5DF2\u5F00\u542F\u6309\u91CF\u8BA1\u8D39",
|
|
8749
8807
|
enabledPayAsYouGoDescription: "\u5B9E\u9645\u8D39\u7528\u4ECE\u4E0A\u65B9\u8D26\u6237\u5171\u4EAB\u4F59\u989D\u4E2D\u6263\u9664\u3002",
|
|
8750
8808
|
noActiveAiConfiguration: "\u6682\u65E0\u5DF2\u5F00\u901A\u7684 AI \u914D\u7F6E",
|
|
8751
8809
|
noActiveAiConfigurationDescription: "\u8BF7\u524D\u5F80 Web \u8BBE\u7F6E\u9875\u8BA2\u9605\u5957\u9910\u6216\u5F00\u542F\u6309\u91CF\u8BA1\u8D39\u3002",
|
|
8752
8810
|
goToWebConfiguration: "\u524D\u5F80 Web \u914D\u7F6E",
|
|
8753
8811
|
aiUsagePreference: "\u4F7F\u7528\u504F\u597D",
|
|
8754
|
-
aiUsagePreferenceDescription: "\u7CFB\u7EDF\u6309\
|
|
8812
|
+
aiUsagePreferenceDescription: "\u7CFB\u7EDF\u6309\u5217\u8868\u987A\u5E8F\u9009\u62E9 AI \u914D\u7F6E\uFF1B\u672A\u8BA2\u9605\u6216\u5DF2\u505C\u7528\u7684\u5957\u9910\u4E0D\u4F1A\u51FA\u73B0\u5728\u8FD9\u91CC\u3002",
|
|
8755
8813
|
savingPreference: "\u4FDD\u5B58\u4E2D...",
|
|
8756
8814
|
savePreference: "\u4FDD\u5B58\u504F\u597D",
|
|
8757
8815
|
priorityRank: "\u4F18\u5148\u7EA7 {{rank}}",
|
|
@@ -8763,6 +8821,22 @@ var desktop2 = {
|
|
|
8763
8821
|
moveUp: "\u4E0A\u79FB {{name}}",
|
|
8764
8822
|
moveDown: "\u4E0B\u79FB {{name}}",
|
|
8765
8823
|
aiPreferenceSaved: "\u4F7F\u7528\u504F\u597D\u5DF2\u4FDD\u5B58\u3002",
|
|
8824
|
+
groupModelDialogFallbackTitle: "AI \u914D\u7F6E\u652F\u6301\u7684\u6A21\u578B",
|
|
8825
|
+
groupModelDialogTitle: "{{name}} \u652F\u6301\u7684\u6A21\u578B",
|
|
8826
|
+
groupModelEmptyDescription: "Sub2API \u5F53\u524D\u6CA1\u6709\u8FD4\u56DE\u8BE5\u5206\u7EC4\u53EF\u7528\u7684\u6A21\u578B\u3002",
|
|
8827
|
+
groupModelEmptyTitle: "\u6682\u65E0\u652F\u6301\u6A21\u578B",
|
|
8828
|
+
groupModelErrorTitle: "\u652F\u6301\u6A21\u578B\u52A0\u8F7D\u5931\u8D25",
|
|
8829
|
+
groupModelHeaderId: "\u6A21\u578B ID",
|
|
8830
|
+
groupModelHeaderIndex: "\u5E8F\u53F7",
|
|
8831
|
+
groupModelListAria: "{{name}} \u652F\u6301\u7684\u6A21\u578B\u5217\u8868",
|
|
8832
|
+
groupModelLoading: "\u6B63\u5728\u4ECE Sub2API \u83B7\u53D6\u6A21\u578B\u5217\u8868\u3002",
|
|
8833
|
+
groupModelLoadingAria: "\u6B63\u5728\u52A0\u8F7D\u652F\u6301\u7684\u6A21\u578B",
|
|
8834
|
+
groupModelNoPlatform: "\u672A\u6807\u6CE8\u5E73\u53F0",
|
|
8835
|
+
groupModelResult: "{{platform}} \xB7 {{count}} \u4E2A\u6A21\u578B",
|
|
8836
|
+
groupModelRetry: "\u91CD\u65B0\u52A0\u8F7D",
|
|
8837
|
+
groupModelView: "\u67E5\u770B\u8BE5\u5206\u7EC4\u5F53\u524D\u652F\u6301\u7684\u6A21\u578B\u3002",
|
|
8838
|
+
groupModelLoadFailed: "\u65E0\u6CD5\u52A0\u8F7D\u652F\u6301\u7684\u6A21\u578B\u3002",
|
|
8839
|
+
upstreamStopped: "\u4E0A\u6E38\u505C\u7528",
|
|
8766
8840
|
systemAiConfigurationDescription: "\u67E5\u770B\u5F53\u524D\u8D26\u53F7\u5DF2\u5F00\u901A\u7684\u5957\u9910\u3001\u6309\u91CF\u8BA1\u8D39\u7528\u91CF\u548C\u8D26\u6237\u4F59\u989D\u3002",
|
|
8767
8841
|
refreshingAiConfiguration: "\u6B63\u5728\u5237\u65B0\u7CFB\u7EDF AI \u914D\u7F6E",
|
|
8768
8842
|
refreshAiConfiguration: "\u5237\u65B0\u7CFB\u7EDF AI \u914D\u7F6E",
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
prepareCliInvocation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LL4A5SY6.js";
|
|
5
5
|
import {
|
|
6
6
|
i18n,
|
|
7
7
|
translateWorkflowCodeError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RBUVDK25.js";
|
|
9
9
|
import "./chunk-NSPRIPOP.js";
|
|
10
10
|
|
|
11
11
|
// src/index.ts
|
|
@@ -23,12 +23,12 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
23
23
|
const prepared = prepareCliInvocation(argv);
|
|
24
24
|
argv = prepared.argv;
|
|
25
25
|
if (argv[0] === "workspace") {
|
|
26
|
-
const workspaceCli = await import("./workspace-
|
|
26
|
+
const workspaceCli = await import("./workspace-46BLI6JE.js");
|
|
27
27
|
await workspaceCli.main(argv.slice(1), { localeInitialized: true });
|
|
28
28
|
return typeof process.exitCode === "number" ? process.exitCode : 0;
|
|
29
29
|
}
|
|
30
30
|
if (argv[0] === "mcp") {
|
|
31
|
-
const mcpCli = await import("./mcp-
|
|
31
|
+
const mcpCli = await import("./mcp-TULQOTWO.js");
|
|
32
32
|
return mcpCli.main(argv.slice(1));
|
|
33
33
|
}
|
|
34
34
|
if (argv.length === 0 || argv[0] === "help" || argv[0] === "--help" || argv[0] === "-h") {
|
|
@@ -38,7 +38,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
38
38
|
}
|
|
39
39
|
const { register } = await import("tsx/esm/api");
|
|
40
40
|
register();
|
|
41
|
-
const localCli = await import("./local-
|
|
41
|
+
const localCli = await import("./local-22SOG6M3.js");
|
|
42
42
|
return localCli.main(argv, { localeInitialized: true });
|
|
43
43
|
}
|
|
44
44
|
function formatHelp() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
prepareCliInvocation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LL4A5SY6.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-RBUVDK25.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-LL4A5SY6.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-RBUVDK25.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.
|
|
3
|
+
"version": "0.2.4-20260904001",
|
|
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.
|
|
23
|
+
"workflow-code": "0.2.4-20260904001"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "^25.6.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"tsup": "^8.5.1",
|
|
30
30
|
"typescript": "^6.0.3",
|
|
31
31
|
"vitest": "^4.1.7",
|
|
32
|
-
"workflow-code": "0.2.
|
|
32
|
+
"workflow-code": "0.2.4-20260904001",
|
|
33
33
|
"@workflow-code/auth-config": "0.1.0",
|
|
34
34
|
"@workflow-code/execution-targets": "0.1.0",
|
|
35
35
|
"@workflow-code/i18n": "0.1.0",
|