create-pmos 0.454.0 → 0.455.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/package.json +13 -13
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/changelog.json +12 -0
- package/workspace/guide/adler.md +5 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/adler/01_expressions/celebrating-s.png +0 -0
- package/workspace/public/pm/adler/01_expressions/celebrating.png +0 -0
- package/workspace/public/pm/adler/01_expressions/handled-s.png +0 -0
- package/workspace/public/pm/adler/01_expressions/handled.png +0 -0
- package/workspace/public/pm/adler/01_expressions/honest-s.png +0 -0
- package/workspace/public/pm/adler/01_expressions/honest.png +0 -0
- package/workspace/public/pm/adler/01_expressions/needs_you-s.png +0 -0
- package/workspace/public/pm/adler/01_expressions/needs_you.png +0 -0
- package/workspace/public/pm/adler/01_expressions/resting-s.png +0 -0
- package/workspace/public/pm/adler/01_expressions/resting.png +0 -0
- package/workspace/public/pm/adler/01_expressions/thinking-s.png +0 -0
- package/workspace/public/pm/adler/01_expressions/thinking.png +0 -0
- package/workspace/public/pm/adler/02_moments/headphones_honest-s.png +0 -0
- package/workspace/public/pm/adler/02_moments/headphones_honest.png +0 -0
- package/workspace/public/pm/adler/02_moments/headphones_listening-s.png +0 -0
- package/workspace/public/pm/adler/02_moments/headphones_listening.png +0 -0
- package/workspace/public/pm/adler/02_moments/headphones_resting-s.png +0 -0
- package/workspace/public/pm/adler/02_moments/headphones_resting.png +0 -0
- package/workspace/public/pm/adler/02_moments/hello_wave.png +0 -0
- package/workspace/public/pm/adler/02_moments/honest_full_figure.png +0 -0
- package/workspace/public/pm/adler/02_moments/leaf_tips_peeking.png +0 -0
- package/workspace/public/pm/adler/02_moments/morning_stretch.png +0 -0
- package/workspace/public/pm/adler/02_moments/peeking_up-s.png +0 -0
- package/workspace/public/pm/adler/02_moments/peeking_up.png +0 -0
- package/workspace/public/pm/adler/02_moments/tea_mug.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/clipboard.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/laptop_alert.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/laptop_resting.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/sprout_large-s.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/sprout_large.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/sprout_medium-s.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/sprout_medium.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/sprout_none-s.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/sprout_none.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/sprout_small-s.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/sprout_small.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/telescope-s.png +0 -0
- package/workspace/public/pm/adler/03_growth_activity/telescope.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/cloud_large.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/cloud_medium.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/cloud_small.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/crescent_stars.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/leaf_green.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/leaf_orange.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/leaf_pink.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/rain_cloud.png +0 -0
- package/workspace/public/pm/adler/04_weather_leaves/sun.png +0 -0
- package/workspace/public/pm/adler/05_space/lunar_ground.png +0 -0
- package/workspace/public/pm/adler/05_space/planet_cloud.png +0 -0
- package/workspace/public/pm/adler/05_space/planet_crater.png +0 -0
- package/workspace/public/pm/adler/05_space/planet_glass.png +0 -0
- package/workspace/public/pm/adler/05_space/planet_smooth.png +0 -0
- package/workspace/public/pm/adler/05_space/rocket_flying.png +0 -0
- package/workspace/public/pm/adler/05_space/rocket_idle.png +0 -0
- package/workspace/public/pm/adler/05_space/rocket_liftoff.png +0 -0
- package/workspace/public/pm/adler/05_space/satellite.png +0 -0
- package/workspace/public/pm/adler/05_space/satellite_dish.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/beach.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/deciduous_forest.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/desert_large.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/desert_small.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/floating_island_large.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/floating_island_small.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/lake.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/pine_forest.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/snow_forest.png +0 -0
- package/workspace/public/pm/adler/06_landscapes/snow_mountains.png +0 -0
- package/workspace/public/pm/adler/07_wearables/astronaut_helmet.png +0 -0
- package/workspace/public/pm/adler/07_wearables/beanie_blue.png +0 -0
- package/workspace/public/pm/adler/07_wearables/beanie_red.png +0 -0
- package/workspace/public/pm/adler/07_wearables/hard_hat.png +0 -0
- package/workspace/public/pm/adler/07_wearables/headband.png +0 -0
- package/workspace/public/pm/adler/07_wearables/party_hat_blue.png +0 -0
- package/workspace/public/pm/adler/07_wearables/party_hat_multicolor.png +0 -0
- package/workspace/public/pm/adler/07_wearables/pencil.png +0 -0
- package/workspace/public/pm/adler/07_wearables/scarf_black_white.png +0 -0
- package/workspace/public/pm/adler/07_wearables/scarf_blue.png +0 -0
- package/workspace/public/pm/adler/07_wearables/scarf_blue_white.png +0 -0
- package/workspace/public/pm/adler/07_wearables/scarf_green_red.png +0 -0
- package/workspace/public/pm/adler/07_wearables/scarf_green_white.png +0 -0
- package/workspace/public/pm/adler/07_wearables/scarf_red_white.png +0 -0
- package/workspace/public/pm/adler/07_wearables/scarf_yellow.png +0 -0
- package/workspace/public/pm/adler/07_wearables/straw_hat.png +0 -0
- package/workspace/public/pm/adler/07_wearables/yellow_flowers.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/apple.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/cooking_pot.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/cupcake.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/diya.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/egg.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/heart_mug.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/ketupat.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/lotus.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/mandarins.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/mooncake.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/pie.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/pinwheel.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/popcorn.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/red_lantern.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/tangyuan.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/watering_can.png +0 -0
- package/workspace/public/pm/adler/08_food_festival/zongzi.png +0 -0
- package/workspace/public/pm/adler/09_celebration/bunting.png +0 -0
- package/workspace/public/pm/adler/09_celebration/clapperboard.png +0 -0
- package/workspace/public/pm/adler/09_celebration/fireworks.png +0 -0
- package/workspace/public/pm/adler/09_celebration/flower_garland.png +0 -0
- package/workspace/public/pm/adler/09_celebration/gift.png +0 -0
- package/workspace/public/pm/adler/09_celebration/lantern_pair.png +0 -0
- package/workspace/public/pm/adler/09_celebration/moon_cloud.png +0 -0
- package/workspace/public/pm/adler/09_celebration/pumpkin.png +0 -0
- package/workspace/public/pm/adler/09_celebration/soccer_ball.png +0 -0
- package/workspace/public/pm/adler/09_celebration/string_lights.png +0 -0
- package/workspace/public/pm/adler/09_celebration/umbrella.png +0 -0
- package/workspace/public/pm/adler/10_marks/attention_marks.png +0 -0
- package/workspace/public/pm/adler/10_marks/gold_heart.png +0 -0
- package/workspace/public/pm/adler/10_marks/gold_sparkles.png +0 -0
- package/workspace/public/pm/adler/10_marks/gold_star.png +0 -0
- package/workspace/public/pm/adler/10_marks/question_mark.png +0 -0
- package/workspace/public/pm/adler/10_marks/sleep_curls.png +0 -0
- package/workspace/public/pm/adler/manifest.json +830 -517
- package/workspace/public/pm/cozy-adler.js +10 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* pm/cozy-adler.js — Adler, Claude's face in PMOS (feedback batch 16 item 2; spec adler-character/ADLER-SYSTEM.md). Wawan's own art, since
|
|
2
|
-
* 2026-10-29 the blue Adler: 103 PNGs (
|
|
2
|
+
* 2026-10-29 the blue Adler: 103 PNGs (served at 256 px, RGBA; every place and box below is in 512 units, so the file size does not matter to it) in pm/adler/<category>/<name>.png, listed in pm/adler/manifest.json. Each drawing is still
|
|
3
3
|
* an inline <svg class="ad-svg ...">, so every page's CSS and every selector keeps working; the SVG now holds <image>s of the PNGs, and a
|
|
4
4
|
* charm is a PNG placed over the figure.
|
|
5
5
|
*
|
|
@@ -72,8 +72,12 @@ const ART = {
|
|
|
72
72
|
gold_heart:['10_marks',56,96,456,419],question_mark:['10_marks',106,49,407,478],attention_marks:['10_marks',77,89,430,403],
|
|
73
73
|
sleep_curls:['10_marks',135,105,394,436],gold_sparkles:['10_marks',82,105,460,430],
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
/* The faces drawn at 24-64 px (the S and M faces, the peek, the telescope as the empty search) have a 96 px copy, <name>-s.png, so a toast does not
|
|
76
|
+
* fetch a 256 px file for a 24 px picture (scripts/slim-adler-art.py makes both; the manifest lists each copy under "small"). */
|
|
77
|
+
const SMALL = new Set(['handled', 'celebrating', 'thinking', 'needs_you', 'honest', 'resting', 'headphones_listening', 'headphones_resting', 'headphones_honest',
|
|
78
|
+
'sprout_none', 'sprout_small', 'sprout_medium', 'sprout_large', 'telescope', 'peeking_up']);
|
|
79
|
+
/** The PNG's own address, or '' for a name PMOS does not have. small: the 96 px copy, for a picture drawn at 64 px or less. */
|
|
80
|
+
export const artUrl = (name, small) => (ART[name] ? `${BASE}${ART[name][0]}/${name}${small && SMALL.has(name) ? '-s' : ''}.png` : '');
|
|
77
81
|
export const ART_NAMES = Object.freeze(Object.keys(ART));
|
|
78
82
|
const r1 = (v) => Math.round(v * 10) / 10;
|
|
79
83
|
const tw = (i) => (i % 3 ? ' d' + (i % 3 + 1) : '');
|
|
@@ -86,7 +90,7 @@ export function put(name, x, y, w, o = {}) {
|
|
|
86
90
|
+ `${o.rot ? ` transform="rotate(${o.rot} ${r1(x)} ${r1(y)})"` : ''}${o.op ? ` opacity="${o.op}"` : ''}${o.cls ? ` class="${o.cls}"` : ''}/>`;
|
|
87
91
|
}
|
|
88
92
|
/** A whole PNG file, edge to edge, in a 512 square (the figure and the face). */
|
|
89
|
-
const whole = (name, cls) => `<image href="${artUrl(name)}" x="0" y="0" width="512" height="512" decoding="async"${cls ? ` class="${cls}"` : ''}/>`;
|
|
93
|
+
const whole = (name, cls, small) => `<image href="${artUrl(name, small)}" x="0" y="0" width="512" height="512" decoding="async"${cls ? ` class="${cls}"` : ''}/>`;
|
|
90
94
|
const F = (k) => `adf-${k}`, S = (k) => `ads-${k}`;
|
|
91
95
|
|
|
92
96
|
/* Which PNG is him, by mood (the inner words of INNER), prop and growth. The headphones mean a meeting records; the telescope is the
|
|
@@ -340,7 +344,7 @@ export function adler(mood, size = 'm', o = {}) {
|
|
|
340
344
|
const worn = figure ? c : hat ? c : null;
|
|
341
345
|
const extra = [o.prop === 'headphones' ? 'listening' : o.prop === 'magnifier' ? 'searching' : '', worn ? 'dressed for ' + worn.ch.name : ''].filter(Boolean).join(', ');
|
|
342
346
|
const art = pose(m, o.prop, figure ? null : o.grow);
|
|
343
|
-
const grew = o.growNew && o.grow && !figure ? `<g class="ad-gw">${whole(art)}</g>` : whole(art);
|
|
347
|
+
const grew = o.growNew && o.grow && !figure ? `<g class="ad-gw">${whole(art, '', true)}</g>` : whole(art, '', figure ? false : true);
|
|
344
348
|
if (!figure) return `<svg class="${cls} ad-face" width="${px}" height="${px}" viewBox="22 26 488 488" overflow="visible" ${labelAttr(o, mood, extra)}>${grew}${hat}</svg>`;
|
|
345
349
|
return `<svg class="${cls} ad-fig" width="${px}" height="${px}" viewBox="0 0 512 512" overflow="visible" ${labelAttr(o, mood, extra)}>`
|
|
346
350
|
+ `<ellipse cx="262" cy="488" rx="170" ry="14" class="${F('shadow')}" opacity=".14"/><g class="ad-br">${m === 'joy' ? sparkles() : ''}${whole(art)}${wear(m, o.prop, c)}</g></svg>`;
|
|
@@ -352,7 +356,7 @@ export const faceOr = (mood, size, icon, o = {}) => (P['adler.amount'] === 'off'
|
|
|
352
356
|
export function adlerPeek(o = {}) {
|
|
353
357
|
addCss();
|
|
354
358
|
if (P['adler.amount'] !== 'full') return '';
|
|
355
|
-
return `<svg class="ad-svg am m-ask ad-peek" width="44" height="22" viewBox="37 179 466 233" overflow="hidden" ${labelAttr({ label: o.label || 'Adler, one call is yours' }, 'needs-you')}>${whole('peeking_up')}</svg>`;
|
|
359
|
+
return `<svg class="ad-svg am m-ask ad-peek" width="44" height="22" viewBox="37 179 466 233" overflow="hidden" ${labelAttr({ label: o.label || 'Adler, one call is yours' }, 'needs-you')}>${whole('peeking_up', '', true)}</svg>`;
|
|
356
360
|
}
|
|
357
361
|
|
|
358
362
|
const grass = (x, y, s = 1, d = '') => `<g class="env-sway${d}"><path d="M${x} ${y} q -3 -${14 * s} -9 -${20 * s} M${x} ${y} q 1 -${18 * s} 4 -${24 * s} M${x} ${y} q 4 -${10 * s} 11 -${15 * s}" class="${S('grass')}" stroke-width="2.4" fill="none" stroke-linecap="round"/></g>`;
|