@workflow-code/cli 0.2.4-20261011006.codex-cli-web → 0.2.4-20261011007.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.
@@ -4399,7 +4399,7 @@ ${state2.user?.avatarUrl ?? ""}`;
4399
4399
  controls();
4400
4400
  }
4401
4401
  };
4402
- element("usage").onclick = () => host.postMessage({ type: "usage" });
4402
+ element("usage").onclick = () => dialogs.usage(() => host.postMessage({ type: "usage" }));
4403
4403
  window.addEventListener("message", (event) => {
4404
4404
  const message = event.data;
4405
4405
  if (event.source === frame.contentWindow) {
@@ -4500,7 +4500,11 @@ ${state2.user?.avatarUrl ?? ""}`;
4500
4500
  update(message.kanban);
4501
4501
  }
4502
4502
  if (message.type === "usage") {
4503
- dialogs.usage(message.usage);
4503
+ dialogs.usageResult(message.usage);
4504
+ }
4505
+ if (message.type === "error" && message.requestType === "usage") {
4506
+ dialogs.usageResult(void 0, message.message);
4507
+ return;
4504
4508
  }
4505
4509
  if (message.type === "error" && !message.silent && !message.requestId) {
4506
4510
  showError(message.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workflow-code/cli",
3
- "version": "0.2.4-20261011006.codex-cli-web",
3
+ "version": "0.2.4-20261011007.codex-cli-web",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "workflow-code": "./dist/index.js"
@@ -38,13 +38,13 @@
38
38
  "workflow-code": "0.2.4-20260929001",
39
39
  "@workflow-code/auth-config": "0.1.0",
40
40
  "@workflow-code/execution-targets": "0.1.0",
41
- "@workflow-code/i18n": "0.1.0",
42
41
  "@workflow-code/kanban-project": "0.1.0",
42
+ "@workflow-code/i18n": "0.1.0",
43
43
  "@workflow-code/openai-responses": "0.1.0",
44
44
  "@workflow-code/project-dependencies": "0.1.0",
45
+ "@workflow-code/project-info": "0.1.0",
45
46
  "@workflow-code/project-upload": "0.1.0",
46
47
  "@workflow-code/runtime-compatibility": "0.1.0",
47
- "@workflow-code/project-info": "0.1.0",
48
48
  "@workflow-code/workflow-ids": "0.1.0",
49
49
  "@workflow-code/workflow-mcp": "0.1.0"
50
50
  },