pixelkiln 0.24.0 → 0.26.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/dist/cli.d.ts +2 -0
- package/dist/cli.js +140 -46
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +130 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -11
- package/dist/index.d.ts +32 -11
- package/dist/index.js +130 -42
- package/dist/index.js.map +1 -1
- package/docs/CLI.md +18 -0
- package/docs/PIXELLAB.md +12 -0
- package/package.json +1 -1
package/docs/CLI.md
CHANGED
|
@@ -123,6 +123,16 @@ write the manifest-authoritative destinations, populate the content cache, and
|
|
|
123
123
|
update output hashes. `--tag` also pushes manifest tags after successful
|
|
124
124
|
downloads when the provider supports tagging.
|
|
125
125
|
|
|
126
|
+
`fetch --refresh` re-downloads already-downloaded outputs from their durable
|
|
127
|
+
provider reference and replaces the local file only when the object's bytes
|
|
128
|
+
changed upstream — after editing it in the provider's own editor, for
|
|
129
|
+
example. Unchanged objects are reported as such and left alone; a changed
|
|
130
|
+
object replaces the local file only if that file still hashes to what
|
|
131
|
+
PixelKiln wrote, so a local hand edit is never overwritten without `--force`.
|
|
132
|
+
The lockfile then records the new bytes as this generation. Objects with no
|
|
133
|
+
durable reference (PixelLab pixflux images, for one) are not eligible; use
|
|
134
|
+
`pixelkiln edit` for those.
|
|
135
|
+
|
|
126
136
|
After a stale spec is deliberately regenerated, `fetch` replaces the prior file
|
|
127
137
|
only if its hash still proves PixelKiln wrote it. A changed or untracked
|
|
128
138
|
destination is refused; inspect it, then pass `fetch --force` only when the new
|
|
@@ -348,6 +358,13 @@ based on an older generation because the art was regenerated since — plus
|
|
|
348
358
|
**Open in editor** and **Detach edit**. A card whose edit differs from the
|
|
349
359
|
generated art shows the edit, since that is what ships, with a ✎ mark.
|
|
350
360
|
|
|
361
|
+
A PixelLab `map` or `1dir` record also links to its account object (**Open in
|
|
362
|
+
pixellab ↗**), where PixelLab's own editor can change it; with `--budget`
|
|
363
|
+
(any amount — `--budget 0` allows provider contact and no spend) the record
|
|
364
|
+
and its style header offer **Pull upstream changes**, the page's form of
|
|
365
|
+
`fetch --refresh`, which re-downloads the object and replaces the local file
|
|
366
|
+
only if it changed upstream.
|
|
367
|
+
|
|
351
368
|
```bash
|
|
352
369
|
pixelkiln gallery --edit --budget 80
|
|
353
370
|
pixelkiln gallery --budget pixellab=40 --budget retrodiffusion=1.25 --workspace pixelkiln.workspace.json
|
|
@@ -621,6 +638,7 @@ Print the package version. `-v` is an alias.
|
|
|
621
638
|
| `--no-open` | pick/salvage/gallery/edit | Do not automatically open the browser, or the editor for `edit`. |
|
|
622
639
|
| `--edit` | gallery | Let the page change asset prompts, sizes, category, and tags, and add assets. Rewrites the manifest only; never contacts a provider or spends. |
|
|
623
640
|
| `--tag` | fetch/adopt | Also push tags after the command's primary work. |
|
|
641
|
+
| `--refresh` | fetch | Re-download downloaded outputs and replace files whose object changed upstream; never generates, never overwrites a local edit without `--force`. |
|
|
624
642
|
| `--claims <paths>` | salvage | Other project lockfiles; repeatable and comma-separated. |
|
|
625
643
|
| `--workspace <path>` | workspace/salvage/gallery | Workspace catalog path; defaults to `pixelkiln.workspace.json` for `workspace`. On salvage, derives the claim set instead of repeated `--claims`; on gallery, shows every registered project. |
|
|
626
644
|
| `--provider <id>` | balance/adopt/salvage/purge/workspace add | Select the account provider for a mixed manifest, or set the workspace catalog's default provider hint. |
|
package/docs/PIXELLAB.md
CHANGED
|
@@ -95,6 +95,18 @@ one provider account or when existing local art needs its original provenance.
|
|
|
95
95
|
Read [Recovery and account safety](./RECOVERY.md) before changing remote
|
|
96
96
|
objects.
|
|
97
97
|
|
|
98
|
+
### Editing an object in PixelLab's editor
|
|
99
|
+
|
|
100
|
+
A `map` or `1dir` generation is an object in your PixelLab account, and the
|
|
101
|
+
web app can edit it in place with its built-in editor. `pixelkiln gallery`
|
|
102
|
+
links each such record to the object (`https://www.pixellab.ai/objects/<id>`),
|
|
103
|
+
and `pixelkiln fetch --refresh --only <asset>` pulls the edited bytes back
|
|
104
|
+
down: the local file is replaced only if the object changed upstream and the
|
|
105
|
+
local file is still exactly what PixelKiln wrote, and the lockfile records the
|
|
106
|
+
new bytes as this generation. A `pixflux` image is returned inline and keeps no
|
|
107
|
+
account object, so it cannot be edited upstream; use `pixelkiln edit` to touch
|
|
108
|
+
it up locally.
|
|
109
|
+
|
|
98
110
|
PixelLab's official
|
|
99
111
|
[MCP server](https://github.com/pixellab-code/pixellab-mcp) gives agents direct
|
|
100
112
|
access to PixelLab generation tools. It complements PixelKiln: the MCP handles
|