Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models via OpenAI-compatible API shim
TypeScript
refactor: update import paths for react/compiler-runtime to react-compiler-runtime
Reservieren009c29d31859
diff --git a/.gitignore b/.gitignoreindex a8fdd94..757934e 100644--- a/.gitignore+++ b/.gitignore@@ -3,3 +3,5 @@ dist/*.tsbuildinfo.env.env.*+.openclaude-profile.json+reports/diff --git a/PLAYBOOK.md b/PLAYBOOK.mdnew file mode 100644index 0000000..662ee4d--- /dev/null+++ b/PLAYBOOK.md@@ -0,0 +1,294 @@+# OpenClaude Local Agent Playbook++This playbook is a practical guide to run OpenClaude with a local model (Ollama), work safely, and get strong day-to-day results.++## 1. What You Have++- A CLI agent loop that can read/write files, run terminal commands, and help with coding workflows.+- A local provider profile system (`profile:init` and `dev:profile`).+- Runtime checks (`doctor:runtime`) and reporting (`doctor:report`).+- A local model profile currently set to `llama3.1:8b`.++## 2. Daily Start (Fast Path)++Run this in your project root:++```powershell+bun run dev:profile+```++For quick switches:++```powershell+# low latency preset+bun run dev:fast++# better coding quality preset+bun run dev:code+```++If everything is healthy, OpenClaude starts directly.++## 3. One-Time Setup (If Needed)++### 3.1 Initialize a local profile++```powershell+bun run profile:init -- --provider ollama --model llama3.1:8b+```++### 3.2 Confirm profile file++```powershell+Get-Content .\.openclaude-profile.json+```++### 3.3 Validate environment++```powershell+bun run doctor:runtime+```++## 4. Health and Diagnostics++### 4.1 Human-readable checks++```powershell+bun run doctor:runtime+```++### 4.2 JSON diagnostics (automation/logging)++```powershell+bun run doctor:runtime:json+```++### 4.3 Persist runtime report++```powershell+bun run doctor:report+```++Report output:++- `reports/doctor-runtime.json`++### 4.4 Hardening checks++```powershell+# practical checks (smoke + runtime doctor)+bun run hardening:check++# strict checks (includes typecheck)+bun run hardening:strict+```++## 5. Provider Modes++## 5.1 Local mode (Ollama)++```powershell+bun run profile:init -- --provider ollama --model llama3.1:8b+bun run dev:profile+```++Expected behavior:++- No API key required.+- `OPENAI_BASE_URL` should be `http://localhost:11434/v1`.++## 5.2 OpenAI mode++```powershell+bun run profile:init -- --provider openai --api-key sk-... --model gpt-4o+bun run dev:profile+```++Expected behavior:++- Real API key required.+- Placeholder values fail fast.++## 6. Troubleshooting Matrix++## 6.1 `Script not found "dev"`++Cause:++- You ran command in the wrong folder.++Fix:++```powershell+cd C:\Users\Lucas Pedry\Documents\openclaude\openclaude+bun run dev:profile+```++## 6.2 `ollama: term not recognized`++Cause:++- Ollama not installed or PATH not loaded in this terminal.++Fix:++- Install Ollama from https://ollama.com/download/windows or `winget install Ollama.Ollama`.+- Open a new terminal and run:++```powershell+ollama --version+```++## 6.3 `Provider reachability failed` for localhost++Cause:++- Ollama service not running.++Fix:++```powershell+ollama serve+```++Then, in another terminal:++```powershell+bun run doctor:runtime+```++## 6.4 `Missing key for non-local provider URL`++Cause:++- `OPENAI_BASE_URL` points to remote endpoint without key.++Fix:++- Re-initialize profile for ollama:++```powershell+bun run profile:init -- --provider ollama --model llama3.1:8b+```++## 6.5 Placeholder key (`SUA_CHAVE`) error++Cause:++- Placeholder was used instead of real key.++Fix:++- For OpenAI: use a real key.+- For Ollama: no key needed; keep localhost base URL.++## 7. Recommended Local Models++- Fast/general: `llama3.1:8b`+- Better coding quality (if hardware supports): `qwen2.5-coder:14b`+- Low-resource fallback: smaller instruct model++Switch model quickly:++```powershell+bun run profile:init -- --provider ollama --model qwen2.5-coder:14b+bun run dev:profile+```++Preset shortcuts already configured:++```powershell+bun run profile:fast # llama3.2:3b+bun run profile:code # qwen2.5-coder:7b+```++## 8. Practical Prompt Playbook (Copy/Paste)++## 8.1 Code understanding++- "Map this repository architecture and explain the execution flow from entrypoint to tool invocation."+- "Find the top 5 risky modules and explain why."++## 8.2 Refactoring++- "Refactor this module for clarity without behavior change, then run checks and summarize diff impact."+- "Extract shared logic from duplicated functions and add minimal tests."++## 8.3 Debugging++- "Reproduce the failure, identify root cause, implement fix, and validate with commands."+- "Trace this error path and list likely failure points with confidence levels."++## 8.4 Reliability++- "Add runtime guardrails and fail-fast messages for invalid provider env vars."+- "Create a diagnostic command that outputs JSON report for CI artifacts."++## 8.5 Review mode++- "Do a code review of unstaged changes, prioritize bugs/regressions, and suggest concrete patches."++## 9. Safe Working Rules++- Run `doctor:runtime` before debugging provider issues.+- Prefer `dev:profile` over manual env edits.+- Keep `.openclaude-profile.json` local (already gitignored).+- Use `doctor:report` before asking for help so you have a reproducible snapshot.++## 10. Quick Recovery Checklist++When something breaks, run in order:++```powershell+bun run doctor:runtime+bun run doctor:report+bun run smoke+```++If answers are very slow, check processor mode:++```powershell+ollama ps+```++If `PROCESSOR` shows `CPU`, your setup is valid but latency will be higher for large models.++If local model mode is failing:++```powershell+ollama --version+ollama serve+bun run doctor:runtime+bun run dev:profile+```++## 11. Command Reference++```powershell+# profile+bun run profile:init -- --provider ollama --model llama3.1:8b+bun run profile:init -- --provider openai --api-key sk-... --model gpt-4o++# launch+bun run dev:profile+bun run dev:ollama+bun run dev:openai++# diagnostics+bun run doctor:runtime+bun run doctor:runtime:json+bun run doctor:report++# quality+bun run smoke+bun run hardening:check+bun run hardening:strict+```++## 12. Success Criteria++Your setup is healthy when:++- `bun run doctor:runtime` passes provider and reachability checks.+- `bun run dev:profile` opens the CLI normally.+- Model shown in the UI matches your selected profile model.diff --git a/README.md b/README.mdindex b86904a..2817155 100644--- a/README.md+++ b/README.md@@ -168,6 +168,63 @@ You can also use `ANTHROPIC_MODEL` to override the model name. `OPENAI_MODEL` ta---+## Runtime Hardening++Use these commands to keep the CLI stable and catch environment mistakes early:++```bash+# quick startup sanity check+bun run smoke++# validate provider env + reachability+bun run doctor:runtime++# print machine-readable runtime diagnostics+bun run doctor:runtime:json++# persist a diagnostics report to reports/doctor-runtime.json+bun run doctor:report++# full local hardening check (typecheck + smoke + runtime doctor)+bun run hardening:check++# strict hardening (includes project-wide typecheck)+bun run hardening:strict+```++Notes:+- `doctor:runtime` fails fast if `CLAUDE_CODE_USE_OPENAI=1` with a placeholder key (`SUA_CHAVE`) or a missing key for non-local providers.+- Local providers (for example `http://localhost:11434/v1`) can run without `OPENAI_API_KEY`.++### Provider Launch Profiles++Use profile launchers to avoid repeated environment setup:++```bash+# one-time profile bootstrap (auto-detect ollama, otherwise openai)+bun run profile:init++# openai bootstrap with explicit key+bun run profile:init -- --provider openai --api-key sk-...++# ollama bootstrap with custom model+bun run profile:init -- --provider ollama --model llama3.1:8b++# launch using persisted profile (.openclaude-profile.json)+bun run dev:profile++# OpenAI profile (requires OPENAI_API_KEY in your shell)+bun run dev:openai++# Ollama profile (defaults: localhost:11434, llama3.1:8b)+bun run dev:ollama+```++`dev:openai` and `dev:ollama` run `doctor:runtime` first and only launch the app if checks pass.+For `dev:ollama`, make sure Ollama is running locally before launch.++---+## What Works- **All tools**: Bash, FileRead, FileWrite, FileEdit, Glob, Grep, WebFetch, WebSearch, Agent, MCP, LSP, NotebookEdit, Tasksdiff --git a/bun.lock b/bun.lockindex bf322b5..7051fc4 100644--- a/bun.lock+++ b/bun.lock@@ -8,6 +8,7 @@"@alcalzone/ansi-tokenize": "^0.3.0","@anthropic-ai/bedrock-sdk": "^0.26.0","@anthropic-ai/foundry-sdk": "^0.2.0",+ "@anthropic-ai/sandbox-runtime": "^0.0.46","@anthropic-ai/sdk": "^0.81.0","@anthropic-ai/vertex-sdk": "^0.14.0","@commander-js/extra-typings": "^12.0.0",@@ -32,6 +33,7 @@"chokidar": "^4.0.0","cli-boxes": "^3.0.0","cli-highlight": "^2.1.0",+ "code-excerpt": "^4.0.0","commander": "^12.0.0","diff": "^7.0.0","emoji-regex": "^10.4.0",@@ -53,12 +55,13 @@"picomatch": "^4.0.0","proper-lockfile": "^4.1.2","qrcode": "^1.5.4",- "react": "^18.3.1",+ "react": "^19.2.4","react-compiler-runtime": "^1.0.0",- "react-reconciler": "^0.29.2",+ "react-reconciler": "^0.33.0","semver": "^7.6.3","shell-quote": "^1.8.2","signal-exit": "^4.1.0",+ "stack-utils": "^2.0.6","strip-ansi": "^7.1.0","supports-hyperlinks": "^3.1.0","tree-kill": "^1.2.2",@@ -75,7 +78,8 @@},"devDependencies": {"@types/bun": "^1.2.0",- "@types/react": "^18.3.0",+ "@types/node": "^25.5.0",+ "@types/react": "^19.2.14","typescript": "^5.7.0",},},@@ -87,6 +91,8 @@"@anthropic-ai/foundry-sdk": ["@anthropic-ai/[email protected]", "", { "dependencies": { "@anthropic-ai/sdk": ">=0.50.3 <1" } }, "sha512-pD5yYnAeem5s8wDLbdf8/N8CejF/edRd9TJV+0PrT9tLKv6ggQimnr7d05pQn6FrIYACPmty9hekCo2JgepP0w=="],+ "@anthropic-ai/sandbox-runtime": ["@anthropic-ai/[email protected]", "", { "dependencies": { "@pondwader/socks5-server": "^1.0.10", "@types/lodash-es": "^4.17.12", "commander": "^12.1.0", "lodash-es": "^4.17.23", "shell-quote": "^1.8.3", "zod": "^3.24.1" }, "bin": { "srt": "dist/cli.js" } }, "sha512-FeVZ4rbdiHNPiMtf70xkiwogDGXYcCKCPmYjrED2HGNlk5jOabgrlvUROz0SsVksIh24SVRuTwNTK/yGBFm/5w=="],+"@anthropic-ai/sdk": ["@anthropic-ai/[email protected]", "", { "dependencies": { "json-schema-to-ts": "^3.1.1" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" }, "optionalPeers": ["zod"], "bin": { "anthropic-ai-sdk": "bin/cli" } }, "sha512-D4K5PvEV6wPiRtVlVsJHIUhHAmOZ6IT/I9rKlTf84gR7GyyAurPJK7z9BOf/AZqC5d1DhYQGJNKRmV+q8dGhgw=="],"@anthropic-ai/vertex-sdk": ["@anthropic-ai/[email protected]", "", { "dependencies": { "@anthropic-ai/sdk": ">=0.50.3 <1", "google-auth-library": "^9.4.2" } }, "sha512-BZUPRWghZxfSFtAxU563wH+jfWBPoedAwsVxG35FhmNsjeV8tyfN+lFriWhCpcZApxA4NdT6Soov+PzfnxxD5g=="],@@ -213,6 +219,8 @@"@opentelemetry/semantic-conventions": ["@opentelemetry/[email protected]", "", {}, "sha512-cifvXDhcqMwwTlTK04GBNeIe7yyo28Mfby85QXFe1Yk8nmi36Ab/5UQwptOx84SsoGNRg+EVSjwzfSZMy6pmlw=="],+ "@pondwader/socks5-server": ["@pondwader/[email protected]", "", {}, "sha512-bQY06wzzR8D2+vVCUoBsr5QS2U6UgPUQRmErNwtsuI6vLcyRKkafjkr3KxbtGFf9aBBIV2mcvlsKD1UYaIV+sg=="],+"@protobufjs/aspromise": ["@protobufjs/[email protected]", "", {}, "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ=="],"@protobufjs/base64": ["@protobufjs/[email protected]", "", {}, "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg=="],@@ -329,11 +337,13 @@"@types/bun": ["@types/[email protected]", "", { "dependencies": { "bun-types": "1.3.11" } }, "sha512-5vPne5QvtpjGpsGYXiFyycfpDF2ECyPcTSsFBMa0fraoxiQyMJ3SmuQIGhzPg2WJuWxVBoxWJ2kClYTcw/4fAg=="],- "@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw=="],+ "@types/lodash": ["@types/[email protected]", "", {}, "sha512-gIW7lQLZbue7lRSWEFql49QJJWThrTFFeIMJdp3eH4tKoxm1OvEPg02rm4wCCSHS0cL3/Fizimb35b7k8atwsQ=="],- "@types/prop-types": ["@types/[email protected]", "", {}, "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw=="],+ "@types/lodash-es": ["@types/[email protected]", "", { "dependencies": { "@types/lodash": "*" } }, "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ=="],- "@types/react": ["@types/[email protected]", "", { "dependencies": { "@types/prop-types": "*", "csstype": "^3.2.2" } }, "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw=="],+ "@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw=="],++ "@types/react": ["@types/[email protected]", "", { "dependencies": { "csstype": "^3.2.2" } }, "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w=="],"accepts": ["[email protected]", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],@@ -387,6 +397,8 @@"cliui": ["[email protected]", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" } }, "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ=="],+ "code-excerpt": ["[email protected]", "", { "dependencies": { "convert-to-spaces": "^2.0.1" } }, "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA=="],+"color-convert": ["[email protected]", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],"color-name": ["[email protected]", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],@@ -399,6 +411,8 @@"content-type": ["[email protected]", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="],+ "convert-to-spaces": ["[email protected]", "", {}, "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ=="],+"cookie": ["[email protected]", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="],"cookie-signature": ["[email protected]", "", {}, "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg=="],@@ -449,6 +463,8 @@"escape-html": ["[email protected]", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="],+ "escape-string-regexp": ["[email protected]", "", {}, "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w=="],+"etag": ["[email protected]", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="],"eventsource": ["[email protected]", "", { "dependencies": { "eventsource-parser": "^3.0.1" } }, "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA=="],@@ -559,8 +575,6 @@"jose": ["[email protected]", "", {}, "sha512-d7kPDd34KO/YnzaDOlikGpOurfF0ByC2sEV4cANCtdqLlTfBlw2p14O/5d/zv40gJPbIQxfES3nSx1/oYNyuZQ=="],- "js-tokens": ["[email protected]", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],-"json-bigint": ["[email protected]", "", { "dependencies": { "bignumber.js": "^9.0.0" } }, "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ=="],"json-schema-to-ts": ["[email protected]", "", { "dependencies": { "@babel/runtime": "^7.18.3", "ts-algebra": "^2.0.0" } }, "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g=="],@@ -585,8 +599,6 @@"long": ["[email protected]", "", {}, "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA=="],- "loose-envify": ["[email protected]", "", { "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="],-"lru-cache": ["[email protected]", "", {}, "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA=="],"marked": ["[email protected]", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA=="],@@ -667,11 +679,11 @@"raw-body": ["[email protected]", "", { "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", "iconv-lite": "~0.7.0", "unpipe": "~1.0.0" } }, "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA=="],- "react": ["[email protected]", "", { "dependencies": { "loose-envify": "^1.1.0" } }, "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ=="],+ "react": ["[email protected]", "", {}, "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ=="],"react-compiler-runtime": ["[email protected]", "", { "peerDependencies": { "react": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^0.0.0-experimental" } }, "sha512-rRfjYv66HlG8896yPUDONgKzG5BxZD1nV9U6rkm+7VCuvQc903C4MjcoZR4zPw53IKSOX9wMQVpA1IAbRtzQ7w=="],- "react-reconciler": ["[email protected]", "", { "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.2" }, "peerDependencies": { "react": "^18.3.1" } }, "sha512-zZQqIiYgDCTP/f1N/mAR10nJGrPD2ZR+jDSEsKWJHYC7Cm2wodlwbR3upZRdC3cjIjSlTLNVyO7Iu0Yy7t2AYg=="],+ "react-reconciler": ["[email protected]", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.0" } }, "sha512-KetWRytFv1epdpJc3J4G75I4WrplZE5jOL7Yq0p34+OVOKF4Se7WrdIdVC45XsSSmUTlht2FM/fM1FZb1mfQeA=="],"readdirp": ["[email protected]", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="],@@ -689,7 +701,7 @@"safer-buffer": ["[email protected]", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],- "scheduler": ["[email protected]", "", { "dependencies": { "loose-envify": "^1.1.0" } }, "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ=="],+ "scheduler": ["[email protected]", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],"semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="],@@ -717,6 +729,8 @@"signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],+ "stack-utils": ["[email protected]", "", { "dependencies": { "escape-string-regexp": "^2.0.0" } }, "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ=="],+"statuses": ["[email protected]", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],"string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="],diff --git a/package.json b/package.jsonindex 103979b..15aa52f 100644--- a/package.json+++ b/package.json@@ -8,13 +8,29 @@},"scripts": {"build": "bun run scripts/build.ts",- "dev": "bun run src/entrypoints/cli.tsx",- "start": "node dist/cli.mjs"+ "dev": "bun run build && node dist/cli.mjs",+ "dev:profile": "bun run scripts/provider-launch.ts",+ "dev:openai": "bun run scripts/provider-launch.ts openai",+ "dev:ollama": "bun run scripts/provider-launch.ts ollama",+ "profile:init": "bun run scripts/provider-bootstrap.ts",+ "profile:fast": "bun run profile:init -- --provider ollama --model llama3.2:3b",+ "profile:code": "bun run profile:init -- --provider ollama --model qwen2.5-coder:7b",+ "dev:fast": "bun run profile:fast && bun run dev:profile",+ "dev:code": "bun run profile:code && bun run dev:profile",+ "start": "node dist/cli.mjs",+ "typecheck": "tsc --noEmit",+ "smoke": "bun run build && node dist/cli.mjs --version",+ "doctor:runtime": "bun run scripts/system-check.ts",+ "doctor:runtime:json": "bun run scripts/system-check.ts --json",+ "doctor:report": "bun run scripts/system-check.ts --out reports/doctor-runtime.json",+ "hardening:check": "bun run smoke && bun run doctor:runtime",+ "hardening:strict": "bun run typecheck && bun run hardening:check"},"dependencies": {"@alcalzone/ansi-tokenize": "^0.3.0","@anthropic-ai/bedrock-sdk": "^0.26.0","@anthropic-ai/foundry-sdk": "^0.2.0",+ "@anthropic-ai/sandbox-runtime": "^0.0.46","@anthropic-ai/sdk": "^0.81.0","@anthropic-ai/vertex-sdk": "^0.14.0","@commander-js/extra-typings": "^12.0.0",@@ -39,6 +55,7 @@"chokidar": "^4.0.0","cli-boxes": "^3.0.0","cli-highlight": "^2.1.0",+ "code-excerpt": "^4.0.0","commander": "^12.0.0","diff": "^7.0.0","emoji-regex": "^10.4.0",@@ -60,12 +77,13 @@"picomatch": "^4.0.0","proper-lockfile": "^4.1.2","qrcode": "^1.5.4",- "react": "^18.3.1",+ "react": "^19.2.4","react-compiler-runtime": "^1.0.0",- "react-reconciler": "^0.29.2",+ "react-reconciler": "^0.33.0","semver": "^7.6.3","shell-quote": "^1.8.2","signal-exit": "^4.1.0",+ "stack-utils": "^2.0.6","strip-ansi": "^7.1.0","supports-hyperlinks": "^3.1.0","tree-kill": "^1.2.2",@@ -82,7 +100,8 @@},"devDependencies": {"@types/bun": "^1.2.0",- "@types/react": "^18.3.0",+ "@types/node": "^25.5.0",+ "@types/react": "^19.2.14","typescript": "^5.7.0"},"engines": {diff --git a/scripts/provider-bootstrap.ts b/scripts/provider-bootstrap.tsnew file mode 100644index 0000000..7c066a0--- /dev/null+++ b/scripts/provider-bootstrap.ts@@ -0,0 +1,99 @@+// @ts-nocheck+import { writeFileSync } from 'node:fs'+import { resolve } from 'node:path'++type ProviderProfile = 'openai' | 'ollama'++type ProfileFile = {+ profile: ProviderProfile+ env: {+ OPENAI_BASE_URL?: string+ OPENAI_MODEL?: string+ OPENAI_API_KEY?: string+ }+ createdAt: string+}++function parseArg(name: string): string | null {+ const args = process.argv.slice(2)+ const idx = args.indexOf(name)+ if (idx === -1) return null+ return args[idx + 1] ?? null+}++function parseProviderArg(): ProviderProfile | 'auto' {+ const p = parseArg('--provider')?.toLowerCase()+ if (p === 'openai' || p === 'ollama') return p+ return 'auto'+}++async function hasLocalOllama(): Promise<boolean> {+ const endpoint = 'http://localhost:11434/api/tags'+ const controller = new AbortController()+ const timeout = setTimeout(() => controller.abort(), 1200)++ try {+ const response = await fetch(endpoint, {+ method: 'GET',+ signal: controller.signal,+ })+ return response.ok+ } catch {+ return false+ } finally {+ clearTimeout(timeout)+ }+}++function sanitizeApiKey(key: string | null): string | undefined {+ if (!key || key === 'SUA_CHAVE') return undefined+ return key+}++async function main(): Promise<void> {+ const provider = parseProviderArg()+ const argModel = parseArg('--model')+ const argBaseUrl = parseArg('--base-url')+ const argApiKey = parseArg('--api-key')++ let selected: ProviderProfile+ if (provider === 'auto') {+ selected = (await hasLocalOllama()) ? 'ollama' : 'openai'+ } else {+ selected = provider+ }++ const env: ProfileFile['env'] = {}+ if (selected === 'ollama') {+ env.OPENAI_BASE_URL = argBaseUrl || 'http://localhost:11434/v1'+ env.OPENAI_MODEL = argModel || process.env.OPENAI_MODEL || 'llama3.1:8b'+ const key = sanitizeApiKey(argApiKey || process.env.OPENAI_API_KEY || null)+ if (key) env.OPENAI_API_KEY = key+ } else {+ env.OPENAI_BASE_URL = argBaseUrl || process.env.OPENAI_BASE_URL || 'https://api.openai.com/v1'+ env.OPENAI_MODEL = argModel || process.env.OPENAI_MODEL || 'gpt-4o'+ const key = sanitizeApiKey(argApiKey || process.env.OPENAI_API_KEY || null)+ if (!key) {+ console.error('OpenAI profile requires a real API key. Use --api-key or set OPENAI_API_KEY.')+ process.exit(1)+ }+ env.OPENAI_API_KEY = key+ }++ const profile: ProfileFile = {+ profile: selected,+ env,+ createdAt: new Date().toISOString(),+ }++ const outputPath = resolve(process.cwd(), '.openclaude-profile.json')+ writeFileSync(outputPath, JSON.stringify(profile, null, 2), 'utf8')++ console.log(`Saved profile: ${selected}`)+ console.log(`Path: ${outputPath}`)+ console.log('Next: bun run dev:profile')+}++await main()++export {}diff --git a/scripts/provider-launch.ts b/scripts/provider-launch.tsnew file mode 100644index 0000000..e6d64b6--- /dev/null+++ b/scripts/provider-launch.ts@@ -0,0 +1,138 @@+// @ts-nocheck+import { spawn } from 'node:child_process'+import { existsSync, readFileSync } from 'node:fs'+import { resolve } from 'node:path'++type ProviderProfile = 'openai' | 'ollama'++type ProfileFile = {+ profile: ProviderProfile+ env?: {+ OPENAI_BASE_URL?: string+ OPENAI_MODEL?: string+ OPENAI_API_KEY?: string+ }+}++function parseProfile(argv: string[]): ProviderProfile | 'auto' | null {+ const profile = argv[0]?.toLowerCase()+ if (!profile) return 'auto'+ if (profile === 'auto') return 'auto'+ if (profile === 'openai' || profile === 'ollama') return profile+ return null+}++function loadPersistedProfile(): ProfileFile | null {+ const path = resolve(process.cwd(), '.openclaude-profile.json')+ if (!existsSync(path)) return null+ try {+ const parsed = JSON.parse(readFileSync(path, 'utf8')) as ProfileFile+ if (parsed.profile === 'openai' || parsed.profile === 'ollama') {+ return parsed+ }+ return null+ } catch {+ return null+ }+}++async function hasLocalOllama(): Promise<boolean> {+ const endpoint = 'http://localhost:11434/api/tags'+ const controller = new AbortController()+ const timeout = setTimeout(() => controller.abort(), 1200)+ try {+ const response = await fetch(endpoint, { signal: controller.signal })+ return response.ok+ } catch {+ return false+ } finally {+ clearTimeout(timeout)+ }+}++function runCommand(command: string, env: NodeJS.ProcessEnv): Promise<number> {+ return new Promise(resolve => {+ const child = spawn(command, {+ cwd: process.cwd(),+ env,+ stdio: 'inherit',+ shell: true,+ })++ child.on('close', code => resolve(code ?? 1))+ child.on('error', () => resolve(1))+ })+}++function buildEnv(profile: ProviderProfile, persisted: ProfileFile | null): NodeJS.ProcessEnv {+ const persistedEnv = persisted?.env ?? {}+ const env: NodeJS.ProcessEnv = {+ ...process.env,+ CLAUDE_CODE_USE_OPENAI: '1',+ }++ if (profile === 'ollama') {+ env.OPENAI_BASE_URL = persistedEnv.OPENAI_BASE_URL || process.env.OPENAI_BASE_URL || 'http://localhost:11434/v1'+ env.OPENAI_MODEL = persistedEnv.OPENAI_MODEL || process.env.OPENAI_MODEL || 'llama3.1:8b'+ if (!process.env.OPENAI_API_KEY || process.env.OPENAI_API_KEY === 'SUA_CHAVE') {+ delete env.OPENAI_API_KEY+ }+ return env+ }++ env.OPENAI_BASE_URL = process.env.OPENAI_BASE_URL || persistedEnv.OPENAI_BASE_URL || 'https://api.openai.com/v1'+ env.OPENAI_MODEL = process.env.OPENAI_MODEL || persistedEnv.OPENAI_MODEL || 'gpt-4o'+ env.OPENAI_API_KEY = process.env.OPENAI_API_KEY || persistedEnv.OPENAI_API_KEY+ return env+}++function printSummary(profile: ProviderProfile, env: NodeJS.ProcessEnv): void {+ const keySet = Boolean(env.OPENAI_API_KEY)+ console.log(`Launching profile: ${profile}`)+ console.log(`OPENAI_BASE_URL=${env.OPENAI_BASE_URL}`)+ console.log(`OPENAI_MODEL=${env.OPENAI_MODEL}`)+ console.log(`OPENAI_API_KEY_SET=${keySet}`)+}++async function main(): Promise<void> {+ const requestedProfile = parseProfile(process.argv.slice(2))+ if (!requestedProfile) {+ console.error('Usage: bun run scripts/provider-launch.ts [openai|ollama|auto]')+ process.exit(1)+ }++ const persisted = loadPersistedProfile()+ let profile: ProviderProfile++ if (requestedProfile === 'auto') {+ if (persisted) {+ profile = persisted.profile+ } else {+ profile = (await hasLocalOllama()) ? 'ollama' : 'openai'+ }+ } else {+ profile = requestedProfile+ }++ const env = buildEnv(profile, persisted)++ if (profile === 'openai' && (!env.OPENAI_API_KEY || env.OPENAI_API_KEY === 'SUA_CHAVE')) {+ console.error('OPENAI_API_KEY is required for openai profile and cannot be SUA_CHAVE. Run: bun run profile:init -- --provider openai --api-key <key>')+ process.exit(1)+ }++ printSummary(profile, env)++ const doctorCode = await runCommand('bun run scripts/system-check.ts', env)+ if (doctorCode !== 0) {+ console.error('Runtime doctor failed. Fix configuration before launching.')+ process.exit(doctorCode)+ }++ const devCode = await runCommand('bun run dev', env)+ process.exit(devCode)+}++await main()++export {}diff --git a/scripts/system-check.ts b/scripts/system-check.tsnew file mode 100644index 0000000..0da4556--- /dev/null+++ b/scripts/system-check.ts@@ -0,0 +1,288 @@+// @ts-nocheck+import { existsSync, mkdirSync, writeFileSync } from 'node:fs'+import { dirname, join, resolve } from 'node:path'+import { spawnSync } from 'node:child_process'++type CheckResult = {+ ok: boolean+ label: string+ detail?: string+}++type CliOptions = {+ json: boolean+ outFile: string | null+}++function pass(label: string, detail?: string): CheckResult {+ return { ok: true, label, detail }+}++function fail(label: string, detail?: string): CheckResult {+ return { ok: false, label, detail }+}++function isTruthy(value: string | undefined): boolean {+ if (!value) return false+ const normalized = value.trim().toLowerCase()+ return normalized !== '' && normalized !== '0' && normalized !== 'false' && normalized !== 'no'+}++function parseOptions(argv: string[]): CliOptions {+ const options: CliOptions = {+ json: false,+ outFile: null,+ }++ for (let i = 0; i < argv.length; i++) {+ const arg = argv[i]+ if (arg === '--json') {+ options.json = true+ continue+ }++ if (arg === '--out') {+ const next = argv[i + 1]+ if (next && !next.startsWith('--')) {+ options.outFile = next+ i+++ }+ }+ }++ return options+}++function checkNodeVersion(): CheckResult {+ const raw = process.versions.node+ const major = Number(raw.split('.')[0] ?? '0')+ if (Number.isNaN(major)) {+ return fail('Node.js version', `Could not parse version: ${raw}`)+ }++ if (major < 20) {+ return fail('Node.js version', `Detected ${raw}. Require >= 20.`)+ }++ return pass('Node.js version', raw)+}++function checkBunRuntime(): CheckResult {+ const bunVersion = (globalThis as { Bun?: { version?: string } }).Bun?.version+ if (!bunVersion) {+ return pass('Bun runtime', 'Not running inside Bun (this is acceptable for Node startup).')+ }+ return pass('Bun runtime', bunVersion)+}++function checkBuildArtifacts(): CheckResult {+ const distCli = resolve(process.cwd(), 'dist', 'cli.mjs')+ if (!existsSync(distCli)) {+ return fail('Build artifacts', `Missing ${distCli}. Run: bun run build`)+ }+ return pass('Build artifacts', distCli)+}++function isLocalBaseUrl(baseUrl: string): boolean {+ try {+ const url = new URL(baseUrl)+ return url.hostname === 'localhost' || url.hostname === '127.0.0.1' || url.hostname === '::1'+ } catch {+ return false+ }+}++function currentBaseUrl(): string {+ return process.env.OPENAI_BASE_URL ?? 'https://api.openai.com/v1'+}++function checkOpenAIEnv(): CheckResult[] {+ const results: CheckResult[] = []+ const useOpenAI = isTruthy(process.env.CLAUDE_CODE_USE_OPENAI)++ if (!useOpenAI) {+ results.push(pass('Provider mode', 'Anthropic login flow enabled (CLAUDE_CODE_USE_OPENAI is off).'))+ return results+ }++ const baseUrl = process.env.OPENAI_BASE_URL ?? 'https://api.openai.com/v1'+ const model = process.env.OPENAI_MODEL+ const key = process.env.OPENAI_API_KEY++ results.push(pass('Provider mode', 'OpenAI-compatible provider enabled.'))++ if (!model) {+ results.push(pass('OPENAI_MODEL', 'Not set. Runtime fallback model will be used.'))+ } else {+ results.push(pass('OPENAI_MODEL', model))+ }++ results.push(pass('OPENAI_BASE_URL', baseUrl))++ if (key === 'SUA_CHAVE') {+ results.push(fail('OPENAI_API_KEY', 'Placeholder value detected: SUA_CHAVE.'))+ } else if (!key && !isLocalBaseUrl(baseUrl)) {+ results.push(fail('OPENAI_API_KEY', 'Missing key for non-local provider URL.'))+ } else if (!key) {+ results.push(pass('OPENAI_API_KEY', 'Not set (allowed for local providers like Ollama/LM Studio).'))+ } else {+ results.push(pass('OPENAI_API_KEY', 'Configured.'))+ }++ return results+}++async function checkBaseUrlReachability(): Promise<CheckResult> {+ if (!isTruthy(process.env.CLAUDE_CODE_USE_OPENAI)) {+ return pass('Provider reachability', 'Skipped (OpenAI-compatible mode disabled).')+ }++ const baseUrl = currentBaseUrl()+ const key = process.env.OPENAI_API_KEY+ const endpoint = `${baseUrl.replace(/\/$/, '')}/models`++ const controller = new AbortController()+ const timeout = setTimeout(() => controller.abort(), 4000)++ try {+ const headers: Record<string, string> = {}+ if (key) {+ headers.Authorization = `Bearer ${key}`+ }++ const response = await fetch(endpoint, {+ method: 'GET',+ headers,+ signal: controller.signal,+ })++ if (response.status === 200 || response.status === 401 || response.status === 403) {+ return pass('Provider reachability', `Reached ${endpoint} (status ${response.status}).`)+ }++ return fail('Provider reachability', `Unexpected status ${response.status} from ${endpoint}.`)+ } catch (error) {+ const message = error instanceof Error ? error.message : String(error)+ return fail('Provider reachability', `Failed to reach ${endpoint}: ${message}`)+ } finally {+ clearTimeout(timeout)+ }+}++function checkOllamaProcessorMode(): CheckResult {+ if (!isTruthy(process.env.CLAUDE_CODE_USE_OPENAI)) {+ return pass('Ollama processor mode', 'Skipped (OpenAI-compatible mode disabled).')+ }++ const baseUrl = currentBaseUrl()+ if (!isLocalBaseUrl(baseUrl)) {+ return pass('Ollama processor mode', 'Skipped (provider URL is not local).')+ }++ const result = spawnSync('ollama', ['ps'], {+ cwd: process.cwd(),+ encoding: 'utf8',+ shell: true,+ })++ if (result.status !== 0) {+ const detail = (result.stderr || result.stdout || 'Unable to run ollama ps').trim()+ return fail('Ollama processor mode', detail)+ }++ const output = (result.stdout || '').trim()+ if (!output) {+ return fail('Ollama processor mode', 'ollama ps returned empty output.')+ }++ const lines = output.split(/\r?\n/).map(line => line.trim()).filter(Boolean)+ const modelLine = lines.find(line => line.includes(':') && !line.startsWith('NAME'))+ if (!modelLine) {+ return pass('Ollama processor mode', 'No loaded model found (run a prompt first).')+ }++ if (modelLine.includes('CPU')) {+ return pass('Ollama processor mode', 'Detected CPU mode. This is valid but can be slow for larger models.')+ }++ return pass('Ollama processor mode', `Detected non-CPU mode: ${modelLine}`)+}++function serializeSafeEnvSummary(): Record<string, string | boolean> {+ return {+ CLAUDE_CODE_USE_OPENAI: isTruthy(process.env.CLAUDE_CODE_USE_OPENAI),+ OPENAI_MODEL: process.env.OPENAI_MODEL ?? '(unset)',+ OPENAI_BASE_URL: process.env.OPENAI_BASE_URL ?? 'https://api.openai.com/v1',+ OPENAI_API_KEY_SET: Boolean(process.env.OPENAI_API_KEY),+ }+}++function printResults(results: CheckResult[]): void {+ for (const result of results) {+ const icon = result.ok ? 'PASS' : 'FAIL'+ const suffix = result.detail ? ` - ${result.detail}` : ''+ console.log(`[${icon}] ${result.label}${suffix}`)+ }+}++function writeJsonReport(+ options: CliOptions,+ results: CheckResult[],+): void {+ const payload = {+ timestamp: new Date().toISOString(),+ cwd: process.cwd(),+ summary: {+ total: results.length,+ passed: results.filter(result => result.ok).length,+ failed: results.filter(result => !result.ok).length,+ },+ env: serializeSafeEnvSummary(),+ results,+ }++ if (options.json) {+ console.log(JSON.stringify(payload, null, 2))+ }++ if (options.outFile) {+ const outputPath = resolve(process.cwd(), options.outFile)+ mkdirSync(dirname(outputPath), { recursive: true })+ writeFileSync(outputPath, JSON.stringify(payload, null, 2), 'utf8')+ if (!options.json) {+ console.log(`Report written to ${outputPath}`)+ }+ }+}++async function main(): Promise<void> {+ const options = parseOptions(process.argv.slice(2))+ const results: CheckResult[] = []++ results.push(checkNodeVersion())+ results.push(checkBunRuntime())+ results.push(checkBuildArtifacts())+ results.push(...checkOpenAIEnv())+ results.push(await checkBaseUrlReachability())+ results.push(checkOllamaProcessorMode())++ if (!options.json) {+ printResults(results)+ }++ writeJsonReport(options, results)++ const hasFailure = results.some(result => !result.ok)+ if (hasFailure) {+ process.exitCode = 1+ return+ }++ if (!options.json) {+ console.log('\nRuntime checks completed successfully.')+ }+}++await main()++export {}diff --git a/src/buddy/CompanionSprite.tsx b/src/buddy/CompanionSprite.tsxindex f7f1f72..e6e23cc 100644--- a/src/buddy/CompanionSprite.tsx+++ b/src/buddy/CompanionSprite.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import figures from 'figures';import React, { useEffect, useRef, useState } from 'react';diff --git a/src/buddy/useBuddyNotification.tsx b/src/buddy/useBuddyNotification.tsxindex d6eed22..cf47a37 100644--- a/src/buddy/useBuddyNotification.tsx+++ b/src/buddy/useBuddyNotification.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import React, { useEffect } from 'react';import { useNotifications } from '../context/notifications.js';diff --git a/src/cli/handlers/util.tsx b/src/cli/handlers/util.tsxindex 03ff3cd..1baba65 100644--- a/src/cli/handlers/util.tsx+++ b/src/cli/handlers/util.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Miscellaneous subcommand handlers — extracted from main.tsx for lazy loading.* setup-token, doctor, installdiff --git a/src/commands/add-dir/add-dir.tsx b/src/commands/add-dir/add-dir.tsxindex b1a2b4d..e5c2e46 100644--- a/src/commands/add-dir/add-dir.tsx+++ b/src/commands/add-dir/add-dir.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import figures from 'figures';import React, { useEffect } from 'react';diff --git a/src/commands/bridge/bridge.tsx b/src/commands/bridge/bridge.tsxindex 02ca16b..5555b3f 100644--- a/src/commands/bridge/bridge.tsx+++ b/src/commands/bridge/bridge.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import { toString as qrToString } from 'qrcode';import * as React from 'react';diff --git a/src/commands/btw/btw.tsx b/src/commands/btw/btw.tsxindex f3c1c5f..88d9177 100644--- a/src/commands/btw/btw.tsx+++ b/src/commands/btw/btw.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useRef, useState } from 'react';import { useInterval } from 'usehooks-ts';diff --git a/src/commands/chrome/chrome.tsx b/src/commands/chrome/chrome.tsxindex c337873..542b160 100644--- a/src/commands/chrome/chrome.tsx+++ b/src/commands/chrome/chrome.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useState } from 'react';import { type OptionWithDescription, Select } from '../../components/CustomSelect/select.js';import { Dialog } from '../../components/design-system/Dialog.js';diff --git a/src/commands/copy/copy.tsx b/src/commands/copy/copy.tsxindex 5853d16..c762a42 100644--- a/src/commands/copy/copy.tsx+++ b/src/commands/copy/copy.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { mkdir, writeFile } from 'fs/promises';import { marked, type Tokens } from 'marked';import { tmpdir } from 'os';diff --git a/src/commands/effort/effort.tsx b/src/commands/effort/effort.tsxindex 41dd0d8..0dadd60 100644--- a/src/commands/effort/effort.tsx+++ b/src/commands/effort/effort.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useMainLoopModel } from '../../hooks/useMainLoopModel.js';import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from '../../services/analytics/index.js';diff --git a/src/commands/fast/fast.tsx b/src/commands/fast/fast.tsxindex 398c3c3..fd062c2 100644--- a/src/commands/fast/fast.tsx+++ b/src/commands/fast/fast.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useState } from 'react';import type { CommandResultDisplay, LocalJSXCommandContext } from '../../commands.js';diff --git a/src/commands/ide/ide.tsx b/src/commands/ide/ide.tsxindex 0a41b97..e9691f1 100644--- a/src/commands/ide/ide.tsx+++ b/src/commands/ide/ide.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import * as path from 'path';import React, { useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/commands/install-github-app/ApiKeyStep.tsx b/src/commands/install-github-app/ApiKeyStep.tsxindex 2dcb312..c672457 100644--- a/src/commands/install-github-app/ApiKeyStep.tsx+++ b/src/commands/install-github-app/ApiKeyStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useState } from 'react';import TextInput from '../../components/TextInput.js';import { useTerminalSize } from '../../hooks/useTerminalSize.js';diff --git a/src/commands/install-github-app/CheckExistingSecretStep.tsx b/src/commands/install-github-app/CheckExistingSecretStep.tsxindex ff2bf45..5eecd88 100644--- a/src/commands/install-github-app/CheckExistingSecretStep.tsx+++ b/src/commands/install-github-app/CheckExistingSecretStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useState } from 'react';import TextInput from '../../components/TextInput.js';import { useTerminalSize } from '../../hooks/useTerminalSize.js';diff --git a/src/commands/install-github-app/CheckGitHubStep.tsx b/src/commands/install-github-app/CheckGitHubStep.tsxindex 5bf1d8f..4378e0c 100644--- a/src/commands/install-github-app/CheckGitHubStep.tsx+++ b/src/commands/install-github-app/CheckGitHubStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Text } from '../../ink.js';export function CheckGitHubStep() {diff --git a/src/commands/install-github-app/ChooseRepoStep.tsx b/src/commands/install-github-app/ChooseRepoStep.tsxindex 04d1a6b..32effbf 100644--- a/src/commands/install-github-app/ChooseRepoStep.tsx+++ b/src/commands/install-github-app/ChooseRepoStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useState } from 'react';import TextInput from '../../components/TextInput.js';import { useTerminalSize } from '../../hooks/useTerminalSize.js';diff --git a/src/commands/install-github-app/CreatingStep.tsx b/src/commands/install-github-app/CreatingStep.tsxindex ef59787..c70152a 100644--- a/src/commands/install-github-app/CreatingStep.tsx+++ b/src/commands/install-github-app/CreatingStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';import type { Workflow } from './types.js';diff --git a/src/commands/install-github-app/ErrorStep.tsx b/src/commands/install-github-app/ErrorStep.tsxindex 6fad7af..314e66c 100644--- a/src/commands/install-github-app/ErrorStep.tsx+++ b/src/commands/install-github-app/ErrorStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { GITHUB_ACTION_SETUP_DOCS_URL } from '../../constants/github-app.js';import { Box, Text } from '../../ink.js';diff --git a/src/commands/install-github-app/ExistingWorkflowStep.tsx b/src/commands/install-github-app/ExistingWorkflowStep.tsxindex 3efff6f..4a4693c 100644--- a/src/commands/install-github-app/ExistingWorkflowStep.tsx+++ b/src/commands/install-github-app/ExistingWorkflowStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Select } from 'src/components/CustomSelect/index.js';import { Box, Text } from '../../ink.js';diff --git a/src/commands/install-github-app/InstallAppStep.tsx b/src/commands/install-github-app/InstallAppStep.tsxindex d8ba6cb..0af0bbe 100644--- a/src/commands/install-github-app/InstallAppStep.tsx+++ b/src/commands/install-github-app/InstallAppStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React from 'react';import { GITHUB_ACTION_SETUP_DOCS_URL } from '../../constants/github-app.js';diff --git a/src/commands/install-github-app/SuccessStep.tsx b/src/commands/install-github-app/SuccessStep.tsxindex 0c0ee10..dbc8cc8 100644--- a/src/commands/install-github-app/SuccessStep.tsx+++ b/src/commands/install-github-app/SuccessStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';type SuccessStepProps = {diff --git a/src/commands/install-github-app/WarningsStep.tsx b/src/commands/install-github-app/WarningsStep.tsxindex ce60a5d..d8b4d88 100644--- a/src/commands/install-github-app/WarningsStep.tsx+++ b/src/commands/install-github-app/WarningsStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React from 'react';import { GITHUB_ACTION_SETUP_DOCS_URL } from '../../constants/github-app.js';diff --git a/src/commands/install.tsx b/src/commands/install.tsxindex cba6949..c0f827b 100644--- a/src/commands/install.tsx+++ b/src/commands/install.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { homedir } from 'node:os';import { join } from 'node:path';import React, { useEffect, useState } from 'react';diff --git a/src/commands/login/login.tsx b/src/commands/login/login.tsxindex b532534..8eeec9e 100644--- a/src/commands/login/login.tsx+++ b/src/commands/login/login.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { resetCostState } from '../../bootstrap/state.js';diff --git a/src/commands/mcp/mcp.tsx b/src/commands/mcp/mcp.tsxindex f5cf40d..19b3a94 100644--- a/src/commands/mcp/mcp.tsx+++ b/src/commands/mcp/mcp.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect, useRef } from 'react';import { MCPSettings } from '../../components/mcp/index.js';import { MCPReconnect } from '../../components/mcp/MCPReconnect.js';diff --git a/src/commands/mobile/mobile.tsx b/src/commands/mobile/mobile.tsxindex 40968c1..54bb299 100644--- a/src/commands/mobile/mobile.tsx+++ b/src/commands/mobile/mobile.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { toString as qrToString } from 'qrcode';import * as React from 'react';import { useCallback, useEffect, useState } from 'react';diff --git a/src/commands/model/model.tsx b/src/commands/model/model.tsxindex 65c084d..97a833f 100644--- a/src/commands/model/model.tsx+++ b/src/commands/model/model.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import * as React from 'react';import type { CommandResultDisplay } from '../../commands.js';diff --git a/src/commands/plan/plan.tsx b/src/commands/plan/plan.tsxindex c8597b0..291b8e8 100644--- a/src/commands/plan/plan.tsx+++ b/src/commands/plan/plan.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { handlePlanModeTransition } from '../../bootstrap/state.js';import type { LocalJSXCommandContext } from '../../commands.js';diff --git a/src/commands/plugin/DiscoverPlugins.tsx b/src/commands/plugin/DiscoverPlugins.tsxindex d62a8db..3e242a5 100644--- a/src/commands/plugin/DiscoverPlugins.tsx+++ b/src/commands/plugin/DiscoverPlugins.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useCallback, useEffect, useMemo, useState } from 'react';diff --git a/src/commands/plugin/ManageMarketplaces.tsx b/src/commands/plugin/ManageMarketplaces.tsxindex 0e5d3cc..82f19dd 100644--- a/src/commands/plugin/ManageMarketplaces.tsx+++ b/src/commands/plugin/ManageMarketplaces.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useEffect, useRef, useState } from 'react';diff --git a/src/commands/plugin/PluginOptionsDialog.tsx b/src/commands/plugin/PluginOptionsDialog.tsxindex 87e6721..3b47888 100644--- a/src/commands/plugin/PluginOptionsDialog.tsx+++ b/src/commands/plugin/PluginOptionsDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useCallback, useState } from 'react';import { Dialog } from '../../components/design-system/Dialog.js';diff --git a/src/commands/plugin/PluginSettings.tsx b/src/commands/plugin/PluginSettings.tsxindex f325180..ca35196 100644--- a/src/commands/plugin/PluginSettings.tsx+++ b/src/commands/plugin/PluginSettings.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useCallback, useEffect, useState } from 'react';diff --git a/src/commands/plugin/PluginTrustWarning.tsx b/src/commands/plugin/PluginTrustWarning.tsxindex a0321dc..97e707e 100644--- a/src/commands/plugin/PluginTrustWarning.tsx+++ b/src/commands/plugin/PluginTrustWarning.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { Box, Text } from '../../ink.js';diff --git a/src/commands/plugin/UnifiedInstalledCell.tsx b/src/commands/plugin/UnifiedInstalledCell.tsxindex cc4cbcb..7429545 100644--- a/src/commands/plugin/UnifiedInstalledCell.tsx+++ b/src/commands/plugin/UnifiedInstalledCell.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { Box, color, Text, useTheme } from '../../ink.js';diff --git a/src/commands/plugin/ValidatePlugin.tsx b/src/commands/plugin/ValidatePlugin.tsxindex 084f5dc..c9b65a3 100644--- a/src/commands/plugin/ValidatePlugin.tsx+++ b/src/commands/plugin/ValidatePlugin.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useEffect } from 'react';diff --git a/src/commands/plugin/pluginDetailsHelpers.tsx b/src/commands/plugin/pluginDetailsHelpers.tsxindex fbd365a..ec6dd65 100644--- a/src/commands/plugin/pluginDetailsHelpers.tsx+++ b/src/commands/plugin/pluginDetailsHelpers.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Shared helper functions and types for plugin details views*diff --git a/src/commands/rate-limit-options/rate-limit-options.tsx b/src/commands/rate-limit-options/rate-limit-options.tsxindex 296ca4b..e3f52c1 100644--- a/src/commands/rate-limit-options/rate-limit-options.tsx+++ b/src/commands/rate-limit-options/rate-limit-options.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useMemo, useState } from 'react';import type { CommandResultDisplay, LocalJSXCommandContext } from '../../commands.js';import { type OptionWithDescription, Select } from '../../components/CustomSelect/select.js';diff --git a/src/commands/resume/resume.tsx b/src/commands/resume/resume.tsxindex 8226c44..bf49911 100644--- a/src/commands/resume/resume.tsx+++ b/src/commands/resume/resume.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import type { UUID } from 'crypto';import figures from 'figures';diff --git a/src/commands/review/UltrareviewOverageDialog.tsx b/src/commands/review/UltrareviewOverageDialog.tsxindex ef0e68f..f3989c0 100644--- a/src/commands/review/UltrareviewOverageDialog.tsx+++ b/src/commands/review/UltrareviewOverageDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useRef, useState } from 'react';import { Select } from '../../components/CustomSelect/select.js';import { Dialog } from '../../components/design-system/Dialog.js';diff --git a/src/commands/session/session.tsx b/src/commands/session/session.tsxindex f4f6083..4402586 100644--- a/src/commands/session/session.tsx+++ b/src/commands/session/session.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { toString as qrToString } from 'qrcode';import * as React from 'react';import { useEffect, useState } from 'react';diff --git a/src/commands/tag/tag.tsx b/src/commands/tag/tag.tsxindex 3809a99..c3c7c6d 100644--- a/src/commands/tag/tag.tsx+++ b/src/commands/tag/tag.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import type { UUID } from 'crypto';import * as React from 'react';diff --git a/src/commands/theme/theme.tsx b/src/commands/theme/theme.tsxindex 5172570..35164da 100644--- a/src/commands/theme/theme.tsx+++ b/src/commands/theme/theme.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import type { CommandResultDisplay } from '../../commands.js';import { Pane } from '../../components/design-system/Pane.js';diff --git a/src/commands/thinkback/thinkback.tsx b/src/commands/thinkback/thinkback.tsxindex fbd34f0..bea4ec1 100644--- a/src/commands/thinkback/thinkback.tsx+++ b/src/commands/thinkback/thinkback.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { execa } from 'execa';import { readFile } from 'fs/promises';import { join } from 'path';diff --git a/src/components/AgentProgressLine.tsx b/src/components/AgentProgressLine.tsxindex 49fa502..abdff60 100644--- a/src/components/AgentProgressLine.tsx+++ b/src/components/AgentProgressLine.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../ink.js';import { formatNumber } from '../utils/format.js';diff --git a/src/components/App.tsx b/src/components/App.tsxindex cdded5b..0113fb3 100644--- a/src/components/App.tsx+++ b/src/components/App.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { FpsMetricsProvider } from '../context/fpsMetrics.js';import { StatsProvider, type StatsStore } from '../context/stats.js';diff --git a/src/components/ApproveApiKey.tsx b/src/components/ApproveApiKey.tsxindex be54c0e..41cfc9c 100644--- a/src/components/ApproveApiKey.tsx+++ b/src/components/ApproveApiKey.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Text } from '../ink.js';import { saveGlobalConfig } from '../utils/config.js';diff --git a/src/components/AutoModeOptInDialog.tsx b/src/components/AutoModeOptInDialog.tsxindex 07fbf03..40cb3be 100644--- a/src/components/AutoModeOptInDialog.tsx+++ b/src/components/AutoModeOptInDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { logEvent } from 'src/services/analytics/index.js';import { Box, Link, Text } from '../ink.js';diff --git a/src/components/AutoUpdaterWrapper.tsx b/src/components/AutoUpdaterWrapper.tsxindex d812ec3..1d003ec 100644--- a/src/components/AutoUpdaterWrapper.tsx+++ b/src/components/AutoUpdaterWrapper.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import type { AutoUpdaterResult } from '../utils/autoUpdater.js';diff --git a/src/components/AwsAuthStatusBox.tsx b/src/components/AwsAuthStatusBox.tsxindex 9dd5849..f144539 100644--- a/src/components/AwsAuthStatusBox.tsx+++ b/src/components/AwsAuthStatusBox.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect, useState } from 'react';import { Box, Link, Text } from '../ink.js';import { type AwsAuthStatus, AwsAuthStatusManager } from '../utils/awsAuthStatusManager.js';diff --git a/src/components/BaseTextInput.tsx b/src/components/BaseTextInput.tsxindex 8edc605..16349c8 100644--- a/src/components/BaseTextInput.tsx+++ b/src/components/BaseTextInput.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { renderPlaceholder } from '../hooks/renderPlaceholder.js';import { usePasteHandler } from '../hooks/usePasteHandler.js';diff --git a/src/components/BashModeProgress.tsx b/src/components/BashModeProgress.tsxindex dbbce04..728b417 100644--- a/src/components/BashModeProgress.tsx+++ b/src/components/BashModeProgress.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box } from '../ink.js';import { BashTool } from '../tools/BashTool/BashTool.js';diff --git a/src/components/BridgeDialog.tsx b/src/components/BridgeDialog.tsxindex 4f25836..1774a00 100644--- a/src/components/BridgeDialog.tsx+++ b/src/components/BridgeDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { basename } from 'path';import { toString as qrToString } from 'qrcode';import * as React from 'react';diff --git a/src/components/BypassPermissionsModeDialog.tsx b/src/components/BypassPermissionsModeDialog.tsxindex ed09416..54ea5ca 100644--- a/src/components/BypassPermissionsModeDialog.tsx+++ b/src/components/BypassPermissionsModeDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback } from 'react';import { logEvent } from 'src/services/analytics/index.js';import { Box, Link, Newline, Text } from '../ink.js';diff --git a/src/components/ChannelDowngradeDialog.tsx b/src/components/ChannelDowngradeDialog.tsxindex 4fd7349..b120a18 100644--- a/src/components/ChannelDowngradeDialog.tsx+++ b/src/components/ChannelDowngradeDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Text } from '../ink.js';import { Select } from './CustomSelect/index.js';diff --git a/src/components/ClaudeInChromeOnboarding.tsx b/src/components/ClaudeInChromeOnboarding.tsxindex 10fb182..61cf0d2 100644--- a/src/components/ClaudeInChromeOnboarding.tsx+++ b/src/components/ClaudeInChromeOnboarding.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { logEvent } from 'src/services/analytics/index.js';// eslint-disable-next-line custom-rules/prefer-use-keybindings -- enter to continuediff --git a/src/components/ClaudeMdExternalIncludesDialog.tsx b/src/components/ClaudeMdExternalIncludesDialog.tsxindex 2428e89..65ac86b 100644--- a/src/components/ClaudeMdExternalIncludesDialog.tsx+++ b/src/components/ClaudeMdExternalIncludesDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback } from 'react';import { logEvent } from 'src/services/analytics/index.js';import { Box, Link, Text } from '../ink.js';diff --git a/src/components/ClickableImageRef.tsx b/src/components/ClickableImageRef.tsxindex ff48a72..3bce099 100644--- a/src/components/ClickableImageRef.tsx+++ b/src/components/ClickableImageRef.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { pathToFileURL } from 'url';import Link from '../ink/components/Link.js';diff --git a/src/components/CompactSummary.tsx b/src/components/CompactSummary.tsxindex 72e1b18..8179cba 100644--- a/src/components/CompactSummary.tsx+++ b/src/components/CompactSummary.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { BLACK_CIRCLE } from '../constants/figures.js';import { Box, Text } from '../ink.js';diff --git a/src/components/ConfigurableShortcutHint.tsx b/src/components/ConfigurableShortcutHint.tsxindex e783da5..6e9efb6 100644--- a/src/components/ConfigurableShortcutHint.tsx+++ b/src/components/ConfigurableShortcutHint.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import type { KeybindingAction, KeybindingContextName } from '../keybindings/types.js';import { useShortcutDisplay } from '../keybindings/useShortcutDisplay.js';diff --git a/src/components/ConsoleOAuthFlow.tsx b/src/components/ConsoleOAuthFlow.tsxindex 717697f..a077947 100644--- a/src/components/ConsoleOAuthFlow.tsx+++ b/src/components/ConsoleOAuthFlow.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useEffect, useRef, useState } from 'react';import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from 'src/services/analytics/index.js';import { installOAuthTokens } from '../cli/handlers/auth.js';diff --git a/src/components/ContextSuggestions.tsx b/src/components/ContextSuggestions.tsxindex 7431b57..73eaf65 100644--- a/src/components/ContextSuggestions.tsx+++ b/src/components/ContextSuggestions.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { Box, Text } from '../ink.js';diff --git a/src/components/ContextVisualization.tsx b/src/components/ContextVisualization.tsxindex e621ab8..f379020 100644--- a/src/components/ContextVisualization.tsx+++ b/src/components/ContextVisualization.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { Box, Text } from '../ink.js';diff --git a/src/components/CoordinatorAgentStatus.tsx b/src/components/CoordinatorAgentStatus.tsxindex 24e8002..ecfb8c6 100644--- a/src/components/CoordinatorAgentStatus.tsx+++ b/src/components/CoordinatorAgentStatus.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** CoordinatorTaskPanel — Steerable list of background agents.*diff --git a/src/components/CostThresholdDialog.tsx b/src/components/CostThresholdDialog.tsxindex bdf9f53..59c2c58 100644--- a/src/components/CostThresholdDialog.tsx+++ b/src/components/CostThresholdDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Link, Text } from '../ink.js';import { Select } from './CustomSelect/index.js';diff --git a/src/components/CtrlOToExpand.tsx b/src/components/CtrlOToExpand.tsxindex 3fe799b..dad0079 100644--- a/src/components/CtrlOToExpand.tsx+++ b/src/components/CtrlOToExpand.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import React, { useContext } from 'react';import { Text } from '../ink.js';diff --git a/src/components/CustomSelect/SelectMulti.tsx b/src/components/CustomSelect/SelectMulti.tsxindex e757ec3..18a76a9 100644--- a/src/components/CustomSelect/SelectMulti.tsx+++ b/src/components/CustomSelect/SelectMulti.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React from 'react';import { Box, Text } from '../../ink.js';diff --git a/src/components/CustomSelect/select-input-option.tsx b/src/components/CustomSelect/select-input-option.tsxindex 51e60ce..0b32c79 100644--- a/src/components/CustomSelect/select-input-option.tsx+++ b/src/components/CustomSelect/select-input-option.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode, useEffect, useRef, useState } from 'react';// eslint-disable-next-line custom-rules/prefer-use-keybindings -- UP arrow exit not in Attachments bindingsimport { Box, Text, useInput } from '../../ink.js';diff --git a/src/components/CustomSelect/select-option.tsx b/src/components/CustomSelect/select-option.tsxindex e3a98d6..ed1be1a 100644--- a/src/components/CustomSelect/select-option.tsx+++ b/src/components/CustomSelect/select-option.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import { ListItem } from '../design-system/ListItem.js';export type SelectOptionProps = {diff --git a/src/components/CustomSelect/select.tsx b/src/components/CustomSelect/select.tsxindex 134de48..0191401 100644--- a/src/components/CustomSelect/select.tsx+++ b/src/components/CustomSelect/select.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { type ReactNode, useEffect, useRef, useState } from 'react';import { useDeclaredCursor } from '../../ink/hooks/use-declared-cursor.js';diff --git a/src/components/DesktopHandoff.tsx b/src/components/DesktopHandoff.tsxindex 7e70733..b4d3a3b 100644--- a/src/components/DesktopHandoff.tsx+++ b/src/components/DesktopHandoff.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect, useState } from 'react';import type { CommandResultDisplay } from '../commands.js';// eslint-disable-next-line custom-rules/prefer-use-keybindings -- raw input for "any key" dismiss and y/n promptdiff --git a/src/components/DesktopUpsell/DesktopUpsellStartup.tsx b/src/components/DesktopUpsell/DesktopUpsellStartup.tsxindex e919039..3f0d941 100644--- a/src/components/DesktopUpsell/DesktopUpsellStartup.tsx+++ b/src/components/DesktopUpsell/DesktopUpsellStartup.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useState } from 'react';import { Box, Text } from '../../ink.js';diff --git a/src/components/DevBar.tsx b/src/components/DevBar.tsxindex fd4c5ea..d0d2dee 100644--- a/src/components/DevBar.tsx+++ b/src/components/DevBar.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useState } from 'react';import { getSlowOperations } from '../bootstrap/state.js';diff --git a/src/components/DevChannelsDialog.tsx b/src/components/DevChannelsDialog.tsxindex 5e68afb..a2e8640 100644--- a/src/components/DevChannelsDialog.tsx+++ b/src/components/DevChannelsDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback } from 'react';import type { ChannelEntry } from '../bootstrap/state.js';import { Box, Text } from '../ink.js';diff --git a/src/components/DiagnosticsDisplay.tsx b/src/components/DiagnosticsDisplay.tsxindex 6eb3ad8..2ad945b 100644--- a/src/components/DiagnosticsDisplay.tsx+++ b/src/components/DiagnosticsDisplay.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { relative } from 'path';import React from 'react';import { Box, Text } from '../ink.js';diff --git a/src/components/EffortCallout.tsx b/src/components/EffortCallout.tsxindex 68e311f..7b8ac9b 100644--- a/src/components/EffortCallout.tsx+++ b/src/components/EffortCallout.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useEffect, useRef } from 'react';import { Box, Text } from '../ink.js';import { isMaxSubscriber, isProSubscriber, isTeamSubscriber } from '../utils/auth.js';diff --git a/src/components/ExitFlow.tsx b/src/components/ExitFlow.tsxindex 3c4aa4e..8452448 100644--- a/src/components/ExitFlow.tsx+++ b/src/components/ExitFlow.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import sample from 'lodash-es/sample.js';import React from 'react';import { gracefulShutdown } from '../utils/gracefulShutdown.js';diff --git a/src/components/FallbackToolUseErrorMessage.tsx b/src/components/FallbackToolUseErrorMessage.tsxindex 12d3b39..2156a92 100644--- a/src/components/FallbackToolUseErrorMessage.tsx+++ b/src/components/FallbackToolUseErrorMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolResultBlockParam } from '@anthropic-ai/sdk/resources/messages/messages.mjs';import * as React from 'react';import { stripUnderlineAnsi } from 'src/components/shell/OutputLine.js';diff --git a/src/components/FallbackToolUseRejectedMessage.tsx b/src/components/FallbackToolUseRejectedMessage.tsxindex 3e0d2ca..fb53a8d 100644--- a/src/components/FallbackToolUseRejectedMessage.tsx+++ b/src/components/FallbackToolUseRejectedMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { InterruptedByUser } from './InterruptedByUser.js';import { MessageResponse } from './MessageResponse.js';diff --git a/src/components/FastIcon.tsx b/src/components/FastIcon.tsxindex d229a86..4ac8a0d 100644--- a/src/components/FastIcon.tsx+++ b/src/components/FastIcon.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import * as React from 'react';import { LIGHTNING_BOLT } from '../constants/figures.js';diff --git a/src/components/FeedbackSurvey/FeedbackSurvey.tsx b/src/components/FeedbackSurvey/FeedbackSurvey.tsxindex dc3e712..79c8755 100644--- a/src/components/FeedbackSurvey/FeedbackSurvey.tsx+++ b/src/components/FeedbackSurvey/FeedbackSurvey.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from 'src/services/analytics/index.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/FeedbackSurvey/FeedbackSurveyView.tsx b/src/components/FeedbackSurvey/FeedbackSurveyView.tsxindex a2f3757..f625841 100644--- a/src/components/FeedbackSurvey/FeedbackSurveyView.tsx+++ b/src/components/FeedbackSurvey/FeedbackSurveyView.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';import { useDebouncedDigitInput } from './useDebouncedDigitInput.js';diff --git a/src/components/FeedbackSurvey/TranscriptSharePrompt.tsx b/src/components/FeedbackSurvey/TranscriptSharePrompt.tsxindex b9556c8..7f3e2d2 100644--- a/src/components/FeedbackSurvey/TranscriptSharePrompt.tsx+++ b/src/components/FeedbackSurvey/TranscriptSharePrompt.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { BLACK_CIRCLE } from '../../constants/figures.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/FeedbackSurvey/usePostCompactSurvey.tsx b/src/components/FeedbackSurvey/usePostCompactSurvey.tsxindex b33281a..07f0b1c 100644--- a/src/components/FeedbackSurvey/usePostCompactSurvey.tsx+++ b/src/components/FeedbackSurvey/usePostCompactSurvey.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { useCallback, useEffect, useMemo, useRef, useState } from 'react';import { isFeedbackSurveyDisabled } from 'src/services/analytics/config.js';import { checkStatsigFeatureGate_CACHED_MAY_BE_STALE } from 'src/services/analytics/growthbook.js';diff --git a/src/components/FileEditToolDiff.tsx b/src/components/FileEditToolDiff.tsxindex 6b4896d..55dcefd 100644--- a/src/components/FileEditToolDiff.tsx+++ b/src/components/FileEditToolDiff.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { StructuredPatchHunk } from 'diff';import * as React from 'react';import { Suspense, use, useState } from 'react';diff --git a/src/components/FileEditToolUpdatedMessage.tsx b/src/components/FileEditToolUpdatedMessage.tsxindex 909889a..a74496d 100644--- a/src/components/FileEditToolUpdatedMessage.tsx+++ b/src/components/FileEditToolUpdatedMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { StructuredPatchHunk } from 'diff';import * as React from 'react';import { useTerminalSize } from '../hooks/useTerminalSize.js';diff --git a/src/components/FileEditToolUseRejectedMessage.tsx b/src/components/FileEditToolUseRejectedMessage.tsxindex 23bfd12..2d72a04 100644--- a/src/components/FileEditToolUseRejectedMessage.tsx+++ b/src/components/FileEditToolUseRejectedMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { StructuredPatchHunk } from 'diff';import { relative } from 'path';import * as React from 'react';diff --git a/src/components/FilePathLink.tsx b/src/components/FilePathLink.tsxindex 5b2917a..7683305 100644--- a/src/components/FilePathLink.tsx+++ b/src/components/FilePathLink.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { pathToFileURL } from 'url';import Link from '../ink/components/Link.js';diff --git a/src/components/FullscreenLayout.tsx b/src/components/FullscreenLayout.tsxindex 2475ec6..3a2b002 100644--- a/src/components/FullscreenLayout.tsx+++ b/src/components/FullscreenLayout.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { createContext, type ReactNode, type RefObject, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react';import { fileURLToPath } from 'url';diff --git a/src/components/GlobalSearchDialog.tsx b/src/components/GlobalSearchDialog.tsxindex b4551e2..dc14c15 100644--- a/src/components/GlobalSearchDialog.tsx+++ b/src/components/GlobalSearchDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { resolve as resolvePath } from 'path';import * as React from 'react';import { useEffect, useRef, useState } from 'react';diff --git a/src/components/HelpV2/Commands.tsx b/src/components/HelpV2/Commands.tsxindex 525ef1b..c8bb000 100644--- a/src/components/HelpV2/Commands.tsx+++ b/src/components/HelpV2/Commands.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useMemo } from 'react';import { type Command, formatDescriptionWithSource } from '../../commands.js';diff --git a/src/components/HelpV2/General.tsx b/src/components/HelpV2/General.tsxindex 4de10b0..9b26822 100644--- a/src/components/HelpV2/General.tsx+++ b/src/components/HelpV2/General.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { PromptInputHelpMenu } from '../PromptInput/PromptInputHelpMenu.js';diff --git a/src/components/HelpV2/HelpV2.tsx b/src/components/HelpV2/HelpV2.tsxindex ffcd9e7..cda9e6a 100644--- a/src/components/HelpV2/HelpV2.tsx+++ b/src/components/HelpV2/HelpV2.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useExitOnCtrlCDWithKeybindings } from 'src/hooks/useExitOnCtrlCDWithKeybindings.js';import { useShortcutDisplay } from 'src/keybindings/useShortcutDisplay.js';diff --git a/src/components/HighlightedCode.tsx b/src/components/HighlightedCode.tsxindex a946417..61c51b8 100644--- a/src/components/HighlightedCode.tsx+++ b/src/components/HighlightedCode.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { memo, useEffect, useMemo, useRef, useState } from 'react';import { useSettings } from '../hooks/useSettings.js';diff --git a/src/components/HighlightedCode/Fallback.tsx b/src/components/HighlightedCode/Fallback.tsxindex ea7145e..6416bc5 100644--- a/src/components/HighlightedCode/Fallback.tsx+++ b/src/components/HighlightedCode/Fallback.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { extname } from 'path';import React, { Suspense, use, useMemo } from 'react';import { Ansi, Text } from '../../ink.js';diff --git a/src/components/IdeAutoConnectDialog.tsx b/src/components/IdeAutoConnectDialog.tsxindex af207fd..709c0ac 100644--- a/src/components/IdeAutoConnectDialog.tsx+++ b/src/components/IdeAutoConnectDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback } from 'react';import { Text } from '../ink.js';import { getGlobalConfig, saveGlobalConfig } from '../utils/config.js';diff --git a/src/components/IdeOnboardingDialog.tsx b/src/components/IdeOnboardingDialog.tsxindex e59aaec..6b185d8 100644--- a/src/components/IdeOnboardingDialog.tsx+++ b/src/components/IdeOnboardingDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { envDynamic } from 'src/utils/envDynamic.js';import { Box, Text } from '../ink.js';diff --git a/src/components/IdeStatusIndicator.tsx b/src/components/IdeStatusIndicator.tsxindex 8aa235e..cd97b34 100644--- a/src/components/IdeStatusIndicator.tsx+++ b/src/components/IdeStatusIndicator.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { basename } from 'path';import * as React from 'react';import { useIdeConnectionStatus } from '../hooks/useIdeConnectionStatus.js';diff --git a/src/components/IdleReturnDialog.tsx b/src/components/IdleReturnDialog.tsxindex b89e828..8973e32 100644--- a/src/components/IdleReturnDialog.tsx+++ b/src/components/IdleReturnDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../ink.js';import { formatTokens } from '../utils/format.js';diff --git a/src/components/InterruptedByUser.tsx b/src/components/InterruptedByUser.tsxindex 979adf5..d69e2e7 100644--- a/src/components/InterruptedByUser.tsx+++ b/src/components/InterruptedByUser.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Text } from '../ink.js';export function InterruptedByUser() {diff --git a/src/components/InvalidConfigDialog.tsx b/src/components/InvalidConfigDialog.tsxindex 7805b13..daf8a3d 100644--- a/src/components/InvalidConfigDialog.tsx+++ b/src/components/InvalidConfigDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, render, Text } from '../ink.js';import { KeybindingSetup } from '../keybindings/KeybindingProviderSetup.js';diff --git a/src/components/InvalidSettingsDialog.tsx b/src/components/InvalidSettingsDialog.tsxindex 95a95f5..ebff151 100644--- a/src/components/InvalidSettingsDialog.tsx+++ b/src/components/InvalidSettingsDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Text } from '../ink.js';import type { ValidationError } from '../utils/settings/validation.js';diff --git a/src/components/KeybindingWarnings.tsx b/src/components/KeybindingWarnings.tsxindex c728685..d49d35a 100644--- a/src/components/KeybindingWarnings.tsx+++ b/src/components/KeybindingWarnings.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../ink.js';import { getCachedKeybindingWarnings, getKeybindingsPath, isKeybindingCustomizationEnabled } from '../keybindings/loadUserBindings.js';diff --git a/src/components/LanguagePicker.tsx b/src/components/LanguagePicker.tsxindex 96fd2fc..063e911 100644--- a/src/components/LanguagePicker.tsx+++ b/src/components/LanguagePicker.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useState } from 'react';import { Box, Text } from '../ink.js';diff --git a/src/components/LogSelector.tsx b/src/components/LogSelector.tsxindex 8b4ba2d..5817053 100644--- a/src/components/LogSelector.tsx+++ b/src/components/LogSelector.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import figures from 'figures';import Fuse from 'fuse.js';diff --git a/src/components/LogoV2/AnimatedClawd.tsx b/src/components/LogoV2/AnimatedClawd.tsxindex 6e4dd07..f711fb5 100644--- a/src/components/LogoV2/AnimatedClawd.tsx+++ b/src/components/LogoV2/AnimatedClawd.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useRef, useState } from 'react';import { Box } from '../../ink.js';diff --git a/src/components/LogoV2/ChannelsNotice.tsx b/src/components/LogoV2/ChannelsNotice.tsxindex c258df0..30b1ea2 100644--- a/src/components/LogoV2/ChannelsNotice.tsx+++ b/src/components/LogoV2/ChannelsNotice.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// Conditionally require()'d in LogoV2.tsx behind feature('KAIROS') ||// feature('KAIROS_CHANNELS'). No feature() guard here — the whole file// tree-shakes via the require pattern when both flags are false (seediff --git a/src/components/LogoV2/Clawd.tsx b/src/components/LogoV2/Clawd.tsxindex c8eebae..3c20130 100644--- a/src/components/LogoV2/Clawd.tsx+++ b/src/components/LogoV2/Clawd.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { env } from '../../utils/env.js';diff --git a/src/components/LogoV2/CondensedLogo.tsx b/src/components/LogoV2/CondensedLogo.tsxindex 5d939d0..ecffeb8 100644--- a/src/components/LogoV2/CondensedLogo.tsx+++ b/src/components/LogoV2/CondensedLogo.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { type ReactNode, useEffect } from 'react';import { useMainLoopModel } from '../../hooks/useMainLoopModel.js';diff --git a/src/components/LogoV2/Feed.tsx b/src/components/LogoV2/Feed.tsxindex 26764a8..50ba289 100644--- a/src/components/LogoV2/Feed.tsx+++ b/src/components/LogoV2/Feed.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { stringWidth } from '../../ink/stringWidth.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/LogoV2/FeedColumn.tsx b/src/components/LogoV2/FeedColumn.tsxindex b985866..2143ed5 100644--- a/src/components/LogoV2/FeedColumn.tsx+++ b/src/components/LogoV2/FeedColumn.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box } from '../../ink.js';import { Divider } from '../design-system/Divider.js';diff --git a/src/components/LogoV2/GuestPassesUpsell.tsx b/src/components/LogoV2/GuestPassesUpsell.tsxindex 9214b12..ca217bf 100644--- a/src/components/LogoV2/GuestPassesUpsell.tsx+++ b/src/components/LogoV2/GuestPassesUpsell.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useState } from 'react';import { Text } from '../../ink.js';diff --git a/src/components/LogoV2/LogoV2.tsx b/src/components/LogoV2/LogoV2.tsxindex 182ab8b..32c26da 100644--- a/src/components/LogoV2/LogoV2.tsx+++ b/src/components/LogoV2/LogoV2.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reorderedimport * as React from 'react';import { Box, Text, color } from '../../ink.js';diff --git a/src/components/LogoV2/Opus1mMergeNotice.tsx b/src/components/LogoV2/Opus1mMergeNotice.tsxindex 1eae59a..3c49f16 100644--- a/src/components/LogoV2/Opus1mMergeNotice.tsx+++ b/src/components/LogoV2/Opus1mMergeNotice.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useState } from 'react';import { UP_ARROW } from '../../constants/figures.js';diff --git a/src/components/LogoV2/OverageCreditUpsell.tsx b/src/components/LogoV2/OverageCreditUpsell.tsxindex 270c24e..807924a 100644--- a/src/components/LogoV2/OverageCreditUpsell.tsx+++ b/src/components/LogoV2/OverageCreditUpsell.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useState } from 'react';import { Text } from '../../ink.js';diff --git a/src/components/LogoV2/VoiceModeNotice.tsx b/src/components/LogoV2/VoiceModeNotice.tsxindex b206f31..636266e 100644--- a/src/components/LogoV2/VoiceModeNotice.tsx+++ b/src/components/LogoV2/VoiceModeNotice.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { useEffect, useState } from 'react';diff --git a/src/components/LogoV2/WelcomeV2.tsx b/src/components/LogoV2/WelcomeV2.tsxindex 0ab0a5f..403a2f9 100644--- a/src/components/LogoV2/WelcomeV2.tsx+++ b/src/components/LogoV2/WelcomeV2.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text, useTheme } from 'src/ink.js';import { env } from '../../utils/env.js';diff --git a/src/components/MCPServerApprovalDialog.tsx b/src/components/MCPServerApprovalDialog.tsxindex f75abcc..f4372aa 100644--- a/src/components/MCPServerApprovalDialog.tsx+++ b/src/components/MCPServerApprovalDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from 'src/services/analytics/index.js';import { getSettings_DEPRECATED, updateSettingsForSource } from '../utils/settings/settings.js';diff --git a/src/components/MCPServerDesktopImportDialog.tsx b/src/components/MCPServerDesktopImportDialog.tsxindex 9183f03..f98b860 100644--- a/src/components/MCPServerDesktopImportDialog.tsx+++ b/src/components/MCPServerDesktopImportDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useEffect, useState } from 'react';import { gracefulShutdown } from 'src/utils/gracefulShutdown.js';import { writeToStdout } from 'src/utils/process.js';diff --git a/src/components/MCPServerDialogCopy.tsx b/src/components/MCPServerDialogCopy.tsxindex 34250f1..81ef8e7 100644--- a/src/components/MCPServerDialogCopy.tsx+++ b/src/components/MCPServerDialogCopy.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Link, Text } from '../ink.js';export function MCPServerDialogCopy() {diff --git a/src/components/MCPServerMultiselectDialog.tsx b/src/components/MCPServerMultiselectDialog.tsxindex b5325ba..eb95181 100644--- a/src/components/MCPServerMultiselectDialog.tsx+++ b/src/components/MCPServerMultiselectDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import partition from 'lodash-es/partition.js';import React, { useCallback } from 'react';import { logEvent } from 'src/services/analytics/index.js';diff --git a/src/components/ManagedSettingsSecurityDialog/ManagedSettingsSecurityDialog.tsx b/src/components/ManagedSettingsSecurityDialog/ManagedSettingsSecurityDialog.tsxindex 7673121..d980885 100644--- a/src/components/ManagedSettingsSecurityDialog/ManagedSettingsSecurityDialog.tsx+++ b/src/components/ManagedSettingsSecurityDialog/ManagedSettingsSecurityDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { useExitOnCtrlCDWithKeybindings } from '../../hooks/useExitOnCtrlCDWithKeybindings.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/Markdown.tsx b/src/components/Markdown.tsxindex e82f4c7..eb5834d 100644--- a/src/components/Markdown.tsx+++ b/src/components/Markdown.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { marked, type Token, type Tokens } from 'marked';import React, { Suspense, use, useMemo, useRef } from 'react';import { useSettings } from '../hooks/useSettings.js';diff --git a/src/components/Message.tsx b/src/components/Message.tsxindex ca2ef76..a34e6c8 100644--- a/src/components/Message.tsx+++ b/src/components/Message.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import type { BetaContentBlock } from '@anthropic-ai/sdk/resources/beta/messages/messages.mjs';import type { ImageBlockParam, TextBlockParam, ThinkingBlockParam, ToolResultBlockParam, ToolUseBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';diff --git a/src/components/MessageModel.tsx b/src/components/MessageModel.tsxindex 796bf27..010584f 100644--- a/src/components/MessageModel.tsx+++ b/src/components/MessageModel.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { stringWidth } from '../ink/stringWidth.js';import { Box, Text } from '../ink.js';diff --git a/src/components/MessageResponse.tsx b/src/components/MessageResponse.tsxindex 71af216..57c0bc5 100644--- a/src/components/MessageResponse.tsx+++ b/src/components/MessageResponse.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useContext } from 'react';import { Box, NoSelect, Text } from '../ink.js';diff --git a/src/components/MessageRow.tsx b/src/components/MessageRow.tsxindex dce0eda..ba5fa53 100644--- a/src/components/MessageRow.tsx+++ b/src/components/MessageRow.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import type { Command } from '../commands.js';import { Box } from '../ink.js';diff --git a/src/components/MessageSelector.tsx b/src/components/MessageSelector.tsxindex 7df5b56..72ed610 100644--- a/src/components/MessageSelector.tsx+++ b/src/components/MessageSelector.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ContentBlockParam, TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import { randomUUID, type UUID } from 'crypto';import figures from 'figures';diff --git a/src/components/MessageTimestamp.tsx b/src/components/MessageTimestamp.tsxindex 6f51725..eb23e1a 100644--- a/src/components/MessageTimestamp.tsx+++ b/src/components/MessageTimestamp.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { stringWidth } from '../ink/stringWidth.js';import { Box, Text } from '../ink.js';diff --git a/src/components/Messages.tsx b/src/components/Messages.tsxindex 81f38a1..e244119 100644--- a/src/components/Messages.tsx+++ b/src/components/Messages.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import chalk from 'chalk';import type { UUID } from 'crypto';diff --git a/src/components/ModelPicker.tsx b/src/components/ModelPicker.tsxindex 4bf18bc..15c4e43 100644--- a/src/components/ModelPicker.tsx+++ b/src/components/ModelPicker.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import capitalize from 'lodash-es/capitalize.js';import * as React from 'react';import { useCallback, useMemo, useState } from 'react';diff --git a/src/components/NotebookEditToolUseRejectedMessage.tsx b/src/components/NotebookEditToolUseRejectedMessage.tsxindex 8fa355f..f44d63f 100644--- a/src/components/NotebookEditToolUseRejectedMessage.tsx+++ b/src/components/NotebookEditToolUseRejectedMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { relative } from 'path';import * as React from 'react';import { getCwd } from 'src/utils/cwd.js';diff --git a/src/components/Onboarding.tsx b/src/components/Onboarding.tsxindex d4b6266..fdd3027 100644--- a/src/components/Onboarding.tsx+++ b/src/components/Onboarding.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useEffect, useMemo, useState } from 'react';import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from 'src/services/analytics/index.js';import { setupTerminal, shouldOfferTerminalSetup } from '../commands/terminalSetup/terminalSetup.js';diff --git a/src/components/OutputStylePicker.tsx b/src/components/OutputStylePicker.tsxindex 6b765d1..904d8ff 100644--- a/src/components/OutputStylePicker.tsx+++ b/src/components/OutputStylePicker.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useCallback, useEffect, useState } from 'react';import { getAllOutputStyles, OUTPUT_STYLE_CONFIG, type OutputStyleConfig } from '../constants/outputStyles.js';diff --git a/src/components/PackageManagerAutoUpdater.tsx b/src/components/PackageManagerAutoUpdater.tsxindex a8681ab..01ea401 100644--- a/src/components/PackageManagerAutoUpdater.tsx+++ b/src/components/PackageManagerAutoUpdater.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useState } from 'react';import { useInterval } from 'usehooks-ts';diff --git a/src/components/PrBadge.tsx b/src/components/PrBadge.tsxindex 2b99f31..d26fb37 100644--- a/src/components/PrBadge.tsx+++ b/src/components/PrBadge.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Link, Text } from '../ink.js';import type { PrReviewState } from '../utils/ghPrStatus.js';diff --git a/src/components/PressEnterToContinue.tsx b/src/components/PressEnterToContinue.tsxindex 6df0b2e..6256baa 100644--- a/src/components/PressEnterToContinue.tsx+++ b/src/components/PressEnterToContinue.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Text } from '../ink.js';export function PressEnterToContinue() {diff --git a/src/components/PromptInput/HistorySearchInput.tsx b/src/components/PromptInput/HistorySearchInput.tsxindex 97c6910..73266f9 100644--- a/src/components/PromptInput/HistorySearchInput.tsx+++ b/src/components/PromptInput/HistorySearchInput.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { stringWidth } from '../../ink/stringWidth.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/PromptInput/Notifications.tsx b/src/components/PromptInput/Notifications.tsxindex 9b263cf..ddb71c1 100644--- a/src/components/PromptInput/Notifications.tsx+++ b/src/components/PromptInput/Notifications.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { type ReactNode, useEffect, useMemo, useState } from 'react';diff --git a/src/components/PromptInput/PromptInputFooterLeftSide.tsx b/src/components/PromptInput/PromptInputFooterLeftSide.tsxindex 2f1bbd1..94a70ad 100644--- a/src/components/PromptInput/PromptInputFooterLeftSide.tsx+++ b/src/components/PromptInput/PromptInputFooterLeftSide.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reorderedimport { feature } from 'bun:bundle';// Dead code elimination: conditional import for COORDINATOR_MODEdiff --git a/src/components/PromptInput/PromptInputFooterSuggestions.tsx b/src/components/PromptInput/PromptInputFooterSuggestions.tsxindex 98dcfee..f7337b2 100644--- a/src/components/PromptInput/PromptInputFooterSuggestions.tsx+++ b/src/components/PromptInput/PromptInputFooterSuggestions.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { memo, type ReactNode } from 'react';import { useTerminalSize } from '../../hooks/useTerminalSize.js';diff --git a/src/components/PromptInput/PromptInputHelpMenu.tsx b/src/components/PromptInput/PromptInputHelpMenu.tsxindex 53fdcc9..227cd85 100644--- a/src/components/PromptInput/PromptInputHelpMenu.tsx+++ b/src/components/PromptInput/PromptInputHelpMenu.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { Box, Text } from 'src/ink.js';diff --git a/src/components/PromptInput/PromptInputModeIndicator.tsx b/src/components/PromptInput/PromptInputModeIndicator.tsxindex bfbd57a..7b5ac09 100644--- a/src/components/PromptInput/PromptInputModeIndicator.tsx+++ b/src/components/PromptInput/PromptInputModeIndicator.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { Box, Text } from 'src/ink.js';diff --git a/src/components/PromptInput/PromptInputStashNotice.tsx b/src/components/PromptInput/PromptInputStashNotice.tsxindex 5ef01d7..7485576 100644--- a/src/components/PromptInput/PromptInputStashNotice.tsx+++ b/src/components/PromptInput/PromptInputStashNotice.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { Box, Text } from 'src/ink.js';diff --git a/src/components/PromptInput/SandboxPromptFooterHint.tsx b/src/components/PromptInput/SandboxPromptFooterHint.tsxindex 430b4c0..6f44c84 100644--- a/src/components/PromptInput/SandboxPromptFooterHint.tsx+++ b/src/components/PromptInput/SandboxPromptFooterHint.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { type ReactNode, useEffect, useRef, useState } from 'react';import { Box, Text } from '../../ink.js';diff --git a/src/components/PromptInput/ShimmeredInput.tsx b/src/components/PromptInput/ShimmeredInput.tsxindex b6890e5..c8af7ce 100644--- a/src/components/PromptInput/ShimmeredInput.tsx+++ b/src/components/PromptInput/ShimmeredInput.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Ansi, Box, Text, useAnimationFrame } from '../../ink.js';import { segmentTextByHighlights, type TextHighlight } from '../../utils/textHighlighting.js';diff --git a/src/components/PromptInput/VoiceIndicator.tsx b/src/components/PromptInput/VoiceIndicator.tsxindex 5a5bb20..5365dad 100644--- a/src/components/PromptInput/VoiceIndicator.tsx+++ b/src/components/PromptInput/VoiceIndicator.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { useSettings } from '../../hooks/useSettings.js';diff --git a/src/components/QuickOpenDialog.tsx b/src/components/QuickOpenDialog.tsxindex 23c12af..945a004 100644--- a/src/components/QuickOpenDialog.tsx+++ b/src/components/QuickOpenDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as path from 'path';import * as React from 'react';import { useEffect, useRef, useState } from 'react';diff --git a/src/components/RemoteEnvironmentDialog.tsx b/src/components/RemoteEnvironmentDialog.tsxindex 8e33179..f563ae8 100644--- a/src/components/RemoteEnvironmentDialog.tsx+++ b/src/components/RemoteEnvironmentDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import figures from 'figures';import * as React from 'react';diff --git a/src/components/SandboxViolationExpandedView.tsx b/src/components/SandboxViolationExpandedView.tsxindex 8eefd59..aa9dce2 100644--- a/src/components/SandboxViolationExpandedView.tsx+++ b/src/components/SandboxViolationExpandedView.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { type ReactNode, useEffect, useState } from 'react';import { Box, Text } from '../ink.js';diff --git a/src/components/SearchBox.tsx b/src/components/SearchBox.tsxindex 96338a7..fb01563 100644--- a/src/components/SearchBox.tsx+++ b/src/components/SearchBox.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../ink.js';type Props = {diff --git a/src/components/SessionBackgroundHint.tsx b/src/components/SessionBackgroundHint.tsxindex ece9ffb..acb379f 100644--- a/src/components/SessionBackgroundHint.tsx+++ b/src/components/SessionBackgroundHint.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useCallback, useState } from 'react';import { useDoublePress } from '../hooks/useDoublePress.js';diff --git a/src/components/SessionPreview.tsx b/src/components/SessionPreview.tsxindex 459474f..afb8b1f 100644--- a/src/components/SessionPreview.tsx+++ b/src/components/SessionPreview.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { UUID } from 'crypto';import React, { useCallback } from 'react';import { Box, Text } from '../ink.js';diff --git a/src/components/Settings/Config.tsx b/src/components/Settings/Config.tsxindex 37ee93c..33a3e2c 100644--- a/src/components/Settings/Config.tsx+++ b/src/components/Settings/Config.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reorderedimport { feature } from 'bun:bundle';import { Box, Text, useTheme, useThemeSetting, useTerminalFocus } from '../../ink.js';diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsxindex 41b5b26..b37c182 100644--- a/src/components/Settings/Settings.tsx+++ b/src/components/Settings/Settings.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reorderedimport * as React from 'react';import { Suspense, useState } from 'react';diff --git a/src/components/Settings/Status.tsx b/src/components/Settings/Status.tsxindex 5592866..95c6296 100644--- a/src/components/Settings/Status.tsx+++ b/src/components/Settings/Status.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { Suspense, use } from 'react';diff --git a/src/components/Settings/Usage.tsx b/src/components/Settings/Usage.tsxindex 744cb2b..b8c4863 100644--- a/src/components/Settings/Usage.tsx+++ b/src/components/Settings/Usage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useState } from 'react';import { extraUsage as extraUsageCommand } from 'src/commands/extra-usage/index.js';diff --git a/src/components/ShowInIDEPrompt.tsx b/src/components/ShowInIDEPrompt.tsxindex f146dfc..a6ad858 100644--- a/src/components/ShowInIDEPrompt.tsx+++ b/src/components/ShowInIDEPrompt.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { basename, relative } from 'path';import React from 'react';import { Box, Text } from '../ink.js';diff --git a/src/components/SkillImprovementSurvey.tsx b/src/components/SkillImprovementSurvey.tsxindex beae0c4..27efb12 100644--- a/src/components/SkillImprovementSurvey.tsx+++ b/src/components/SkillImprovementSurvey.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect, useRef } from 'react';import { BLACK_CIRCLE, BULLET_OPERATOR } from '../constants/figures.js';import { Box, Text } from '../ink.js';diff --git a/src/components/Spinner.tsx b/src/components/Spinner.tsxindex c170c86..81fa95c 100644--- a/src/components/Spinner.tsx+++ b/src/components/Spinner.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reorderedimport { Box, Text } from '../ink.js';import * as React from 'react';diff --git a/src/components/Spinner/FlashingChar.tsx b/src/components/Spinner/FlashingChar.tsxindex b05c484..1ebd1f7 100644--- a/src/components/Spinner/FlashingChar.tsx+++ b/src/components/Spinner/FlashingChar.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Text, useTheme } from '../../ink.js';import { getTheme, type Theme } from '../../utils/theme.js';diff --git a/src/components/Spinner/GlimmerMessage.tsx b/src/components/Spinner/GlimmerMessage.tsxindex 255a49c..c981054 100644--- a/src/components/Spinner/GlimmerMessage.tsx+++ b/src/components/Spinner/GlimmerMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { stringWidth } from '../../ink/stringWidth.js';import { Text, useTheme } from '../../ink.js';diff --git a/src/components/Spinner/ShimmerChar.tsx b/src/components/Spinner/ShimmerChar.tsxindex dd3a8ed..71ac080 100644--- a/src/components/Spinner/ShimmerChar.tsx+++ b/src/components/Spinner/ShimmerChar.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Text } from '../../ink.js';import type { Theme } from '../../utils/theme.js';diff --git a/src/components/Spinner/SpinnerAnimationRow.tsx b/src/components/Spinner/SpinnerAnimationRow.tsxindex 4e77bf9..2dcfa80 100644--- a/src/components/Spinner/SpinnerAnimationRow.tsx+++ b/src/components/Spinner/SpinnerAnimationRow.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useMemo, useRef } from 'react';diff --git a/src/components/Spinner/SpinnerGlyph.tsx b/src/components/Spinner/SpinnerGlyph.tsxindex e4d71d4..2ec27ed 100644--- a/src/components/Spinner/SpinnerGlyph.tsx+++ b/src/components/Spinner/SpinnerGlyph.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text, useTheme } from '../../ink.js';import { getTheme, type Theme } from '../../utils/theme.js';diff --git a/src/components/Spinner/TeammateSpinnerTree.tsx b/src/components/Spinner/TeammateSpinnerTree.tsxindex da7c232..a79ea11 100644--- a/src/components/Spinner/TeammateSpinnerTree.tsx+++ b/src/components/Spinner/TeammateSpinnerTree.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { Box, Text, type TextProps } from '../../ink.js';diff --git a/src/components/Stats.tsx b/src/components/Stats.tsxindex e229891..39c3ef2 100644--- a/src/components/Stats.tsx+++ b/src/components/Stats.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import { plot as asciichart } from 'asciichart';import chalk from 'chalk';diff --git a/src/components/StatusNotices.tsx b/src/components/StatusNotices.tsxindex cb4ac2a..c30e8ff 100644--- a/src/components/StatusNotices.tsx+++ b/src/components/StatusNotices.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { use } from 'react';import { Box } from '../ink.js';diff --git a/src/components/StructuredDiff.tsx b/src/components/StructuredDiff.tsxindex a6fe672..3641bb5 100644--- a/src/components/StructuredDiff.tsx+++ b/src/components/StructuredDiff.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { StructuredPatchHunk } from 'diff';import * as React from 'react';import { memo } from 'react';diff --git a/src/components/StructuredDiff/Fallback.tsx b/src/components/StructuredDiff/Fallback.tsxindex 8948d76..ade5060 100644--- a/src/components/StructuredDiff/Fallback.tsx+++ b/src/components/StructuredDiff/Fallback.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { diffWordsWithSpace, type StructuredPatchHunk } from 'diff';import * as React from 'react';import { useMemo } from 'react';diff --git a/src/components/StructuredDiff/colorDiff.ts b/src/components/StructuredDiff/colorDiff.tsindex d3abaa2..97bdc72 100644--- a/src/components/StructuredDiff/colorDiff.ts+++ b/src/components/StructuredDiff/colorDiff.ts@@ -3,7 +3,7 @@ import {ColorFile,getSyntaxTheme as nativeGetSyntaxTheme,type SyntaxTheme,-} from 'color-diff-napi'+} from '../../native-ts/color-diff/index.js'import { isEnvDefinedFalsy } from '../../utils/envUtils.js'export type ColorModuleUnavailableReason = 'env'diff --git a/src/components/TaskListV2.tsx b/src/components/TaskListV2.tsxindex addc083..d93402d 100644--- a/src/components/TaskListV2.tsx+++ b/src/components/TaskListV2.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useTerminalSize } from '../hooks/useTerminalSize.js';diff --git a/src/components/TeammateViewHeader.tsx b/src/components/TeammateViewHeader.tsxindex ea65ddc..fda309b 100644--- a/src/components/TeammateViewHeader.tsx+++ b/src/components/TeammateViewHeader.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../ink.js';import { useAppState } from '../state/AppState.js';diff --git a/src/components/TeleportError.tsx b/src/components/TeleportError.tsxindex 585ed37..2b8b5e2 100644--- a/src/components/TeleportError.tsx+++ b/src/components/TeleportError.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useEffect, useState } from 'react';import { checkIsGitClean, checkNeedsClaudeAiLogin } from 'src/utils/background/remote/preconditions.js';import { gracefulShutdownSync } from 'src/utils/gracefulShutdown.js';diff --git a/src/components/TeleportProgress.tsx b/src/components/TeleportProgress.tsxindex 921dd38..873caee 100644--- a/src/components/TeleportProgress.tsx+++ b/src/components/TeleportProgress.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useState } from 'react';diff --git a/src/components/TeleportRepoMismatchDialog.tsx b/src/components/TeleportRepoMismatchDialog.tsxindex df6ac50..7095bbf 100644--- a/src/components/TeleportRepoMismatchDialog.tsx+++ b/src/components/TeleportRepoMismatchDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useState } from 'react';import { Box, Text } from '../ink.js';import { getDisplayPath } from '../utils/file.js';diff --git a/src/components/TeleportResumeWrapper.tsx b/src/components/TeleportResumeWrapper.tsxindex ead5fdb..b276fcb 100644--- a/src/components/TeleportResumeWrapper.tsx+++ b/src/components/TeleportResumeWrapper.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect } from 'react';import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from 'src/services/analytics/index.js';import type { TeleportRemoteResponse } from 'src/utils/conversationRecovery.js';diff --git a/src/components/ThemePicker.tsx b/src/components/ThemePicker.tsxindex e8af394..d716aa7 100644--- a/src/components/ThemePicker.tsx+++ b/src/components/ThemePicker.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { useExitOnCtrlCDWithKeybindings } from '../hooks/useExitOnCtrlCDWithKeybindings.js';diff --git a/src/components/ThinkingToggle.tsx b/src/components/ThinkingToggle.tsxindex a7b7a1b..aa282a6 100644--- a/src/components/ThinkingToggle.tsx+++ b/src/components/ThinkingToggle.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useState } from 'react';import { useExitOnCtrlCDWithKeybindings } from 'src/hooks/useExitOnCtrlCDWithKeybindings.js';diff --git a/src/components/TokenWarning.tsx b/src/components/TokenWarning.tsxindex 8a5c200..25d5155 100644--- a/src/components/TokenWarning.tsx+++ b/src/components/TokenWarning.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { useSyncExternalStore } from 'react';diff --git a/src/components/ToolUseLoader.tsx b/src/components/ToolUseLoader.tsxindex 5200e5b..971bf13 100644--- a/src/components/ToolUseLoader.tsx+++ b/src/components/ToolUseLoader.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { BLACK_CIRCLE } from '../constants/figures.js';import { useBlink } from '../hooks/useBlink.js';diff --git a/src/components/TrustDialog/TrustDialog.tsx b/src/components/TrustDialog/TrustDialog.tsxindex 3bfcc22..79ce805 100644--- a/src/components/TrustDialog/TrustDialog.tsx+++ b/src/components/TrustDialog/TrustDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { homedir } from 'os';import React from 'react';import { logEvent } from 'src/services/analytics/index.js';diff --git a/src/components/ValidationErrorsList.tsx b/src/components/ValidationErrorsList.tsxindex 233306d..7d5cdb2 100644--- a/src/components/ValidationErrorsList.tsx+++ b/src/components/ValidationErrorsList.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import setWith from 'lodash-es/setWith.js';import * as React from 'react';import { Box, Text, useTheme } from '../ink.js';diff --git a/src/components/VimTextInput.tsx b/src/components/VimTextInput.tsxindex 7c2e6c5..2445ffc 100644--- a/src/components/VimTextInput.tsx+++ b/src/components/VimTextInput.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import React from 'react';import { useClipboardImageHint } from '../hooks/useClipboardImageHint.js';diff --git a/src/components/VirtualMessageList.tsx b/src/components/VirtualMessageList.tsxindex b9a8d7a..1d55e16 100644--- a/src/components/VirtualMessageList.tsx+++ b/src/components/VirtualMessageList.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { RefObject } from 'react';import * as React from 'react';import { useCallback, useContext, useEffect, useImperativeHandle, useRef, useState, useSyncExternalStore } from 'react';diff --git a/src/components/WorkflowMultiselectDialog.tsx b/src/components/WorkflowMultiselectDialog.tsxindex 283a10e..c26fa9a 100644--- a/src/components/WorkflowMultiselectDialog.tsx+++ b/src/components/WorkflowMultiselectDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useState } from 'react';import type { Workflow } from '../commands/install-github-app/types.js';import type { ExitState } from '../hooks/useExitOnCtrlCDWithKeybindings.js';diff --git a/src/components/agents/AgentDetail.tsx b/src/components/agents/AgentDetail.tsxindex 48fc986..e666646 100644--- a/src/components/agents/AgentDetail.tsx+++ b/src/components/agents/AgentDetail.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import type { KeyboardEvent } from '../../ink/events/keyboard-event.js';diff --git a/src/components/agents/AgentNavigationFooter.tsx b/src/components/agents/AgentNavigationFooter.tsxindex cdd78ad..58adecc 100644--- a/src/components/agents/AgentNavigationFooter.tsx+++ b/src/components/agents/AgentNavigationFooter.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useExitOnCtrlCDWithKeybindings } from '../../hooks/useExitOnCtrlCDWithKeybindings.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/agents/AgentsList.tsx b/src/components/agents/AgentsList.tsxindex 137a18b..a86d4ae 100644--- a/src/components/agents/AgentsList.tsx+++ b/src/components/agents/AgentsList.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import type { SettingSource } from 'src/utils/settings/constants.js';diff --git a/src/components/agents/AgentsMenu.tsx b/src/components/agents/AgentsMenu.tsxindex 923fe8b..9f1b0f2 100644--- a/src/components/agents/AgentsMenu.tsx+++ b/src/components/agents/AgentsMenu.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import * as React from 'react';import { useCallback, useMemo, useState } from 'react';diff --git a/src/components/agents/ColorPicker.tsx b/src/components/agents/ColorPicker.tsxindex f8072e7..a40f530 100644--- a/src/components/agents/ColorPicker.tsx+++ b/src/components/agents/ColorPicker.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useState } from 'react';import type { KeyboardEvent } from '../../ink/events/keyboard-event.js';diff --git a/src/components/agents/ModelSelector.tsx b/src/components/agents/ModelSelector.tsxindex c1b2737..f218ba9 100644--- a/src/components/agents/ModelSelector.tsx+++ b/src/components/agents/ModelSelector.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { getAgentModelOptions } from '../../utils/model/agent.js';diff --git a/src/components/agents/ToolSelector.tsx b/src/components/agents/ToolSelector.tsxindex 3eb61d1..4cacee2 100644--- a/src/components/agents/ToolSelector.tsx+++ b/src/components/agents/ToolSelector.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useCallback, useMemo, useState } from 'react';import { mcpInfoFromString } from 'src/services/mcp/mcpStringUtils.js';diff --git a/src/components/agents/new-agent-creation/CreateAgentWizard.tsx b/src/components/agents/new-agent-creation/CreateAgentWizard.tsxindex 4ca9ba3..51edc58 100644--- a/src/components/agents/new-agent-creation/CreateAgentWizard.tsx+++ b/src/components/agents/new-agent-creation/CreateAgentWizard.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import { isAutoMemoryEnabled } from '../../../memdir/paths.js';import type { Tools } from '../../../Tool.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/ColorStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/ColorStep.tsxindex 4d5d338..3832279 100644--- a/src/components/agents/new-agent-creation/wizard-steps/ColorStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/ColorStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import { Box } from '../../../../ink.js';import { useKeybinding } from '../../../../keybindings/useKeybinding.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/ConfirmStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/ConfirmStep.tsxindex 308b808..2c64cac 100644--- a/src/components/agents/new-agent-creation/wizard-steps/ConfirmStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/ConfirmStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import type { KeyboardEvent } from '../../../../ink/events/keyboard-event.js';import { Box, Text } from '../../../../ink.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/DescriptionStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/DescriptionStep.tsxindex ff6c3a7..808d135 100644--- a/src/components/agents/new-agent-creation/wizard-steps/DescriptionStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/DescriptionStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode, useCallback, useState } from 'react';import { Box, Text } from '../../../../ink.js';import { useKeybinding } from '../../../../keybindings/useKeybinding.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/LocationStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/LocationStep.tsxindex d64c165..a5a42a4 100644--- a/src/components/agents/new-agent-creation/wizard-steps/LocationStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/LocationStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import { Box } from '../../../../ink.js';import type { SettingSource } from '../../../../utils/settings/constants.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/MemoryStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/MemoryStep.tsxindex 56c951a..0ed11ce 100644--- a/src/components/agents/new-agent-creation/wizard-steps/MemoryStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/MemoryStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import { Box } from '../../../../ink.js';import { useKeybinding } from '../../../../keybindings/useKeybinding.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/MethodStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/MethodStep.tsxindex cfcb450..4b4ed04 100644--- a/src/components/agents/new-agent-creation/wizard-steps/MethodStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/MethodStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import { Box } from '../../../../ink.js';import { ConfigurableShortcutHint } from '../../../ConfigurableShortcutHint.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/ModelStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/ModelStep.tsxindex ac56a31..2e4c805 100644--- a/src/components/agents/new-agent-creation/wizard-steps/ModelStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/ModelStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import { ConfigurableShortcutHint } from '../../../ConfigurableShortcutHint.js';import { Byline } from '../../../design-system/Byline.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/PromptStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/PromptStep.tsxindex fee0039..73ce29c 100644--- a/src/components/agents/new-agent-creation/wizard-steps/PromptStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/PromptStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode, useCallback, useState } from 'react';import { Box, Text } from '../../../../ink.js';import { useKeybinding } from '../../../../keybindings/useKeybinding.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/ToolsStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/ToolsStep.tsxindex f0ddd33..a98148b 100644--- a/src/components/agents/new-agent-creation/wizard-steps/ToolsStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/ToolsStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import type { Tools } from '../../../../Tool.js';import { ConfigurableShortcutHint } from '../../../ConfigurableShortcutHint.js';diff --git a/src/components/agents/new-agent-creation/wizard-steps/TypeStep.tsx b/src/components/agents/new-agent-creation/wizard-steps/TypeStep.tsxindex c464bcd..bd2695f 100644--- a/src/components/agents/new-agent-creation/wizard-steps/TypeStep.tsx+++ b/src/components/agents/new-agent-creation/wizard-steps/TypeStep.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode, useState } from 'react';import { Box, Text } from '../../../../ink.js';import { useKeybinding } from '../../../../keybindings/useKeybinding.js';diff --git a/src/components/design-system/Byline.tsx b/src/components/design-system/Byline.tsxindex 52f83da..b18ec49 100644--- a/src/components/design-system/Byline.tsx+++ b/src/components/design-system/Byline.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { Children, isValidElement } from 'react';import { Text } from '../../ink.js';type Props = {diff --git a/src/components/design-system/Dialog.tsx b/src/components/design-system/Dialog.tsxindex 7d0dae1..4af7a85 100644--- a/src/components/design-system/Dialog.tsx+++ b/src/components/design-system/Dialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { type ExitState, useExitOnCtrlCDWithKeybindings } from '../../hooks/useExitOnCtrlCDWithKeybindings.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/design-system/Divider.tsx b/src/components/design-system/Divider.tsxindex 3a5d87a..4e308ad 100644--- a/src/components/design-system/Divider.tsx+++ b/src/components/design-system/Divider.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { useTerminalSize } from '../../hooks/useTerminalSize.js';import { stringWidth } from '../../ink/stringWidth.js';diff --git a/src/components/design-system/FuzzyPicker.tsx b/src/components/design-system/FuzzyPicker.tsxindex 1d33088..c36a055 100644--- a/src/components/design-system/FuzzyPicker.tsx+++ b/src/components/design-system/FuzzyPicker.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useState } from 'react';import { useSearchInput } from '../../hooks/useSearchInput.js';diff --git a/src/components/design-system/KeyboardShortcutHint.tsx b/src/components/design-system/KeyboardShortcutHint.tsxindex 288d531..8fc6ead 100644--- a/src/components/design-system/KeyboardShortcutHint.tsx+++ b/src/components/design-system/KeyboardShortcutHint.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import Text from '../../ink/components/Text.js';type Props = {diff --git a/src/components/design-system/ListItem.tsx b/src/components/design-system/ListItem.tsxindex 7f77dda..9f53514 100644--- a/src/components/design-system/ListItem.tsx+++ b/src/components/design-system/ListItem.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import type { ReactNode } from 'react';import React from 'react';diff --git a/src/components/design-system/LoadingState.tsx b/src/components/design-system/LoadingState.tsxindex b5f33b7..63ba7e0 100644--- a/src/components/design-system/LoadingState.tsx+++ b/src/components/design-system/LoadingState.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';import { Spinner } from '../Spinner.js';diff --git a/src/components/design-system/Pane.tsx b/src/components/design-system/Pane.tsxindex 43e56f3..b95c642 100644--- a/src/components/design-system/Pane.tsx+++ b/src/components/design-system/Pane.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { useIsInsideModal } from '../../context/modalContext.js';import { Box } from '../../ink.js';diff --git a/src/components/design-system/ProgressBar.tsx b/src/components/design-system/ProgressBar.tsxindex 922623f..96c4650 100644--- a/src/components/design-system/ProgressBar.tsx+++ b/src/components/design-system/ProgressBar.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Text } from '../../ink.js';import type { Theme } from '../../utils/theme.js';diff --git a/src/components/design-system/Ratchet.tsx b/src/components/design-system/Ratchet.tsxindex 8360109..e694bc8 100644--- a/src/components/design-system/Ratchet.tsx+++ b/src/components/design-system/Ratchet.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useLayoutEffect, useRef, useState } from 'react';import { useTerminalSize } from '../../hooks/useTerminalSize.js';import { useTerminalViewport } from '../../ink/hooks/use-terminal-viewport.js';diff --git a/src/components/design-system/StatusIcon.tsx b/src/components/design-system/StatusIcon.tsxindex 17f03de..f5f5768 100644--- a/src/components/design-system/StatusIcon.tsx+++ b/src/components/design-system/StatusIcon.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React from 'react';import { Text } from '../../ink.js';diff --git a/src/components/design-system/Tabs.tsx b/src/components/design-system/Tabs.tsxindex e161836..41a9491 100644--- a/src/components/design-system/Tabs.tsx+++ b/src/components/design-system/Tabs.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, useCallback, useContext, useEffect, useState } from 'react';import { useIsInsideModal, useModalScrollRef } from '../../context/modalContext.js';import { useTerminalSize } from '../../hooks/useTerminalSize.js';diff --git a/src/components/design-system/ThemeProvider.tsx b/src/components/design-system/ThemeProvider.tsxindex 8e0de60..3249c0c 100644--- a/src/components/design-system/ThemeProvider.tsx+++ b/src/components/design-system/ThemeProvider.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import React, { createContext, useContext, useEffect, useMemo, useState } from 'react';import useStdin from '../../ink/hooks/use-stdin.js';diff --git a/src/components/design-system/ThemedBox.tsx b/src/components/design-system/ThemedBox.tsxindex c92b733..68ea56a 100644--- a/src/components/design-system/ThemedBox.tsx+++ b/src/components/design-system/ThemedBox.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type PropsWithChildren, type Ref } from 'react';import Box from '../../ink/components/Box.js';import type { DOMElement } from '../../ink/dom.js';diff --git a/src/components/design-system/ThemedText.tsx b/src/components/design-system/ThemedText.tsxindex 1c65b5c..73db20e 100644--- a/src/components/design-system/ThemedText.tsx+++ b/src/components/design-system/ThemedText.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ReactNode } from 'react';import React, { useContext } from 'react';import Text from '../../ink/components/Text.js';diff --git a/src/components/diff/DiffDetailView.tsx b/src/components/diff/DiffDetailView.tsxindex 995801a..60feb93 100644--- a/src/components/diff/DiffDetailView.tsx+++ b/src/components/diff/DiffDetailView.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { StructuredPatchHunk } from 'diff';import { resolve } from 'path';import React, { useMemo } from 'react';diff --git a/src/components/diff/DiffDialog.tsx b/src/components/diff/DiffDialog.tsxindex 6d007b4..f7fef18 100644--- a/src/components/diff/DiffDialog.tsx+++ b/src/components/diff/DiffDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { StructuredPatchHunk } from 'diff';import React, { useEffect, useMemo, useRef, useState } from 'react';import type { CommandResultDisplay } from '../../commands.js';diff --git a/src/components/diff/DiffFileList.tsx b/src/components/diff/DiffFileList.tsxindex 95dbbb5..d25ac14 100644--- a/src/components/diff/DiffFileList.tsx+++ b/src/components/diff/DiffFileList.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useMemo } from 'react';import type { DiffFile } from '../../hooks/useDiffData.js';diff --git a/src/components/grove/Grove.tsx b/src/components/grove/Grove.tsxindex be5505b..8dab5a6 100644--- a/src/components/grove/Grove.tsx+++ b/src/components/grove/Grove.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect, useState } from 'react';import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from 'src/services/analytics/index.js';import { Box, Link, Text, useInput } from '../../ink.js';diff --git a/src/components/hooks/HooksConfigMenu.tsx b/src/components/hooks/HooksConfigMenu.tsxindex ea39f82..2515599 100644--- a/src/components/hooks/HooksConfigMenu.tsx+++ b/src/components/hooks/HooksConfigMenu.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** HooksConfigMenu is a read-only browser for configured hooks.*diff --git a/src/components/hooks/PromptDialog.tsx b/src/components/hooks/PromptDialog.tsxindex 1521786..1cdb4d3 100644--- a/src/components/hooks/PromptDialog.tsx+++ b/src/components/hooks/PromptDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { useKeybinding } from '../../keybindings/useKeybinding.js';diff --git a/src/components/hooks/SelectEventMode.tsx b/src/components/hooks/SelectEventMode.tsxindex f07e647..305a812 100644--- a/src/components/hooks/SelectEventMode.tsx+++ b/src/components/hooks/SelectEventMode.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** SelectEventMode is the entrypoint of the Hooks config menu, where the user* sees the list of available hook events.diff --git a/src/components/hooks/SelectHookMode.tsx b/src/components/hooks/SelectHookMode.tsxindex cec6c6a..9d59091 100644--- a/src/components/hooks/SelectHookMode.tsx+++ b/src/components/hooks/SelectHookMode.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** SelectHookMode shows all hooks configured for a given event+matcher pair.*diff --git a/src/components/hooks/SelectMatcherMode.tsx b/src/components/hooks/SelectMatcherMode.tsxindex d292fc8..19aa161 100644--- a/src/components/hooks/SelectMatcherMode.tsx+++ b/src/components/hooks/SelectMatcherMode.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** SelectMatcherMode shows the configured matchers for a selected hook event.*diff --git a/src/components/hooks/ViewHookMode.tsx b/src/components/hooks/ViewHookMode.tsxindex b84d4b0..ac616e1 100644--- a/src/components/hooks/ViewHookMode.tsx+++ b/src/components/hooks/ViewHookMode.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** ViewHookMode shows read-only details for a single configured hook.*diff --git a/src/components/mcp/CapabilitiesSection.tsx b/src/components/mcp/CapabilitiesSection.tsxindex 7d136f5..4aff608 100644--- a/src/components/mcp/CapabilitiesSection.tsx+++ b/src/components/mcp/CapabilitiesSection.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';import { Byline } from '../design-system/Byline.js';diff --git a/src/components/mcp/ElicitationDialog.tsx b/src/components/mcp/ElicitationDialog.tsxindex 2fdf0e6..eae3849 100644--- a/src/components/mcp/ElicitationDialog.tsx+++ b/src/components/mcp/ElicitationDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ElicitRequestFormParams, ElicitRequestURLParams, ElicitResult, PrimitiveSchemaDefinition } from '@modelcontextprotocol/sdk/types.js';import figures from 'figures';import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';diff --git a/src/components/mcp/MCPListPanel.tsx b/src/components/mcp/MCPListPanel.tsxindex 94d0c62..7bd1104 100644--- a/src/components/mcp/MCPListPanel.tsx+++ b/src/components/mcp/MCPListPanel.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useCallback, useState } from 'react';import type { CommandResultDisplay } from '../../commands.js';diff --git a/src/components/mcp/MCPReconnect.tsx b/src/components/mcp/MCPReconnect.tsxindex 88e724f..e3e58f4 100644--- a/src/components/mcp/MCPReconnect.tsx+++ b/src/components/mcp/MCPReconnect.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useEffect, useState } from 'react';import type { CommandResultDisplay } from '../../commands.js';diff --git a/src/components/mcp/MCPSettings.tsx b/src/components/mcp/MCPSettings.tsxindex 95562c7..3010f6a 100644--- a/src/components/mcp/MCPSettings.tsx+++ b/src/components/mcp/MCPSettings.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect, useMemo } from 'react';import type { CommandResultDisplay } from '../../commands.js';import { ClaudeAuthProvider } from '../../services/mcp/auth.js';diff --git a/src/components/mcp/MCPToolDetailView.tsx b/src/components/mcp/MCPToolDetailView.tsxindex d5395bb..d5e2870 100644--- a/src/components/mcp/MCPToolDetailView.tsx+++ b/src/components/mcp/MCPToolDetailView.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';import { extractMcpToolDisplayName, getMcpDisplayName } from '../../services/mcp/mcpStringUtils.js';diff --git a/src/components/mcp/MCPToolListView.tsx b/src/components/mcp/MCPToolListView.tsxindex 0e1e8be..69fa366 100644--- a/src/components/mcp/MCPToolListView.tsx+++ b/src/components/mcp/MCPToolListView.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Text } from '../../ink.js';import { extractMcpToolDisplayName, getMcpDisplayName } from '../../services/mcp/mcpStringUtils.js';diff --git a/src/components/mcp/McpParsingWarnings.tsx b/src/components/mcp/McpParsingWarnings.tsxindex db13014..2d300df 100644--- a/src/components/mcp/McpParsingWarnings.tsx+++ b/src/components/mcp/McpParsingWarnings.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useMemo } from 'react';import { getMcpConfigsByScope } from 'src/services/mcp/config.js';import type { ConfigScope } from 'src/services/mcp/types.js';diff --git a/src/components/memory/MemoryFileSelector.tsx b/src/components/memory/MemoryFileSelector.tsxindex 0c207ef..cc8d1e3 100644--- a/src/components/memory/MemoryFileSelector.tsx+++ b/src/components/memory/MemoryFileSelector.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import chalk from 'chalk';import { mkdir } from 'fs/promises';diff --git a/src/components/memory/MemoryUpdateNotification.tsx b/src/components/memory/MemoryUpdateNotification.tsxindex 1b4c329..bf4ea26 100644--- a/src/components/memory/MemoryUpdateNotification.tsx+++ b/src/components/memory/MemoryUpdateNotification.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { homedir } from 'os';import { relative } from 'path';import React from 'react';diff --git a/src/components/messageActions.tsx b/src/components/messageActions.tsxindex 982eca0..b6dc174 100644--- a/src/components/messageActions.tsx+++ b/src/components/messageActions.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import type { RefObject } from 'react';import React, { useCallback, useMemo, useRef } from 'react';diff --git a/src/components/messages/AdvisorMessage.tsx b/src/components/messages/AdvisorMessage.tsxindex 4a11fa4..18caaef 100644--- a/src/components/messages/AdvisorMessage.tsx+++ b/src/components/messages/AdvisorMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React from 'react';import { Box, Text } from '../../ink.js';diff --git a/src/components/messages/AssistantRedactedThinkingMessage.tsx b/src/components/messages/AssistantRedactedThinkingMessage.tsxindex 64ac8a1..1f5039a 100644--- a/src/components/messages/AssistantRedactedThinkingMessage.tsx+++ b/src/components/messages/AssistantRedactedThinkingMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';type Props = {diff --git a/src/components/messages/AssistantTextMessage.tsx b/src/components/messages/AssistantTextMessage.tsxindex 23302fd..135e3b7 100644--- a/src/components/messages/AssistantTextMessage.tsx+++ b/src/components/messages/AssistantTextMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import React, { useContext } from 'react';import { ERROR_MESSAGE_USER_ABORT } from 'src/services/compact/compact.js';diff --git a/src/components/messages/AssistantThinkingMessage.tsx b/src/components/messages/AssistantThinkingMessage.tsxindex 3825f5f..667e81c 100644--- a/src/components/messages/AssistantThinkingMessage.tsx+++ b/src/components/messages/AssistantThinkingMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ThinkingBlock, ThinkingBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import React from 'react';import { Box, Text } from '../../ink.js';diff --git a/src/components/messages/AssistantToolUseMessage.tsx b/src/components/messages/AssistantToolUseMessage.tsxindex 7670934..b5c5fb4 100644--- a/src/components/messages/AssistantToolUseMessage.tsx+++ b/src/components/messages/AssistantToolUseMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolUseBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import React, { useMemo } from 'react';import { useTerminalSize } from 'src/hooks/useTerminalSize.js';diff --git a/src/components/messages/AttachmentMessage.tsx b/src/components/messages/AttachmentMessage.tsxindex efbb758..6e1d505 100644--- a/src/components/messages/AttachmentMessage.tsx+++ b/src/components/messages/AttachmentMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reorderedimport React, { useMemo } from 'react';import { Ansi, Box, Text } from '../../ink.js';diff --git a/src/components/messages/CollapsedReadSearchContent.tsx b/src/components/messages/CollapsedReadSearchContent.tsxindex 1494cf4..d1b5788 100644--- a/src/components/messages/CollapsedReadSearchContent.tsx+++ b/src/components/messages/CollapsedReadSearchContent.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import { basename } from 'path';import React, { useRef } from 'react';diff --git a/src/components/messages/CompactBoundaryMessage.tsx b/src/components/messages/CompactBoundaryMessage.tsxindex ecd9e00..427c478 100644--- a/src/components/messages/CompactBoundaryMessage.tsx+++ b/src/components/messages/CompactBoundaryMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { useShortcutDisplay } from '../../keybindings/useShortcutDisplay.js';diff --git a/src/components/messages/HighlightedThinkingText.tsx b/src/components/messages/HighlightedThinkingText.tsxindex 8de7407..729c293 100644--- a/src/components/messages/HighlightedThinkingText.tsx+++ b/src/components/messages/HighlightedThinkingText.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useContext } from 'react';diff --git a/src/components/messages/HookProgressMessage.tsx b/src/components/messages/HookProgressMessage.tsxindex 2e6ca1c..2792b73 100644--- a/src/components/messages/HookProgressMessage.tsx+++ b/src/components/messages/HookProgressMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import type { HookEvent } from 'src/entrypoints/agentSdkTypes.js';import type { buildMessageLookups } from 'src/utils/messages.js';diff --git a/src/components/messages/PlanApprovalMessage.tsx b/src/components/messages/PlanApprovalMessage.tsxindex 4e519e3..36eee45 100644--- a/src/components/messages/PlanApprovalMessage.tsx+++ b/src/components/messages/PlanApprovalMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Markdown } from '../../components/Markdown.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/messages/RateLimitMessage.tsx b/src/components/messages/RateLimitMessage.tsxindex 20d2016..1164af4 100644--- a/src/components/messages/RateLimitMessage.tsx+++ b/src/components/messages/RateLimitMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect, useMemo, useState } from 'react';import { extraUsage } from 'src/commands/extra-usage/index.js';import { Box, Text } from 'src/ink.js';diff --git a/src/components/messages/ShutdownMessage.tsx b/src/components/messages/ShutdownMessage.tsxindex 5c4476a..2ebb6fe 100644--- a/src/components/messages/ShutdownMessage.tsx+++ b/src/components/messages/ShutdownMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { isShutdownApproved, isShutdownRejected, isShutdownRequest, type ShutdownRejectedMessage, type ShutdownRequestMessage } from '../../utils/teammateMailbox.js';diff --git a/src/components/messages/SystemAPIErrorMessage.tsx b/src/components/messages/SystemAPIErrorMessage.tsxindex e75b35c..78d68c6 100644--- a/src/components/messages/SystemAPIErrorMessage.tsx+++ b/src/components/messages/SystemAPIErrorMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useState } from 'react';import { Box, Text } from 'src/ink.js';diff --git a/src/components/messages/SystemTextMessage.tsx b/src/components/messages/SystemTextMessage.tsxindex a5fd83b..0330c94 100644--- a/src/components/messages/SystemTextMessage.tsx+++ b/src/components/messages/SystemTextMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reorderedimport { Box, Text, type TextProps } from '../../ink.js';import { feature } from 'bun:bundle';diff --git a/src/components/messages/TaskAssignmentMessage.tsx b/src/components/messages/TaskAssignmentMessage.tsxindex e468efe..1332852 100644--- a/src/components/messages/TaskAssignmentMessage.tsx+++ b/src/components/messages/TaskAssignmentMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { isTaskAssignment, type TaskAssignmentMessage } from '../../utils/teammateMailbox.js';diff --git a/src/components/messages/UserAgentNotificationMessage.tsx b/src/components/messages/UserAgentNotificationMessage.tsxindex dea36fd..01e963c 100644--- a/src/components/messages/UserAgentNotificationMessage.tsx+++ b/src/components/messages/UserAgentNotificationMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';import { BLACK_CIRCLE } from '../../constants/figures.js';diff --git a/src/components/messages/UserBashInputMessage.tsx b/src/components/messages/UserBashInputMessage.tsxindex 90fe1f0..3a4ef74 100644--- a/src/components/messages/UserBashInputMessage.tsx+++ b/src/components/messages/UserBashInputMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';import { Box, Text } from '../../ink.js';diff --git a/src/components/messages/UserBashOutputMessage.tsx b/src/components/messages/UserBashOutputMessage.tsxindex a4797f9..e79b706 100644--- a/src/components/messages/UserBashOutputMessage.tsx+++ b/src/components/messages/UserBashOutputMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import BashToolResultMessage from '../../tools/BashTool/BashToolResultMessage.js';import { extractTag } from '../../utils/messages.js';diff --git a/src/components/messages/UserChannelMessage.tsx b/src/components/messages/UserChannelMessage.tsxindex cf106a6..cd09695 100644--- a/src/components/messages/UserChannelMessage.tsx+++ b/src/components/messages/UserChannelMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';import { CHANNEL_ARROW } from '../../constants/figures.js';diff --git a/src/components/messages/UserCommandMessage.tsx b/src/components/messages/UserCommandMessage.tsxindex 19b74c7..92eda35 100644--- a/src/components/messages/UserCommandMessage.tsx+++ b/src/components/messages/UserCommandMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import figures from 'figures';import * as React from 'react';diff --git a/src/components/messages/UserImageMessage.tsx b/src/components/messages/UserImageMessage.tsxindex f730ce2..9963cf1 100644--- a/src/components/messages/UserImageMessage.tsx+++ b/src/components/messages/UserImageMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { pathToFileURL } from 'url';import Link from '../../ink/components/Link.js';diff --git a/src/components/messages/UserLocalCommandOutputMessage.tsx b/src/components/messages/UserLocalCommandOutputMessage.tsxindex d7838a5..1d7b8fe 100644--- a/src/components/messages/UserLocalCommandOutputMessage.tsx+++ b/src/components/messages/UserLocalCommandOutputMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { DIAMOND_FILLED, DIAMOND_OPEN } from '../../constants/figures.js';import { NO_CONTENT_MESSAGE } from '../../constants/messages.js';diff --git a/src/components/messages/UserMemoryInputMessage.tsx b/src/components/messages/UserMemoryInputMessage.tsxindex bde87d0..79fe4a5 100644--- a/src/components/messages/UserMemoryInputMessage.tsx+++ b/src/components/messages/UserMemoryInputMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import sample from 'lodash-es/sample.js';import * as React from 'react';import { useMemo } from 'react';diff --git a/src/components/messages/UserPlanMessage.tsx b/src/components/messages/UserPlanMessage.tsxindex 726f7ae..b34e73e 100644--- a/src/components/messages/UserPlanMessage.tsx+++ b/src/components/messages/UserPlanMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { Markdown } from '../Markdown.js';diff --git a/src/components/messages/UserResourceUpdateMessage.tsx b/src/components/messages/UserResourceUpdateMessage.tsxindex c17d4a8..f0c7cde 100644--- a/src/components/messages/UserResourceUpdateMessage.tsx+++ b/src/components/messages/UserResourceUpdateMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';import { REFRESH_ARROW } from '../../constants/figures.js';diff --git a/src/components/messages/UserTeammateMessage.tsx b/src/components/messages/UserTeammateMessage.tsxindex 0eaad84..23acae4 100644--- a/src/components/messages/UserTeammateMessage.tsx+++ b/src/components/messages/UserTeammateMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import figures from 'figures';import * as React from 'react';diff --git a/src/components/messages/UserTextMessage.tsx b/src/components/messages/UserTextMessage.tsxindex d6628fe..7460d64 100644--- a/src/components/messages/UserTextMessage.tsx+++ b/src/components/messages/UserTextMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import type { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';diff --git a/src/components/messages/UserToolResultMessage/RejectedPlanMessage.tsx b/src/components/messages/UserToolResultMessage/RejectedPlanMessage.tsxindex b84a4a8..e24c0ad 100644--- a/src/components/messages/UserToolResultMessage/RejectedPlanMessage.tsx+++ b/src/components/messages/UserToolResultMessage/RejectedPlanMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Markdown } from 'src/components/Markdown.js';import { MessageResponse } from 'src/components/MessageResponse.js';diff --git a/src/components/messages/UserToolResultMessage/RejectedToolUseMessage.tsx b/src/components/messages/UserToolResultMessage/RejectedToolUseMessage.tsxindex ce8b37b..fc44f31 100644--- a/src/components/messages/UserToolResultMessage/RejectedToolUseMessage.tsx+++ b/src/components/messages/UserToolResultMessage/RejectedToolUseMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Text } from '../../../ink.js';import { MessageResponse } from '../../MessageResponse.js';diff --git a/src/components/messages/UserToolResultMessage/UserToolCanceledMessage.tsx b/src/components/messages/UserToolResultMessage/UserToolCanceledMessage.tsxindex 5e83838..7f76575 100644--- a/src/components/messages/UserToolResultMessage/UserToolCanceledMessage.tsx+++ b/src/components/messages/UserToolResultMessage/UserToolCanceledMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { InterruptedByUser } from 'src/components/InterruptedByUser.js';import { MessageResponse } from 'src/components/MessageResponse.js';diff --git a/src/components/messages/UserToolResultMessage/UserToolErrorMessage.tsx b/src/components/messages/UserToolResultMessage/UserToolErrorMessage.tsxindex 021a9c7..99519ef 100644--- a/src/components/messages/UserToolResultMessage/UserToolErrorMessage.tsx+++ b/src/components/messages/UserToolResultMessage/UserToolErrorMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import type { ToolResultBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';diff --git a/src/components/messages/UserToolResultMessage/UserToolRejectMessage.tsx b/src/components/messages/UserToolResultMessage/UserToolRejectMessage.tsxindex 81d3e78..5b4b71f 100644--- a/src/components/messages/UserToolResultMessage/UserToolRejectMessage.tsx+++ b/src/components/messages/UserToolResultMessage/UserToolRejectMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useTerminalSize } from '../../../hooks/useTerminalSize.js';import { useTheme } from '../../../ink.js';diff --git a/src/components/messages/UserToolResultMessage/UserToolResultMessage.tsx b/src/components/messages/UserToolResultMessage/UserToolResultMessage.tsxindex 028eff2..d3d5e03 100644--- a/src/components/messages/UserToolResultMessage/UserToolResultMessage.tsx+++ b/src/components/messages/UserToolResultMessage/UserToolResultMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolResultBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';import type { Tools } from '../../../Tool.js';diff --git a/src/components/messages/UserToolResultMessage/utils.tsx b/src/components/messages/UserToolResultMessage/utils.tsxindex beac7b6..1806699 100644--- a/src/components/messages/UserToolResultMessage/utils.tsx+++ b/src/components/messages/UserToolResultMessage/utils.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolUseBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import { useMemo } from 'react';import { findToolByName, type Tool, type Tools } from '../../../Tool.js';diff --git a/src/components/messages/teamMemCollapsed.tsx b/src/components/messages/teamMemCollapsed.tsxindex 14d9a8c..270da33 100644--- a/src/components/messages/teamMemCollapsed.tsx+++ b/src/components/messages/teamMemCollapsed.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Text } from '../../ink.js';import type { CollapsedReadSearchGroup } from '../../types/message.js';diff --git a/src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.tsx b/src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.tsxindex 3871915..39e83a3 100644--- a/src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.tsx+++ b/src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { Base64ImageSource, ImageBlockParam } from '@anthropic-ai/sdk/resources/messages.mjs';import React, { Suspense, use, useCallback, useMemo, useRef, useState } from 'react';import { useSettings } from '../../../hooks/useSettings.js';diff --git a/src/components/permissions/AskUserQuestionPermissionRequest/PreviewBox.tsx b/src/components/permissions/AskUserQuestionPermissionRequest/PreviewBox.tsxindex 3a611d6..1f1de7d 100644--- a/src/components/permissions/AskUserQuestionPermissionRequest/PreviewBox.tsx+++ b/src/components/permissions/AskUserQuestionPermissionRequest/PreviewBox.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { Suspense, use, useMemo } from 'react';import { useSettings } from '../../../hooks/useSettings.js';import { useTerminalSize } from '../../../hooks/useTerminalSize.js';diff --git a/src/components/permissions/AskUserQuestionPermissionRequest/QuestionNavigationBar.tsx b/src/components/permissions/AskUserQuestionPermissionRequest/QuestionNavigationBar.tsxindex 790b793..b7e06d2 100644--- a/src/components/permissions/AskUserQuestionPermissionRequest/QuestionNavigationBar.tsx+++ b/src/components/permissions/AskUserQuestionPermissionRequest/QuestionNavigationBar.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useMemo } from 'react';import { useTerminalSize } from '../../../hooks/useTerminalSize.js';diff --git a/src/components/permissions/AskUserQuestionPermissionRequest/QuestionView.tsx b/src/components/permissions/AskUserQuestionPermissionRequest/QuestionView.tsxindex cce55bf..87eb7f5 100644--- a/src/components/permissions/AskUserQuestionPermissionRequest/QuestionView.tsx+++ b/src/components/permissions/AskUserQuestionPermissionRequest/QuestionView.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useCallback, useState } from 'react';import type { KeyboardEvent } from '../../../ink/events/keyboard-event.js';diff --git a/src/components/permissions/AskUserQuestionPermissionRequest/SubmitQuestionsView.tsx b/src/components/permissions/AskUserQuestionPermissionRequest/SubmitQuestionsView.tsxindex d0b5fb3..8117877 100644--- a/src/components/permissions/AskUserQuestionPermissionRequest/SubmitQuestionsView.tsx+++ b/src/components/permissions/AskUserQuestionPermissionRequest/SubmitQuestionsView.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React from 'react';import { Box, Text } from '../../../ink.js';diff --git a/src/components/permissions/BashPermissionRequest/BashPermissionRequest.tsx b/src/components/permissions/BashPermissionRequest/BashPermissionRequest.tsxindex bb19372..a2c1301 100644--- a/src/components/permissions/BashPermissionRequest/BashPermissionRequest.tsx+++ b/src/components/permissions/BashPermissionRequest/BashPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import figures from 'figures';import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';diff --git a/src/components/permissions/ComputerUseApproval/ComputerUseApproval.tsx b/src/components/permissions/ComputerUseApproval/ComputerUseApproval.tsxindex 9d85595..a5398a5 100644--- a/src/components/permissions/ComputerUseApproval/ComputerUseApproval.tsx+++ b/src/components/permissions/ComputerUseApproval/ComputerUseApproval.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { getSentinelCategory } from '@ant/computer-use-mcp/sentinelApps';import type { CuPermissionRequest, CuPermissionResponse } from '@ant/computer-use-mcp/types';import { DEFAULT_GRANT_FLAGS } from '@ant/computer-use-mcp/types';diff --git a/src/components/permissions/EnterPlanModePermissionRequest/EnterPlanModePermissionRequest.tsx b/src/components/permissions/EnterPlanModePermissionRequest/EnterPlanModePermissionRequest.tsxindex d680f0c..298e7b7 100644--- a/src/components/permissions/EnterPlanModePermissionRequest/EnterPlanModePermissionRequest.tsx+++ b/src/components/permissions/EnterPlanModePermissionRequest/EnterPlanModePermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { handlePlanModeTransition } from '../../../bootstrap/state.js';import { Box, Text } from '../../../ink.js';diff --git a/src/components/permissions/FallbackPermissionRequest.tsx b/src/components/permissions/FallbackPermissionRequest.tsxindex 2e88978..6371930 100644--- a/src/components/permissions/FallbackPermissionRequest.tsx+++ b/src/components/permissions/FallbackPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useMemo } from 'react';import { getOriginalCwd } from '../../bootstrap/state.js';import { Box, Text, useTheme } from '../../ink.js';diff --git a/src/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.tsx b/src/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.tsxindex 65a9fb9..a6bbdc3 100644--- a/src/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.tsx+++ b/src/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { basename, relative } from 'path';import React from 'react';import { FileEditToolDiff } from 'src/components/FileEditToolDiff.js';diff --git a/src/components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.tsx b/src/components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.tsxindex af763c6..7ffd685 100644--- a/src/components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.tsx+++ b/src/components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { basename, relative } from 'path';import React, { useMemo } from 'react';import type { z } from 'zod/v4';diff --git a/src/components/permissions/FileWritePermissionRequest/FileWriteToolDiff.tsx b/src/components/permissions/FileWritePermissionRequest/FileWriteToolDiff.tsxindex 37052a7..107ca5c 100644--- a/src/components/permissions/FileWritePermissionRequest/FileWriteToolDiff.tsx+++ b/src/components/permissions/FileWritePermissionRequest/FileWriteToolDiff.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useMemo } from 'react';import { useTerminalSize } from '../../../hooks/useTerminalSize.js';diff --git a/src/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsx b/src/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsxindex e6275cb..6ca7c19 100644--- a/src/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsx+++ b/src/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text, useTheme } from '../../../ink.js';import { FallbackPermissionRequest } from '../FallbackPermissionRequest.js';diff --git a/src/components/permissions/NotebookEditPermissionRequest/NotebookEditPermissionRequest.tsx b/src/components/permissions/NotebookEditPermissionRequest/NotebookEditPermissionRequest.tsxindex f1029f7..7e8a923 100644--- a/src/components/permissions/NotebookEditPermissionRequest/NotebookEditPermissionRequest.tsx+++ b/src/components/permissions/NotebookEditPermissionRequest/NotebookEditPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { basename } from 'path';import React from 'react';import type { z } from 'zod/v4';diff --git a/src/components/permissions/NotebookEditPermissionRequest/NotebookEditToolDiff.tsx b/src/components/permissions/NotebookEditPermissionRequest/NotebookEditToolDiff.tsxindex af75daf..495e4c5 100644--- a/src/components/permissions/NotebookEditPermissionRequest/NotebookEditToolDiff.tsx+++ b/src/components/permissions/NotebookEditPermissionRequest/NotebookEditToolDiff.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { relative } from 'path';import * as React from 'react';import { Suspense, use, useMemo } from 'react';diff --git a/src/components/permissions/PermissionDecisionDebugInfo.tsx b/src/components/permissions/PermissionDecisionDebugInfo.tsxindex 54c161f..977f12a 100644--- a/src/components/permissions/PermissionDecisionDebugInfo.tsx+++ b/src/components/permissions/PermissionDecisionDebugInfo.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import chalk from 'chalk';import figures from 'figures';diff --git a/src/components/permissions/PermissionDialog.tsx b/src/components/permissions/PermissionDialog.tsxindex b93320c..fa0770a 100644--- a/src/components/permissions/PermissionDialog.tsx+++ b/src/components/permissions/PermissionDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box } from '../../ink.js';import type { Theme } from '../../utils/theme.js';diff --git a/src/components/permissions/PermissionExplanation.tsx b/src/components/permissions/PermissionExplanation.tsxindex b7fd36b..f0ea4d8 100644--- a/src/components/permissions/PermissionExplanation.tsx+++ b/src/components/permissions/PermissionExplanation.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { Suspense, use, useState } from 'react';import { Box, Text } from '../../ink.js';import { useKeybinding } from '../../keybindings/useKeybinding.js';diff --git a/src/components/permissions/PermissionPrompt.tsx b/src/components/permissions/PermissionPrompt.tsxindex cc04708..0b1f700 100644--- a/src/components/permissions/PermissionPrompt.tsx+++ b/src/components/permissions/PermissionPrompt.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode, useCallback, useMemo, useState } from 'react';import { Box, Text } from '../../ink.js';import type { KeybindingAction } from '../../keybindings/types.js';diff --git a/src/components/permissions/PermissionRequest.tsx b/src/components/permissions/PermissionRequest.tsxindex 2def623..62d098d 100644--- a/src/components/permissions/PermissionRequest.tsx+++ b/src/components/permissions/PermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { EnterPlanModeTool } from 'src/tools/EnterPlanModeTool/EnterPlanModeTool.js';diff --git a/src/components/permissions/PermissionRequestTitle.tsx b/src/components/permissions/PermissionRequestTitle.tsxindex f93b6ff..1b51f40 100644--- a/src/components/permissions/PermissionRequestTitle.tsx+++ b/src/components/permissions/PermissionRequestTitle.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import type { Theme } from '../../utils/theme.js';diff --git a/src/components/permissions/PermissionRuleExplanation.tsx b/src/components/permissions/PermissionRuleExplanation.tsxindex 97ff194..7201926 100644--- a/src/components/permissions/PermissionRuleExplanation.tsx+++ b/src/components/permissions/PermissionRuleExplanation.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import chalk from 'chalk';import React from 'react';diff --git a/src/components/permissions/SandboxPermissionRequest.tsx b/src/components/permissions/SandboxPermissionRequest.tsxindex bd99421..d7d434b 100644--- a/src/components/permissions/SandboxPermissionRequest.tsx+++ b/src/components/permissions/SandboxPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from 'src/ink.js';import { type NetworkHostPattern, shouldAllowManagedSandboxDomainsOnly } from 'src/utils/sandbox/sandbox-adapter.js';diff --git a/src/components/permissions/SedEditPermissionRequest/SedEditPermissionRequest.tsx b/src/components/permissions/SedEditPermissionRequest/SedEditPermissionRequest.tsxindex be81a18..241e1e3 100644--- a/src/components/permissions/SedEditPermissionRequest/SedEditPermissionRequest.tsx+++ b/src/components/permissions/SedEditPermissionRequest/SedEditPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { basename, relative } from 'path';import React, { Suspense, use, useMemo } from 'react';import { FileEditToolDiff } from 'src/components/FileEditToolDiff.js';diff --git a/src/components/permissions/SkillPermissionRequest/SkillPermissionRequest.tsx b/src/components/permissions/SkillPermissionRequest/SkillPermissionRequest.tsxindex 346f846..59d3997 100644--- a/src/components/permissions/SkillPermissionRequest/SkillPermissionRequest.tsx+++ b/src/components/permissions/SkillPermissionRequest/SkillPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useMemo } from 'react';import { logError } from 'src/utils/log.js';import { getOriginalCwd } from '../../../bootstrap/state.js';diff --git a/src/components/permissions/WebFetchPermissionRequest/WebFetchPermissionRequest.tsx b/src/components/permissions/WebFetchPermissionRequest/WebFetchPermissionRequest.tsxindex 28a548c..916ebd4 100644--- a/src/components/permissions/WebFetchPermissionRequest/WebFetchPermissionRequest.tsx+++ b/src/components/permissions/WebFetchPermissionRequest/WebFetchPermissionRequest.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useMemo } from 'react';import { Box, Text, useTheme } from '../../../ink.js';import { WebFetchTool } from '../../../tools/WebFetchTool/WebFetchTool.js';diff --git a/src/components/permissions/WorkerBadge.tsx b/src/components/permissions/WorkerBadge.tsxindex 6ee842b..bc05634 100644--- a/src/components/permissions/WorkerBadge.tsx+++ b/src/components/permissions/WorkerBadge.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { BLACK_CIRCLE } from '../../constants/figures.js';import { Box, Text } from '../../ink.js';diff --git a/src/components/permissions/WorkerPendingPermission.tsx b/src/components/permissions/WorkerPendingPermission.tsxindex bff845d..2cee7d9 100644--- a/src/components/permissions/WorkerPendingPermission.tsx+++ b/src/components/permissions/WorkerPendingPermission.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { getAgentName, getTeammateColor, getTeamName } from '../../utils/teammate.js';diff --git a/src/components/permissions/rules/AddPermissionRules.tsx b/src/components/permissions/rules/AddPermissionRules.tsxindex 2c56609..d7f655a 100644--- a/src/components/permissions/rules/AddPermissionRules.tsx+++ b/src/components/permissions/rules/AddPermissionRules.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useCallback } from 'react';import { Select } from '../../../components/CustomSelect/select.js';diff --git a/src/components/permissions/rules/AddWorkspaceDirectory.tsx b/src/components/permissions/rules/AddWorkspaceDirectory.tsxindex 7ff97fa..e03cb06 100644--- a/src/components/permissions/rules/AddWorkspaceDirectory.tsx+++ b/src/components/permissions/rules/AddWorkspaceDirectory.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useCallback, useEffect, useMemo, useState } from 'react';diff --git a/src/components/permissions/rules/PermissionRuleDescription.tsx b/src/components/permissions/rules/PermissionRuleDescription.tsxindex 8d5c13a..53eda62 100644--- a/src/components/permissions/rules/PermissionRuleDescription.tsx+++ b/src/components/permissions/rules/PermissionRuleDescription.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Text } from '../../../ink.js';import { BashTool } from '../../../tools/BashTool/BashTool.js';diff --git a/src/components/permissions/rules/PermissionRuleInput.tsx b/src/components/permissions/rules/PermissionRuleInput.tsxindex 13b7b0b..4aea5c6 100644--- a/src/components/permissions/rules/PermissionRuleInput.tsx+++ b/src/components/permissions/rules/PermissionRuleInput.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useState } from 'react';diff --git a/src/components/permissions/rules/PermissionRuleList.tsx b/src/components/permissions/rules/PermissionRuleList.tsxindex 494d182..ccca359 100644--- a/src/components/permissions/rules/PermissionRuleList.tsx+++ b/src/components/permissions/rules/PermissionRuleList.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import chalk from 'chalk';import figures from 'figures';import * as React from 'react';diff --git a/src/components/permissions/rules/RecentDenialsTab.tsx b/src/components/permissions/rules/RecentDenialsTab.tsxindex 274ad55..0905d67 100644--- a/src/components/permissions/rules/RecentDenialsTab.tsx+++ b/src/components/permissions/rules/RecentDenialsTab.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useCallback, useEffect, useState } from 'react';// eslint-disable-next-line custom-rules/prefer-use-keybindings -- 'r' is a view-specific key, not a global keybindingdiff --git a/src/components/permissions/rules/RemoveWorkspaceDirectory.tsx b/src/components/permissions/rules/RemoveWorkspaceDirectory.tsxindex 7174df1..b66dea0 100644--- a/src/components/permissions/rules/RemoveWorkspaceDirectory.tsx+++ b/src/components/permissions/rules/RemoveWorkspaceDirectory.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useCallback } from 'react';import { Select } from '../../../components/CustomSelect/select.js';diff --git a/src/components/permissions/rules/WorkspaceTab.tsx b/src/components/permissions/rules/WorkspaceTab.tsxindex 8bee7ef..7e51d3d 100644--- a/src/components/permissions/rules/WorkspaceTab.tsx+++ b/src/components/permissions/rules/WorkspaceTab.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useCallback, useEffect } from 'react';diff --git a/src/components/sandbox/SandboxConfigTab.tsx b/src/components/sandbox/SandboxConfigTab.tsxindex dc62f88..97e40fc 100644--- a/src/components/sandbox/SandboxConfigTab.tsx+++ b/src/components/sandbox/SandboxConfigTab.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box, Text } from '../../ink.js';import { SandboxManager, shouldAllowManagedSandboxDomainsOnly } from '../../utils/sandbox/sandbox-adapter.js';diff --git a/src/components/sandbox/SandboxDependenciesTab.tsx b/src/components/sandbox/SandboxDependenciesTab.tsxindex c9ecbc5..81a5be8 100644--- a/src/components/sandbox/SandboxDependenciesTab.tsx+++ b/src/components/sandbox/SandboxDependenciesTab.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';import { getPlatform } from '../../utils/platform.js';diff --git a/src/components/sandbox/SandboxDoctorSection.tsx b/src/components/sandbox/SandboxDoctorSection.tsxindex 5d899db..4cf10a8 100644--- a/src/components/sandbox/SandboxDoctorSection.tsx+++ b/src/components/sandbox/SandboxDoctorSection.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, Text } from '../../ink.js';import { SandboxManager } from '../../utils/sandbox/sandbox-adapter.js';diff --git a/src/components/sandbox/SandboxOverridesTab.tsx b/src/components/sandbox/SandboxOverridesTab.tsxindex 5990b15..cb9e305 100644--- a/src/components/sandbox/SandboxOverridesTab.tsx+++ b/src/components/sandbox/SandboxOverridesTab.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, color, Link, Text, useTheme } from '../../ink.js';import type { CommandResultDisplay } from '../../types/command.js';diff --git a/src/components/sandbox/SandboxSettings.tsx b/src/components/sandbox/SandboxSettings.tsxindex 77815a2..35bb3cf 100644--- a/src/components/sandbox/SandboxSettings.tsx+++ b/src/components/sandbox/SandboxSettings.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Box, color, Link, Text, useTheme } from '../../ink.js';import { useKeybindings } from '../../keybindings/useKeybinding.js';diff --git a/src/components/shell/ExpandShellOutputContext.tsx b/src/components/shell/ExpandShellOutputContext.tsxindex 2452208..899a2ae 100644--- a/src/components/shell/ExpandShellOutputContext.tsx+++ b/src/components/shell/ExpandShellOutputContext.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useContext } from 'react';diff --git a/src/components/shell/OutputLine.tsx b/src/components/shell/OutputLine.tsxindex a6c5597..2eecdad 100644--- a/src/components/shell/OutputLine.tsx+++ b/src/components/shell/OutputLine.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useMemo } from 'react';import { useTerminalSize } from '../../hooks/useTerminalSize.js';diff --git a/src/components/shell/ShellProgressMessage.tsx b/src/components/shell/ShellProgressMessage.tsxindex 962cce1..6d4c0af 100644--- a/src/components/shell/ShellProgressMessage.tsx+++ b/src/components/shell/ShellProgressMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import stripAnsi from 'strip-ansi';import { Box, Text } from '../../ink.js';diff --git a/src/components/shell/ShellTimeDisplay.tsx b/src/components/shell/ShellTimeDisplay.tsxindex d541ede..07bdcb8 100644--- a/src/components/shell/ShellTimeDisplay.tsx+++ b/src/components/shell/ShellTimeDisplay.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { Text } from '../../ink.js';import { formatDuration } from '../../utils/format.js';diff --git a/src/components/skills/SkillsMenu.tsx b/src/components/skills/SkillsMenu.tsxindex 9c7facb..875b8db 100644--- a/src/components/skills/SkillsMenu.tsx+++ b/src/components/skills/SkillsMenu.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import capitalize from 'lodash-es/capitalize.js';import * as React from 'react';import { useMemo } from 'react';diff --git a/src/components/tasks/AsyncAgentDetailDialog.tsx b/src/components/tasks/AsyncAgentDetailDialog.tsxindex ee18f3b..77b9fd7 100644--- a/src/components/tasks/AsyncAgentDetailDialog.tsx+++ b/src/components/tasks/AsyncAgentDetailDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useMemo } from 'react';import type { DeepImmutable } from 'src/types/utils.js';import { useElapsedTime } from '../../hooks/useElapsedTime.js';diff --git a/src/components/tasks/BackgroundTask.tsx b/src/components/tasks/BackgroundTask.tsxindex 4084db3..b68d832 100644--- a/src/components/tasks/BackgroundTask.tsx+++ b/src/components/tasks/BackgroundTask.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Text } from 'src/ink.js';import type { BackgroundTaskState } from 'src/tasks/types.js';diff --git a/src/components/tasks/BackgroundTaskStatus.tsx b/src/components/tasks/BackgroundTaskStatus.tsxindex 7476608..2ea143a 100644--- a/src/components/tasks/BackgroundTaskStatus.tsx+++ b/src/components/tasks/BackgroundTaskStatus.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import * as React from 'react';import { useMemo, useState } from 'react';diff --git a/src/components/tasks/BackgroundTasksDialog.tsx b/src/components/tasks/BackgroundTasksDialog.tsxindex 7abd9c0..beb9902 100644--- a/src/components/tasks/BackgroundTasksDialog.tsx+++ b/src/components/tasks/BackgroundTasksDialog.tsx@@ -1,8 +1,9 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import figures from 'figures';-import React, { type ReactNode, useEffect, useEffectEvent, useMemo, useRef, useState } from 'react';+import React, { type ReactNode, useEffect, useMemo, useRef, useState } from 'react';import { isCoordinatorMode } from 'src/coordinator/coordinatorMode.js';+import { useEffectEventCompat } from 'src/hooks/useEffectEventCompat.js';import { useTerminalSize } from 'src/hooks/useTerminalSize.js';import { useAppState, useSetAppState } from 'src/state/AppState.js';import { enterTeammateView, exitTeammateView } from 'src/state/teammateViewHelpers.js';@@ -321,7 +322,7 @@ export function BackgroundTasksDialog({// Wrap onDone in useEffectEvent to get a stable reference that always calls// the current onDone callback without causing the effect to re-fire.- const onDoneEvent = useEffectEvent(onDone);+ const onDoneEvent = useEffectEventCompat(onDone);useEffect(() => {if (viewState.mode !== 'list') {const task = (typedTasks ?? {})[viewState.itemId];diff --git a/src/components/tasks/DreamDetailDialog.tsx b/src/components/tasks/DreamDetailDialog.tsxindex 74fdee5..6b81d74 100644--- a/src/components/tasks/DreamDetailDialog.tsx+++ b/src/components/tasks/DreamDetailDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import type { DeepImmutable } from 'src/types/utils.js';import { useElapsedTime } from '../../hooks/useElapsedTime.js';diff --git a/src/components/tasks/InProcessTeammateDetailDialog.tsx b/src/components/tasks/InProcessTeammateDetailDialog.tsxindex 3f71c60..58d6588 100644--- a/src/components/tasks/InProcessTeammateDetailDialog.tsx+++ b/src/components/tasks/InProcessTeammateDetailDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useMemo } from 'react';import type { DeepImmutable } from 'src/types/utils.js';import { useElapsedTime } from '../../hooks/useElapsedTime.js';diff --git a/src/components/tasks/RemoteSessionDetailDialog.tsx b/src/components/tasks/RemoteSessionDetailDialog.tsxindex 153cd7a..c305548 100644--- a/src/components/tasks/RemoteSessionDetailDialog.tsx+++ b/src/components/tasks/RemoteSessionDetailDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React, { useMemo, useState } from 'react';import type { SDKMessage } from 'src/entrypoints/agentSdkTypes.js';diff --git a/src/components/tasks/RemoteSessionProgress.tsx b/src/components/tasks/RemoteSessionProgress.tsxindex 4e7a329..e8ed94b 100644--- a/src/components/tasks/RemoteSessionProgress.tsx+++ b/src/components/tasks/RemoteSessionProgress.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useRef } from 'react';import type { RemoteAgentTaskState } from 'src/tasks/RemoteAgentTask/RemoteAgentTask.js';import type { DeepImmutable } from 'src/types/utils.js';diff --git a/src/components/tasks/ShellDetailDialog.tsx b/src/components/tasks/ShellDetailDialog.tsxindex 69130a4..9731c6e 100644--- a/src/components/tasks/ShellDetailDialog.tsx+++ b/src/components/tasks/ShellDetailDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { Suspense, use, useDeferredValue, useEffect, useState } from 'react';import type { DeepImmutable } from 'src/types/utils.js';import type { CommandResultDisplay } from '../../commands.js';diff --git a/src/components/tasks/ShellProgress.tsx b/src/components/tasks/ShellProgress.tsxindex 02bd020..55ef160 100644--- a/src/components/tasks/ShellProgress.tsx+++ b/src/components/tasks/ShellProgress.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ReactNode } from 'react';import React from 'react';import { Text } from 'src/ink.js';diff --git a/src/components/teams/TeamStatus.tsx b/src/components/teams/TeamStatus.tsxindex 61bde72..81c1606 100644--- a/src/components/teams/TeamStatus.tsx+++ b/src/components/teams/TeamStatus.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Text } from '../../ink.js';import { useAppState } from '../../state/AppState.js';diff --git a/src/components/teams/TeamsDialog.tsx b/src/components/teams/TeamsDialog.tsxindex 4f8a6e6..047c9b2 100644--- a/src/components/teams/TeamsDialog.tsx+++ b/src/components/teams/TeamsDialog.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { randomUUID } from 'crypto';import figures from 'figures';import * as React from 'react';diff --git a/src/components/ui/OrderedList.tsx b/src/components/ui/OrderedList.tsxindex 54ca8a0..2228ede 100644--- a/src/components/ui/OrderedList.tsx+++ b/src/components/ui/OrderedList.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, isValidElement, type ReactNode, useContext } from 'react';import { Box } from '../../ink.js';import { OrderedListItem, OrderedListItemContext } from './OrderedListItem.js';diff --git a/src/components/ui/OrderedListItem.tsx b/src/components/ui/OrderedListItem.tsxindex 08b1b41..c9b4c1d 100644--- a/src/components/ui/OrderedListItem.tsx+++ b/src/components/ui/OrderedListItem.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, type ReactNode, useContext } from 'react';import { Box, Text } from '../../ink.js';export const OrderedListItemContext = createContext({diff --git a/src/components/ui/TreeSelect.tsx b/src/components/ui/TreeSelect.tsxindex d65d75c..268ff5d 100644--- a/src/components/ui/TreeSelect.tsx+++ b/src/components/ui/TreeSelect.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import type { KeyboardEvent } from '../../ink/events/keyboard-event.js';import { Box } from '../../ink.js';diff --git a/src/components/wizard/WizardDialogLayout.tsx b/src/components/wizard/WizardDialogLayout.tsxindex a0381d0..dd549dd 100644--- a/src/components/wizard/WizardDialogLayout.tsx+++ b/src/components/wizard/WizardDialogLayout.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type ReactNode } from 'react';import type { Theme } from '../../utils/theme.js';import { Dialog } from '../design-system/Dialog.js';diff --git a/src/components/wizard/WizardProvider.tsx b/src/components/wizard/WizardProvider.tsxindex bb7e027..2689cd8 100644--- a/src/components/wizard/WizardProvider.tsx+++ b/src/components/wizard/WizardProvider.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, type ReactNode, useCallback, useEffect, useMemo, useState } from 'react';import { useExitOnCtrlCDWithKeybindings } from '../../hooks/useExitOnCtrlCDWithKeybindings.js';import type { WizardContextValue, WizardProviderProps } from './types.js';diff --git a/src/context/QueuedMessageContext.tsx b/src/context/QueuedMessageContext.tsxindex 1153d12..818170a 100644--- a/src/context/QueuedMessageContext.tsx+++ b/src/context/QueuedMessageContext.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { Box } from '../ink.js';type QueuedMessageContextValue = {diff --git a/src/context/fpsMetrics.tsx b/src/context/fpsMetrics.tsxindex 2707944..b0eb727 100644--- a/src/context/fpsMetrics.tsx+++ b/src/context/fpsMetrics.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, useContext } from 'react';import type { FpsMetrics } from '../utils/fpsTracker.js';type FpsMetricsGetter = () => FpsMetrics | undefined;diff --git a/src/context/mailbox.tsx b/src/context/mailbox.tsxindex dc85920..4821d2d 100644--- a/src/context/mailbox.tsx+++ b/src/context/mailbox.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, useContext, useMemo } from 'react';import { Mailbox } from '../utils/mailbox.js';const MailboxContext = createContext<Mailbox | undefined>(undefined);diff --git a/src/context/modalContext.tsx b/src/context/modalContext.tsxindex 031de7c..f43ef39 100644--- a/src/context/modalContext.tsx+++ b/src/context/modalContext.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { createContext, type RefObject, useContext } from 'react';import type { ScrollBoxHandle } from '../ink/components/ScrollBox.js';diff --git a/src/context/overlayContext.tsx b/src/context/overlayContext.tsxindex 0f20f62..bb2cf27 100644--- a/src/context/overlayContext.tsx+++ b/src/context/overlayContext.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Overlay tracking for Escape key coordination.*diff --git a/src/context/promptOverlayContext.tsx b/src/context/promptOverlayContext.tsxindex 5376b1a..98e36bb 100644--- a/src/context/promptOverlayContext.tsx+++ b/src/context/promptOverlayContext.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Portal for content that floats above the prompt so it escapes* FullscreenLayout's bottom-slot `overflowY:hidden` clip.diff --git a/src/context/stats.tsx b/src/context/stats.tsxindex 391b2c3..5611e2a 100644--- a/src/context/stats.tsx+++ b/src/context/stats.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, useCallback, useContext, useEffect, useMemo } from 'react';import { saveCurrentProjectConfig } from '../utils/config.js';export type StatsStore = {diff --git a/src/context/voice.tsx b/src/context/voice.tsxindex 04e14dd..168b053 100644--- a/src/context/voice.tsx+++ b/src/context/voice.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, useContext, useState, useSyncExternalStore } from 'react';import { createStore, type Store } from '../state/store.js';export type VoiceState = {diff --git a/src/entrypoints/cli.tsx b/src/entrypoints/cli.tsxindex 67326f8..b8ddef2 100644--- a/src/entrypoints/cli.tsx+++ b/src/entrypoints/cli.tsx@@ -25,6 +25,41 @@ if (feature('ABLATION_BASELINE') && process.env.CLAUDE_CODE_ABLATION_BASELINE) {}}+function isEnvTruthy(value: string | undefined): boolean {+ if (!value) return false+ const normalized = value.trim().toLowerCase()+ return normalized !== '' && normalized !== '0' && normalized !== 'false' && normalized !== 'no'+}++function isLocalProviderUrl(baseUrl: string | undefined): boolean {+ if (!baseUrl) return false+ try {+ const parsed = new URL(baseUrl)+ return parsed.hostname === 'localhost' || parsed.hostname === '127.0.0.1' || parsed.hostname === '::1'+ } catch {+ return false+ }+}++function validateProviderEnvOrExit(): void {+ if (!isEnvTruthy(process.env.CLAUDE_CODE_USE_OPENAI)) {+ return+ }++ const apiKey = process.env.OPENAI_API_KEY+ const baseUrl = process.env.OPENAI_BASE_URL++ if (apiKey === 'SUA_CHAVE') {+ console.error('Invalid OPENAI_API_KEY: placeholder value SUA_CHAVE detected. Set a real key or unset for local providers.')+ process.exit(1)+ }++ if (!apiKey && !isLocalProviderUrl(baseUrl)) {+ console.error('OPENAI_API_KEY is required when CLAUDE_CODE_USE_OPENAI=1 and OPENAI_BASE_URL is not local.')+ process.exit(1)+ }+}+/*** Bootstrap entrypoint - checks for special flags before loading the full CLI.* All imports are dynamic to minimize module evaluation for fast paths.@@ -41,6 +76,8 @@ async function main(): Promise<void> {return;}+ validateProviderEnvOrExit()+// For all other paths, load the startup profilerconst {profileCheckpointdiff --git a/src/hooks/notifs/useDeprecationWarningNotification.tsx b/src/hooks/notifs/useDeprecationWarningNotification.tsxindex 0e54fc7..ae195c4 100644--- a/src/hooks/notifs/useDeprecationWarningNotification.tsx+++ b/src/hooks/notifs/useDeprecationWarningNotification.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { useEffect, useRef } from 'react';import { useNotifications } from 'src/context/notifications.js';import { getModelDeprecationWarning } from 'src/utils/model/deprecation.js';diff --git a/src/hooks/notifs/useFastModeNotification.tsx b/src/hooks/notifs/useFastModeNotification.tsxindex 786eb37..b5eaa32 100644--- a/src/hooks/notifs/useFastModeNotification.tsx+++ b/src/hooks/notifs/useFastModeNotification.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { useEffect } from 'react';import { useNotifications } from 'src/context/notifications.js';import { useAppState, useSetAppState } from 'src/state/AppState.js';diff --git a/src/hooks/notifs/useIDEStatusIndicator.tsx b/src/hooks/notifs/useIDEStatusIndicator.tsxindex 1b46333..818655b 100644--- a/src/hooks/notifs/useIDEStatusIndicator.tsx+++ b/src/hooks/notifs/useIDEStatusIndicator.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useEffect, useRef } from 'react';import { useNotifications } from 'src/context/notifications.js';import { Text } from 'src/ink.js';diff --git a/src/hooks/notifs/useLspInitializationNotification.tsx b/src/hooks/notifs/useLspInitializationNotification.tsxindex e253e9a..7b78daf 100644--- a/src/hooks/notifs/useLspInitializationNotification.tsx+++ b/src/hooks/notifs/useLspInitializationNotification.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useInterval } from 'usehooks-ts';import { getIsRemoteMode, getIsScrollDraining } from '../../bootstrap/state.js';diff --git a/src/hooks/notifs/useMcpConnectivityStatus.tsx b/src/hooks/notifs/useMcpConnectivityStatus.tsxindex 6fe5717..cfcb9a7 100644--- a/src/hooks/notifs/useMcpConnectivityStatus.tsx+++ b/src/hooks/notifs/useMcpConnectivityStatus.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect } from 'react';import { useNotifications } from 'src/context/notifications.js';diff --git a/src/hooks/notifs/usePluginAutoupdateNotification.tsx b/src/hooks/notifs/usePluginAutoupdateNotification.tsxindex 32a19ce..e22ea26 100644--- a/src/hooks/notifs/usePluginAutoupdateNotification.tsx+++ b/src/hooks/notifs/usePluginAutoupdateNotification.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useState } from 'react';import { getIsRemoteMode } from '../../bootstrap/state.js';diff --git a/src/hooks/notifs/usePluginInstallationStatus.tsx b/src/hooks/notifs/usePluginInstallationStatus.tsxindex 9be20c3..91f8566 100644--- a/src/hooks/notifs/usePluginInstallationStatus.tsx+++ b/src/hooks/notifs/usePluginInstallationStatus.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useMemo } from 'react';import { getIsRemoteMode } from '../../bootstrap/state.js';diff --git a/src/hooks/notifs/useRateLimitWarningNotification.tsx b/src/hooks/notifs/useRateLimitWarningNotification.tsxindex f545355..a7b9e77 100644--- a/src/hooks/notifs/useRateLimitWarningNotification.tsx+++ b/src/hooks/notifs/useRateLimitWarningNotification.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useMemo, useRef, useState } from 'react';import { useNotifications } from 'src/context/notifications.js';diff --git a/src/hooks/notifs/useSettingsErrors.tsx b/src/hooks/notifs/useSettingsErrors.tsxindex d269482..5b2cd44 100644--- a/src/hooks/notifs/useSettingsErrors.tsx+++ b/src/hooks/notifs/useSettingsErrors.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { useCallback, useEffect, useState } from 'react';import { useNotifications } from 'src/context/notifications.js';import { getIsRemoteMode } from '../../bootstrap/state.js';diff --git a/src/hooks/useCanUseTool.tsx b/src/hooks/useCanUseTool.tsxindex 1eb77d5..c733987 100644--- a/src/hooks/useCanUseTool.tsx+++ b/src/hooks/useCanUseTool.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import { APIUserAbortError } from '@anthropic-ai/sdk';import * as React from 'react';diff --git a/src/hooks/useClaudeCodeHintRecommendation.tsx b/src/hooks/useClaudeCodeHintRecommendation.tsxindex 390185b..cea6700 100644--- a/src/hooks/useClaudeCodeHintRecommendation.tsx+++ b/src/hooks/useClaudeCodeHintRecommendation.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Surfaces plugin-install prompts driven by `<claude-code-hint />` tags* that CLIs/SDKs emit to stderr. See docs/claude-code-hints.md.diff --git a/src/hooks/useCommandKeybindings.tsx b/src/hooks/useCommandKeybindings.tsxindex 55810d6..a155b9c 100644--- a/src/hooks/useCommandKeybindings.tsx+++ b/src/hooks/useCommandKeybindings.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Component that registers keybinding handlers for command bindings.*diff --git a/src/hooks/useEffectEventCompat.ts b/src/hooks/useEffectEventCompat.tsnew file mode 100644index 0000000..0db83d0--- /dev/null+++ b/src/hooks/useEffectEventCompat.ts@@ -0,0 +1,16 @@+import { useCallback, useLayoutEffect, useRef } from 'react'++/**+ * React 18-compatible replacement for React 19's useEffectEvent.+ */+export function useEffectEventCompat<Args extends unknown[], Return>(+ fn: (...args: Args) => Return,+): (...args: Args) => Return {+ const fnRef = useRef(fn)++ useLayoutEffect(() => {+ fnRef.current = fn+ }, [fn])++ return useCallback((...args: Args) => fnRef.current(...args), [])+}\ No newline at end of filediff --git a/src/hooks/useIDEIntegration.tsx b/src/hooks/useIDEIntegration.tsxindex 65f9ff3..a3434f1 100644--- a/src/hooks/useIDEIntegration.tsx+++ b/src/hooks/useIDEIntegration.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { useEffect } from 'react';import type { ScopedMcpServerConfig } from '../services/mcp/types.js';import { getGlobalConfig } from '../utils/config.js';diff --git a/src/hooks/useLspPluginRecommendation.tsx b/src/hooks/useLspPluginRecommendation.tsxindex 7253b3d..c3a5805 100644--- a/src/hooks/useLspPluginRecommendation.tsx+++ b/src/hooks/useLspPluginRecommendation.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Hook for LSP plugin recommendations*diff --git a/src/hooks/usePluginRecommendationBase.tsx b/src/hooks/usePluginRecommendationBase.tsxindex 9a2a2d4..6c0b780 100644--- a/src/hooks/usePluginRecommendationBase.tsx+++ b/src/hooks/usePluginRecommendationBase.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Shared state machine + install helper for plugin-recommendation hooks* (LSP, claude-code-hint). Centralizes the gate chain, async-guard,diff --git a/src/hooks/usePromptsFromClaudeInChrome.tsx b/src/hooks/usePromptsFromClaudeInChrome.tsxindex bc4673a..4db18dd 100644--- a/src/hooks/usePromptsFromClaudeInChrome.tsx+++ b/src/hooks/usePromptsFromClaudeInChrome.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ContentBlockParam } from '@anthropic-ai/sdk/resources/messages.mjs';import { useEffect, useRef } from 'react';import { logError } from 'src/utils/log.js';diff --git a/src/hooks/useTeleportResume.tsx b/src/hooks/useTeleportResume.tsxindex 9b459aa..4989ba6 100644--- a/src/hooks/useTeleportResume.tsx+++ b/src/hooks/useTeleportResume.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { useCallback, useState } from 'react';import { setTeleportedSessionInfo } from 'src/bootstrap/state.js';import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from 'src/services/analytics/index.js';diff --git a/src/ink/Ansi.tsx b/src/ink/Ansi.tsxindex aef5f60..242d5fb 100644--- a/src/ink/Ansi.tsx+++ b/src/ink/Ansi.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import Link from './components/Link.js';import Text from './components/Text.js';diff --git a/src/ink/components/AlternateScreen.tsx b/src/ink/components/AlternateScreen.tsxindex b736f92..6265911 100644--- a/src/ink/components/AlternateScreen.tsx+++ b/src/ink/components/AlternateScreen.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type PropsWithChildren, useContext, useInsertionEffect } from 'react';import instances from '../instances.js';import { DISABLE_MOUSE_TRACKING, ENABLE_MOUSE_TRACKING, ENTER_ALT_SCREEN, EXIT_ALT_SCREEN } from '../termio/dec.js';diff --git a/src/ink/components/Box.tsx b/src/ink/components/Box.tsxindex 67f2500..959f89e 100644--- a/src/ink/components/Box.tsx+++ b/src/ink/components/Box.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import '../global.d.ts';import React, { type PropsWithChildren, type Ref } from 'react';import type { Except } from 'type-fest';diff --git a/src/ink/components/Button.tsx b/src/ink/components/Button.tsxindex 8dc35f0..9f14ead 100644--- a/src/ink/components/Button.tsx+++ b/src/ink/components/Button.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type Ref, useCallback, useEffect, useRef, useState } from 'react';import type { Except } from 'type-fest';import type { DOMElement } from '../dom.js';diff --git a/src/ink/components/ClockContext.tsx b/src/ink/components/ClockContext.tsxindex 0f24839..8950a56 100644--- a/src/ink/components/ClockContext.tsx+++ b/src/ink/components/ClockContext.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, useEffect, useState } from 'react';import { FRAME_INTERVAL_MS } from '../constants.js';import { useTerminalFocus } from '../hooks/use-terminal-focus.js';diff --git a/src/ink/components/Link.tsx b/src/ink/components/Link.tsxindex 82341db..5413061 100644--- a/src/ink/components/Link.tsx+++ b/src/ink/components/Link.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ReactNode } from 'react';import React from 'react';import { supportsHyperlinks } from '../supports-hyperlinks.js';diff --git a/src/ink/components/Newline.tsx b/src/ink/components/Newline.tsxindex 5edf618..a14b9bf 100644--- a/src/ink/components/Newline.tsx+++ b/src/ink/components/Newline.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';export type Props = {/**diff --git a/src/ink/components/NoSelect.tsx b/src/ink/components/NoSelect.tsxindex d21b8d7..14a42a6 100644--- a/src/ink/components/NoSelect.tsx+++ b/src/ink/components/NoSelect.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { type PropsWithChildren } from 'react';import Box, { type Props as BoxProps } from './Box.js';type Props = Omit<BoxProps, 'noSelect'> & {diff --git a/src/ink/components/RawAnsi.tsx b/src/ink/components/RawAnsi.tsxindex 919e453..ba85a4a 100644--- a/src/ink/components/RawAnsi.tsx+++ b/src/ink/components/RawAnsi.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';type Props = {/**diff --git a/src/ink/components/Spacer.tsx b/src/ink/components/Spacer.tsxindex 4d0af40..f10e005 100644--- a/src/ink/components/Spacer.tsx+++ b/src/ink/components/Spacer.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import Box from './Box.js';diff --git a/src/ink/components/TerminalFocusContext.tsx b/src/ink/components/TerminalFocusContext.tsxindex e017b64..caba918 100644--- a/src/ink/components/TerminalFocusContext.tsx+++ b/src/ink/components/TerminalFocusContext.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, useMemo, useSyncExternalStore } from 'react';import { getTerminalFocused, getTerminalFocusState, subscribeTerminalFocus, type TerminalFocusState } from '../terminal-focus-state.js';export type { TerminalFocusState };diff --git a/src/ink/components/Text.tsx b/src/ink/components/Text.tsxindex b53d834..98f03b5 100644--- a/src/ink/components/Text.tsx+++ b/src/ink/components/Text.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ReactNode } from 'react';import React from 'react';import type { Color, Styles, TextStyles } from '../styles.js';diff --git a/src/ink/events/dispatcher.ts b/src/ink/events/dispatcher.tsindex a310d38..8eefb9d 100644--- a/src/ink/events/dispatcher.ts+++ b/src/ink/events/dispatcher.ts@@ -2,7 +2,6 @@ import {ContinuousEventPriority,DefaultEventPriority,DiscreteEventPriority,- NoEventPriority,} from 'react-reconciler/constants.js'import { logError } from '../../utils/log.js'import { HANDLER_FOR_EVENT } from './event-handlers.js'@@ -10,6 +9,8 @@ import type { EventTarget, TerminalEvent } from './terminal-event.js'// --+const NO_EVENT_PRIORITY = 0+type DispatchListener = {node: EventTargethandler: (event: TerminalEvent) => void@@ -160,7 +161,7 @@ type DiscreteUpdates = <A, B>(*/export class Dispatcher {currentEvent: TerminalEvent | null = null- currentUpdatePriority: number = DefaultEventPriority as number+ currentUpdatePriority: number = NO_EVENT_PRIORITYdiscreteUpdates: DiscreteUpdates | null = null/**@@ -169,7 +170,7 @@ export class Dispatcher {* when no explicit priority has been set.*/resolveEventPriority(): number {- if (this.currentUpdatePriority !== (NoEventPriority as number)) {+ if (this.currentUpdatePriority !== NO_EVENT_PRIORITY) {return this.currentUpdatePriority}if (this.currentEvent) {diff --git a/src/keybindings/KeybindingContext.tsx b/src/keybindings/KeybindingContext.tsxindex 8ea317d..20b9996 100644--- a/src/keybindings/KeybindingContext.tsx+++ b/src/keybindings/KeybindingContext.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, type RefObject, useContext, useLayoutEffect, useMemo } from 'react';import type { Key } from '../ink.js';import { type ChordResolveResult, getBindingDisplayText, resolveKeyWithChordState } from './resolver.js';diff --git a/src/keybindings/KeybindingProviderSetup.tsx b/src/keybindings/KeybindingProviderSetup.tsxindex 84817ea..92cbf4b 100644--- a/src/keybindings/KeybindingProviderSetup.tsx+++ b/src/keybindings/KeybindingProviderSetup.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";/*** Setup utilities for integrating KeybindingProvider into the app.*diff --git a/src/screens/Doctor.tsx b/src/screens/Doctor.tsxindex be320cc..bd1d26b 100644--- a/src/screens/Doctor.tsx+++ b/src/screens/Doctor.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import { join } from 'path';import React, { Suspense, use, useCallback, useEffect, useMemo, useState } from 'react';diff --git a/src/screens/REPL.tsx b/src/screens/REPL.tsxindex b23e4be..b1b8096 100644--- a/src/screens/REPL.tsx+++ b/src/screens/REPL.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";// biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reorderedimport { feature } from 'bun:bundle';import { spawnSync } from 'child_process';diff --git a/src/screens/ResumeConversation.tsx b/src/screens/ResumeConversation.tsxindex f97fa94..38e01bb 100644--- a/src/screens/ResumeConversation.tsx+++ b/src/screens/ResumeConversation.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import { dirname } from 'path';import React from 'react';diff --git a/src/services/mcp/MCPConnectionManager.tsx b/src/services/mcp/MCPConnectionManager.tsxindex a8d1dcb..bee9abd 100644--- a/src/services/mcp/MCPConnectionManager.tsx+++ b/src/services/mcp/MCPConnectionManager.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { createContext, type ReactNode, useContext, useMemo } from 'react';import type { Command } from '../../commands.js';import type { Tool } from '../../Tool.js';diff --git a/src/skills/bundled/verify.ts b/src/skills/bundled/verify.tsindex b619f96..f95dd19 100644--- a/src/skills/bundled/verify.ts+++ b/src/skills/bundled/verify.ts@@ -1,26 +1,44 @@import { parseFrontmatter } from '../../utils/frontmatterParser.js'import { registerBundledSkill } from '../bundledSkills.js'-import { SKILL_FILES, SKILL_MD } from './verifyContent.js'-const { frontmatter, content: SKILL_BODY } = parseFrontmatter(SKILL_MD)--const DESCRIPTION =- typeof frontmatter.description === 'string'- ? frontmatter.description- : 'Verify a code change does what it should by running the app.'+function loadVerifyContent(): { skillMd: string; skillFiles: Record<string, string> } {+ try {+ /* eslint-disable @typescript-eslint/no-require-imports */+ const { SKILL_FILES, SKILL_MD } = require('./verifyContent.js') as {+ SKILL_FILES: Record<string, string>+ SKILL_MD: string+ }+ /* eslint-enable @typescript-eslint/no-require-imports */+ return { skillMd: SKILL_MD, skillFiles: SKILL_FILES }+ } catch {+ return {+ skillMd:+ '# Verify\n\nVerify a code change does what it should by running the app.',+ skillFiles: {},+ }+ }+}export function registerVerifySkill(): void {if (process.env.USER_TYPE !== 'ant') {return}+ const { skillMd, skillFiles } = loadVerifyContent()+ const { frontmatter, content: skillBody } = parseFrontmatter(skillMd)++ const description =+ typeof frontmatter.description === 'string'+ ? frontmatter.description+ : 'Verify a code change does what it should by running the app.'+registerBundledSkill({name: 'verify',- description: DESCRIPTION,+ description,userInvocable: true,- files: SKILL_FILES,+ files: skillFiles,async getPromptForCommand(args) {- const parts: string[] = [SKILL_BODY.trimStart()]+ const parts: string[] = [skillBody.trimStart()]if (args) {parts.push(`## User Request\n\n${args}`)}diff --git a/src/state/AppState.tsx b/src/state/AppState.tsxindex bf65525..a5e3a17 100644--- a/src/state/AppState.tsx+++ b/src/state/AppState.tsx@@ -1,7 +1,8 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';-import React, { useContext, useEffect, useEffectEvent, useState, useSyncExternalStore } from 'react';+import React, { useContext, useEffect, useState, useSyncExternalStore } from 'react';import { MailboxProvider } from '../context/mailbox.js';+import { useEffectEventCompat } from '../hooks/useEffectEventCompat.js';import { useSettingsChange } from '../hooks/useSettingsChange.js';import { logForDebugging } from '../utils/debug.js';import { createDisabledBypassPermissionsContext, isBypassPermissionsModeDisabled } from '../utils/permissions/permissionSetup.js';@@ -87,7 +88,7 @@ export function AppStateProvider(t0) {} else {t4 = $[7];}- const onSettingsChange = useEffectEvent(t4);+ const onSettingsChange = useEffectEventCompat(t4);useSettingsChange(onSettingsChange);let t5;if ($[8] !== children) {diff --git a/src/tools/AgentTool/UI.tsx b/src/tools/AgentTool/UI.tsxindex 497805a..7ebb7aa 100644--- a/src/tools/AgentTool/UI.tsx+++ b/src/tools/AgentTool/UI.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolResultBlockParam, ToolUseBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';import { ConfigurableShortcutHint } from 'src/components/ConfigurableShortcutHint.js';diff --git a/src/tools/AskUserQuestionTool/AskUserQuestionTool.tsx b/src/tools/AskUserQuestionTool/AskUserQuestionTool.tsxindex 7e81291..1633e9d 100644--- a/src/tools/AskUserQuestionTool/AskUserQuestionTool.tsx+++ b/src/tools/AskUserQuestionTool/AskUserQuestionTool.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import * as React from 'react';import { getAllowedChannels, getQuestionPreviewFormat } from 'src/bootstrap/state.js';diff --git a/src/tools/BashTool/BashToolResultMessage.tsx b/src/tools/BashTool/BashToolResultMessage.tsxindex 93b88bb..e151762 100644--- a/src/tools/BashTool/BashToolResultMessage.tsx+++ b/src/tools/BashTool/BashToolResultMessage.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { removeSandboxViolationTags } from 'src/utils/sandbox/sandbox-ui-utils.js';import { KeyboardShortcutHint } from '../../components/design-system/KeyboardShortcutHint.js';diff --git a/src/tools/BashTool/UI.tsx b/src/tools/BashTool/UI.tsxindex 7287b6b..2b31554 100644--- a/src/tools/BashTool/UI.tsx+++ b/src/tools/BashTool/UI.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolResultBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import * as React from 'react';import { KeyboardShortcutHint } from '../../components/design-system/KeyboardShortcutHint.js';diff --git a/src/tools/BriefTool/UI.tsx b/src/tools/BriefTool/UI.tsxindex 7b9f444..b19e218 100644--- a/src/tools/BriefTool/UI.tsx+++ b/src/tools/BriefTool/UI.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import figures from 'figures';import React from 'react';import { Markdown } from '../../components/Markdown.js';diff --git a/src/tools/FileEditTool/UI.tsx b/src/tools/FileEditTool/UI.tsxindex c406982..78ad5f0 100644--- a/src/tools/FileEditTool/UI.tsx+++ b/src/tools/FileEditTool/UI.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolResultBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import type { StructuredPatchHunk } from 'diff';import * as React from 'react';diff --git a/src/tools/FileWriteTool/UI.tsx b/src/tools/FileWriteTool/UI.tsxindex 096f6f1..3995614 100644--- a/src/tools/FileWriteTool/UI.tsx+++ b/src/tools/FileWriteTool/UI.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolResultBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import type { StructuredPatchHunk } from 'diff';import { isAbsolute, relative, resolve } from 'path';diff --git a/src/tools/GrepTool/UI.tsx b/src/tools/GrepTool/UI.tsxindex 8be2b5f..2194094 100644--- a/src/tools/GrepTool/UI.tsx+++ b/src/tools/GrepTool/UI.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolResultBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import React from 'react';import { CtrlOToExpand } from '../../components/CtrlOToExpand.js';diff --git a/src/tools/LSPTool/UI.tsx b/src/tools/LSPTool/UI.tsxindex e3d2a91..c286450 100644--- a/src/tools/LSPTool/UI.tsx+++ b/src/tools/LSPTool/UI.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import type { ToolResultBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';import React from 'react';import { CtrlOToExpand } from '../../components/CtrlOToExpand.js';diff --git a/src/tools/MCPTool/UI.tsx b/src/tools/MCPTool/UI.tsxindex bc33ffe..ebc555b 100644--- a/src/tools/MCPTool/UI.tsx+++ b/src/tools/MCPTool/UI.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import { feature } from 'bun:bundle';import figures from 'figures';import * as React from 'react';diff --git a/src/tools/TaskOutputTool/TaskOutputTool.tsx b/src/tools/TaskOutputTool/TaskOutputTool.tsxindex ee99832..2537940 100644--- a/src/tools/TaskOutputTool/TaskOutputTool.tsx+++ b/src/tools/TaskOutputTool/TaskOutputTool.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React from 'react';import { z } from 'zod/v4';import { FallbackToolUseErrorMessage } from '../../components/FallbackToolUseErrorMessage.js';diff --git a/src/utils/autoRunIssue.tsx b/src/utils/autoRunIssue.tsxindex 6627f68..627396a 100644--- a/src/utils/autoRunIssue.tsx+++ b/src/utils/autoRunIssue.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useEffect, useRef } from 'react';import { KeyboardShortcutHint } from '../components/design-system/KeyboardShortcutHint.js';diff --git a/src/utils/preflightChecks.tsx b/src/utils/preflightChecks.tsxindex ca0fe4c..5417e11 100644--- a/src/utils/preflightChecks.tsx+++ b/src/utils/preflightChecks.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import axios from 'axios';import React, { useEffect, useState } from 'react';import { logEvent } from 'src/services/analytics/index.js';diff --git a/src/utils/staticRender.tsx b/src/utils/staticRender.tsxindex 6a6917b..315237e 100644--- a/src/utils/staticRender.tsx+++ b/src/utils/staticRender.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import * as React from 'react';import { useLayoutEffect } from 'react';import { PassThrough } from 'stream';diff --git a/src/utils/swarm/It2SetupPrompt.tsx b/src/utils/swarm/It2SetupPrompt.tsxindex 07478c7..ed0984c 100644--- a/src/utils/swarm/It2SetupPrompt.tsx+++ b/src/utils/swarm/It2SetupPrompt.tsx@@ -1,4 +1,4 @@-import { c as _c } from "react/compiler-runtime";+import { c as _c } from "react-compiler-runtime";import React, { useCallback, useEffect, useState } from 'react';import { type OptionWithDescription, Select } from '../../components/CustomSelect/index.js';import { Pane } from '../../components/design-system/Pane.js';