pixelkiln 0.10.0 → 0.11.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 +13 -14
- package/README.md +17 -8
- package/dist/cli.d.ts +9 -1
- package/dist/cli.js +1433 -925
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +500 -123
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +124 -2
- package/dist/index.d.ts +124 -2
- package/dist/index.js +475 -105
- package/dist/index.js.map +1 -1
- package/docs/AGENTS.md +3 -2
- package/docs/ARTIFACTS.md +28 -1
- package/docs/CLI.md +66 -6
- package/docs/COMFYUI.md +62 -11
- package/docs/LIBRARY.md +21 -0
- package/docs/MANIFEST.md +3 -2
- package/docs/PROVIDER_BENCHMARK.md +24 -8
- package/docs/QUALITY.md +31 -0
- package/docs/README.md +1 -1
- package/package.json +1 -1
- package/skills/pixelkiln/SKILL.md +5 -1
- package/skills/pixelkiln/references/comfyui.md +15 -11
- package/skills/pixelkiln/references/mixed-providers.md +3 -2
package/PROVIDERS.md
CHANGED
|
@@ -72,7 +72,7 @@ prompt, size, batch, and optional seed inputs PixelKiln may replace.
|
|
|
72
72
|
| Cost model | `0 free`; local compute and hosting are outside PixelKiln's estimate |
|
|
73
73
|
| Reproducibility | Workflow content is hashed; model files, custom-node versions, and runtime settings must still be managed outside PixelKiln |
|
|
74
74
|
| Account lifecycle | Read-only connectivity check; no balance, remote object listing, tagging, or purge |
|
|
75
|
-
| Confidence | Full mocked coverage plus live generation, four-candidate review,
|
|
75
|
+
| Confidence | Full mocked coverage plus live generation, four-candidate review, cache-only restore, and three provider-neutral refinement runs on Apple MPS; background removal stays in the graph and aesthetic approval remains human |
|
|
76
76
|
|
|
77
77
|
Choose ComfyUI when workflow ownership is worth manual validation. If the goal
|
|
78
78
|
is the least cleanup between a prompt and usable pixel art, start with a
|
|
@@ -208,10 +208,11 @@ estimate and hard budget remain enforced.
|
|
|
208
208
|
## What to build next
|
|
209
209
|
|
|
210
210
|
The first ComfyUI release has a live, versioned core-node reference workflow.
|
|
211
|
-
Transport, candidate review, provenance,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
Transport, candidate review, provenance, cache recovery, native-grid recovery,
|
|
212
|
+
final palette enforcement, and a fail-closed approval record now work. The
|
|
213
|
+
tested SDXL plus Pixel Art XL graph is useful for composition, but it is not a
|
|
214
|
+
production preset. Background removal stays in the graph. Prompt coverage,
|
|
215
|
+
pixel clusters, and aesthetic approval still require a person.
|
|
215
216
|
|
|
216
217
|
Native per-style provider routing remains the highest-value orchestration
|
|
217
218
|
feature. One manifest should be able to send a building style to PixelLab, an
|
|
@@ -238,20 +239,18 @@ documents free cost preflights. That combination adds something the current
|
|
|
238
239
|
providers do not: a project-specific visual model with a cost check that can be
|
|
239
240
|
captured before submission.
|
|
240
241
|
|
|
241
|
-
Recommended order:
|
|
242
|
+
Recommended order from here:
|
|
242
243
|
|
|
243
|
-
1.
|
|
244
|
-
native-grid recovery, final palette enforcement, and human approval.
|
|
245
|
-
2. Benchmark pinned ComfyUI models and prompt patterns across at least two scene
|
|
244
|
+
1. Benchmark pinned ComfyUI models and prompt patterns across at least two scene
|
|
246
245
|
families. Reject any supposed improvement that helps only one subject.
|
|
247
|
-
|
|
246
|
+
2. Add per-style provider selection, provider-keyed budgets, and mixed-provider
|
|
248
247
|
integration tests.
|
|
249
|
-
|
|
248
|
+
3. Finish live Retro Diffusion multi-candidate, tileset, GIF, and spritesheet
|
|
250
249
|
smoke tests.
|
|
251
|
-
|
|
250
|
+
4. Build the Scenario still-image spike from issue #52 with dry-run cost, submit, poll,
|
|
252
251
|
download, and one custom-model or reference-image benchmark.
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
5. Design ComfyUI Cloud as a separate authenticated and billable adapter.
|
|
253
|
+
6. Consider general raster marketplaces only with explicit nearest-neighbor,
|
|
255
254
|
palette, transparency, and reproducibility checks.
|
|
256
255
|
|
|
257
256
|
Midjourney is not an adapter target without an official public API. Automating
|
package/README.md
CHANGED
|
@@ -197,8 +197,10 @@ and native-grid recovery for model output that only looks like pixel art. The
|
|
|
197
197
|
ComfyUI guidance is quality-first: start with 48–128px native components,
|
|
198
198
|
apply the final palette after grid recovery, require prompt-coverage and human
|
|
199
199
|
cluster-and-silhouette review, and compose larger scenes from accepted parts
|
|
200
|
-
instead of chasing a larger raster.
|
|
201
|
-
|
|
200
|
+
instead of chasing a larger raster. Background removal and the art decision
|
|
201
|
+
still need the graph and a person. `pixelkiln refine` now handles grid recovery,
|
|
202
|
+
final palette enforcement, measurable checks, and the hash-bound approval
|
|
203
|
+
record.
|
|
202
204
|
|
|
203
205
|
The schema rejects unknown fields and invalid generator combinations before
|
|
204
206
|
planning. See the [Manifest reference](./docs/MANIFEST.md).
|
|
@@ -219,6 +221,12 @@ pixelkiln restore
|
|
|
219
221
|
# Optional local gates.
|
|
220
222
|
pixelkiln audit --check --max-distance 35 --min-transparency 0.1
|
|
221
223
|
pixelkiln cache --check
|
|
224
|
+
|
|
225
|
+
# Provider-neutral pixel cleanup after selecting a generated candidate.
|
|
226
|
+
pixelkiln refine --from candidate.png --out art/native.png \
|
|
227
|
+
--palette "#141b1e,#23312a,#384d4f,#526a8d,#709fcf,#865c45,#c6a766,#f1bb70"
|
|
228
|
+
pixelkiln refine approve --from art/native.pixelkiln.json --reviewer "Your Name"
|
|
229
|
+
pixelkiln refine check --from art/native.pixelkiln.json
|
|
222
230
|
```
|
|
223
231
|
|
|
224
232
|
Repeated `--style`, `--only`, `--claims`, and `--output-role` filters
|
|
@@ -339,9 +347,10 @@ const plan = await buildPlan(specs, await loadLock("pixelkiln.lock.json"))
|
|
|
339
347
|
console.log(plan.cost, plan.costUnit, plan.actionable.length)
|
|
340
348
|
```
|
|
341
349
|
|
|
342
|
-
The package also exports audit gates, lock/output
|
|
343
|
-
pipeline stages, sprite packing/mounting, tile
|
|
344
|
-
writes, and offline provenance verification. See
|
|
350
|
+
The package also exports audit gates, provider-neutral refinement, lock/output
|
|
351
|
+
helpers, provider contracts, pipeline stages, sprite packing/mounting, tile
|
|
352
|
+
exporters, managed artifact writes, and offline provenance verification. See
|
|
353
|
+
[Library API](./docs/LIBRARY.md).
|
|
345
354
|
|
|
346
355
|
## Documentation
|
|
347
356
|
|
|
@@ -356,10 +365,10 @@ writes, and offline provenance verification. See [Library API](./docs/LIBRARY.md
|
|
|
356
365
|
| [Manifest reference](./docs/MANIFEST.md) | Every style/asset field and generator constraint. |
|
|
357
366
|
| [Agent workflows](./docs/AGENTS.md) | Official skill install, operating model, and provider-aware safety. |
|
|
358
367
|
| [Generators](./docs/GENERATORS.md) | Capability choice, measured costs, palettes, style references, and tiles. |
|
|
359
|
-
| [Environment provider benchmark](./docs/PROVIDER_BENCHMARK.md) | Thirty provider outputs plus
|
|
360
|
-
| [Derived artifacts](./docs/ARTIFACTS.md) |
|
|
368
|
+
| [Environment provider benchmark](./docs/PROVIDER_BENCHMARK.md) | Thirty provider outputs plus native-grid and final-palette results comparing large scenes, transparency, palette size, and file readiness. |
|
|
369
|
+
| [Derived artifacts](./docs/ARTIFACTS.md) | Refine, pack, mount, export, provenance, ownership, transactions, and recovery. |
|
|
361
370
|
| [Recovery](./docs/RECOVERY.md) | Restore, caches, adopt, salvage, claims, and purge safety. |
|
|
362
|
-
| [Quality gates](./docs/QUALITY.md) | Plan, doctor, audit, cache, JSON, and CI. |
|
|
371
|
+
| [Quality gates](./docs/QUALITY.md) | Plan, doctor, refine, audit, cache, human approval, JSON, and CI. |
|
|
363
372
|
| [Architecture](./docs/ARCHITECTURE.md) | State model, lockfile, providers, concurrency, and output identity. |
|
|
364
373
|
| [Library API](./docs/LIBRARY.md) | Public TypeScript contracts and examples. |
|
|
365
374
|
| [Tiles](./docs/TILES.md) | Structural outputs and generic/Tiled/Godot formats. |
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
type GridConfidence = "low" | "medium" | "high";
|
|
3
|
+
|
|
2
4
|
type TilesetFormat = "generic" | "tiled" | "godot";
|
|
3
5
|
|
|
4
6
|
interface Args {
|
|
@@ -34,6 +36,12 @@ interface Args {
|
|
|
34
36
|
minTransparency?: number;
|
|
35
37
|
maxColors?: number;
|
|
36
38
|
sigma?: number;
|
|
39
|
+
palette: string[];
|
|
40
|
+
fixerPython?: string;
|
|
41
|
+
fixerRevision?: string;
|
|
42
|
+
minGridConfidence?: GridConfidence;
|
|
43
|
+
reviewer?: string;
|
|
44
|
+
note?: string;
|
|
37
45
|
/** `workspace`: add/remove/list/status/claims. */
|
|
38
46
|
subcommand?: string;
|
|
39
47
|
/** Path to a workspace catalog. Defaults to `pixelkiln.workspace.json` in cwd. */
|
|
@@ -52,7 +60,7 @@ interface Args {
|
|
|
52
60
|
*/
|
|
53
61
|
explicitLock?: string;
|
|
54
62
|
}
|
|
55
|
-
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", "workspace", "help", "--help", "-h", "--version", "-v"];
|
|
63
|
+
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", "refine", "workspace", "help", "--help", "-h", "--version", "-v"];
|
|
56
64
|
/**
|
|
57
65
|
* Strict parsing. Unknown flags are a hard error rather than being ignored,
|
|
58
66
|
* because a silently-dropped filter is expensive here: `--styles neon` (plural,
|