@12ui/design 0.2.22 → 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.
- package/README.md +28 -7
- package/SKILL.md +48 -0
- package/dist/artifact-materializer.d.ts +1 -1
- package/dist/artifact-materializer.d.ts.map +1 -1
- package/dist/artifact-materializer.js.map +1 -1
- package/dist/branch-client.d.ts.map +1 -1
- package/dist/branch-client.js +2 -1
- package/dist/branch-client.js.map +1 -1
- package/dist/cli-auth-command.d.ts.map +1 -1
- package/dist/cli-auth-command.js +3 -2
- package/dist/cli-auth-command.js.map +1 -1
- package/dist/cli-convert-command.d.ts +27 -0
- package/dist/cli-convert-command.d.ts.map +1 -1
- package/dist/cli-convert-command.js +59 -0
- package/dist/cli-convert-command.js.map +1 -1
- package/dist/cli-export-command.d.ts.map +1 -1
- package/dist/cli-export-command.js +4 -1
- package/dist/cli-export-command.js.map +1 -1
- package/dist/cli-next-command.d.ts +11 -0
- package/dist/cli-next-command.d.ts.map +1 -1
- package/dist/cli-next-command.js +142 -12
- package/dist/cli-next-command.js.map +1 -1
- package/dist/cli-output-paths.d.ts +1 -0
- package/dist/cli-output-paths.d.ts.map +1 -1
- package/dist/cli-output-paths.js +6 -2
- package/dist/cli-output-paths.js.map +1 -1
- package/dist/cli-persistence.d.ts.map +1 -1
- package/dist/cli-persistence.js +2 -8
- package/dist/cli-persistence.js.map +1 -1
- package/dist/cli-progress.d.ts +15 -0
- package/dist/cli-progress.d.ts.map +1 -1
- package/dist/cli-progress.js +7 -1
- package/dist/cli-progress.js.map +1 -1
- package/dist/cli-version.d.ts.map +1 -1
- package/dist/cli-version.js +2 -5
- package/dist/cli-version.js.map +1 -1
- package/dist/client-version.d.ts +43 -0
- package/dist/client-version.d.ts.map +1 -0
- package/dist/client-version.js +60 -0
- package/dist/client-version.js.map +1 -0
- package/dist/conversion-client.d.ts.map +1 -1
- package/dist/conversion-client.js +2 -1
- package/dist/conversion-client.js.map +1 -1
- package/dist/corpus-client.d.ts.map +1 -1
- package/dist/corpus-client.js +2 -0
- package/dist/corpus-client.js.map +1 -1
- package/dist/legacy-skill-catalog.d.ts.map +1 -1
- package/dist/legacy-skill-catalog.js +35 -0
- package/dist/legacy-skill-catalog.js.map +1 -1
- package/dist/mcp-convert.d.ts +4 -1
- package/dist/mcp-convert.d.ts.map +1 -1
- package/dist/mcp-convert.js.map +1 -1
- package/dist/mcp-tool-definitions.d.ts +3 -0
- package/dist/mcp-tool-definitions.d.ts.map +1 -0
- package/dist/mcp-tool-definitions.js +127 -0
- package/dist/mcp-tool-definitions.js.map +1 -0
- package/dist/mcp-tool-handler.d.ts +24 -0
- package/dist/mcp-tool-handler.d.ts.map +1 -0
- package/dist/mcp-tool-handler.js +118 -0
- package/dist/mcp-tool-handler.js.map +1 -0
- package/dist/next-target.d.ts +10 -0
- package/dist/next-target.d.ts.map +1 -1
- package/dist/next-target.js +27 -4
- package/dist/next-target.js.map +1 -1
- package/dist/package-client.d.ts.map +1 -1
- package/dist/package-client.js +2 -1
- package/dist/package-client.js.map +1 -1
- package/dist/run-journal-commands.d.ts.map +1 -1
- package/dist/run-journal-commands.js +13 -4
- package/dist/run-journal-commands.js.map +1 -1
- package/dist/run-journal-in-flight.d.ts +74 -0
- package/dist/run-journal-in-flight.d.ts.map +1 -0
- package/dist/run-journal-in-flight.js +0 -0
- package/dist/run-journal-in-flight.js.map +1 -0
- package/dist/run-journal.d.ts +67 -4
- package/dist/run-journal.d.ts.map +1 -1
- package/dist/run-journal.js +104 -27
- package/dist/run-journal.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +7 -95
- package/dist/server.js.map +1 -1
- package/open-design.json +198 -0
- package/package.json +3 -1
- package/skills/design/SKILL.md +1 -1
- package/skills/design-branch/SKILL.md +1 -1
- package/skills/design-convert/SKILL.md +1 -1
- package/skills/design-draft/SKILL.md +1 -1
- package/skills/design-search/SKILL.md +1 -1
package/open-design.json
ADDED
|
@@ -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.
|
|
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
|
],
|
package/skills/design/SKILL.md
CHANGED
|
@@ -9,7 +9,7 @@ description: "Required for non-trivial UI creation and redesign (web, app,
|
|
|
9
9
|
|
|
10
10
|
## Setup
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design` once. This installs the CLI and verifies this skill's account scopes.
|
|
13
13
|
|
|
14
14
|
Code-generating models converge on a narrow band of visual defaults — the
|
|
15
15
|
same fonts, palettes, and layouts across unrelated products — and a model
|
|
@@ -10,7 +10,7 @@ description: "Required whenever the deliverable is more than one viewport — a
|
|
|
10
10
|
|
|
11
11
|
## Setup
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design-branch` once. This installs the CLI and verifies this skill's account scopes.
|
|
14
14
|
|
|
15
15
|
One approved screen fixes the visual system; branching extends it across the
|
|
16
16
|
rest of the surface with consistent, professional quality instead of
|
|
@@ -10,7 +10,7 @@ description: "Required to turn a finished PNG, JPEG, or WebP design into
|
|
|
10
10
|
|
|
11
11
|
## Setup
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design-convert` once. This installs the CLI and verifies this skill's account scopes.
|
|
14
14
|
|
|
15
15
|
Convert one finished image once, keep its base LayerDoc conversion, and
|
|
16
16
|
derive every required format from that structured source — near-pixel
|
|
@@ -10,7 +10,7 @@ description: "Required to draft candidate interface designs through the
|
|
|
10
10
|
|
|
11
11
|
## Setup
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design-draft` once. This installs the CLI and verifies this skill's account scopes.
|
|
14
14
|
|
|
15
15
|
Buy one small set of candidate designs and keep every one addressable. Use
|
|
16
16
|
this when the run needs more than the four candidates `12ui draft` produces
|
|
@@ -10,7 +10,7 @@ description: "Required when reference imagery is the deliverable: searches
|
|
|
10
10
|
|
|
11
11
|
## Setup
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
If the `12ui` CLI is not present, run `npx -y @12ui/design skill install --skill design-search` once. This installs the CLI and verifies this skill's account scopes.
|
|
14
14
|
|
|
15
15
|
The corpus has already explored, ranked, and diversified the design space,
|
|
16
16
|
so retrieval returns real reference images in a considered order rather than
|