@12ui/design 0.2.71 → 0.2.72

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.
Files changed (116) hide show
  1. package/README.md +5 -0
  2. package/SKILL.md +1 -1
  3. package/dist/cli-capabilities.d.ts +9 -0
  4. package/dist/cli-capabilities.d.ts.map +1 -1
  5. package/dist/cli-capabilities.js +10 -0
  6. package/dist/cli-capabilities.js.map +1 -1
  7. package/dist/cli-help/index.d.ts +93 -0
  8. package/dist/cli-help/index.d.ts.map +1 -1
  9. package/dist/cli-help/index.js +2 -0
  10. package/dist/cli-help/index.js.map +1 -1
  11. package/dist/cli-help/scene.d.ts +96 -0
  12. package/dist/cli-help/scene.d.ts.map +1 -0
  13. package/dist/cli-help/scene.js +162 -0
  14. package/dist/cli-help/scene.js.map +1 -0
  15. package/dist/cli-run.d.ts.map +1 -1
  16. package/dist/cli-run.js +6 -0
  17. package/dist/cli-run.js.map +1 -1
  18. package/dist/cli-scene-command.d.ts +3 -0
  19. package/dist/cli-scene-command.d.ts.map +1 -0
  20. package/dist/cli-scene-command.js +292 -0
  21. package/dist/cli-scene-command.js.map +1 -0
  22. package/dist/cli-usage.d.ts +8 -0
  23. package/dist/cli-usage.d.ts.map +1 -1
  24. package/dist/cli-usage.js +26 -1
  25. package/dist/cli-usage.js.map +1 -1
  26. package/dist/legacy-skill-catalog.d.ts.map +1 -1
  27. package/dist/legacy-skill-catalog.js +11 -0
  28. package/dist/legacy-skill-catalog.js.map +1 -1
  29. package/dist/prototype-browsers.d.ts +8 -2
  30. package/dist/prototype-browsers.d.ts.map +1 -1
  31. package/dist/prototype-browsers.js +8 -3
  32. package/dist/prototype-browsers.js.map +1 -1
  33. package/dist/prototype-process.js +1 -1
  34. package/dist/prototype-process.js.map +1 -1
  35. package/dist/run-journal-commands.d.ts.map +1 -1
  36. package/dist/run-journal-commands.js +6 -0
  37. package/dist/run-journal-commands.js.map +1 -1
  38. package/dist/scene/camera-model.d.ts +48 -0
  39. package/dist/scene/camera-model.d.ts.map +1 -0
  40. package/dist/scene/camera-model.js +89 -0
  41. package/dist/scene/camera-model.js.map +1 -0
  42. package/dist/scene/camera-solve.d.ts +58 -0
  43. package/dist/scene/camera-solve.d.ts.map +1 -0
  44. package/dist/scene/camera-solve.js +288 -0
  45. package/dist/scene/camera-solve.js.map +1 -0
  46. package/dist/scene/capture-plan.d.ts +28 -0
  47. package/dist/scene/capture-plan.d.ts.map +1 -0
  48. package/dist/scene/capture-plan.js +79 -0
  49. package/dist/scene/capture-plan.js.map +1 -0
  50. package/dist/scene/capture.d.ts +21 -0
  51. package/dist/scene/capture.d.ts.map +1 -0
  52. package/dist/scene/capture.js +118 -0
  53. package/dist/scene/capture.js.map +1 -0
  54. package/dist/scene/image-colors.d.ts +25 -0
  55. package/dist/scene/image-colors.d.ts.map +1 -0
  56. package/dist/scene/image-colors.js +110 -0
  57. package/dist/scene/image-colors.js.map +1 -0
  58. package/dist/scene/image-rectify.d.ts +25 -0
  59. package/dist/scene/image-rectify.d.ts.map +1 -0
  60. package/dist/scene/image-rectify.js +82 -0
  61. package/dist/scene/image-rectify.js.map +1 -0
  62. package/dist/scene/image-sheet.d.ts +19 -0
  63. package/dist/scene/image-sheet.d.ts.map +1 -0
  64. package/dist/scene/image-sheet.js +118 -0
  65. package/dist/scene/image-sheet.js.map +1 -0
  66. package/dist/scene/least-squares.d.ts +31 -0
  67. package/dist/scene/least-squares.d.ts.map +1 -0
  68. package/dist/scene/least-squares.js +173 -0
  69. package/dist/scene/least-squares.js.map +1 -0
  70. package/dist/scene/numbers.d.ts +17 -0
  71. package/dist/scene/numbers.d.ts.map +1 -0
  72. package/dist/scene/numbers.js +39 -0
  73. package/dist/scene/numbers.js.map +1 -0
  74. package/dist/scene/placement.d.ts +43 -0
  75. package/dist/scene/placement.d.ts.map +1 -0
  76. package/dist/scene/placement.js +107 -0
  77. package/dist/scene/placement.js.map +1 -0
  78. package/dist/scene/raster.d.ts +18 -0
  79. package/dist/scene/raster.d.ts.map +1 -0
  80. package/dist/scene/raster.js +31 -0
  81. package/dist/scene/raster.js.map +1 -0
  82. package/dist/scene/scene-kit.d.ts +20 -0
  83. package/dist/scene/scene-kit.d.ts.map +1 -0
  84. package/dist/scene/scene-kit.js +74 -0
  85. package/dist/scene/scene-kit.js.map +1 -0
  86. package/dist/scene/scene-verbs.d.ts +4 -0
  87. package/dist/scene/scene-verbs.d.ts.map +1 -0
  88. package/dist/scene/scene-verbs.js +5 -0
  89. package/dist/scene/scene-verbs.js.map +1 -0
  90. package/dist/scene/seeded-random.d.ts +20 -0
  91. package/dist/scene/seeded-random.d.ts.map +1 -0
  92. package/dist/scene/seeded-random.js +42 -0
  93. package/dist/scene/seeded-random.js.map +1 -0
  94. package/dist/scene/spec-expression.d.ts +25 -0
  95. package/dist/scene/spec-expression.d.ts.map +1 -0
  96. package/dist/scene/spec-expression.js +234 -0
  97. package/dist/scene/spec-expression.js.map +1 -0
  98. package/dist/scene/static-server.d.ts +13 -0
  99. package/dist/scene/static-server.d.ts.map +1 -0
  100. package/dist/scene/static-server.js +99 -0
  101. package/dist/scene/static-server.js.map +1 -0
  102. package/open-design.json +2 -2
  103. package/package.json +3 -1
  104. package/scene-kit/starter/camera.js +10 -0
  105. package/scene-kit/starter/gobo.js +60 -0
  106. package/scene-kit/starter/index.html +23 -0
  107. package/scene-kit/starter/lib.js +84 -0
  108. package/scene-kit/starter/main.js +78 -0
  109. package/scene-kit/starter/scene.js +33 -0
  110. package/scene-kit/vendor/LICENSE +21 -0
  111. package/scene-kit/vendor/addons/geometries/RoundedBoxGeometry.js +216 -0
  112. package/scene-kit/vendor/addons/renderers/CSS3DRenderer.js +454 -0
  113. package/scene-kit/vendor/three.core.js +60586 -0
  114. package/scene-kit/vendor/three.module.js +19719 -0
  115. package/skills/12ui-design/SKILL.md +7 -1
  116. package/skills/12ui-design/scene.md +172 -0
package/README.md CHANGED
@@ -99,6 +99,11 @@ keep their backend; external requires the separate key before inference starts.
99
99
  Native does not imply zero cost or a known image model.
100
100
  The CLI owns runtime setup; the skill contains workflow guidance.
101
101
 
102
+ The skill's `scene.md` guide rebuilds a design image as a live Three.js scene
103
+ with the local `12ui scene` tools (`12ui scene --help`): camera solve, placement,
104
+ a starter harness with a bundled three.js, capture with the managed Chromium,
105
+ and review sheets. It needs no account and makes no network request.
106
+
102
107
  `improve --apply` captures the URL and edits the actual repository. Without a
103
108
  target it drafts candidates, stops for an explicit choice, then applies that
104
109
  choice locally. Without `--apply`, the existing hosted implementation-kit behavior
package/SKILL.md CHANGED
@@ -28,7 +28,7 @@ dispatch paid work when it is absent, rejected, or times out.
28
28
  Use `12ui` when it is available on `PATH`. Otherwise invoke the pinned CLI that
29
29
  the plugin's `open-design.json` MCP entry uses:
30
30
 
31
- npx -y @12ui/design@0.2.71 <command> ...
31
+ npx -y @12ui/design@0.2.72 <command> ...
32
32
 
33
33
  Run `12ui auth status --json` (or its pinned `npx` equivalent) before the paid
34
34
  preflight. A desktop user can authenticate with `12ui auth login`; a headless
@@ -24,6 +24,15 @@ export declare const CLI_CAPABILITIES: {
24
24
  readonly withoutTarget: "Draft candidates, require an explicit pick, then edit the actual project locally.";
25
25
  readonly withoutApply: "Hosted implementation kit; does not edit project source.";
26
26
  };
27
+ /** Local helpers for rebuilding a design image as a live Three.js scene (the 12ui-design skill's scene.md). */
28
+ readonly localScene: {
29
+ readonly command: "12ui scene <verb>";
30
+ readonly verbs: readonly ["init", "solve", "ray", "project", "rect", "serve", "capture", "sheet", "blend", "colors", "rectify"];
31
+ readonly network: "none";
32
+ readonly browser: "managed Chromium for capture";
33
+ readonly skill: "12ui-design";
34
+ readonly guide: "scene.md";
35
+ };
27
36
  readonly localExport: {
28
37
  readonly command: "12ui export <run-dir|output-dir> --output <format> --out-dir <directory>";
29
38
  readonly outputs: readonly ["assets", "png", "jpg", "webp", "pdf", "react"];
@@ -1 +1 @@
1
- {"version":3,"file":"cli-capabilities.d.ts","sourceRoot":"","sources":["../src/cli-capabilities.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuE3B;;;;;OAKG;;;;;;;;;;;IAeH;;;;;;OAMG;;;;;;;QAUD,iFAAiF;;;IAGnF;;;;;;OAMG;;;QAGD,yEAAyE;;;;;QASzE,6EAA6E;;QAE7E,6EAA6E;;;;;;;IAO/E,uEAAuE;;;;;;;;;;;;QAYrE;;;WAGG;;;;;;;;;;;;;;;;;;CAkBG,CAAC"}
1
+ {"version":3,"file":"cli-capabilities.d.ts","sourceRoot":"","sources":["../src/cli-capabilities.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;IA8B3B,+GAA+G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkD/G;;;;;OAKG;;;;;;;;;;;IAeH;;;;;;OAMG;;;;;;;QAUD,iFAAiF;;;IAGnF;;;;;;OAMG;;;QAGD,yEAAyE;;;;;QASzE,6EAA6E;;QAE7E,6EAA6E;;;;;;;IAO/E,uEAAuE;;;;;;;;;;;;QAYrE;;;WAGG;;;;;;;;;;;;;;;;;;CAkBG,CAAC"}
@@ -5,6 +5,7 @@ import { CLI_CONVERSION_OUTPUTS, CONVERSION_OUTPUT_MEDIA_TYPES, } from './conver
5
5
  import { MAX_IMAGE_OUTPUT_WIDTH } from './image-output-width.js';
6
6
  import { RESPONSIVE_CONVERSION_QUALITIES } from './responsive-quality.js';
7
7
  import { RUN_JOURNAL_FILENAME, RUN_JOURNAL_VERSION } from './run-journal.js';
8
+ import { SCENE_VERBS } from './scene/scene-verbs.js';
8
9
  export const CLI_CAPABILITIES = {
9
10
  inputs: [
10
11
  'image/png',
@@ -34,6 +35,15 @@ export const CLI_CAPABILITIES = {
34
35
  withoutTarget: 'Draft candidates, require an explicit pick, then edit the actual project locally.',
35
36
  withoutApply: 'Hosted implementation kit; does not edit project source.',
36
37
  },
38
+ /** Local helpers for rebuilding a design image as a live Three.js scene (the 12ui-design skill's scene.md). */
39
+ localScene: {
40
+ command: '12ui scene <verb>',
41
+ verbs: SCENE_VERBS,
42
+ network: 'none',
43
+ browser: 'managed Chromium for capture',
44
+ skill: '12ui-design',
45
+ guide: 'scene.md',
46
+ },
37
47
  localExport: {
38
48
  command: '12ui export <run-dir|output-dir> --output <format> --out-dir <directory>',
39
49
  outputs: ['assets', 'png', 'jpg', 'webp', 'pdf', 'react'],
@@ -1 +1 @@
1
- {"version":3,"file":"cli-capabilities.js","sourceRoot":"","sources":["../src/cli-capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EACL,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE;QACN,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,6BAA6B,CAAC,QAAQ;KACvC;IACD,OAAO,EAAE,sBAAsB;IAC/B,iBAAiB,EACf,sGAAsG;UACpG,sGAAsG;IAC1G,iBAAiB,EAAE;QACjB,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC;QAChC,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,kBAAkB;QAC/B,YAAY,EAAE,CAAC,MAAM,CAAC;QACtB,a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sBAAsB;QAC1C,QAAQ,EAAE,gBAAgB;QAC1B;;;WAGG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,oBAAoB;YAC1B,OAAO,EAAE,+BAA+B;YACxC,OAAO,EAAE,EAAE;SACZ;QACD,sBAAsB,EAAE,wBAAwB,CAAC,aAAa;KAC/D;IACD,SAAS,EAAE;QACT,OAAO,EAAE,0BAA0B;QACnC,UAAU,EAAE,uCAAuC;QACnD,UAAU,EAAE,2DAA2D;QACvE,MAAM,EAAE,4CAA4C;QACpD,WAAW,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC;QACtD,UAAU,EAAE,iDAAiD;QAC7D,UAAU,EAAE,mGAAmG;QAC/G,SAAS,EAAE,CAAC,kBAAkB,EAAE,+DAA+D,CAAC;KACjG;CACO,CAAC"}
@@ -1,6 +1,99 @@
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
+ };
4
97
  readonly capabilities: {
5
98
  readonly summary: "Print the machine-readable 12ui capability contract as JSON.";
6
99
  readonly sections: readonly [{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli-help/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAS,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"}
@@ -1,6 +1,7 @@
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';
5
6
  export { renderHelpContext } from './render.js';
6
7
  export const CLI_HELP_CONTEXTS = {
@@ -8,6 +9,7 @@ export const CLI_HELP_CONTEXTS = {
8
9
  ...DESIGN_HELP,
9
10
  ...CONVERSION_HELP,
10
11
  ...META_HELP,
12
+ ...SCENE_HELP,
11
13
  };
12
14
  const POSITIONAL_HELP_FAMILIES = new Set(['convert']);
13
15
  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;AAGxC,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;CACqB,CAAC;AAEpC,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAA0B,EAAqB,E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,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"}
@@ -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"}
@@ -0,0 +1,162 @@
1
+ export const SCENE_HELP = {
2
+ scene: {
3
+ summary: 'Local tools for rebuilding a design image as a live Three.js scene (scene.md in the 12ui-design skill).',
4
+ sections: [
5
+ {
6
+ heading: 'Verbs',
7
+ items: [
8
+ 'init — copy the starter harness and the bundled three.js r186 into a new scene folder.',
9
+ 'solve — solve the camera from landmarks; ray, project and rect place objects through it.',
10
+ 'serve — serve a scene folder on 127.0.0.1; capture — headless landing, orbit and action shots.',
11
+ 'sheet and blend — contact sheet and source/render overlay; colors — colour and difference sampling.',
12
+ 'rectify — flatten a perspective quad of the source (a screen, a label) into a texture.',
13
+ ],
14
+ },
15
+ {
16
+ heading: 'Local only',
17
+ items: [
18
+ 'Every verb reads and writes only the paths on its command line. No account, no model call, no network.',
19
+ 'capture uses the managed Chromium and blocks every request that would leave the machine.',
20
+ ],
21
+ },
22
+ ],
23
+ },
24
+ 'scene init': {
25
+ summary: 'Copy the starter harness and the pinned three.js into a scene folder.',
26
+ sections: [{
27
+ heading: 'Behavior',
28
+ items: [
29
+ 'Writes index.html, main.js, lib.js, gobo.js, camera.js and scene.js, plus vendor/ with three.js r186,'
30
+ + ' its addons and its MIT licence. Nothing is downloaded.',
31
+ 'Refuses, writing nothing, when any of those files already exists. The folder itself may exist.',
32
+ ],
33
+ }],
34
+ },
35
+ 'scene solve': {
36
+ summary: 'Least-squares camera (position, yaw, pitch, roll, vertical fov) from landmarks read off the source.',
37
+ sections: [
38
+ {
39
+ heading: 'Spec',
40
+ items: [
41
+ '{"image": [W, H], "free": {"W": [0.5, 3]}, "fix": {"cy": 1, "fov": 35}, "solve_roll": false,'
42
+ + ' "landmarks": [{"name": "box FL top", "px": [836, 413], "world": ["-W/2", 0.5, "D/2"]}]}',
43
+ 'World coordinates are numbers or expressions in the free names: + - * / // % **, parentheses, pi,'
44
+ + ' and math functions such as sin, cos, sqrt, atan2. Anything else is refused. y is up.',
45
+ 'fix pins cx cy cz, yaw pitch roll (degrees), fov (degrees) or any free name. Give one known length,'
46
+ + ' or scale is free. Roll is pinned to 0 unless solve_roll is true.',
47
+ ],
48
+ },
49
+ {
50
+ heading: 'Reading the output',
51
+ items: [
52
+ 'rmsPx 1-4 is a good solve. Above 4 a landmark is misread or the world model is wrong: drop the'
53
+ + ' worst residual and re-solve.',
54
+ 'fovSensitivity is the rms with fov pinned at 0.6x..1.6x. If it barely changes, the landmarks do not'
55
+ + ' determine fov (coplanar points): pin it, or add a landmark off the plane.',
56
+ 'camera.js is the line to paste into the starter camera.js; clip is the near/far range.',
57
+ 'cam.json keeps the keys of the Python helper, so existing scene folders keep working.',
58
+ ],
59
+ },
60
+ ],
61
+ },
62
+ 'scene ray': {
63
+ summary: 'Cast source pixels through the solved camera onto the plane y = --plane-y.',
64
+ sections: [{
65
+ heading: 'Notes',
66
+ items: ['Prints one "u,v -> x= y= z=" line per pixel; place an object\'s base where its ray lands.'],
67
+ }],
68
+ },
69
+ 'scene project': {
70
+ summary: 'World points to source pixels through the solved camera.',
71
+ sections: [{
72
+ heading: 'Notes',
73
+ items: ['Check every placement against the source with this before modelling further.'],
74
+ }],
75
+ },
76
+ 'scene rect': {
77
+ summary: 'Pose of a rectangle from its four source corners, in the order TL;TR;BR;BL.',
78
+ sections: [{
79
+ heading: 'Forms',
80
+ items: [
81
+ '--plane-y: it lies flat on that plane, any size.',
82
+ '--width and --height: free pose (lean, roll) of a rectangle of that known size. With only one of them'
83
+ + ' the other side is solved, less well determined.',
84
+ 'Prints position, size and a three.js rotation (order YXZ) for a mesh whose face is local xy facing +z.',
85
+ ],
86
+ }],
87
+ },
88
+ 'scene serve': {
89
+ summary: 'Serve a scene folder on 127.0.0.1 for capture and for a browser.',
90
+ sections: [{
91
+ heading: 'Behavior',
92
+ items: [
93
+ 'Prints "serving <dir> on http://127.0.0.1:<port> pid <pid>" and runs until stopped. Stop it by that'
94
+ + ' pid, never by a name pattern. Without --port it takes a free port.',
95
+ 'Serves nothing outside the folder and never caches.',
96
+ ],
97
+ }],
98
+ },
99
+ 'scene capture': {
100
+ summary: 'Headless captures of a served scene: the landing view, orbit angles and every action.',
101
+ sections: [
102
+ {
103
+ heading: 'Views',
104
+ items: [
105
+ 'Default: landing, az-15, az-10, az+10, az+15 (from --orbit) and act-<name> for each action at t = 1.',
106
+ 'A view is name=azimuth:elevation[:action=t,...], degrees about the pivot, e.g. half=0:0:lid=0.5.'
107
+ + ' Views on the command line replace the default set.',
108
+ '--size defaults to 1536x1024. --hide hides objects whose name contains a word; --eval runs JavaScript'
109
+ + ' in the page first.',
110
+ ],
111
+ },
112
+ {
113
+ heading: 'Local only',
114
+ items: [
115
+ 'Requests to any host other than 127.0.0.1 or localhost are blocked and counted:'
116
+ + ' "remote requests blocked: N". Any count above 0 is a defect to fix.',
117
+ 'It reports "fonts: N loaded, M failed" and up to 30 console errors.',
118
+ 'It needs the managed Chromium. When that is missing it prints the install command and downloads nothing.',
119
+ 'The page must set window.__ready = true and expose window.__scene, as the starter main.js does.',
120
+ ],
121
+ },
122
+ ],
123
+ },
124
+ 'scene sheet': {
125
+ summary: 'Contact sheet: the source first, then each capture, in labelled 640 px tiles.',
126
+ sections: [{
127
+ heading: 'Notes',
128
+ items: ['--cols sets the columns (default 3); --note adds text to the source tile label.'],
129
+ }],
130
+ },
131
+ 'scene blend': {
132
+ summary: 'Overlay: source and render above, a 50% blend and the difference (x3) below.',
133
+ sections: [{
134
+ heading: 'Notes',
135
+ items: ['Look at the blend for silhouette and placement, and at the difference for value and colour.'],
136
+ }],
137
+ },
138
+ 'scene colors': {
139
+ summary: 'Sample source colours, or find where a render differs most from its source.',
140
+ sections: [{
141
+ heading: 'Forms',
142
+ items: [
143
+ '--box: the mean source colour of one box, the hex to put in a material.',
144
+ 'With a render: the eight worst cells of a 12x8 grid, or with --region the source and render colour and'
145
+ + ' brightness ratio of each named box (ratio below 1: the render is darker).',
146
+ 'Boxes are x0,y0,x1,y1 in source pixels; lists are separated by ";". --exclude and --exclude-dom mask the'
147
+ + ' boxes the DOM text covers so they do not read as error.',
148
+ ],
149
+ }],
150
+ },
151
+ 'scene rectify': {
152
+ summary: 'Flatten a perspective quad of the source (a screen, poster or label) into a flat texture.',
153
+ sections: [{
154
+ heading: 'Notes',
155
+ items: [
156
+ 'A true homography with bicubic sampling. Map the result onto a face whose aspect is the --size aspect.',
157
+ 'Crop just inside the frame so no bezel bleeds in.',
158
+ ],
159
+ }],
160
+ },
161
+ };
162
+ //# sourceMappingURL=scene.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scene.js","sourceRoot":"","sources":["../../src/cli-help/scene.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE;QACL,OAAO,EAAE,yGAAy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AAE;oBACL,wGAAwG;oBACxG,mDAAmD;iBACpD;aACF,CAAC;KACH;CACgC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cli-run.d.ts","sourceRoot":"","sources":["../src/cli-run.ts"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AAsK/B,eAAO,MAAM,MAAM,GACjB,MAAM,MAAM,EAAE,EACd,UAAS;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,kBAAkB,CAAA;CAAO,KACnE,OAAO,CAAC,IAAI,CA4Bd,CAAC"}
1
+ {"version":3,"file":"cli-run.d.ts","sourceRoot":"","sources":["../src/cli-run.ts"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AA4K/B,eAAO,MAAM,MAAM,GACjB,MAAM,MAAM,EAAE,EACd,UAAS;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,kBAAkB,CAAA;CAAO,KACnE,OAAO,CAAC,IAAI,CA4Bd,CAAC"}
package/dist/cli-run.js CHANGED
@@ -16,6 +16,7 @@ import { runPackageCommand, runPackageTemplateCommand } from './cli-package-comm
16
16
  import { runReviewCommand } from './cli-review-command.js';
17
17
  import { runPrototypeCommand } from './cli-prototype-command.js';
18
18
  import { runRedesignCommand } from './cli-redesign-command.js';
19
+ import { runSceneCommand } from './cli-scene-command.js';
19
20
  import { runSkillCommand } from './cli-skill-command.js';
20
21
  import { runSpendCommand, writeRunDirectorySpendSummary } from './cli-spend-command.js';
21
22
  import { printUsage } from './cli-usage.js';
@@ -154,6 +155,11 @@ const dispatch = async (args) => {
154
155
  });
155
156
  return;
156
157
  }
158
+ // Local Three.js scene helpers: no service, no run, no authentication.
159
+ if (command[0] === 'scene') {
160
+ await runSceneCommand(command.slice(1), flags);
161
+ return;
162
+ }
157
163
  if (command[0] === 'mcp') {
158
164
  await startMcpServer({
159
165
  config: readConversionConfig({
@@ -1 +1 @@
1
- {"version":3,"file":"cli-run.js","sourceRoot":"","sources":["../src/cli-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAiB,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EACL,4BAA4B,GAE7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,UAAU,E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,MAAM,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5D,MAAM,cAAc,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,4BAA4B,CAClE,GAAG,EAAE,CAAC,QAAQ,CAAC;QACb,OAAO;QACP,KAAK;QACL,OAAO;KACR,CAAC,EACF;QACE,GAAG,OAAO,CAAC,WAAW;QACtB,MAAM,EAAE,UAAU,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,OAAO,CAAC,WAAW,EAAE,MAAM;QAClE,WAAW,EAAE,UAAU,CAAC,KAAK,EAAE,cAAc,CAAC,IAAI,OAAO,CAAC,WAAW,EAAE,WAAW;KACnF,CACF,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type CliFlags } from './cli-arguments.js';
2
+ export declare const runSceneCommand: (args: readonly string[], flags: CliFlags) => Promise<void>;
3
+ //# sourceMappingURL=cli-scene-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-scene-command.d.ts","sourceRoot":"","sources":["../src/cli-scene-command.ts"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AA8Q/D,eAAO,MAAM,eAAe,GAAU,MAAM,SAAS,MAAM,EAAE,EAAE,OAAO,QAAQ,KAAG,OAAO,CAAC,IAAI,CAiB5F,CAAC"}