Skip to content

Colab GPU v1.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 07:03
c91062a

Colab GPU (agy-colab) v1.3.0

English Summary

Added & Changed

  • Single-Session Multi-Card Sharding & Batch Claiming (#13):
    • Upgraded colab_claim_card to atomically claim 1..4 GPUs in a single call via endpoints, sessionNames, count, and accountId, using a lease-targeted fast-path that memoizes listAssignments per target account (skipping full dashboard polling and unrelated accounts) and syncs legacy sessions.json directories cleanly.
    • Updated colab_claim_card text summaries (content[0].text) to expose endpoint, region, accountId, tokenTTL, and COLAB_CLI_CONFIG_DIR (legacyConfigDir) directly (strictly omitting raw proxyToken), alongside structured { card, cards, claimedCount, requestedCount, failed? }.
    • Enriched colab_status and colab_race_status summaries with explicit endpoint=, [READY/待用], [预留给 <owner>], [owner=<owner>], remaining reservation TTL, COLAB_CLI_CONFIG_DIR, and immediate claim hints while a race is in cleaning.
  • Mandatory Race Ownership, maxAccounts Scoped Sweeps & Auto-Renewed Multi-Card Reservations (#13):
    • Enforced non-empty owner on colab_race_start (both Zod schema and runtime validation) for unambiguous multi-session reservation and stop isolation, and added optional maxAccounts (1..16, ranking clean non-412 accounts with fewer active leases ahead of busy/cooled accounts).
    • Added domain-locked PluginStore.renewReadyReservations and RaceManager.renewJobWonReservations to automatically renew the 120s owner reservation across all already-won READY cards whenever another card is won, during heartbeats, and before race completion/cleanup.
  • Native Multi-Card Task Pool, Watchdog Protection & Sidecar UI (#13, skills/colab-agent-workflow/SKILL.md):
    • Added assignedEndpoints on PoolTask and assignedEndpoint on PoolTaskStep (syncing canonical assignedEndpoint, supporting clean clearing via null / [], and protecting all endpoints returned by getActiveTaskBoundEndpoints from false IDLE_BURN / [GHOST] alerts while unprotecting released shards immediately).
    • Updated TaskPipeline.tsx and App.tsx to render multi-GPU runtime pills, multi-endpoint offline alerts, per-step shard tags, and multi-endpoint runtime stop confirmations, and updated SKILL.md with the Single-Session Multi-Card Sharding (2–4 GPUs) workflow.

Fixed

  • Race-to-READY Split-Brain, Optimistic Transitions & Concurrent MCP Stability (#12):
    • Resolved race-to-READY lease split-brain via pruneMissingLeases (eligibleUpdatedAt grace guard) + DashboardCache mutationEpoch, added optimistic UI READY transitions (app_update_lease state='ready' + colab_release_card adopting unleased active runtimes), distinguished UPSTREAM_TIMEOUT / quota 403 / HTML errors from NETWORK_ERROR, serialized upsertLegacySessionAsync & concurrent ensureInitialized, and hardened login redirect hostname validation.

中文更新摘要

新增与优化

  • 单会话多卡并行分片与 Fast-Path 批量认领(#13):
    • 升级 colab_claim_card 支持单次原子认领 1..4 张 GPU(endpoints、sessionNames、count、accountId),采用基于租约的 Fast-Path 按目标账号去重调用 listAssignments(跳过全池监控探测与无关账号),并在文本摘要中直接返回 endpoint、region、accountId、tokenTTL 与 COLAB_CLI_CONFIG_DIR(严格不暴露 proxyToken),同时返回 { card, cards, claimedCount, requestedCount, failed? }。
    • 丰富 colab_status 与 colab_race_status 输出(endpoint=、[READY/待用]、[预留给 <owner>]、[owner=<owner>]、预留剩余秒数、COLAB_CLI_CONFIG_DIR 以及 cleaning 清尾阶段即可先认领已到位卡的提示)。
  • 抢卡强制归属隔离、maxAccounts 范围控制与多卡预留自动续期(#13):
    • colab_race_start 现强制要求非空 owner(Schema 与运行时双校验),并新增可选 maxAccounts(1..16,优先选取未受 412 冷却且活跃租约更少的账号),防止单卡任务挤占并行会话配额。
    • 新增 PluginStore.renewReadyReservations 与 RaceManager.renewJobWonReservations,在多卡抢卡获胜后续卡、任务心跳及结束清尾前自动续期前面已胜出待用卡的 120s 预留,杜绝多卡凑齐期间前卡预留过期被截胡。
  • 原生多卡 Task Pool、防空烧保护与面板 UI(#13,skills/colab-agent-workflow/SKILL.md):
    • PoolTask 与 PoolTaskStep 原生支持 assignedEndpoints 与步骤级 assignedEndpoint(自动与 assignedEndpoint 对齐并支持 null/[] 清空),buildLiveDashboard 通过 getActiveTaskBoundEndpoints 保护单任务名下全部在跑卡与活跃步骤卡免受 IDLE_BURN/[GHOST] 误报,提前解绑分片后即刻停止保护。
    • TaskPipeline.tsx 与 App.tsx 支持多卡算力胶囊、多卡离线计数告警、步骤级分片标记与停卡多关联校验,并同步更新 SKILL.md 单会话多卡分片协议。

问题修复

  • 并发稳健性、抢卡转待用分脑与分类加固(#12):
    • 修复抢卡转待用分脑问题(pruneMissingLeases 的 eligibleUpdatedAt 宽限校验与 DashboardCache mutationEpoch),完善面板 app_update_lease(state='ready') 与 colab_release_card 纳管在跑卡能力,精准区分 UPSTREAM_TIMEOUT/配额/HTML 异常与 NETWORK_ERROR,并发序列化 upsertLegacySessionAsync 与 ensureInitialized,并加强登录回调域名校验。

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

  • Windows / Cross-Platform (.zip): agy-colab-v1.3.0.zip
  • macOS / Linux (.tar.gz): agy-colab-v1.3.0.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.3.0 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.3.0)