pixelkiln 0.41.0 → 0.43.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/README.md +1 -1
- package/dist/cli.js +954 -550
- package/dist/cli.js.map +1 -1
- package/dist/client/gallery.js +14 -0
- package/dist/index.cjs +940 -514
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1038 -29
- package/dist/index.d.ts +1038 -29
- package/dist/index.js +902 -480
- package/dist/index.js.map +1 -1
- package/docs/GENERATORS.md +14 -6
- package/docs/MANIFEST.md +94 -6
- package/package.json +1 -1
- package/schema/manifest.schema.json +188 -3
- package/schema/recipe.schema.json +55 -0
- package/skills/pixelkiln/references/pixellab.md +12 -1
package/dist/client/gallery.js
CHANGED
|
@@ -100,6 +100,7 @@ const PHASE_TONE = { queued: 'cool', submitting: 'cool', polling: 'cool', fetchi
|
|
|
100
100
|
/** "state of mira", "loop of mira.chair_spin, east": where a character family member sits. */
|
|
101
101
|
const familyLabel = (item) => {
|
|
102
102
|
const c = item.character;
|
|
103
|
+
if (item.mirrorOfKey) return 'mirror of ' + item.mirrorOfKey.split('/').slice(1).join('/') + (c && c.direction ? ', ' + c.direction : '');
|
|
103
104
|
if (!c || c.kind === 'base') return null;
|
|
104
105
|
const parent = c.parentKey ? c.parentKey.split('/').slice(1).join('/') : null;
|
|
105
106
|
if (c.kind === 'state') return parent ? 'state of ' + parent : 'state';
|
|
@@ -1949,6 +1950,19 @@ function renderDrawer() {
|
|
|
1949
1950
|
body.append(s);
|
|
1950
1951
|
}
|
|
1951
1952
|
|
|
1953
|
+
if (item.mirrorOfKey) {
|
|
1954
|
+
const { s, dl } = section('Mirror');
|
|
1955
|
+
row(dl, 'flipped from', keyLink(item, item.mirrorOfKey));
|
|
1956
|
+
row(dl, 'cost', 'none; made locally from that asset\'s files');
|
|
1957
|
+
body.append(s);
|
|
1958
|
+
}
|
|
1959
|
+
const mirrors = snap.items.filter((i) => i.mirrorOfKey === item.key && i.project === item.project);
|
|
1960
|
+
if (mirrors.length) {
|
|
1961
|
+
const { s, dl } = section(mirrors.length === 1 ? 'Mirror of this asset' : 'Mirrors of this asset');
|
|
1962
|
+
for (const m of mirrors) row(dl, m.character && m.character.direction ? m.character.direction : 'flipped', keyLink(item, m.key));
|
|
1963
|
+
body.append(s);
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1952
1966
|
if (item.revision || item.revisionParentKey) {
|
|
1953
1967
|
const { s, dl } = section('Lineage');
|
|
1954
1968
|
row(dl, 'mode', item.revision ? item.revision.mode : (item.asset && item.asset.revision && item.asset.revision.mode));
|