@12ui/design 0.2.71 → 0.2.73
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 +248 -55
- package/SKILL.md +28 -33
- package/dist/cli-arguments.d.ts.map +1 -1
- package/dist/cli-arguments.js +3 -0
- package/dist/cli-arguments.js.map +1 -1
- package/dist/cli-branch-command.d.ts.map +1 -1
- package/dist/cli-branch-command.js +4 -0
- package/dist/cli-branch-command.js.map +1 -1
- package/dist/cli-capabilities.d.ts +35 -1
- package/dist/cli-capabilities.d.ts.map +1 -1
- package/dist/cli-capabilities.js +36 -1
- package/dist/cli-capabilities.js.map +1 -1
- package/dist/cli-corpus-command.d.ts +5 -4
- package/dist/cli-corpus-command.d.ts.map +1 -1
- package/dist/cli-corpus-command.js +17 -26
- package/dist/cli-corpus-command.js.map +1 -1
- package/dist/cli-corpus-run.js +1 -1
- package/dist/cli-corpus-run.js.map +1 -1
- package/dist/cli-draft-command.js +1 -1
- package/dist/cli-draft-command.js.map +1 -1
- package/dist/cli-help/design.d.ts +26 -6
- package/dist/cli-help/design.d.ts.map +1 -1
- package/dist/cli-help/design.js +39 -7
- package/dist/cli-help/design.js.map +1 -1
- package/dist/cli-help/index.d.ts +206 -7
- package/dist/cli-help/index.d.ts.map +1 -1
- package/dist/cli-help/index.js +4 -0
- package/dist/cli-help/index.js.map +1 -1
- package/dist/cli-help/meta.d.ts +1 -1
- package/dist/cli-help/meta.d.ts.map +1 -1
- package/dist/cli-help/meta.js +2 -1
- package/dist/cli-help/meta.js.map +1 -1
- package/dist/cli-help/scene.d.ts +96 -0
- package/dist/cli-help/scene.d.ts.map +1 -0
- package/dist/cli-help/scene.js +162 -0
- package/dist/cli-help/scene.js.map +1 -0
- package/dist/cli-help/workflow.d.ts +90 -0
- package/dist/cli-help/workflow.d.ts.map +1 -0
- package/dist/cli-help/workflow.js +89 -0
- package/dist/cli-help/workflow.js.map +1 -0
- package/dist/cli-open-browser.d.ts +7 -0
- package/dist/cli-open-browser.d.ts.map +1 -0
- package/dist/cli-open-browser.js +25 -0
- package/dist/cli-open-browser.js.map +1 -0
- package/dist/cli-prototype-command.d.ts +3 -1
- package/dist/cli-prototype-command.d.ts.map +1 -1
- package/dist/cli-prototype-command.js +33 -7
- package/dist/cli-prototype-command.js.map +1 -1
- package/dist/cli-review-command.d.ts.map +1 -1
- package/dist/cli-review-command.js +1 -16
- package/dist/cli-review-command.js.map +1 -1
- package/dist/cli-run.d.ts.map +1 -1
- package/dist/cli-run.js +41 -3
- package/dist/cli-run.js.map +1 -1
- package/dist/cli-scene-command.d.ts +3 -0
- package/dist/cli-scene-command.d.ts.map +1 -0
- package/dist/cli-scene-command.js +292 -0
- package/dist/cli-scene-command.js.map +1 -0
- package/dist/cli-usage.d.ts +8 -0
- package/dist/cli-usage.d.ts.map +1 -1
- package/dist/cli-usage.js +65 -6
- package/dist/cli-usage.js.map +1 -1
- package/dist/cli-workflow-command.d.ts +8 -0
- package/dist/cli-workflow-command.d.ts.map +1 -0
- package/dist/cli-workflow-command.js +97 -0
- package/dist/cli-workflow-command.js.map +1 -0
- package/dist/cli-workspace-command.d.ts +25 -0
- package/dist/cli-workspace-command.d.ts.map +1 -0
- package/dist/cli-workspace-command.js +95 -0
- package/dist/cli-workspace-command.js.map +1 -0
- package/dist/config.d.ts +6 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +12 -4
- package/dist/config.js.map +1 -1
- package/dist/corpus-access.d.ts +11 -0
- package/dist/corpus-access.d.ts.map +1 -0
- package/dist/corpus-access.js +18 -0
- package/dist/corpus-access.js.map +1 -0
- package/dist/corpus-client.d.ts +11 -11
- package/dist/corpus-client.d.ts.map +1 -1
- package/dist/corpus-client.js +17 -6
- package/dist/corpus-client.js.map +1 -1
- package/dist/corpus-inspiration-failure.d.ts +1 -1
- package/dist/corpus-inspiration-failure.js +2 -2
- package/dist/corpus-inspiration-failure.js.map +1 -1
- package/dist/corpus-reference-download-retry.d.ts.map +1 -1
- package/dist/corpus-reference-download-retry.js +11 -1
- package/dist/corpus-reference-download-retry.js.map +1 -1
- package/dist/corpus-request-error.d.ts +2 -0
- package/dist/corpus-request-error.d.ts.map +1 -1
- package/dist/corpus-request-error.js +2 -0
- package/dist/corpus-request-error.js.map +1 -1
- package/dist/corpus-retry-guidance.d.ts +5 -0
- package/dist/corpus-retry-guidance.d.ts.map +1 -0
- package/dist/corpus-retry-guidance.js +18 -0
- package/dist/corpus-retry-guidance.js.map +1 -0
- package/dist/improve-pricing-plan.d.ts.map +1 -1
- package/dist/improve-pricing-plan.js +2 -4
- package/dist/improve-pricing-plan.js.map +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/legacy-skill-catalog.d.ts.map +1 -1
- package/dist/legacy-skill-catalog.js +52 -0
- package/dist/legacy-skill-catalog.js.map +1 -1
- package/dist/mcp-slate-command.d.ts +31 -0
- package/dist/mcp-slate-command.d.ts.map +1 -0
- package/dist/mcp-slate-command.js +118 -0
- package/dist/mcp-slate-command.js.map +1 -0
- package/dist/mcp-slate-image.d.ts +22 -0
- package/dist/mcp-slate-image.d.ts.map +1 -0
- package/dist/mcp-slate-image.js +28 -0
- package/dist/mcp-slate-image.js.map +1 -0
- package/dist/mcp-slate-latest.d.ts +13 -0
- package/dist/mcp-slate-latest.d.ts.map +1 -0
- package/dist/mcp-slate-latest.js +34 -0
- package/dist/mcp-slate-latest.js.map +1 -0
- package/dist/mcp-slate-names.d.ts +25 -0
- package/dist/mcp-slate-names.d.ts.map +1 -0
- package/dist/mcp-slate-names.js +49 -0
- package/dist/mcp-slate-names.js.map +1 -0
- package/dist/mcp-slate-resource.d.ts +5 -0
- package/dist/mcp-slate-resource.d.ts.map +1 -0
- package/dist/mcp-slate-resource.js +37 -0
- package/dist/mcp-slate-resource.js.map +1 -0
- package/dist/mcp-slate-run.d.ts +41 -0
- package/dist/mcp-slate-run.d.ts.map +1 -0
- package/dist/mcp-slate-run.js +88 -0
- package/dist/mcp-slate-run.js.map +1 -0
- package/dist/mcp-slate-tool-defs.d.ts +61 -0
- package/dist/mcp-slate-tool-defs.d.ts.map +1 -0
- package/dist/mcp-slate-tool-defs.js +247 -0
- package/dist/mcp-slate-tool-defs.js.map +1 -0
- package/dist/mcp-slate-tools.d.ts +8 -0
- package/dist/mcp-slate-tools.d.ts.map +1 -0
- package/dist/mcp-slate-tools.js +45 -0
- package/dist/mcp-slate-tools.js.map +1 -0
- package/dist/mcp-slate-ui-copy.d.ts +134 -0
- package/dist/mcp-slate-ui-copy.d.ts.map +1 -0
- package/dist/mcp-slate-ui-copy.js +136 -0
- package/dist/mcp-slate-ui-copy.js.map +1 -0
- package/dist/mcp-slate-ui-script-bridge.d.ts +18 -0
- package/dist/mcp-slate-ui-script-bridge.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-bridge.js +137 -0
- package/dist/mcp-slate-ui-script-bridge.js.map +1 -0
- package/dist/mcp-slate-ui-script-browser.d.ts +12 -0
- package/dist/mcp-slate-ui-script-browser.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-browser.js +19 -0
- package/dist/mcp-slate-ui-script-browser.js.map +1 -0
- package/dist/mcp-slate-ui-script-dialog.d.ts +20 -0
- package/dist/mcp-slate-ui-script-dialog.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-dialog.js +332 -0
- package/dist/mcp-slate-ui-script-dialog.js.map +1 -0
- package/dist/mcp-slate-ui-script-inline.d.ts +10 -0
- package/dist/mcp-slate-ui-script-inline.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-inline.js +221 -0
- package/dist/mcp-slate-ui-script-inline.js.map +1 -0
- package/dist/mcp-slate-ui-script-inspiration.d.ts +12 -0
- package/dist/mcp-slate-ui-script-inspiration.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-inspiration.js +216 -0
- package/dist/mcp-slate-ui-script-inspiration.js.map +1 -0
- package/dist/mcp-slate-ui-script-more.d.ts +30 -0
- package/dist/mcp-slate-ui-script-more.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-more.js +225 -0
- package/dist/mcp-slate-ui-script-more.js.map +1 -0
- package/dist/mcp-slate-ui-script-progress.d.ts +7 -0
- package/dist/mcp-slate-ui-script-progress.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-progress.js +9 -0
- package/dist/mcp-slate-ui-script-progress.js.map +1 -0
- package/dist/mcp-slate-ui-script-remote.d.ts +28 -0
- package/dist/mcp-slate-ui-script-remote.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-remote.js +147 -0
- package/dist/mcp-slate-ui-script-remote.js.map +1 -0
- package/dist/mcp-slate-ui-script-scribble.d.ts +19 -0
- package/dist/mcp-slate-ui-script-scribble.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-scribble.js +114 -0
- package/dist/mcp-slate-ui-script-scribble.js.map +1 -0
- package/dist/mcp-slate-ui-script-select.d.ts +16 -0
- package/dist/mcp-slate-ui-script-select.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-select.js +73 -0
- package/dist/mcp-slate-ui-script-select.js.map +1 -0
- package/dist/mcp-slate-ui-script-stage.d.ts +11 -0
- package/dist/mcp-slate-ui-script-stage.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-stage.js +181 -0
- package/dist/mcp-slate-ui-script-stage.js.map +1 -0
- package/dist/mcp-slate-ui-script-state.d.ts +13 -0
- package/dist/mcp-slate-ui-script-state.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-state.js +306 -0
- package/dist/mcp-slate-ui-script-state.js.map +1 -0
- package/dist/mcp-slate-ui-script-thumbtools.d.ts +23 -0
- package/dist/mcp-slate-ui-script-thumbtools.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-thumbtools.js +103 -0
- package/dist/mcp-slate-ui-script-thumbtools.js.map +1 -0
- package/dist/mcp-slate-ui-script.d.ts +28 -0
- package/dist/mcp-slate-ui-script.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script.js +58 -0
- package/dist/mcp-slate-ui-script.js.map +1 -0
- package/dist/mcp-slate-ui-styles-dialog.d.ts +17 -0
- package/dist/mcp-slate-ui-styles-dialog.d.ts.map +1 -0
- package/dist/mcp-slate-ui-styles-dialog.js +73 -0
- package/dist/mcp-slate-ui-styles-dialog.js.map +1 -0
- package/dist/mcp-slate-ui-styles-stage.d.ts +12 -0
- package/dist/mcp-slate-ui-styles-stage.d.ts.map +1 -0
- package/dist/mcp-slate-ui-styles-stage.js +53 -0
- package/dist/mcp-slate-ui-styles-stage.js.map +1 -0
- package/dist/mcp-slate-ui-styles-thumbtools.d.ts +10 -0
- package/dist/mcp-slate-ui-styles-thumbtools.d.ts.map +1 -0
- package/dist/mcp-slate-ui-styles-thumbtools.js +25 -0
- package/dist/mcp-slate-ui-styles-thumbtools.js.map +1 -0
- package/dist/mcp-slate-ui-styles.d.ts +13 -0
- package/dist/mcp-slate-ui-styles.d.ts.map +1 -0
- package/dist/mcp-slate-ui-styles.js +117 -0
- package/dist/mcp-slate-ui-styles.js.map +1 -0
- package/dist/mcp-slate-ui.d.ts +16 -0
- package/dist/mcp-slate-ui.d.ts.map +1 -0
- package/dist/mcp-slate-ui.js +58 -0
- package/dist/mcp-slate-ui.js.map +1 -0
- package/dist/mcp-slate-workspace-tools.d.ts +15 -0
- package/dist/mcp-slate-workspace-tools.d.ts.map +1 -0
- package/dist/mcp-slate-workspace-tools.js +155 -0
- package/dist/mcp-slate-workspace-tools.js.map +1 -0
- package/dist/mcp-tool-definitions.d.ts.map +1 -1
- package/dist/mcp-tool-definitions.js +9 -7
- package/dist/mcp-tool-definitions.js.map +1 -1
- package/dist/mcp-tool-handler.d.ts +8 -2
- package/dist/mcp-tool-handler.d.ts.map +1 -1
- package/dist/mcp-tool-handler.js +34 -13
- package/dist/mcp-tool-handler.js.map +1 -1
- package/dist/mcp-workflow-tools.d.ts +6 -0
- package/dist/mcp-workflow-tools.d.ts.map +1 -0
- package/dist/mcp-workflow-tools.js +108 -0
- package/dist/mcp-workflow-tools.js.map +1 -0
- package/dist/prototype-browsers.d.ts +8 -2
- package/dist/prototype-browsers.d.ts.map +1 -1
- package/dist/prototype-browsers.js +8 -3
- package/dist/prototype-browsers.js.map +1 -1
- package/dist/prototype-label-client.d.ts +5 -0
- package/dist/prototype-label-client.d.ts.map +1 -1
- package/dist/prototype-label-client.js.map +1 -1
- package/dist/prototype-poststep.d.ts +2 -2
- package/dist/prototype-poststep.d.ts.map +1 -1
- package/dist/prototype-poststep.js +3 -0
- package/dist/prototype-poststep.js.map +1 -1
- package/dist/prototype-process.js +1 -1
- package/dist/prototype-process.js.map +1 -1
- package/dist/prototype-run-record.d.ts +6 -2
- package/dist/prototype-run-record.d.ts.map +1 -1
- package/dist/prototype-run-record.js +6 -0
- package/dist/prototype-run-record.js.map +1 -1
- package/dist/prototype-runner.d.ts +2 -2
- package/dist/prototype-runner.d.ts.map +1 -1
- package/dist/prototype-runner.js +5 -2
- package/dist/prototype-runner.js.map +1 -1
- package/dist/prototype-workflow-contract.d.ts +13 -0
- package/dist/prototype-workflow-contract.d.ts.map +1 -0
- package/dist/prototype-workflow-contract.js +82 -0
- package/dist/prototype-workflow-contract.js.map +1 -0
- package/dist/prototype-workflow-labels.d.ts +29 -0
- package/dist/prototype-workflow-labels.d.ts.map +1 -0
- package/dist/prototype-workflow-labels.js +93 -0
- package/dist/prototype-workflow-labels.js.map +1 -0
- package/dist/run-journal-commands.d.ts.map +1 -1
- package/dist/run-journal-commands.js +24 -5
- package/dist/run-journal-commands.js.map +1 -1
- package/dist/scene/camera-model.d.ts +48 -0
- package/dist/scene/camera-model.d.ts.map +1 -0
- package/dist/scene/camera-model.js +89 -0
- package/dist/scene/camera-model.js.map +1 -0
- package/dist/scene/camera-solve.d.ts +58 -0
- package/dist/scene/camera-solve.d.ts.map +1 -0
- package/dist/scene/camera-solve.js +288 -0
- package/dist/scene/camera-solve.js.map +1 -0
- package/dist/scene/capture-plan.d.ts +28 -0
- package/dist/scene/capture-plan.d.ts.map +1 -0
- package/dist/scene/capture-plan.js +79 -0
- package/dist/scene/capture-plan.js.map +1 -0
- package/dist/scene/capture.d.ts +21 -0
- package/dist/scene/capture.d.ts.map +1 -0
- package/dist/scene/capture.js +118 -0
- package/dist/scene/capture.js.map +1 -0
- package/dist/scene/image-colors.d.ts +25 -0
- package/dist/scene/image-colors.d.ts.map +1 -0
- package/dist/scene/image-colors.js +110 -0
- package/dist/scene/image-colors.js.map +1 -0
- package/dist/scene/image-rectify.d.ts +25 -0
- package/dist/scene/image-rectify.d.ts.map +1 -0
- package/dist/scene/image-rectify.js +82 -0
- package/dist/scene/image-rectify.js.map +1 -0
- package/dist/scene/image-sheet.d.ts +19 -0
- package/dist/scene/image-sheet.d.ts.map +1 -0
- package/dist/scene/image-sheet.js +118 -0
- package/dist/scene/image-sheet.js.map +1 -0
- package/dist/scene/least-squares.d.ts +31 -0
- package/dist/scene/least-squares.d.ts.map +1 -0
- package/dist/scene/least-squares.js +173 -0
- package/dist/scene/least-squares.js.map +1 -0
- package/dist/scene/numbers.d.ts +17 -0
- package/dist/scene/numbers.d.ts.map +1 -0
- package/dist/scene/numbers.js +39 -0
- package/dist/scene/numbers.js.map +1 -0
- package/dist/scene/placement.d.ts +43 -0
- package/dist/scene/placement.d.ts.map +1 -0
- package/dist/scene/placement.js +107 -0
- package/dist/scene/placement.js.map +1 -0
- package/dist/scene/raster.d.ts +18 -0
- package/dist/scene/raster.d.ts.map +1 -0
- package/dist/scene/raster.js +31 -0
- package/dist/scene/raster.js.map +1 -0
- package/dist/scene/scene-kit.d.ts +20 -0
- package/dist/scene/scene-kit.d.ts.map +1 -0
- package/dist/scene/scene-kit.js +74 -0
- package/dist/scene/scene-kit.js.map +1 -0
- package/dist/scene/scene-verbs.d.ts +4 -0
- package/dist/scene/scene-verbs.d.ts.map +1 -0
- package/dist/scene/scene-verbs.js +5 -0
- package/dist/scene/scene-verbs.js.map +1 -0
- package/dist/scene/seeded-random.d.ts +20 -0
- package/dist/scene/seeded-random.d.ts.map +1 -0
- package/dist/scene/seeded-random.js +42 -0
- package/dist/scene/seeded-random.js.map +1 -0
- package/dist/scene/spec-expression.d.ts +25 -0
- package/dist/scene/spec-expression.d.ts.map +1 -0
- package/dist/scene/spec-expression.js +234 -0
- package/dist/scene/spec-expression.js.map +1 -0
- package/dist/scene/static-server.d.ts +13 -0
- package/dist/scene/static-server.d.ts.map +1 -0
- package/dist/scene/static-server.js +99 -0
- package/dist/scene/static-server.js.map +1 -0
- package/dist/server.d.ts +22 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +44 -8
- package/dist/server.js.map +1 -1
- package/dist/slate-actions.d.ts +38 -0
- package/dist/slate-actions.d.ts.map +1 -0
- package/dist/slate-actions.js +102 -0
- package/dist/slate-actions.js.map +1 -0
- package/dist/slate-annotate.d.ts +36 -0
- package/dist/slate-annotate.d.ts.map +1 -0
- package/dist/slate-annotate.js +71 -0
- package/dist/slate-annotate.js.map +1 -0
- package/dist/slate-approvals.d.ts +61 -0
- package/dist/slate-approvals.d.ts.map +1 -0
- package/dist/slate-approvals.js +153 -0
- package/dist/slate-approvals.js.map +1 -0
- package/dist/slate-browser-decision.d.ts +30 -0
- package/dist/slate-browser-decision.d.ts.map +1 -0
- package/dist/slate-browser-decision.js +24 -0
- package/dist/slate-browser-decision.js.map +1 -0
- package/dist/slate-browser-host-script.d.ts +14 -0
- package/dist/slate-browser-host-script.d.ts.map +1 -0
- package/dist/slate-browser-host-script.js +125 -0
- package/dist/slate-browser-host-script.js.map +1 -0
- package/dist/slate-browser-host.d.ts +9 -0
- package/dist/slate-browser-host.d.ts.map +1 -0
- package/dist/slate-browser-host.js +37 -0
- package/dist/slate-browser-host.js.map +1 -0
- package/dist/slate-browser-server.d.ts +37 -0
- package/dist/slate-browser-server.d.ts.map +1 -0
- package/dist/slate-browser-server.js +186 -0
- package/dist/slate-browser-server.js.map +1 -0
- package/dist/slate-commit.d.ts +28 -0
- package/dist/slate-commit.d.ts.map +1 -0
- package/dist/slate-commit.js +218 -0
- package/dist/slate-commit.js.map +1 -0
- package/dist/slate-corpus.d.ts +14 -0
- package/dist/slate-corpus.d.ts.map +1 -0
- package/dist/slate-corpus.js +32 -0
- package/dist/slate-corpus.js.map +1 -0
- package/dist/slate-edit-prompt.d.ts +18 -0
- package/dist/slate-edit-prompt.d.ts.map +1 -0
- package/dist/slate-edit-prompt.js +41 -0
- package/dist/slate-edit-prompt.js.map +1 -0
- package/dist/slate-edit-runner.d.ts +4 -0
- package/dist/slate-edit-runner.d.ts.map +1 -0
- package/dist/slate-edit-runner.js +90 -0
- package/dist/slate-edit-runner.js.map +1 -0
- package/dist/slate-editability.d.ts +20 -0
- package/dist/slate-editability.d.ts.map +1 -0
- package/dist/slate-editability.js +19 -0
- package/dist/slate-editability.js.map +1 -0
- package/dist/slate-errors.d.ts +15 -0
- package/dist/slate-errors.d.ts.map +1 -0
- package/dist/slate-errors.js +21 -0
- package/dist/slate-errors.js.map +1 -0
- package/dist/slate-handoff-options.d.ts +40 -0
- package/dist/slate-handoff-options.d.ts.map +1 -0
- package/dist/slate-handoff-options.js +127 -0
- package/dist/slate-handoff-options.js.map +1 -0
- package/dist/slate-handoff.d.ts +11 -0
- package/dist/slate-handoff.d.ts.map +1 -0
- package/dist/slate-handoff.js +56 -0
- package/dist/slate-handoff.js.map +1 -0
- package/dist/slate-ids.d.ts +33 -0
- package/dist/slate-ids.d.ts.map +1 -0
- package/dist/slate-ids.js +47 -0
- package/dist/slate-ids.js.map +1 -0
- package/dist/slate-image-executor.d.ts +39 -0
- package/dist/slate-image-executor.d.ts.map +1 -0
- package/dist/slate-image-executor.js +52 -0
- package/dist/slate-image-executor.js.map +1 -0
- package/dist/slate-inspiration.d.ts +22 -0
- package/dist/slate-inspiration.d.ts.map +1 -0
- package/dist/slate-inspiration.js +112 -0
- package/dist/slate-inspiration.js.map +1 -0
- package/dist/slate-labels.d.ts +11 -0
- package/dist/slate-labels.d.ts.map +1 -0
- package/dist/slate-labels.js +32 -0
- package/dist/slate-labels.js.map +1 -0
- package/dist/slate-ledger.d.ts +29 -0
- package/dist/slate-ledger.d.ts.map +1 -0
- package/dist/slate-ledger.js +65 -0
- package/dist/slate-ledger.js.map +1 -0
- package/dist/slate-liveness.d.ts +26 -0
- package/dist/slate-liveness.d.ts.map +1 -0
- package/dist/slate-liveness.js +49 -0
- package/dist/slate-liveness.js.map +1 -0
- package/dist/slate-local-image.d.ts +19 -0
- package/dist/slate-local-image.d.ts.map +1 -0
- package/dist/slate-local-image.js +36 -0
- package/dist/slate-local-image.js.map +1 -0
- package/dist/slate-lock.d.ts +64 -0
- package/dist/slate-lock.d.ts.map +1 -0
- package/dist/slate-lock.js +178 -0
- package/dist/slate-lock.js.map +1 -0
- package/dist/slate-paths.d.ts +45 -0
- package/dist/slate-paths.d.ts.map +1 -0
- package/dist/slate-paths.js +132 -0
- package/dist/slate-paths.js.map +1 -0
- package/dist/slate-pick.d.ts +29 -0
- package/dist/slate-pick.d.ts.map +1 -0
- package/dist/slate-pick.js +55 -0
- package/dist/slate-pick.js.map +1 -0
- package/dist/slate-reference-ids.d.ts +6 -0
- package/dist/slate-reference-ids.d.ts.map +1 -0
- package/dist/slate-reference-ids.js +17 -0
- package/dist/slate-reference-ids.js.map +1 -0
- package/dist/slate-reference-store.d.ts +23 -0
- package/dist/slate-reference-store.d.ts.map +1 -0
- package/dist/slate-reference-store.js +46 -0
- package/dist/slate-reference-store.js.map +1 -0
- package/dist/slate-resume.d.ts +19 -0
- package/dist/slate-resume.d.ts.map +1 -0
- package/dist/slate-resume.js +94 -0
- package/dist/slate-resume.js.map +1 -0
- package/dist/slate-round-params.d.ts +20 -0
- package/dist/slate-round-params.d.ts.map +1 -0
- package/dist/slate-round-params.js +32 -0
- package/dist/slate-round-params.js.map +1 -0
- package/dist/slate-round-prompt.d.ts +18 -0
- package/dist/slate-round-prompt.d.ts.map +1 -0
- package/dist/slate-round-prompt.js +20 -0
- package/dist/slate-round-prompt.js.map +1 -0
- package/dist/slate-round-runner.d.ts +4 -0
- package/dist/slate-round-runner.d.ts.map +1 -0
- package/dist/slate-round-runner.js +125 -0
- package/dist/slate-round-runner.js.map +1 -0
- package/dist/slate-round-search.d.ts +7 -0
- package/dist/slate-round-search.d.ts.map +1 -0
- package/dist/slate-round-search.js +77 -0
- package/dist/slate-round-search.js.map +1 -0
- package/dist/slate-run-action.d.ts +14 -0
- package/dist/slate-run-action.d.ts.map +1 -0
- package/dist/slate-run-action.js +81 -0
- package/dist/slate-run-action.js.map +1 -0
- package/dist/slate-runner-context.d.ts +57 -0
- package/dist/slate-runner-context.d.ts.map +1 -0
- package/dist/slate-runner-context.js +79 -0
- package/dist/slate-runner-context.js.map +1 -0
- package/dist/slate-runner-failure.d.ts +8 -0
- package/dist/slate-runner-failure.d.ts.map +1 -0
- package/dist/slate-runner-failure.js +17 -0
- package/dist/slate-runner-failure.js.map +1 -0
- package/dist/slate-runner-flag.d.ts +3 -0
- package/dist/slate-runner-flag.d.ts.map +1 -0
- package/dist/slate-runner-flag.js +3 -0
- package/dist/slate-runner-flag.js.map +1 -0
- package/dist/slate-runner-main.d.ts +31 -0
- package/dist/slate-runner-main.d.ts.map +1 -0
- package/dist/slate-runner-main.js +132 -0
- package/dist/slate-runner-main.js.map +1 -0
- package/dist/slate-runner-spawn.d.ts +23 -0
- package/dist/slate-runner-spawn.d.ts.map +1 -0
- package/dist/slate-runner-spawn.js +27 -0
- package/dist/slate-runner-spawn.js.map +1 -0
- package/dist/slate-runtime.d.ts +38 -0
- package/dist/slate-runtime.d.ts.map +1 -0
- package/dist/slate-runtime.js +48 -0
- package/dist/slate-runtime.js.map +1 -0
- package/dist/slate-versions.d.ts +26 -0
- package/dist/slate-versions.d.ts.map +1 -0
- package/dist/slate-versions.js +110 -0
- package/dist/slate-versions.js.map +1 -0
- package/dist/slate-view-contract.d.ts +233 -0
- package/dist/slate-view-contract.d.ts.map +1 -0
- package/dist/slate-view-contract.js +17 -0
- package/dist/slate-view-contract.js.map +1 -0
- package/dist/slate-view-types.d.ts +2 -0
- package/dist/slate-view-types.d.ts.map +1 -0
- package/dist/slate-view-types.js +2 -0
- package/dist/slate-view-types.js.map +1 -0
- package/dist/slate-view.d.ts +19 -0
- package/dist/slate-view.d.ts.map +1 -0
- package/dist/slate-view.js +184 -0
- package/dist/slate-view.js.map +1 -0
- package/dist/slate-workspace-parse.d.ts +20 -0
- package/dist/slate-workspace-parse.d.ts.map +1 -0
- package/dist/slate-workspace-parse.js +437 -0
- package/dist/slate-workspace-parse.js.map +1 -0
- package/dist/slate-workspace-store.d.ts +44 -0
- package/dist/slate-workspace-store.d.ts.map +1 -0
- package/dist/slate-workspace-store.js +270 -0
- package/dist/slate-workspace-store.js.map +1 -0
- package/dist/slate-workspace-types.d.ts +176 -0
- package/dist/slate-workspace-types.d.ts.map +1 -0
- package/dist/slate-workspace-types.js +13 -0
- package/dist/slate-workspace-types.js.map +1 -0
- package/dist/workflow/adapter-12ui.d.ts +4 -0
- package/dist/workflow/adapter-12ui.d.ts.map +1 -0
- package/dist/workflow/adapter-12ui.js +147 -0
- package/dist/workflow/adapter-12ui.js.map +1 -0
- package/dist/workflow/adapter-layerdoc.d.ts +16 -0
- package/dist/workflow/adapter-layerdoc.d.ts.map +1 -0
- package/dist/workflow/adapter-layerdoc.js +116 -0
- package/dist/workflow/adapter-layerdoc.js.map +1 -0
- package/dist/workflow/adapter-openai.d.ts +4 -0
- package/dist/workflow/adapter-openai.d.ts.map +1 -0
- package/dist/workflow/adapter-openai.js +166 -0
- package/dist/workflow/adapter-openai.js.map +1 -0
- package/dist/workflow/adapter-process.d.ts +7 -0
- package/dist/workflow/adapter-process.d.ts.map +1 -0
- package/dist/workflow/adapter-process.js +174 -0
- package/dist/workflow/adapter-process.js.map +1 -0
- package/dist/workflow/adapter-prototype-labels.d.ts +15 -0
- package/dist/workflow/adapter-prototype-labels.d.ts.map +1 -0
- package/dist/workflow/adapter-prototype-labels.js +71 -0
- package/dist/workflow/adapter-prototype-labels.js.map +1 -0
- package/dist/workflow/adapter-types.d.ts +40 -0
- package/dist/workflow/adapter-types.d.ts.map +1 -0
- package/dist/workflow/adapter-types.js +2 -0
- package/dist/workflow/adapter-types.js.map +1 -0
- package/dist/workflow/adapter-utils.d.ts +11 -0
- package/dist/workflow/adapter-utils.d.ts.map +1 -0
- package/dist/workflow/adapter-utils.js +72 -0
- package/dist/workflow/adapter-utils.js.map +1 -0
- package/dist/workflow/adapters.d.ts +6 -0
- package/dist/workflow/adapters.d.ts.map +1 -0
- package/dist/workflow/adapters.js +25 -0
- package/dist/workflow/adapters.js.map +1 -0
- package/dist/workflow/artifact.d.ts +11 -0
- package/dist/workflow/artifact.d.ts.map +1 -0
- package/dist/workflow/artifact.js +94 -0
- package/dist/workflow/artifact.js.map +1 -0
- package/dist/workflow/bundle-collect.d.ts +8 -0
- package/dist/workflow/bundle-collect.d.ts.map +1 -0
- package/dist/workflow/bundle-collect.js +56 -0
- package/dist/workflow/bundle-collect.js.map +1 -0
- package/dist/workflow/bundle-export.d.ts +16 -0
- package/dist/workflow/bundle-export.d.ts.map +1 -0
- package/dist/workflow/bundle-export.js +174 -0
- package/dist/workflow/bundle-export.js.map +1 -0
- package/dist/workflow/bundle-paths.d.ts +7 -0
- package/dist/workflow/bundle-paths.d.ts.map +1 -0
- package/dist/workflow/bundle-paths.js +35 -0
- package/dist/workflow/bundle-paths.js.map +1 -0
- package/dist/workflow/bundle.d.ts +4 -0
- package/dist/workflow/bundle.d.ts.map +1 -0
- package/dist/workflow/bundle.js +4 -0
- package/dist/workflow/bundle.js.map +1 -0
- package/dist/workflow/capture.d.ts +36 -0
- package/dist/workflow/capture.d.ts.map +1 -0
- package/dist/workflow/capture.js +81 -0
- package/dist/workflow/capture.js.map +1 -0
- package/dist/workflow/continuation-branch.d.ts +15 -0
- package/dist/workflow/continuation-branch.d.ts.map +1 -0
- package/dist/workflow/continuation-branch.js +103 -0
- package/dist/workflow/continuation-branch.js.map +1 -0
- package/dist/workflow/continuation-plans.d.ts +38 -0
- package/dist/workflow/continuation-plans.d.ts.map +1 -0
- package/dist/workflow/continuation-plans.js +78 -0
- package/dist/workflow/continuation-plans.js.map +1 -0
- package/dist/workflow/continuation.d.ts +25 -0
- package/dist/workflow/continuation.d.ts.map +1 -0
- package/dist/workflow/continuation.js +89 -0
- package/dist/workflow/continuation.js.map +1 -0
- package/dist/workflow/layerdoc-reader.d.ts +27 -0
- package/dist/workflow/layerdoc-reader.d.ts.map +1 -0
- package/dist/workflow/layerdoc-reader.js +81 -0
- package/dist/workflow/layerdoc-reader.js.map +1 -0
- package/dist/workflow/project-evidence.d.ts +48 -0
- package/dist/workflow/project-evidence.d.ts.map +1 -0
- package/dist/workflow/project-evidence.js +200 -0
- package/dist/workflow/project-evidence.js.map +1 -0
- package/dist/workflow/providers.d.ts +35 -0
- package/dist/workflow/providers.d.ts.map +1 -0
- package/dist/workflow/providers.js +110 -0
- package/dist/workflow/providers.js.map +1 -0
- package/dist/workflow/recipes-layerdoc-validation.d.ts +4 -0
- package/dist/workflow/recipes-layerdoc-validation.d.ts.map +1 -0
- package/dist/workflow/recipes-layerdoc-validation.js +98 -0
- package/dist/workflow/recipes-layerdoc-validation.js.map +1 -0
- package/dist/workflow/recipes-result-validation.d.ts +6 -0
- package/dist/workflow/recipes-result-validation.d.ts.map +1 -0
- package/dist/workflow/recipes-result-validation.js +38 -0
- package/dist/workflow/recipes-result-validation.js.map +1 -0
- package/dist/workflow/recipes-schemas.d.ts +7 -0
- package/dist/workflow/recipes-schemas.d.ts.map +1 -0
- package/dist/workflow/recipes-schemas.js +67 -0
- package/dist/workflow/recipes-schemas.js.map +1 -0
- package/dist/workflow/recipes-validation.d.ts +14 -0
- package/dist/workflow/recipes-validation.d.ts.map +1 -0
- package/dist/workflow/recipes-validation.js +68 -0
- package/dist/workflow/recipes-validation.js.map +1 -0
- package/dist/workflow/recipes.d.ts +20 -0
- package/dist/workflow/recipes.d.ts.map +1 -0
- package/dist/workflow/recipes.js +167 -0
- package/dist/workflow/recipes.js.map +1 -0
- package/dist/workflow/routing.d.ts +4 -0
- package/dist/workflow/routing.d.ts.map +1 -0
- package/dist/workflow/routing.js +28 -0
- package/dist/workflow/routing.js.map +1 -0
- package/dist/workflow/schema.d.ts +5 -0
- package/dist/workflow/schema.d.ts.map +1 -0
- package/dist/workflow/schema.js +29 -0
- package/dist/workflow/schema.js.map +1 -0
- package/dist/workflow/service.d.ts +59 -0
- package/dist/workflow/service.d.ts.map +1 -0
- package/dist/workflow/service.js +170 -0
- package/dist/workflow/service.js.map +1 -0
- package/dist/workflow/store-json.d.ts +5 -0
- package/dist/workflow/store-json.d.ts.map +1 -0
- package/dist/workflow/store-json.js +35 -0
- package/dist/workflow/store-json.js.map +1 -0
- package/dist/workflow/store-lock.d.ts +3 -0
- package/dist/workflow/store-lock.d.ts.map +1 -0
- package/dist/workflow/store-lock.js +85 -0
- package/dist/workflow/store-lock.js.map +1 -0
- package/dist/workflow/store-paths.d.ts +17 -0
- package/dist/workflow/store-paths.d.ts.map +1 -0
- package/dist/workflow/store-paths.js +67 -0
- package/dist/workflow/store-paths.js.map +1 -0
- package/dist/workflow/store-validation.d.ts +7 -0
- package/dist/workflow/store-validation.d.ts.map +1 -0
- package/dist/workflow/store-validation.js +119 -0
- package/dist/workflow/store-validation.js.map +1 -0
- package/dist/workflow/store.d.ts +10 -0
- package/dist/workflow/store.d.ts.map +1 -0
- package/dist/workflow/store.js +193 -0
- package/dist/workflow/store.js.map +1 -0
- package/dist/workflow/types.d.ts +120 -0
- package/dist/workflow/types.d.ts.map +1 -0
- package/dist/workflow/types.js +15 -0
- package/dist/workflow/types.js.map +1 -0
- package/dist/workflow-transport.d.ts +28 -0
- package/dist/workflow-transport.d.ts.map +1 -0
- package/dist/workflow-transport.js +184 -0
- package/dist/workflow-transport.js.map +1 -0
- package/open-design.json +2 -2
- package/package.json +4 -1
- package/prototype-kit/tests/rules-check.mjs +9 -0
- package/runtime/codex-conversion/src/images/native-invoke.mjs +1 -1
- package/runtime/codex-conversion/src/images/native.mjs +8 -4
- package/runtime/layerdoc-validator.mjs +1860 -0
- package/scene-kit/starter/camera.js +10 -0
- package/scene-kit/starter/gobo.js +60 -0
- package/scene-kit/starter/index.html +23 -0
- package/scene-kit/starter/lib.js +84 -0
- package/scene-kit/starter/main.js +78 -0
- package/scene-kit/starter/scene.js +33 -0
- package/scene-kit/vendor/LICENSE +21 -0
- package/scene-kit/vendor/addons/geometries/RoundedBoxGeometry.js +216 -0
- package/scene-kit/vendor/addons/renderers/CSS3DRenderer.js +454 -0
- package/scene-kit/vendor/three.core.js +60586 -0
- package/scene-kit/vendor/three.module.js +19719 -0
- package/skills/12ui-design/SKILL.md +21 -61
- package/skills/12ui-design/improve.md +5 -1
- package/skills/12ui-design/inspire.md +8 -5
- package/skills/12ui-design/outputs.md +23 -2
- package/skills/12ui-design/scene.md +172 -0
- package/skills/12ui-design/session.md +161 -0
package/dist/cli-help/index.d.ts
CHANGED
|
@@ -1,6 +1,185 @@
|
|
|
1
1
|
import type { CliHelpContext } from './types.js';
|
|
2
2
|
export { renderHelpContext } from './render.js';
|
|
3
3
|
export declare const CLI_HELP_CONTEXTS: {
|
|
4
|
+
readonly scene: {
|
|
5
|
+
readonly summary: "Local tools for rebuilding a design image as a live Three.js scene (scene.md in the 12ui-design skill).";
|
|
6
|
+
readonly sections: readonly [{
|
|
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."];
|
|
9
|
+
}, {
|
|
10
|
+
readonly heading: "Local only";
|
|
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."];
|
|
12
|
+
}];
|
|
13
|
+
};
|
|
14
|
+
readonly 'scene init': {
|
|
15
|
+
readonly summary: "Copy the starter harness and the pinned three.js into a scene folder.";
|
|
16
|
+
readonly sections: readonly [{
|
|
17
|
+
readonly heading: "Behavior";
|
|
18
|
+
readonly items: readonly [string, "Refuses, writing nothing, when any of those files already exists. The folder itself may exist."];
|
|
19
|
+
}];
|
|
20
|
+
};
|
|
21
|
+
readonly 'scene solve': {
|
|
22
|
+
readonly summary: "Least-squares camera (position, yaw, pitch, roll, vertical fov) from landmarks read off the source.";
|
|
23
|
+
readonly sections: readonly [{
|
|
24
|
+
readonly heading: "Spec";
|
|
25
|
+
readonly items: readonly [string, string, string];
|
|
26
|
+
}, {
|
|
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."];
|
|
29
|
+
}];
|
|
30
|
+
};
|
|
31
|
+
readonly 'scene ray': {
|
|
32
|
+
readonly summary: "Cast source pixels through the solved camera onto the plane y = --plane-y.";
|
|
33
|
+
readonly sections: readonly [{
|
|
34
|
+
readonly heading: "Notes";
|
|
35
|
+
readonly items: readonly ["Prints one \"u,v -> x= y= z=\" line per pixel; place an object's base where its ray lands."];
|
|
36
|
+
}];
|
|
37
|
+
};
|
|
38
|
+
readonly 'scene project': {
|
|
39
|
+
readonly summary: "World points to source pixels through the solved camera.";
|
|
40
|
+
readonly sections: readonly [{
|
|
41
|
+
readonly heading: "Notes";
|
|
42
|
+
readonly items: readonly ["Check every placement against the source with this before modelling further."];
|
|
43
|
+
}];
|
|
44
|
+
};
|
|
45
|
+
readonly 'scene rect': {
|
|
46
|
+
readonly summary: "Pose of a rectangle from its four source corners, in the order TL;TR;BR;BL.";
|
|
47
|
+
readonly sections: readonly [{
|
|
48
|
+
readonly heading: "Forms";
|
|
49
|
+
readonly items: readonly ["--plane-y: it lies flat on that plane, any size.", string, "Prints position, size and a three.js rotation (order YXZ) for a mesh whose face is local xy facing +z."];
|
|
50
|
+
}];
|
|
51
|
+
};
|
|
52
|
+
readonly 'scene serve': {
|
|
53
|
+
readonly summary: "Serve a scene folder on 127.0.0.1 for capture and for a browser.";
|
|
54
|
+
readonly sections: readonly [{
|
|
55
|
+
readonly heading: "Behavior";
|
|
56
|
+
readonly items: readonly [string, "Serves nothing outside the folder and never caches."];
|
|
57
|
+
}];
|
|
58
|
+
};
|
|
59
|
+
readonly 'scene capture': {
|
|
60
|
+
readonly summary: "Headless captures of a served scene: the landing view, orbit angles and every action.";
|
|
61
|
+
readonly sections: readonly [{
|
|
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];
|
|
64
|
+
}, {
|
|
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."];
|
|
67
|
+
}];
|
|
68
|
+
};
|
|
69
|
+
readonly 'scene sheet': {
|
|
70
|
+
readonly summary: "Contact sheet: the source first, then each capture, in labelled 640 px tiles.";
|
|
71
|
+
readonly sections: readonly [{
|
|
72
|
+
readonly heading: "Notes";
|
|
73
|
+
readonly items: readonly ["--cols sets the columns (default 3); --note adds text to the source tile label."];
|
|
74
|
+
}];
|
|
75
|
+
};
|
|
76
|
+
readonly 'scene blend': {
|
|
77
|
+
readonly summary: "Overlay: source and render above, a 50% blend and the difference (x3) below.";
|
|
78
|
+
readonly sections: readonly [{
|
|
79
|
+
readonly heading: "Notes";
|
|
80
|
+
readonly items: readonly ["Look at the blend for silhouette and placement, and at the difference for value and colour."];
|
|
81
|
+
}];
|
|
82
|
+
};
|
|
83
|
+
readonly 'scene colors': {
|
|
84
|
+
readonly summary: "Sample source colours, or find where a render differs most from its source.";
|
|
85
|
+
readonly sections: readonly [{
|
|
86
|
+
readonly heading: "Forms";
|
|
87
|
+
readonly items: readonly ["--box: the mean source colour of one box, the hex to put in a material.", string, string];
|
|
88
|
+
}];
|
|
89
|
+
};
|
|
90
|
+
readonly 'scene rectify': {
|
|
91
|
+
readonly summary: "Flatten a perspective quad of the source (a screen, poster or label) into a flat texture.";
|
|
92
|
+
readonly sections: readonly [{
|
|
93
|
+
readonly heading: "Notes";
|
|
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
|
+
}];
|
|
96
|
+
};
|
|
97
|
+
readonly workflow: {
|
|
98
|
+
readonly summary: "Run design work through one persistent local workflow shared by the CLI, SDK, and MCP.";
|
|
99
|
+
readonly sections: readonly [{
|
|
100
|
+
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."];
|
|
102
|
+
}];
|
|
103
|
+
};
|
|
104
|
+
readonly 'workflow prepare': {
|
|
105
|
+
readonly summary: "Read a WorkflowRequest JSON file and save an idempotent operation without executing it.";
|
|
106
|
+
readonly sections: readonly [{
|
|
107
|
+
readonly heading: "Request";
|
|
108
|
+
readonly items: readonly ["Required fields: capability (text, image, image-edit, code, or convert), prompt, inputs (imported Artifact array), and output with kind json, image, html, or project. Optional output.schema constrains JSON results; parameters carry public workflow settings.", "Use workflow import to create artifact identities. The same key and request replay the saved operation; changing inputs requires a new key."];
|
|
109
|
+
}];
|
|
110
|
+
};
|
|
111
|
+
readonly 'workflow execute': {
|
|
112
|
+
readonly summary: "Execute an existing operation through eligible providers in the requested preference order.";
|
|
113
|
+
readonly sections: readonly [{
|
|
114
|
+
readonly heading: "Routing";
|
|
115
|
+
readonly items: readonly ["--providers is an ordered comma-separated subset of session,codex,claude,openai,12ui. Declare only capabilities actually available in the calling session with --session-capabilities.", "--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 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
|
+
}];
|
|
117
|
+
};
|
|
118
|
+
readonly 'workflow register': {
|
|
119
|
+
readonly summary: "Register outputs for a dispatched host-session operation.";
|
|
120
|
+
readonly sections: readonly [{
|
|
121
|
+
readonly heading: "Result JSON";
|
|
122
|
+
readonly items: readonly ["Provide value for a JSON result and/or files as objects with path, mediaType, and optional role and relativePath. Preserve bundle paths with relativePath so HTML can resolve CSS and images after export. Optional providerRequestId and usage preserve provenance.", "The service validates the saved contract and copies verified files into the workspace. Supply --attempt with the original handoff attemptNumber (at least 1); stale results cannot complete a newer attempt."];
|
|
123
|
+
}];
|
|
124
|
+
};
|
|
125
|
+
readonly 'workflow status': {
|
|
126
|
+
readonly summary: "Read saved operations without provider dispatch or authentication.";
|
|
127
|
+
};
|
|
128
|
+
readonly 'workflow continue': {
|
|
129
|
+
readonly summary: "Prepare the next dependent operations from a saved recipe without executing models.";
|
|
130
|
+
readonly sections: readonly [{
|
|
131
|
+
readonly heading: "Next steps";
|
|
132
|
+
readonly items: readonly ["Reads registered results and returns ready operation ids. Execute each ready operation explicitly."];
|
|
133
|
+
}];
|
|
134
|
+
};
|
|
135
|
+
readonly 'workflow fail': {
|
|
136
|
+
readonly summary: "Record explicit failure evidence for a dispatched session operation.";
|
|
137
|
+
readonly sections: readonly [{
|
|
138
|
+
readonly heading: "Failure JSON";
|
|
139
|
+
readonly items: readonly ["Requires code, message, and disposition: not-dispatched, terminal-no-output, terminal-stop, or ambiguous.", "Supply --attempt with the exact attempt number being reconciled. Use 0 only before any dispatch; a delayed failure cannot release a newer attempt.", "Refusals and permission denials are terminal-stop; uncertain outcomes are ambiguous. Neither allows automatic fallback."];
|
|
140
|
+
}];
|
|
141
|
+
};
|
|
142
|
+
readonly 'workflow import': {
|
|
143
|
+
readonly summary: "Copy a local file into the workspace and return its verified artifact identity.";
|
|
144
|
+
};
|
|
145
|
+
readonly 'workflow export': {
|
|
146
|
+
readonly summary: "Export a completed operation and its assets into a new or empty local directory.";
|
|
147
|
+
};
|
|
148
|
+
readonly 'workflow layerdoc': {
|
|
149
|
+
readonly summary: "Read a completed native LayerDoc and its verified local raster assets.";
|
|
150
|
+
readonly sections: readonly [{
|
|
151
|
+
readonly heading: "Local document";
|
|
152
|
+
readonly items: readonly ["Returns the canonical document, document and manifest paths, and an artifactId-to-local-file map with media types and hashes. Raster dimensions are verified against the document references.", "Requires a succeeded native LayerDoc operation. Verifies local assets without HTTP, account authentication or model inference.", "The portable sidecar resolves raster references for local consumers; it is not an upload contract for the existing hosted convert command."];
|
|
153
|
+
}];
|
|
154
|
+
};
|
|
155
|
+
readonly 'workflow capture': {
|
|
156
|
+
readonly summary: "Capture an HTTP(S) URL with local Chromium into screenshot and DOM artifacts.";
|
|
157
|
+
readonly sections: readonly [{
|
|
158
|
+
readonly heading: "Browser";
|
|
159
|
+
readonly items: readonly ["Uses a fresh unauthenticated browser. Defaults to a 1440×900 viewport; pass --full-page to capture the entire document.", "No model or hosted account is used. Chromium must be available in the local runtime."];
|
|
160
|
+
}];
|
|
161
|
+
};
|
|
162
|
+
readonly 'workflow capabilities': {
|
|
163
|
+
readonly summary: "Discover eligible providers without inference or authorizing paid calls.";
|
|
164
|
+
readonly sections: readonly [{
|
|
165
|
+
readonly heading: "Host session";
|
|
166
|
+
readonly items: readonly ["Host-session capabilities must be explicitly declared; discovery does not authorize paid calls.", "Pass --trust-codex-config only when the existing Codex CLI configuration, including tools and hooks, is trusted. This enables discovering Codex child execution; host-session tools do not require it."];
|
|
167
|
+
}];
|
|
168
|
+
};
|
|
169
|
+
readonly 'workflow draft': CliHelpContext;
|
|
170
|
+
readonly 'workflow branch': CliHelpContext;
|
|
171
|
+
readonly 'workflow edit': CliHelpContext;
|
|
172
|
+
readonly 'workflow redesign': CliHelpContext;
|
|
173
|
+
readonly 'workflow labels': CliHelpContext;
|
|
174
|
+
readonly 'workflow convert': CliHelpContext;
|
|
175
|
+
readonly 'workflow implement': CliHelpContext;
|
|
176
|
+
readonly 'workflow review': {
|
|
177
|
+
readonly summary: "Prepare an evidence-based visual review of an interface screenshot.";
|
|
178
|
+
readonly sections: readonly [{
|
|
179
|
+
readonly heading: "Input";
|
|
180
|
+
readonly items: readonly ["Supply source for the current screenshot, optional target for the approved screenshot, optional context, and optional criteria as an array of strings.", "Review findings describe only visible evidence. They do not establish runtime behavior or trigger automatic repair loops."];
|
|
181
|
+
}];
|
|
182
|
+
};
|
|
4
183
|
readonly capabilities: {
|
|
5
184
|
readonly summary: "Print the machine-readable 12ui capability contract as JSON.";
|
|
6
185
|
readonly sections: readonly [{
|
|
@@ -22,7 +201,7 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
22
201
|
readonly summary: "Start the 12ui Model Context Protocol server over stdin and stdout.";
|
|
23
202
|
readonly sections: readonly [{
|
|
24
203
|
readonly heading: "Behavior";
|
|
25
|
-
readonly items: readonly ["Exposes conversion, corpus, draft-status, and branch-status tools to an MCP client.", "Runs until the client disconnects. This is a JSON-RPC transport command, not an interactive terminal interface."];
|
|
204
|
+
readonly items: readonly ["Exposes shared local workflows plus conversion, corpus, draft-status, and branch-status tools to an MCP client.", "Starts without 12ui credentials. Corpus search, status and downloads also work without authentication. Funded hosted tools resolve credentials only when called; workflow execution follows its explicit provider and spending policy.", "Runs until the client disconnects. This is a JSON-RPC transport command, not an interactive terminal interface."];
|
|
26
205
|
}];
|
|
27
206
|
};
|
|
28
207
|
readonly version: {
|
|
@@ -70,24 +249,27 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
70
249
|
readonly summary: "Search the Design Corpus or resume a durable reference-retrieval attempt.";
|
|
71
250
|
readonly sections: readonly [{
|
|
72
251
|
readonly heading: "Actions";
|
|
73
|
-
readonly items: readonly ["inspire — retrieve and download visual references for a design problem.", "resume — finish an interrupted retrieval from its saved attempt state."];
|
|
252
|
+
readonly items: readonly ["status — read the corpus release without authentication or a query.", "inspire — retrieve and download visual references for a design problem.", "resume — finish an interrupted retrieval from its saved attempt state."];
|
|
74
253
|
}];
|
|
75
254
|
};
|
|
255
|
+
readonly 'corpus status': {
|
|
256
|
+
readonly summary: "Read the public Design Corpus release and retrieval contract without authentication.";
|
|
257
|
+
};
|
|
76
258
|
readonly 'corpus inspire': {
|
|
77
259
|
readonly summary: "Search the Design Corpus and download validated visual references.";
|
|
78
260
|
readonly sections: readonly [{
|
|
79
261
|
readonly heading: "Behavior";
|
|
80
|
-
readonly items: readonly ["Runs in the foreground and writes an attempt record before the
|
|
262
|
+
readonly items: readonly ["Runs in the foreground and writes an attempt record before the free search, then a manifest, evidence, receipts, and downloaded references.", "Free without an account or credits, subject to abuse limits. Defaults to four references; --count accepts 1–24 without credentials and 1–48 with credentials.", "--reference-image conditions retrieval on an existing PNG, JPEG, or WebP, using the same balanced default: the corpus refuses a hedge query that carries an image, so --mode hedge with --reference-image is refused before the search."];
|
|
81
263
|
}, {
|
|
82
264
|
readonly heading: "Modes";
|
|
83
|
-
readonly items: readonly ["
|
|
265
|
+
readonly items: readonly ["balanced is the standalone default, with or without credentials. Explicit hedge requires an account for hosted planning; it spreads references across distinct directions and cannot carry --reference-image. For account-free planning, plan locally and retrieve with balanced, direct, or adventurer.", "direct stays closest to the literal query.", "balanced weighs relevance, quality, and variety evenly.", "adventurer keeps a relevant head while exploring less expected directions."];
|
|
84
266
|
}];
|
|
85
267
|
};
|
|
86
268
|
readonly 'corpus resume': {
|
|
87
269
|
readonly summary: "Continue an incomplete corpus retrieval from its durable output directory.";
|
|
88
270
|
readonly sections: readonly [{
|
|
89
271
|
readonly heading: "Safety";
|
|
90
|
-
readonly items: readonly ["Reuses the saved request and idempotency key, preserves verified downloads, and fetches only what remains.", "Completed attempts verify the saved files; missing files resume under the original
|
|
272
|
+
readonly items: readonly ["Reuses the saved request and idempotency key, preserves verified downloads, and fetches only what remains.", "Completed attempts verify the saved files; missing files resume under the original retrieval identity. Changed reference inputs and incompatible evidence are refused."];
|
|
91
273
|
}];
|
|
92
274
|
};
|
|
93
275
|
readonly draft: {
|
|
@@ -134,7 +316,7 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
134
316
|
readonly summary: "Turn an existing converted branch run into a clickable prototype.";
|
|
135
317
|
readonly sections: readonly [{
|
|
136
318
|
readonly heading: "Behavior";
|
|
137
|
-
readonly items: readonly ["Splits exported states, canonicalizes shared chrome, binds navigation from branch.plan.json, and creates holding pages for planned gaps.", "
|
|
319
|
+
readonly items: readonly ["Splits exported states, canonicalizes shared chrome, binds navigation from branch.plan.json, and creates holding pages for planned gaps.", "Defaults to --labels none: deterministic local navigation and interactions without a hosted account. --labels 12ui explicitly buys one hosted label call per screen; deterministic navigation and dropdown rules take precedence.", "--labels workflow --workspace <directory> prepares exact DOM-candidate label operations without inference. While awaiting_labels, execute/register the returned operation IDs with workflow commands, then repeat the same prototype command. Only matching completed operations are consumed; generic image labels cannot be substituted.", "--polish is opt-in; it applies the retained deterministic, harm-guarded rules after build and verifies the polished output at runtime.", "Publishes <branch-dir>/prototype/proto-manifest.json only after input, runtime, action, dropdown, and majority-holding gates pass; holdings, shell skips/residuals, and untested script directions remain measured warnings."];
|
|
138
320
|
}];
|
|
139
321
|
};
|
|
140
322
|
readonly redesign: {
|
|
@@ -151,7 +333,7 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
151
333
|
readonly summary: "Improve an interface with local source edits or a hosted implementation kit.";
|
|
152
334
|
readonly sections: readonly [{
|
|
153
335
|
readonly heading: "Behavior";
|
|
154
|
-
readonly items: readonly ["--apply supports page scope only and capture/draft/pick source stages; branch/site/convert/plan options belong to hosted kits. --apply with a URL and --repo captures the current interface and edits the actual project locally. --target supplies an approved image; without a target, draft candidates and an explicit pick precede application. Omit --apply for the existing hosted kit workflow.", "Hosted page scope runs five stages in order: local capture, hosted draft candidates, explicit pick, fused LayerDoc and responsive HTML conversion, then a local implementation plan.", "The pick is explicit and has no default. With no --pick and no pick already recorded, the run stops after the draw, prints where the candidates are and the exact command that continues (--from pick --pick <slot>), and buys no conversion: converting a candidate nobody chose spends money on a guess that cannot be cancelled. --target supplies the design instead and skips draft and pick.", "--retain says what to hold from the live page, in the four-facet vocabulary: layout, content, assets, style. It defaults to assets,content — keep the product's brand and words, rework its layout and visual system. Add layout to hold the geometry, add style to work inside the existing visual language, drop assets to let the brand be replaced. The /improve page exposes the same four as Keep layout, Keep copy, Keep brand, and Keep style. At least one of the four must be left free to change: keeping all four asks for the page back unchanged and is refused before anything is bought.", "Whatever is retained, no setting licenses inventing a product fact: with content held the page says the same things; with content freed the words may be rewritten but every claim, number, offer, and control must still be present and true.", "The draft stage searches references under the same policy as `12ui draft`. Improve always conditions that search on its own capture of the page, and the corpus refuses a hedge query carrying an image, so it searches balanced; --corpus-mode direct|adventurer chooses another. The mode is recorded in improve.json when you name it, so a resume searches what the run searched. A resume must repeat the recorded mode or drop the flag: naming a different one is refused before anything is bought, because the references were
|
|
336
|
+
readonly items: readonly ["--apply supports page scope only and capture/draft/pick source stages; branch/site/convert/plan options belong to hosted kits. --apply with a URL and --repo captures the current interface and edits the actual project locally. --target supplies an approved image; without a target, draft candidates and an explicit pick precede application. Omit --apply for the existing hosted kit workflow.", "Hosted page scope runs five stages in order: local capture, hosted draft candidates, explicit pick, fused LayerDoc and responsive HTML conversion, then a local implementation plan.", "The pick is explicit and has no default. With no --pick and no pick already recorded, the run stops after the draw, prints where the candidates are and the exact command that continues (--from pick --pick <slot>), and buys no conversion: converting a candidate nobody chose spends money on a guess that cannot be cancelled. --target supplies the design instead and skips draft and pick.", "--retain says what to hold from the live page, in the four-facet vocabulary: layout, content, assets, style. It defaults to assets,content — keep the product's brand and words, rework its layout and visual system. Add layout to hold the geometry, add style to work inside the existing visual language, drop assets to let the brand be replaced. The /improve page exposes the same four as Keep layout, Keep copy, Keep brand, and Keep style. At least one of the four must be left free to change: keeping all four asks for the page back unchanged and is refused before anything is bought.", "Whatever is retained, no setting licenses inventing a product fact: with content held the page says the same things; with content freed the words may be rewritten but every claim, number, offer, and control must still be present and true.", "The draft stage searches references under the same policy as `12ui draft`. Improve always conditions that search on its own capture of the page, and the corpus refuses a hedge query carrying an image, so it searches balanced; --corpus-mode direct|adventurer chooses another. The mode is recorded in improve.json when you name it, so a resume searches what the run searched. A resume must repeat the recorded mode or drop the flag: naming a different one is refused before anything is bought, because the references were retrieved under the recorded mode and a different mode is a different run — start it with a fresh --out-dir. A resume after the draft settled reuses its existing reference retrieval.", "URL input uses one Playwright context for repeated --bootstrap actions, screenshot capture, and selector-verified DOM extraction. Image input normalizes the source locally.", string, "The kit keeps every candidate, winner, target, plan, assets, and improve.json replay record. Repeating a settled stage reuses it; --from pick --pick <slot> invalidates only the old target and plan.", "--responsive-quality selects standard or pro responsive export. If that export fails, is absent, or reaches the improve deadline after LayerDoc materialization, improve continues to plan with a warning and derives fixed HTML free when possible.", "--convert-stall-seconds is a no-progress bound for every hosted convert wait, including the free fixed-layout derivation (default: 960s standard and pro, 300s fast; refused below one typical wall). A newly polled live stage or active lane resets it, so healthy tall work stays attached to its original purchase and no second conversion is dispatched. A true no-progress stall with no LayerDoc writes plan/STALL.md and exits non-zero with free re-attachment commands. With a LayerDoc, improve derives fixed HTML for the plan and plan/STALL.md gives the free resume command that later collects responsive winner.html without changing that plan basis. Stopping the wait does not stop the conversion: there is no cancel, so an open run keeps billing.", "--fresh re-buys ONE conversion of the same settled winner under a new idempotency key: it records the abandoned conversion identity and reuses capture, draft and pick untouched. --redraw is the one that buys new candidates — it discards draft, pick, convert and plan, moves the old draw to candidates.previous, records any conversion it drops, and runs the draft stage again; it is also the one path allowed to change --direction, --candidates or --retain against the record. A temporarily unavailable stage retries once after 30 seconds.", "--target brings your own design image or LayerDoc, skips draft and pick, converts an image when needed, and aligns the plan to the captured URL DOM."];
|
|
155
337
|
}, {
|
|
156
338
|
readonly heading: "Whole-site polish";
|
|
157
339
|
readonly items: readonly ["--scope site captures 2–8 same-origin pages including the root, then runs capture, draft, pick, branch, convert, plan, and site. The accepted root is the visual system; each current non-root page is edited against it.", "Root and page conversions share one resilience policy: an unavailable responsive export never discards its LayerDoc or blocks that page plan, and the site kit records fixed-layout or LayerDoc-only delivery honestly.", "--pages caps free one-hop discovery including the root (default 5); repeat --page to supply explicit same-origin pages instead. --page-concurrency defaults to 3, and --reference-order defaults to current-first.", "The site roll-up writes site-plan/tokens.css, shared-shell.md, pages.md, and APPLY.md. It deduplicates tokens and shared shell changes so the implementation plan applies them once before per-page residue.", "Apply APPLY.md, then run `12ui improve <url> --scope site --out-dir <kit> --recheck`. It captures the root and every page once in one browser context, writes numbered recheck evidence, and replans only against kept targets without replaying settled stages. Without --apply, the command never applies code."];
|
|
@@ -167,6 +349,23 @@ export declare const CLI_HELP_CONTEXTS: {
|
|
|
167
349
|
readonly items: readonly ["Recognizes local Codex conversion and project-apply runs, draft and branch directories, hosted run IDs, conversion IDs, and journal-backed workspaces.", "A bare read never starts, retries, or resumes work. Human status is the default; --json writes the machine record to stdout and suppresses the human progress stream.", "For local runs, --wait only observes recorded state; it never dispatches. For hosted drafts, --wait repairs only recorded draft slots that are still pending, dispatching exactly those never-started slots before polling and downloading.", "--wait polls with heartbeats until terminal status. It has no hidden deadline; use --timeout-ms only for a deadline supplied by the user or request, never as an invented polling interval.", "Replaces the retired per-subsystem status commands."];
|
|
168
350
|
}];
|
|
169
351
|
};
|
|
352
|
+
readonly workspace: {
|
|
353
|
+
readonly summary: "Open the design workspace as a web page, for an agent without the workspace tools.";
|
|
354
|
+
readonly sections: readonly [{
|
|
355
|
+
readonly heading: "Actions";
|
|
356
|
+
readonly items: readonly ["open — serve the workspace of a finished draft run on 127.0.0.1 and print its address."];
|
|
357
|
+
}];
|
|
358
|
+
};
|
|
359
|
+
readonly 'workspace open': {
|
|
360
|
+
readonly summary: "Open the design workspace of a draft run as a web page and report what the user decides.";
|
|
361
|
+
readonly sections: readonly [{
|
|
362
|
+
readonly heading: "Behavior";
|
|
363
|
+
readonly items: readonly ["Use it when the design.slate.* tools are not available. It is the same workspace those tools show: the options as one large image and thumbnails, Select, Design (new options and more like this), Edit with a scribble, Branch and Convert, and the Inspiration tab.", "Binds 127.0.0.1 only (a random free port, or --port), protects every page and call with a random token in the printed address, and prints one JSON line first, with the keys workspace (\"ready\"), url, runDir and wait. Open that address in a browser; the system browser is opened too unless --no-open (set BROWSER to choose the program).", "Design and Edit run on this Mac through the local Codex CLI, exactly as under 12ui mcp; no agent is needed to generate, and no 12ui account or credit is used. Work in progress is saved in the run and comes back after a reload.", "The run directory is the argument; with none, or with --latest, the most recently active finished draft run is opened."];
|
|
364
|
+
}, {
|
|
365
|
+
readonly heading: "The decision";
|
|
366
|
+
readonly items: readonly ["With --wait it blocks until the user selects an option, or sends a Branch or Convert request, then prints ONE JSON line and exits 0. Its keys are decision (select, branch or convert), runDir, pick, handoff, messages (what the screen would have sent an agent), text (what to run next) and view (what design.slate.data returns).", "Without --wait it keeps serving until interrupted and prints one such line per decision.", "A Convert request with a service engine uses 12ui credits when carried out: ask the user before running its command."];
|
|
367
|
+
}];
|
|
368
|
+
};
|
|
170
369
|
readonly review: {
|
|
171
370
|
readonly summary: "Open a local review page for stored drafts, branches, and conversions.";
|
|
172
371
|
readonly sections: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli-help/index.ts"],"names":[],"mappings":"
|
|
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/index.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { CONVERSION_HELP } from './conversion.js';
|
|
2
2
|
import { DESIGN_HELP } from './design.js';
|
|
3
3
|
import { META_HELP } from './meta.js';
|
|
4
|
+
import { SCENE_HELP } from './scene.js';
|
|
4
5
|
import { SETUP_HELP } from './setup.js';
|
|
6
|
+
import { WORKFLOW_HELP } from './workflow.js';
|
|
5
7
|
export { renderHelpContext } from './render.js';
|
|
6
8
|
export const CLI_HELP_CONTEXTS = {
|
|
7
9
|
...SETUP_HELP,
|
|
8
10
|
...DESIGN_HELP,
|
|
9
11
|
...CONVERSION_HELP,
|
|
10
12
|
...META_HELP,
|
|
13
|
+
...WORKFLOW_HELP,
|
|
14
|
+
...SCENE_HELP,
|
|
11
15
|
};
|
|
12
16
|
const POSITIONAL_HELP_FAMILIES = new Set(['convert']);
|
|
13
17
|
export const helpTopicsFor = (command) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli-help/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli-help/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,GAAG,UAAU;IACb,GAAG,WAAW;IACd,GAAG,eAAe;IAClB,GAAG,SAAS;IACZ,GAAG,aAAa;IAChB,GAAG,UAAU;CACoB,CAAC;AAEpC,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAA0B,EAAqB,EAAE;IAC7E,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAC9C,IAAI,KAAK,IAAI,iBAAiB,CAAC,KAAuC,CAAC,EAAE,CAAC;QACxE,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5C,KAAK,KAAK,KAAK,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,KAAK,GAAG,CAAC,CACjD,CAAC,CAAC;QACH,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,YAAY,CAAC;IACnD,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;AACxD,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,OAA0B,EACE,EAAE;IAC9B,MAAM,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,KAAK,WAAW;QAC3C,CAAC,CAAC,CAAC,SAAS,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAClC,CAAC,CAAC,OAAO,CAAC;IACZ,KAAK,IAAI,KAAK,GAAG,UAAU,CAAC,MAAM,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACjD,MAAM,OAAO,GAAG,iBAAiB,CAAC,GAAqC,CAAC,CAAC;QACzE,IAAI,CAAC,OAAO;YAAE,SAAS;QACvB,MAAM,qBAAqB,GAAG,KAAK,KAAK,CAAC;eACpC,UAAU,CAAC,MAAM,GAAG,CAAC;eACrB,CAAC,wBAAwB,CAAC,GAAG,CAAC,GAAG,CAAC;eAClC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC;QACjF,OAAO,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC;IACrD,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
package/dist/cli-help/meta.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const META_HELP: {
|
|
|
20
20
|
readonly summary: "Start the 12ui Model Context Protocol server over stdin and stdout.";
|
|
21
21
|
readonly sections: readonly [{
|
|
22
22
|
readonly heading: "Behavior";
|
|
23
|
-
readonly items: readonly ["Exposes conversion, corpus, draft-status, and branch-status tools to an MCP client.", "Runs until the client disconnects. This is a JSON-RPC transport command, not an interactive terminal interface."];
|
|
23
|
+
readonly items: readonly ["Exposes shared local workflows plus conversion, corpus, draft-status, and branch-status tools to an MCP client.", "Starts without 12ui credentials. Corpus search, status and downloads also work without authentication. Funded hosted tools resolve credentials only when called; workflow execution follows its explicit provider and spending policy.", "Runs until the client disconnects. This is a JSON-RPC transport command, not an interactive terminal interface."];
|
|
24
24
|
}];
|
|
25
25
|
};
|
|
26
26
|
readonly version: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/cli-help/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/cli-help/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDa,CAAC"}
|
package/dist/cli-help/meta.js
CHANGED
|
@@ -37,7 +37,8 @@ export const META_HELP = {
|
|
|
37
37
|
sections: [{
|
|
38
38
|
heading: 'Behavior',
|
|
39
39
|
items: [
|
|
40
|
-
'Exposes conversion, corpus, draft-status, and branch-status tools to an MCP client.',
|
|
40
|
+
'Exposes shared local workflows plus conversion, corpus, draft-status, and branch-status tools to an MCP client.',
|
|
41
|
+
'Starts without 12ui credentials. Corpus search, status and downloads also work without authentication. Funded hosted tools resolve credentials only when called; workflow execution follows its explicit provider and spending policy.',
|
|
41
42
|
'Runs until the client disconnects. This is a JSON-RPC transport command, not an interactive terminal interface.',
|
|
42
43
|
],
|
|
43
44
|
}],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/cli-help/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,YAAY,EAAE;QACZ,OAAO,EAAE,8DAA8D;QACvE,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,KAAK,EAAE;oBACL,2IAA2I;oBAC3I,sGAAsG;iBACvG;aACF,CAAC;KACH;IACD,KAAK,EAAE;QACL,OAAO,EAAE,gGAAgG;QACzG,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE;oBACL,wFAAwF;0BACtF,kEAAkE;oBACpE,2EAA2E;oBAC3E,0FAA0F;0BACxF,eAAe;iBAClB;aACF,EAAE;gBACD,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE;oBACL,wFAAwF;0BACtF,UAAU;oBACZ,wEAAwE;oBACxE,gGAAgG;0BAC9F,qGAAqG;0BACrG,uGAAuG;iBAC1G;aACF,CAAC;KACH;IACD,GAAG,EAAE;QACH,OAAO,EAAE,qEAAqE;QAC9E,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,KAAK,EAAE;oBACL,
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/cli-help/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,YAAY,EAAE;QACZ,OAAO,EAAE,8DAA8D;QACvE,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,KAAK,EAAE;oBACL,2IAA2I;oBAC3I,sGAAsG;iBACvG;aACF,CAAC;KACH;IACD,KAAK,EAAE;QACL,OAAO,EAAE,gGAAgG;QACzG,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE;oBACL,wFAAwF;0BACtF,kEAAkE;oBACpE,2EAA2E;oBAC3E,0FAA0F;0BACxF,eAAe;iBAClB;aACF,EAAE;gBACD,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE;oBACL,wFAAwF;0BACtF,UAAU;oBACZ,wEAAwE;oBACxE,gGAAgG;0BAC9F,qGAAqG;0BACrG,uGAAuG;iBAC1G;aACF,CAAC;KACH;IACD,GAAG,EAAE;QACH,OAAO,EAAE,qEAAqE;QAC9E,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,KAAK,EAAE;oBACL,iHAAiH;oBACjH,wOAAwO;oBACxO,iHAAiH;iBAClH;aACF,CAAC;KACH;IACD,OAAO,EAAE;QACP,OAAO,EAAE,2CAA2C;QACpD,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE,CAAC,mGAAmG,CAAC;aAC7G,CAAC;KACH;CACgC,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export declare const SCENE_HELP: {
|
|
2
|
+
readonly scene: {
|
|
3
|
+
readonly summary: "Local tools for rebuilding a design image as a live Three.js scene (scene.md in the 12ui-design skill).";
|
|
4
|
+
readonly sections: readonly [{
|
|
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."];
|
|
7
|
+
}, {
|
|
8
|
+
readonly heading: "Local only";
|
|
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."];
|
|
10
|
+
}];
|
|
11
|
+
};
|
|
12
|
+
readonly 'scene init': {
|
|
13
|
+
readonly summary: "Copy the starter harness and the pinned three.js into a scene folder.";
|
|
14
|
+
readonly sections: readonly [{
|
|
15
|
+
readonly heading: "Behavior";
|
|
16
|
+
readonly items: readonly [string, "Refuses, writing nothing, when any of those files already exists. The folder itself may exist."];
|
|
17
|
+
}];
|
|
18
|
+
};
|
|
19
|
+
readonly 'scene solve': {
|
|
20
|
+
readonly summary: "Least-squares camera (position, yaw, pitch, roll, vertical fov) from landmarks read off the source.";
|
|
21
|
+
readonly sections: readonly [{
|
|
22
|
+
readonly heading: "Spec";
|
|
23
|
+
readonly items: readonly [string, string, string];
|
|
24
|
+
}, {
|
|
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."];
|
|
27
|
+
}];
|
|
28
|
+
};
|
|
29
|
+
readonly 'scene ray': {
|
|
30
|
+
readonly summary: "Cast source pixels through the solved camera onto the plane y = --plane-y.";
|
|
31
|
+
readonly sections: readonly [{
|
|
32
|
+
readonly heading: "Notes";
|
|
33
|
+
readonly items: readonly ["Prints one \"u,v -> x= y= z=\" line per pixel; place an object's base where its ray lands."];
|
|
34
|
+
}];
|
|
35
|
+
};
|
|
36
|
+
readonly 'scene project': {
|
|
37
|
+
readonly summary: "World points to source pixels through the solved camera.";
|
|
38
|
+
readonly sections: readonly [{
|
|
39
|
+
readonly heading: "Notes";
|
|
40
|
+
readonly items: readonly ["Check every placement against the source with this before modelling further."];
|
|
41
|
+
}];
|
|
42
|
+
};
|
|
43
|
+
readonly 'scene rect': {
|
|
44
|
+
readonly summary: "Pose of a rectangle from its four source corners, in the order TL;TR;BR;BL.";
|
|
45
|
+
readonly sections: readonly [{
|
|
46
|
+
readonly heading: "Forms";
|
|
47
|
+
readonly items: readonly ["--plane-y: it lies flat on that plane, any size.", string, "Prints position, size and a three.js rotation (order YXZ) for a mesh whose face is local xy facing +z."];
|
|
48
|
+
}];
|
|
49
|
+
};
|
|
50
|
+
readonly 'scene serve': {
|
|
51
|
+
readonly summary: "Serve a scene folder on 127.0.0.1 for capture and for a browser.";
|
|
52
|
+
readonly sections: readonly [{
|
|
53
|
+
readonly heading: "Behavior";
|
|
54
|
+
readonly items: readonly [string, "Serves nothing outside the folder and never caches."];
|
|
55
|
+
}];
|
|
56
|
+
};
|
|
57
|
+
readonly 'scene capture': {
|
|
58
|
+
readonly summary: "Headless captures of a served scene: the landing view, orbit angles and every action.";
|
|
59
|
+
readonly sections: readonly [{
|
|
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];
|
|
62
|
+
}, {
|
|
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."];
|
|
65
|
+
}];
|
|
66
|
+
};
|
|
67
|
+
readonly 'scene sheet': {
|
|
68
|
+
readonly summary: "Contact sheet: the source first, then each capture, in labelled 640 px tiles.";
|
|
69
|
+
readonly sections: readonly [{
|
|
70
|
+
readonly heading: "Notes";
|
|
71
|
+
readonly items: readonly ["--cols sets the columns (default 3); --note adds text to the source tile label."];
|
|
72
|
+
}];
|
|
73
|
+
};
|
|
74
|
+
readonly 'scene blend': {
|
|
75
|
+
readonly summary: "Overlay: source and render above, a 50% blend and the difference (x3) below.";
|
|
76
|
+
readonly sections: readonly [{
|
|
77
|
+
readonly heading: "Notes";
|
|
78
|
+
readonly items: readonly ["Look at the blend for silhouette and placement, and at the difference for value and colour."];
|
|
79
|
+
}];
|
|
80
|
+
};
|
|
81
|
+
readonly 'scene colors': {
|
|
82
|
+
readonly summary: "Sample source colours, or find where a render differs most from its source.";
|
|
83
|
+
readonly sections: readonly [{
|
|
84
|
+
readonly heading: "Forms";
|
|
85
|
+
readonly items: readonly ["--box: the mean source colour of one box, the hex to put in a material.", string, string];
|
|
86
|
+
}];
|
|
87
|
+
};
|
|
88
|
+
readonly 'scene rectify': {
|
|
89
|
+
readonly summary: "Flatten a perspective quad of the source (a screen, poster or label) into a flat texture.";
|
|
90
|
+
readonly sections: readonly [{
|
|
91
|
+
readonly heading: "Notes";
|
|
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
|
+
}];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=scene.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../src/cli-help/scene.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgKY,CAAC"}
|