Repository navigation
Colab GPU v1.2.2
Colab GPU (agy-colab) v1.2.2
English Summary
Added
- Credential Freeze / Unfreeze & Safe Account Deletion (
#9):- Added
AccountMeta.frozen/frozenAtand domain-lockedsetAccountFrozen(accountId, frozen)inPluginStore, while enhancingremoveAccountto prune associated leases alongside account credentials and FIFO balance ledger entries. - Guarded
AuthManager.getAccessToken/refreshAccessTokenagainst 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 hardenedapp_account_removewith fail-closed active-GPU & running-race guards (force: trueoverride only when live GPU verification fails, plus direct deletion of already-frozen credentials). - Short-circuited
buildLiveDashboardfor frozen accounts with zero Google/Colab API calls, addedKeepAliveManager.untrackAccount+hydrateFromStoreactive-account filtering +app_set_keepalivefrozen guard, excluded frozen accounts fromRaceManager.start()(while clearing persisted 412 rate limits viaclearRateLimitedAccount), surfaced[FROZEN/已冻结]status in agent tools, and added inline/modal freeze & delete controls inAccountStrip,AuthProxyModal, andRaceArena(13model-visiblecolab_*vs.23app-onlyapp_*tools).
- Added
- Cross-Process File Locking & Disjoint-Account Multi-Session Concurrency (
src/server/state/file-lock.ts,src/server/colab/racer.ts,#8):- Upgraded
PluginStore.withDomainLockwith OS-level cross-process file locks (locksDir, dead-PID / expired-TTL recovery) so parallel MCP host processes safely mutateleases,tasks,config,accounts, andledgerwithout losing updates. - Added persisted
race-state.jsoncoordination for concurrent multi-session GPU racing across disjoint accounts withowner/raceIdstop isolation,120sREADYcard owner reservations incolab_claim_card, anti-friendly-fire double-pass cleanup, and multi-raceRaceArenacards.
- Upgraded
- Default-On 60s Backend Keep-Alive & Single Global Panel (
src/server/colab/keepalive.ts,#7):- Added
KeepAliveManagerandColabApiClient.sendKeepAlivesending 60s Colab TFE heartbeats independently of panel state (enabled by default for non-ghost GPUs, exempt for pure-OAuth[GHOST]GPUs), backed by persisteddefaultKeepAliveconfig, per-endpointkeepAliveEnabledoverrides, and UI-onlyapp_set_keepalive. - Consolidated
colab_open_panelonto a singleglobalpanel entrypoint (removingaux_pane).
- Added
- 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.2targets 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)