Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
Address PET review feedback
JeffreyDeng-specc8b396c0c10d
diff --git a/assets/pr-assets/pet-actions-overview.svg b/assets/pr-assets/pet-actions-overview.svgnew file mode 100644index 000000000..aaad12fe1--- /dev/null+++ b/assets/pr-assets/pet-actions-overview.svg@@ -0,0 +1,74 @@+<svg width="1200" height="675" viewBox="0 0 1200 675" fill="none" xmlns="http://www.w3.org/2000/svg">+ <rect width="1200" height="675" fill="#101828"/>+ <rect x="34" y="34" width="1132" height="607" rx="26" fill="#172033" stroke="#344054"/>+ <text x="76" y="90" font-family="Inter, Arial, sans-serif" font-size="36" font-weight="700" fill="#f9fafb">Alook PET Interaction Model</text>+ <text x="76" y="126" font-family="Inter, Arial, sans-serif" font-size="18" fill="#cbd5e1">Opt-in companion with activity, movement, reaction, and notification states</text>+ <g transform="translate(76 165)" font-family="Inter, Arial, sans-serif">+ <rect width="318" height="118" rx="18" fill="#1f2937" stroke="#475467"/>+ <circle cx="54" cy="58" r="30" fill="#12b76a"/>+ <text x="54" y="66" text-anchor="middle" font-size="28" font-weight="700" fill="#052e16">0</text>+ <text x="104" y="50" font-size="19" font-weight="700" fill="#f9fafb">Default state</text>+ <text x="104" y="76" font-size="14" fill="#cbd5e1">Off until users opt in</text>+ </g>+ <g transform="translate(440 165)" font-family="Inter, Arial, sans-serif">+ <rect width="318" height="118" rx="18" fill="#1f2937" stroke="#475467"/>+ <circle cx="54" cy="58" r="30" fill="#60a5fa"/>+ <text x="54" y="66" text-anchor="middle" font-size="28" font-weight="700" fill="#082f49">6</text>+ <text x="104" y="50" font-size="19" font-weight="700" fill="#f9fafb">Away activities</text>+ <text x="104" y="76" font-size="14" fill="#cbd5e1">Coding, sleeping, reading, phone, thinking, snacking</text>+ </g>+ <g transform="translate(804 165)" font-family="Inter, Arial, sans-serif">+ <rect width="318" height="118" rx="18" fill="#1f2937" stroke="#475467"/>+ <circle cx="54" cy="58" r="30" fill="#f59e0b"/>+ <text x="54" y="66" text-anchor="middle" font-size="22" font-weight="700" fill="#451a03">2</text>+ <text x="104" y="50" font-size="19" font-weight="700" fill="#f9fafb">Display scopes</text>+ <text x="104" y="76" font-size="14" fill="#cbd5e1">Homepage canvas or global workspace layer</text>+ </g>+ <g transform="translate(80 335)" font-family="Inter, Arial, sans-serif">+ <defs>+ <marker id="arrow" viewBox="0 0 10 10" refX="7" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">+ <path d="M 0 0 L 10 5 L 0 10 z" fill="#94a3b8"/>+ </marker>+ <g id="miniPet">+ <rect x="22" y="12" width="60" height="58" rx="13" fill="#d87352"/>+ <rect x="34" y="28" width="11" height="12" rx="2" fill="#111827"/>+ <rect x="60" y="28" width="11" height="12" rx="2" fill="#111827"/>+ <rect x="42" y="50" width="22" height="5" rx="2.5" fill="#fff7ed" opacity=".8"/>+ <rect x="12" y="72" width="26" height="9" rx="4.5" fill="#f1bc62"/>+ <rect x="66" y="72" width="26" height="9" rx="4.5" fill="#f1bc62"/>+ </g>+ </defs>+ <g transform="translate(0 0)">+ <rect width="185" height="195" rx="20" fill="#111827" stroke="#334155"/>+ <use href="#miniPet" transform="translate(42 24)"/>+ <text x="92" y="134" text-anchor="middle" font-size="18" font-weight="700" fill="#f9fafb">Drag</text>+ <text x="92" y="158" text-anchor="middle" font-size="13" fill="#cbd5e1">clamped movement + footsteps</text>+ </g>+ <line x1="205" y1="98" x2="280" y2="98" stroke="#94a3b8" stroke-width="3" marker-end="url(#arrow)"/>+ <g transform="translate(300 0)">+ <rect width="185" height="195" rx="20" fill="#111827" stroke="#334155"/>+ <use href="#miniPet" transform="translate(42 24)"/>+ <path d="M34 30 L18 20 M112 30 L130 18 M42 15 L34 2 M102 70 L124 83" stroke="#fbbf24" stroke-width="5" stroke-linecap="round"/>+ <text x="92" y="134" text-anchor="middle" font-size="18" font-weight="700" fill="#f9fafb">Click</text>+ <text x="92" y="158" text-anchor="middle" font-size="13" fill="#cbd5e1">shock reaction</text>+ </g>+ <line x1="505" y1="98" x2="580" y2="98" stroke="#94a3b8" stroke-width="3" marker-end="url(#arrow)"/>+ <g transform="translate(600 0)">+ <rect width="185" height="195" rx="20" fill="#111827" stroke="#334155"/>+ <use href="#miniPet" transform="translate(42 24) rotate(10 52 46)"/>+ <path d="M25 42 C5 20 18 8 38 20 M132 42 C152 20 139 8 119 20" stroke="#fb7185" stroke-width="5" fill="none" stroke-linecap="round"/>+ <text x="92" y="134" text-anchor="middle" font-size="18" font-weight="700" fill="#f9fafb">Shake</text>+ <text x="92" y="158" text-anchor="middle" font-size="13" fill="#cbd5e1">violent drag can faint</text>+ </g>+ <line x1="805" y1="98" x2="880" y2="98" stroke="#94a3b8" stroke-width="3" marker-end="url(#arrow)"/>+ <g transform="translate(900 0)">+ <rect width="185" height="195" rx="20" fill="#111827" stroke="#334155"/>+ <rect x="50" y="22" width="86" height="54" rx="11" fill="#334155"/>+ <use href="#miniPet" transform="translate(42 58) scale(.9)"/>+ <circle cx="132" cy="36" r="16" fill="#f97316"/>+ <text x="132" y="42" text-anchor="middle" font-size="15" font-weight="700" fill="#fff7ed">!</text>+ <text x="92" y="134" text-anchor="middle" font-size="18" font-weight="700" fill="#f9fafb">Peek + notify</text>+ <text x="92" y="158" text-anchor="middle" font-size="13" fill="#cbd5e1">agent nodes and inbox events</text>+ </g>+ </g>+</svg>diff --git a/assets/pr-assets/pet-presets-overview.svg b/assets/pr-assets/pet-presets-overview.svgnew file mode 100644index 000000000..9d313fbe2--- /dev/null+++ b/assets/pr-assets/pet-presets-overview.svg@@ -0,0 +1,59 @@+<svg width="1200" height="675" viewBox="0 0 1200 675" fill="none" xmlns="http://www.w3.org/2000/svg">+ <rect width="1200" height="675" fill="#f8fafc"/>+ <rect x="32" y="32" width="1136" height="611" rx="24" fill="#ffffff" stroke="#d8dee9"/>+ <text x="72" y="88" font-family="Inter, Arial, sans-serif" font-size="36" font-weight="700" fill="#101828">Alook PET Presets</text>+ <text x="72" y="124" font-family="Inter, Arial, sans-serif" font-size="18" fill="#667085">30 selectable pixel companions, opt-in from Settings > Pet</text>+ <g transform="translate(74 160)">+ <rect width="210" height="92" rx="14" fill="#fff7ed" stroke="#fed7aa"/>+ <text x="22" y="39" font-family="Inter, Arial, sans-serif" font-size="30" font-weight="700" fill="#c2410c">30</text>+ <text x="74" y="34" font-family="Inter, Arial, sans-serif" font-size="14" font-weight="700" fill="#7c2d12">character presets</text>+ <text x="74" y="56" font-family="Inter, Arial, sans-serif" font-size="13" fill="#9a3412">generic public names</text>+ </g>+ <g transform="translate(312 160)">+ <rect width="210" height="92" rx="14" fill="#ecfdf3" stroke="#bbf7d0"/>+ <text x="22" y="39" font-family="Inter, Arial, sans-serif" font-size="30" font-weight="700" fill="#15803d">0</text>+ <text x="74" y="34" font-family="Inter, Arial, sans-serif" font-size="14" font-weight="700" fill="#14532d">runtime assets</text>+ <text x="74" y="56" font-family="Inter, Arial, sans-serif" font-size="13" fill="#166534">drawn as SVG pixels</text>+ </g>+ <g transform="translate(550 160)">+ <rect width="250" height="92" rx="14" fill="#eff6ff" stroke="#bfdbfe"/>+ <text x="22" y="39" font-family="Inter, Arial, sans-serif" font-size="30" font-weight="700" fill="#1d4ed8">1</text>+ <text x="74" y="34" font-family="Inter, Arial, sans-serif" font-size="14" font-weight="700" fill="#1e3a8a">default preset</text>+ <text x="74" y="56" font-family="Inter, Arial, sans-serif" font-size="13" fill="#1d4ed8">Claude Pixel first</text>+ </g>+ <g transform="translate(828 160)">+ <rect width="266" height="92" rx="14" fill="#f5f3ff" stroke="#ddd6fe"/>+ <text x="22" y="39" font-family="Inter, Arial, sans-serif" font-size="30" font-weight="700" fill="#6d28d9">opt-in</text>+ <text x="22" y="62" font-family="Inter, Arial, sans-serif" font-size="13" fill="#6d28d9">disabled until the user enables it</text>+ </g>+ <g transform="translate(72 292)" font-family="Inter, Arial, sans-serif">+ <defs>+ <g id="petIcon">+ <rect x="15" y="12" width="50" height="50" rx="10" fill="var(--body)"/>+ <rect x="23" y="22" width="10" height="10" rx="2" fill="#111827"/>+ <rect x="47" y="22" width="10" height="10" rx="2" fill="#111827"/>+ <rect x="31" y="44" width="18" height="5" rx="2.5" fill="#ffffff" opacity=".72"/>+ <rect x="10" y="64" width="18" height="8" rx="4" fill="var(--accent)"/>+ <rect x="52" y="64" width="18" height="8" rx="4" fill="var(--accent)"/>+ </g>+ </defs>+ <g transform="translate(0 0)" style="--body:#d87352;--accent:#f1bc62"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Claude Pixel</text></g>+ <g transform="translate(170 0)" style="--body:#2f8fc4;--accent:#f4c94f"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Pocket Bell</text></g>+ <g transform="translate(340 0)" style="--body:#e6bd37;--accent:#df5145"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Spark Bolt</text></g>+ <g transform="translate(510 0)" style="--body:#df7fa0;--accent:#f0d862"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Star Puff</text></g>+ <g transform="translate(680 0)" style="--body:#5f9666;--accent:#d6e78a"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Leaf Bud</text></g>+ <g transform="translate(850 0)" style="--body:#ce6b3f;--accent:#f3c34b"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Tiny Flame</text></g>+ <g transform="translate(0 110)" style="--body:#629dcc;--accent:#ead59a"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Shell Fin</text></g>+ <g transform="translate(170 110)" style="--body:#c65342;--accent:#e8c866"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Straw Voyager</text></g>+ <g transform="translate(340 110)" style="--body:#554761;--accent:#cf6f8e"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Imp Hood</text></g>+ <g transform="translate(510 110)" style="--body:#74766a;--accent:#c6d68c"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Forest Neighbor</text></g>+ <g transform="translate(680 110)" style="--body:#25262c;--accent:#f0f0d8"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Dust Puff</text></g>+ <g transform="translate(850 110)" style="--body:#5aa0d8;--accent:#f3f7ff"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Teardrop Slime</text></g>+ <g transform="translate(0 220)" style="--body:#54afa2;--accent:#e4f2ef"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Ink Runner</text></g>+ <g transform="translate(170 220)" style="--body:#6e91c8;--accent:#f3edf5"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Little Beagle</text></g>+ <g transform="translate(340 220)" style="--body:#df84b2;--accent:#f0d66a"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Tiny Antler</text></g>+ <g transform="translate(510 220)" style="--body:#bdc3ce;--accent:#f0c748"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Mecha Guard</text></g>+ <g transform="translate(680 220)" style="--body:#e681a4;--accent:#f3d66b"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Cozy Hood</text></g>+ <g transform="translate(850 220)" style="--body:#e5ba2f;--accent:#f2845f"><use href="#petIcon"/><text x="40" y="94" text-anchor="middle" font-size="11" fill="#344054">Arcade Chomp</text></g>+ </g>+</svg>diff --git a/src/web/src/app/(app)/w/[slug]/settings/pet-tab.tsx b/src/web/src/app/(app)/w/[slug]/settings/pet-tab.tsxindex c7232b9bb..b86a2ee4e 100644--- a/src/web/src/app/(app)/w/[slug]/settings/pet-tab.tsx+++ b/src/web/src/app/(app)/w/[slug]/settings/pet-tab.tsx@@ -41,7 +41,7 @@ const DISPLAY_SCOPE_OPTIONS: Array<{];export function PetTab() {- const [enabled, setEnabled] = useState(true);+ const [enabled, setEnabled] = useState(false);const [displayScope, setDisplayScope] = useState<HomePetDisplayScope>("home");const [selectedPresetId, setSelectedPresetId] = useState(CLOUD_CODE_MONSTER_PET_PRESETS[0]!.id@@ -98,7 +98,7 @@ export function PetTab() {Enable pet</Label><p className="text-xs text-muted-foreground">- Keep the workspace companion visible when enabled+ Off by default. Turn it on when you want the workspace companion.</p></div><Switchdiff --git a/src/web/src/components/home-pet/cloud-code-monster-pet.test.ts b/src/web/src/components/home-pet/cloud-code-monster-pet.test.tsindex 7a91565d3..33ee0795e 100644--- a/src/web/src/components/home-pet/cloud-code-monster-pet.test.ts+++ b/src/web/src/components/home-pet/cloud-code-monster-pet.test.ts@@ -26,6 +26,7 @@ import {shouldFaintFromMonsterShake,shouldRefreshCloudCodeMonsterActivity,} from "./cloud-code-monster-pet";+import { readHomePetSettings } from "../../lib/home-pet-settings";function webRoot() {return process.cwd().endsWith(`${path.sep}src${path.sep}web`)@@ -47,15 +48,57 @@ describe("Cloud Code monster PET helpers", () => {it("keeps production presets selectable and validates fallback behavior", () => {const presetIds = new Set(CLOUD_CODE_MONSTER_PET_PRESETS.map((preset) => preset.id));+ const publicNames = CLOUD_CODE_MONSTER_PET_PRESETS.map((preset) => preset.name);+ const publicGroups = CLOUD_CODE_MONSTER_PET_PRESETS.map((preset) => preset.group);+ const sensitiveNames = [+ "Doraemon",+ "Pikachu",+ "Kirby",+ "Bulbasaur",+ "Charmander",+ "Squirtle",+ "Minecraft Steve",+ "Minecraft Creeper",+ "Minecraft Zombie",+ "Toad",+ "Sonic",+ "Pac-Man",+ "Boo",+ "Mario",+ "Winnie the Pooh",+ "Hello Kitty",+ "My Melody",+ "Kuromi",+ "Totoro",+ "Soot Sprite",+ "Luffy",+ "Naruto",+ "Goku",+ "Sailor Moon",+ "Gundam",+ "Dragon Quest Slime",+ "Inkling",+ "Snoopy",+ "Chopper",+ ];expect(CLOUD_CODE_MONSTER_PET_PRESETS).toHaveLength(30);expect(presetIds.size).toBe(30);+ expect(publicNames).not.toEqual(expect.arrayContaining(sensitiveNames));+ expect(publicGroups).not.toContain("Licensed IP");expect(getCloudCodeMonsterPreset("pet-12").id).toBe("pet-12");expect(getCloudCodeMonsterPreset("missing").id).toBe(CLOUD_CODE_MONSTER_PET_PRESETS[0]!.id);});+ it("defaults to opt-in behavior", () => {+ expect(readHomePetSettings()).toMatchObject({+ enabled: false,+ displayScope: "home",+ });+ });+it("refreshes visible activity only after the away threshold", () => {const updatedAt = 1_000;diff --git a/src/web/src/components/home-pet/cloud-code-monster-pet.tsx b/src/web/src/components/home-pet/cloud-code-monster-pet.tsxindex 9128c0dde..b6eb4fe24 100644--- a/src/web/src/components/home-pet/cloud-code-monster-pet.tsx+++ b/src/web/src/components/home-pet/cloud-code-monster-pet.tsx@@ -201,12 +201,12 @@ export function clampPetPosition(}export const CLOUD_CODE_MONSTER_ACTIVITIES: CloudCodeMonsterActivity[] = [- { id: "coding", label: "写代码", caption: "在敲一段小 patch" },- { id: "sleeping", label: "睡觉", caption: "闭眼打盹" },- { id: "reading", label: "看书", caption: "翻一本很厚的 docs" },- { id: "phone", label: "玩手机", caption: "盯着小屏幕发光" },- { id: "thinking", label: "发呆", caption: "处理一点后台思考" },- { id: "snacking", label: "吃零食", caption: "嚼一点能量块" },+ { id: "coding", label: "Coding", caption: "Tapping through a small patch" },+ { id: "sleeping", label: "Sleeping", caption: "Taking a short workspace nap" },+ { id: "reading", label: "Reading", caption: "Flipping through a thick doc" },+ { id: "phone", label: "On phone", caption: "Checking a tiny glowing screen" },+ { id: "thinking", label: "Thinking", caption: "Processing a background thought" },+ { id: "snacking", label: "Snacking", caption: "Chewing on a little energy block" },];export const CLOUD_CODE_MONSTER_AUTOWALK_ACTIVITY_IDS: readonly CloudCodeMonsterActivityId[] = [@@ -520,7 +520,7 @@ const CLOUD_CODE_MONSTER_PET_PRESET_BASES: CloudCodeMonsterPetPreset[] = [},{id: "pet-19",- name: "Soot Sprite",+ name: "Dust Puff",group: "Tiny Soot",feature: "soot",bodyTop: "#34343a",@@ -717,48 +717,48 @@ const CLOUD_CODE_MONSTER_PET_PRESET_BASES: CloudCodeMonsterPetPreset[] = [},];-const LICENSED_IP_PRESET_OVERRIDES = [- { id: "pet-02", name: "Doraemon", group: "Licensed IP", feature: "bell", shape: "doraemon" },- { id: "pet-03", name: "Pikachu", group: "Licensed IP", feature: "bolt", shape: "pikachu" },- { id: "pet-04", name: "Kirby", group: "Licensed IP", feature: "star", shape: "kirby" },- { id: "pet-05", name: "Bulbasaur", group: "Licensed IP", feature: "leaf", shape: "bulbasaur" },- { id: "pet-06", name: "Charmander", group: "Licensed IP", feature: "flame", shape: "charmander" },- { id: "pet-07", name: "Squirtle", group: "Licensed IP", feature: "fins", shape: "squirtle" },- { id: "pet-08", name: "Minecraft Steve", group: "Licensed IP", feature: "visor", shape: "minecraft-steve" },- { id: "pet-09", name: "Minecraft Creeper", group: "Licensed IP", feature: "mask", shape: "minecraft-creeper" },- { id: "pet-10", name: "Minecraft Zombie", group: "Licensed IP", feature: "visor", shape: "minecraft-zombie" },- { id: "pet-11", name: "Toad", group: "Licensed IP", feature: "mushroom", shape: "toad" },- { id: "pet-12", name: "Sonic", group: "Licensed IP", feature: "spin", shape: "sonic" },- { id: "pet-13", name: "Pac-Man", group: "Licensed IP", feature: "chomp", shape: "pacman" },- { id: "pet-14", name: "Boo", group: "Licensed IP", feature: "ghost", shape: "boo" },- { id: "pet-15", name: "Mario", group: "Licensed IP", feature: "cap", shape: "mario" },- { id: "pet-16", name: "Winnie the Pooh", group: "Licensed IP", feature: "ears", shape: "pooh" },- { id: "pet-17", name: "Hello Kitty", group: "Licensed IP", feature: "bow", shape: "hello-kitty" },- { id: "pet-18", name: "My Melody", group: "Licensed IP", feature: "hood", shape: "my-melody" },- { id: "pet-19", name: "Kuromi", group: "Licensed IP", feature: "mask", shape: "kuromi" },- { id: "pet-20", name: "Totoro", group: "Licensed IP", feature: "ears", shape: "totoro" },- { id: "pet-21", name: "Soot Sprite", group: "Licensed IP", feature: "soot", shape: "soot-sprite" },- { id: "pet-22", name: "Luffy", group: "Licensed IP", feature: "straw", shape: "luffy" },- { id: "pet-23", name: "Naruto", group: "Licensed IP", feature: "ninja", shape: "naruto" },- { id: "pet-24", name: "Goku", group: "Licensed IP", feature: "pearl", shape: "goku" },- { id: "pet-25", name: "Sailor Moon", group: "Licensed IP", feature: "wand", shape: "sailor-moon" },- { id: "pet-26", name: "Gundam", group: "Licensed IP", feature: "mecha", shape: "gundam" },- { id: "pet-27", name: "Dragon Quest Slime", group: "Licensed IP", feature: "slime", shape: "dragon-quest-slime" },- { id: "pet-28", name: "Inkling", group: "Licensed IP", feature: "ink", shape: "inkling" },- { id: "pet-29", name: "Snoopy", group: "Licensed IP", feature: "ears", shape: "snoopy" },- { id: "pet-30", name: "Chopper", group: "Licensed IP", feature: "horns", shape: "chopper" },+const INSPIRED_PRESET_OVERRIDES = [+ { id: "pet-02", name: "Pocket Bell Bot", group: "Inspired Mascots", feature: "bell", shape: "doraemon" },+ { id: "pet-03", name: "Spark Bolt Pal", group: "Inspired Mascots", feature: "bolt", shape: "pikachu" },+ { id: "pet-04", name: "Star Puff", group: "Inspired Mascots", feature: "star", shape: "kirby" },+ { id: "pet-05", name: "Leaf Bud", group: "Inspired Mascots", feature: "leaf", shape: "bulbasaur" },+ { id: "pet-06", name: "Tiny Flame", group: "Inspired Mascots", feature: "flame", shape: "charmander" },+ { id: "pet-07", name: "Shell Fin", group: "Inspired Mascots", feature: "fins", shape: "squirtle" },+ { id: "pet-08", name: "Block Builder", group: "Inspired Mascots", feature: "visor", shape: "minecraft-steve" },+ { id: "pet-09", name: "Block Hiss", group: "Inspired Mascots", feature: "mask", shape: "minecraft-creeper" },+ { id: "pet-10", name: "Block Walker", group: "Inspired Mascots", feature: "visor", shape: "minecraft-zombie" },+ { id: "pet-11", name: "Mushroom Pal", group: "Inspired Mascots", feature: "mushroom", shape: "toad" },+ { id: "pet-12", name: "Blue Spin", group: "Inspired Mascots", feature: "spin", shape: "sonic" },+ { id: "pet-13", name: "Arcade Chomp", group: "Inspired Mascots", feature: "chomp", shape: "pacman" },+ { id: "pet-14", name: "Peek Ghost", group: "Inspired Mascots", feature: "ghost", shape: "boo" },+ { id: "pet-15", name: "Red Cap Jumper", group: "Inspired Mascots", feature: "cap", shape: "mario" },+ { id: "pet-16", name: "Honey Cub", group: "Inspired Mascots", feature: "ears", shape: "pooh" },+ { id: "pet-17", name: "Ribbon Cat", group: "Inspired Mascots", feature: "bow", shape: "hello-kitty" },+ { id: "pet-18", name: "Cozy Hood Bunny", group: "Inspired Mascots", feature: "hood", shape: "my-melody" },+ { id: "pet-19", name: "Imp Hood", group: "Inspired Mascots", feature: "mask", shape: "kuromi" },+ { id: "pet-20", name: "Forest Neighbor", group: "Inspired Mascots", feature: "ears", shape: "totoro" },+ { id: "pet-21", name: "Dust Puff", group: "Inspired Mascots", feature: "soot", shape: "soot-sprite" },+ { id: "pet-22", name: "Straw Voyager", group: "Inspired Mascots", feature: "straw", shape: "luffy" },+ { id: "pet-23", name: "Leaf Runner", group: "Inspired Mascots", feature: "ninja", shape: "naruto" },+ { id: "pet-24", name: "Energy Pearl", group: "Inspired Mascots", feature: "pearl", shape: "goku" },+ { id: "pet-25", name: "Moon Wand", group: "Inspired Mascots", feature: "wand", shape: "sailor-moon" },+ { id: "pet-26", name: "Mecha Guard", group: "Inspired Mascots", feature: "mecha", shape: "gundam" },+ { id: "pet-27", name: "Teardrop Slime", group: "Inspired Mascots", feature: "slime", shape: "dragon-quest-slime" },+ { id: "pet-28", name: "Ink Runner", group: "Inspired Mascots", feature: "ink", shape: "inkling" },+ { id: "pet-29", name: "Little Beagle", group: "Inspired Mascots", feature: "ears", shape: "snoopy" },+ { id: "pet-30", name: "Tiny Antler", group: "Inspired Mascots", feature: "horns", shape: "chopper" },] satisfies Array<Pick<CloudCodeMonsterPetPreset, "id" | "name" | "group" | "feature" | "shape">>;-const LICENSED_IP_PRESET_OVERRIDE_BY_ID = new Map(- LICENSED_IP_PRESET_OVERRIDES.map((preset) => [preset.id, preset])+const INSPIRED_PRESET_OVERRIDE_BY_ID = new Map(+ INSPIRED_PRESET_OVERRIDES.map((preset) => [preset.id, preset]));export const CLOUD_CODE_MONSTER_PET_PRESETS: CloudCodeMonsterPetPreset[] =CLOUD_CODE_MONSTER_PET_PRESET_BASES.map((preset) => ({...preset,- ...LICENSED_IP_PRESET_OVERRIDE_BY_ID.get(preset.id),+ ...INSPIRED_PRESET_OVERRIDE_BY_ID.get(preset.id),}));export function getCloudCodeMonsterPreset(presetId?: string | null) {@@ -3210,6 +3210,11 @@ export function CloudCodeMonsterPet({key={footprint.id}className="cloud-code-monster-pet-footprint"data-side={footprint.side}+ onAnimationEnd={() => {+ setFootprints((currentFootprints) =>+ currentFootprints.filter((item) => item.id !== footprint.id)+ );+ }}style={{"--monster-footprint-x": `${footprint.x}px`,@@ -3225,10 +3230,10 @@ export function CloudCodeMonsterPet({<asidearia-label={`${preset.name} pixel PET: ${fainted- ? "晕倒"+ ? "fainted": isPeeking- ? "偷看工作"- : displayedActivity?.label ?? "默认状态"+ ? "peeking at work"+ : displayedActivity?.label ?? "idle"}`}className="cloud-code-monster-pet"data-activity={displayedActivity?.id ?? "idle"}@@ -3289,10 +3294,10 @@ export function CloudCodeMonsterPet({onLostPointerCapture={stopDragging}aria-label={`Claude Code pixel monster is ${fainted- ? "晕倒"+ ? "fainted": isPeeking- ? "偷看工作"- : displayedActivity?.label ?? "默认状态"+ ? "peeking at work"+ : displayedActivity?.label ?? "idle"}. Click to ${displayedActivity || fainted || isPeeking ? "interrupt it" : "notice it"}, drag to make it walk.`}diff --git a/src/web/src/lib/home-pet-settings.ts b/src/web/src/lib/home-pet-settings.tsindex 59cf4fbfd..6dd893404 100644--- a/src/web/src/lib/home-pet-settings.ts+++ b/src/web/src/lib/home-pet-settings.ts@@ -14,7 +14,7 @@ export type HomePetSettings = {};const DEFAULT_HOME_PET_SETTINGS: HomePetSettings = {- enabled: true,+ enabled: false,displayScope: "home",};