Skip to content

AGY Studio v1.7.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 04:23
· 167 commits to main since this release

Focused on everyday interface clarity, in-app self-updates, low-friction safety flow, and refreshed documentation: adds persistent intermediate briefs, 5-state sidebar activity indicators with anti-jump sorting and fair 4/8 project caps, rich Projects Overview cards, click-linked usage breakdowns, a detached Settings self-updater, a 3-column Desktop Remote PWA workbench, non-blocking semi Review Gate & Desktop/Remote force_ask .agents/locks.json approval, and overhauled EN/ZH READMEs with real-DOM visual demos.

Added & Improved

  • [cross] Overhauled EN/ZH READMEs & Real-DOM Interactive Visuals (README.md, README.zh-CN.md, docs/images/*): Rebuilt both READMEs around the everyday interface and three core engineering mechanisms with 13 refreshed real-DOM animated WebP demos and high-DPI PNG screenshots, synchronized with the non-blocking semi Review Gate, opt-in anchor proposals, in-app self-updater, and dual-OS stable-channel Quick Start.
  • [cross] Sidebar Conversation Menu Copy ID & Resize Cleanup (user/src/modules/sidebar-recents.mjs, test/sidebar-sort-and-status.test.mjs): Added Copy Conversation ID (复制对话 ID) to the custom sidebar conversation row menu (#ag-recent-row-menu) with clipboard fallback + floating confirmation toast (without reintroducing Split items), and bound onRecentMenuResize symmetrically on window resize so cleanup removes the exact listener registered.
  • [remote] Desktop Studio Workbench UI, Multi-Theme Switch, Resizable Panes & Multi-Repo Git Drawer (studio/build.mjs, core/daemon/remote/{git-bridge,disk-fallback}.mjs, user/src/modules/remote-tap-helpers.mjs, remote/pwa/src/styles/desktop-workbench.css, remote/pwa/src/{app,workspace-shell,ui-helpers,mobile-enhancements,sidebar-view,overview-panel,studio-panel,composer-bar,timeline-view,viewer-drawer}.mjs): Redesigned desktop (>= 960px) Remote PWA into a denoised 3-column workbench with modular CSS bundling via esbuild (@import "./styles/desktop-workbench.css"), explicit auto / light / dark theme tokens & CSP-safe el() event binding, draggable/keyboard-accessible sidebar & overview resizers with a >= 480px center-pane guard, top project selector + sticky collapsible 按项目 sidebar groups (5-item cap + hover actions), slim usage bar chart with dashed grid, max tick & hover KPI/legend linkage, accurate stepCount sync, extracted 24.3.2/val.error ERROR_MESSAGE single-line expandable error groups bridging invisible steps, live running status row, Chinese tool labels, and Git drawer multi-repo switcher + diff line numbers/wrap toggle alongside case-preserving shortPath and normalized linked-worktree authorization in git-bridge.mjs.
  • [cross] Settings Version Check & Detached V2 Self-Updater (studio/daemon/{update-service,update-worker}.mjs, studio/modules/settings/{update-view,update-events,views,events}.mjs, studio/modules/studio-settings.mjs, studio/styles/studio-settings.css, core/daemon/overview-skills.mjs): Added a manual-only Version & Updates card in Studio Settings L1 showing current version, detected install channel (Prebuilt / Stable / Edge), release summary notes, inline confirmation, and 1-click in-place self-update backed by a zero-relative-import detached worker (update-worker.mjs) supporting SHA-256-verified prebuilt release replacement (macOS .tar.gz + Windows .zip), git detached-tag / main --ff-only sync, dependency-only package-lock.json hashing for conditional npm ci (ignoring root version bumps), full pre-swap and mid-swap directory rollback + daemon recovery on rename/install failure, --no-rules preservation, and cross-restart UI reconnect polling while guarding dirty worktrees, linked worktrees, custom branches, local ahead commits, and split-brain checkouts into read-only fallback with OS-specific CLI commands; strictly desktop-only RPC (never exposed to Remote Gateway).
  • [cross] Anti-Jump Sidebar Project Sorting & 5-State Running Indicators (user/src/modules/{sidebar-projects,sidebar-recents,sidebar-status}.mjs, user/src/modules/projects/{native-store,workspace-ui}.mjs, studio/daemon/bg-task-status.mjs, core/daemon/overview-skills.mjs, studio/shared/prefs-schema.mjs, studio/modules/settings/views.mjs, studio/styles/{sidebar-projects,projects-overview}.css): Added configurable sidebar project sorting (Recent / Fixed / Name / Usage) with a cooldown snapshot (default 5m, configurable 1m / 5m / Manual only in Studio Settings → Workspace and the sidebar sort menu) so background updates stop causing projects to jump around while signaling pending drift on a manual refresh button; split generic running spinners into 5 distinct indicators across the sidebar, collapsed folders, Projects Overview cards, and Project Detail rows (orbit for active primary agents, reused footer bot SVG in violet for subagent/Swarm, teal terminal for run_command, amber clock for schedule timers/Crons, and a slate pulse dot for generic notFullyIdle waits) backed by a read-only file-stamp-cached getBackgroundTaskStates daemon RPC with rich tooltips.
  • [cross] Sidebar Projects Fair Water-Filling Cap (4/8 Default) (user/src/modules/sidebar-projects.mjs, studio/styles/sidebar-projects.css, user/src/modules/sidebar-recents.mjs, studio/shared/prefs-schema.mjs, studio/modules/settings/views.mjs): Added a configurable sidebar project chat cap (default 4 per project / 8 total across expanded projects) that preserves native Pinned/Coordinators sections at the top, protects active/pending/running conversations from truncation, distributes remaining visible slots fairly across expanded projects via two-pass water-filling, offers 1-click per-project expand/collapse toggles, and exposes sidebarProjectCapEnabled, sidebarProjectMaxPerProject, and sidebarProjectMaxTotal controls in Studio Settings → Workspace.
  • [cross] Rich Projects Overview Cards, Monogram Avatars & Logarithmic Token Heat Tiers (user/src/modules/projects/{native-store,workspace-ui}.mjs, studio/modules/project-usage.mjs, studio/styles/projects-overview.css): Enriched Projects grid cards with elevated card materials, deterministic 6-tone squircle monogram/repo avatars, live status differentiation (pending / running / unread / empty), single-line latest conversation preview, AGENTS / worktree count micro-chips, share percentage (占比 %), a header workspace KPI summary ribbon with cumulative token usage, 5-tier usage heat styling (none/light/mid/heavy/flagship), and a logarithmic bottom usage energy bar.
  • [cross] Persistent Desktop Intermediate Briefs, Unified Inline Action Rows & Settings Sample Preview (user/src/modules/step-stream.mjs, studio/modules/studio-prefs.mjs, studio/modules/settings/views.mjs, studio/build.mjs, studio/styles/{typography,studio-settings}.css, user/custom.css): Upgraded Step Stream Mode to 3 modes (Inline Briefs / Compact / Verbose, defaulting to Inline Briefs) with a reactive live sample preview in Studio Settings, stopped syncLiveConfigForStudio from overwriting claudeUxStepUnfold back to false on deploy (using a one-time stepUnfoldDefaultMigrated flag preserved by core/daemon/prefs-bundle.mjs), kept intermediate planner prose persistent while compressing pure-tool worked-for-collapsible blocks to action-first single-line summaries (<actions> · <duration>), and unified all inline step/command/system action rows to 12.5px borderless leading-▸ disclosure rows.

Fixed

  • [cross] Mobile/Remote-Friendly force_ask Approval for .agents/locks.json Edits (studio/plugin/maga-git-workflow/hooks/git-guard.mjs, studio/plugin/maga-anchors/skills/anchors/SKILL.md, test/host-contracts-and-gov.test.mjs): Upgraded structured file-tool edits (edit_file/write_file) targeting .agents/locks.json from hard deny to native force_ask (ignoring auto-approve caches so agents can never self-edit locks silently while letting users review the exact diff via native host approval prompts on Desktop & Remote), enforcing branch/worktree routing first for Git-tracked .agents/locks.json files while keeping opaque run_command shell writes hard-denied with guidance to use structured file tools.
  • [cross] Local Repo Guardrail Cross-Repo Scope Isolation (studio/plugin/maga-git-workflow/hooks/git-guard.mjs, test/git-guardrails.test.mjs): Scoped repo-local isLocalRepoHook / forcedPolicy enforcement (.agents/hooks/guard-main-branch.mjs and explicit localRepoRoot/localRepoCommonDir) strictly to the owning repository's .git commonDir (covering both primary checkout and linked worktrees), stopping local worktree-only hooks from bleeding forcedPolicy or npm run wt:new hints onto unrelated external repositories (which remain governed by the global maga-git-workflow policy).
  • [cross] Invisible Safety & Low-Friction Flow — Non-Blocking Semi Review Gate, Opt-In Anchor Proposals & Neutral Worktree Routing (studio/plugin/maga-opus-gate/{hooks/gate-check.mjs,rules/AGENTS.md,skills/opus-gate/SKILL.md}, studio/plugin/maga-anchors/hooks/anchor-guard.mjs, studio/daemon/anchors-service.mjs, studio/modules/anchors-pill.mjs, studio/shared/prefs-schema.mjs, studio/modules/settings/views.mjs, studio/plugin/maga-git-workflow/{hooks/git-guard.mjs,rules/AGENTS.md}): Removed redundant PreToolUse hard-denies on git merge / git push / npm run deploy and post-plan source edits in semi Review Gate mode (keeping non-blocking ✦ 请求审查 dock pills on PostToolUse/Stop and quota-guarded auto mode reviews, while falling back to allow + pill when quota/cap is reached); removed the redundant Pause Before Advancing rule bullet and added mode-matched collaboration framing in opus-gate/SKILL.md; gated maga-anchors Pillar 2 heuristic correction proposals behind opt-in anchorsProposalsEnabled (default false, while keeping G compaction badge + 1-click Milestone Handoff + .agents/locks.json active) and filtered out pasted >320-char / structured AI handoff prompts; and softened routine maga-git-workflow worktree routing hints into calm next-step instructions.
  • [cross] Prerelease CI Gate, Cross-Major Stable Fallback & Release-Tag Ancestry/Identity Guard (.github/workflows/ci.yml, studio/daemon/update-service.mjs, install.sh, install.ps1, .githooks/guard-release-tag.mjs): Added --prerelease --latest=false to gh release create (and gh release edit on re-runs of existing releases) whenever a v* tag carries a - prerelease suffix (keeping prereleases out of /releases/latest); removed the major > expectedMajor deadlock in git ls-remote --tags stable fallback across update-service.mjs, install.sh, and install.ps1 (strictly matching stable ^v\d+\.\d+\.\d+$ tags and sorting by SemVer so 1.x users can upgrade to v2.0.0+); and hardened .githooks/guard-release-tag.mjs to enforce both <remote>/main (or local main offline) ancestry reachability and package.json name/version identity parity (blocking unmerged branches, version mismatches, and legacy anti-claude v2/v3 tags even when in main ancestry).
  • [cross] Usage Breakdown Period/KPI/Bar Linkage & Localized Segmented Control (studio/modules/{usage-card-core,overview-usage,project-usage}.mjs, studio/styles/overview-usage.css): Scoped the per-model breakdown and period footer in both #agy-ov-usage-card and #agy-pd-usage-card strictly to the active bucket (Today / This Week / This Month by default, or any clicked/keyboard-selected bar), added interactive top KPI cards (Today / Week / Month) with aria-pressed state, contextual breakdown headers with 1-click return-to-current reset buttons, and refined equal-width Chinese segmented pills (按日 / 按周 / 按月) with improved optical spacing.
  • [cross] Context Ring G Compaction Badge Overflow & Cross-Chat Stale Leak (studio/styles/anchors-pill.css, studio/modules/{footer-unified,anchors-pill}.mjs, test/anchors.test.mjs): Widened #ag-claude-ctx-ring (width: auto) when [data-agy-has-gen="true"] is set even without ratio text, hid .agy-ctx-gen-badge cleanly in icon / tight[data-agy-has-tight="0"] / tight[data-agy-ctx-compacting="1"] tiers to stop G1 badge overflow, tracked G badge state in buildFooterLayoutSig() + dispose(), and required a matching non-empty route cid before reading __ag_last_metrics compaction counts so previous chats no longer leak G badges onto New Chat or other conversations.
  • [cross] Sidebar Conversation Row Menu Lifecycle & Clean Left Sidebar Rows (user/src/modules/{sidebar-recents,sidebar-projects,sidebar-dnd}.mjs, user/src/entry.mjs, user/src/modules/projects/index.mjs, studio/core/dom.mjs, studio/styles/sidebar-projects.css): Added 'ag-recent-row-menu' / 'ag-project-action-menu' to OWN_HOST_IDS (and data-maga-own="1" on #ag-recent-row-menu), scoped removeRecentSection() cleanup to 'recent'-owned menus so #ag-claude-sidebar-projects ⋯ / right-click menus stay open across syncs, enabled [data-ag-sbp-rename-input] inline renaming from the menu, extracted pure DnD helpers into sidebar-dnd.mjs, and removed distracting inline worktree branch badges from left sidebar conversation rows (keeping branch names in hover tooltips).
  • [cross] Sidebar 0→1 Pinned display: none Deadlock & Cap-Mode Hide Sync (user/src/modules/sidebar-recents.mjs): Fixed scheduleSidebarHideSync and the Redux store subscriber skipping native-list sync in Sidebar Projects Cap mode (FEAT.hideSidebarProjects: false), and broke the 0 → 1 pinned deadlock where data-ag-sb-unified="empty" (display: none) caused virtualizer translateY(0px) to lock newly pinned conversations invisible—bootstrapping pinned container height from cutItem.idx / store pinned & coordinator counts, observing data-index mutations, and settling to exact measured height once layout completes.
  • [cross] Self-Bound Merged Clean Worktree Auto-Clean in wt:clean (studio/plugin/maga-git-workflow/lib/worktree-core.mjs, studio/plugin/maga-git-workflow/bin/wt.mjs, core/daemon/worktrees.mjs, studio/wt-cli.mjs): Allowed wt:clean / removeRepoWorktree to safely remove a worktree bound solely to the calling conversation (--cid or ANTIGRAVITY_CONVERSATION_ID) without requiring --force-active, only when its working tree is clean (git status --porcelain=v1 empty after node_modules exclusion) and its HEAD is an ancestor of the base branch; unmerged, dirty, shared, foreign-bound, or unidentified-caller worktrees remain blocked with worktree_active_in_conversation.
  • [remote] Android Cloudflare Access / IdP OAuth WebView Routing & Callback Guard (remote/android/app/src/main/java/com/agystudio/remote/MainActivity.kt, remote/android/app/build.gradle.kts, test/install-kit.test.mjs): Added cloudflare.com / .cloudflare.com (and IdP auxiliary hosts) to isKnownAuthHost(), kept active off-origin auth pages inside the WebView during authRedirectActive (onNonServerAuthPage), and guarded /cdn-cgi/access/ callback paths in onPageFinished() and handleIncomingIntent() (isAccessCallbackPath()) so external browser jumps no longer poison the WebView cookie session with cross-jar Invalid OAuth callbacks; Android APK versions independently at 1.6.0 (10600).