{"code":"const type=\"cursor\";const label=\"Cursor CLI (local)\";const DEFAULT_CURSOR_LOCAL_MODEL=\"auto\";const CURSOR_FALLBACK_MODEL_IDS=[\"auto\",\"composer-1.5\",\"composer-1\",\"gpt-5.3-codex-low\",\"gpt-5.3-codex-low-fast\",\"gpt-5.3-codex\",\"gpt-5.3-codex-fast\",\"gpt-5.3-codex-high\",\"gpt-5.3-codex-high-fast\",\"gpt-5.3-codex-xhigh\",\"gpt-5.3-codex-xhigh-fast\",\"gpt-5.3-codex-spark-preview\",\"gpt-5.2\",\"gpt-5.2-codex-low\",\"gpt-5.2-codex-low-fast\",\"gpt-5.2-codex\",\"gpt-5.2-codex-fast\",\"gpt-5.2-codex-high\",\"gpt-5.2-codex-high-fast\",\"gpt-5.2-codex-xhigh\",\"gpt-5.2-codex-xhigh-fast\",\"gpt-5.1-codex-max\",\"gpt-5.1-codex-max-high\",\"gpt-5.2-high\",\"gpt-5.1-high\",\"gpt-5.1-codex-mini\",\"opus-4.6-thinking\",\"opus-4.6\",\"opus-4.5\",\"opus-4.5-thinking\",\"sonnet-4.6\",\"sonnet-4.6-thinking\",\"sonnet-4.5\",\"sonnet-4.5-thinking\",\"gemini-3.1-pro\",\"gemini-3-pro\",\"gemini-3-flash\",\"grok\",\"kimi-k2.5\"];const models=CURSOR_FALLBACK_MODEL_IDS.map(id=>({id,label:id}));const agentConfigurationDoc=`# cursor agent configuration\n\nAdapter: cursor\n\nUse when:\n- You want Paperclip to run Cursor Agent CLI locally as the agent runtime\n- You want Cursor chat session resume across heartbeats via --resume\n- You want structured stream output in run logs via --output-format stream-json\n\nDon't use when:\n- You need webhook-style external invocation (use openclaw_gateway or http)\n- You only need one-shot shell commands (use process)\n- Cursor Agent CLI is not installed on the machine\n\nCore fields:\n- cwd (string, optional): default absolute working directory fallback for the agent process (created if missing when possible)\n- instructionsFilePath (string, optional): absolute path to a markdown instructions file prepended to the run prompt\n- promptTemplate (string, optional): run prompt template\n- model (string, optional): Cursor model id (for example auto or gpt-5.3-codex)\n- mode (string, optional): Cursor execution mode passed as --mode (plan|ask). Leave unset for normal autonomous runs.\n- command (string, optional): defaults to \"agent\"\n- extraArgs (string[], optional): additional CLI args\n- env (object, optional): KEY=VALUE environment variables\n\nOperational fields:\n- timeoutSec (number, optional): run timeout in seconds\n- graceSec (number, optional): SIGTERM grace period in seconds\n\nNotes:\n- Runs are executed with: agent -p --output-format stream-json ...\n- Prompts are piped to Cursor via stdin.\n- Sessions are resumed with --resume when stored session cwd matches current cwd.\n- Paperclip auto-injects local skills into \"~/.cursor/skills\" when missing, so Cursor can discover \"$paperclip\" and related skills on local runs.\n- Paperclip auto-adds --yolo unless one of --trust/--yolo/-f is already present in extraArgs.\n`;export{DEFAULT_CURSOR_LOCAL_MODEL,agentConfigurationDoc,label,models,type};\n","warnings":[],"map":{"version":3,"mappings":"AAAO,MAAM,KAAO,SACb,MAAM,MAAQ,qBACd,MAAM,2BAA6B,OAE1C,MAAM,0BAA4B,CAChC,OACA,eACA,aACA,oBACA,yBACA,gBACA,qBACA,qBACA,0BACA,sBACA,2BACA,8BACA,UACA,oBACA,yBACA,gBACA,qBACA,qBACA,0BACA,sBACA,2BACA,oBACA,yBACA,eACA,eACA,qBACA,oBACA,WACA,WACA,oBACA,aACA,sBACA,aACA,sBACA,iBACA,eACA,iBACA,OACA,WACF,EAEO,MAAM,OAAS,0BAA0B,IAAK,KAAQ,CAAE,GAAI,MAAO,EAAG,EAAE,EAExE,MAAM,sBAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","names":[],"ignoreList":[],"sources":["/var/www/paperclip.westilt.com/packages/adapters/cursor-local/src/index.ts"],"sourcesContent":[null]}}