Repository navigation
AGY Studio v1.7.0
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-blockingsemiReview 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 boundonRecentMenuResizesymmetrically onwindowresizeso 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"), explicitauto/light/darktheme tokens & CSP-safeel()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, accuratestepCountsync, extracted24.3.2/val.errorERROR_MESSAGEsingle-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-preservingshortPathand normalized linked-worktree authorization ingit-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-onlysync, dependency-onlypackage-lock.jsonhashing for conditionalnpm ci(ignoring root version bumps), full pre-swap and mid-swap directory rollback + daemon recovery on rename/install failure,--no-rulespreservation, 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 (default5m, configurable1m/5m/Manual onlyin 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 (orbitfor active primary agents, reused footer bot SVG in violet forsubagent/Swarm, teal terminal forrun_command, amber clock forscheduletimers/Crons, and a slate pulse dot for genericnotFullyIdlewaits) backed by a read-only file-stamp-cachedgetBackgroundTaskStatesdaemon RPC with rich tooltips.[cross]Sidebar Projects Fair Water-Filling Cap (4/8Default) (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 (default4per project /8total across expanded projects) that preserves nativePinned/Coordinatorssections 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 exposessidebarProjectCapEnabled,sidebarProjectMaxPerProject, andsidebarProjectMaxTotalcontrols 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 toInline Briefs) with a reactive live sample preview in Studio Settings, stoppedsyncLiveConfigForStudiofrom overwritingclaudeUxStepUnfoldback tofalseon deploy (using a one-timestepUnfoldDefaultMigratedflag preserved bycore/daemon/prefs-bundle.mjs), kept intermediate planner prose persistent while compressing pure-toolworked-for-collapsibleblocks to action-first single-line summaries (<actions> · <duration>), and unified all inline step/command/system action rows to12.5pxborderless leading-▸disclosure rows.
Fixed
[cross]Mobile/Remote-Friendlyforce_askApproval for.agents/locks.jsonEdits (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.jsonfrom harddenyto nativeforce_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.jsonfiles while keeping opaquerun_commandshell 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-localisLocalRepoHook/forcedPolicyenforcement (.agents/hooks/guard-main-branch.mjsand explicitlocalRepoRoot/localRepoCommonDir) strictly to the owning repository's.gitcommonDir (covering both primary checkout and linked worktrees), stopping localworktree-onlyhooks from bleedingforcedPolicyornpm run wt:newhints onto unrelated external repositories (which remain governed by the globalmaga-git-workflowpolicy).[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 redundantPreToolUsehard-denies ongit merge/git push/npm run deployand post-plan source edits insemiReview Gate mode (keeping non-blocking✦ 请求审查dock pills onPostToolUse/Stopand quota-guardedautomode reviews, while falling back toallow+ pill when quota/cap is reached); removed the redundantPause Before Advancingrule bullet and added mode-matched collaboration framing inopus-gate/SKILL.md; gatedmaga-anchorsPillar 2 heuristic correction proposals behind opt-inanchorsProposalsEnabled(defaultfalse, while keepingGcompaction badge + 1-click Milestone Handoff +.agents/locks.jsonactive) and filtered out pasted >320-char / structured AI handoff prompts; and softened routinemaga-git-workflowworktree 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=falsetogh release create(andgh release editon re-runs of existing releases) whenever av*tag carries a-prerelease suffix (keeping prereleases out of/releases/latest); removed themajor > expectedMajordeadlock ingit ls-remote --tagsstable fallback acrossupdate-service.mjs,install.sh, andinstall.ps1(strictly matching stable^v\d+\.\d+\.\d+$tags and sorting by SemVer so1.xusers can upgrade tov2.0.0+); and hardened.githooks/guard-release-tag.mjsto enforce both<remote>/main(or localmainoffline) ancestry reachability andpackage.jsonname/versionidentity parity (blocking unmerged branches, version mismatches, and legacyanti-claudev2/v3 tags even when inmainancestry).[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-cardand#agy-pd-usage-cardstrictly to the active bucket (Today/This Week/This Monthby default, or any clicked/keyboard-selected bar), added interactive top KPI cards (Today/Week/Month) witharia-pressedstate, contextual breakdown headers with 1-click return-to-current reset buttons, and refined equal-width Chinese segmented pills (按日/按周/按月) with improved optical spacing.[cross]Context RingGCompaction 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-badgecleanly inicon/tight[data-agy-has-tight="0"]/tight[data-agy-ctx-compacting="1"]tiers to stopG1badge overflow, trackedGbadge state inbuildFooterLayoutSig()+dispose(), and required a matching non-empty routecidbefore reading__ag_last_metricscompaction counts so previous chats no longer leakGbadges 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'toOWN_HOST_IDS(anddata-maga-own="1"on#ag-recent-row-menu), scopedremoveRecentSection()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 intosidebar-dnd.mjs, and removed distracting inline worktree branch badges from left sidebar conversation rows (keeping branch names in hover tooltips).[cross]Sidebar 0→1 Pinneddisplay: noneDeadlock & Cap-Mode Hide Sync (user/src/modules/sidebar-recents.mjs): FixedscheduleSidebarHideSyncand the Redux store subscriber skipping native-list sync in Sidebar Projects Cap mode (FEAT.hideSidebarProjects: false), and broke the0 → 1pinned deadlock wheredata-ag-sb-unified="empty"(display: none) caused virtualizertranslateY(0px)to lock newly pinned conversations invisible—bootstrapping pinned container height fromcutItem.idx/ store pinned & coordinator counts, observingdata-indexmutations, and settling to exact measured height once layout completes.[cross]Self-Bound Merged Clean Worktree Auto-Clean inwt: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): Allowedwt:clean/removeRepoWorktreeto safely remove a worktree bound solely to the calling conversation (--cidorANTIGRAVITY_CONVERSATION_ID) without requiring--force-active, only when its working tree is clean (git status --porcelain=v1empty afternode_modulesexclusion) and itsHEADis an ancestor of the base branch; unmerged, dirty, shared, foreign-bound, or unidentified-caller worktrees remain blocked withworktree_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): Addedcloudflare.com/.cloudflare.com(and IdP auxiliary hosts) toisKnownAuthHost(), kept active off-origin auth pages inside the WebView duringauthRedirectActive(onNonServerAuthPage), and guarded/cdn-cgi/access/callback paths inonPageFinished()andhandleIncomingIntent()(isAccessCallbackPath()) so external browser jumps no longer poison the WebView cookie session with cross-jarInvalidOAuth callbacks; Android APK versions independently at1.6.0(10600).