feat: Add system prompt file for persistent persona configuration - Add system file (read/write) to set system prompt - System prompt persists across conversation resets - Add SystemPrompt() and SetSystemPrompt() to Backend interface - Update both API and CLI clients to support dedicated system prompt - Update documentation and examples Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
refactor: Remove unnecessary --dangerously-skip-permissions flag Testing confirmed that --dangerously-skip-permissions is NOT needed when: 1. --print mode is used (non-interactive) 2. Tools are disabled with --allowedTools "" The CLI only prompts for permission when tools might take actions. With tools disabled, it's purely text-in/text-out and no prompts occur. Added explanatory comments documenting each CLI flag's purpose. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
feat: Add CLI backend for Claude Max subscription Add support for using Claude Code CLI as an alternative backend, allowing users with Claude Max subscriptions to use llm9p without API tokens. New files: - internal/llm/backend.go: Backend interface for swappable LLM providers - internal/llm/cli_client.go: CLI-based client using `claude` command Changes: - Add -backend flag: 'api' (default) or 'cli' - Refactor llmfs to use Backend interface instead of concrete Client - Model names normalized for CLI (opus, sonnet, haiku) Usage: ./llm9p -backend cli # Uses Claude Max subscription ./llm9p -backend api # Uses Anthropic API (default) Limitations of CLI backend: - Token counting not available (always 0) - Streaming is simulated (full response as single chunk) - Uses short model names (opus, sonnet, haiku) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>