@12ui/design 0.2.23 → 0.2.24

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 (80) hide show
  1. package/README.md +28 -7
  2. package/SKILL.md +48 -0
  3. package/dist/artifact-materializer.d.ts +1 -1
  4. package/dist/artifact-materializer.d.ts.map +1 -1
  5. package/dist/artifact-materializer.js.map +1 -1
  6. package/dist/branch-client.d.ts.map +1 -1
  7. package/dist/branch-client.js +2 -1
  8. package/dist/branch-client.js.map +1 -1
  9. package/dist/cli-auth-command.d.ts.map +1 -1
  10. package/dist/cli-auth-command.js +3 -2
  11. package/dist/cli-auth-command.js.map +1 -1
  12. package/dist/cli-convert-command.d.ts +27 -0
  13. package/dist/cli-convert-command.d.ts.map +1 -1
  14. package/dist/cli-convert-command.js +59 -0
  15. package/dist/cli-convert-command.js.map +1 -1
  16. package/dist/cli-export-command.d.ts.map +1 -1
  17. package/dist/cli-export-command.js +4 -1
  18. package/dist/cli-export-command.js.map +1 -1
  19. package/dist/cli-next-command.d.ts +11 -0
  20. package/dist/cli-next-command.d.ts.map +1 -1
  21. package/dist/cli-next-command.js +142 -12
  22. package/dist/cli-next-command.js.map +1 -1
  23. package/dist/cli-output-paths.d.ts +1 -0
  24. package/dist/cli-output-paths.d.ts.map +1 -1
  25. package/dist/cli-output-paths.js +6 -2
  26. package/dist/cli-output-paths.js.map +1 -1
  27. package/dist/cli-persistence.d.ts.map +1 -1
  28. package/dist/cli-persistence.js +2 -8
  29. package/dist/cli-persistence.js.map +1 -1
  30. package/dist/cli-progress.d.ts +15 -0
  31. package/dist/cli-progress.d.ts.map +1 -1
  32. package/dist/cli-progress.js +7 -1
  33. package/dist/cli-progress.js.map +1 -1
  34. package/dist/cli-version.d.ts.map +1 -1
  35. package/dist/cli-version.js +2 -5
  36. package/dist/cli-version.js.map +1 -1
  37. package/dist/client-version.d.ts +43 -0
  38. package/dist/client-version.d.ts.map +1 -0
  39. package/dist/client-version.js +60 -0
  40. package/dist/client-version.js.map +1 -0
  41. package/dist/conversion-client.d.ts.map +1 -1
  42. package/dist/conversion-client.js +2 -1
  43. package/dist/conversion-client.js.map +1 -1
  44. package/dist/corpus-client.d.ts.map +1 -1
  45. package/dist/corpus-client.js +2 -0
  46. package/dist/corpus-client.js.map +1 -1
  47. package/dist/mcp-convert.d.ts +4 -1
  48. package/dist/mcp-convert.d.ts.map +1 -1
  49. package/dist/mcp-convert.js.map +1 -1
  50. package/dist/mcp-tool-definitions.d.ts +3 -0
  51. package/dist/mcp-tool-definitions.d.ts.map +1 -0
  52. package/dist/mcp-tool-definitions.js +127 -0
  53. package/dist/mcp-tool-definitions.js.map +1 -0
  54. package/dist/mcp-tool-handler.d.ts +24 -0
  55. package/dist/mcp-tool-handler.d.ts.map +1 -0
  56. package/dist/mcp-tool-handler.js +118 -0
  57. package/dist/mcp-tool-handler.js.map +1 -0
  58. package/dist/next-target.d.ts +10 -0
  59. package/dist/next-target.d.ts.map +1 -1
  60. package/dist/next-target.js +27 -4
  61. package/dist/next-target.js.map +1 -1
  62. package/dist/package-client.d.ts.map +1 -1
  63. package/dist/package-client.js +2 -1
  64. package/dist/package-client.js.map +1 -1
  65. package/dist/run-journal-commands.d.ts.map +1 -1
  66. package/dist/run-journal-commands.js +13 -4
  67. package/dist/run-journal-commands.js.map +1 -1
  68. package/dist/run-journal-in-flight.d.ts +74 -0
  69. package/dist/run-journal-in-flight.d.ts.map +1 -0
  70. package/dist/run-journal-in-flight.js +0 -0
  71. package/dist/run-journal-in-flight.js.map +1 -0
  72. package/dist/run-journal.d.ts +67 -4
  73. package/dist/run-journal.d.ts.map +1 -1
  74. package/dist/run-journal.js +104 -27
  75. package/dist/run-journal.js.map +1 -1
  76. package/dist/server.d.ts.map +1 -1
  77. package/dist/server.js +7 -95
  78. package/dist/server.js.map +1 -1
  79. package/open-design.json +198 -0
  80. package/package.json +3 -1
@@ -0,0 +1,198 @@
1
+ {
2
+ "$schema": "https://open-design.ai/schemas/plugin.v1.json",
3
+ "specVersion": "1.0.0",
4
+ "name": "12ui-design",
5
+ "title": "12UI Design",
6
+ "version": "0.2.24",
7
+ "description": "Explore corpus-grounded interface directions, choose one, and convert it into production-ready responsive or native artifacts with 12UI.",
8
+ "author": {
9
+ "name": "Just Every",
10
+ "url": "https://12ui.com"
11
+ },
12
+ "license": "MIT",
13
+ "homepage": "https://github.com/just-every/12ui/tree/main/packages/12ui",
14
+ "publishedAt": "2026-08-13T00:00:00.000Z",
15
+ "tags": [
16
+ "12ui",
17
+ "interface-design",
18
+ "image-to-code",
19
+ "responsive-html",
20
+ "layerdoc"
21
+ ],
22
+ "compat": {
23
+ "agentSkills": [
24
+ {
25
+ "path": "./SKILL.md"
26
+ }
27
+ ]
28
+ },
29
+ "od": {
30
+ "kind": "bundle",
31
+ "taskKind": "new-generation",
32
+ "mode": "prototype",
33
+ "scenario": "design",
34
+ "engineRequirements": {
35
+ "od": ">=0.18.2"
36
+ },
37
+ "useCase": {
38
+ "query": "Design {{brief}} with four distinct, corpus-grounded visual directions. Let me select the real candidate image, then deliver it as {{output}} at {{scope}} scope."
39
+ },
40
+ "context": {
41
+ "skills": [
42
+ {
43
+ "path": "./skills/design/SKILL.md"
44
+ },
45
+ {
46
+ "path": "./skills/design-search/SKILL.md"
47
+ },
48
+ {
49
+ "path": "./skills/design-draft/SKILL.md"
50
+ },
51
+ {
52
+ "path": "./skills/design-branch/SKILL.md"
53
+ },
54
+ {
55
+ "path": "./skills/design-convert/SKILL.md"
56
+ }
57
+ ],
58
+ "mcp": [
59
+ {
60
+ "name": "12ui",
61
+ "command": "npx",
62
+ "args": [
63
+ "-y",
64
+ "@12ui/design@0.2.24",
65
+ "mcp"
66
+ ]
67
+ }
68
+ ]
69
+ },
70
+ "pipeline": {
71
+ "stages": [
72
+ {
73
+ "id": "discovery",
74
+ "atoms": [
75
+ "discovery-question-form",
76
+ "todo-write"
77
+ ]
78
+ },
79
+ {
80
+ "id": "explore",
81
+ "atoms": [
82
+ "file-read",
83
+ "file-write"
84
+ ]
85
+ },
86
+ {
87
+ "id": "select",
88
+ "atoms": [
89
+ "direction-picker"
90
+ ]
91
+ },
92
+ {
93
+ "id": "produce",
94
+ "atoms": [
95
+ "file-read",
96
+ "file-write",
97
+ "live-artifact"
98
+ ]
99
+ },
100
+ {
101
+ "id": "critique",
102
+ "atoms": [
103
+ "critique-theater"
104
+ ]
105
+ }
106
+ ]
107
+ },
108
+ "genui": {
109
+ "surfaces": [
110
+ {
111
+ "id": "twelve-ui-spend-approval",
112
+ "kind": "confirmation",
113
+ "persist": "run",
114
+ "trigger": {
115
+ "stageId": "explore"
116
+ },
117
+ "prompt": "Approve this run's described 12UI corpus retrieval, candidate generation, and conversion work before any quota-consuming command is dispatched.",
118
+ "timeout": 300000,
119
+ "onTimeout": "abort"
120
+ },
121
+ {
122
+ "id": "twelve-ui-direction",
123
+ "kind": "choice",
124
+ "persist": "run",
125
+ "trigger": {
126
+ "stageId": "select",
127
+ "atom": "direction-picker"
128
+ },
129
+ "prompt": "Choose one of the four generated 12UI candidate images and give the reason for the selection.",
130
+ "schema": {
131
+ "type": "object",
132
+ "required": [
133
+ "winner",
134
+ "reason"
135
+ ],
136
+ "properties": {
137
+ "winner": {
138
+ "type": "string"
139
+ },
140
+ "reason": {
141
+ "type": "string",
142
+ "minLength": 1
143
+ }
144
+ }
145
+ },
146
+ "timeout": 1800000,
147
+ "onTimeout": "abort"
148
+ }
149
+ ]
150
+ },
151
+ "inputs": [
152
+ {
153
+ "name": "brief",
154
+ "label": "Interface brief",
155
+ "type": "text",
156
+ "required": true,
157
+ "placeholder": "Product, audience, surface, goal, content, and desired personality"
158
+ },
159
+ {
160
+ "name": "scope",
161
+ "label": "Scope",
162
+ "type": "select",
163
+ "required": true,
164
+ "options": [
165
+ "single-view",
166
+ "full-page",
167
+ "multi-route"
168
+ ],
169
+ "default": "full-page"
170
+ },
171
+ {
172
+ "name": "output",
173
+ "label": "Primary output",
174
+ "type": "select",
175
+ "required": true,
176
+ "options": [
177
+ "responsive-html",
178
+ "web-project",
179
+ "native-app"
180
+ ],
181
+ "default": "responsive-html"
182
+ },
183
+ {
184
+ "name": "redesignSource",
185
+ "label": "Existing interface (optional)",
186
+ "type": "file"
187
+ }
188
+ ],
189
+ "capabilities": [
190
+ "prompt:inject",
191
+ "fs:read",
192
+ "fs:write",
193
+ "mcp",
194
+ "subprocess",
195
+ "network"
196
+ ]
197
+ }
198
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@12ui/design",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "type": "module",
5
5
  "description": "The canonical 12ui CLI, SDK, MCP server, and visual interface design skills",
6
6
  "main": "dist/index.js",
@@ -11,6 +11,8 @@
11
11
  "files": [
12
12
  "dist/**/*",
13
13
  "skills/**/*",
14
+ "SKILL.md",
15
+ "open-design.json",
14
16
  "README.md",
15
17
  "package.json"
16
18
  ],