pixelkiln 0.20.2 → 0.22.0

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 CHANGED
@@ -55,7 +55,7 @@ PixelKiln keeps the missing record:
55
55
  | Workflow | What PixelKiln provides |
56
56
  |---|---|
57
57
  | Plan and budget | Offline manifest/lock/disk diff, provider-grouped estimates, keyed mixed-provider budget ceilings, JSON/CI gate. |
58
- | Generate and review | Resumable submit/poll/pick/fetch pipeline, exact next-step hints, and candidate or atomic frame-set review. |
58
+ | Generate and review | Resumable submit/poll/pick/fetch pipeline, exact next-step hints, candidate or atomic frame-set review, and a read-only provenance gallery. |
59
59
  | Controlled inputs | Hashed image-to-image/inpaint lineage, fail-closed parent approval, source-versus-candidate review, and content-addressed per-asset ComfyUI bindings. |
60
60
  | Existing-art onboarding | Manifest scaffolding, exact-hash account adoption, and prompt recovery. |
61
61
  | Recovery | Safe stale-output replacement, validated caches, durable references, and resumable paid jobs. |
@@ -68,21 +68,23 @@ PixelKiln keeps the missing record:
68
68
 
69
69
  ### Local human review
70
70
 
71
- `pixelkiln pick` opens a local candidate sheet. It preserves each image's aspect
72
- ratio, fits large work without blurring small sprites, and never asks a model to
73
- choose artwork for you.
71
+ `pixelkiln pick` opens a local candidate sheet — native aspect ratios, crisp
72
+ small sprites, and no model choosing artwork for you.
74
73
 
75
74
  ![PixelKiln candidate review UI](./website/public/review-ui-showcase.jpg)
76
75
 
77
- Use Left/Right to inspect alternatives, Enter or 1–9 to select, and 0 to leave
78
- a row unresolved. Nothing is applied when the window is closed without using
79
- **Apply selections**. See the [CLI reference](docs/CLI.md#pick) for the full
80
- review workflow.
76
+ Left/Right inspects alternatives, Enter or 1–9 selects, 0 leaves a row
77
+ unresolved, and closing without **Apply selections** applies nothing
78
+ ([CLI reference](docs/CLI.md#pick)). [`pixelkiln gallery`](docs/CLI.md#gallery)
79
+ is its companion: every generation at integer zoom with its prompt, cost, hashes,
80
+ lineage, and quality record; `--edit` changes prompts and adds assets; `--budget`
81
+ generates and reviews from the page under that ceiling; `--json` prints the snapshot.
82
+
83
+ ![PixelKiln generation gallery UI](./website/public/gallery-ui-showcase.jpg)
81
84
 
82
85
  ## Install
83
86
 
84
- Requires Node.js 22 or newer. Use the latest Node.js 24 LTS release for local
85
- development.
87
+ Requires Node.js 22 or newer; use the latest Node.js 24 LTS for development.
86
88
 
87
89
  ```bash
88
90
  npm install --save-dev pixelkiln
@@ -344,10 +346,9 @@ console.log(plan.groups, plan.actionable.length)
344
346
  ```
345
347
 
346
348
  The package also exports audit and image-regression gates, quality-profile
347
- inspection and refinement, revision-readiness checks, lock/output helpers,
348
- provider contracts, sprite packing/mounting, tile
349
- exporters, managed artifact writes, and offline provenance verification. See
350
- [Library API](./docs/LIBRARY.md).
349
+ inspection and refinement, revision-readiness checks, lock/output helpers, the
350
+ gallery snapshot, provider contracts, sprite packing/mounting, tile exporters,
351
+ managed artifact writes, and provenance verification. See [Library API](./docs/LIBRARY.md).
351
352
 
352
353
  ## Documentation
353
354
 
package/dist/cli.d.ts CHANGED
@@ -21,6 +21,8 @@ interface CliWritable {
21
21
  * cannot hold the only copy of the live URL until the server exits.
22
22
  */
23
23
  declare function announceReviewReady(info: ReviewReadyInfo, stdout?: CliWritable, stderr?: CliWritable): void;
24
+ /** Same stream rule as review readiness: the live URL must not wait behind a pipe. */
25
+ declare function announceGalleryReady(url: string, count: number, stdout?: CliWritable, stderr?: CliWritable, edit?: boolean, budget?: string | null): void;
24
26
  interface Args {
25
27
  command: string;
26
28
  manifest: string;
@@ -38,6 +40,8 @@ interface Args {
38
40
  check: boolean;
39
41
  noOpen: boolean;
40
42
  tag: boolean;
43
+ /** gallery: allow the page to edit manifest intent (prompts, sizes, tags, new assets). */
44
+ edit: boolean;
41
45
  from?: string;
42
46
  out?: string;
43
47
  generator?: string;
@@ -82,7 +86,7 @@ interface Args {
82
86
  */
83
87
  explicitLock?: string;
84
88
  }
85
- declare const COMMANDS: readonly ["init", "plan", "doctor", "gen", "submit", "poll", "pick", "fetch", "restore", "adopt", "accept", "salvage", "purge", "prune", "audit", "cache", "pack", "mount", "export", "tag", "balance", "status", "quality", "refine", "recipe", "workspace", "help", "--help", "-h", "--version", "-v"];
89
+ declare const COMMANDS: readonly ["init", "plan", "doctor", "gen", "submit", "poll", "pick", "fetch", "restore", "adopt", "accept", "salvage", "purge", "prune", "audit", "cache", "pack", "mount", "export", "tag", "balance", "status", "gallery", "quality", "refine", "recipe", "workspace", "help", "--help", "-h", "--version", "-v"];
86
90
  /**
87
91
  * Strict parsing. Unknown flags are a hard error rather than being ignored,
88
92
  * because a silently-dropped filter is expensive here: `--styles neon` (plural,
@@ -91,4 +95,4 @@ declare const COMMANDS: readonly ["init", "plan", "doctor", "gen", "submit", "po
91
95
  */
92
96
  declare function parseArgs(argv: string[]): Args;
93
97
 
94
- export { COMMANDS, announceReviewReady, parseArgs };
98
+ export { COMMANDS, announceGalleryReady, announceReviewReady, parseArgs };