@workflow-code/cli 0.2.4-20260910002 → 0.2.4-20260910003

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.
@@ -4,7 +4,7 @@ import {
4
4
  initI18n,
5
5
  isSupportedLocale,
6
6
  normalizeLocale
7
- } from "./chunk-OHMB5SAJ.js";
7
+ } from "./chunk-XX454UNR.js";
8
8
 
9
9
  // src/locale.ts
10
10
  import { WORKFLOW_RUNTIME_LOCALE_ENV } from "workflow-code";
@@ -2339,6 +2339,7 @@ var common = {
2339
2339
  resizePanelWidth: "Resize {{label}} width",
2340
2340
  resizePanelTitle: "Drag to resize {{label}} width; keep dragging inward to hide",
2341
2341
  runResultActions: "Run result actions",
2342
+ retryRun: "Retry run",
2342
2343
  messageErrorEmpty: "The run failed and returned no displayable content. Open the logs for details.",
2343
2344
  copyRunOutput: "Copy run output",
2344
2345
  runInterruptedFallback: "The run was interrupted before its final result could be saved.",
@@ -3691,6 +3692,25 @@ var desktop = {
3691
3692
  accessModePrefixes: "Prefixes",
3692
3693
  accessPrefixesPlaceholder: "For example: data., cache.",
3693
3694
  publishNewVersion: "Publish new version",
3695
+ releaseConfiguration: "Release configuration",
3696
+ releaseConfigurationDescription: "These options come from the current package.json and are read-only here.",
3697
+ releaseSourceMode: "Source mode",
3698
+ releaseSourceModeBundled: "bundled (runtime only)",
3699
+ releaseSourceModeSource: "source (retain source)",
3700
+ releaseEnabled: "Enabled",
3701
+ releaseDisabled: "Disabled",
3702
+ noConfiguredDependencies: "No related projects are configured.",
3703
+ dependencyDeliveryIncluded: "included",
3704
+ dependencyDeliveryExternal: "external",
3705
+ dependencyReady: "Ready",
3706
+ dependencyStateUnavailable: "State unavailable",
3707
+ checkingPublishDependencies: "Loading related project state...",
3708
+ publishConfigurationMissing: "The complete workflowCode.release configuration is missing. Add it to package.json before publishing.",
3709
+ publishConfigurationJsonInvalid: "package.json is not valid JSON, so the release configuration cannot be read.",
3710
+ publishConfigurationFieldInvalid: "The release configuration field {{field}} is invalid.",
3711
+ publishConfigurationProjectConflict: "The release configuration conflicts with the project type or target combination.",
3712
+ publishConfigurationDependencyInvalid: "The dependency delivery configuration for {{alias}} is invalid.",
3713
+ publishConfigurationDependencyState: "The state for related project {{alias}} is not loaded or cannot satisfy the release configuration.",
3694
3714
  releaseExecutionTargets: "Release targets",
3695
3715
  releaseExecutionTargetsDescription: "Choose Server execution and local execution on this device for the immutable version.",
3696
3716
  serverCloudExecution: "Server cloud execution",
@@ -7008,6 +7028,7 @@ var common2 = {
7008
7028
  resizePanelWidth: "\u8C03\u6574{{label}}\u5BBD\u5EA6",
7009
7029
  resizePanelTitle: "\u62D6\u52A8\u8C03\u6574{{label}}\u5BBD\u5EA6\uFF0C\u7EE7\u7EED\u5411\u5185\u62D6\u52A8\u53EF\u9690\u85CF",
7010
7030
  runResultActions: "\u8FD0\u884C\u7ED3\u679C\u64CD\u4F5C",
7031
+ retryRun: "\u91CD\u8BD5\u8FD0\u884C",
7011
7032
  messageErrorEmpty: "\u8FD0\u884C\u5931\u8D25\uFF0C\u672A\u8FD4\u56DE\u53EF\u5C55\u793A\u5185\u5BB9\u3002\u8BF7\u6253\u5F00\u65E5\u5FD7\u67E5\u770B\u8BE6\u7EC6\u9519\u8BEF\u3002",
7012
7033
  copyRunOutput: "\u590D\u5236\u8FD0\u884C\u8F93\u51FA",
7013
7034
  runInterruptedFallback: "\u8FD0\u884C\u5728\u4FDD\u5B58\u6700\u7EC8\u7ED3\u679C\u524D\u4E2D\u65AD\u3002",
@@ -8360,6 +8381,25 @@ var desktop2 = {
8360
8381
  accessModePrefixes: "\u6307\u5B9A\u524D\u7F00",
8361
8382
  accessPrefixesPlaceholder: "\u4F8B\u5982 data., cache.",
8362
8383
  publishNewVersion: "\u53D1\u5E03\u65B0\u7248\u672C",
8384
+ releaseConfiguration: "\u53D1\u884C\u914D\u7F6E",
8385
+ releaseConfigurationDescription: "\u4EE5\u4E0B\u9009\u9879\u8BFB\u53D6\u5F53\u524D package.json\uFF0C\u4EC5\u53EF\u901A\u8FC7\u914D\u7F6E\u6587\u4EF6\u4FEE\u6539\u3002",
8386
+ releaseSourceMode: "\u6E90\u7801\u6A21\u5F0F",
8387
+ releaseSourceModeBundled: "bundled\uFF08\u4EC5\u8FD0\u884C\u65F6\uFF09",
8388
+ releaseSourceModeSource: "source\uFF08\u4FDD\u7559\u6E90\u7801\uFF09",
8389
+ releaseEnabled: "\u5DF2\u542F\u7528",
8390
+ releaseDisabled: "\u672A\u542F\u7528",
8391
+ noConfiguredDependencies: "\u6CA1\u6709\u914D\u7F6E\u5173\u8054\u9879\u76EE\u3002",
8392
+ dependencyDeliveryIncluded: "included",
8393
+ dependencyDeliveryExternal: "external",
8394
+ dependencyReady: "\u53EF\u7528",
8395
+ dependencyStateUnavailable: "\u72B6\u6001\u4E0D\u53EF\u7528",
8396
+ checkingPublishDependencies: "\u6B63\u5728\u8BFB\u53D6\u5173\u8054\u9879\u76EE\u72B6\u6001...",
8397
+ publishConfigurationMissing: "\u672A\u627E\u5230\u5B8C\u6574\u7684 workflowCode.release \u914D\u7F6E\uFF0C\u8BF7\u5148\u8865\u5145 package.json\u3002",
8398
+ publishConfigurationJsonInvalid: "package.json \u4E0D\u662F\u6709\u6548\u7684 JSON\uFF0C\u65E0\u6CD5\u8BFB\u53D6\u53D1\u884C\u914D\u7F6E\u3002",
8399
+ publishConfigurationFieldInvalid: "\u53D1\u884C\u914D\u7F6E\u5B57\u6BB5 {{field}} \u65E0\u6548\u3002",
8400
+ publishConfigurationProjectConflict: "\u53D1\u884C\u914D\u7F6E\u4E0E\u5F53\u524D\u9879\u76EE\u7C7B\u578B\u6216\u76EE\u6807\u7EC4\u5408\u51B2\u7A81\u3002",
8401
+ publishConfigurationDependencyInvalid: "\u5173\u8054\u9879\u76EE {{alias}} \u7684\u4F9D\u8D56\u4EA4\u4ED8\u914D\u7F6E\u65E0\u6548\u3002",
8402
+ publishConfigurationDependencyState: "\u5173\u8054\u9879\u76EE {{alias}} \u7684\u72B6\u6001\u5C1A\u672A\u52A0\u8F7D\u6216\u65E0\u6CD5\u6EE1\u8DB3\u53D1\u884C\u914D\u7F6E\u3002",
8363
8403
  releaseExecutionTargets: "\u53D1\u884C\u76EE\u6807",
8364
8404
  releaseExecutionTargetsDescription: "\u9009\u62E9\u6B64\u4E0D\u53EF\u53D8\u7248\u672C\u7684 Server \u6267\u884C\u4E0E\u5F53\u524D\u8BBE\u5907\u672C\u5730\u8FD0\u884C\u80FD\u529B\u3002",
8365
8405
  serverCloudExecution: "Server \u4E91\u7AEF\u6267\u884C",
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  prepareCliInvocation
4
- } from "./chunk-4WRG5LOT.js";
4
+ } from "./chunk-VVFOFC5A.js";
5
5
  import {
6
6
  i18n,
7
7
  translateWorkflowCodeError
8
- } from "./chunk-OHMB5SAJ.js";
8
+ } from "./chunk-XX454UNR.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-FHZGBTHL.js");
26
+ const workspaceCli = await import("./workspace-DQNSGLMV.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-2WXQIKRO.js");
31
+ const mcpCli = await import("./mcp-JQFT3MN7.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-HUIN63WE.js");
41
+ const localCli = await import("./local-TTZKUKAX.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-4WRG5LOT.js";
4
+ } from "./chunk-VVFOFC5A.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-OHMB5SAJ.js";
15
+ } from "./chunk-XX454UNR.js";
16
16
  import {
17
17
  __commonJS,
18
18
  __toESM
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-27OW6OJ3.js";
14
14
  import {
15
15
  i18n
16
- } from "./chunk-OHMB5SAJ.js";
16
+ } from "./chunk-XX454UNR.js";
17
17
  import {
18
18
  __commonJS,
19
19
  __export,
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-PGM3IPWA.js";
9
9
  import {
10
10
  prepareCliInvocation
11
- } from "./chunk-4WRG5LOT.js";
11
+ } from "./chunk-VVFOFC5A.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-OHMB5SAJ.js";
21
+ } from "./chunk-XX454UNR.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-20260910002",
3
+ "version": "0.2.4-20260910003",
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-20260910001"
23
+ "workflow-code": "0.2.4-20260910002"
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.4-20260910001",
32
+ "workflow-code": "0.2.4-20260910002",
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",