pixelkiln 0.95.0 → 0.96.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/docs/CLI.md CHANGED
@@ -350,6 +350,27 @@ one asset. Entries already in the lockfile are skipped unless `--force`;
350
350
  `--dry-run` and `--json` show what would be written. Characters and effects
351
351
  are not imported this way.
352
352
 
353
+ Art made through the PixelLab MCP is usually rolled interactively and then
354
+ post-processed. Record that with `--tool` (the call that made it), `--prompt`
355
+ (the prompt it was rolled with, kept as the entry's prompt), `--seed`, `--cost`
356
+ (credits spent, in the asset's cost unit, counted in recorded spend), and one
357
+ `--step "<text>"` per thing done afterwards, in order (`downscale 0.75, box`,
358
+ `palette-snap lowplants`). Steps are free text: pixelkiln records them and never
359
+ runs them. `--raw <png>` also records the unprocessed original; when the file on
360
+ disk later equals it, `plan` says the original was dropped back over the
361
+ processed art instead of "modified". These go in an `origin` object on the lock
362
+ entry, separate from `imported`, so older versions still read the lockfile.
363
+
364
+ The imported bytes are cached, and re-importing different art with `--force`
365
+ keeps the earlier version in `history`, so `restore --generation <n|hash>` brings
366
+ it back with no provider and no network. `history` marks imported generations and
367
+ lists their tool and steps.
368
+
369
+ ```bash
370
+ pixelkiln adopt --local --only rock --source mcp --tool create_image_pro_flash \
371
+ --seed 42 --cost 3 --step "downscale 0.75, box" --step "palette-snap lowplants" --raw raw/rock.png
372
+ ```
373
+
353
374
  ```bash
354
375
  pixelkiln adopt --local --only rockfall_pile_iso --source mcp --note "imageProFlash, box-downscaled"
355
376
  pixelkiln adopt --local --style props --dry-run
@@ -1325,6 +1346,12 @@ Print the package version. `-v` is an alias.
1325
1346
  | `--local` | adopt | Record local files as `imported` lock entries offline, with no provider key. |
1326
1347
  | `--source <name>` | adopt --local | Where the art came from (`mcp`, `hand`, a tool name); default `external`. |
1327
1348
  | `--object-id <id>` | adopt --local | The provider object id of the single asset being imported. |
1349
+ | `--tool <name>` | adopt --local | The tool call that made the art, recorded under `origin`. |
1350
+ | `--prompt <text>` | adopt --local | The prompt the art was rolled with; becomes the entry's prompt. |
1351
+ | `--seed <n>` | adopt --local | The seed it was rolled with. |
1352
+ | `--cost <n>` | adopt --local | Credits spent making it, in the asset's cost unit; counts toward recorded spend. |
1353
+ | `--step <text>` | adopt --local | One post-generation step, in order; repeatable, free text, recorded and never run. |
1354
+ | `--raw <png>` | adopt --local | The unprocessed original, for one asset; its hash is recorded and its bytes cached. |
1328
1355
  | `--port <n>` | pick/salvage/gallery | Local review or gallery server port; otherwise chooses a free port. |
1329
1356
  | `--out <path>` | pack/export/refine/recipe install/quality snapshot/unzoom/pixelate/normal-map/vfx/font | Output base override, final native PNG for path-mode refine, exact recipe destination, quality baseline path, the unzoomed, pixelated, or normal-map PNG, the effect's `<base>.png`/`.gif`/`.json`/`.vfx.json`, or the font's `<base>.ttf`/`<base>.png`. Export requires one selected tileset. |
1330
1357
  | `--inputs <path>` | pack/quality snapshot | JSON input array; requires `--out`. Quality cases use `{ id, path, record?, tolerances? }`. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelkiln",
3
- "version": "0.95.0",
3
+ "version": "0.96.0",
4
4
  "description": "Manifest-driven pixel-art generation, review, recovery, and packaging with deterministic provenance.",
5
5
  "type": "module",
6
6
  "sideEffects": false,