Cursor
Install and authenticate Cursor's cursor-agent inside Daintree, including the per-OS credential paths and why Daintree does not resume Cursor sessions.
Cursor
Cursor Agent is Cursor's CLI coding agent. Cursor now documents it as agent; Daintree launches it by its other name, cursor-agent, which the installer still creates. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.
| Command | cursor-agent |
|---|---|
| Shortcut | None by default; assign one in Keyboard Shortcuts |
| Rendering | Cursor's own; Daintree passes no screen-mode flag |
| Resume | None. Daintree captures no session ID for Cursor |
| Quit command | None; Daintree closes the process |
| Permission bypass | --force (per agent or preset only) |
| Platforms | macOS, Windows, Linux |
Install & Authenticate
See Cursor's current setup instructions for installation and sign-in.
Cursor's installer puts the CLI in ~/.local/bin as agent, with cursor-agent as a second name for the same binary. Sign in with cursor-agent login (Cursor's docs write it agent login), which opens a browser; agent status shows whether you're signed in. For headless machines and CI, generate a key in the Cursor dashboard and set CURSOR_API_KEY. Cursor updates itself; agent update forces it.
curl https://cursor.com/install -fsS | bash Daintree checks for credentials at: ~/Library/Application Support/Cursor/User/globalStorage/storage.json
irm 'https://cursor.com/install?win32=true' | iex Daintree checks for credentials at: %APPDATA%\Cursor\User\globalStorage\storage.json
curl https://cursor.com/install -fsS | bash Daintree checks for credentials at: ~/.config/Cursor/User/globalStorage/storage.json
Daintree probes ~/.local/bin/cursor-agent, and on macOS the copy inside Cursor.app, so an install is detected even when the PATH Daintree inherited misses it.
storage.json, such as the OS keychain. CURSOR_API_KEY isn't checked either, so the agent can show No credentials detected even when you're signed in. It still launches and runs normally: the probe is a hint, not a gate.How Daintree Launches It
Daintree passes no screen-mode flag, so Cursor draws the way it does in any terminal; Daintree strips its mouse-reporting requests so native text selection keeps working. Turning on permission bypass adds --force (Cursor's docs also accept --yolo), which lets commands run unless explicitly denied. The global Skip permission prompts switch doesn't reach Cursor, because the agent doesn't declare bypass support. Daintree does not hand Cursor its MCP servers at launch.
Resuming Sessions
Daintree does not resume Cursor. The agent registry declares no resume path for it, so no session ID is captured on shutdown and relaunching starts a fresh conversation. Cursor's own CLI can reopen chats (agent resume for the latest, agent ls to pick one, or --resume <chatId>); run those yourself in the panel when you want an earlier conversation. What Daintree still keeps is the panel itself: scrollback is serialized to disk and replayed on restart, and the panel's position in the grid survives a project switch. See Session Management for what persists.
Launch flags, custom presets and display titles are covered in Agent Presets. What the working, waiting and exited badges on a running agent mean is covered in Agent States.
cursor-agent isn't detected after install, confirm it's on your PATH (command -v cursor-agent on macOS/Linux, where.exe cursor-agent on Windows), then restart Daintree. Daintree reads Cursor's version with cursor-agent -v.Integration reference
This guide describes Daintree's checked-in integration. Its agent definition records the launch command, install guidance, authentication probes, rendering capabilities, 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.