A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.
TypeScript
docs(odd): record the connectors map and verified providers
Alan Buscaglia38edf00b1d80
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.mdindex 9796f8b..2865328 100644--- a/odd/tasks/gentle-dot.md+++ b/odd/tasks/gentle-dot.md@@ -129,4 +129,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r- **L32 (2026-10-08, user):** "como podemos hacer para un apartado de conectores, por ejemplo gmail, slack, discord, etc". The parent verified that the engine reads `<agentHome>/mcp.json` (`mcpServers`) and keeps `mcp-auth.json` and `mcp-cache.json` there, and that `@earendil-works/pi-mcp` provides stdio and Streamable HTTP transports plus an MCP OAuth client (`pi-mcp/oauth`; it does not open a browser or choose storage). The proposal was accepted: "dale me gsuta )".- **L33 (2026-10-08, user):** "Notion, Linear, Atlassian tmabien, esta bueno, y pon un apartado de conectar mcp extra, que directamente se lo pida al agente, creo que podria hacerlo no? es mas podriamos reconocer los mcps del user o no ?". Decision recorded: the assistant drafts and the daemon applies after user approval (prompt-injection guard). Import of the user's MCP servers is read-only, per server, and explicit. The explorer was asked to extend its map.- **L34 (2026-10-08, user):** "y creo que encontre un bug, si mientras el agente esta respondiendo un mensaje, abro otra conversacion, da error y no dice que hubo error en el mismo chat". Reproduced from the user's `~/.gentle-dot/daemon.log` (error lines only): `12:17:05 assistant error: This operation was aborted`. Pi's `switch_session` aborts the active run (`agent-session-runtime.js` teardownCurrent → `session.abort()`); the bridge turned the aborted `message_end` into a generic error toast outside the chat. Also, `command get_history failed: Agent is not ready` repeats at every startup (history requested before the agent is ready). Both were added to T17 (same files: bridge.ts and UI).-- **Next step:** T18 read-only map (extended); T17 (UI writer running, now including S21); then T14 (Linux).+- **L35 (2026-10-08, T18 map + web verification):** MCP is a built-in pi-coding-agent 1.0.4 extension that reads `<agentDir>/mcp.json` only at `session_start` and stores OAuth in `mcp-auth.json` (keys `mcp__<ns>|<url>`, locked writes); new tokens are picked up on the next turn. Headless OAuth runs as a separate process (`pi mcp login <name>` with the assistant's agent dir and HOME), because `/mcp login` in RPC sends the URL as an info notice that the sanitizer hides. The assistant disables codemode, so each server needs `exposure: "direct"|"deferred"`. Approval is enforced by an extension loaded with `-e` that hooks `tool_call` (it can block, covers nested calls, and asks through `ctx.ui.confirm` → ask card). Pi documents agents running `pi mcp add` through bash, so the daemon must be the only writer of `mcp.json` and must validate it against the approved set (hash) before each start; `propose_connector` returns drafts only. Tool annotations are kept, so read-only means `readOnlyHint` AND a curated list (fail closed). Providers, from official docs on 2026-10-08: Notion `https://mcp.notion.com/mcp` (OAuth + PKCE); Linear's official remote server (OAuth 2.1 with dynamic client registration, or an API key); Atlassian Rovo `https://mcp.atlassian.com/v2/mcp` (OAuth 2.1, or an API token; the explorer's v1 URL was outdated); Slack's official hosted server requires a registered Slack app with client_id + client_secret; Gmail's official `https://gmailmcp.googleapis.com/mcp/v1` is in Developer Preview and needs the user's own Google Cloud project and consent screen; Discord has only community servers (bot token). The import map (S20) found configs for Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, OpenCode, and Gentle Shell on this Mac (key names only).+- **Next step:** user decision on the Slack/Gmail sign-in approach; T17 (UI writer running, now including S21); then T18 implementation and T14 (Linux).