@workflow-code/cli 0.2.4-20261012001.codex-cli-web → 0.2.4-20261012002.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-
|
|
27
|
+
const webCli = await import("./web-Z66GHLM3.js");
|
|
28
28
|
return webCli.main(argv.slice(1));
|
|
29
29
|
}
|
|
30
30
|
if (argv[0] === "workspace") {
|
package/dist/web/workflow-ui.js
CHANGED
|
@@ -3247,13 +3247,14 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
3247
3247
|
continue;
|
|
3248
3248
|
}
|
|
3249
3249
|
let output = record(content.output);
|
|
3250
|
+
const details = record(output?.details);
|
|
3250
3251
|
if (Array.isArray(output?.content) && output.content.length === 1) {
|
|
3251
3252
|
try {
|
|
3252
3253
|
output = record(JSON.parse(String(record(output.content[0])?.text)));
|
|
3253
3254
|
} catch {
|
|
3254
3255
|
}
|
|
3255
3256
|
}
|
|
3256
|
-
let descriptor = record(record(output?.details)?.resourceCard);
|
|
3257
|
+
let descriptor = record(details?.resourceCard) ?? record(record(output?.details)?.resourceCard);
|
|
3257
3258
|
const input = record(content.input) ?? {};
|
|
3258
3259
|
const tool = string(content.tool) ?? "";
|
|
3259
3260
|
if (tool === "workflow-ui_present_card") {
|
|
@@ -7182,13 +7182,14 @@ ${state2.user?.avatarUrl ?? ""}`;
|
|
|
7182
7182
|
continue;
|
|
7183
7183
|
}
|
|
7184
7184
|
let output2 = record(content.output);
|
|
7185
|
+
const details = record(output2?.details);
|
|
7185
7186
|
if (Array.isArray(output2?.content) && output2.content.length === 1) {
|
|
7186
7187
|
try {
|
|
7187
7188
|
output2 = record(JSON.parse(String(record(output2.content[0])?.text)));
|
|
7188
7189
|
} catch {
|
|
7189
7190
|
}
|
|
7190
7191
|
}
|
|
7191
|
-
let descriptor = record(record(output2?.details)?.resourceCard);
|
|
7192
|
+
let descriptor = record(details?.resourceCard) ?? record(record(output2?.details)?.resourceCard);
|
|
7192
7193
|
const input = record(content.input) ?? {};
|
|
7193
7194
|
const tool = string(content.tool) ?? "";
|
|
7194
7195
|
if (tool === "workflow-ui_present_card") {
|
|
@@ -1840,13 +1840,14 @@ function conversationResourceCards(items, projectId, conversationId) {
|
|
|
1840
1840
|
continue;
|
|
1841
1841
|
}
|
|
1842
1842
|
let output = record(content.output);
|
|
1843
|
+
const details = record(output?.details);
|
|
1843
1844
|
if (Array.isArray(output?.content) && output.content.length === 1) {
|
|
1844
1845
|
try {
|
|
1845
1846
|
output = record(JSON.parse(String(record(output.content[0])?.text)));
|
|
1846
1847
|
} catch {
|
|
1847
1848
|
}
|
|
1848
1849
|
}
|
|
1849
|
-
let descriptor = record(record(output?.details)?.resourceCard);
|
|
1850
|
+
let descriptor = record(details?.resourceCard) ?? record(record(output?.details)?.resourceCard);
|
|
1850
1851
|
const input = record(content.input) ?? {};
|
|
1851
1852
|
const tool = string(content.tool) ?? "";
|
|
1852
1853
|
if (tool === "workflow-ui_present_card") {
|
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-20261012002.codex-cli-web",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"workflow-code": "./dist/index.js"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"zod": "4.4.3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"workflow-code": "0.2.4-20260929001"
|
|
24
|
+
"workflow-code": ">=0.2.4-20260929001 <0.2.5-0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@dagrejs/dagre": "1.1.8",
|
|
@@ -43,10 +43,10 @@
|
|
|
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/project-upload": "0.1.0",
|
|
46
47
|
"@workflow-code/runtime-compatibility": "0.1.0",
|
|
47
48
|
"@workflow-code/workflow-ids": "0.1.0",
|
|
48
|
-
"@workflow-code/workflow-mcp": "0.1.0"
|
|
49
|
-
"@workflow-code/project-upload": "0.1.0"
|
|
49
|
+
"@workflow-code/workflow-mcp": "0.1.0"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"bootstrap": "node scripts/bootstrap.mjs",
|