pixelkiln 0.15.0 → 0.17.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/PROVIDERS.md +9 -2
- package/README.md +7 -4
- package/dist/cli.d.ts +16 -1
- package/dist/cli.js +885 -282
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +737 -182
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +714 -102
- package/dist/index.d.ts +714 -102
- package/dist/index.js +720 -171
- package/dist/index.js.map +1 -1
- package/docs/AGENTS.md +8 -3
- package/docs/ARCHITECTURE.md +25 -1
- package/docs/CLI.md +38 -9
- package/docs/COMFYUI.md +73 -4
- package/docs/GETTING_STARTED.md +16 -2
- package/docs/LIBRARY.md +32 -0
- package/docs/MANIFEST.md +54 -6
- package/docs/PROVIDER_BENCHMARK.md +21 -0
- package/docs/QUALITY.md +13 -8
- package/docs/README.md +1 -0
- package/docs/RECIPES.md +16 -0
- package/docs/RECOVERY.md +17 -0
- package/docs/REVISIONS.md +172 -0
- package/package.json +1 -1
- package/recipes/comfyui/pixel-art-xl-img2img/1.0.0/pixelkiln.recipe.json +87 -0
- package/recipes/comfyui/pixel-art-xl-img2img/1.0.0/workflow-api.json +101 -0
- package/schema/manifest.schema.json +35 -0
- package/schema/recipe.schema.json +59 -4
- package/skills/pixelkiln/SKILL.md +11 -3
- package/skills/pixelkiln/references/comfyui.md +6 -4
- package/skills/pixelkiln/references/quality.md +9 -2
- package/skills/pixelkiln/references/recipes.md +6 -0
- package/skills/pixelkiln/references/revisions.md +30 -0
package/PROVIDERS.md
CHANGED
|
@@ -26,7 +26,7 @@ them.
|
|
|
26
26
|
|---|---|---|---|
|
|
27
27
|
| PixelLab | Production; paid generation and account workflows live-tested | `PIXELLAB_API_KEY` | generations |
|
|
28
28
|
| Retro Diffusion | Experimental; authenticated paid still generation, download, provenance, and recovery live-tested; advanced workflows pending | `RD_API_KEY` | USD |
|
|
29
|
-
| ComfyUI | Experimental; local
|
|
29
|
+
| ComfyUI | Experimental; local generation, review, recovery, and image-to-image revision smoke live-tested on Apple MPS; inpaint/outpaint remain mock-tested | none; optional `COMFYUI_BASE_URL` | free |
|
|
30
30
|
| Scenario | Experimental; BFL Flux 2 Dev authentication, CU preflight, paid single/two-output generation, review, download, and durable recovery live-tested | `SCENARIO_SDK_API_KEY` and `SCENARIO_SDK_API_SECRET` | compute-units |
|
|
31
31
|
| FakeProvider | Test-only deterministic lifecycle | none | free |
|
|
32
32
|
|
|
@@ -81,9 +81,10 @@ prompt, size, batch, and optional seed inputs PixelKiln may replace.
|
|
|
81
81
|
|
|
82
82
|
| Decision | ComfyUI through PixelKiln |
|
|
83
83
|
|---|---|
|
|
84
|
-
| Best fit today | Local composition experiments, private inputs, and teams prepared to maintain and manually validate custom graphs |
|
|
84
|
+
| Best fit today | Local composition experiments, private inputs, controlled revisions, and teams prepared to maintain and manually validate custom graphs |
|
|
85
85
|
| PixelKiln generator | `map` stills |
|
|
86
86
|
| Output | One PNG output node, with 1–16 review candidates |
|
|
87
|
+
| Revision input | `image-to-image`, `inpaint`, and user-authored `outpaint` graphs; hashed parent/mask uploads and source comparison are covered. The bundled img2img graph passed a three-strength live smoke but missed the requested winter treatment and lost alpha. |
|
|
87
88
|
| Cost model | `0 free`; local compute and hosting are outside PixelKiln's estimate |
|
|
88
89
|
| Reproducibility | Workflow content is hashed; model files, custom-node versions, and runtime settings must still be managed outside PixelKiln |
|
|
89
90
|
| Account lifecycle | Read-only connectivity check; no balance, remote object listing, tagging, or purge |
|
|
@@ -95,6 +96,12 @@ the same graph and still differ because their checkpoint bytes, custom nodes,
|
|
|
95
96
|
or sampler settings differ. Commit the workflow and record the model stack used
|
|
96
97
|
to test it.
|
|
97
98
|
|
|
99
|
+
The revision manifest and dependency gate are provider-neutral, but ComfyUI is
|
|
100
|
+
the only built-in adapter that currently opts in. PixelLab, Retro Diffusion,
|
|
101
|
+
and Scenario reject revision assets offline. See
|
|
102
|
+
[Controlled asset revisions](./docs/REVISIONS.md) before using the bundled
|
|
103
|
+
square image-to-image graph.
|
|
104
|
+
|
|
98
105
|
## Where Scenario fits
|
|
99
106
|
|
|
100
107
|
Scenario adds hosted third-party models and reusable project-specific models
|
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ PixelKiln keeps the missing record:
|
|
|
42
42
|
- a committed manifest defines assets, styles, generators, budgets, and output;
|
|
43
43
|
- a committed lockfile maps each style/asset to paid provider work and exact
|
|
44
44
|
output hashes;
|
|
45
|
-
- planning distinguishes missing, stale, recoverable, in-flight, untracked, and
|
|
45
|
+
- planning distinguishes blocked, missing, stale, recoverable, in-flight, untracked, and
|
|
46
46
|
manually changed files before money is spent;
|
|
47
47
|
- local review keeps human judgment where it matters, choosing artwork;
|
|
48
48
|
- content-addressed recovery prevents a transient URL failure from buying the
|
|
@@ -55,9 +55,10 @@ 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
|
|
58
|
+
| Generate and review | Resumable submit/poll/pick/fetch pipeline, exact next-step hints, and a fast local candidate sheet. |
|
|
59
|
+
| Controlled revisions | Hashed image-to-image/inpaint lineage, fail-closed parent approval, and source-versus-candidate review; ComfyUI is the first adapter. |
|
|
59
60
|
| Existing-art onboarding | Manifest scaffolding, exact-hash account adoption, and prompt recovery. |
|
|
60
|
-
| Recovery |
|
|
61
|
+
| Recovery | Safe stale-output replacement, validated caches, durable references, and resumable paid jobs. |
|
|
61
62
|
| Shared-account safety | Cross-project claim files or a registered workspace catalog, sibling-style exclusion, reviewed salvage, keep/discard tags, separate confirmed purge. |
|
|
62
63
|
| Quality control | Manifest-native grid recovery, closed palettes, named approval, regression baselines, and fail-closed packaging. |
|
|
63
64
|
| Sprite packaging | Deterministic RGBA packing, stable-cell mounting, explicit external input lists, structural output roles. |
|
|
@@ -342,7 +343,8 @@ console.log(plan.groups, plan.actionable.length)
|
|
|
342
343
|
```
|
|
343
344
|
|
|
344
345
|
The package also exports audit and image-regression gates, quality-profile
|
|
345
|
-
inspection and refinement, lock/output helpers,
|
|
346
|
+
inspection and refinement, revision-readiness checks, lock/output helpers,
|
|
347
|
+
provider contracts, sprite packing/mounting, tile
|
|
346
348
|
exporters, managed artifact writes, and offline provenance verification. See
|
|
347
349
|
[Library API](./docs/LIBRARY.md).
|
|
348
350
|
|
|
@@ -357,6 +359,7 @@ exporters, managed artifact writes, and offline provenance verification. See
|
|
|
357
359
|
| [Set up ComfyUI](./docs/COMFYUI.md) | Experimental self-hosted server, workflow bindings, local cost semantics, and limits. |
|
|
358
360
|
| [Set up Scenario](./docs/SCENARIO.md) | Experimental hosted models, two-part credentials, CU preflight, review, and durable downloads. |
|
|
359
361
|
| [Versioned recipes](./docs/RECIPES.md) | Pinned workflow packs, model hashes, manifest templates, and quality contracts. |
|
|
362
|
+
| [Controlled revisions](./docs/REVISIONS.md) | Image-to-image/inpaint parents, masks, fail-closed readiness, provenance, and ComfyUI bindings. |
|
|
360
363
|
| [CLI reference](./docs/CLI.md) | Every command, flag, JSON mode, and exit contract. |
|
|
361
364
|
| [Manifest reference](./docs/MANIFEST.md) | Style/asset fields, quality profiles, and generator constraints. |
|
|
362
365
|
| [Mixed-provider projects](./docs/MIXED_PROVIDERS.md) | Per-style routing, provider-keyed budgets, recovery, and account commands. |
|
package/dist/cli.d.ts
CHANGED
|
@@ -4,8 +4,23 @@ import { z } from 'zod';
|
|
|
4
4
|
declare const GridConfidenceSchema: z.ZodEnum<["low", "medium", "high"]>;
|
|
5
5
|
type GridConfidence = z.infer<typeof GridConfidenceSchema>;
|
|
6
6
|
|
|
7
|
+
interface ReviewReadyInfo {
|
|
8
|
+
url: string;
|
|
9
|
+
keys: string[];
|
|
10
|
+
}
|
|
11
|
+
|
|
7
12
|
type TilesetFormat = "generic" | "tiled" | "godot";
|
|
8
13
|
|
|
14
|
+
interface CliWritable {
|
|
15
|
+
isTTY?: boolean;
|
|
16
|
+
write(chunk: string): unknown;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Interactive readiness is progress, not command output. Keep it on stdout in
|
|
20
|
+
* a terminal, but use stderr when stdout is piped so consumers such as `tail`
|
|
21
|
+
* cannot hold the only copy of the live URL until the server exits.
|
|
22
|
+
*/
|
|
23
|
+
declare function announceReviewReady(info: ReviewReadyInfo, stdout?: CliWritable, stderr?: CliWritable): void;
|
|
9
24
|
interface Args {
|
|
10
25
|
command: string;
|
|
11
26
|
manifest: string;
|
|
@@ -76,4 +91,4 @@ declare const COMMANDS: readonly ["init", "plan", "doctor", "gen", "submit", "po
|
|
|
76
91
|
*/
|
|
77
92
|
declare function parseArgs(argv: string[]): Args;
|
|
78
93
|
|
|
79
|
-
export { COMMANDS, parseArgs };
|
|
94
|
+
export { COMMANDS, announceReviewReady, parseArgs };
|