pixelkiln 0.77.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,9 +16735,11 @@ ${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>
@@ -16749,6 +16753,7 @@ ${css}</style>
16749
16753
  <div id="tools"></div>
16750
16754
  </header>
16751
16755
  <main id="root"></main>
16756
+ <div id="selbar" class="selbar" hidden></div>
16752
16757
  <footer>
16753
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
16754
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,