Skip to content

Colab GPU v1.2.2

Choose a tag to compare

@github-actions github-actions released this 02 Dec 03:23
9829fc6

Colab GPU (agy-colab) v1.2.2

English Summary

Added

  • Credential Freeze / Unfreeze & Safe Account Deletion (#9):
    • Added AccountMeta.frozen / frozenAt and domain-locked setAccountFrozen(accountId, frozen) in PluginStore, while enhancing removeAccount to prune associated leases alongside account credentials and FIFO balance ledger entries.
    • Guarded AuthManager.getAccessToken / refreshAccessToken against frozen accounts (clearing cached tokens and rejecting refreshes) and automatically clearing frozen state upon fresh OAuth login or legacy ADC re-import.
    • Added UI-only app_account_set_frozen (visibility: ['app']) and hardened app_account_remove with fail-closed active-GPU & running-race guards (force: true override only when live GPU verification fails, plus direct deletion of already-frozen credentials).
    • Short-circuited buildLiveDashboard for frozen accounts with zero Google/Colab API calls, added KeepAliveManager.untrackAccount + hydrateFromStore active-account filtering + app_set_keepalive frozen guard, excluded frozen accounts from RaceManager.start() (while clearing persisted 412 rate limits via clearRateLimitedAccount), surfaced [FROZEN/已冻结] status in agent tools, and added inline/modal freeze & delete controls in AccountStrip, AuthProxyModal, and RaceArena (13 model-visible colab_* vs. 23 app-only app_* tools).
  • Cross-Process File Locking & Disjoint-Account Multi-Session Concurrency (src/server/state/file-lock.ts, src/server/colab/racer.ts, #8):
    • Upgraded PluginStore.withDomainLock with OS-level cross-process file locks (locksDir, dead-PID / expired-TTL recovery) so parallel MCP host processes safely mutate leases, tasks, config, accounts, and ledger without losing updates.
    • Added persisted race-state.json coordination for concurrent multi-session GPU racing across disjoint accounts with owner / raceId stop isolation, 120s READY card owner reservations in colab_claim_card, anti-friendly-fire double-pass cleanup, and multi-race RaceArena cards.
  • Default-On 60s Backend Keep-Alive & Single Global Panel (src/server/colab/keepalive.ts, #7):
    • Added KeepAliveManager and ColabApiClient.sendKeepAlive sending 60s Colab TFE heartbeats independently of panel state (enabled by default for non-ghost GPUs, exempt for pure-OAuth [GHOST] GPUs), backed by persisted defaultKeepAlive config, per-endpoint keepAliveEnabled overrides, and UI-only app_set_keepalive.
    • Consolidated colab_open_panel onto a single global panel entrypoint (removing aux_pane).
  • Compact Secondary RAM & Disk Progress Bars (src/ui/components/RuntimeCard.tsx, src/ui/theme.css, #10):
    • Rendered System RAM and Disk telemetry as compact secondary progress bars on GPU runtime cards alongside primary GPU/VRAM meters.

中文更新摘要

新增功能

  • 凭据冻结 / 解冻与安全删除闭环(#9):
    • 在 PluginStore 新增 AccountMeta.frozen / frozenAt 与分域加锁的 setAccountFrozen,并强化 removeAccount 在删除凭据目录与算力账本时同步清理关联卡位租约。
    • 在 AuthManager 中拦截冻结账号的 Token 刷新与访问(清理缓存并拒发请求),并在重新 OAuth 登录或重导 ADC 凭据时自动解除冻结。
    • 新增仅面板可见的 app_account_set_frozen(visibility: ['app'])并强化 app_account_remove:冻结/删除前均执行 Fail-Closed 在跑 GPU 与抢卡状态核验(仅远端核验异常时支持 force: true 二次确认强制覆盖;已冻结账号支持免鉴权直接安全删除)。
    • 在 buildLiveDashboard、KeepAliveManager(untrackAccount + hydrateFromStore 过滤 + app_set_keepalive 拦截)、RaceManager(过滤冻结账号 + clearRateLimitedAccount 同步清理持久化 412 冷却)与 Agent 工具([FROZEN/已冻结] 状态汇报及卡位操作拦截)全面接入冻结边界,并在 AccountStrip、AuthProxyModal 与 RaceArena 补全行内/弹窗操作与禁用提示(共 13 个 colab_* 工具 vs. 23 个 app_* 面板工具)。
  • 跨进程文件锁与多会话隔离并发抢卡(src/server/state/file-lock.ts、src/server/colab/racer.ts,#8):
    • 为 PluginStore.withDomainLock 引入跨进程文件锁(支持死进程 PID / TTL 超时锁回收),确保多个并行 Agent/插件进程安全并发读写本地状态与历史会话文件。
    • 新增 race-state.json 跨进程状态协同,支持互不重叠账号(Disjoint Accounts)的多路会话并发抢卡、按 owner / raceId 隔离停抢、READY 卡位 120 秒 reservedFor 预留认领、防误杀清尾校验与面板多任务并发展示。
  • 默认开启 60s 后台保活与单一全局面板入口(src/server/colab/keepalive.ts,#7):
    • 新增 KeepAliveManager 与 ColabApiClient.sendKeepAlive,在面板关闭时仍由服务端按 60 秒周期发送 Colab TFE 心跳(非幽灵卡默认开启、幽灵卡自动豁免),支持全局 defaultKeepAlive 开关、单卡 app_set_keepalive 覆盖及界面实时心跳状态展示。
    • 将 colab_open_panel 统一收敛为单一 global 全局面板入口(移除 aux_pane)。
  • 运行卡片紧凑型 RAM / 磁盘双进度条(src/ui/components/RuntimeCard.tsx、src/ui/theme.css,#10):
    • 在 GPU 运行卡片中以紧凑型次级进度条直观展示 System RAM 与 Disk 占用情况,提升多卡同屏可读性。

Portable Plugin Bundles / 免 npm install 便携安装包

  • Windows / Cross-Platform (.zip): agy-colab-v1.2.2.zip
  • macOS / Linux (.tar.gz): agy-colab-v1.2.2.tar.gz
  • SHA-256 Checksums: SHA256SUMS.txt

Extract the archive and run node install-portable.mjs inside the extracted agy-colab/ directory, then toggle Colab GPU (agy-colab) on in Antigravity Plugins Manager.

Harness Support: Currently v1.2.2 targets Google Antigravity first. Need another harness (Claude Code, Cursor, Codex, Windsurf, Cline, etc.)? Open a Harness Request Issue and support will be added promptly!

Full Changelog: CHANGELOG.md · Commits (v1.2.2)