Repository navigation
Colab GPU (agy-colab) v1.3.2
English Summary
Added & Changed
- Native Colab GPU Data-Plane Execution API (
src/server/colab/runtime-exec.ts,agent-tools.ts):- Added 4 model-visible MCP tools (
colab_exec,colab_exec_logs,colab_files,colab_kernel) communicating directly with Colab Runtime Jupyter Proxy +undici.WebSocket(/api/kernels/{id}/channels,/api/contents,/files) — eliminating externalcolab-clidependencies for pure-OAuth and imported accounts alike. - Added dual-kernel separation (
kernelIdfor stateful Python vs dedicatedshellKernelIdfor bash commands, detached background jobs/tmp/agy_jobs/<jobId>/,waitSeclong-polled log tailing, and file inspection) plus automaticproxyTokenrefresh/retry on expiry or HTTP401/403.
- Added 4 model-visible MCP tools (
- Zero-Token Data-Plane CLI (
src/server/cli/colab-run.ts->dist/colab-run.mjs):- Added standalone CLI supporting
exec,logs,kill,upload --tar,download,ls,kernel, andhf-pull, with automatic secret scrubbing and--task-idprogress syncing.
- Added standalone CLI supporting
- Persistent Pure-OAuth Runtime Session Store (
runtime-sessions.jsoninstore.ts,racer.ts,keepalive.ts):- Persists active
proxyUrl,proxyToken,tokenExpiresAt,kernelId,shellKernelId, and HF injection hash across MCP restarts for all accounts (nolegacySessionsPathrequired).
- Persists active
- Multi-Token HuggingFace Hub Page & Zero-Leak Vault (
src/ui/components/ModelHubPage.tsx,src/server/colab/hub.ts,app-tools.ts):- Added top-level navigation page
🤗 Model Hub(🤗 模型凭据) and 6 UI-only tools (app_hub_get,app_hub_save_token,app_hub_delete_token,app_hub_verify_token,app_hub_save_settings,app_hub_sync_runtime) backed by domain-lockedhub-secrets.json(0o600). - Supports multiple named HF tokens, online
/api/whoami-v2verification, default profile switching, pull/injection policy (autoInjectOnExec,HF_HOME,HF_HUB_ENABLE_HF_TRANSFER, customHF_ENDPOINT), manual sync to running GPUs, and fullhf_*secret scrubbing across MCP & CLI outputs.
- Added top-level navigation page
中文更新摘要
新增与优化
- 原生 Colab GPU 数据面执行 API(
runtime-exec.ts、agent-tools.ts):- 新增 4 个 Agent 可见工具(
colab_exec、colab_exec_logs、colab_files、colab_kernel),基于 Colab Runtime Proxy +undici.WebSocket(/api/kernels/{id}/channels、/api/contents、/files)直连执行 Python/Shell、后台作业长轮询日志(/tmp/agy_jobs/<jobId>/)及双向文件传输,纯 OAuth 账号开箱即用。 - 采用主 Python 内核与伴生 Shell 内核双隔离设计,配合
proxyToken过期自动热刷新重试,彻底避免耗时计算阻塞日志探测。
- 新增 4 个 Agent 可见工具(
- 零 Token 数据面 CLI(
src/server/cli/colab-run.ts->dist/colab-run.mjs):- 提供独立命令行
exec、logs、kill、upload --tar、download、ls、kernel、hf-pull,本地完成大模型文件打包传输、权重拉取与日志跟随,全面脱敏输出并支持--task-id任务进度联动。
- 提供独立命令行
- 全账号连接状态持久化(
runtime-sessions.json):- 抢卡、认领与后台保活均同步持久化
proxyUrl/proxyToken/kernelId/shellKernelId,纯 OAuth 登录与遗留账号一视同仁。
- 抢卡、认领与后台保活均同步持久化
- 多份 HuggingFace 凭据库页面(
🤗 模型凭据/🤗 Model Hub):- 新增一级导航页
🤗 模型凭据及 6 个 UI 专属只读隔离工具(app_hub_*),支持保存多份命名 HF Token、在线whoami-v2校验、切换默认凭据、配置autoInjectOnExec/HF_HOME/hf_transfer/ 镜像站并一键向运行中 GPU 静默注入;Token 永不进入大模型上下文或日志。
- 新增一级导航页
Portable Plugin Bundles / 免 npm install 便携安装包
- Windows / Cross-Platform (
.zip):agy-colab-v1.3.2.zip - macOS / Linux (
.tar.gz):agy-colab-v1.3.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.3.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.3.2)