Claude Code
Install, authenticate, and resume Anthropic's Claude Code inside Daintree, including provider templates and launch-assigned session IDs.
Claude Code
Claude Code is Anthropic's CLI coding agent. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.
| Command | claude |
|---|---|
| Shortcut | Option-Command-C Control-Alt-C Control-Alt-C |
| Color | Terracotta (#CC785C) |
| Bundled context estimate | 200,000 tokens |
| Default rendering | Claude Code's own; Daintree passes no screen-mode flag and doesn't block the alternate screen |
| Permission bypass | --dangerously-skip-permissions (the global switch reaches it) |
| Resume | claude --resume <session-id>, with the ID assigned at launch |
| Platforms | macOS, Windows, Linux |
Install & Authenticate
See Anthropic's current setup instructions for installation and sign-in.
Anthropic's native installer is the recommended path, and it keeps itself updated in the background. Homebrew, WinGet and npm installs also work but don't auto-update. The npm package installs the same native binary and needs Node.js 22 or later. Daintree's install prompt offers npm, with the native curl installer also available on Linux through the Linux release update.
curl -fsSL https://claude.ai/install.sh | bash Or brew install --cask claude-code, or npm install -g @anthropic-ai/claude-code.
irm https://claude.ai/install.ps1 | iex From CMD instead of PowerShell: curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd. Or winget install Anthropic.ClaudeCode, or npm install -g @anthropic-ai/claude-code. Anthropic recommends Git for Windows so Claude Code can use its Bash tool; without it, Claude Code falls back to PowerShell.
curl -fsSL https://claude.ai/install.sh | bash Anthropic also publishes signed apt, dnf and apk repositories, or use npm install -g @anthropic-ai/claude-code.
Run claude once and follow the browser prompts. Claude Code needs a Pro, Max, Team, Enterprise, or Console account (the free claude.ai plan doesn't include it), or a third-party provider such as Amazon Bedrock. If ANTHROPIC_API_KEY is set and you approve it when Claude Code asks, it skips the login. Daintree decides whether the agent shows as ready from ~/.claude.json, ~/.claude/config.json, or ANTHROPIC_API_KEY; that is local evidence, not a check of your account.
Daintree also probes the native installer's launcher at ~/.local/bin/claude (on Windows, %USERPROFILE%\.local\bin\claude.exe) and WinGet's user and machine Links folders (%LOCALAPPDATA%\Microsoft\WinGet\Links and %ProgramFiles%\WinGet\Links), so an install is still detected when the PATH Daintree inherited misses it.
Settings > CLI agents > Claude shows Live quota unavailable under Account quota: Claude doesn't share usage with other apps, so Daintree never reads it. View usage opens your usage page on claude.ai.
How Daintree Launches It
Claude Code declares no screen-mode flag, so it draws the way its own CLI does, whatever the global Use alt-screen mode switch says. Turning on permission bypass adds --dangerously-skip-permissions. Claude Code declares bypass support, so the global Skip permission prompts switch reaches it as well as the per-agent and per-preset controls.
Six provider templates ship with the agent: Anthropic (native), Z.AI, OpenRouter, DeepSeek, Ollama (local), and Custom (OpenAI-compatible). Create a preset From template and the non-secret environment variables (base URL, model aliases, timeout) are pre-filled, with API key fields left blank for you. No template pre-fills CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC any more: it is offered only as a suggestion, with a warning that it stops telemetry and updates and hides Claude Code's Monitor tool. See Presets.
Images you drop or paste onto a Claude Code terminal, or attach in the input bar, arrive as attachments: Daintree pastes each image on its own as its absolute path, which Claude Code shows as [Image #N]. Agents without that support get a text @path reference instead.
Daintree's unified input completes Claude's / commands from its built-in catalog plus the custom commands and skills it finds under .claude/commands and .claude/skills, honoring CLAUDE_CONFIG_DIR. Claude Code doesn't read the shared .agents/skills folder, so those skills aren't offered here. /goal is offered for Claude Code and Codex alike.
An MCP client that launches Claude Code through agent.launch with a systemPrompt gets it appended with --append-system-prompt. Daintree keeps it with the pane's launch flags and passes it again on every relaunch, because --resume doesn't reliably carry it.
Daintree MCP servers
When the MCP server is on (Settings > MCP server) and the project's Agent integrations setting is Core or Full, or the project has turned on a plugin's agent tools, each new Claude Code launch gets those servers through --mcp-config <file>. The file is written with owner-only permissions under Daintree's own data folder and deleted when the terminal exits. It adds to your own MCP servers rather than replacing them, and nothing is written into your Claude configuration or the repository. Servers handed over this way raise no per-folder approval prompt. See MCP Server for what each tool set can do.
Subagents
When a Claude Code session delegates work, the children show up in the panel header as a count you can open and read. Claude Code writes each child's transcript as a JSONL file, with a small sidecar, inside its own per-session folder under ~/.claude/projects/; Daintree reads those files and never writes to that store. Because Daintree minted the session ID at launch, the parent is an exact lookup, so the list is never ambiguous the way a folder-and-recency match would be.
What the files can't say, Daintree doesn't claim. There is no completion record (the transcript simply stops), so a child reads Done only when its last conversation turn ended cleanly, Working while the file is still changing, and Unknown once it goes quiet. Never Error: a file that stopped mid-tool-call looks the same whether the child failed or is still running. Claude Code is also the only provider that records a spawn depth, so a row can say how far down the tree a child sits once it is past the first level. Once the agent exits back to its shell, the pane stops answering for that session's children.
One thing to check if the header never shows a count: Daintree resolves the store from its own environment, so a preset or shell profile that exports a different CLAUDE_CONFIG_DIR to Claude Code alone leaves the list empty rather than wrong. The mechanism, the status vocabulary, and the transcript view are covered in full under Subagents in the Header.
Resuming Sessions
Daintree mints the session ID itself and hands it to Claude Code at launch with --session-id <uuid>, rather than scraping it back out when the session ends. Daintree can still name the session after a crash, force quit or SIGKILL because it recorded the ID before the CLI produced output. Resuming the conversation still depends on Claude Code having saved its transcript. Shutdown has nothing to capture, so Daintree ends the process without typing anything into it.
Later relaunches reuse that same ID with claude --resume <session-id>. A pane you never sent a message in has no conversation to resume yet, so it comes back as a fresh launch under the same ID instead. If the ID is lost anyway, the fallback is claude --continue, which reopens Claude's most recent session in that directory. For the resume mechanics across all agents, see Session Resume.
~/.claude/projects/, keyed by the working directory. Move or rename a project and the old conversation can't be resumed at the new path. Daintree warns about that in the move-or-rename preview rather than letting you discover it afterwards.claude isn't detected after install, confirm it's on your PATH (command -v claude on macOS/Linux, where.exe claude on Windows), then select Re-check, or restart Daintree if your PATH changed. See Agent Availability for the five detection states.Integration reference
This guide describes Daintree's checked-in integration. Its agent definition records the launch command, install guidance, authentication probes, rendering capabilities, MCP wiring, and resume support. Authentication badges report local evidence; the CLI still owns sign-in and provider access. After changing an installation, use Re-check in Settings > CLI agents; restart Daintree if its inherited PATH has changed.