Repository navigation
Releases
Releases · Wlaeg/antigravity-pet
v4.7.2 — Background Task, Timer & Daemon State Tracking
What's Changed in v4.7.2
Fixed
- Expanded Background State Detection (
scripts/hook-bridge.mjs,app/AntigravityPet.cs):- Tracked foreground-initiated background execution as independent
background_runningtasks, covering daemon/async shell commands (run_command), agent-scheduled cron jobs and countdown timers (schedule), subagents (invoke_subagent), workflows (run_workflow), andswarmworkers. - Added two-stop parent reconciliation (
SeenParentStop+InputHashmatching),TtlSectimer expiration, and explicitmanage_task/manage_subagents/swarmtermination cleanup so completed one-off background tasks clear reliably without false-positive daemon detection on synchronous commands. - Added a right-click Clear Background menu action, parent-session batch cleanup (
clearByParent), and fallback expiration for orphanedBackgroundRunningtasks inapp/AntigravityPet.cs.
- Tracked foreground-initiated background execution as independent
Full Changelog: v4.7.1...v4.7.2
v4.7.1 — Stability, Security & Cross-Platform Bug Fixes
What's Changed in v4.7.1
Fixed
- Settings UI & Sidecar Panel (
ui/settings.html,sidecars/panel/index.html,sidecars/panel/server.mjs):- Fixed a
ReferenceErrorinui/settings.htmlcaused by undefinedcurrentLangreferences inrender(), and refreshed installed pet status immediately after community pack installation. - Added
safeHttpUrl()protocol validation andescapeHtml()escaping for pet avatar URLs insidecars/panel/index.html, plus request sequence guards (_renderSeq) and.catch()fallbacks to prevent stale polling snapshots from overwriting user changes. - Hardened
sidecars/panel/server.mjswithtry/catchrequest error handling, payload size limits, path traversal checks (path.basename/+ path.sep), atomic config writes, staleprogress.jsonrecovery, and GitHub Star 403/429 rate-limit handling.
- Fixed a
- MCP Server, Hooks & Surprise Worker (
scripts/pet-mcp-server.mjs,scripts/hook-bridge.mjs,scripts/surprise-agent-worker.mjs,scripts/validate-pet-pack.mjs,scripts/sync-community-stats.mjs,scripts/process-community-issue.mjs):- Fixed
Content-Lengthframing edge cases,stdinend waiting for in-flight RPCs,spawnerrorhandlers,scaleNaNvalidation, andsyncRegistryAutoStart(enable)inpet-mcp-server.mjs. - Fixed
readStdintimeout pause, high-risk approval state reporting, and approval timeout margin inhook-bridge.mjs. - Balanced Surprise Mode 150-accessory slot distribution (round-robin across
head/face/hand/back), added Windows.cmdCLI support andEPERM/EBUSYatomic write retries insurprise-agent-worker.mjs. - Added BOM stripping and path-traversal validation in
validate-pet-pack.mjs, plus HTTP timeout destruction and consistent ID normalization in community scripts.
- Fixed
- Windows & macOS Desktop Apps (
app/AntigravityPet.cs,app/AntigravityPet.swift):- Fixed
EyeFollowcache key collision when wearing accessories by passinglookIdxtoComposeFrameWithAccessory. - Fixed
Processhandle leaks inGetAntigravityProcessIds(),PendingApproval.WaitHandledisposal and shutdown wakeups,/healthshutdownTaskCanceledExceptionsafety,SyncAutoStartRegistryenable branch,starunlock"surprise"banner key, and platform-aware self-update.zipselection. - Fixed macOS
handleClientmulti-chunk UTF-8 decoding andSO_RCVTIMEO, dynamic sprite cell sizing and missingwalk_leftfallback indraw,applicationWillTerminatetimer/hotkey cleanup, and HTTP 200 self-update checks.
- Fixed
Full Changelog: v4.7.0...v4.7.1
v4.7.0 — Randomized Starter Gear, 200-Task Surprise Mode & GitHub Star Unlock
What's Changed in v4.7.0
Added
- 200-Task Milestone — Surprise Mode: Added 20 conflict-free base pixel accessories across 4 slots (
head,face,hand,back) with layered rendering (backbehind the mascot body;face,head,handin front). On first entry, a local Agent hybrid workflow generates 150 unique pixel accessories (90 distinct geometric silhouettes + modular attachments, over 2/3 brand-new shapes) with a live progress bar, then randomly equips 2 non-conflicting slots every 1–5 completed tasks. - 2-Click GitHub Star Unlock: Added a Star & Unlock flow that opens the repository (or unlocks immediately via
ghCLI) and automatically polls GitHub star status to unlock all accessory milestones. - Developer Diagnostics Controls: Added Cycle Accessory (
slot1–slot4,surprise,none) and Reroll Surprise buttons for instant visual inspection.
Changed
- Per-User Randomized Starter Gear: Replaced the fixed 4 starter accessories with 4 per-user randomized slots drawn from each of the 4 built-in categories (
20 / 50 / 100 / 150tasks), complete with live20×20pixel previews in Settings. - Simplified Equipping & Full Localization: Removed accessory
autoequip mode (defaulting tonone) and completed 11-language localization for all new UI labels and dynamic messages.
Fixed
- Sidecar Panel Render Error: Replaced undefined
currentLangreferences insidecars/panel/index.htmlwithdata.effectiveLanguageso all settings controls stay responsive.
Full Changelog: v4.6.2...v4.7.0
v4.6.2 — Accessory Progression Polish, Cursor Facing Fix & Diagnostics
What's Changed in v4.6.2
Added
- Accessory Unlock Bubble Notifications: Displays a gold-accented bubble with the in-app
20×20pixel accessory icon and unlock text whenever a task milestone is reached, synced with the Notice Bubble Auto-Hide timeout. - Expanded Developer Diagnostics: Added Background (
background_running) and Unlock Bubble (cycles throughglasses,cap,coffee, andcrown) preview triggers across all 11 locales.
Changed
- Growth Accessory Progression, Locking & Redrawn Icons: Unified milestones to 20 / 50 / 100 / 150 completed tasks, locked unachieved gear across UI/API/overlay, redrew all 4 pixel accessories in a 3×2 grid, and disabled growth accessories for community pets with a compatibility notice.
- Notice Bubble Setting Clarity: Updated Notice Bubble Auto-Hide labels and descriptions across all 11 locales to cover completion, accessory unlock, and update bubbles.
Fixed
- Cursor Facing & Eye-Tracking Conflict: Merged cursor facing into Cursor Gaze & Facing (
EyeFollow), separated Typing Rhythm Sync (KeyMouseInteract) into a keyboard-only toggle, and compensated horizontal sprite flips so 16-direction pupils track accurately when facing left.
Full Changelog: v4.6.1...v4.6.2
v4.6.1 — Real-Time Global Download Sync
What's Changed in v4.6.1
Fixed
- Cross-Machine Community Pet Download Sync: Replaced local-only download counting with a zero-release real-time global counter (
abacus.jasoncameron.dev) so community pet download counts sync across all machines immediately without creating extra GitHub Releases. - Persistent Stats Snapshot: Updated
sync-community-stats.mjsto periodically snapshot live global download counts intocommunity-stats.json.
Full Changelog: v4.6.0...v4.6.1
v4.6.0 — Community Workshop Auto-Publish, Global Stats Sync & Full-Body Pet Cards
What's Changed in v4.6.0
Added
- dsh-market Style Community Pet Workshop & Auto-Publish Pipeline (
.github/ISSUE_TEMPLATE/pet_submission.yml,.github/workflows/community-pet-approve.yml,.github/workflows/community-pet-pr-check.yml,scripts/validate-pet-pack.mjs,scripts/process-community-issue.mjs):- Community submission form requiring both a
.zippet pack and an author-provided full-body preview image (PNG/WebP/JPG). - Applying the
approvedlabel to a submission issue automatically validates the archive and preview image, archives them tocommunity/packs/andcommunity/previews/, registers the entry incommunity-pets.jsonwithgithubUrlandtags, and closes the issue.
- Community submission form requiring both a
- Global Community Stats Sync (
community-stats.json,scripts/sync-community-stats.mjs,.github/workflows/sync-community-stats.yml):- Zero-server GitHub-backed global sync: Actions aggregates Issue reactions as global stars and Release asset
download_countas global downloads every 30 minutes intocommunity-stats.json, fetched in parallel by all clients.
- Zero-server GitHub-backed global sync: Actions aggregates Issue reactions as global stars and Release asset
- Redesigned Community Cards, Search & Pet Management (
sidecars/panel/index.html,sidecars/panel/server.mjs):- Real-time search bar filtering by pet name, ID, description, tags, and author; fixed-height scrollable community container (
max-height: 360px);+ Submit Petshortcut link. - Community cards now display the 6-element layout: full-body portrait, name, description, star button (with GitHub Issue sync prompt), download count & download button, and GitHub page link.
- Clicking Download automatically installs the pack, refreshes avatars/lists, and switches to the Installed tab.
- Installed tab now displays crisp half-body portraits for built-in pets, full-body previews for installed community/custom pets (always sorted at the end), a hover-reveal Delete button (
POST /api/delete-pet), and pure pet names across all 11 locales.
- Real-time search bar filtering by pet name, ID, description, tags, and author; fixed-height scrollable community container (
- GitHub Community Standards & Hero Banner (
CODE_OF_CONDUCT.md,CONTRIBUTING.md,SECURITY.md,docs/DEVELOPMENT.md,assets/hero-banner.png):- Achieved 100% GitHub Community Profile health score, split developer docs into
docs/DEVELOPMENT.md, and upgraded the README banner to a1280×640pixel-art showcase.
- Achieved 100% GitHub Community Profile health score, split developer docs into
Full Changelog: v4.5.0...v4.6.0
v4.5.0 — Live Tool-Call Bubbles, BackgroundRunning State & 11-Locale Bubbles
What's Changed in v4.5.0
Added
- Live Tool-Call Bubble Status (
scripts/tool-label-mapper.mjs,hooks.json,scripts/hook-bridge.mjs,app/AntigravityPet.cs):- Added real-time single-line tool activity labels while in
Running/BackgroundRunning(e.g.,Reading server.mjs,Editing App.tsx,Running tests,Running Git) without altering the core state machine. - Added 350ms minimum display debounce against rapid tool flickering, immediate tool-label clearing on
PostToolUse, and a 1.2s idle-gap fallback back toThinking.
- Added real-time single-line tool activity labels while in
- Independent
BackgroundRunningState (app/AntigravityPet.cs,scripts/hook-bridge.mjs):- Added
BackgroundRunningwith strict state priority (NeedsInput > Blocked > Running > BackgroundRunning > Ready / Idle). - Distinguished visually with a calm resting pose, soft lavender-blue (
#818CF8) halo/border,🌙badge, and floating moon overlays. - Added single/multi-background task bubbles (click to jump directly or expand the task switcher list) and non-intrusive completion/failure head overlays without stealing focus.
- Added
- 11-Locale Bubble Localization & Adaptive Width (
app/AntigravityPet.cs):- Localized all bubble states, live tool-call prefixes, background counters, and completion reminders across all 11 built-in locales (
zh,zh-tw,en,fr,de,ja,ko,hi,th,es,es-mx). - Removed trailing ellipses from status labels and enabled adaptive simple-mode bubble width (
[baseW, 344 * Scale]).
- Localized all bubble states, live tool-call prefixes, background counters, and completion reminders across all 11 built-in locales (
Full Changelog: v4.4.0...v4.5.0
v4.4.0 — 5-Tab Settings Redesign, Standalone Window & Live GitHub Updates
What's Changed in v4.4.0
Added
- 5-Tab Modern Settings Redesign (
sidecars/panel/index.html,ui/settings.html):- Reorganized settings into a sticky 5-tab layout (Characters, Behavior, Bubbles, System, Updates) with a fixed compact overview header, equal-height 2-column pet cards, modern
#0EA5E9toggles/sliders, single-line timeout selector, and a collapsible Developer Debug accordion.
- Reorganized settings into a sticky 5-tab layout (Characters, Behavior, Bubbles, System, Updates) with a fixed compact overview header, equal-height 2-column pet cards, modern
- Dedicated Updates Tab & Live GitHub Releases (
sidecars/panel/server.mjs,scripts/pet-mcp-server.mjs,sidecars/panel/index.html,ui/settings.html):- Added
/api/github-releasesand MCPgithubReleasesaction (60s cache) to fetch and render real-time release notes and downloadable assets fromWlaeg/antigravity-pet.
- Added
- Standalone Settings App Window (
app/AntigravityPet.cs,sidecars/panel/server.mjs):- Right-click Settings now launches a dedicated standalone window (
node sidecars/panel/server.mjs --standalone+ Edge/Chrome--appmode at460×800) instead of focusing Antigravity.
- Right-click Settings now launches a dedicated standalone window (
- 11-Locale Full-Stack Localization (
sidecars/panel/,ui/settings.html,scripts/pet-mcp-server.mjs,app/AntigravityPet.cs):- Added full UI, pet pack metadata, approval bubble, and right-click context menu translations for 11 locales:
en,zh,zh-tw,fr,de,ja,ko,hi,th,es, andes-mx.
- Added full UI, pet pack metadata, approval bubble, and right-click context menu translations for 11 locales:
Changed
- Streamlined Custom Pet Creation (
sidecars/panel/index.html,ui/settings.html):- Simplified the custom pet studio flow so users can submit an image directly to the local
hatch-petagent workflow.
- Simplified the custom pet studio flow so users can submit an image directly to the local
Full Changelog: v4.3.0...v4.4.0
v4.3.0 — Single-Image Pet Fallback, Procedural Animation & Boredom AI
What's Changed in v4.3.0
Added
- Minimal Single-Image Pet Fallback & On-Demand Memory Management (
app/AntigravityPet.cs,sidecars/panel/server.mjs,CUSTOM_PET_SPEC.md):- Pets now require as few as 1 base idle image (
idle.png/pet.png/avatar.pngorpet.jsonidleImage/image), automatically falling back from spritesheets and action folders while preserving full v1–v3 backwards compatibility. - Added on-demand decoding (
EnsurePackLoaded) and automatic asset release (UnloadAssets) on skin switches to avoid holding unused spritesheets in memory.
- Pets now require as few as 1 base idle image (
- Procedural Animation Engine (
app/AntigravityPet.cs):- Switched
_spriteImage.RenderTransformOriginto bottom-center(0.5, 1.0)with a 6-layerTransformGroup(_facingScale,_animScale,_dragScale,_animRotate,_dragRotate,_animTranslate) compatible with DPI scaling. - Added smooth procedural breathing (Idle), parabolic hopping + sway +
ScaleX = -1flipping (Walk), damped Squash & Stretch bounce (Click/Interact), gentle nodding/hopping (Running), and hardware-acceleratedBitmapScalingMode.HighQualityanti-aliasing.
- Switched
- Tiered Boredom State Machine & Privacy-First Keyboard/Mouse Interaction (
app/AntigravityPet.cs,sidecars/panel/,ui/settings.html,scripts/pet-mcp-server.mjs):- Added 3-tier idle progression (
0–2mbreathing →2–10mrandom hops/look-around/roam & overhead pixel cues.../?/♪→10m+squashed slow-breathing sleep with floatingZzz), with ~0.3s wake-up hop on task arrival, drag/click, or typing. - Added Windows Raw Input (
RIDEV_INPUTSINK) typing rhythm interaction using a 1.5s sliding key-count window (zero key-code/content logging), frequency-scaled squash/bounce impact, and a dedicated orbiting 3-star dizzy canvas (_dizzyCanvas) at >5 keys/s, plus 100ms cursor facing with dead-zone and 0.5s flip cooldown. - Added independent
boredomIdleandkeyMouseInteracttoggles in both Settings UIs (unregisters Raw Input when disabled).
- Added 3-tier idle progression (
Fixed
- Docked Edge Behavior & Status Block Visibility (
app/AntigravityPet.cs):- Paused procedural idle/boredom wobble while docked compact, compensated
GetDockedTargetLefthalf-peek offset (dockInset = 0.03 * StageWidth), pulled out the docked compact status block (Margin = 58 * Scale) so it is never clipped off-screen, and fixed/enhanced_statusHalovisibility.
- Paused procedural idle/boredom wobble while docked compact, compensated
Full Changelog: v4.2.0...v4.3.0
v4.2.0 — Quick Pet Pack Studio, Community Library & macOS Parity
What's Changed in v4.2.0
Added
- Quick Pet Pack Studio (
sidecars/panel/index.html,ui/settings.html):- Added an inline Pack Studio inside the Characters section where users can drop 1 or more images (or an existing
1536×2288sheet) to auto-generate a v38×11spritesheet via Canvas, preview animations (Idle/Walk/Running/Ready/Jump), install directly with one click, or export a.zippack.
- Added an inline Pack Studio inside the Characters section where users can drop 1 or more images (or an existing
- Community Pet Library (
community-pets.json,community/packs/,sidecars/panel/server.mjs,scripts/pet-mcp-server.mjs):- Added an Installed / Community switcher in Settings to browse community pet packs (synced from GitHub with local fallback) and install them in one click (
cyber-panda,pixel-octopus,coffee-slime).
- Added an Installed / Community switcher in Settings to browse community pet packs (synced from GitHub with local fallback) and install them in one click (
Changed
- macOS Parity Alignment (
app/AntigravityPet.swift):- Expanded scale bounds from
0.6–2.0to0.33–3.0to match the 3x logarithmic slider. - Added
CheckUpdatesOnStartup(PetConfigbackwards-compatibleCodable),dockLeft/dockRight/checkUpdatesOnStartup/updateConfig/controlactions,http-bridge.json128-bit token verification onPOST /approval, click-behavior split, streamlined context menu, and startup GitHub release check + one-click self-update.
- Expanded scale bounds from
Full Changelog: v4.1.1...v4.2.0