pixelkiln 0.76.0 → 0.78.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/index.d.cts CHANGED
@@ -18121,6 +18121,12 @@ interface GalleryItem {
18121
18121
  providerMetadata: Record<string, unknown>;
18122
18122
  /** Post-processing recorded on the entry: the palette its files were snapped to, if any. */
18123
18123
  postprocess: Postprocess | null;
18124
+ /**
18125
+ * The manifest id an edit to this asset goes to: its own id, or the loop
18126
+ * shorthand (`animation.directions`) it was expanded from; null when the
18127
+ * manifest no longer declares it.
18128
+ */
18129
+ declaredAs: string | null;
18124
18130
  /** Manifest asset as declared, for the "intent" side of the record. */
18125
18131
  asset: Asset | null;
18126
18132
  /** Manifest-relative committed art placed instead of generated output. */
package/dist/index.d.ts CHANGED
@@ -18121,6 +18121,12 @@ interface GalleryItem {
18121
18121
  providerMetadata: Record<string, unknown>;
18122
18122
  /** Post-processing recorded on the entry: the palette its files were snapped to, if any. */
18123
18123
  postprocess: Postprocess | null;
18124
+ /**
18125
+ * The manifest id an edit to this asset goes to: its own id, or the loop
18126
+ * shorthand (`animation.directions`) it was expanded from; null when the
18127
+ * manifest no longer declares it.
18128
+ */
18129
+ declaredAs: string | null;
18124
18130
  /** Manifest asset as declared, for the "intent" side of the record. */
18125
18131
  asset: Asset | null;
18126
18132
  /** Manifest-relative committed art placed instead of generated output. */
package/dist/index.js CHANGED
@@ -16335,6 +16335,7 @@ async function buildGallerySnapshot(opts) {
16335
16335
  styleId: spec.styleId,
16336
16336
  assetId: spec.assetId,
16337
16337
  declared: true,
16338
+ declaredAs: loopShorthandOf(spec.assetId, loaded.loopFamilies) ?? spec.assetId,
16338
16339
  state: planItem.state,
16339
16340
  reason: planItem.reason,
16340
16341
  status: entry?.status ?? null,
@@ -16404,6 +16405,7 @@ async function buildGallerySnapshot(opts) {
16404
16405
  styleId: entry.styleId,
16405
16406
  assetId: entry.assetId,
16406
16407
  declared: false,
16408
+ declaredAs: null,
16407
16409
  state: "undeclared",
16408
16410
  reason: "not declared by the current manifest; `pixelkiln prune` removes the entry",
16409
16411
  status: entry.status,
@@ -16733,12 +16735,17 @@ ${css}</style>
16733
16735
  </select>
16734
16736
  <select id="group" aria-label="Group">
16735
16737
  <option value="style">Group: by style</option>
16738
+ <option value="family">Group: by family</option>
16736
16739
  <option value="none">Group: none</option>
16737
16740
  </select>
16738
16741
  <span id="editing" class="editing" hidden title="This gallery can write the manifest. It never contacts a provider.">editing</span>
16742
+ <button id="select" type="button" title="Pick several records to generate, regenerate, compare, or tag together (or ctrl/\u2318-click a card)">Select</button>
16739
16743
  <button id="studio" type="button" hidden title="Draft a new character: its style, base, loops, and portrait, priced as you go">+ New character</button>
16740
16744
  <button id="refresh" type="button" title="Re-read the manifest, lockfile, and disk">Refresh</button>
16741
16745
  <label class="chip" title="Refresh every 5 seconds while this tab is visible"><input id="auto" type="checkbox"> auto</label>
16746
+ <label class="chip" title="Play every loop on the grid; without this, a loop plays while the pointer is over it"><input id="playloops" type="checkbox"> play loops</label>
16747
+ <span id="backdrop-slot"></span>
16748
+ <label class="chip" id="notify-chip" hidden title="A system notification when a job finishes while this tab is in the background"><input id="notify" type="checkbox"> notify</label>
16742
16749
  </div>
16743
16750
  <div class="totals" id="totals"></div>
16744
16751
  <div class="chips" id="chips"></div>
@@ -16746,9 +16753,10 @@ ${css}</style>
16746
16753
  <div id="tools"></div>
16747
16754
  </header>
16748
16755
  <main id="root"></main>
16756
+ <div id="selbar" class="selbar" hidden></div>
16749
16757
  <footer>
16750
16758
  Click a sprite for its full record; <kbd>shift</kbd>-click adds it to a side-by-side comparison. <kbd>\u2190</kbd>/<kbd>\u2192</kbd> step through the visible set while a record
16751
- is open, <kbd>Esc</kbd> closes it, and <kbd>/</kbd> jumps to search. This page reads the manifest, lockfile,
16759
+ is open, <kbd>,</kbd>/<kbd>.</kbd> step a loop's frames and <kbd>space</kbd> plays it, <kbd>Esc</kbd> closes it, and <kbd>/</kbd> jumps to search. This page reads the manifest, lockfile,
16752
16760
  and disk only. It never contacts a provider<span id="foot-edit"> and never writes anything</span><span id="foot-editing" hidden>.
16753
16761
  Editing is on: saving rewrites the manifest and nothing else</span><span id="foot-gen" hidden>.
16754
16762
  Generation is on under the session budget shown above; every run is the same submit, poll, and fetch as <code>pixelkiln gen</code></span>.