# eatingDream: Complete Suite Specification (Full Markdown)

> Source: https://eatingdream.dev/ | Directory: https://eatingdream.dev/llms.txt | Search: https://eatingdream.dev/.well-known/search?q={query}

Each one fixes one thing that kept slowing me down: a full context window, a hot laptop, a remote browser, a forgotten GPU.

- **GitHub Organization**: https://github.com/eatingDream-antigravity-plugins
- **Personal GitHub**: https://github.com/eatingDream
- **Site Repository**: https://github.com/eatingDream/eatingdream.dev
- **License**: MIT

---

## ContextRadar (context-radar-mcp)

- **Site**: https://contextradar.eatingdream.dev/ ([Markdown](https://contextradar.eatingdream.dev/index.md) | [llms-full.txt](https://contextradar.eatingdream.dev/llms-full.txt))
- **Repository**: https://github.com/eatingDream-antigravity-plugins/ContextRadar
- **Platform**: macOS and Linux
- **Summary (EN)**: See which turns use up the window and why the prompt cache went cold, before a long session starts to drag. A local native Rust MCP server, live Antigravity side panel, and pure-protocol ACP thin client that tracks context headroom, diagnoses prompt-cache breaks, and distills bloated turns without disturbing your active KV prefix.
- **简介 (ZH)**: 在长会话变慢之前，看清哪些轮次占满了窗口、提示缓存为什么凉了。 面向 Antigravity 的原生 Rust 本地 MCP 服务、实时侧边栏与纯协议 ACP 客户端：监控上下文余量、归因提示词缓存失效，并在不打断 KV 前缀的前提下把冗长轮次蒸馏到独立笔记。
- **Install**: `curl -fsSL https://raw.githubusercontent.com/eatingDream-antigravity-plugins/ContextRadar/main/scripts/install.sh | sh`
- **Agent Skill**: `npx skills add eatingDream-antigravity-plugins/ContextRadar`

### MCP Tools

- `context_radar_overview`: Live status (ready/running/waiting/error), headroom, thinking share, Stream/E2E speed, loop rollup, and subagents.
- `context_radar_turns`: Per-turn tokens, cache hit rate, 3-way cold-cache attribution, TTFT, speed, and cost.
- `context_radar_hotspots`: Locate context spikes (hotspots) or distill a step range into scratch/ (distill, save_note: true).
- `context_radar_prepare_handoff`: Evaluate budget tier, cooldown, subagent drain, and break-even economics.
- `context_radar_commit_handoff`: Issue a scoped single-use grant for /compact or fresh-chat handoff.

### CLI Subcommands

- `context-radar-mcp daemon [--data-dir <path>] [--panel-html <path>]`
- `context-radar-mcp acp-proxy [options] [-- <agy acp flags...>]`
- `context-radar-mcp acp-run --prompt <text> [options] [-- <agy acp flags...>]`
- `context-radar-mcp guard boot | exec`
- `context-radar-mcp bench [--iterations <n>] [--data-root <path>]`

### 3-Way Cache Attribution and Compaction Gate

| Signal Class | Root Cause Pattern | Recommended Action |
| --- | --- | --- |
| New-Turn Miss | Fresh prompt suffix after stable cached prefix | Keep session hot; do not compact |
| Mid-Loop Break | Slow-turn TTL expiry, tool spillover, or model switch | Distill noisy slice to scratch/ or inspect hotspot |
| Post-Compact Rebuild | Expected single-turn cold write right after /compact | Verify break-even turns before next compaction |
| Cross-Model Warning | Compacting across incompatible tokenizer or prefix cache | Prefer clean handoff into a fresh conversation |

### Safety and Privacy

- 100% local and read-only: opens Antigravity SQLite ledgers with SQLITE_OPEN_READ_ONLY plus incremental WAL/JSONL tailing.
- Atomic symlink-safe writes: scratch/ digests traverse directories with O_NOFOLLOW checks and atomic 0600 temp-file renames.
- Fail-closed grants and ACP auth: headless acp-run cancels allow-only prompts unless --auto-approve is explicitly set.
- Strict panel CSP: single self-contained HTML bundle (default-src 'none'), zero external assets, and zero innerHTML writes.

---

## ClamGuard (mac-clamshell-mcp)

- **Site**: https://clamguard.eatingdream.dev/ ([Markdown](https://clamguard.eatingdream.dev/index.md) | [llms-full.txt](https://clamguard.eatingdream.dev/llms-full.txt))
- **Repository**: https://github.com/eatingDream-antigravity-plugins/ClamGuard
- **Platform**: macOS (Apple Silicon and Intel)
- **Summary (EN)**: Work on an external display with the lid shut. ClamGuard watches fans and heat, and eases heavy builds when closed. A native Rust macOS MCP server, live Antigravity dashboard, and CLI wrapper that watches lid state, power source, and thermal pressure to throttle heavy commands and guard closed-lid display state.
- **简介 (ZH)**: 合盖接外接显示器时，ClamGuard 帮你盯着风扇和温度，合盖后自动给重型编译降温限流。 原生 Rust 编写的 macOS MCP 服务、实时面板与 CLI 包装器：感知合盖、供电与热压力，自动节流重型构建并守护合盖屏幕状态。
- **Install**: `curl -fsSL https://raw.githubusercontent.com/eatingDream-antigravity-plugins/ClamGuard/main/scripts/install.sh | sh`
- **Agent Skill**: `npx skills add eatingDream-antigravity-plugins/ClamGuard`

### MCP Tools

- `clamshell_panel`: Opens the live dashboard and reports lid, power, thermal, fan, display guard, and active throttle tier.
- `clamshell_set_brightness`: Sets built-in display brightness (0-100%) when open, or queues wake-restore target while closed.
- `clamshell_lock_screen`: Locks the screen via SACLockScreenImmediate without sleeping background agent jobs.
- `clamshell_refresh`: App-only ETag-deduplicated telemetry polling after UI capability negotiation.
- `clamshell_configure`: App-only policy, display guard, thermal brightness cap, and language persistence.

### CLI Subcommands

- `mac-clamshell-mcp status [--json]`
- `mac-clamshell-mcp run [--mode <auto|normal|utility|eco|strict>] [--jobs <n>] -- <cmd> [args...]`
- `mac-clamshell-mcp brightness get | set <0..100>`
- `mac-clamshell-mcp lock`
- `mac-clamshell-mcp guard install | uninstall | status`
- `mac-clamshell-mcp watch [--daemon] [--interval <secs>]`

### Dynamic Thermal and Clamshell Throttle Profiles

| Profile | Trigger Condition | QoS and Concurrency Cap |
| --- | --- | --- |
| Normal | Lid open and nominal thermal pressure | Full speed, no throttling |
| Utility | Lid closed on AC power | Utility QoS (nice 10), E-core cap (2-4 jobs) |
| Eco | Lid closed on battery | Background QoS (nice 15), max 2 jobs (1 at <=20%) |
| Strict | Serious or critical thermal pressure | Lowest priority (taskpolicy -b, nice 19), 1 job |

### Safety and Privacy

- Zero root and zero SMC writes: never requires sudo, never writes SMC/NVRAM/kexts, and stores state in owner-only 0700/0600 files.
- Hardware-confirmed brightness guard: refuses brightness writes unless hardware confirms the lid is open and internal display is awake.
- Compile-time #[cfg(test)] hardware refusal: unit and integration tests can never lock your screen, sleep displays, or spawn daemons.
- Zero outbound network traffic: 100% local Rust binary communicating exclusively over local MCP stdio.

---

## RemoteCast (chrome-stream-mcp)

- **Site**: https://remotecast.eatingdream.dev/ ([Markdown](https://remotecast.eatingdream.dev/index.md) | [llms-full.txt](https://remotecast.eatingdream.dev/llms-full.txt))
- **Repository**: https://github.com/eatingDream-antigravity-plugins/RemoteCast
- **Platform**: macOS and Linux
- **Summary (EN)**: Watch and click through Chrome without leaving Antigravity, over loopback or your own tunnel, even on a slow link. A native Rust relay and live MCP App that streams local Chrome tabs directly into Antigravity with interactive pointer and keyboard input, tab management, and adaptive weak-network pacing.
- **简介 (ZH)**: 不离开 Antigravity，就能通过本机回环或自己的隧道操作 Chrome，网速慢也看得清。 原生 Rust 中继与实时 MCP 应用：将本地 Chrome 标签页低延迟投屏至 Antigravity，支持精准键鼠交互、标签切换与弱网自适应帧率调度。
- **Install**: `curl -fsSL https://raw.githubusercontent.com/eatingDream-antigravity-plugins/RemoteCast/main/scripts/install.sh | sh`
- **Agent Skill**: `npx skills add eatingDream-antigravity-plugins/RemoteCast`

### MCP Tools

- `chrome_stream_stage`: Opens the live viewer (ui://chrome-stream-mcp/stage) and reports relay/Chrome readiness without auto-connecting.
- `chrome_stream_connect`: Connects to personal or isolated remote Chrome with adaptive quality presets and streams the active tab.
- `chrome_stream_disconnect`: Supports standby (0 FPS warm authorization) or revoke (closes CDP WebSocket).
- `chrome_stream_frame`: App-only long-poll for adaptive motion JPEG or crisp settled WebP stills with 0-byte deduplication.
- `chrome_stream_input`: App-only coalesced pointer/keyboard input bound to (targetId, targetEpoch).
- `chrome_stream_launch_remote`: App-only isolated 0700 loopback Remote Chrome launcher without local Allow prompt.

### CLI Subcommands

- `chrome-stream-mcp serve [--data-dir <path>] [--panel-html <path>]`
- `chrome-stream-mcp relay [--data-dir <path>]`
- `chrome-stream-mcp doctor [--json]`

### Connection Modes and Session Lifecycle

| Mode or State | Endpoint and Isolation | Allow Prompt and Behavior |
| --- | --- | --- |
| Personal Chrome | Reads DevToolsActivePort strictly on loopback | One-time Allow in Chrome; keeps extensions and logins |
| Remote Chrome (No Allow) | Dedicated 0700 profile bound strictly to 127.0.0.1 | Zero Allow dialog; reuses only verified isolated instance |
| Standby (Warm) | CDP control channel kept warm over 0600 Unix socket | 0 FPS capture; instant Wake without re-Allow |
| Revoke and Disconnect | Nested inside overflow menu to prevent accidental clicks | Drops CDP session cleanly; requires fresh Allow later |

### Safety and Privacy

- Loopback-only (127.0.0.1 / ::1): rejects non-loopback endpoints and never exposes Chrome debugging ports to LAN or WAN.
- Peer-UID verified 0600 Unix socket: checks directory ownership and permissions before opening the relay socket or 0700 profile.
- Explicit connect and 12 s idle stop: never auto-dials Chrome on panel load and halts capture during inactivity.
- Capability gating: bootstrap pixels and tabs are returned only after the host negotiates the MCP App MIME type.

---

## ColabDeck (colab-mcp)

- **Site**: https://colabdeck.eatingdream.dev/ ([Markdown](https://colabdeck.eatingdream.dev/index.md) | [llms-full.txt](https://colabdeck.eatingdream.dev/llms-full.txt))
- **Repository**: https://github.com/eatingDream-antigravity-plugins/ColabDeck
- **Platform**: macOS, Linux and Google Colab CLI
- **Summary (EN)**: See what each runtime has cost so far, and let ColabDeck stop the ones you forgot before they eat your units. A native Rust MCP server and live interactive control panel built on the official Google Colab CLI, adding fast cached reads, dual-layer stop guarantees, exclusive local SSH tunnels, and declarative VM deploys.
- **简介 (ZH)**: 看清每个运行时花了多少，忘关的交给 ColabDeck 自动停掉，别再白烧计算单元。 基于官方 Google Colab CLI 构建的原生 Rust MCP 服务与实时控制面板，提供高速缓存读取、双层停机止损保障、独占本机 SSH 隧道与声明式云端部署。
- **Install**: `git clone https://github.com/eatingDream-antigravity-plugins/ColabDeck.git && cd ColabDeck && ./scripts/install.sh`
- **Agent Skill**: `npx skills add eatingDream-antigravity-plugins/ColabDeck`

### MCP Tools

- `colab_panel`: Returns fast cached state and the interactive panel resource while refreshing usage in the background.
- `colab_status`: Returns live Colab balance, burn rate, hardware rates, and active or browser-started [?] runtime state.
- `colab_session_action`: Supports provision (T4/L4/G4/A100/H100/TPU + min_vram_mib), cancel_provision, stop, reap_orphan, restart_kernel, and url.
- `colab_tunnel_action`: Manages exclusive 127.0.0.1 SSH tunnels (open, close, dismiss, list) without touching ~/.ssh/config.
- `colab_deploy_action`: Runs one-click GGUF/llama-cpp deploys, cancel, search_hf, and inspect_hf.
- `colab_app_watchdog`: App-only VM and Host dual watchdog control (arm, extend, cancel).

### CLI Subcommands

- `colab-mcp serve [--mock] [--data-dir <path>] [--panel-html <path>]`
- `colab-mcp doctor [--json]`

### Dual-Layer Cost Guard and Billing Boundaries

| Guard Layer | Enforcement Mechanism | Failure and Edge Behavior |
| --- | --- | --- |
| VM Watchdog | Detached watchdog.py enforcing absolute deadline and idle timeout | Survives laptop sleep, SSH drop, or Antigravity exit |
| Host Policy Guard | Cross-account runtime ceiling, spend cap, and CU balance floor | Failed stops stay tracked as PendingStop with retries |
| [?] Runtime Tracker | Live Colab rate combined with CLI history or first-seen observation | Surfaces unmanaged browser billing with one-click reap |
| SSH Tunnel Safety | 127.0.0.1-only forwarding; ~/.ssh/config stays untouched | Rejects VM port 8080 and refuses silent auto-recreate |

### Safety and Privacy

- Billing honesty: closing a panel or SSH tunnel never stops VM billing; only confirmed stop or reap_orphan ends CU consumption.
- Least-privilege boundaries: MCP calls cannot mutate the colab binary path, plugin scripts run only on the remote VM, and secrets never pass via argv.
- Zero-billing test suite: compile-time and runtime guards block real colab subprocess execution during cargo test.
- Independent OSS project: not affiliated with Google; delegates auth to the official local Colab CLI under your own account ToS.

---

## Shared Toolkit and Companion Projects

### PanelKit (agy-mcp-kit)

- **Role**: Shared Rust toolkit / 共用 Rust 工具包
- **Repository**: https://github.com/eatingDream-antigravity-plugins/PanelKit
- **Description (EN)**: Canonical Rust MCP primitives, shared UI tokens, PostMessage bridge, and SHA-256 vendor sync powering all four plugins.
- **简介 (ZH)**: 驱动四个插件的共用 Rust MCP 原语、统一界面令牌、消息桥接与 SHA-256 同步工具。
- **Command**: `git clone https://github.com/eatingDream-antigravity-plugins/PanelKit.git && cd PanelKit && cargo test --locked`
- **Highlights**:
  - Shared mcp_protocol.rs, cached state loader, and #[cfg(test)] hardware test guards (共用 mcp_protocol、缓存加载器与编译期硬件测试护栏)
  - Automated panel QA gate checking CSP, byte budget, and zero innerHTML (自动化面板质检门禁，校验 CSP、体积预算与零 innerHTML)
  - Standalone vendor sync with .agy-kit-sync.json SHA-256 manifest (零外部依赖独立同步，基于 .agy-kit-sync.json 校验零漂移)

### AIDigest (ai-digest)

- **Role**: Daily AI reading list / 每日 AI 阅读清单
- **Repository**: https://github.com/eatingDream/ai-digest
- **Live Demo**: https://ai-digest-demo.pages.dev/
- **Description (EN)**: Single-binary Rust and TypeScript pipeline turning ~155 public AI sources into hardened, bilingual daily and weekly briefings.
- **简介 (ZH)**: 单二进制 Rust 与 TypeScript 管线：聚合约 155 个公开 AI 信源，生成双语日报和周报并发布为加固静态站点。
- **Command**: `npx skills add eatingDream/ai-digest`
- **Highlights**:
  - Around 155 zero-key public sources (arXiv, Hugging Face, GitHub, labs, HN, Reddit) (内置约 155 个免密钥公开信源（arXiv、Hugging Face、GitHub、实验室博客等）)
  - Clean bilingual reader with instant ZH/EN switching and keyboard search (清爽的双语阅读器，支持即时中英切换与快捷键检索)
  - Agent-ready discovery endpoints and SHA-256 hash-locked static security headers (完整的 Agent 发现端点与构建期 SHA-256 哈希锁定安全响应头)
