Skip to content

Releases

v1.2.0

Choose a tag to compare

@sns45 sns45 released this 27 Aug 21:53
8337a16

Fixes four bugs that between them kept the stdio MCP server from connecting at all, closes an unauthenticated code execution hole, and adds stateless MCP over Streamable HTTP.

Breaking changes

Change Migration
Data moved out of ./data to ~/.local/share/dear-claude Move an existing data/dear-claude.db to the new location to keep OAuth tokens and instance history, or set DEAR_CLAUDE_DATA_DIR
/api/* requires a bearer token Run dear-claude token, or set DEAR_CLAUDE_API_TOKEN. Webhooks and OAuth callbacks are unaffected
HTTP server binds 127.0.0.1, not all interfaces Set DEAR_CLAUDE_HOST if LAN exposure is genuinely wanted

Security

/api/spawn had no authentication while reachable through open CORS and the Tailscale funnel. It runs Claude with bypassPermissions using a caller supplied working_dir and prompt, so this was unauthenticated remote code execution on the host. It is now token guarded and loopback bound.

Webhook routes remain open by design (they verify their own per platform signatures), as do OAuth callbacks.

Fixes

A data/ folder appeared in every project. The data directory resolved against process.cwd(), and a stdio MCP server inherits the client's working directory, so state landed in whatever project Claude Code had open. It was also created even when an explicit database path was passed.

stdout corrupted the MCP protocol. stdout is the JSON-RPC channel in stdio mode, but database and Tailscale banners were written to it, breaking the framing so clients dropped the connection with CONNECTION_CLOSED.

A busy port killed the process. Every Claude Code window spawns its own server, so all but the first died on EADDRINUSE. A taken port now degrades to MCP only mode.

Tailscale hijacked startup. It could launch the app and an interactive browser login, blocking server start. Startup is now non interactive and fails fast; interactive setup moved to dear-claude tunnel-setup. A leftover CLI binary is no longer mistaken for a working install.

New

POST /mcp serves the tool surface over stateless Streamable HTTP, building a fresh server per request. Several Claude Code windows can share one process instead of contending for the webhook port.

"dear-claude": {
  "type": "http",
  "url": "http://127.0.0.1:3334/mcp",
  "headers": { "Authorization": "Bearer <dear-claude token>" }
}

Adds dear-claude token and dear-claude tunnel-setup. 179 tests pass, 15 of them new.

v1.1.2

Choose a tag to compare

@sns45 sns45 released this 23 Jul 14:10
617ad14

Keyless smithmark capability attestation (GitHub OIDC → Fulcio → Rekor) attached as smithmark-attestation.sigstore.json. Zero signing keys, zero stored secrets. Supersedes v1.1.1 (manifest version mismatch).

v1.1.1

Choose a tag to compare

@sns45 sns45 released this 23 Jul 14:06
0cc4803

Re-release carrying a keyless smithmark capability attestation (GitHub OIDC → Fulcio → Rekor) over the npm tarball, attached as smithmark-attestation.sigstore.json. Zero signing keys, zero stored secrets.