Repository navigation
Colab GPU (agy-colab) v1.3.0
English Summary
Added & Changed
- Single-Session Multi-Card Sharding & Batch Claiming (
#13):- Upgraded
colab_claim_cardto atomically claim1..4GPUs in a single call viaendpoints,sessionNames,count, andaccountId, using a lease-targeted fast-path that memoizeslistAssignmentsper target account (skipping full dashboard polling and unrelated accounts) and syncs legacysessions.jsondirectories cleanly. - Updated
colab_claim_cardtext summaries (content[0].text) to exposeendpoint,region,accountId,tokenTTL, andCOLAB_CLI_CONFIG_DIR(legacyConfigDir) directly (strictly omitting rawproxyToken), alongside structured{ card, cards, claimedCount, requestedCount, failed? }. - Enriched
colab_statusandcolab_race_statussummaries with explicitendpoint=,[READY/待用],[预留给 <owner>],[owner=<owner>], remaining reservation TTL,COLAB_CLI_CONFIG_DIR, and immediate claim hints while a race is incleaning.
- Upgraded
- Mandatory Race Ownership,
maxAccountsScoped Sweeps & Auto-Renewed Multi-Card Reservations (#13):- Enforced non-empty
owneroncolab_race_start(both Zod schema and runtime validation) for unambiguous multi-session reservation and stop isolation, and added optionalmaxAccounts(1..16, ranking clean non-412 accounts with fewer active leases ahead of busy/cooled accounts). - Added domain-locked
PluginStore.renewReadyReservationsandRaceManager.renewJobWonReservationsto automatically renew the120sownerreservation across all already-wonREADYcards whenever another card is won, during heartbeats, and before race completion/cleanup.
- Enforced non-empty
- Native Multi-Card Task Pool, Watchdog Protection & Sidecar UI (
#13,skills/colab-agent-workflow/SKILL.md):- Added
assignedEndpointsonPoolTaskandassignedEndpointonPoolTaskStep(syncing canonicalassignedEndpoint, supporting clean clearing vianull/[], and protecting all endpoints returned bygetActiveTaskBoundEndpointsfrom falseIDLE_BURN/[GHOST]alerts while unprotecting released shards immediately). - Updated
TaskPipeline.tsxandApp.tsxto render multi-GPU runtime pills, multi-endpoint offline alerts, per-step shard tags, and multi-endpoint runtime stop confirmations, and updatedSKILL.mdwith the Single-Session Multi-Card Sharding (2–4GPUs) workflow.
- Added
Fixed
- Race-to-READY Split-Brain, Optimistic Transitions & Concurrent MCP Stability (
#12):- Resolved race-to-READY lease split-brain via
pruneMissingLeases(eligibleUpdatedAtgrace guard) +DashboardCachemutationEpoch, added optimistic UIREADYtransitions (app_update_leasestate='ready'+colab_release_cardadopting unleased active runtimes), distinguishedUPSTREAM_TIMEOUT/ quota403/ HTML errors fromNETWORK_ERROR, serializedupsertLegacySessionAsync& concurrentensureInitialized, and hardened login redirect hostname validation.
- Resolved race-to-READY lease split-brain via
中文更新摘要
新增与优化
- 单会话多卡并行分片与 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宽限校验与DashboardCachemutationEpoch),完善面板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.0targets 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)