@12ui/design 0.2.76 → 0.2.78
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/SKILL.md +1 -1
- package/dist/cli-codex-readiness.d.ts +6 -0
- package/dist/cli-codex-readiness.d.ts.map +1 -1
- package/dist/cli-codex-readiness.js +12 -12
- package/dist/cli-codex-readiness.js.map +1 -1
- package/dist/cli-help/design.d.ts +2 -2
- package/dist/cli-help/design.d.ts.map +1 -1
- package/dist/cli-help/design.js +2 -0
- package/dist/cli-help/design.js.map +1 -1
- package/dist/cli-help/index.d.ts +2 -2
- package/dist/cli-review-command.d.ts.map +1 -1
- package/dist/cli-review-command.js +2 -0
- package/dist/cli-review-command.js.map +1 -1
- package/dist/cli-run.d.ts.map +1 -1
- package/dist/cli-run.js +6 -0
- package/dist/cli-run.js.map +1 -1
- package/dist/cli-workspace-draw.d.ts +1 -11
- package/dist/cli-workspace-draw.d.ts.map +1 -1
- package/dist/cli-workspace-draw.js +18 -18
- package/dist/cli-workspace-draw.js.map +1 -1
- package/dist/cli-workspace-runner.d.ts +30 -0
- package/dist/cli-workspace-runner.d.ts.map +1 -0
- package/dist/cli-workspace-runner.js +105 -0
- package/dist/cli-workspace-runner.js.map +1 -0
- package/dist/mcp-slate-image.js +1 -1
- package/dist/mcp-slate-image.js.map +1 -1
- package/dist/mcp-slate-tool-defs.js +1 -1
- package/dist/mcp-slate-tool-defs.js.map +1 -1
- package/dist/mcp-slate-ui-copy.d.ts +403 -33
- package/dist/mcp-slate-ui-copy.d.ts.map +1 -1
- package/dist/mcp-slate-ui-copy.js +247 -57
- package/dist/mcp-slate-ui-copy.js.map +1 -1
- package/dist/mcp-slate-ui-icu.d.ts +47 -0
- package/dist/mcp-slate-ui-icu.d.ts.map +1 -0
- package/dist/mcp-slate-ui-icu.js +229 -0
- package/dist/mcp-slate-ui-icu.js.map +1 -0
- package/dist/mcp-slate-ui-locale-match.d.ts +12 -0
- package/dist/mcp-slate-ui-locale-match.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locale-match.js +34 -0
- package/dist/mcp-slate-ui-locale-match.js.map +1 -0
- package/dist/mcp-slate-ui-locales/de-DE.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/de-DE.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/de-DE.js +217 -0
- package/dist/mcp-slate-ui-locales/de-DE.js.map +1 -0
- package/dist/mcp-slate-ui-locales/es-419.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/es-419.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/es-419.js +217 -0
- package/dist/mcp-slate-ui-locales/es-419.js.map +1 -0
- package/dist/mcp-slate-ui-locales/es-ES.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/es-ES.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/es-ES.js +217 -0
- package/dist/mcp-slate-ui-locales/es-ES.js.map +1 -0
- package/dist/mcp-slate-ui-locales/fr-FR.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/fr-FR.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/fr-FR.js +217 -0
- package/dist/mcp-slate-ui-locales/fr-FR.js.map +1 -0
- package/dist/mcp-slate-ui-locales/hi-IN.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/hi-IN.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/hi-IN.js +217 -0
- package/dist/mcp-slate-ui-locales/hi-IN.js.map +1 -0
- package/dist/mcp-slate-ui-locales/index.d.ts +11 -0
- package/dist/mcp-slate-ui-locales/index.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/index.js +34 -0
- package/dist/mcp-slate-ui-locales/index.js.map +1 -0
- package/dist/mcp-slate-ui-locales/it-IT.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/it-IT.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/it-IT.js +217 -0
- package/dist/mcp-slate-ui-locales/it-IT.js.map +1 -0
- package/dist/mcp-slate-ui-locales/ja-JP.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/ja-JP.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/ja-JP.js +217 -0
- package/dist/mcp-slate-ui-locales/ja-JP.js.map +1 -0
- package/dist/mcp-slate-ui-locales/ko-KR.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/ko-KR.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/ko-KR.js +217 -0
- package/dist/mcp-slate-ui-locales/ko-KR.js.map +1 -0
- package/dist/mcp-slate-ui-locales/pt-BR.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/pt-BR.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/pt-BR.js +217 -0
- package/dist/mcp-slate-ui-locales/pt-BR.js.map +1 -0
- package/dist/mcp-slate-ui-locales/zh-CN.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/zh-CN.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/zh-CN.js +217 -0
- package/dist/mcp-slate-ui-locales/zh-CN.js.map +1 -0
- package/dist/mcp-slate-ui-locales/zh-TW.d.ts +9 -0
- package/dist/mcp-slate-ui-locales/zh-TW.d.ts.map +1 -0
- package/dist/mcp-slate-ui-locales/zh-TW.js +217 -0
- package/dist/mcp-slate-ui-locales/zh-TW.js.map +1 -0
- package/dist/mcp-slate-ui-script-bridge.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-bridge.js +8 -9
- package/dist/mcp-slate-ui-script-bridge.js.map +1 -1
- package/dist/mcp-slate-ui-script-dialog.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-dialog.js +60 -30
- package/dist/mcp-slate-ui-script-dialog.js.map +1 -1
- package/dist/mcp-slate-ui-script-inline.d.ts +9 -6
- package/dist/mcp-slate-ui-script-inline.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-inline.js +91 -46
- package/dist/mcp-slate-ui-script-inline.js.map +1 -1
- package/dist/mcp-slate-ui-script-inspiration-collage.d.ts +20 -0
- package/dist/mcp-slate-ui-script-inspiration-collage.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-inspiration-collage.js +68 -0
- package/dist/mcp-slate-ui-script-inspiration-collage.js.map +1 -0
- package/dist/mcp-slate-ui-script-inspiration-grid.d.ts +26 -0
- package/dist/mcp-slate-ui-script-inspiration-grid.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-inspiration-grid.js +246 -0
- package/dist/mcp-slate-ui-script-inspiration-grid.js.map +1 -0
- package/dist/mcp-slate-ui-script-inspiration.d.ts +10 -9
- package/dist/mcp-slate-ui-script-inspiration.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-inspiration.js +161 -120
- package/dist/mcp-slate-ui-script-inspiration.js.map +1 -1
- package/dist/mcp-slate-ui-script-l10n.d.ts +29 -0
- package/dist/mcp-slate-ui-script-l10n.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-l10n.js +135 -0
- package/dist/mcp-slate-ui-script-l10n.js.map +1 -0
- package/dist/mcp-slate-ui-script-more.d.ts +3 -2
- package/dist/mcp-slate-ui-script-more.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-more.js +19 -18
- package/dist/mcp-slate-ui-script-more.js.map +1 -1
- package/dist/mcp-slate-ui-script-pause.d.ts +33 -0
- package/dist/mcp-slate-ui-script-pause.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-pause.js +217 -0
- package/dist/mcp-slate-ui-script-pause.js.map +1 -0
- package/dist/mcp-slate-ui-script-remote.d.ts +2 -0
- package/dist/mcp-slate-ui-script-remote.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-remote.js +47 -6
- package/dist/mcp-slate-ui-script-remote.js.map +1 -1
- package/dist/mcp-slate-ui-script-scribble.js +1 -1
- package/dist/mcp-slate-ui-script-select.js +6 -6
- package/dist/mcp-slate-ui-script-stage.d.ts +3 -2
- package/dist/mcp-slate-ui-script-stage.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-stage.js +31 -19
- package/dist/mcp-slate-ui-script-stage.js.map +1 -1
- package/dist/mcp-slate-ui-script-state.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-state.js +77 -57
- package/dist/mcp-slate-ui-script-state.js.map +1 -1
- package/dist/mcp-slate-ui-script.d.ts +2 -2
- package/dist/mcp-slate-ui-script.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script.js +21 -7
- package/dist/mcp-slate-ui-script.js.map +1 -1
- package/dist/mcp-slate-ui-styles-dialog.d.ts +6 -7
- package/dist/mcp-slate-ui-styles-dialog.d.ts.map +1 -1
- package/dist/mcp-slate-ui-styles-dialog.js +13 -29
- package/dist/mcp-slate-ui-styles-dialog.js.map +1 -1
- package/dist/mcp-slate-ui-styles-inspiration.d.ts +18 -0
- package/dist/mcp-slate-ui-styles-inspiration.d.ts.map +1 -0
- package/dist/mcp-slate-ui-styles-inspiration.js +43 -0
- package/dist/mcp-slate-ui-styles-inspiration.js.map +1 -0
- package/dist/mcp-slate-ui-styles-pause.d.ts +10 -0
- package/dist/mcp-slate-ui-styles-pause.d.ts.map +1 -0
- package/dist/mcp-slate-ui-styles-pause.js +25 -0
- package/dist/mcp-slate-ui-styles-pause.js.map +1 -0
- package/dist/mcp-slate-ui-styles-stage.d.ts +10 -6
- package/dist/mcp-slate-ui-styles-stage.d.ts.map +1 -1
- package/dist/mcp-slate-ui-styles-stage.js +24 -16
- package/dist/mcp-slate-ui-styles-stage.js.map +1 -1
- package/dist/mcp-slate-ui-styles.d.ts +12 -5
- package/dist/mcp-slate-ui-styles.d.ts.map +1 -1
- package/dist/mcp-slate-ui-styles.js +38 -21
- package/dist/mcp-slate-ui-styles.js.map +1 -1
- package/dist/mcp-slate-ui.d.ts +11 -3
- package/dist/mcp-slate-ui.d.ts.map +1 -1
- package/dist/mcp-slate-ui.js +24 -16
- package/dist/mcp-slate-ui.js.map +1 -1
- package/dist/mosaic-bands.d.ts +44 -0
- package/dist/mosaic-bands.d.ts.map +1 -0
- package/dist/mosaic-bands.js +153 -0
- package/dist/mosaic-bands.js.map +1 -0
- package/dist/review-discovery.d.ts.map +1 -1
- package/dist/review-discovery.js +36 -54
- package/dist/review-discovery.js.map +1 -1
- package/dist/review-page.d.ts.map +1 -1
- package/dist/review-page.js +2 -1
- package/dist/review-page.js.map +1 -1
- package/dist/review-run-roots.d.ts +40 -0
- package/dist/review-run-roots.d.ts.map +1 -0
- package/dist/review-run-roots.js +94 -0
- package/dist/review-run-roots.js.map +1 -0
- package/dist/review-server.d.ts +2 -0
- package/dist/review-server.d.ts.map +1 -1
- package/dist/review-server.js +2 -0
- package/dist/review-server.js.map +1 -1
- package/dist/review-types.d.ts +10 -0
- package/dist/review-types.d.ts.map +1 -1
- package/dist/slate-actions.d.ts +3 -3
- package/dist/slate-actions.d.ts.map +1 -1
- package/dist/slate-actions.js +9 -8
- package/dist/slate-actions.js.map +1 -1
- package/dist/slate-browser-host-script.d.ts +4 -0
- package/dist/slate-browser-host-script.d.ts.map +1 -1
- package/dist/slate-browser-host-script.js +25 -6
- package/dist/slate-browser-host-script.js.map +1 -1
- package/dist/slate-browser-host.d.ts +2 -1
- package/dist/slate-browser-host.d.ts.map +1 -1
- package/dist/slate-browser-host.js +18 -5
- package/dist/slate-browser-host.js.map +1 -1
- package/dist/slate-commit.js +7 -7
- package/dist/slate-commit.js.map +1 -1
- package/dist/slate-corpus.d.ts.map +1 -1
- package/dist/slate-corpus.js +3 -2
- package/dist/slate-corpus.js.map +1 -1
- package/dist/slate-edit-runner.d.ts.map +1 -1
- package/dist/slate-edit-runner.js +5 -4
- package/dist/slate-edit-runner.js.map +1 -1
- package/dist/slate-editability.d.ts +2 -0
- package/dist/slate-editability.d.ts.map +1 -1
- package/dist/slate-editability.js +1 -1
- package/dist/slate-editability.js.map +1 -1
- package/dist/slate-errors.d.ts +7 -1
- package/dist/slate-errors.d.ts.map +1 -1
- package/dist/slate-errors.js +3 -2
- package/dist/slate-errors.js.map +1 -1
- package/dist/slate-handoff-options.d.ts +2 -1
- package/dist/slate-handoff-options.d.ts.map +1 -1
- package/dist/slate-handoff-options.js +2 -2
- package/dist/slate-handoff-options.js.map +1 -1
- package/dist/slate-handoff.js +1 -1
- package/dist/slate-handoff.js.map +1 -1
- package/dist/slate-image-executor.d.ts +28 -3
- package/dist/slate-image-executor.d.ts.map +1 -1
- package/dist/slate-image-executor.js +55 -11
- package/dist/slate-image-executor.js.map +1 -1
- package/dist/slate-inspiration.js +2 -2
- package/dist/slate-inspiration.js.map +1 -1
- package/dist/slate-local-image.d.ts.map +1 -1
- package/dist/slate-local-image.js +4 -1
- package/dist/slate-local-image.js.map +1 -1
- package/dist/slate-lock.js +1 -1
- package/dist/slate-lock.js.map +1 -1
- package/dist/slate-resume.js +6 -6
- package/dist/slate-resume.js.map +1 -1
- package/dist/slate-round-params.d.ts +3 -0
- package/dist/slate-round-params.d.ts.map +1 -1
- package/dist/slate-round-params.js +5 -0
- package/dist/slate-round-params.js.map +1 -1
- package/dist/slate-round-prompt.d.ts +15 -3
- package/dist/slate-round-prompt.d.ts.map +1 -1
- package/dist/slate-round-prompt.js +14 -5
- package/dist/slate-round-prompt.js.map +1 -1
- package/dist/slate-round-queries.d.ts +18 -0
- package/dist/slate-round-queries.d.ts.map +1 -0
- package/dist/slate-round-queries.js +29 -0
- package/dist/slate-round-queries.js.map +1 -0
- package/dist/slate-round-runner.d.ts.map +1 -1
- package/dist/slate-round-runner.js +12 -9
- package/dist/slate-round-runner.js.map +1 -1
- package/dist/slate-round-search.js +5 -5
- package/dist/slate-round-search.js.map +1 -1
- package/dist/slate-run-action.d.ts.map +1 -1
- package/dist/slate-run-action.js +2 -1
- package/dist/slate-run-action.js.map +1 -1
- package/dist/slate-runner-context.d.ts +3 -1
- package/dist/slate-runner-context.d.ts.map +1 -1
- package/dist/slate-runner-context.js +4 -3
- package/dist/slate-runner-context.js.map +1 -1
- package/dist/slate-runner-failure.d.ts +7 -1
- package/dist/slate-runner-failure.d.ts.map +1 -1
- package/dist/slate-runner-failure.js +6 -5
- package/dist/slate-runner-failure.js.map +1 -1
- package/dist/slate-runtime.d.ts.map +1 -1
- package/dist/slate-runtime.js +1 -0
- package/dist/slate-runtime.js.map +1 -1
- package/dist/slate-versions.js +3 -3
- package/dist/slate-versions.js.map +1 -1
- package/dist/slate-view-contract.d.ts +62 -1
- package/dist/slate-view-contract.d.ts.map +1 -1
- package/dist/slate-view-contract.js +30 -0
- package/dist/slate-view-contract.js.map +1 -1
- package/dist/slate-view.d.ts.map +1 -1
- package/dist/slate-view.js +19 -3
- package/dist/slate-view.js.map +1 -1
- package/dist/slate-workspace-parse.d.ts.map +1 -1
- package/dist/slate-workspace-parse.js +22 -0
- package/dist/slate-workspace-parse.js.map +1 -1
- package/dist/slate-workspace-types.d.ts +3 -1
- package/dist/slate-workspace-types.d.ts.map +1 -1
- package/dist/workspace-draw-client.d.ts +58 -5
- package/dist/workspace-draw-client.d.ts.map +1 -1
- package/dist/workspace-draw-client.js +82 -9
- package/dist/workspace-draw-client.js.map +1 -1
- package/dist/workspace-draw-codex.d.ts +9 -4
- package/dist/workspace-draw-codex.d.ts.map +1 -1
- package/dist/workspace-draw-codex.js +17 -3
- package/dist/workspace-draw-codex.js.map +1 -1
- package/dist/workspace-draw-messages.d.ts +31 -0
- package/dist/workspace-draw-messages.d.ts.map +1 -1
- package/dist/workspace-draw-messages.js +30 -0
- package/dist/workspace-draw-messages.js.map +1 -1
- package/dist/workspace-draw-run.d.ts +19 -1
- package/dist/workspace-draw-run.d.ts.map +1 -1
- package/dist/workspace-draw-run.js +98 -5
- package/dist/workspace-draw-run.js.map +1 -1
- package/dist/workspace-draw-store.d.ts +2 -0
- package/dist/workspace-draw-store.d.ts.map +1 -1
- package/dist/workspace-draw-store.js +3 -1
- package/dist/workspace-draw-store.js.map +1 -1
- package/dist/workspace-draw-types.d.ts +2 -0
- package/dist/workspace-draw-types.d.ts.map +1 -1
- package/dist/workspace-draw-types.js +2 -0
- package/dist/workspace-draw-types.js.map +1 -1
- package/dist/workspace-origin.d.ts +15 -0
- package/dist/workspace-origin.d.ts.map +1 -0
- package/dist/workspace-origin.js +36 -0
- package/dist/workspace-origin.js.map +1 -0
- package/dist/workspace-runner-children.d.ts +39 -0
- package/dist/workspace-runner-children.d.ts.map +1 -0
- package/dist/workspace-runner-children.js +139 -0
- package/dist/workspace-runner-children.js.map +1 -0
- package/dist/workspace-runner-client.d.ts +43 -0
- package/dist/workspace-runner-client.d.ts.map +1 -0
- package/dist/workspace-runner-client.js +72 -0
- package/dist/workspace-runner-client.js.map +1 -0
- package/dist/workspace-runner-main.d.ts +56 -0
- package/dist/workspace-runner-main.d.ts.map +1 -0
- package/dist/workspace-runner-main.js +378 -0
- package/dist/workspace-runner-main.js.map +1 -0
- package/dist/workspace-runner-policy.d.ts +40 -0
- package/dist/workspace-runner-policy.d.ts.map +1 -0
- package/dist/workspace-runner-policy.js +47 -0
- package/dist/workspace-runner-policy.js.map +1 -0
- package/dist/workspace-runner-spawn.d.ts +42 -0
- package/dist/workspace-runner-spawn.d.ts.map +1 -0
- package/dist/workspace-runner-spawn.js +60 -0
- package/dist/workspace-runner-spawn.js.map +1 -0
- package/dist/workspace-runner-stop.d.ts +25 -0
- package/dist/workspace-runner-stop.d.ts.map +1 -0
- package/dist/workspace-runner-stop.js +44 -0
- package/dist/workspace-runner-stop.js.map +1 -0
- package/dist/workspace-runner-store.d.ts +26 -0
- package/dist/workspace-runner-store.d.ts.map +1 -0
- package/dist/workspace-runner-store.js +114 -0
- package/dist/workspace-runner-store.js.map +1 -0
- package/open-design.json +2 -2
- package/package.json +1 -1
- package/runtime/codex-conversion/src/images/native-frame.mjs +103 -0
- package/runtime/codex-conversion/src/images/native-invoke.mjs +24 -5
- package/runtime/codex-conversion/src/images/native.mjs +14 -5
- package/runtime/codex-conversion/src/run-store.mjs +21 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-workspace-runner.js","sourceRoot":"","sources":["../src/cli-workspace-runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAA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,UAAU,CAAC,QAAQ,CAAC;QACvC,OAAO;IACT,CAAC;IACD,kFAAkF;IAClF,MAAM,IAAI,GAAG,IAAI,eAAe,EAAE,CAAC;IACnC,MAAM,QAAQ,GAAG,GAAS,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC/B,OAAO,CAAC,KAAK,GAAG,uBAAuB,CAAC;IACxC,IAAI,UAAU,GAAG,KAAK,CAAC;IACvB,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,eAAe,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QACtE,IAAI,UAAU,CAAC,OAAO;YAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,kCAAkC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;QACvG,OAAO,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACvC,UAAU,GAAG,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IAChE,CAAC;YAAS,CAAC;QACT,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QACjC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,wGAAwG;IACxG,IAAI,UAAU;QAAE,OAAO,CAAC,IAAI,EAAE,CAAC;AACjC,CAAC,CAAC"}
|
package/dist/mcp-slate-image.js
CHANGED
|
@@ -14,7 +14,7 @@ export const isSlateImageSize = (value) => (value === 'thumb' || value === 'full
|
|
|
14
14
|
export const slateImage = async (source, size, dimensions) => {
|
|
15
15
|
if (size === 'full') {
|
|
16
16
|
if (source.byteLength > SLATE_IMAGE_MAX_BYTES) {
|
|
17
|
-
throw new SlateError('too_large', `This image is ${source.byteLength} bytes; the workspace shows at most ${SLATE_IMAGE_MAX_BYTES} bytes at full size. Open the file instead
|
|
17
|
+
throw new SlateError('too_large', `This image is ${source.byteLength} bytes; the workspace shows at most ${SLATE_IMAGE_MAX_BYTES} bytes at full size. Open the file instead.`, { l10n: { code: 'image_too_large' } });
|
|
18
18
|
}
|
|
19
19
|
return { bytes: source, width: dimensions.width, height: dimensions.height, mimeType: 'image/png' };
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-slate-image.js","sourceRoot":"","sources":["../src/mcp-slate-image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAC;AACrC,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAC/C,MAAM,aAAa,GAAG,EAAE,CAAC;AAWzB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAA2B,EAAE,CAAC,CAC3E,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,MAAM,CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,EAC7B,MAAc,EACd,IAAoB,EACpB,UAA6C,EACxB,EAAE;IACvB,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QACpB,IAAI,MAAM,CAAC,UAAU,GAAG,qBAAqB,EAAE,CAAC;YAC9C,MAAM,IAAI,UAAU,CAAC,WAAW,EAAE,iBAAiB,MAAM,CAAC,UAAU,uCAAuC,qBAAqB,6CAA6C,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"mcp-slate-image.js","sourceRoot":"","sources":["../src/mcp-slate-image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,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C,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC;IACzC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC;AACzF,CAAC,CAAC"}
|
|
@@ -60,7 +60,7 @@ const workActionSchema = {
|
|
|
60
60
|
mode: { type: 'string', enum: ['new', 'like'] },
|
|
61
61
|
note: { type: 'string', maxLength: 600 },
|
|
62
62
|
fromVersionId: { type: 'string' },
|
|
63
|
-
count: { type: 'integer', enum: [1, 2, 4, 8, 12], description: 'Options to draw in a round: 1, 2, 4, 8 or 12 (default
|
|
63
|
+
count: { type: 'integer', enum: [1, 2, 4, 6, 8, 12], description: 'Options to draw in a round: 1, 2, 4, 6, 8 or 12 (default 6).' },
|
|
64
64
|
versionId: { type: 'string' },
|
|
65
65
|
prompt: { type: 'string', description: 'The edit instruction. Optional when strokes are sent.' },
|
|
66
66
|
strokes: { type: 'array', maxItems: 24, items: strokeSchema },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-slate-tool-defs.js","sourceRoot":"","sources":["../src/mcp-slate-tool-defs.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D;;;;;;;GAOG;AAEH,MAAM,UAAU,GAAG,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,kBAAkB,EAAE,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AACrG,MAAM,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE,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E,gBAAgB,CAAC,2BAA2B,CAAC;QAC1D,KAAK,EAAE,OAAO;KACf;CACF,CAAC"}
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import type { SlateConvertOutput } from './slate-view-contract.js';
|
|
2
2
|
/**
|
|
3
|
-
* Every
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
3
|
+
* Every word the Design workspace screen shows, in English, in one place: the source catalogue the translations in
|
|
4
|
+
* `mcp-slate-ui-locales/` follow key for key, and the fallback for any key a locale lacks. The script receives every
|
|
5
|
+
* catalogue (injected as JSON) and words each line through `t(key, values)` in the person's language
|
|
6
|
+
* (`mcp-slate-ui-script-l10n.ts`); the copy tests read this same object, so the sentence-case and bare-verb rules are
|
|
7
|
+
* checked on exactly the words a person sees.
|
|
7
8
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* by the script; status lines may carry counts, labels may not.
|
|
9
|
+
* Messages are ICU MessageFormat (`mcp-slate-ui-icu.ts`): `{name}` is a value the screen fills in (a code such as B2,
|
|
10
|
+
* a number, a person's own words), `{n, plural, one {...} other {...}}` picks the form for a count and `#` in it is the
|
|
11
|
+
* count. A line is always a whole message: nothing is glued from pieces, so a translation can order its words freely.
|
|
12
|
+
* The comment above each group is the translators' note: where it shows and what each value is.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* Rules (spec v3, section 7): sentence case (no all-caps words except codes), action labels are bare verbs, no counts in
|
|
15
|
+
* a label, no explanatory paragraphs, and no price or budget wording anywhere: the workspace never costs money, so it
|
|
16
|
+
* never shows any. Status lines may carry counts, labels may not.
|
|
17
|
+
*
|
|
18
|
+
* The messages the view sends to the agent are not copy: they are input to a model, not words on a screen, stay
|
|
19
|
+
* English, and live with the code that sends them.
|
|
16
20
|
*/
|
|
17
21
|
export declare const SLATE_UI_COPY: {
|
|
18
22
|
readonly title: "Design workspace";
|
|
@@ -34,6 +38,331 @@ export declare const SLATE_UI_COPY: {
|
|
|
34
38
|
readonly cancel: "Cancel";
|
|
35
39
|
readonly clear: "Clear";
|
|
36
40
|
readonly undo: "Undo";
|
|
41
|
+
readonly change: "Change";
|
|
42
|
+
readonly continueRound: "Continue";
|
|
43
|
+
readonly generateMore: "Generate more";
|
|
44
|
+
readonly moreHelpFresh: "Draws new options from fresh references.";
|
|
45
|
+
readonly moreHelpSelected: "Draws new options from your selected inspiration.";
|
|
46
|
+
readonly moreHelpLike: "Draws options that stay close to {label}.";
|
|
47
|
+
readonly moreBasedOn: "Based on {label}";
|
|
48
|
+
readonly moreLikeUnavailable: "This version has no picture to work from.";
|
|
49
|
+
readonly moreInspirationLabel: "Inspiration";
|
|
50
|
+
readonly removeReference: "Remove {name}";
|
|
51
|
+
readonly moreNotePlaceholder: "Describe how they should differ (optional)";
|
|
52
|
+
readonly moreCountLabel: "How many";
|
|
53
|
+
readonly pauseLabel: "Before drawing";
|
|
54
|
+
readonly pauseCountdown: "Starting in {n} s. Change any reference, or press Continue.";
|
|
55
|
+
readonly pauseHeld: "Paused. Press Continue when ready.";
|
|
56
|
+
readonly pauseStarting: "Starting.";
|
|
57
|
+
readonly pauseDrawsFrom: "Option {label} will be drawn from this reference.";
|
|
58
|
+
readonly pauseReferenceFor: "Reference for {label}";
|
|
59
|
+
readonly pauseNoReference: "No reference yet. Choose one in Inspiration.";
|
|
60
|
+
readonly pauseNone: "Choose at least one reference.";
|
|
61
|
+
readonly pauseAtMost: "{n} at most, one per option.";
|
|
62
|
+
readonly pauseFrom: "{m, plural, one {Every option is drawn from # reference.} other {{n} options are drawn from # references, in turn.}}";
|
|
63
|
+
readonly scribbleHint: "Draw on the image to show where. An X or a circle is enough.";
|
|
64
|
+
readonly editAria: "Edit instruction";
|
|
65
|
+
readonly editPlaceholder: "Optional if you drew on the image. For example, make the headline larger.";
|
|
66
|
+
readonly editHelp: "Applies the change to {label} and saves the result as a new version.";
|
|
67
|
+
readonly editHelpMarks: "Marks only: the change is inferred from what you drew.";
|
|
68
|
+
readonly editTooLong: "This instruction is too long. Shorten it by {n, plural, one {# character} other {# characters}}.";
|
|
69
|
+
readonly branchAria: "What to build";
|
|
70
|
+
readonly branchPlaceholder: "Optional. Which pages or states to add, for example pricing, sign in and settings.";
|
|
71
|
+
readonly branchHelp: "Your agent expands this design into more pages and app states.";
|
|
72
|
+
readonly convertLabel: "Format";
|
|
73
|
+
readonly serviceGroup: "12ui service";
|
|
74
|
+
readonly qualityLabel: "Quality";
|
|
75
|
+
readonly qualityHelp: "Higher quality takes longer.";
|
|
76
|
+
readonly fast: "Fast";
|
|
77
|
+
readonly standard: "Standard";
|
|
78
|
+
readonly pro: "Pro";
|
|
79
|
+
readonly widthLabel: "Width";
|
|
80
|
+
readonly widthPlaceholder: "Pixels";
|
|
81
|
+
readonly widthHelp: "Optional. Output width in pixels; blank keeps the original size.";
|
|
82
|
+
readonly layoutsLabel: "Layouts";
|
|
83
|
+
readonly layoutsHelp: "How carefully the layouts adapt to other screen sizes.";
|
|
84
|
+
readonly inspirationLabel: "Search inspiration";
|
|
85
|
+
readonly inspirationPlaceholder: "What style are you looking for?";
|
|
86
|
+
readonly inspirationEmpty: "Search for a style to pick references for your next options.";
|
|
87
|
+
readonly inspirationNoMatches: "No matches. Try different words.";
|
|
88
|
+
readonly searching: "Searching.";
|
|
89
|
+
readonly eightAtMost: "Eight at most.";
|
|
90
|
+
readonly searchFailed: "Search failed: {message}";
|
|
91
|
+
readonly tryAgain: "Try again in {n, plural, one {# second} other {# seconds}}.";
|
|
92
|
+
readonly queryFrom: "The words {count, plural, one {round {rounds}} other {rounds {rounds}}} searched.";
|
|
93
|
+
readonly queryNewestOthers: "The newest words, from {count, plural, one {round {rounds}} other {rounds {rounds}}}. {otherCount, plural, one {Round {others}} other {Rounds {others}}} searched other words.";
|
|
94
|
+
readonly queryLastSearch: "Your last search.";
|
|
95
|
+
readonly queryCut: "A search takes the first {n} characters.";
|
|
96
|
+
readonly resultsMax: "{n, plural, one {# result} other {# results}}, the most one search returns.";
|
|
97
|
+
readonly resultsCount: "{n, plural, one {# result.} other {# results.}}";
|
|
98
|
+
readonly usedIn: "Used in {places}";
|
|
99
|
+
readonly usedPlace: "{options, plural, =0 {round {round}} one {round {round}, option {labels}} other {round {round}, options {labels}}}";
|
|
100
|
+
readonly usedSeparator: "; ";
|
|
101
|
+
readonly selectionDraws: "{m, plural, one {# selected. Draws {n} new options from it.} other {# selected. Draws {n} new options from them.}}";
|
|
102
|
+
readonly roundRunning: "Wait for the running round to finish.";
|
|
103
|
+
readonly roundHeading: "Round {n}";
|
|
104
|
+
readonly likeTitle: "Like {label}";
|
|
105
|
+
readonly newOptionsTitle: "New options";
|
|
106
|
+
readonly optionName: "Option {label}";
|
|
107
|
+
readonly optionNameFailed: "Option {label}, failed";
|
|
108
|
+
readonly versionName: "Version {label}";
|
|
109
|
+
readonly versionTitle: "{label}: {prompt}";
|
|
110
|
+
readonly versionTitleMarks: "{label}: drawn marks only";
|
|
111
|
+
readonly referenceName: "Reference {description}";
|
|
112
|
+
readonly optionsGroup: "Options";
|
|
113
|
+
readonly fileMissing: "File missing on this Mac";
|
|
114
|
+
readonly fileChanged: "This file changed on disk";
|
|
115
|
+
readonly recording: "Selecting...";
|
|
116
|
+
readonly selectedLine: "Selected {label}. The agent has been told.";
|
|
117
|
+
readonly selectedRefused: "Selected {label} and saved it, but the host did not take the message: {detail}";
|
|
118
|
+
readonly couldNotSelect: "Could not select: {detail}";
|
|
119
|
+
readonly pickMissing: "The picked image is missing on this Mac. Select it again.";
|
|
120
|
+
readonly pickChanged: "The picked image changed on disk. Select a different version.";
|
|
121
|
+
readonly sent: "Sent to the agent.";
|
|
122
|
+
readonly sentRefused: "Recorded the request, but the host did not take the message: {detail}";
|
|
123
|
+
readonly designing: "Designing.";
|
|
124
|
+
readonly designingProgress: "Designing. {n} of {m} ready.";
|
|
125
|
+
readonly editing: "Editing {label}.";
|
|
126
|
+
readonly interrupted: "Work stopped before it finished.";
|
|
127
|
+
readonly sentenceJoin: "{first} {second}";
|
|
128
|
+
readonly markFailed: "Could not draw the marks on the image: {detail}";
|
|
129
|
+
readonly markReadFailed: "the image could not be read";
|
|
130
|
+
readonly markNoCanvas: "no canvas is available";
|
|
131
|
+
readonly markNoSize: "the image has no size";
|
|
132
|
+
readonly markNoJpeg: "the canvas could not export the picture";
|
|
133
|
+
readonly markTooLarge: "the marked image would be too large";
|
|
134
|
+
readonly noConnection: "Could not connect to the host: {detail}";
|
|
135
|
+
readonly needsHost: "This view needs a host that can show apps. Open it where ui:// resources render.";
|
|
136
|
+
readonly toolError: "The tool returned an error.";
|
|
137
|
+
readonly toolErrorDetail: "The tool returned an error: {detail}";
|
|
138
|
+
readonly toolFailed: "The tool failed.";
|
|
139
|
+
readonly toolCancelled: "The tool call was cancelled: {detail}";
|
|
140
|
+
readonly toolCancelledNoReason: "The tool call was cancelled.";
|
|
141
|
+
readonly requestFailed: "The request failed.";
|
|
142
|
+
readonly pictureNotReturned: "No picture came back.";
|
|
143
|
+
readonly noView: "The tool result has no workspace.";
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* The Format choices that carry words and the one line under the Format select that says what the chosen format gives.
|
|
147
|
+
* Apart from SLATE_UI_COPY because they name formats (HTML, PNG): the copy rules' no-all-caps check is about labels,
|
|
148
|
+
* and these are sentences about file formats. The same translators' notes apply.
|
|
149
|
+
*/
|
|
150
|
+
export declare const SLATE_FORMAT_COPY: {
|
|
151
|
+
readonly formatAssets: "Assets";
|
|
152
|
+
readonly formatResponsiveHtml: "Responsive HTML";
|
|
153
|
+
readonly formatFixedHtml: "Fixed HTML";
|
|
154
|
+
readonly convertHelpLocalHtml: "Editable HTML and CSS, built on this Mac.";
|
|
155
|
+
readonly convertHelpLocalReact: "Editable React components and CSS, built on this Mac.";
|
|
156
|
+
readonly convertHelpLocalAssets: "The design's images as separate files, cut out on this Mac.";
|
|
157
|
+
readonly convertHelpServiceHtml: "Responsive HTML that adapts to screen widths, built by 12ui.";
|
|
158
|
+
readonly convertHelpServiceLayerdoc: "An editable layered document, built by 12ui.";
|
|
159
|
+
readonly convertHelpServiceHtmlFixed: "Fixed-width HTML that matches the picture, built by 12ui.";
|
|
160
|
+
readonly convertHelpServiceSvg: "A vector SVG, built by 12ui.";
|
|
161
|
+
readonly convertHelpServicePng: "A PNG image at the width you choose, made by 12ui.";
|
|
162
|
+
readonly convertHelpServiceJpg: "A JPG image at the width you choose, made by 12ui.";
|
|
163
|
+
readonly convertHelpServiceWebp: "A WebP image at the width you choose, made by 12ui.";
|
|
164
|
+
readonly convertHelpServicePdf: "A PDF file with editable layers, made by 12ui.";
|
|
165
|
+
readonly convertHelpServicePsd: "A PSD file with editable layers, made by 12ui.";
|
|
166
|
+
readonly convertHelpServicePptx: "A PowerPoint file with editable layers, made by 12ui.";
|
|
167
|
+
readonly convertHelpServiceSketch: "A Sketch file with editable layers, made by 12ui.";
|
|
168
|
+
readonly convertHelpRemoteHtml: "Your agent builds editable HTML from this image in your project.";
|
|
169
|
+
readonly convertHelpRemoteReact: "Your agent builds React components from this image in your project.";
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* The words of the browser page `12ui workspace open` serves around the screen (a tab of the person's own browser):
|
|
173
|
+
* its overlay once the person's choice is sent or the command has ended. Apart from SLATE_UI_COPY because "session"
|
|
174
|
+
* is the page's own subject (the screen itself never speaks of sessions).
|
|
175
|
+
*/
|
|
176
|
+
export declare const SLATE_BROWSER_PAGE_COPY: {
|
|
177
|
+
readonly browserSessionEnded: "The session ended";
|
|
178
|
+
readonly browserRunAgain: "Run the command again to reopen the workspace.";
|
|
179
|
+
readonly browserNotRunning: "The 12ui session is not running.";
|
|
180
|
+
readonly browserChoiceSent: "Choice sent";
|
|
181
|
+
readonly browserRequestSent: "Request sent";
|
|
182
|
+
readonly browserAgentHasIt: "Your agent has it. You can close this tab.";
|
|
183
|
+
readonly browserSessionAnswered: "The session answered {status}.";
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* What the servers say to the person, by the code they send beside their own English (`SlateL10nRef` in the view
|
|
187
|
+
* contract, `server.<code>` here). The screen words a code it has a message for in the person's language, and shows
|
|
188
|
+
* the server's sentence otherwise; SLATE_SERVER_MESSAGE_CODES lists every code and a test holds the two lists equal.
|
|
189
|
+
* These are written for the person, not the operator: no command-line flags, no file paths, no internal names.
|
|
190
|
+
*
|
|
191
|
+
* Values: {label} an option's code (A, B2); {seconds}, {count}, {max}, {over} numbers; {reason} a sentence that is
|
|
192
|
+
* either another of these messages or words the person's agent wrote (any language); {detail} words the operating
|
|
193
|
+
* system or a tool gave (usually English).
|
|
194
|
+
*/
|
|
195
|
+
export declare const SLATE_SERVER_COPY: {
|
|
196
|
+
readonly 'server.unknown_workspace': "This Design workspace is not available. Ask your agent to open a new one.";
|
|
197
|
+
readonly 'server.unknown_version': "That option is not in this workspace.";
|
|
198
|
+
readonly 'server.unknown_reference': "That reference is not part of this workspace.";
|
|
199
|
+
readonly 'server.unknown_op': "That request is not in this workspace.";
|
|
200
|
+
readonly 'server.intent_conflict': "This request was already used for something different. Try again.";
|
|
201
|
+
readonly 'server.too_many_open_requests': "{count, plural, one {# request is} other {# requests are}} already waiting for your agent.";
|
|
202
|
+
readonly 'server.op_already_resolved': "This request was already answered.";
|
|
203
|
+
readonly 'server.workspace_full': "This workspace is full. Open a new one.";
|
|
204
|
+
readonly 'server.workspace_busy': "The workspace is busy. Try again in a moment.";
|
|
205
|
+
readonly 'server.payload_too_large': "The picture is too large to send.";
|
|
206
|
+
readonly 'server.state_invalid': "The record of this workspace is damaged. Open a new one.";
|
|
207
|
+
readonly 'server.service_unavailable': "The workspace service is unavailable. Try again shortly.";
|
|
208
|
+
readonly 'server.candidate_busy': "{label} is still busy with earlier work.";
|
|
209
|
+
readonly 'server.rate_limited': "Too many requests. Try again in {seconds, plural, one {# second} other {# seconds}}.";
|
|
210
|
+
readonly 'server.agent_no_response': "Your agent did not add the options. Ask it again.";
|
|
211
|
+
readonly 'server.agent_failed': "Your agent could not draw this: {reason}";
|
|
212
|
+
readonly 'server.corpus_unavailable': "The reference collection could not be reached. Try again shortly.";
|
|
213
|
+
readonly 'server.result_too_large': "That picture is too large to show here.";
|
|
214
|
+
readonly 'server.concept_too_long': "The brief plus your note is too long. Shorten the note.";
|
|
215
|
+
readonly 'server.note_too_long': "A note can be at most {max, plural, one {# character} other {# characters}}.";
|
|
216
|
+
readonly 'server.explanation_too_long': "A description can be at most {max, plural, one {# character} other {# characters}}.";
|
|
217
|
+
readonly 'server.edit_prompt_too_long': "This instruction is too long. Shorten it, then apply it again.";
|
|
218
|
+
readonly 'server.edit_needs_input': "Draw on the image or say what should change.";
|
|
219
|
+
readonly 'server.search_empty': "Type something to search for.";
|
|
220
|
+
readonly 'server.selection_max': "At most {max} references can be selected.";
|
|
221
|
+
readonly 'server.draw_no_image': "Codex did not return a picture for this option.";
|
|
222
|
+
readonly 'server.draw_protocol': "Codex made more than one picture for this option.";
|
|
223
|
+
readonly 'server.draw_timeout': "Codex took too long to draw this option.";
|
|
224
|
+
readonly 'server.draw_inputs_changed': "This option was drawn on this Mac with different inputs and cannot be drawn again here.";
|
|
225
|
+
readonly 'server.draw_codex_unavailable': "Codex cannot draw on this Mac, and drawing on 12ui needs a 12ui sign-in.";
|
|
226
|
+
readonly 'server.codex_missing': "Codex is not installed on this Mac. Install Codex, then try again.";
|
|
227
|
+
readonly 'server.codex_broken': "Codex could not start on this Mac. Reinstall or update Codex, then try again.";
|
|
228
|
+
readonly 'server.codex_signed_out': "Codex is not signed in on this Mac. Sign in to Codex, then try again.";
|
|
229
|
+
readonly 'server.codex_api_key': "Codex is signed in with an API key. Sign in with your ChatGPT account instead.";
|
|
230
|
+
readonly 'server.codex_login_unknown': "Codex could not confirm its sign-in. Sign in to Codex again, then try again.";
|
|
231
|
+
readonly 'server.codex_outdated': "This version of Codex is too old to draw here. Update Codex, then try again.";
|
|
232
|
+
readonly 'server.codex_model_missing': "Codex has not loaded the image model for this account. Open Codex once, then try again.";
|
|
233
|
+
readonly 'server.codex_images_off': "Image generation is turned off in Codex. Turn it on, then try again.";
|
|
234
|
+
readonly 'server.codex_not_ready': "Codex is not ready to draw on this Mac.";
|
|
235
|
+
readonly 'server.file_missing': "This version's file is missing on this Mac.";
|
|
236
|
+
readonly 'server.file_changed': "This version's file changed on disk.";
|
|
237
|
+
readonly 'server.option_not_drawn': "This option could not be drawn.";
|
|
238
|
+
readonly 'server.image_no_return': "No picture came back for this option.";
|
|
239
|
+
readonly 'server.image_call_running': "This picture is already being drawn.";
|
|
240
|
+
readonly 'server.image_inputs_changed': "This picture was started with different inputs.";
|
|
241
|
+
readonly 'server.inspiration_fetch_failed': "The inspiration picture could not be fetched.";
|
|
242
|
+
readonly 'server.no_option_drawn': "No option could be drawn.";
|
|
243
|
+
readonly 'server.source_changed': "The picture this round started from changed after the click.";
|
|
244
|
+
readonly 'server.source_missing': "The version this round stays close to is not in the workspace.";
|
|
245
|
+
readonly 'server.reference_too_large': "The picture is too large for a reference search.";
|
|
246
|
+
readonly 'server.no_fresh_references': "Most matching references were used in earlier rounds. Select some inspiration or add a note.";
|
|
247
|
+
readonly 'server.search_limit': "Reference search is at its limit for now. Try again later.";
|
|
248
|
+
readonly 'server.round_limit': "This workspace has reached its round limit.";
|
|
249
|
+
readonly 'server.concept_over_limit': "The brief plus your note is {count} characters; at most {max} fit. Shorten the note by {over, plural, one {# character} other {# characters}}.";
|
|
250
|
+
readonly 'server.superseded': "A newer action on this option replaced this one.";
|
|
251
|
+
readonly 'server.not_resumable': "This work is not waiting to be resumed.";
|
|
252
|
+
readonly 'server.approval_missing': "This work cannot resume: what was approved for it is missing on this Mac.";
|
|
253
|
+
readonly 'server.approval_mismatch': "This work cannot resume: it no longer matches what was approved.";
|
|
254
|
+
readonly 'server.runner_not_started': "The background worker did not start: {detail}";
|
|
255
|
+
readonly 'server.image_too_large': "This picture is too large to show here. Open the file instead.";
|
|
256
|
+
};
|
|
257
|
+
/** The whole English catalogue: every key a translation carries. */
|
|
258
|
+
export declare const SLATE_UI_MESSAGES: {
|
|
259
|
+
readonly 'server.unknown_workspace': "This Design workspace is not available. Ask your agent to open a new one.";
|
|
260
|
+
readonly 'server.unknown_version': "That option is not in this workspace.";
|
|
261
|
+
readonly 'server.unknown_reference': "That reference is not part of this workspace.";
|
|
262
|
+
readonly 'server.unknown_op': "That request is not in this workspace.";
|
|
263
|
+
readonly 'server.intent_conflict': "This request was already used for something different. Try again.";
|
|
264
|
+
readonly 'server.too_many_open_requests': "{count, plural, one {# request is} other {# requests are}} already waiting for your agent.";
|
|
265
|
+
readonly 'server.op_already_resolved': "This request was already answered.";
|
|
266
|
+
readonly 'server.workspace_full': "This workspace is full. Open a new one.";
|
|
267
|
+
readonly 'server.workspace_busy': "The workspace is busy. Try again in a moment.";
|
|
268
|
+
readonly 'server.payload_too_large': "The picture is too large to send.";
|
|
269
|
+
readonly 'server.state_invalid': "The record of this workspace is damaged. Open a new one.";
|
|
270
|
+
readonly 'server.service_unavailable': "The workspace service is unavailable. Try again shortly.";
|
|
271
|
+
readonly 'server.candidate_busy': "{label} is still busy with earlier work.";
|
|
272
|
+
readonly 'server.rate_limited': "Too many requests. Try again in {seconds, plural, one {# second} other {# seconds}}.";
|
|
273
|
+
readonly 'server.agent_no_response': "Your agent did not add the options. Ask it again.";
|
|
274
|
+
readonly 'server.agent_failed': "Your agent could not draw this: {reason}";
|
|
275
|
+
readonly 'server.corpus_unavailable': "The reference collection could not be reached. Try again shortly.";
|
|
276
|
+
readonly 'server.result_too_large': "That picture is too large to show here.";
|
|
277
|
+
readonly 'server.concept_too_long': "The brief plus your note is too long. Shorten the note.";
|
|
278
|
+
readonly 'server.note_too_long': "A note can be at most {max, plural, one {# character} other {# characters}}.";
|
|
279
|
+
readonly 'server.explanation_too_long': "A description can be at most {max, plural, one {# character} other {# characters}}.";
|
|
280
|
+
readonly 'server.edit_prompt_too_long': "This instruction is too long. Shorten it, then apply it again.";
|
|
281
|
+
readonly 'server.edit_needs_input': "Draw on the image or say what should change.";
|
|
282
|
+
readonly 'server.search_empty': "Type something to search for.";
|
|
283
|
+
readonly 'server.selection_max': "At most {max} references can be selected.";
|
|
284
|
+
readonly 'server.draw_no_image': "Codex did not return a picture for this option.";
|
|
285
|
+
readonly 'server.draw_protocol': "Codex made more than one picture for this option.";
|
|
286
|
+
readonly 'server.draw_timeout': "Codex took too long to draw this option.";
|
|
287
|
+
readonly 'server.draw_inputs_changed': "This option was drawn on this Mac with different inputs and cannot be drawn again here.";
|
|
288
|
+
readonly 'server.draw_codex_unavailable': "Codex cannot draw on this Mac, and drawing on 12ui needs a 12ui sign-in.";
|
|
289
|
+
readonly 'server.codex_missing': "Codex is not installed on this Mac. Install Codex, then try again.";
|
|
290
|
+
readonly 'server.codex_broken': "Codex could not start on this Mac. Reinstall or update Codex, then try again.";
|
|
291
|
+
readonly 'server.codex_signed_out': "Codex is not signed in on this Mac. Sign in to Codex, then try again.";
|
|
292
|
+
readonly 'server.codex_api_key': "Codex is signed in with an API key. Sign in with your ChatGPT account instead.";
|
|
293
|
+
readonly 'server.codex_login_unknown': "Codex could not confirm its sign-in. Sign in to Codex again, then try again.";
|
|
294
|
+
readonly 'server.codex_outdated': "This version of Codex is too old to draw here. Update Codex, then try again.";
|
|
295
|
+
readonly 'server.codex_model_missing': "Codex has not loaded the image model for this account. Open Codex once, then try again.";
|
|
296
|
+
readonly 'server.codex_images_off': "Image generation is turned off in Codex. Turn it on, then try again.";
|
|
297
|
+
readonly 'server.codex_not_ready': "Codex is not ready to draw on this Mac.";
|
|
298
|
+
readonly 'server.file_missing': "This version's file is missing on this Mac.";
|
|
299
|
+
readonly 'server.file_changed': "This version's file changed on disk.";
|
|
300
|
+
readonly 'server.option_not_drawn': "This option could not be drawn.";
|
|
301
|
+
readonly 'server.image_no_return': "No picture came back for this option.";
|
|
302
|
+
readonly 'server.image_call_running': "This picture is already being drawn.";
|
|
303
|
+
readonly 'server.image_inputs_changed': "This picture was started with different inputs.";
|
|
304
|
+
readonly 'server.inspiration_fetch_failed': "The inspiration picture could not be fetched.";
|
|
305
|
+
readonly 'server.no_option_drawn': "No option could be drawn.";
|
|
306
|
+
readonly 'server.source_changed': "The picture this round started from changed after the click.";
|
|
307
|
+
readonly 'server.source_missing': "The version this round stays close to is not in the workspace.";
|
|
308
|
+
readonly 'server.reference_too_large': "The picture is too large for a reference search.";
|
|
309
|
+
readonly 'server.no_fresh_references': "Most matching references were used in earlier rounds. Select some inspiration or add a note.";
|
|
310
|
+
readonly 'server.search_limit': "Reference search is at its limit for now. Try again later.";
|
|
311
|
+
readonly 'server.round_limit': "This workspace has reached its round limit.";
|
|
312
|
+
readonly 'server.concept_over_limit': "The brief plus your note is {count} characters; at most {max} fit. Shorten the note by {over, plural, one {# character} other {# characters}}.";
|
|
313
|
+
readonly 'server.superseded': "A newer action on this option replaced this one.";
|
|
314
|
+
readonly 'server.not_resumable': "This work is not waiting to be resumed.";
|
|
315
|
+
readonly 'server.approval_missing': "This work cannot resume: what was approved for it is missing on this Mac.";
|
|
316
|
+
readonly 'server.approval_mismatch': "This work cannot resume: it no longer matches what was approved.";
|
|
317
|
+
readonly 'server.runner_not_started': "The background worker did not start: {detail}";
|
|
318
|
+
readonly 'server.image_too_large': "This picture is too large to show here. Open the file instead.";
|
|
319
|
+
readonly browserSessionEnded: "The session ended";
|
|
320
|
+
readonly browserRunAgain: "Run the command again to reopen the workspace.";
|
|
321
|
+
readonly browserNotRunning: "The 12ui session is not running.";
|
|
322
|
+
readonly browserChoiceSent: "Choice sent";
|
|
323
|
+
readonly browserRequestSent: "Request sent";
|
|
324
|
+
readonly browserAgentHasIt: "Your agent has it. You can close this tab.";
|
|
325
|
+
readonly browserSessionAnswered: "The session answered {status}.";
|
|
326
|
+
readonly formatAssets: "Assets";
|
|
327
|
+
readonly formatResponsiveHtml: "Responsive HTML";
|
|
328
|
+
readonly formatFixedHtml: "Fixed HTML";
|
|
329
|
+
readonly convertHelpLocalHtml: "Editable HTML and CSS, built on this Mac.";
|
|
330
|
+
readonly convertHelpLocalReact: "Editable React components and CSS, built on this Mac.";
|
|
331
|
+
readonly convertHelpLocalAssets: "The design's images as separate files, cut out on this Mac.";
|
|
332
|
+
readonly convertHelpServiceHtml: "Responsive HTML that adapts to screen widths, built by 12ui.";
|
|
333
|
+
readonly convertHelpServiceLayerdoc: "An editable layered document, built by 12ui.";
|
|
334
|
+
readonly convertHelpServiceHtmlFixed: "Fixed-width HTML that matches the picture, built by 12ui.";
|
|
335
|
+
readonly convertHelpServiceSvg: "A vector SVG, built by 12ui.";
|
|
336
|
+
readonly convertHelpServicePng: "A PNG image at the width you choose, made by 12ui.";
|
|
337
|
+
readonly convertHelpServiceJpg: "A JPG image at the width you choose, made by 12ui.";
|
|
338
|
+
readonly convertHelpServiceWebp: "A WebP image at the width you choose, made by 12ui.";
|
|
339
|
+
readonly convertHelpServicePdf: "A PDF file with editable layers, made by 12ui.";
|
|
340
|
+
readonly convertHelpServicePsd: "A PSD file with editable layers, made by 12ui.";
|
|
341
|
+
readonly convertHelpServicePptx: "A PowerPoint file with editable layers, made by 12ui.";
|
|
342
|
+
readonly convertHelpServiceSketch: "A Sketch file with editable layers, made by 12ui.";
|
|
343
|
+
readonly convertHelpRemoteHtml: "Your agent builds editable HTML from this image in your project.";
|
|
344
|
+
readonly convertHelpRemoteReact: "Your agent builds React components from this image in your project.";
|
|
345
|
+
readonly title: "Design workspace";
|
|
346
|
+
readonly empty: "No finished draft run was found. Start one, then open this again.";
|
|
347
|
+
readonly tabDesigns: "Designs";
|
|
348
|
+
readonly tabInspiration: "Inspiration";
|
|
349
|
+
readonly openWorkspace: "Open workspace";
|
|
350
|
+
readonly closeWorkspace: "Close workspace";
|
|
351
|
+
readonly select: "Select";
|
|
352
|
+
readonly selected: "Selected";
|
|
353
|
+
readonly edit: "Edit";
|
|
354
|
+
readonly branch: "Branch";
|
|
355
|
+
readonly convert: "Convert";
|
|
356
|
+
readonly generate: "Generate";
|
|
357
|
+
readonly apply: "Apply";
|
|
358
|
+
readonly send: "Send";
|
|
359
|
+
readonly search: "Search";
|
|
360
|
+
readonly resume: "Resume";
|
|
361
|
+
readonly cancel: "Cancel";
|
|
362
|
+
readonly clear: "Clear";
|
|
363
|
+
readonly undo: "Undo";
|
|
364
|
+
readonly change: "Change";
|
|
365
|
+
readonly continueRound: "Continue";
|
|
37
366
|
readonly generateMore: "Generate more";
|
|
38
367
|
readonly moreHelpFresh: "Draws new options from fresh references.";
|
|
39
368
|
readonly moreHelpSelected: "Draws new options from your selected inspiration.";
|
|
@@ -44,11 +373,22 @@ export declare const SLATE_UI_COPY: {
|
|
|
44
373
|
readonly removeReference: "Remove {name}";
|
|
45
374
|
readonly moreNotePlaceholder: "Describe how they should differ (optional)";
|
|
46
375
|
readonly moreCountLabel: "How many";
|
|
376
|
+
readonly pauseLabel: "Before drawing";
|
|
377
|
+
readonly pauseCountdown: "Starting in {n} s. Change any reference, or press Continue.";
|
|
378
|
+
readonly pauseHeld: "Paused. Press Continue when ready.";
|
|
379
|
+
readonly pauseStarting: "Starting.";
|
|
380
|
+
readonly pauseDrawsFrom: "Option {label} will be drawn from this reference.";
|
|
381
|
+
readonly pauseReferenceFor: "Reference for {label}";
|
|
382
|
+
readonly pauseNoReference: "No reference yet. Choose one in Inspiration.";
|
|
383
|
+
readonly pauseNone: "Choose at least one reference.";
|
|
384
|
+
readonly pauseAtMost: "{n} at most, one per option.";
|
|
385
|
+
readonly pauseFrom: "{m, plural, one {Every option is drawn from # reference.} other {{n} options are drawn from # references, in turn.}}";
|
|
47
386
|
readonly scribbleHint: "Draw on the image to show where. An X or a circle is enough.";
|
|
48
387
|
readonly editAria: "Edit instruction";
|
|
49
388
|
readonly editPlaceholder: "Optional if you drew on the image. For example, make the headline larger.";
|
|
50
389
|
readonly editHelp: "Applies the change to {label} and saves the result as a new version.";
|
|
51
390
|
readonly editHelpMarks: "Marks only: the change is inferred from what you drew.";
|
|
391
|
+
readonly editTooLong: "This instruction is too long. Shorten it by {n, plural, one {# character} other {# characters}}.";
|
|
52
392
|
readonly branchAria: "What to build";
|
|
53
393
|
readonly branchPlaceholder: "Optional. Which pages or states to add, for example pricing, sign in and settings.";
|
|
54
394
|
readonly branchHelp: "Your agent expands this design into more pages and app states.";
|
|
@@ -71,14 +411,27 @@ export declare const SLATE_UI_COPY: {
|
|
|
71
411
|
readonly searching: "Searching.";
|
|
72
412
|
readonly eightAtMost: "Eight at most.";
|
|
73
413
|
readonly searchFailed: "Search failed: {message}";
|
|
74
|
-
readonly tryAgain: "Try again in {n} seconds.";
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
414
|
+
readonly tryAgain: "Try again in {n, plural, one {# second} other {# seconds}}.";
|
|
415
|
+
readonly queryFrom: "The words {count, plural, one {round {rounds}} other {rounds {rounds}}} searched.";
|
|
416
|
+
readonly queryNewestOthers: "The newest words, from {count, plural, one {round {rounds}} other {rounds {rounds}}}. {otherCount, plural, one {Round {others}} other {Rounds {others}}} searched other words.";
|
|
417
|
+
readonly queryLastSearch: "Your last search.";
|
|
418
|
+
readonly queryCut: "A search takes the first {n} characters.";
|
|
419
|
+
readonly resultsMax: "{n, plural, one {# result} other {# results}}, the most one search returns.";
|
|
420
|
+
readonly resultsCount: "{n, plural, one {# result.} other {# results.}}";
|
|
421
|
+
readonly usedIn: "Used in {places}";
|
|
422
|
+
readonly usedPlace: "{options, plural, =0 {round {round}} one {round {round}, option {labels}} other {round {round}, options {labels}}}";
|
|
423
|
+
readonly usedSeparator: "; ";
|
|
424
|
+
readonly selectionDraws: "{m, plural, one {# selected. Draws {n} new options from it.} other {# selected. Draws {n} new options from them.}}";
|
|
425
|
+
readonly roundRunning: "Wait for the running round to finish.";
|
|
426
|
+
readonly roundHeading: "Round {n}";
|
|
427
|
+
readonly likeTitle: "Like {label}";
|
|
77
428
|
readonly newOptionsTitle: "New options";
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
429
|
+
readonly optionName: "Option {label}";
|
|
430
|
+
readonly optionNameFailed: "Option {label}, failed";
|
|
431
|
+
readonly versionName: "Version {label}";
|
|
432
|
+
readonly versionTitle: "{label}: {prompt}";
|
|
433
|
+
readonly versionTitleMarks: "{label}: drawn marks only";
|
|
434
|
+
readonly referenceName: "Reference {description}";
|
|
82
435
|
readonly optionsGroup: "Options";
|
|
83
436
|
readonly fileMissing: "File missing on this Mac";
|
|
84
437
|
readonly fileChanged: "This file changed on disk";
|
|
@@ -91,34 +444,51 @@ export declare const SLATE_UI_COPY: {
|
|
|
91
444
|
readonly sent: "Sent to the agent.";
|
|
92
445
|
readonly sentRefused: "Recorded the request, but the host did not take the message: {detail}";
|
|
93
446
|
readonly designing: "Designing.";
|
|
94
|
-
readonly waitingForAgent: "Waiting for your agent.";
|
|
95
447
|
readonly designingProgress: "Designing. {n} of {m} ready.";
|
|
96
448
|
readonly editing: "Editing {label}.";
|
|
97
|
-
readonly roundReadyOne: "1 new option is ready.";
|
|
98
|
-
readonly roundReadyMany: "{n} new options are ready.";
|
|
99
|
-
readonly roundFailed: "{n} failed.";
|
|
100
|
-
readonly editReady: "{label} is ready.";
|
|
101
449
|
readonly interrupted: "Work stopped before it finished.";
|
|
450
|
+
readonly sentenceJoin: "{first} {second}";
|
|
102
451
|
readonly markFailed: "Could not draw the marks on the image: {detail}";
|
|
103
|
-
readonly
|
|
452
|
+
readonly markReadFailed: "the image could not be read";
|
|
453
|
+
readonly markNoCanvas: "no canvas is available";
|
|
454
|
+
readonly markNoSize: "the image has no size";
|
|
455
|
+
readonly markNoJpeg: "the canvas could not export the picture";
|
|
456
|
+
readonly markTooLarge: "the marked image would be too large";
|
|
457
|
+
readonly noConnection: "Could not connect to the host: {detail}";
|
|
104
458
|
readonly needsHost: "This view needs a host that can show apps. Open it where ui:// resources render.";
|
|
105
|
-
readonly toolError: "The tool returned an error";
|
|
459
|
+
readonly toolError: "The tool returned an error.";
|
|
460
|
+
readonly toolErrorDetail: "The tool returned an error: {detail}";
|
|
461
|
+
readonly toolFailed: "The tool failed.";
|
|
462
|
+
readonly toolCancelled: "The tool call was cancelled: {detail}";
|
|
463
|
+
readonly toolCancelledNoReason: "The tool call was cancelled.";
|
|
464
|
+
readonly requestFailed: "The request failed.";
|
|
465
|
+
readonly pictureNotReturned: "No picture came back.";
|
|
106
466
|
readonly noView: "The tool result has no workspace.";
|
|
107
467
|
};
|
|
108
468
|
export type SlateUiCopy = typeof SLATE_UI_COPY;
|
|
469
|
+
export type SlateUiMessageKey = keyof typeof SLATE_UI_MESSAGES;
|
|
470
|
+
/** A translation: every key of the English catalogue, each an ICU message with the same values. */
|
|
471
|
+
export type SlateUiMessages = {
|
|
472
|
+
readonly [K in SlateUiMessageKey]: string;
|
|
473
|
+
};
|
|
474
|
+
/** The catalogue keys the browser page around the screen uses (it carries only these). */
|
|
475
|
+
export declare const SLATE_BROWSER_PAGE_KEYS: readonly ["title", "browserSessionEnded", "browserRunAgain", "browserNotRunning", "browserChoiceSent", "browserRequestSent", "browserAgentHasIt", "browserSessionAnswered"];
|
|
109
476
|
/**
|
|
110
477
|
* The choices of the Convert dialog's Format select, in the order it offers
|
|
111
478
|
* them: three local formats (an unlabeled group), then the 12ui service
|
|
112
479
|
* formats. Labels of the service group come from the conversion catalogue so
|
|
113
480
|
* this list cannot drift from the CLI; `react` and `assets` are the two local
|
|
114
481
|
* exports the catalogue does not carry (see cli-local-export.ts). `value` is
|
|
115
|
-
* unique across the two engines (`html` exists in both).
|
|
482
|
+
* unique across the two engines (`html` exists in both). `labelKey` names the
|
|
483
|
+
* catalogue message of a label that carries words (its English equals `label`);
|
|
484
|
+
* a product or file name has none and is shown as it is.
|
|
116
485
|
*/
|
|
117
486
|
type ConvertChoice = {
|
|
118
487
|
value: string;
|
|
119
488
|
engine: 'local' | 'service';
|
|
120
489
|
output: SlateConvertOutput;
|
|
121
490
|
label: string;
|
|
491
|
+
labelKey?: SlateUiMessageKey;
|
|
122
492
|
};
|
|
123
493
|
export declare const SLATE_CONVERT_CHOICES: readonly ConvertChoice[];
|
|
124
494
|
/**
|
|
@@ -127,19 +497,19 @@ export declare const SLATE_CONVERT_CHOICES: readonly ConvertChoice[];
|
|
|
127
497
|
* needs the CLI on the person's machine).
|
|
128
498
|
*/
|
|
129
499
|
export declare const SLATE_REMOTE_CONVERT_CHOICES: readonly ConvertChoice[];
|
|
130
|
-
/**
|
|
131
|
-
|
|
132
|
-
* copy object: it names formats (HTML, PNG), which the copy test's no-all-caps rule is about labels, not sentences.
|
|
133
|
-
*/
|
|
134
|
-
export declare const SLATE_CONVERT_DESCRIPTIONS: Readonly<Record<string, string>>;
|
|
500
|
+
/** The catalogue message of the line under the Format select, keyed by the choice's value. */
|
|
501
|
+
export declare const SLATE_CONVERT_DESCRIPTION_KEYS: Readonly<Record<string, SlateUiMessageKey>>;
|
|
135
502
|
/** The hosted target's lines: its agent builds in the person's own project, so nothing is built on a Mac or by 12ui. */
|
|
503
|
+
export declare const SLATE_REMOTE_CONVERT_DESCRIPTION_KEYS: Readonly<Record<string, SlateUiMessageKey>>;
|
|
504
|
+
/** The English lines, by choice value, for the copy tests and the CLI's own words. */
|
|
505
|
+
export declare const SLATE_CONVERT_DESCRIPTIONS: Readonly<Record<string, string>>;
|
|
136
506
|
export declare const SLATE_REMOTE_CONVERT_DESCRIPTIONS: Readonly<Record<string, string>>;
|
|
137
507
|
/** The widest output the CLI accepts (`MAX_IMAGE_OUTPUT_WIDTH`, pinned equal by a test; that module needs sharp). */
|
|
138
508
|
export declare const SLATE_CONVERT_MAX_WIDTH = 8192;
|
|
139
509
|
/** How many options the Generate more panel offers, and the one it starts on. A control, so it is not in the copy. */
|
|
140
510
|
export declare const SLATE_MORE_COUNTS: {
|
|
141
|
-
readonly choices: readonly [1, 2, 4, 8, 12];
|
|
142
|
-
readonly initial:
|
|
511
|
+
readonly choices: readonly [1, 2, 4, 6, 8, 12];
|
|
512
|
+
readonly initial: 6;
|
|
143
513
|
};
|
|
144
514
|
export {};
|
|
145
515
|
//# sourceMappingURL=mcp-slate-ui-copy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-slate-ui-copy.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-copy.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEnE
|
|
1
|
+
{"version":3,"file":"mcp-slate-ui-copy.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-copy.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoKhB,CAAC;AAGX;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;CAyBpB,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;CAU1B,CAAC;AAEX;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEpB,CAAC;AAEX,oEAAoE;AACpE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwG,CAAC;AAEvI,MAAM,MAAM,WAAW,GAAG,OAAO,aAAa,CAAC;AAC/C,M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