Repository navigation
Colab GPU v1.1.0
Colab GPU (agy-colab) v1.1.0
English Summary
Added
- Built-In Verified Plugin Self-Updater (Sidecar UI + Standalone CLI):
- Added app-only MCP tools
app_check_updateandapp_apply_update(visibility: ['app'], keeping LLM tool context untouched) backed bysrc/server/updater/updater.ts. - Added an Updates (
⬆ 插件更新/⬆ Updates) tab in Settings plus a clickable header update pill (StatusBeacon) that quietly checks GitHub Releases on panel connect (30-minute TTL cache), displays release notes in plain text (zeroinnerHTML), and applies verified upgrades with a post-update reload indicator. - Added standalone zero-extra-dependency CLI updater
scripts/update-plugin.mjs(npm run update:plugin, and bundled asupdate-plugin.mjsinside every portable release archive) supporting--check,--target,--version,--force,--proxy, and--json. - Security & safety invariants: strict HTTPS GitHub allowlist + 50 MiB download cap, mandatory fail-closed
SHA256SUMS.txtverification (plus GitHub asset digest cross-check), Zip-Slip & symlink rejection for.zipand.tar.gz, source-checkout guard (.git/src/), active-race guard, junction/symlink-safenode_modulesreplacement with automatic rollback, and zero touch on${PLUGIN_DATA}.
- Added app-only MCP tools
- Bilingual
EN / 中文Sidecar Console (shipped onmainsincev1.0.0): automatic host/system locale detection with live headerEN / 中文toggle.
Fixed
- Colab GPU Utilization Calculation Bug (
src/server/colab/runtime.ts,RuntimeCard.tsx):- Google Colab's
/api/colab/resourcesendpoint reportsgpuUtilizationas a[0.0, 1.0]fraction (int(row[4]) / 100). Previously,raw < 1causedgpuUtilization = 1.0(100% load) to be interpreted as1%, displaying inaccurate telemetry and triggering falseidle_burnalerts on fully saturated GPUs. - Introduced
normalizeGpuUtilPct(raw, { unit })treating[0, 1](inclusive of1.0) as fractional0%–100%, explicit*Percentkeys as percentages, values> 1as clamped[0, 100], invalid/negative values asnull, and multi-GPU readings via total VRAM + max utilization.
- Google Colab's
中文更新摘要
新增功能
- 内置可校验插件自更新功能(Sidecar 面板一键更新 + 独立 CLI):
- 新增仅前端可见的 MCP 工具
app_check_update与app_apply_update(visibility: ['app'],不占用 LLM 工具上下文),由src/server/updater/updater.ts驱动。 - 在设置弹窗新增 ⬆ 插件更新 标签页,并在顶栏新增可点击更新提示胶囊(面板连接后静默检查 GitHub Releases、30 分钟缓存、纯文本展示 Release Notes 零
innerHTML、升级完成后自动提示重载插件)。 - 新增独立零额外依赖 CLI 更新脚本
scripts/update-plugin.mjs(支持npm run update:plugin且随便携发布包打包为update-plugin.mjs),支持--check、--target、--version、--force、--proxy、--json等参数。 - 完备安全与防损保障:强制 HTTPS GitHub 下载域名白名单与 50 MiB 体积上限、强制
SHA256SUMS.txt校验(缺校验或哈希不匹配一律失败中止)、.zip/.tar.gz解压前 Zip-Slip 路径穿越与符号链接拦截、源码工作区保护(含.git/src/禁止原地覆盖)、抢卡运行中保护、Windows Junction / Unix Symlink 安全的原子替换与失败自动回滚,且全程零触碰${PLUGIN_DATA}数据目录。
- 新增仅前端可见的 MCP 工具
- 中英双语 Sidecar 控制台(合入自
v1.0.0之后):自动识别宿主/系统语言,顶栏支持EN / 中文实时无重启切换。
问题修复
- 修复 Google Colab GPU 利用率计算 Bug(
src/server/colab/runtime.ts、RuntimeCard.tsx):- Google Colab
/api/colab/resources接口返回的gpuUtilization为[0.0, 1.0]小数(1.0表示100%满载)。旧逻辑使用raw < 1导致满载卡1.0被错算为1%,不仅界面显示错误,还会误触发防空烧雷达idle_burn告警。 - 新增
normalizeGpuUtilPct(raw, { unit }):将[0, 1](含1.0)按小数换算为0%–100%,显式*Percent字段按百分比处理,超界值截断至[0, 100]、负数/非法值返回null,并完善多卡显存求和与最高利用率聚合。
- Google Colab
Portable Plugin Bundles / 免 npm install 便携安装包
- Windows / Cross-Platform (
.zip):agy-colab-v1.1.0.zip - macOS / Linux (
.tar.gz):agy-colab-v1.1.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.1.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.1.0)