@12ui/design 0.2.6 → 0.2.8
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 +7 -0
- package/dist/cli-corpus-command.d.ts.map +1 -1
- package/dist/cli-corpus-command.js +7 -0
- package/dist/cli-corpus-command.js.map +1 -1
- package/dist/cli-corpus-evidence.d.ts.map +1 -1
- package/dist/cli-corpus-evidence.js +20 -2
- package/dist/cli-corpus-evidence.js.map +1 -1
- package/dist/cli-corpus-reference-image.d.ts +13 -0
- package/dist/cli-corpus-reference-image.d.ts.map +1 -0
- package/dist/cli-corpus-reference-image.js +54 -0
- package/dist/cli-corpus-reference-image.js.map +1 -0
- package/dist/cli-corpus-run.d.ts +6 -0
- package/dist/cli-corpus-run.d.ts.map +1 -1
- package/dist/cli-corpus-run.js +15 -2
- package/dist/cli-corpus-run.js.map +1 -1
- package/dist/cli-corpus-types.d.ts +4 -0
- package/dist/cli-corpus-types.d.ts.map +1 -1
- package/dist/cli-corpus-types.js.map +1 -1
- package/dist/cli-image-batch-command.d.ts.map +1 -1
- package/dist/cli-image-batch-command.js +2 -1
- package/dist/cli-image-batch-command.js.map +1 -1
- package/dist/cli-image-command.d.ts.map +1 -1
- package/dist/cli-image-command.js +7 -1
- package/dist/cli-image-command.js.map +1 -1
- package/dist/cli-persistence.d.ts +3 -0
- package/dist/cli-persistence.d.ts.map +1 -1
- package/dist/cli-persistence.js +74 -4
- package/dist/cli-persistence.js.map +1 -1
- package/dist/cli-skill-command.d.ts.map +1 -1
- package/dist/cli-skill-command.js +5 -0
- package/dist/cli-skill-command.js.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/corpus-client.d.ts +15 -1
- package/dist/corpus-client.d.ts.map +1 -1
- package/dist/corpus-client.js +48 -2
- package/dist/corpus-client.js.map +1 -1
- package/dist/corpus-experiment.d.ts +170 -0
- package/dist/corpus-experiment.d.ts.map +1 -0
- package/dist/corpus-experiment.js +2 -0
- package/dist/corpus-experiment.js.map +1 -0
- package/dist/image-generation-batch-manifest.d.ts +2 -1
- package/dist/image-generation-batch-manifest.d.ts.map +1 -1
- package/dist/image-generation-batch-manifest.js +7 -1
- package/dist/image-generation-batch-manifest.js.map +1 -1
- package/dist/image-generation-error.d.ts +3 -0
- package/dist/image-generation-error.d.ts.map +1 -0
- package/dist/image-generation-error.js +30 -0
- package/dist/image-generation-error.js.map +1 -0
- package/dist/image-generation-evidence.d.ts +3 -1
- package/dist/image-generation-evidence.d.ts.map +1 -1
- package/dist/image-generation-evidence.js.map +1 -1
- package/dist/image-generation-request.d.ts +4 -0
- package/dist/image-generation-request.d.ts.map +1 -1
- package/dist/image-generation-request.js +3 -0
- package/dist/image-generation-request.js.map +1 -1
- package/dist/image-generation-run.d.ts.map +1 -1
- package/dist/image-generation-run.js +14 -4
- package/dist/image-generation-run.js.map +1 -1
- package/dist/image-generation-usage.d.ts +4 -0
- package/dist/image-generation-usage.d.ts.map +1 -1
- package/dist/image-generation-usage.js +37 -10
- package/dist/image-generation-usage.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/legacy-cli-cleanup.d.ts +1 -0
- package/dist/legacy-cli-cleanup.d.ts.map +1 -1
- package/dist/legacy-cli-cleanup.js +12 -0
- package/dist/legacy-cli-cleanup.js.map +1 -1
- package/dist/legacy-npm-global-cli-cleanup.d.ts +16 -0
- package/dist/legacy-npm-global-cli-cleanup.d.ts.map +1 -0
- package/dist/legacy-npm-global-cli-cleanup.js +102 -0
- package/dist/legacy-npm-global-cli-cleanup.js.map +1 -0
- package/dist/legacy-npm-global-cli-recognition.d.ts +12 -0
- package/dist/legacy-npm-global-cli-recognition.d.ts.map +1 -0
- package/dist/legacy-npm-global-cli-recognition.js +105 -0
- package/dist/legacy-npm-global-cli-recognition.js.map +1 -0
- package/package.json +2 -2
- package/skills/design/SKILL.md +99 -14
- package/skills/design/references/continuation-contract.md +60 -0
- package/skills/design/references/selection-contract.md +34 -4
- package/skills/design-search/SKILL.md +21 -2
|
@@ -36,6 +36,24 @@ Add `--aspect landscape|portrait|square` when the target is known. Prefer
|
|
|
36
36
|
direct `--query`; use `--query-file` only when quoting genuinely requires it.
|
|
37
37
|
Add `--origin` only when the task deliberately targets another deployment.
|
|
38
38
|
|
|
39
|
+
For a redesign, distinguish the user's existing interface from corpus
|
|
40
|
+
inspiration. Send that redesign source into retrieval so visual structure can
|
|
41
|
+
condition the ranked space alongside the text:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
12ui corpus inspire \
|
|
45
|
+
--query "<what to preserve, what to change, desired direction>" \
|
|
46
|
+
--reference-image <existing-interface.png> \
|
|
47
|
+
--count 4 \
|
|
48
|
+
--out-dir <references-dir>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The command accepts one PNG, JPEG, or WebP source, records its absolute path,
|
|
52
|
+
SHA-256, media type, and size locally, and uploads its bytes privately for one
|
|
53
|
+
image-and-text embedding. The source is not one of the returned references and
|
|
54
|
+
its bytes are not persisted by 12UI. If the same source path changes before a
|
|
55
|
+
resume, stop rather than silently searching with different evidence.
|
|
56
|
+
|
|
39
57
|
The command reserves the output directory, records request/response evidence,
|
|
40
58
|
downloads full images in parallel, and writes `manifest.json`. Validate the
|
|
41
59
|
count, unique IDs, decodable files, and hashes. Return the exact endpoint order
|
|
@@ -56,5 +74,6 @@ references. If resume remains ambiguous or underfilled, report the stable key
|
|
|
56
74
|
and evidence path and stop.
|
|
57
75
|
|
|
58
76
|
Hand off the manifest path, idempotency key, set ID, ordered IDs, image paths,
|
|
59
|
-
hashes, returned metrics,
|
|
60
|
-
four valid references before
|
|
77
|
+
hashes, returned metrics, redesign-source evidence when present, and usage
|
|
78
|
+
notice. A `design` run requires exactly four valid references before
|
|
79
|
+
generation.
|