@12ui/design 0.2.75 → 0.2.76
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/README.md +126 -116
- package/SKILL.md +33 -28
- package/dist/cli-arguments.d.ts.map +1 -1
- package/dist/cli-arguments.js +21 -7
- package/dist/cli-arguments.js.map +1 -1
- package/dist/cli-capabilities.d.ts +3 -2
- package/dist/cli-capabilities.d.ts.map +1 -1
- package/dist/cli-capabilities.js +2 -1
- package/dist/cli-capabilities.js.map +1 -1
- package/dist/cli-help/design.d.ts +1 -1
- package/dist/cli-help/design.js +1 -1
- package/dist/cli-help/design.js.map +1 -1
- package/dist/cli-help/index.d.ts +18 -8
- package/dist/cli-help/index.d.ts.map +1 -1
- package/dist/cli-help/scene.d.ts +15 -5
- package/dist/cli-help/scene.d.ts.map +1 -1
- package/dist/cli-help/scene.js +44 -0
- package/dist/cli-help/scene.js.map +1 -1
- package/dist/cli-help/workflow.d.ts +2 -2
- package/dist/cli-help/workflow.d.ts.map +1 -1
- package/dist/cli-help/workflow.js +4 -3
- package/dist/cli-help/workflow.js.map +1 -1
- package/dist/cli-scene-command.d.ts.map +1 -1
- package/dist/cli-scene-command.js +39 -6
- package/dist/cli-scene-command.js.map +1 -1
- package/dist/cli-usage.d.ts.map +1 -1
- package/dist/cli-usage.js +8 -6
- package/dist/cli-usage.js.map +1 -1
- package/dist/legacy-skill-catalog.d.ts.map +1 -1
- package/dist/legacy-skill-catalog.js +26 -2
- package/dist/legacy-skill-catalog.js.map +1 -1
- package/dist/mcp-slate-command.d.ts +9 -0
- package/dist/mcp-slate-command.d.ts.map +1 -1
- package/dist/mcp-slate-command.js +19 -5
- package/dist/mcp-slate-command.js.map +1 -1
- package/dist/mcp-workflow-tools.js +3 -3
- package/dist/mcp-workflow-tools.js.map +1 -1
- package/dist/scene/camera-diagnostics.d.ts +61 -0
- package/dist/scene/camera-diagnostics.d.ts.map +1 -0
- package/dist/scene/camera-diagnostics.js +166 -0
- package/dist/scene/camera-diagnostics.js.map +1 -0
- package/dist/scene/camera-solve.d.ts +2 -0
- package/dist/scene/camera-solve.d.ts.map +1 -1
- package/dist/scene/camera-solve.js +59 -42
- package/dist/scene/camera-solve.js.map +1 -1
- package/dist/scene/capture.d.ts +24 -0
- package/dist/scene/capture.d.ts.map +1 -1
- package/dist/scene/capture.js +53 -2
- package/dist/scene/capture.js.map +1 -1
- package/dist/scene/convert-run.d.ts +30 -0
- package/dist/scene/convert-run.d.ts.map +1 -0
- package/dist/scene/convert-run.js +135 -0
- package/dist/scene/convert-run.js.map +1 -0
- package/dist/scene/media-query.d.ts +21 -0
- package/dist/scene/media-query.d.ts.map +1 -0
- package/dist/scene/media-query.js +208 -0
- package/dist/scene/media-query.js.map +1 -0
- package/dist/scene/page-css.d.ts +38 -0
- package/dist/scene/page-css.d.ts.map +1 -0
- package/dist/scene/page-css.js +210 -0
- package/dist/scene/page-css.js.map +1 -0
- package/dist/scene/page-images.d.ts +33 -0
- package/dist/scene/page-images.d.ts.map +1 -0
- package/dist/scene/page-images.js +53 -0
- package/dist/scene/page-images.js.map +1 -0
- package/dist/scene/page-merge.d.ts +41 -0
- package/dist/scene/page-merge.d.ts.map +1 -0
- package/dist/scene/page-merge.js +197 -0
- package/dist/scene/page-merge.js.map +1 -0
- package/dist/scene/responsive-bands.d.ts +19 -0
- package/dist/scene/responsive-bands.d.ts.map +1 -0
- package/dist/scene/responsive-bands.js +25 -0
- package/dist/scene/responsive-bands.js.map +1 -0
- package/dist/scene/scene-index.d.ts +10 -0
- package/dist/scene/scene-index.d.ts.map +1 -0
- package/dist/scene/scene-index.js +43 -0
- package/dist/scene/scene-index.js.map +1 -0
- package/dist/scene/scene-merge.d.ts +29 -0
- package/dist/scene/scene-merge.d.ts.map +1 -0
- package/dist/scene/scene-merge.js +130 -0
- package/dist/scene/scene-merge.js.map +1 -0
- package/dist/scene/scene-verbs.d.ts +1 -1
- package/dist/scene/scene-verbs.d.ts.map +1 -1
- package/dist/scene/scene-verbs.js +1 -1
- package/dist/scene/scene-verbs.js.map +1 -1
- package/dist/scene/serve-detach.d.ts +23 -0
- package/dist/scene/serve-detach.d.ts.map +1 -0
- package/dist/scene/serve-detach.js +92 -0
- package/dist/scene/serve-detach.js.map +1 -0
- package/dist/scene/static-server.d.ts +2 -0
- package/dist/scene/static-server.d.ts.map +1 -1
- package/dist/scene/static-server.js +3 -0
- package/dist/scene/static-server.js.map +1 -1
- package/dist/scene/symmetric-eigen.d.ts +12 -0
- package/dist/scene/symmetric-eigen.d.ts.map +1 -0
- package/dist/scene/symmetric-eigen.js +43 -0
- package/dist/scene/symmetric-eigen.js.map +1 -0
- package/dist/workflow/adapter-12ui.d.ts.map +1 -1
- package/dist/workflow/adapter-12ui.js +3 -5
- package/dist/workflow/adapter-12ui.js.map +1 -1
- package/dist/workflow/providers.d.ts.map +1 -1
- package/dist/workflow/providers.js +5 -2
- package/dist/workflow/providers.js.map +1 -1
- package/dist/workflow/recipes.d.ts +1 -2
- package/dist/workflow/recipes.d.ts.map +1 -1
- package/dist/workflow/recipes.js +6 -18
- package/dist/workflow/recipes.js.map +1 -1
- package/dist/workflow/routing.d.ts.map +1 -1
- package/dist/workflow/routing.js +3 -1
- package/dist/workflow/routing.js.map +1 -1
- package/dist/workflow/types.d.ts +7 -0
- package/dist/workflow/types.d.ts.map +1 -1
- package/dist/workflow/types.js +7 -0
- package/dist/workflow/types.js.map +1 -1
- package/dist/workspace-draw-messages.d.ts.map +1 -1
- package/dist/workspace-draw-messages.js +1 -2
- package/dist/workspace-draw-messages.js.map +1 -1
- package/open-design.json +2 -2
- package/package.json +2 -2
- package/skills/12ui-design/SKILL.md +79 -19
- package/skills/12ui-design/agents/openai.yaml +2 -0
- package/skills/12ui-design/improve.md +1 -5
- package/skills/12ui-design/inspire.md +5 -8
- package/skills/12ui-design/outputs.md +2 -23
- package/skills/12ui-design/scene.md +27 -156
- package/skills/12ui-design/session.md +0 -161
package/dist/cli-help/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
5
5
|
readonly summary: "Local tools for rebuilding a design image as a live Three.js scene (scene.md in the 12ui-design skill).";
|
|
6
6
|
readonly sections: readonly [{
|
|
7
7
|
readonly heading: "Verbs";
|
|
8
|
-
readonly items: readonly ["init — copy the starter harness and the bundled three.js r186 into a new scene folder.", "solve — solve the camera from landmarks; ray, project and rect place objects through it.", "serve — serve a scene folder on 127.0.0.1; capture — headless landing, orbit and action shots.", "sheet and blend — contact sheet and source/render overlay; colors — colour and difference sampling.", "rectify — flatten a perspective quad of the source (a screen, a label) into a texture."];
|
|
8
|
+
readonly items: readonly ["init — copy the starter harness and the bundled three.js r186 into a new scene folder.", "solve — solve the camera from landmarks; ray, project and rect place objects through it.", "serve — serve a scene folder on 127.0.0.1; capture — headless landing, orbit and action shots.", "sheet and blend — contact sheet and source/render overlay; colors — colour and difference sampling.", "rectify — flatten a perspective quad of the source (a screen, a label) into a texture.", "merge — put the page a `12ui convert --output html` run built into the scene's index.html, in #stage."];
|
|
9
9
|
}, {
|
|
10
10
|
readonly heading: "Local only";
|
|
11
11
|
readonly items: readonly ["Every verb reads and writes only the paths on its command line. No account, no model call, no network.", "capture uses the managed Chromium and blocks every request that would leave the machine."];
|
|
@@ -25,7 +25,7 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
25
25
|
readonly items: readonly [string, string, string];
|
|
26
26
|
}, {
|
|
27
27
|
readonly heading: "Reading the output";
|
|
28
|
-
readonly items: readonly [string, string, "camera.js is the line to paste into the starter camera.js; clip is the near/far range.", "cam.json keeps the keys of the Python helper, so existing scene folders keep working."];
|
|
28
|
+
readonly items: readonly [string, string, "camera.js is the line to paste into the starter camera.js; clip is the near/far range.", string, "cam.json keeps the keys of the Python helper, so existing scene folders keep working."];
|
|
29
29
|
}];
|
|
30
30
|
};
|
|
31
31
|
readonly 'scene ray': {
|
|
@@ -53,17 +53,17 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
53
53
|
readonly summary: "Serve a scene folder on 127.0.0.1 for capture and for a browser.";
|
|
54
54
|
readonly sections: readonly [{
|
|
55
55
|
readonly heading: "Behavior";
|
|
56
|
-
readonly items: readonly [string, "Serves nothing outside the folder and never caches."];
|
|
56
|
+
readonly items: readonly [string, string, "Serves nothing outside the folder and never caches."];
|
|
57
57
|
}];
|
|
58
58
|
};
|
|
59
59
|
readonly 'scene capture': {
|
|
60
60
|
readonly summary: "Headless captures of a served scene: the landing view, orbit angles and every action.";
|
|
61
61
|
readonly sections: readonly [{
|
|
62
62
|
readonly heading: "Views";
|
|
63
|
-
readonly items: readonly ["Default: landing, az-15, az-10, az+10, az+15 (from --orbit) and act-<name> for each action at t = 1.", string, string];
|
|
63
|
+
readonly items: readonly ["Default: landing, az-15, az-10, az+10, az+15 (from --orbit) and act-<name> for each action at t = 1.", string, string, string];
|
|
64
64
|
}, {
|
|
65
65
|
readonly heading: "Local only";
|
|
66
|
-
readonly items: readonly [string, "It reports \"fonts: N loaded, M failed\" and up to 30 console errors.", "It needs the managed Chromium. When that is missing it prints the install command and downloads nothing.", "The page must set window.__ready = true and expose window.__scene, as the starter main.js does."];
|
|
66
|
+
readonly items: readonly [string, "It reports \"fonts: N loaded, M failed\" and up to 30 console errors.", "It needs the managed Chromium. When that is missing it prints the install command and downloads nothing.", "The page must set window.__ready = true and expose window.__scene, as the starter main.js does.", string];
|
|
67
67
|
}];
|
|
68
68
|
};
|
|
69
69
|
readonly 'scene sheet': {
|
|
@@ -94,11 +94,21 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
94
94
|
readonly items: readonly ["A true homography with bicubic sampling. Map the result onto a face whose aspect is the --size aspect.", "Crop just inside the frame so no bezel bleeds in."];
|
|
95
95
|
}];
|
|
96
96
|
};
|
|
97
|
+
readonly 'scene merge': {
|
|
98
|
+
readonly summary: "Put the page of a 12ui convert run into the scene index.html, in #stage.";
|
|
99
|
+
readonly sections: readonly [{
|
|
100
|
+
readonly heading: "Runs it reads";
|
|
101
|
+
readonly items: readonly [string, string];
|
|
102
|
+
}, {
|
|
103
|
+
readonly heading: "What it does";
|
|
104
|
+
readonly items: readonly [string, "Removes the API page's layout bands that do not paint at the frame, and scripts loaded from other hosts.", "Copies the files the page loads beside index.html, keeping their paths; it overwrites no different file.", string, "Prints \"fonts: <url>\" for each remote font stylesheet the page links; capture blocks remote requests.", "Run it again (for example with --drop) to replace what the last merge wrote; edits inside it are replaced."];
|
|
105
|
+
}];
|
|
106
|
+
};
|
|
97
107
|
readonly workflow: {
|
|
98
108
|
readonly summary: "Run design work through one persistent local workflow shared by the CLI, SDK, and MCP.";
|
|
99
109
|
readonly sections: readonly [{
|
|
100
110
|
readonly heading: "Flow";
|
|
101
|
-
readonly items: readonly ["Import local files, prepare a request or recipe, execute the returned operation, then inspect its status. Recipe commands prepare only.", "A declared host session receives a handoff for its own tools; register the resulting JSON or files against that same operation and attempt number.", "Local Codex/Claude execution uses the user’s plan. OpenAI API and 12ui fallbacks require explicit --allow-paid authorization; credentials alone do not enable spending.", "An ambiguous dispatch stops for reconciliation. Repeating execute never silently buys the same work through another provider."];
|
|
111
|
+
readonly items: readonly ["Import local files, prepare a request or recipe, execute the returned operation, then inspect its status. Recipe commands prepare only.", "Image, image-edit and convert work always runs through the 12ui CLI's own providers (the 12ui API, or the OpenAI API for images), never a host session.", "A declared host session receives a handoff for text or code with its own tools; register the resulting JSON or files against that same operation and attempt number.", "Local Codex/Claude execution uses the user’s plan. OpenAI API and 12ui fallbacks require explicit --allow-paid authorization; credentials alone do not enable spending.", "An ambiguous dispatch stops for reconciliation. Repeating execute never silently buys the same work through another provider."];
|
|
102
112
|
}];
|
|
103
113
|
};
|
|
104
114
|
readonly 'workflow prepare': {
|
|
@@ -112,7 +122,7 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
112
122
|
readonly summary: "Execute an existing operation through eligible providers in the requested preference order.";
|
|
113
123
|
readonly sections: readonly [{
|
|
114
124
|
readonly heading: "Routing";
|
|
115
|
-
readonly items: readonly ["--providers is an ordered comma-separated subset of session,codex,claude,openai,12ui. Declare only
|
|
125
|
+
readonly items: readonly ["--providers is an ordered comma-separated subset of session,codex,claude,openai,12ui. Declare only text or code with --session-capabilities: a session never generates images or converts.", "--allow-paid openai,12ui authorizes those paid fallbacks. Omit a provider to withhold that permission. User-plan execution still consumes the user’s allowance.", "--trust-codex-config permits launching the existing Codex CLI configuration, including configured tools and hooks. Codex child execution is unavailable without it. This does not authorize paid API or 12ui fallbacks.", "Session execution (text or code only) returns a handoff, not completed output. Fulfill it using the calling client, then run workflow register with the result and the exact handoff attemptNumber as --attempt."];
|
|
116
126
|
}];
|
|
117
127
|
};
|
|
118
128
|
readonly 'workflow register': {
|
|
@@ -360,7 +370,7 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
360
370
|
readonly summary: "Draw all options of one hosted Design workspace request at once with Codex on this Mac.";
|
|
361
371
|
readonly sections: readonly [{
|
|
362
372
|
readonly heading: "Behavior";
|
|
363
|
-
readonly items: readonly ["Run by the 12ui-
|
|
373
|
+
readonly items: readonly ["Run by the 12ui-design skill once per request, outside the sandbox, with the request id and upload token from a design.slate.* tool result.", "Executes the plan the server froze (each option's prompt, its reference images and frame); it builds no prompt. One codex exec per option, all at once, in the Codex home the agent runs in.", "When Codex cannot draw here it draws and spends nothing: each option shows as failed with the reason, because drawing on 12ui needs a 12ui sign-in.", "Prints one JSON line (ok, code, engine, options, message, record) and exits 0 done, 1 some failed, 2 refused, 3 needs escalation, 4 no engine, 5 outdated CLI. 12ui workspace draw --help prints the full usage."];
|
|
364
374
|
}];
|
|
365
375
|
};
|
|
366
376
|
readonly 'workspace open': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli-help/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli-help/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOK,CAAC;AAIpC,eAAO,MAAM,aAAa,GAAI,SAAS,SAAS,MAAM,EAAE,KAAG,SAAS,MAAM,EAUzE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GACzB,SAAS,SAAS,MAAM,EAAE,KACzB,cAAc,GAAG,SAenB,CAAC;AAEF,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/cli-help/scene.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const SCENE_HELP: {
|
|
|
3
3
|
readonly summary: "Local tools for rebuilding a design image as a live Three.js scene (scene.md in the 12ui-design skill).";
|
|
4
4
|
readonly sections: readonly [{
|
|
5
5
|
readonly heading: "Verbs";
|
|
6
|
-
readonly items: readonly ["init — copy the starter harness and the bundled three.js r186 into a new scene folder.", "solve — solve the camera from landmarks; ray, project and rect place objects through it.", "serve — serve a scene folder on 127.0.0.1; capture — headless landing, orbit and action shots.", "sheet and blend — contact sheet and source/render overlay; colors — colour and difference sampling.", "rectify — flatten a perspective quad of the source (a screen, a label) into a texture."];
|
|
6
|
+
readonly items: readonly ["init — copy the starter harness and the bundled three.js r186 into a new scene folder.", "solve — solve the camera from landmarks; ray, project and rect place objects through it.", "serve — serve a scene folder on 127.0.0.1; capture — headless landing, orbit and action shots.", "sheet and blend — contact sheet and source/render overlay; colors — colour and difference sampling.", "rectify — flatten a perspective quad of the source (a screen, a label) into a texture.", "merge — put the page a `12ui convert --output html` run built into the scene's index.html, in #stage."];
|
|
7
7
|
}, {
|
|
8
8
|
readonly heading: "Local only";
|
|
9
9
|
readonly items: readonly ["Every verb reads and writes only the paths on its command line. No account, no model call, no network.", "capture uses the managed Chromium and blocks every request that would leave the machine."];
|
|
@@ -23,7 +23,7 @@ export declare const SCENE_HELP: {
|
|
|
23
23
|
readonly items: readonly [string, string, string];
|
|
24
24
|
}, {
|
|
25
25
|
readonly heading: "Reading the output";
|
|
26
|
-
readonly items: readonly [string, string, "camera.js is the line to paste into the starter camera.js; clip is the near/far range.", "cam.json keeps the keys of the Python helper, so existing scene folders keep working."];
|
|
26
|
+
readonly items: readonly [string, string, "camera.js is the line to paste into the starter camera.js; clip is the near/far range.", string, "cam.json keeps the keys of the Python helper, so existing scene folders keep working."];
|
|
27
27
|
}];
|
|
28
28
|
};
|
|
29
29
|
readonly 'scene ray': {
|
|
@@ -51,17 +51,17 @@ export declare const SCENE_HELP: {
|
|
|
51
51
|
readonly summary: "Serve a scene folder on 127.0.0.1 for capture and for a browser.";
|
|
52
52
|
readonly sections: readonly [{
|
|
53
53
|
readonly heading: "Behavior";
|
|
54
|
-
readonly items: readonly [string, "Serves nothing outside the folder and never caches."];
|
|
54
|
+
readonly items: readonly [string, string, "Serves nothing outside the folder and never caches."];
|
|
55
55
|
}];
|
|
56
56
|
};
|
|
57
57
|
readonly 'scene capture': {
|
|
58
58
|
readonly summary: "Headless captures of a served scene: the landing view, orbit angles and every action.";
|
|
59
59
|
readonly sections: readonly [{
|
|
60
60
|
readonly heading: "Views";
|
|
61
|
-
readonly items: readonly ["Default: landing, az-15, az-10, az+10, az+15 (from --orbit) and act-<name> for each action at t = 1.", string, string];
|
|
61
|
+
readonly items: readonly ["Default: landing, az-15, az-10, az+10, az+15 (from --orbit) and act-<name> for each action at t = 1.", string, string, string];
|
|
62
62
|
}, {
|
|
63
63
|
readonly heading: "Local only";
|
|
64
|
-
readonly items: readonly [string, "It reports \"fonts: N loaded, M failed\" and up to 30 console errors.", "It needs the managed Chromium. When that is missing it prints the install command and downloads nothing.", "The page must set window.__ready = true and expose window.__scene, as the starter main.js does."];
|
|
64
|
+
readonly items: readonly [string, "It reports \"fonts: N loaded, M failed\" and up to 30 console errors.", "It needs the managed Chromium. When that is missing it prints the install command and downloads nothing.", "The page must set window.__ready = true and expose window.__scene, as the starter main.js does.", string];
|
|
65
65
|
}];
|
|
66
66
|
};
|
|
67
67
|
readonly 'scene sheet': {
|
|
@@ -92,5 +92,15 @@ export declare const SCENE_HELP: {
|
|
|
92
92
|
readonly items: readonly ["A true homography with bicubic sampling. Map the result onto a face whose aspect is the --size aspect.", "Crop just inside the frame so no bezel bleeds in."];
|
|
93
93
|
}];
|
|
94
94
|
};
|
|
95
|
+
readonly 'scene merge': {
|
|
96
|
+
readonly summary: "Put the page of a 12ui convert run into the scene index.html, in #stage.";
|
|
97
|
+
readonly sections: readonly [{
|
|
98
|
+
readonly heading: "Runs it reads";
|
|
99
|
+
readonly items: readonly [string, string];
|
|
100
|
+
}, {
|
|
101
|
+
readonly heading: "What it does";
|
|
102
|
+
readonly items: readonly [string, "Removes the API page's layout bands that do not paint at the frame, and scripts loaded from other hosts.", "Copies the files the page loads beside index.html, keeping their paths; it overwrites no different file.", string, "Prints \"fonts: <url>\" for each remote font stylesheet the page links; capture blocks remote requests.", "Run it again (for example with --drop) to replace what the last merge wrote; edits inside it are replaced."];
|
|
103
|
+
}];
|
|
104
|
+
};
|
|
95
105
|
};
|
|
96
106
|
//# sourceMappingURL=scene.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../src/cli-help/scene.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../src/cli-help/scene.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4MY,CAAC"}
|
package/dist/cli-help/scene.js
CHANGED
|
@@ -10,6 +10,7 @@ export const SCENE_HELP = {
|
|
|
10
10
|
'serve — serve a scene folder on 127.0.0.1; capture — headless landing, orbit and action shots.',
|
|
11
11
|
'sheet and blend — contact sheet and source/render overlay; colors — colour and difference sampling.',
|
|
12
12
|
'rectify — flatten a perspective quad of the source (a screen, a label) into a texture.',
|
|
13
|
+
'merge — put the page a `12ui convert --output html` run built into the scene\'s index.html, in #stage.',
|
|
13
14
|
],
|
|
14
15
|
},
|
|
15
16
|
{
|
|
@@ -54,6 +55,10 @@ export const SCENE_HELP = {
|
|
|
54
55
|
'fovSensitivity is the rms with fov pinned at 0.6x..1.6x. If it barely changes, the landmarks do not'
|
|
55
56
|
+ ' determine fov (coplanar points): pin it, or add a landmark off the plane.',
|
|
56
57
|
'camera.js is the line to paste into the starter camera.js; clip is the near/far range.',
|
|
58
|
+
'A "degenerate" key (first in the output, also printed to stderr) means the landmarks did not measure the'
|
|
59
|
+
+ ' camera: all on one plane facing it (often world coordinates laid out from the pixels: rms 0, yaw'
|
|
60
|
+
+ ' and pitch 0), or a parameter one pixel of misreading moves a long way. The first warnings say what to'
|
|
61
|
+
+ ' add: a landmark off the plane, a pinned fov, or a pinned parameter.',
|
|
57
62
|
'cam.json keeps the keys of the Python helper, so existing scene folders keep working.',
|
|
58
63
|
],
|
|
59
64
|
},
|
|
@@ -92,6 +97,10 @@ export const SCENE_HELP = {
|
|
|
92
97
|
items: [
|
|
93
98
|
'Prints "serving <dir> on http://127.0.0.1:<port> pid <pid>" and runs until stopped. Stop it by that'
|
|
94
99
|
+ ' pid, never by a name pattern. Without --port it takes a free port.',
|
|
100
|
+
'--detach starts the server as its own background process that outlives the shell that launched it, waits'
|
|
101
|
+
+ ' until the port answers, prints the same line plus "stop it with: kill <pid>" and its log file'
|
|
102
|
+
+ ' (in the system temp folder), and exits 0. Use it instead of `serve ... &` from an agent shell.'
|
|
103
|
+
+ ' A port already in use is refused.',
|
|
95
104
|
'Serves nothing outside the folder and never caches.',
|
|
96
105
|
],
|
|
97
106
|
}],
|
|
@@ -107,6 +116,8 @@ export const SCENE_HELP = {
|
|
|
107
116
|
+ ' Views on the command line replace the default set.',
|
|
108
117
|
'--size defaults to 1536x1024. --hide hides objects whose name contains a word; --eval runs JavaScript'
|
|
109
118
|
+ ' in the page first.',
|
|
119
|
+
'Every flag also takes the --flag=value form, so a value that starts with "-" needs no quoting:'
|
|
120
|
+
+ ' --orbit=-15,15.',
|
|
110
121
|
],
|
|
111
122
|
},
|
|
112
123
|
{
|
|
@@ -117,6 +128,8 @@ export const SCENE_HELP = {
|
|
|
117
128
|
'It reports "fonts: N loaded, M failed" and up to 30 console errors.',
|
|
118
129
|
'It needs the managed Chromium. When that is missing it prints the install command and downloads nothing.',
|
|
119
130
|
'The page must set window.__ready = true and expose window.__scene, as the starter main.js does.',
|
|
131
|
+
'--timeout <seconds> (default 60) bounds the wait for the page to load and set window.__ready; it prints'
|
|
132
|
+
+ ' a progress line every 10 s and, at the limit, fails naming the wait and any console errors so far.',
|
|
120
133
|
],
|
|
121
134
|
},
|
|
122
135
|
],
|
|
@@ -158,5 +171,36 @@ export const SCENE_HELP = {
|
|
|
158
171
|
],
|
|
159
172
|
}],
|
|
160
173
|
},
|
|
174
|
+
'scene merge': {
|
|
175
|
+
summary: 'Put the page of a 12ui convert run into the scene index.html, in #stage.',
|
|
176
|
+
sections: [
|
|
177
|
+
{
|
|
178
|
+
heading: 'Runs it reads',
|
|
179
|
+
items: [
|
|
180
|
+
'The folder `12ui convert <image> --output html --out-dir <folder>` wrote, read by the engine that ran it:'
|
|
181
|
+
+ ' Codex (receipt <folder>.12ui-conversion.json, page in <folder>/output with a manifest of image boxes)'
|
|
182
|
+
+ ' or the 12ui API (run journal <folder>/journal.jsonl, page <stem>.html with inlined images and a LayerDoc'
|
|
183
|
+
+ ' giving the frame). Any other folder is refused by name.',
|
|
184
|
+
'While convert runs, or after it failed or stopped, merge writes nothing and prints how to see and recover'
|
|
185
|
+
+ ' the run (12ui next, 12ui resume). If convert still fails, report that; never rebuild the page by hand.',
|
|
186
|
+
],
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
heading: 'What it does',
|
|
190
|
+
items: [
|
|
191
|
+
'Decides every @media block at the source frame (#stage is that frame): blocks that apply keep their rules,'
|
|
192
|
+
+ ' the rest are removed; blocks that depend on the viewer instead (colour scheme, hover) stay as written.'
|
|
193
|
+
+ ' Viewport units become frame pixels (100vh is the source height).',
|
|
194
|
+
'Removes the API page\'s layout bands that do not paint at the frame, and scripts loaded from other hosts.',
|
|
195
|
+
'Copies the files the page loads beside index.html, keeping their paths; it overwrites no different file.',
|
|
196
|
+
'Lists the page\'s images: a file path, inline:<hash> for an inlined image, with the source box'
|
|
197
|
+
+ ' x0,y0,x1,y1 where the run declares one. --drop <image>,... removes every <img> showing them and turns'
|
|
198
|
+
+ ' every url() naming them into none.',
|
|
199
|
+
'Prints "fonts: <url>" for each remote font stylesheet the page links; capture blocks remote requests.',
|
|
200
|
+
'Run it again (for example with --drop) to replace what the last merge wrote; edits inside it are replaced.',
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
},
|
|
161
205
|
};
|
|
162
206
|
//# sourceMappingURL=scene.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene.js","sourceRoot":"","sources":["../../src/cli-help/scene.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE;QACL,OAAO,EAAE,yGAAyG;QAClH,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE;oBACL,wFAAwF;oBACxF,0FAA0F;oBAC1F,gGAAgG;oBAChG,qGAAqG;oBACrG,wFAAwF;
|
|
1
|
+
{"version":3,"file":"scene.js","sourceRoot":"","sources":["../../src/cli-help/scene.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE;QACL,OAAO,EAAE,yGAAyG;QAClH,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE;oBACL,wFAAwF;oBACxF,0FAA0F;oBAC1F,gGAAgG;oBAChG,qGAAqG;oBACrG,wFAAwF;oBACxF,wGAAwG;iBACzG;aACF;YACD;gBACE,OAAO,EAAE,YAAY;gBACrB,KAAK,EAAE;oBACL,wGAAwG;oBACxG,0FAA0F;iBAC3F;aACF;SACF;KACF;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,uEAAuE;QAChF,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,KAAK,EAAE;oBACL,uGAAuG;0BACrG,yDAAyD;oBAC3D,gGAAgG;iBACjG;aACF,CAAC;KACH;IACD,aAAa,EAAE;QACb,OAAO,EAAE,qGAAqG;QAC9G,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,MAAM;gBACf,KAAK,EAAE;oBACL,8FAA8F;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2GAA2G;oBAC3G,0GAA0G;oBAC1G,gGAAgG;0BAC9F,wGAAwG;0BACxG,qCAAqC;oBACvC,uGAAuG;oBACvG,4GAA4G;iBAC7G;aACF;SACF;KACF;CACgC,CAAC"}
|
|
@@ -4,7 +4,7 @@ export declare const WORKFLOW_HELP: {
|
|
|
4
4
|
readonly summary: "Run design work through one persistent local workflow shared by the CLI, SDK, and MCP.";
|
|
5
5
|
readonly sections: readonly [{
|
|
6
6
|
readonly heading: "Flow";
|
|
7
|
-
readonly items: readonly ["Import local files, prepare a request or recipe, execute the returned operation, then inspect its status. Recipe commands prepare only.", "A declared host session receives a handoff for its own tools; register the resulting JSON or files against that same operation and attempt number.", "Local Codex/Claude execution uses the user’s plan. OpenAI API and 12ui fallbacks require explicit --allow-paid authorization; credentials alone do not enable spending.", "An ambiguous dispatch stops for reconciliation. Repeating execute never silently buys the same work through another provider."];
|
|
7
|
+
readonly items: readonly ["Import local files, prepare a request or recipe, execute the returned operation, then inspect its status. Recipe commands prepare only.", "Image, image-edit and convert work always runs through the 12ui CLI's own providers (the 12ui API, or the OpenAI API for images), never a host session.", "A declared host session receives a handoff for text or code with its own tools; register the resulting JSON or files against that same operation and attempt number.", "Local Codex/Claude execution uses the user’s plan. OpenAI API and 12ui fallbacks require explicit --allow-paid authorization; credentials alone do not enable spending.", "An ambiguous dispatch stops for reconciliation. Repeating execute never silently buys the same work through another provider."];
|
|
8
8
|
}];
|
|
9
9
|
};
|
|
10
10
|
readonly 'workflow prepare': {
|
|
@@ -18,7 +18,7 @@ export declare const WORKFLOW_HELP: {
|
|
|
18
18
|
readonly summary: "Execute an existing operation through eligible providers in the requested preference order.";
|
|
19
19
|
readonly sections: readonly [{
|
|
20
20
|
readonly heading: "Routing";
|
|
21
|
-
readonly items: readonly ["--providers is an ordered comma-separated subset of session,codex,claude,openai,12ui. Declare only
|
|
21
|
+
readonly items: readonly ["--providers is an ordered comma-separated subset of session,codex,claude,openai,12ui. Declare only text or code with --session-capabilities: a session never generates images or converts.", "--allow-paid openai,12ui authorizes those paid fallbacks. Omit a provider to withhold that permission. User-plan execution still consumes the user’s allowance.", "--trust-codex-config permits launching the existing Codex CLI configuration, including configured tools and hooks. Codex child execution is unavailable without it. This does not authorize paid API or 12ui fallbacks.", "Session execution (text or code only) returns a handoff, not completed output. Fulfill it using the calling client, then run workflow register with the result and the exact handoff attemptNumber as --attempt."];
|
|
22
22
|
}];
|
|
23
23
|
};
|
|
24
24
|
readonly 'workflow register': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/cli-help/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,YAAY,CAAC;AAUjE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/cli-help/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,YAAY,CAAC;AAUjE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFS,CAAC"}
|
|
@@ -11,7 +11,8 @@ export const WORKFLOW_HELP = {
|
|
|
11
11
|
summary: 'Run design work through one persistent local workflow shared by the CLI, SDK, and MCP.',
|
|
12
12
|
sections: [{ heading: 'Flow', items: [
|
|
13
13
|
'Import local files, prepare a request or recipe, execute the returned operation, then inspect its status. Recipe commands prepare only.',
|
|
14
|
-
'
|
|
14
|
+
'Image, image-edit and convert work always runs through the 12ui CLI\'s own providers (the 12ui API, or the OpenAI API for images), never a host session.',
|
|
15
|
+
'A declared host session receives a handoff for text or code with its own tools; register the resulting JSON or files against that same operation and attempt number.',
|
|
15
16
|
'Local Codex/Claude execution uses the user’s plan. OpenAI API and 12ui fallbacks require explicit --allow-paid authorization; credentials alone do not enable spending.',
|
|
16
17
|
'An ambiguous dispatch stops for reconciliation. Repeating execute never silently buys the same work through another provider.',
|
|
17
18
|
] }],
|
|
@@ -26,10 +27,10 @@ export const WORKFLOW_HELP = {
|
|
|
26
27
|
'workflow execute': {
|
|
27
28
|
summary: 'Execute an existing operation through eligible providers in the requested preference order.',
|
|
28
29
|
sections: [{ heading: 'Routing', items: [
|
|
29
|
-
'--providers is an ordered comma-separated subset of session,codex,claude,openai,12ui. Declare only
|
|
30
|
+
'--providers is an ordered comma-separated subset of session,codex,claude,openai,12ui. Declare only text or code with --session-capabilities: a session never generates images or converts.',
|
|
30
31
|
'--allow-paid openai,12ui authorizes those paid fallbacks. Omit a provider to withhold that permission. User-plan execution still consumes the user’s allowance.',
|
|
31
32
|
'--trust-codex-config permits launching the existing Codex CLI configuration, including configured tools and hooks. Codex child execution is unavailable without it. This does not authorize paid API or 12ui fallbacks.',
|
|
32
|
-
'Session execution returns a handoff, not completed output. Fulfill it using the calling client, then run workflow register with the result and the exact handoff attemptNumber as --attempt.',
|
|
33
|
+
'Session execution (text or code only) returns a handoff, not completed output. Fulfill it using the calling client, then run workflow register with the result and the exact handoff attemptNumber as --attempt.',
|
|
33
34
|
] }],
|
|
34
35
|
},
|
|
35
36
|
'workflow register': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../src/cli-help/workflow.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAmB;IAC7B,OAAO,EAAE,oFAAoF;IAC7F,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE;gBACvC,8IAA8I;gBAC9I,kHAAkH;gBAClH,oHAAoH;aACrH,EAAE,CAAC;CACL,CAAC;AACF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,QAAQ,EAAE;QAC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EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;oBACpC,wJAAwJ;oBACxJ,2HAA2H;iBAC5H,EAAE,CAAC;KACL;CACgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-scene-command.d.ts","sourceRoot":"","sources":["../src/cli-scene-command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli-scene-command.d.ts","sourceRoot":"","sources":["../src/cli-scene-command.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AA6S5E,eAAO,MAAM,eAAe,GAAU,MAAM,SAAS,MAAM,EAAE,EAAE,OAAO,QAAQ,KAAG,OAAO,CAAC,IAAI,CAiB5F,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { readFile, writeFile } from 'node:fs/promises';
|
|
2
2
|
import path from 'node:path';
|
|
3
|
-
import {
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
import { booleanFlag, stringFlag } from './cli-arguments.js';
|
|
4
5
|
import { CliRefusal } from './cli-refusal.js';
|
|
5
6
|
import { usageRefusal } from './cli-usage.js';
|
|
6
7
|
import { cameraFromFile, projectPoints } from './scene/camera-model.js';
|
|
7
8
|
import { CameraSpecError, parseCameraSpec, solveCamera } from './scene/camera-solve.js';
|
|
8
|
-
import { captureScene } from './scene/capture.js';
|
|
9
|
+
import { captureScene, DEFAULT_READY_TIMEOUT_SECONDS } from './scene/capture.js';
|
|
9
10
|
import { isLoopbackPageUrl, parseCaptureView, parseOrbits } from './scene/capture-plan.js';
|
|
10
11
|
import { compareWithSource, sampleSourceBox } from './scene/image-colors.js';
|
|
11
12
|
import { rectifyFile } from './scene/image-rectify.js';
|
|
@@ -13,8 +14,10 @@ import { writeBlend, writeContactSheet } from './scene/image-sheet.js';
|
|
|
13
14
|
import { parseBox, parseNumberTuple, parseSize, SceneArgumentError, splitList } from './scene/numbers.js';
|
|
14
15
|
import { castRays, formatProjectLine, formatRayLine, rectOfKnownSize, rectOnPlane } from './scene/placement.js';
|
|
15
16
|
import { initSceneFolder, SceneInitConflict } from './scene/scene-kit.js';
|
|
17
|
+
import { formatMergeReport, mergeConvertRun } from './scene/scene-merge.js';
|
|
16
18
|
import { SCENE_VERBS } from './scene/scene-verbs.js';
|
|
17
19
|
import { SpecExpressionError } from './scene/spec-expression.js';
|
|
20
|
+
import { startDetachedServer } from './scene/serve-detach.js';
|
|
18
21
|
import { startStaticServer } from './scene/static-server.js';
|
|
19
22
|
/**
|
|
20
23
|
* `12ui scene <verb>`: the local helpers an agent uses to rebuild a design
|
|
@@ -22,6 +25,8 @@ import { startStaticServer } from './scene/static-server.js';
|
|
|
22
25
|
* writes only the paths on its command line and calls no service; capture uses
|
|
23
26
|
* the managed Chromium and blocks every request that would leave the machine.
|
|
24
27
|
*/
|
|
28
|
+
/** The built CLI beside this module: what a detached `serve` runs. */
|
|
29
|
+
const CLI_ENTRY = fileURLToPath(new URL('./cli.js', import.meta.url));
|
|
25
30
|
/** Per-verb flags; `quiet` and `help` are accepted everywhere. */
|
|
26
31
|
const VERB_FLAGS = {
|
|
27
32
|
init: [],
|
|
@@ -29,12 +34,13 @@ const VERB_FLAGS = {
|
|
|
29
34
|
ray: ['plane-y'],
|
|
30
35
|
project: [],
|
|
31
36
|
rect: ['corners', 'plane-y', 'width', 'height'],
|
|
32
|
-
serve: ['port'],
|
|
33
|
-
capture: ['out-dir', 'size', 'orbit', 'hide', 'eval'],
|
|
37
|
+
serve: ['port', 'detach'],
|
|
38
|
+
capture: ['out-dir', 'size', 'orbit', 'hide', 'eval', 'timeout'],
|
|
34
39
|
sheet: ['out', 'cols', 'note'],
|
|
35
40
|
blend: ['out'],
|
|
36
41
|
colors: ['box', 'exclude', 'exclude-dom', 'region'],
|
|
37
42
|
rectify: ['corners', 'size', 'out'],
|
|
43
|
+
merge: ['drop'],
|
|
38
44
|
};
|
|
39
45
|
const isSceneVerb = (value) => (SCENE_VERBS.includes(value ?? ''));
|
|
40
46
|
const refuse = (verb, reason) => {
|
|
@@ -50,7 +56,8 @@ const numberFlag = (verb, flags, name) => {
|
|
|
50
56
|
const value = stringFlag(flags, name);
|
|
51
57
|
if (value === undefined)
|
|
52
58
|
return undefined;
|
|
53
|
-
|
|
59
|
+
// Number('') is 0: an empty `--plane-y=` must not read as a plane at y = 0.
|
|
60
|
+
const parsed = value.trim() === '' ? Number.NaN : Number(value);
|
|
54
61
|
if (!Number.isFinite(parsed))
|
|
55
62
|
refuse(verb, `--${name} must be a number, got "${value}".`);
|
|
56
63
|
return parsed;
|
|
@@ -112,7 +119,7 @@ const VERBS = {
|
|
|
112
119
|
console.log(`wrote ${written.length} files to ${directory}: the starter harness and three.js r186`
|
|
113
120
|
+ ' (vendor/, MIT licence in vendor/LICENSE). Nothing was downloaded.');
|
|
114
121
|
console.log('next:');
|
|
115
|
-
console.log(` 12ui scene serve ${args[0]} --port <port
|
|
122
|
+
console.log(` 12ui scene serve ${args[0]} --port <port> --detach`);
|
|
116
123
|
console.log(` 12ui scene capture http://127.0.0.1:<port>/index.html --out-dir ${path.join(args[0], 'shots', 'i01')}`);
|
|
117
124
|
},
|
|
118
125
|
solve: async (args, flags) => {
|
|
@@ -123,6 +130,10 @@ const VERBS = {
|
|
|
123
130
|
if (out)
|
|
124
131
|
await writeFile(out, `${text}\n`);
|
|
125
132
|
console.log(text);
|
|
133
|
+
if (result.degenerate) {
|
|
134
|
+
console.error(`warning: degenerate camera solve (${result.degenerate}). This camera is not a measurement;`
|
|
135
|
+
+ ' read "warnings" for what to add to the spec before using it.');
|
|
136
|
+
}
|
|
126
137
|
},
|
|
127
138
|
ray: async (args, flags) => {
|
|
128
139
|
positionalCount('ray', args, 2, Number.POSITIVE_INFINITY);
|
|
@@ -180,6 +191,17 @@ const VERBS = {
|
|
|
180
191
|
if (!Number.isInteger(port) || port < 0 || port > 65535)
|
|
181
192
|
refuse('serve', '--port must be an integer from 0 to 65535.');
|
|
182
193
|
const directory = path.resolve(args[0]);
|
|
194
|
+
if (booleanFlag(flags, 'detach')) {
|
|
195
|
+
const detached = await asRefusal('serve', () => startDetachedServer({
|
|
196
|
+
directory,
|
|
197
|
+
port,
|
|
198
|
+
command: (chosen) => [process.execPath, CLI_ENTRY, 'scene', 'serve', directory, '--port', String(chosen)],
|
|
199
|
+
}));
|
|
200
|
+
console.log(`serving ${directory} on ${detached.url} pid ${detached.pid} (detached)`);
|
|
201
|
+
console.log(`stop it with: kill ${detached.pid}`);
|
|
202
|
+
console.log(`log: ${detached.logFile}`);
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
183
205
|
const server = await asRefusal('serve', () => startStaticServer({ directory, port }));
|
|
184
206
|
console.log(`serving ${directory} on http://127.0.0.1:${server.port} pid ${process.pid}`);
|
|
185
207
|
console.log(`stop it with: kill ${process.pid}`);
|
|
@@ -194,6 +216,9 @@ const VERBS = {
|
|
|
194
216
|
+ ' Serve the scene folder with 12ui scene serve first.');
|
|
195
217
|
}
|
|
196
218
|
const outDir = requireFlag('capture', flags, 'out-dir');
|
|
219
|
+
const timeout = numberFlag('capture', flags, 'timeout') ?? DEFAULT_READY_TIMEOUT_SECONDS;
|
|
220
|
+
if (!(timeout > 0))
|
|
221
|
+
refuse('capture', '--timeout must be a positive number of seconds.');
|
|
197
222
|
const options = await asRefusal('capture', () => ({
|
|
198
223
|
url,
|
|
199
224
|
outDir: path.resolve(outDir),
|
|
@@ -202,6 +227,7 @@ const VERBS = {
|
|
|
202
227
|
hide: (stringFlag(flags, 'hide') ?? '').split(',').map((part) => part.trim()).filter(Boolean),
|
|
203
228
|
...(stringFlag(flags, 'eval') ? { evalScript: stringFlag(flags, 'eval') } : {}),
|
|
204
229
|
views: args.slice(1).map(parseCaptureView),
|
|
230
|
+
readyTimeoutMs: timeout * 1000,
|
|
205
231
|
}));
|
|
206
232
|
await captureScene(options, (line) => console.log(line));
|
|
207
233
|
},
|
|
@@ -270,6 +296,13 @@ const VERBS = {
|
|
|
270
296
|
await asRefusal('rectify', () => rectifyFile({ sourceFile: args[0], corners, width, height, outFile: out }));
|
|
271
297
|
console.log(`wrote ${out} ${width}x${height}`);
|
|
272
298
|
},
|
|
299
|
+
merge: async (args, flags) => {
|
|
300
|
+
positionalCount('merge', args, 2);
|
|
301
|
+
const drop = (stringFlag(flags, 'drop') ?? '').split(',').map((ref) => ref.trim()).filter(Boolean);
|
|
302
|
+
const report = await asRefusal('merge', () => mergeConvertRun({ runDir: args[0], sceneDir: args[1], drop }));
|
|
303
|
+
for (const line of formatMergeReport(report, { run: args[0], scene: args[1] }))
|
|
304
|
+
console.log(line);
|
|
305
|
+
},
|
|
273
306
|
};
|
|
274
307
|
export const runSceneCommand = async (args, flags) => {
|
|
275
308
|
const [verb, ...rest] = args;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-scene-command.js","sourceRoot":"","sources":["../src/cli-scene-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,UAAU,EAAiB,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,aAAa,EAAa,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAA8B,MAAM,yBAAyB,CAAC;AACzG,OAAO,EAAE,WAAW,EAAE,MAA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AAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACrG,CAAC;IACD,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjC,CAAC,CAAC"}
|
package/dist/cli-usage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-usage.d.ts","sourceRoot":"","sources":["../src/cli-usage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAkD9C,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"cli-usage.d.ts","sourceRoot":"","sources":["../src/cli-usage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAkD9C,eAAO,MAAM,SAAS,QAqGsC,CAAC;AAE7D,iFAAiF;AACjF,eAAO,MAAM,uBAAuB,EAAE,SAAS,MAAM,EAER,CAAC;AAE9C;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAIhD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,SAAS,MAAM,EAgB9C,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,eAAe,EAAE,SAAS,MAAM,EAI5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,SAAS,MAAM,EAA2C,CAAC;AAEzF,gFAAgF;AAChF,eAAO,MAAM,eAAe,GAAI,QAAO,SAAS,MAAM,EAAoB,KAAG,GAAG,CAAC,MAAM,CAMtF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAI,GAAG,MAAM,SAAS,MAAM,EAAE,KAAG,SAAS,MAAM,EAczE,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,YAAY,GAAI,GAAG,MAAM,SAAS,MAAM,EAAE,KAAG,MAEzD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,GAAI,GAAG,MAAM,SAAS,MAAM,EAAE,KAAG,MAaxD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,MAAM;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;CACzB,KAAG,UAGH,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,WAAW,GAAI,MAAM;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;CACzB,KAAG,KAEH,CAAC;AAEF,2FAA2F;AAC3F,eAAO,MAAM,UAAU,GAAI,UAAS,SAAS,MAAM,EAAO,KAAG,IAE5D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,KAAK,QAAO,KAExB,CAAC"}
|
package/dist/cli-usage.js
CHANGED
|
@@ -48,13 +48,13 @@ import { CLI_CONVERSION_OUTPUTS } from './conversion-outputs.js';
|
|
|
48
48
|
const CONCEPT_PLACEHOLDER = `<text>`;
|
|
49
49
|
export const CLI_USAGE = `Usage:
|
|
50
50
|
12ui workflow prepare <request.json> --workspace <directory> --key <stable-key>
|
|
51
|
-
12ui workflow execute <operation-id> --workspace <directory> [--providers session,codex,claude,openai,12ui] [--allow-paid openai,12ui] [--session-capabilities text,
|
|
51
|
+
12ui workflow execute <operation-id> --workspace <directory> [--providers session,codex,claude,openai,12ui] [--allow-paid openai,12ui] [--session-capabilities text,code] [--trust-codex-config]
|
|
52
52
|
12ui workflow register <operation-id> --workspace <directory> --attempt <number> --result <result.json>
|
|
53
53
|
12ui workflow continue <operation-id> --workspace <directory>
|
|
54
54
|
12ui workflow fail <operation-id> --workspace <directory> --attempt <number> --failure <failure.json>
|
|
55
55
|
12ui workflow status [operation-id] --workspace <directory>
|
|
56
56
|
12ui workflow import <file> --workspace <directory> [--media-type <type>] [--role <role>]
|
|
57
|
-
12ui workflow capabilities [--workspace <directory>] [--session-capabilities text,
|
|
57
|
+
12ui workflow capabilities [--workspace <directory>] [--session-capabilities text,code] [--trust-codex-config]
|
|
58
58
|
12ui workflow export <operation-id> --workspace <directory> --destination <new-or-empty-directory>
|
|
59
59
|
12ui workflow capture <url> --workspace <directory> [--width <px>] [--height <px>] [--full-page]
|
|
60
60
|
12ui workflow layerdoc <operation-id> --workspace <directory>
|
|
@@ -132,8 +132,9 @@ Add \`--polish\` explicitly to run the
|
|
|
132
132
|
retained deterministic polish rules before runtime verification; it is opt-in.
|
|
133
133
|
|
|
134
134
|
Workflow prepare and recipe commands do not dispatch models. Execute selects a
|
|
135
|
-
capable provider
|
|
136
|
-
|
|
135
|
+
capable provider. Images, image edits and conversion always run through the 12ui
|
|
136
|
+
CLI's own providers, never a host session. A host session may declare text or
|
|
137
|
+
code to receive a handoff, then register its outputs with the handoff's --attempt number. --allow-paid explicitly permits OpenAI API or 12ui credit
|
|
137
138
|
spend. Credentials alone never enable a paid workflow fallback. Local execution
|
|
138
139
|
can consume the user's model plan and hardware. Keep the same workspace and key
|
|
139
140
|
for recovery; uncertain dispatched work never silently moves to another provider.
|
|
@@ -177,15 +178,16 @@ export const SCENE_USAGE_LINES = [
|
|
|
177
178
|
'12ui scene ray <cam.json> --plane-y <y> <u,v> [<u,v>...]',
|
|
178
179
|
'12ui scene project <cam.json> <x,y,z> [<x,y,z>...]',
|
|
179
180
|
"12ui scene rect <cam.json> --corners '<TL;TR;BR;BL>' --plane-y <y>|--width <w> [--height <h>]",
|
|
180
|
-
'12ui scene serve <scene-dir> [--port <port>]',
|
|
181
|
+
'12ui scene serve <scene-dir> [--port <port>] [--detach]',
|
|
181
182
|
'12ui scene capture <url> --out-dir <directory> [--size <WxH>] [--orbit <deg,deg,...>] [--hide <name,...>]'
|
|
182
|
-
+ ' [--eval <js>] [<name=az:el:action=t,...>...]',
|
|
183
|
+
+ ' [--eval <js>] [--timeout <seconds>] [<name=az:el:action=t,...>...]',
|
|
183
184
|
'12ui scene sheet <source.png> <capture.png>... --out <sheet.png> [--cols <n>] [--note <text>]',
|
|
184
185
|
'12ui scene blend <source.png> <render.png> --out <blend.png>',
|
|
185
186
|
'12ui scene colors <source.png> --box <x0,y0,x1,y1>',
|
|
186
187
|
"12ui scene colors <source.png> <render.png> [--exclude '<box;box>'] [--exclude-dom <boxes.json>]"
|
|
187
188
|
+ " [--region '<name:box;name:box>']",
|
|
188
189
|
"12ui scene rectify <source.png> --corners '<TL;TR;BR;BL>' --size <WxH> --out <texture.png>",
|
|
190
|
+
'12ui scene merge <convert-run> <scene-dir> [--drop <image,...>]',
|
|
189
191
|
];
|
|
190
192
|
/** Every invocation the CLI states anywhere, summary and demoted alike. */
|
|
191
193
|
export const ALL_USAGE_LINES = [
|