Skip to content

Releases

v4.7.2 — Background Task, Timer & Daemon State Tracking

Choose a tag to compare

@Wlaeg Wlaeg released this 29 Nov 06:00

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_running tasks, covering daemon/async shell commands (run_command), agent-scheduled cron jobs and countdown timers (schedule), subagents (invoke_subagent), workflows (run_workflow), and swarm workers.
    • Added two-stop parent reconciliation (SeenParentStop + InputHash matching), TtlSec timer expiration, and explicit manage_task / manage_subagents / swarm termination 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 orphaned BackgroundRunning tasks in app/AntigravityPet.cs.

Full Changelog: v4.7.1...v4.7.2

v4.7.1 — Stability, Security & Cross-Platform Bug Fixes

Choose a tag to compare

@Wlaeg Wlaeg released this 29 Nov 05:08

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 ReferenceError in ui/settings.html caused by undefined currentLang references in render(), and refreshed installed pet status immediately after community pack installation.
    • Added safeHttpUrl() protocol validation and escapeHtml() escaping for pet avatar URLs in sidecars/panel/index.html, plus request sequence guards (_renderSeq) and .catch() fallbacks to prevent stale polling snapshots from overwriting user changes.
    • Hardened sidecars/panel/server.mjs with try/catch request error handling, payload size limits, path traversal checks (path.basename / + path.sep), atomic config writes, stale progress.json recovery, and GitHub Star 403/429 rate-limit handling.
  • 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-Length framing edge cases, stdin end waiting for in-flight RPCs, spawn error handlers, scale NaN validation, and syncRegistryAutoStart(enable) in pet-mcp-server.mjs.
    • Fixed readStdin timeout pause, high-risk approval state reporting, and approval timeout margin in hook-bridge.mjs.
    • Balanced Surprise Mode 150-accessory slot distribution (round-robin across head/face/hand/back), added Windows .cmd CLI support and EPERM/EBUSY atomic write retries in surprise-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.
  • Windows & macOS Desktop Apps (app/AntigravityPet.cs, app/AntigravityPet.swift):
    • Fixed EyeFollow cache key collision when wearing accessories by passing lookIdx to ComposeFrameWithAccessory.
    • Fixed Process handle leaks in GetAntigravityProcessIds(), PendingApproval.WaitHandle disposal and shutdown wakeups, /health shutdown TaskCanceledException safety, SyncAutoStartRegistry enable branch, starunlock "surprise" banner key, and platform-aware self-update .zip selection.
    • Fixed macOS handleClient multi-chunk UTF-8 decoding and SO_RCVTIMEO, dynamic sprite cell sizing and missing walk_left fallback in draw, applicationWillTerminate timer/hotkey cleanup, and HTTP 200 self-update checks.

Full Changelog: v4.7.0...v4.7.1

v4.7.0 — Randomized Starter Gear, 200-Task Surprise Mode & GitHub Star Unlock

Choose a tag to compare

@Wlaeg Wlaeg released this 27 Nov 07:28

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 (back behind the mascot body; face, head, hand in 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 gh CLI) 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 / 150 tasks), complete with live 20×20 pixel previews in Settings.
  • Simplified Equipping & Full Localization: Removed accessory auto equip mode (defaulting to none) and completed 11-language localization for all new UI labels and dynamic messages.

Fixed

  • Sidecar Panel Render Error: Replaced undefined currentLang references in sidecars/panel/index.html with data.effectiveLanguage so all settings controls stay responsive.

Full Changelog: v4.6.2...v4.7.0

v4.6.2 — Accessory Progression Polish, Cursor Facing Fix & Diagnostics

Choose a tag to compare

@Wlaeg Wlaeg released this 27 Nov 05:04

What's Changed in v4.6.2

Added

  • Accessory Unlock Bubble Notifications: Displays a gold-accented bubble with the in-app 20×20 pixel 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 through glasses, cap, coffee, and crown) 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

Choose a tag to compare

@Wlaeg Wlaeg released this 27 Nov 04:11

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.mjs to periodically snapshot live global download counts into community-stats.json.

Full Changelog: v4.6.0...v4.6.1

v4.6.0 — Community Workshop Auto-Publish, Global Stats Sync & Full-Body Pet Cards

Choose a tag to compare

@Wlaeg Wlaeg released this 26 Nov 16:27

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 .zip pet pack and an author-provided full-body preview image (PNG/WebP/JPG).
    • Applying the approved label to a submission issue automatically validates the archive and preview image, archives them to community/packs/ and community/previews/, registers the entry in community-pets.json with githubUrl and tags, and closes the issue.
  • 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_count as global downloads every 30 minutes into community-stats.json, fetched in parallel by all clients.
  • 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 Pet shortcut 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.
  • 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 a 1280×640 pixel-art showcase.

Full Changelog: v4.5.0...v4.6.0

v4.5.0 — Live Tool-Call Bubbles, BackgroundRunning State & 11-Locale Bubbles

Choose a tag to compare

@Wlaeg Wlaeg released this 26 Nov 07:21

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 to Thinking.
  • Independent BackgroundRunning State (app/AntigravityPet.cs, scripts/hook-bridge.mjs):
    • Added BackgroundRunning with 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.
  • 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]).

Full Changelog: v4.4.0...v4.5.0

v4.4.0 — 5-Tab Settings Redesign, Standalone Window & Live GitHub Updates

Choose a tag to compare

@Wlaeg Wlaeg released this 25 Nov 08:42

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 #0EA5E9 toggles/sliders, single-line timeout selector, and a collapsible Developer Debug accordion.
  • 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-releases and MCP githubReleases action (60s cache) to fetch and render real-time release notes and downloadable assets from Wlaeg/antigravity-pet.
  • 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 --app mode at 460×800) instead of focusing Antigravity.
  • 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, and es-mx.

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-pet agent workflow.

Full Changelog: v4.3.0...v4.4.0

v4.3.0 — Single-Image Pet Fallback, Procedural Animation & Boredom AI

Choose a tag to compare

@Wlaeg Wlaeg released this 25 Nov 07:25

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.png or pet.json idleImage/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.
  • Procedural Animation Engine (app/AntigravityPet.cs):
    • Switched _spriteImage.RenderTransformOrigin to bottom-center (0.5, 1.0) with a 6-layer TransformGroup (_facingScale, _animScale, _dragScale, _animRotate, _dragRotate, _animTranslate) compatible with DPI scaling.
    • Added smooth procedural breathing (Idle), parabolic hopping + sway + ScaleX = -1 flipping (Walk), damped Squash & Stretch bounce (Click/Interact), gentle nodding/hopping (Running), and hardware-accelerated BitmapScalingMode.HighQuality anti-aliasing.
  • 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–2m breathing → 2–10m random hops/look-around/roam & overhead pixel cues ... / ? / ♪ → 10m+ squashed slow-breathing sleep with floating Zzz), 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 boredomIdle and keyMouseInteract toggles in both Settings UIs (unregisters Raw Input when disabled).

Fixed

  • Docked Edge Behavior & Status Block Visibility (app/AntigravityPet.cs):
    • Paused procedural idle/boredom wobble while docked compact, compensated GetDockedTargetLeft half-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 _statusHalo visibility.

Full Changelog: v4.2.0...v4.3.0

v4.2.0 — Quick Pet Pack Studio, Community Library & macOS Parity

Choose a tag to compare

@Wlaeg Wlaeg released this 25 Nov 06:40

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×2288 sheet) to auto-generate a v3 8×11 spritesheet via Canvas, preview animations (Idle / Walk / Running / Ready / Jump), install directly with one click, or export a .zip pack.
  • 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).

Changed

  • macOS Parity Alignment (app/AntigravityPet.swift):
    • Expanded scale bounds from 0.6–2.0 to 0.33–3.0 to match the 3x logarithmic slider.
    • Added CheckUpdatesOnStartup (PetConfig backwards-compatible Codable), dockLeft / dockRight / checkUpdatesOnStartup / updateConfig /control actions, http-bridge.json 128-bit token verification on POST /approval, click-behavior split, streamlined context menu, and startup GitHub release check + one-click self-update.

Full Changelog: v4.1.1...v4.2.0