Default Document has no connected agent, so for_document now sets agent_count = 0 and the chip switches to the empty-state look: LayoutGrid icon + 'Agents 与 MCP' label (TS topbar.agentsAndMcp / en topbar.agentsAndMcp). Active state (agent_count >= 1) keeps the Sparkles + green dot + 'N agent' look. Chip width is now driven by RenderBackend::measure_text so the border ring tracks the actual rendered string instead of a per-char estimate. |
||
|---|---|---|
| .. | ||
| openpencil-app | ||
| openpencil-shell-core | ||
| openpencil-shell-native | ||
| openpencil-shell-web | ||
| pen-codegen | ||
| pen-core | ||
| pen-engine | ||
| pen-figma | ||
| pen-types | ||
| wasm-libc-shim | ||
| CLAUDE.md | ||