@workflow-code/cli 0.2.4-20261011008.codex-cli-web → 0.2.4-20261011009.codex-cli-web

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/index.js CHANGED
@@ -24,7 +24,7 @@ async function main(argv = process.argv.slice(2)) {
24
24
  const prepared = prepareCliInvocation(argv);
25
25
  argv = prepared.argv;
26
26
  if (argv[0] === "web") {
27
- const webCli = await import("./web-7M4WBBL7.js");
27
+ const webCli = await import("./web-RDWHQ2ST.js");
28
28
  return webCli.main(argv.slice(1));
29
29
  }
30
30
  if (argv[0] === "workspace") {
@@ -481,8 +481,9 @@ var ConversationController = class {
481
481
  answer.report = report;
482
482
  answer.status = report.status;
483
483
  answer.durationMs = report.durationMs;
484
- if (report.output) {
485
- answer.items = report.output.items ?? [];
484
+ const items = report.output?.items ?? [];
485
+ if (report.output && (report.status === "success" || !answer.items?.length || report.status !== "waiting_for_input" && items.length)) {
486
+ answer.items = items;
486
487
  answer.content = outputText(answer.items);
487
488
  }
488
489
  answer.pendingInput = report.status === "waiting_for_input" ? report.pendingUserInput : void 0;
@@ -1004,8 +1005,9 @@ var WorkflowController = class {
1004
1005
  record2.report = report;
1005
1006
  record2.durationMs = report.durationMs;
1006
1007
  record2.status = report.status;
1007
- if (report.output) {
1008
- record2.items = report.output.items ?? [];
1008
+ const items = report.output?.items ?? [];
1009
+ if (report.output && (report.status === "success" || !record2.items.length || report.status !== "waiting_for_input" && items.length)) {
1010
+ record2.items = items;
1009
1011
  }
1010
1012
  record2.nodes = report.nodes ?? record2.nodes;
1011
1013
  record2.logs = report.logs ?? record2.logs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workflow-code/cli",
3
- "version": "0.2.4-20261011008.codex-cli-web",
3
+ "version": "0.2.4-20261011009.codex-cli-web",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "workflow-code": "./dist/index.js"
@@ -37,16 +37,16 @@
37
37
  "vitest": "^4.1.7",
38
38
  "workflow-code": "0.2.4-20260929001",
39
39
  "@workflow-code/auth-config": "0.1.0",
40
- "@workflow-code/execution-targets": "0.1.0",
41
40
  "@workflow-code/i18n": "0.1.0",
41
+ "@workflow-code/execution-targets": "0.1.0",
42
42
  "@workflow-code/kanban-project": "0.1.0",
43
43
  "@workflow-code/openai-responses": "0.1.0",
44
44
  "@workflow-code/project-dependencies": "0.1.0",
45
45
  "@workflow-code/project-info": "0.1.0",
46
- "@workflow-code/runtime-compatibility": "0.1.0",
47
46
  "@workflow-code/project-upload": "0.1.0",
48
- "@workflow-code/workflow-mcp": "0.1.0",
49
- "@workflow-code/workflow-ids": "0.1.0"
47
+ "@workflow-code/runtime-compatibility": "0.1.0",
48
+ "@workflow-code/workflow-ids": "0.1.0",
49
+ "@workflow-code/workflow-mcp": "0.1.0"
50
50
  },
51
51
  "scripts": {
52
52
  "bootstrap": "node scripts/bootstrap.mjs",