@claudiolabs/claudin 0.5.9 → 0.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/claudin +62 -0
- package/dist/chunks/AgentTool-0.5.10-k5mymxpj.mjs +1 -0
- package/dist/chunks/App-0.5.10-yzg0d70f.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.5.10-mpm24aq5.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.5.10-jbgn5s9r.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.5.10-tk2jpgdr.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.5.10-2gqvp73t.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.10-mwwqh2cz.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.5.10-f4wd3yew.mjs +1 -0
- package/dist/chunks/DiffDialog-0.5.10-f28xdhns.mjs +3 -0
- package/dist/chunks/Doctor-0.5.10-dz3ndek3.mjs +1 -0
- package/dist/chunks/Grove-0.5.10-f2m596r7.mjs +1 -0
- package/dist/chunks/ITermBackend-0.5.10-k9sjxv27.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.5.10-d5f0ba3j.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.5.10-vyexdzf7.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.5.10-fxhfd566.mjs +1 -0
- package/dist/chunks/Onboarding-0.5.10-61c4a01v.mjs +1 -0
- package/dist/chunks/ProviderManager-0.5.10-mhnze07c.mjs +1 -0
- package/dist/chunks/REPL-0.5.10-qag06ykw.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.5.10-ax66yat2.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.5.10-mkzs7881.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.5.10-762m6e6b.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.10-mr8ddjsn.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.5.10-rs9vs3j0.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.5.10-s7yrx34h.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.5.10-8tejm808.mjs +1 -0
- package/dist/chunks/TrustDialog-0.5.10-v09an4xe.mjs +1 -0
- package/dist/chunks/activeProvider-0.5.10-1c68rtzb.mjs +1 -0
- package/dist/chunks/add-dir-0.5.10-6hyjyege.mjs +1 -0
- package/dist/chunks/agents-0.5.10-34zhsd0m.mjs +110 -0
- package/dist/chunks/agents-0.5.10-fa6mrf84.mjs +3 -0
- package/dist/chunks/api-0.5.10-hvafwq9b.mjs +1 -0
- package/dist/chunks/asciicast-0.5.10-c2nfaps4.mjs +1 -0
- package/dist/chunks/assistant-0.5.10-w55twa4a.mjs +1 -0
- package/dist/chunks/auth-0.5.10-dmv8dcy1.mjs +1 -0
- package/dist/chunks/auth-0.5.10-tqm37j6k.mjs +1 -0
- package/dist/chunks/autoMode-0.5.10-bew44c3j.mjs +48 -0
- package/dist/chunks/autoUpdater-0.5.10-dav9gs0x.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.5.10-rsyjn0x7.mjs +1 -0
- package/dist/chunks/branch-0.5.10-k81z6new.mjs +4 -0
- package/dist/chunks/bridgePointer-0.5.10-h727df9t.mjs +1 -0
- package/dist/chunks/btw-0.5.10-f1syxkz1.mjs +1 -0
- package/dist/chunks/buddy-0.5.10-a15r3a8e.mjs +3 -0
- package/dist/chunks/cacache-0.5.10-1hz9d6s8.mjs +1 -0
- package/dist/chunks/cache-probe-0.5.10-fcxj2wy5.mjs +21 -0
- package/dist/chunks/cacheStats-0.5.10-vedv1qp4.mjs +4 -0
- package/dist/chunks/caches-0.5.10-fmadrqb1.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.5.10-mz1s1yqp.mjs +1 -0
- package/dist/chunks/claudemd-0.5.10-9mb95kbb.mjs +1 -0
- package/dist/chunks/clear-0.5.10-tshbmj0g.mjs +1 -0
- package/dist/chunks/clearTerminal-0.5.10-bjqnvfmf.mjs +1 -0
- package/dist/chunks/cli-0.5.10-0ar26ct8.mjs +2 -0
- package/dist/chunks/cli-0.5.10-0p24d24e.mjs +2 -0
- package/dist/chunks/cli-0.5.10-0sg20shr.mjs +2 -0
- package/dist/chunks/cli-0.5.10-0twjtft5.mjs +2 -0
- package/dist/chunks/cli-0.5.10-0vs5gmpe.mjs +4 -0
- package/dist/chunks/cli-0.5.10-0xb1405m.mjs +2 -0
- package/dist/chunks/cli-0.5.10-0yn5x3m6.mjs +2 -0
- package/dist/chunks/cli-0.5.10-1gafefn2.mjs +3 -0
- package/dist/chunks/cli-0.5.10-207502x5.mjs +2 -0
- package/dist/chunks/cli-0.5.10-20w5v1ja.mjs +2 -0
- package/dist/chunks/cli-0.5.10-20x96vwq.mjs +2 -0
- package/dist/chunks/cli-0.5.10-2c19pn7b.mjs +2 -0
- package/dist/chunks/cli-0.5.10-2es9q9n1.mjs +2 -0
- package/dist/chunks/cli-0.5.10-2fqes7gy.mjs +193 -0
- package/dist/chunks/cli-0.5.10-2qxn5ad9.mjs +2 -0
- package/dist/chunks/cli-0.5.10-2yqdkew6.mjs +3 -0
- package/dist/chunks/cli-0.5.10-2yrgbmd1.mjs +9 -0
- package/dist/chunks/cli-0.5.10-347yjq4a.mjs +2 -0
- package/dist/chunks/cli-0.5.10-3xnh04c6.mjs +2 -0
- package/dist/chunks/cli-0.5.10-4ekf1v4x.mjs +2 -0
- package/dist/chunks/cli-0.5.10-58erwwbz.mjs +3 -0
- package/dist/chunks/cli-0.5.10-5m76kmzk.mjs +2 -0
- package/dist/chunks/cli-0.5.10-5mp7dx81.mjs +2 -0
- package/dist/chunks/cli-0.5.10-5nzsgwh2.mjs +2 -0
- package/dist/chunks/cli-0.5.10-5stz3dbm.mjs +2 -0
- package/dist/chunks/cli-0.5.10-5w3eaafz.mjs +2 -0
- package/dist/chunks/cli-0.5.10-661g0gft.mjs +2 -0
- package/dist/chunks/cli-0.5.10-68wvhytx.mjs +10 -0
- package/dist/chunks/cli-0.5.10-6c055y30.mjs +2 -0
- package/dist/chunks/cli-0.5.10-6g0257t2.mjs +2 -0
- package/dist/chunks/cli-0.5.10-6jarntdq.mjs +2 -0
- package/dist/chunks/cli-0.5.10-6twsf5qs.mjs +2 -0
- package/dist/chunks/cli-0.5.10-6wzddpjt.mjs +42 -0
- package/dist/chunks/cli-0.5.10-6y9d3fye.mjs +45 -0
- package/dist/chunks/cli-0.5.10-6z4j2qja.mjs +24 -0
- package/dist/chunks/cli-0.5.10-6zwxmza2.mjs +4 -0
- package/dist/chunks/cli-0.5.10-7f5q1zvk.mjs +2 -0
- package/dist/chunks/cli-0.5.10-7j4590js.mjs +2 -0
- package/dist/chunks/cli-0.5.10-7shp24xv.mjs +3 -0
- package/dist/chunks/cli-0.5.10-7tpa30tv.mjs +3 -0
- package/dist/chunks/cli-0.5.10-84q7z5hq.mjs +2 -0
- package/dist/chunks/cli-0.5.10-84z0ztsf.mjs +18 -0
- package/dist/chunks/cli-0.5.10-87sd2pqh.mjs +3 -0
- package/dist/chunks/cli-0.5.10-8f53zcp3.mjs +2 -0
- package/dist/chunks/cli-0.5.10-8jjacn05.mjs +5262 -0
- package/dist/chunks/cli-0.5.10-8kpt6897.mjs +3 -0
- package/dist/chunks/cli-0.5.10-8wqagr68.mjs +4 -0
- package/dist/chunks/cli-0.5.10-8zwd1xme.mjs +25 -0
- package/dist/chunks/cli-0.5.10-948wwm63.mjs +2 -0
- package/dist/chunks/cli-0.5.10-9dazv3hg.mjs +2 -0
- package/dist/chunks/cli-0.5.10-9ek8f4vk.mjs +2 -0
- package/dist/chunks/cli-0.5.10-9h23hhgb.mjs +2 -0
- package/dist/chunks/cli-0.5.10-9mt7ynrh.mjs +2 -0
- package/dist/chunks/cli-0.5.10-9xc8zhxg.mjs +59 -0
- package/dist/chunks/cli-0.5.10-9ynpb3y0.mjs +21 -0
- package/dist/chunks/cli-0.5.10-a1hh6v31.mjs +2 -0
- package/dist/chunks/cli-0.5.10-a38pnxbz.mjs +2 -0
- package/dist/chunks/cli-0.5.10-a8ecfnq0.mjs +2 -0
- package/dist/chunks/cli-0.5.10-atkghjt0.mjs +2 -0
- package/dist/chunks/cli-0.5.10-ax0fmeqk.mjs +2 -0
- package/dist/chunks/cli-0.5.10-azhfv28d.mjs +2 -0
- package/dist/chunks/cli-0.5.10-b4j3x063.mjs +4 -0
- package/dist/chunks/cli-0.5.10-b761m5q2.mjs +2 -0
- package/dist/chunks/cli-0.5.10-b7r8mjbd.mjs +9 -0
- package/dist/chunks/cli-0.5.10-ba15gakh.mjs +2 -0
- package/dist/chunks/cli-0.5.10-bad3yv4c.mjs +2 -0
- package/dist/chunks/cli-0.5.10-bhb8rt9y.mjs +2 -0
- package/dist/chunks/cli-0.5.10-bj0bm26b.mjs +4 -0
- package/dist/chunks/cli-0.5.10-bmc43e4g.mjs +2 -0
- package/dist/chunks/cli-0.5.10-bsqvacka.mjs +2 -0
- package/dist/chunks/cli-0.5.10-c0xtw3q0.mjs +34 -0
- package/dist/chunks/cli-0.5.10-c82cgdm7.mjs +133 -0
- package/dist/chunks/cli-0.5.10-c9z4tdw2.mjs +2 -0
- package/dist/chunks/cli-0.5.10-cm0r4pkd.mjs +3 -0
- package/dist/chunks/cli-0.5.10-cw4ykvbj.mjs +2 -0
- package/dist/chunks/cli-0.5.10-cz6csv1p.mjs +2 -0
- package/dist/chunks/cli-0.5.10-d1y749qy.mjs +2 -0
- package/dist/chunks/cli-0.5.10-d2cw91xn.mjs +3 -0
- package/dist/chunks/cli-0.5.10-d4d9x2de.mjs +2 -0
- package/dist/chunks/cli-0.5.10-d609fanf.mjs +2 -0
- package/dist/chunks/cli-0.5.10-d64hr722.mjs +3 -0
- package/dist/chunks/cli-0.5.10-d9xf1jnz.mjs +12 -0
- package/dist/chunks/cli-0.5.10-dkt8bbmm.mjs +3 -0
- package/dist/chunks/cli-0.5.10-dmmckmyf.mjs +12 -0
- package/dist/chunks/cli-0.5.10-dvmddb7c.mjs +6 -0
- package/dist/chunks/cli-0.5.10-dz26120x.mjs +2 -0
- package/dist/chunks/cli-0.5.10-dzr8kmx4.mjs +2 -0
- package/dist/chunks/cli-0.5.10-e8tz9596.mjs +2 -0
- package/dist/chunks/cli-0.5.10-e8wz8kc0.mjs +58 -0
- package/dist/chunks/cli-0.5.10-eh9hq9n3.mjs +2 -0
- package/dist/chunks/cli-0.5.10-ewcdy4pj.mjs +2 -0
- package/dist/chunks/cli-0.5.10-f3fj7f3q.mjs +2 -0
- package/dist/chunks/cli-0.5.10-fcbrnw81.mjs +2 -0
- package/dist/chunks/cli-0.5.10-fjvz4bt0.mjs +8 -0
- package/dist/chunks/cli-0.5.10-fzx10svb.mjs +2 -0
- package/dist/chunks/cli-0.5.10-g4khh98h.mjs +2 -0
- package/dist/chunks/cli-0.5.10-gekw3xnm.mjs +2 -0
- package/dist/chunks/cli-0.5.10-gk9n4zev.mjs +2 -0
- package/dist/chunks/cli-0.5.10-gs8dx67v.mjs +2 -0
- package/dist/chunks/cli-0.5.10-hmp23q7z.mjs +2 -0
- package/dist/chunks/cli-0.5.10-hzh8tpg0.mjs +2 -0
- package/dist/chunks/cli-0.5.10-j1aznw8b.mjs +2 -0
- package/dist/chunks/cli-0.5.10-jd7ff66n.mjs +2 -0
- package/dist/chunks/cli-0.5.10-jhtht51h.mjs +4 -0
- package/dist/chunks/cli-0.5.10-jsnrvena.mjs +2 -0
- package/dist/chunks/cli-0.5.10-k0mnqs0g.mjs +15 -0
- package/dist/chunks/cli-0.5.10-k1s62rww.mjs +2 -0
- package/dist/chunks/cli-0.5.10-k3qbvfj5.mjs +2 -0
- package/dist/chunks/cli-0.5.10-kj2g5r8c.mjs +15 -0
- package/dist/chunks/cli-0.5.10-kyt82zt5.mjs +2 -0
- package/dist/chunks/cli-0.5.10-m0hghx42.mjs +2 -0
- package/dist/chunks/cli-0.5.10-mcw01p8b.mjs +2 -0
- package/dist/chunks/cli-0.5.10-mgkc1jay.mjs +15 -0
- package/dist/chunks/cli-0.5.10-mrgw2c00.mjs +2 -0
- package/dist/chunks/cli-0.5.10-mvckg6zv.mjs +17 -0
- package/dist/chunks/cli-0.5.10-mxzdkm6r.mjs +2 -0
- package/dist/chunks/cli-0.5.10-n70d8n1f.mjs +2 -0
- package/dist/chunks/cli-0.5.10-neaex6bh.mjs +2 -0
- package/dist/chunks/cli-0.5.10-npmmxjts.mjs +5 -0
- package/dist/chunks/cli-0.5.10-nqvng39w.mjs +2 -0
- package/dist/chunks/cli-0.5.10-nvmq8pez.mjs +2 -0
- package/dist/chunks/cli-0.5.10-nx3m5sa2.mjs +2 -0
- package/dist/chunks/cli-0.5.10-p3g04417.mjs +20 -0
- package/dist/chunks/cli-0.5.10-p4wmnjhz.mjs +6 -0
- package/dist/chunks/cli-0.5.10-p5j82v0t.mjs +2 -0
- package/dist/chunks/cli-0.5.10-p7jd1z33.mjs +2 -0
- package/dist/chunks/cli-0.5.10-p8hbe96w.mjs +133 -0
- package/dist/chunks/cli-0.5.10-pk91q3s6.mjs +4 -0
- package/dist/chunks/cli-0.5.10-pq8nhdeq.mjs +2 -0
- package/dist/chunks/cli-0.5.10-pr0nkqpw.mjs +2 -0
- package/dist/chunks/cli-0.5.10-pr8yqs5v.mjs +2 -0
- package/dist/chunks/cli-0.5.10-pxhw9mwz.mjs +2 -0
- package/dist/chunks/cli-0.5.10-qvp1fb5n.mjs +2 -0
- package/dist/chunks/cli-0.5.10-qw9y3mst.mjs +2 -0
- package/dist/chunks/cli-0.5.10-qx17jbqj.mjs +2 -0
- package/dist/chunks/cli-0.5.10-r0jt3zrj.mjs +2 -0
- package/dist/chunks/cli-0.5.10-rhmrff22.mjs +2 -0
- package/dist/chunks/cli-0.5.10-rk7at2tn.mjs +2 -0
- package/dist/chunks/cli-0.5.10-rq5mv7xq.mjs +2 -0
- package/dist/chunks/cli-0.5.10-rwqvbtg3.mjs +18 -0
- package/dist/chunks/cli-0.5.10-rxnwkka5.mjs +24 -0
- package/dist/chunks/cli-0.5.10-rzshk2m6.mjs +6 -0
- package/dist/chunks/cli-0.5.10-rzz4tgvw.mjs +12 -0
- package/dist/chunks/cli-0.5.10-s8bv5q7m.mjs +2 -0
- package/dist/chunks/cli-0.5.10-srd78kpc.mjs +7 -0
- package/dist/chunks/cli-0.5.10-syb1bnb2.mjs +4 -0
- package/dist/chunks/cli-0.5.10-t11my4jb.mjs +2 -0
- package/dist/chunks/cli-0.5.10-t9d916t1.mjs +39 -0
- package/dist/chunks/cli-0.5.10-tbpqmp1s.mjs +2 -0
- package/dist/chunks/cli-0.5.10-tkjtbv56.mjs +2 -0
- package/dist/chunks/cli-0.5.10-tqpg21eq.mjs +2 -0
- package/dist/chunks/cli-0.5.10-tqyytkxn.mjs +2 -0
- package/dist/chunks/cli-0.5.10-tr692cqd.mjs +2 -0
- package/dist/chunks/cli-0.5.10-v36c5nnr.mjs +2 -0
- package/dist/chunks/cli-0.5.10-v6kj3ej2.mjs +2 -0
- package/dist/chunks/cli-0.5.10-vhn14p7a.mjs +2 -0
- package/dist/chunks/cli-0.5.10-vhrqqvdz.mjs +5 -0
- package/dist/chunks/cli-0.5.10-vpfctkxf.mjs +2 -0
- package/dist/chunks/cli-0.5.10-vqkn3pgf.mjs +17 -0
- package/dist/chunks/cli-0.5.10-vqrqhas6.mjs +2 -0
- package/dist/chunks/cli-0.5.10-vyem3gpm.mjs +2 -0
- package/dist/chunks/cli-0.5.10-w29mv5e9.mjs +4 -0
- package/dist/chunks/cli-0.5.10-w41wxn5f.mjs +50 -0
- package/dist/chunks/cli-0.5.10-w698y5mp.mjs +5 -0
- package/dist/chunks/cli-0.5.10-w93v7bhm.mjs +2 -0
- package/dist/chunks/cli-0.5.10-xfqxbzc6.mjs +4 -0
- package/dist/chunks/cli-0.5.10-xg27xawf.mjs +2 -0
- package/dist/chunks/cli-0.5.10-xhy1yx61.mjs +2 -0
- package/dist/chunks/cli-0.5.10-xk6v4sy0.mjs +2 -0
- package/dist/chunks/cli-0.5.10-xnmg1qwd.mjs +2 -0
- package/dist/chunks/cli-0.5.10-xrwj7982.mjs +67 -0
- package/dist/chunks/cli-0.5.10-xy780m03.mjs +2 -0
- package/dist/chunks/cli-0.5.10-xyscak5q.mjs +16 -0
- package/dist/chunks/cli-0.5.10-y0sfzz9t.mjs +2 -0
- package/dist/chunks/cli-0.5.10-y0sr20nf.mjs +2 -0
- package/dist/chunks/cli-0.5.10-y4tn070k.mjs +1 -0
- package/dist/chunks/cli-0.5.10-y7j4tsb5.mjs +2 -0
- package/dist/chunks/cli-0.5.10-y9qd4psg.mjs +2 -0
- package/dist/chunks/cli-0.5.10-ytqna8q4.mjs +2 -0
- package/dist/chunks/cli-0.5.10-yvjnvgky.mjs +2 -0
- package/dist/chunks/cli-0.5.10-yxxbgd59.mjs +2 -0
- package/dist/chunks/cli-0.5.10-yzqkgb55.mjs +2 -0
- package/dist/chunks/cli-0.5.10-z4bzn8vh.mjs +2 -0
- package/dist/chunks/cli-0.5.10-z5ysspq8.mjs +2 -0
- package/dist/chunks/cli-0.5.10-zk1h67jm.mjs +2 -0
- package/dist/chunks/client-0.5.10-a5rmwz53.mjs +1 -0
- package/dist/chunks/color-0.5.10-3mtfm5rv.mjs +1 -0
- package/dist/chunks/compact-0.5.10-7zdm8hke.mjs +3 -0
- package/dist/chunks/config-0.5.10-ns9jcqxp.mjs +1 -0
- package/dist/chunks/config-0.5.10-vtf1kzhz.mjs +1 -0
- package/dist/chunks/context-0.5.10-qjjyyqx9.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.5.10-244bgmbj.mjs +1 -0
- package/dist/chunks/conversation-0.5.10-zza66sgq.mjs +1 -0
- package/dist/chunks/copy-0.5.10-d6nstaxy.mjs +9 -0
- package/dist/chunks/cost-0.5.10-k89r76j7.mjs +1 -0
- package/dist/chunks/createSSHSession-0.5.10-xy3z3tdw.mjs +1 -0
- package/dist/chunks/createSession-0.5.10-ntrenxk4.mjs +1 -0
- package/dist/chunks/debug-0.5.10-bxkhvfc6.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.5.10-h673vq05.mjs +1177 -0
- package/dist/chunks/desktop-0.5.10-v0j5w6e8.mjs +1 -0
- package/dist/chunks/detectRepository-0.5.10-z29dy30r.mjs +1 -0
- package/dist/chunks/detection-0.5.10-jhy1kffq.mjs +1 -0
- package/dist/chunks/diff-0.5.10-14m8b77v.mjs +1 -0
- package/dist/chunks/doctor-0.5.10-pn374er7.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.5.10-wkjtp4z5.mjs +1 -0
- package/dist/chunks/earlyInput-0.5.10-9nxfn64h.mjs +1 -0
- package/dist/chunks/effort-0.5.10-sjn55ka6.mjs +10 -0
- package/dist/chunks/envUtils-0.5.10-sdrg5j2r.mjs +1 -0
- package/dist/chunks/environmentSelection-0.5.10-nkxtjsa6.mjs +1 -0
- package/dist/chunks/environments-0.5.10-j3cwt63g.mjs +1 -0
- package/dist/chunks/errors-0.5.10-k3a2vs5j.mjs +1 -0
- package/dist/chunks/exampleCommands-0.5.10-s4q3ndpx.mjs +1 -0
- package/dist/chunks/exit-0.5.10-aaqjsrb3.mjs +1 -0
- package/dist/chunks/export-0.5.10-g3n84jha.mjs +2 -0
- package/dist/chunks/extra-usage-0.5.10-1k8453hn.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.5.10-h0s4j23t.mjs +1 -0
- package/dist/chunks/fast-0.5.10-6jg8q83t.mjs +1 -0
- package/dist/chunks/feedback-0.5.10-f4cms77n.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.5.10-mtcdee5x.mjs +1 -0
- package/dist/chunks/git-0.5.10-5yr5z4ap.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.5.10-pfeadzx7.mjs +1 -0
- package/dist/chunks/grove-0.5.10-4vzycmmm.mjs +1 -0
- package/dist/chunks/growthbook-0.5.10-nf8eqz7k.mjs +1 -0
- package/dist/chunks/headless-0.5.10-kqpgc4q6.mjs +2 -0
- package/dist/chunks/heapdump-0.5.10-zedkfpnn.mjs +6 -0
- package/dist/chunks/help-0.5.10-a3vhmv05.mjs +1 -0
- package/dist/chunks/hookChains-0.5.10-yc93jx3d.mjs +3 -0
- package/dist/chunks/hooks-0.5.10-negsdbpw.mjs +1 -0
- package/dist/chunks/hooks-0.5.10-t26wz67x.mjs +79 -0
- package/dist/chunks/ide-0.5.10-qsh8k0we.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.5.10-8kz0m2nd.mjs +1 -0
- package/dist/chunks/index-0.5.10-0j9kz8a6.mjs +1 -0
- package/dist/chunks/index-0.5.10-0wzdjjzk.mjs +5 -0
- package/dist/chunks/index-0.5.10-5fsxcv9a.mjs +1 -0
- package/dist/chunks/index-0.5.10-6v1h8fb2.mjs +17 -0
- package/dist/chunks/index-0.5.10-7t36m4fw.mjs +30 -0
- package/dist/chunks/index-0.5.10-8t5phmpa.mjs +9 -0
- package/dist/chunks/index-0.5.10-ak9fnp4h.mjs +2 -0
- package/dist/chunks/index-0.5.10-asj7h5d6.mjs +9 -0
- package/dist/chunks/index-0.5.10-dxkhh5bg.mjs +1 -0
- package/dist/chunks/index-0.5.10-eh8w8ayw.mjs +2 -0
- package/dist/chunks/index-0.5.10-fjf8d5vq.mjs +1 -0
- package/dist/chunks/index-0.5.10-fyt0d84h.mjs +1 -0
- package/dist/chunks/index-0.5.10-m8cjzf6y.mjs +1 -0
- package/dist/chunks/index-0.5.10-marrtwvx.mjs +1 -0
- package/dist/chunks/index-0.5.10-n7zsm7mc.mjs +1 -0
- package/dist/chunks/index-0.5.10-p69q9n6x.mjs +1 -0
- package/dist/chunks/index-0.5.10-rv6kfzr0.mjs +1 -0
- package/dist/chunks/index-0.5.10-s5ttsdnm.mjs +1 -0
- package/dist/chunks/index-0.5.10-thyhdy51.mjs +1 -0
- package/dist/chunks/index-0.5.10-tncm271j.mjs +1 -0
- package/dist/chunks/index-0.5.10-wzxzkrhk.mjs +1 -0
- package/dist/chunks/index-0.5.10-x3apane6.mjs +1 -0
- package/dist/chunks/init-0.5.10-ef7yaw4p.mjs +1 -0
- package/dist/chunks/initReplBridge-0.5.10-we7sga8z.mjs +1 -0
- package/dist/chunks/ink-0.5.10-chpcjhk0.mjs +1 -0
- package/dist/chunks/insights-0.5.10-advkjwjk.mjs +870 -0
- package/dist/chunks/install-0.5.10-znt3x5wn.mjs +1 -0
- package/dist/chunks/install-github-app-0.5.10-jg0eqhv0.mjs +149 -0
- package/dist/chunks/install-slack-app-0.5.10-ryvy8j96.mjs +1 -0
- package/dist/chunks/instrumentation-0.5.10-36atfc3f.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.5.10-asvens6h.mjs +1 -0
- package/dist/chunks/keybindings-0.5.10-csc1yzpg.mjs +2 -0
- package/dist/chunks/knowledge-0.5.10-tg7cvbym.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.5.10-wjt7dbqy.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.5.10-7zwxynjb.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.10-c8kk1n2h.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.10-qx8rwccw.mjs +1 -0
- package/dist/chunks/log-0.5.10-ews8b6yn.mjs +1 -0
- package/dist/chunks/main-0.5.10-dxwhwf46.mjs +1 -0
- package/dist/chunks/managedEnv-0.5.10-5jce9mqj.mjs +1 -0
- package/dist/chunks/mcp-0.5.10-1wxhgtsr.mjs +17 -0
- package/dist/chunks/mcp-0.5.10-5wsj8fv2.mjs +1 -0
- package/dist/chunks/mcp-0.5.10-ydcjrb4p.mjs +4 -0
- package/dist/chunks/mcpb-0.5.10-120rqrb1.mjs +1 -0
- package/dist/chunks/memory-0.5.10-0pqjdjed.mjs +3 -0
- package/dist/chunks/mobile-0.5.10-kp63nfej.mjs +2 -0
- package/dist/chunks/model-0.5.10-9zszn74v.mjs +2 -0
- package/dist/chunks/model-0.5.10-b64fg4gd.mjs +1 -0
- package/dist/chunks/node-0.5.10-tny076t5.mjs +12 -0
- package/dist/chunks/oauth-0.5.10-fccp2x7y.mjs +1 -0
- package/dist/chunks/openaiShim-0.5.10-gwjyjn7m.mjs +14 -0
- package/dist/chunks/output-style-0.5.10-526tregy.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.5.10-we8amhca.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.5.10-nhkxeakd.mjs +1 -0
- package/dist/chunks/parser-0.5.10-m4aj9jm7.mjs +1 -0
- package/dist/chunks/passes-0.5.10-vwhmhxn9.mjs +1 -0
- package/dist/chunks/permissions-0.5.10-b7p2zxt8.mjs +3 -0
- package/dist/chunks/plan-0.5.10-s8612fw1.mjs +1 -0
- package/dist/chunks/plist-0.5.10-e8k2gtwm.mjs +1 -0
- package/dist/chunks/plugin-0.5.10-pjh90f93.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.5.10-mamzxaj6.mjs +1 -0
- package/dist/chunks/plugins-0.5.10-3zq96m7k.mjs +9 -0
- package/dist/chunks/preActionHook-0.5.10-6x12np60.mjs +2 -0
- package/dist/chunks/print-0.5.10-5a31vx9j.mjs +57 -0
- package/dist/chunks/privacy-settings-0.5.10-rdfd63af.mjs +1 -0
- package/dist/chunks/process-0.5.10-nf4cmk34.mjs +1 -0
- package/dist/chunks/processBashCommand-0.5.10-mw974xep.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.5.10-e8c6n292.mjs +9 -0
- package/dist/chunks/prompt-0.5.10-6pbxq1g3.mjs +1 -0
- package/dist/chunks/prompt-0.5.10-n31de4d4.mjs +1 -0
- package/dist/chunks/prompts-0.5.10-0cxg5rvf.mjs +1 -0
- package/dist/chunks/protocolHandler-0.5.10-n15zj80n.mjs +13 -0
- package/dist/chunks/provider-0.5.10-0chtqqq3.mjs +2 -0
- package/dist/chunks/providerProfiles-0.5.10-kk39f15h.mjs +1 -0
- package/dist/chunks/providerValidation-0.5.10-5b2bmm6k.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.5.10-qen28djd.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.5.10-xmgpzx1a.mjs +34 -0
- package/dist/chunks/registry-0.5.10-q3yb1jt6.mjs +1 -0
- package/dist/chunks/release-notes-0.5.10-3m0mwzvq.mjs +5 -0
- package/dist/chunks/reload-plugins-0.5.10-2ngnamq3.mjs +2 -0
- package/dist/chunks/remote-env-0.5.10-gm9a4ms5.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.5.10-s9tnpv93.mjs +1 -0
- package/dist/chunks/remoteSession-0.5.10-mk8be8a3.mjs +1 -0
- package/dist/chunks/rename-0.5.10-9ecwm2ar.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.5.10-9956kd4a.mjs +1 -0
- package/dist/chunks/replLauncher-0.5.10-94wyag0m.mjs +1 -0
- package/dist/chunks/resume-0.5.10-nc3z5h15.mjs +2 -0
- package/dist/chunks/rewind-0.5.10-wbs4stfg.mjs +1 -0
- package/dist/chunks/rootOptions-0.5.10-8ky1y6hv.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.5.10-jg0fj7ss.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.5.10-yy9272d9.mjs +1 -0
- package/dist/chunks/session-0.5.10-jqzxp3r3.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.5.10-7va0srxq.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.5.10-bykpya1w.mjs +1 -0
- package/dist/chunks/sessionStorage-0.5.10-yy69cv78.mjs +1 -0
- package/dist/chunks/settings-0.5.10-kx3ep0z5.mjs +1 -0
- package/dist/chunks/setup-0.5.10-w0byw3fs.mjs +5 -0
- package/dist/chunks/sinks-0.5.10-289qngp8.mjs +1 -0
- package/dist/chunks/skills-0.5.10-6kvsqc69.mjs +1 -0
- package/dist/chunks/startupProfiler-0.5.10-e0mg4v8r.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.5.10-08eextv5.mjs +1 -0
- package/dist/chunks/state-0.5.10-7xqjnrdw.mjs +1 -0
- package/dist/chunks/stats-0.5.10-fafdyc91.mjs +6 -0
- package/dist/chunks/status-0.5.10-y9t6rf31.mjs +1 -0
- package/dist/chunks/stickers-0.5.10-ta1pq624.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.5.10-zv2wcv5q.mjs +1 -0
- package/dist/chunks/tasks-0.5.10-d0y0wvjj.mjs +1 -0
- package/dist/chunks/teamHelpers-0.5.10-qpwpfv94.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.5.10-92d1devr.mjs +1 -0
- package/dist/chunks/teleport-0.5.10-rkxj6c9z.mjs +1 -0
- package/dist/chunks/terminalSetup-0.5.10-xtrfcff1.mjs +1 -0
- package/dist/chunks/theme-0.5.10-5rz8k2g9.mjs +1 -0
- package/dist/chunks/thinkback-0.5.10-pmdfhfhz.mjs +1 -0
- package/dist/chunks/thinkback-play-0.5.10-051qtb4m.mjs +1 -0
- package/dist/chunks/toolPool-0.5.10-702w7qvh.mjs +1 -0
- package/dist/chunks/toolSearch-0.5.10-emqjgdkv.mjs +1 -0
- package/dist/chunks/tools-0.5.10-2msmk0nf.mjs +1 -0
- package/dist/chunks/trustedDevice-0.5.10-rc23c6gy.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.5.10-a87sftz7.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.5.10-z29nftnt.mjs +4 -0
- package/dist/chunks/update-0.5.10-52yyras3.mjs +86 -0
- package/dist/chunks/upgrade-0.5.10-xqdpemsf.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.5.10-154q742m.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.5.10-8af5etcc.mjs +1 -0
- package/dist/chunks/usage-0.5.10-hhg47trs.mjs +1 -0
- package/dist/chunks/util-0.5.10-0zqyyf2e.mjs +1 -0
- package/dist/chunks/utils-0.5.10-36gnsqbk.mjs +1 -0
- package/dist/chunks/vim-0.5.10-0zas1t6x.mjs +1 -0
- package/dist/chunks/watcher-0.5.10-9etw516s.mjs +1 -0
- package/dist/chunks/wiki-0.5.10-rwktf7fm.mjs +132 -0
- package/dist/chunks/worktree-0.5.10-afdnv059.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.5.10-n0bmqq02.mjs +1 -0
- package/dist/chunks/wrapper-0.5.10-0bca9c3g.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.5.9-560de9d1.mjs +0 -1
- package/dist/chunks/App-0.5.9-zsap2q4b.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.9-8zgzn0jw.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.9-92f16280.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.9-708dpq05.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.9-thv5358f.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.9-h0dan6qh.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.9-35ajv7zw.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.9-2gfy103v.mjs +0 -3
- package/dist/chunks/Doctor-0.5.9-wjw0w0c1.mjs +0 -1
- package/dist/chunks/Grove-0.5.9-hty0xzar.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.9-pch1zyqn.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.9-xjp9bdct.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.9-t4wkfdrh.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.9-12p8z825.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.9-d02fdy7a.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.9-2h6pym7f.mjs +0 -1
- package/dist/chunks/REPL-0.5.9-fn63chv9.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.9-wdc0fys1.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.9-ty7tvdf3.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.9-th2cx2b2.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.9-gqyef6wv.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.9-e4b9wj1z.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.9-xx7btmxb.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.9-7h9j8zft.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.9-y0bxcnzx.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.9-bqhnxdga.mjs +0 -1
- package/dist/chunks/add-dir-0.5.9-t52c4h9t.mjs +0 -1
- package/dist/chunks/agents-0.5.9-b270304w.mjs +0 -110
- package/dist/chunks/agents-0.5.9-h9dw36cp.mjs +0 -3
- package/dist/chunks/api-0.5.9-jnhtend7.mjs +0 -1
- package/dist/chunks/asciicast-0.5.9-hrjx2e4n.mjs +0 -1
- package/dist/chunks/assistant-0.5.9-ap4j82na.mjs +0 -1
- package/dist/chunks/auth-0.5.9-cna7nxzb.mjs +0 -1
- package/dist/chunks/auth-0.5.9-q8ejya3n.mjs +0 -1
- package/dist/chunks/autoMode-0.5.9-w9j324dc.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.9-3x3xcjhq.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.9-ngzjz5nf.mjs +0 -1
- package/dist/chunks/branch-0.5.9-4389y3jh.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.9-ph0vdzcm.mjs +0 -1
- package/dist/chunks/btw-0.5.9-kq7dda47.mjs +0 -1
- package/dist/chunks/buddy-0.5.9-3s5bz133.mjs +0 -3
- package/dist/chunks/cacache-0.5.9-k02nazjg.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.9-vdfe8hkq.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.9-89wd0xyf.mjs +0 -4
- package/dist/chunks/caches-0.5.9-kg4820wg.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.9-7pt2wjt1.mjs +0 -1
- package/dist/chunks/claudemd-0.5.9-bhqwq7vs.mjs +0 -1
- package/dist/chunks/clear-0.5.9-5mg9gs8a.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.9-esamq102.mjs +0 -1
- package/dist/chunks/cli-0.5.9-00ms6tt7.mjs +0 -4
- package/dist/chunks/cli-0.5.9-02vwh5bc.mjs +0 -2
- package/dist/chunks/cli-0.5.9-0a5jxqra.mjs +0 -58
- package/dist/chunks/cli-0.5.9-0b1wx67c.mjs +0 -193
- package/dist/chunks/cli-0.5.9-0becvd5f.mjs +0 -2
- package/dist/chunks/cli-0.5.9-0w46b370.mjs +0 -3
- package/dist/chunks/cli-0.5.9-10ar539r.mjs +0 -2
- package/dist/chunks/cli-0.5.9-12gj3v8y.mjs +0 -12
- package/dist/chunks/cli-0.5.9-1ktmgzhb.mjs +0 -15
- package/dist/chunks/cli-0.5.9-1qkhnqnk.mjs +0 -4
- package/dist/chunks/cli-0.5.9-1zc8qwr4.mjs +0 -2
- package/dist/chunks/cli-0.5.9-248na0hf.mjs +0 -2
- package/dist/chunks/cli-0.5.9-2fcyavah.mjs +0 -17
- package/dist/chunks/cli-0.5.9-2jfbm2es.mjs +0 -12
- package/dist/chunks/cli-0.5.9-2txnqxd1.mjs +0 -2
- package/dist/chunks/cli-0.5.9-31f5vjyq.mjs +0 -2
- package/dist/chunks/cli-0.5.9-32fpvgpt.mjs +0 -2
- package/dist/chunks/cli-0.5.9-371mb3zf.mjs +0 -4
- package/dist/chunks/cli-0.5.9-3bsjckc3.mjs +0 -2
- package/dist/chunks/cli-0.5.9-3s1c44tz.mjs +0 -2
- package/dist/chunks/cli-0.5.9-41dpv5z9.mjs +0 -2
- package/dist/chunks/cli-0.5.9-42t3s85x.mjs +0 -2
- package/dist/chunks/cli-0.5.9-4aga12a5.mjs +0 -2
- package/dist/chunks/cli-0.5.9-4fdad25z.mjs +0 -3
- package/dist/chunks/cli-0.5.9-4m738pn1.mjs +0 -25
- package/dist/chunks/cli-0.5.9-4s8nynfd.mjs +0 -2
- package/dist/chunks/cli-0.5.9-4t8b91eb.mjs +0 -4
- package/dist/chunks/cli-0.5.9-4w9169na.mjs +0 -3
- package/dist/chunks/cli-0.5.9-5ah34c4c.mjs +0 -39
- package/dist/chunks/cli-0.5.9-5e3fhttm.mjs +0 -2
- package/dist/chunks/cli-0.5.9-5hzwn715.mjs +0 -2
- package/dist/chunks/cli-0.5.9-5s8vtyx6.mjs +0 -4
- package/dist/chunks/cli-0.5.9-5vdqnecb.mjs +0 -4
- package/dist/chunks/cli-0.5.9-5vj7cvdr.mjs +0 -2
- package/dist/chunks/cli-0.5.9-5ykvr12k.mjs +0 -2
- package/dist/chunks/cli-0.5.9-610r4gbg.mjs +0 -2
- package/dist/chunks/cli-0.5.9-637n1msd.mjs +0 -15
- package/dist/chunks/cli-0.5.9-671nz4d9.mjs +0 -2
- package/dist/chunks/cli-0.5.9-68rmtj23.mjs +0 -2
- package/dist/chunks/cli-0.5.9-6rrqt96f.mjs +0 -2
- package/dist/chunks/cli-0.5.9-72tax9cd.mjs +0 -2
- package/dist/chunks/cli-0.5.9-77nxjft3.mjs +0 -2
- package/dist/chunks/cli-0.5.9-7bq8wzr3.mjs +0 -18
- package/dist/chunks/cli-0.5.9-7hcka84h.mjs +0 -2
- package/dist/chunks/cli-0.5.9-7qcan18n.mjs +0 -2
- package/dist/chunks/cli-0.5.9-8h1qpeef.mjs +0 -2
- package/dist/chunks/cli-0.5.9-8kfemzbn.mjs +0 -2
- package/dist/chunks/cli-0.5.9-8ndgy03m.mjs +0 -4
- package/dist/chunks/cli-0.5.9-91gjew0x.mjs +0 -3
- package/dist/chunks/cli-0.5.9-9fgjryqc.mjs +0 -2
- package/dist/chunks/cli-0.5.9-9rrpczqk.mjs +0 -17
- package/dist/chunks/cli-0.5.9-a720c6hc.mjs +0 -9
- package/dist/chunks/cli-0.5.9-ajbjmz51.mjs +0 -2
- package/dist/chunks/cli-0.5.9-ap6gvqkx.mjs +0 -67
- package/dist/chunks/cli-0.5.9-apc46v07.mjs +0 -15
- package/dist/chunks/cli-0.5.9-awa1dtdz.mjs +0 -2
- package/dist/chunks/cli-0.5.9-b4t4xfpb.mjs +0 -2
- package/dist/chunks/cli-0.5.9-b4xgpen1.mjs +0 -5
- package/dist/chunks/cli-0.5.9-bax4dxrj.mjs +0 -2
- package/dist/chunks/cli-0.5.9-bc0wvx5b.mjs +0 -2
- package/dist/chunks/cli-0.5.9-bfn7177j.mjs +0 -2
- package/dist/chunks/cli-0.5.9-bp09b2xm.mjs +0 -2
- package/dist/chunks/cli-0.5.9-bv3m0yb8.mjs +0 -2
- package/dist/chunks/cli-0.5.9-bwdsfdf6.mjs +0 -2
- package/dist/chunks/cli-0.5.9-c54d94sv.mjs +0 -2
- package/dist/chunks/cli-0.5.9-cbgfqb0x.mjs +0 -2
- package/dist/chunks/cli-0.5.9-cy4sm0c2.mjs +0 -2
- package/dist/chunks/cli-0.5.9-d5rn9c6v.mjs +0 -12
- package/dist/chunks/cli-0.5.9-d66wktpd.mjs +0 -2
- package/dist/chunks/cli-0.5.9-d89n2ccx.mjs +0 -2
- package/dist/chunks/cli-0.5.9-da0mspn4.mjs +0 -2
- package/dist/chunks/cli-0.5.9-dszssq6z.mjs +0 -2
- package/dist/chunks/cli-0.5.9-dtbcqw2e.mjs +0 -2
- package/dist/chunks/cli-0.5.9-e1gk7v9y.mjs +0 -2
- package/dist/chunks/cli-0.5.9-e4sr85eg.mjs +0 -2
- package/dist/chunks/cli-0.5.9-e5ex267m.mjs +0 -2
- package/dist/chunks/cli-0.5.9-e7gc5p54.mjs +0 -2
- package/dist/chunks/cli-0.5.9-eagw660r.mjs +0 -2
- package/dist/chunks/cli-0.5.9-ejmv1n9p.mjs +0 -3
- package/dist/chunks/cli-0.5.9-ek649arf.mjs +0 -6
- package/dist/chunks/cli-0.5.9-ezc11axw.mjs +0 -2
- package/dist/chunks/cli-0.5.9-ezpjdejw.mjs +0 -2
- package/dist/chunks/cli-0.5.9-f9jt7awn.mjs +0 -2
- package/dist/chunks/cli-0.5.9-fn6ees65.mjs +0 -2
- package/dist/chunks/cli-0.5.9-fv4jrdef.mjs +0 -2
- package/dist/chunks/cli-0.5.9-g6qpvmj4.mjs +0 -133
- package/dist/chunks/cli-0.5.9-g9kt9aw7.mjs +0 -2
- package/dist/chunks/cli-0.5.9-ga0kqnkz.mjs +0 -5
- package/dist/chunks/cli-0.5.9-gbq794tt.mjs +0 -2
- package/dist/chunks/cli-0.5.9-gcsba93g.mjs +0 -18
- package/dist/chunks/cli-0.5.9-ghbax09k.mjs +0 -2
- package/dist/chunks/cli-0.5.9-gk1vb8nn.mjs +0 -2
- package/dist/chunks/cli-0.5.9-gp0bq7wk.mjs +0 -2
- package/dist/chunks/cli-0.5.9-gr8zgxwx.mjs +0 -2
- package/dist/chunks/cli-0.5.9-grgf8g99.mjs +0 -2
- package/dist/chunks/cli-0.5.9-h5d0zxek.mjs +0 -3
- package/dist/chunks/cli-0.5.9-h6nmz5e3.mjs +0 -2
- package/dist/chunks/cli-0.5.9-h7gh7ym5.mjs +0 -24
- package/dist/chunks/cli-0.5.9-h836a3wa.mjs +0 -2
- package/dist/chunks/cli-0.5.9-hg2qm56h.mjs +0 -4
- package/dist/chunks/cli-0.5.9-hpq0xehd.mjs +0 -2
- package/dist/chunks/cli-0.5.9-hwet4kvx.mjs +0 -2
- package/dist/chunks/cli-0.5.9-j2d1jct8.mjs +0 -2
- package/dist/chunks/cli-0.5.9-j8629kcy.mjs +0 -2
- package/dist/chunks/cli-0.5.9-j9ns2awb.mjs +0 -8
- package/dist/chunks/cli-0.5.9-jd8be7cd.mjs +0 -6
- package/dist/chunks/cli-0.5.9-jdzavz2g.mjs +0 -2
- package/dist/chunks/cli-0.5.9-jjtdefqj.mjs +0 -2
- package/dist/chunks/cli-0.5.9-jk4rx6zt.mjs +0 -4
- package/dist/chunks/cli-0.5.9-jnhyr1zg.mjs +0 -2
- package/dist/chunks/cli-0.5.9-jsxqd90d.mjs +0 -3
- package/dist/chunks/cli-0.5.9-k3prcbg9.mjs +0 -2
- package/dist/chunks/cli-0.5.9-k47s77hf.mjs +0 -2
- package/dist/chunks/cli-0.5.9-k6qxbj0d.mjs +0 -42
- package/dist/chunks/cli-0.5.9-k9yedz53.mjs +0 -5262
- package/dist/chunks/cli-0.5.9-kfpgp09g.mjs +0 -6
- package/dist/chunks/cli-0.5.9-knc0w8sn.mjs +0 -2
- package/dist/chunks/cli-0.5.9-krvpcgvw.mjs +0 -2
- package/dist/chunks/cli-0.5.9-ktxeg6my.mjs +0 -2
- package/dist/chunks/cli-0.5.9-m1y4hmzs.mjs +0 -2
- package/dist/chunks/cli-0.5.9-mcezkpp8.mjs +0 -2
- package/dist/chunks/cli-0.5.9-mhz9wt6a.mjs +0 -2
- package/dist/chunks/cli-0.5.9-mmvtbr39.mjs +0 -2
- package/dist/chunks/cli-0.5.9-mpqmy7zw.mjs +0 -2
- package/dist/chunks/cli-0.5.9-n08gkgng.mjs +0 -21
- package/dist/chunks/cli-0.5.9-ncjg30aq.mjs +0 -3
- package/dist/chunks/cli-0.5.9-nct7sarc.mjs +0 -2
- package/dist/chunks/cli-0.5.9-nfhfsnw6.mjs +0 -2
- package/dist/chunks/cli-0.5.9-nk3pacrn.mjs +0 -5
- package/dist/chunks/cli-0.5.9-nvf5kfmq.mjs +0 -9
- package/dist/chunks/cli-0.5.9-ppr1420k.mjs +0 -2
- package/dist/chunks/cli-0.5.9-q3wvc7qb.mjs +0 -2
- package/dist/chunks/cli-0.5.9-q69vj08a.mjs +0 -2
- package/dist/chunks/cli-0.5.9-q7a4xcwy.mjs +0 -3
- package/dist/chunks/cli-0.5.9-q9ne4r9p.mjs +0 -50
- package/dist/chunks/cli-0.5.9-qddf6zq9.mjs +0 -2
- package/dist/chunks/cli-0.5.9-qexy3mqr.mjs +0 -59
- package/dist/chunks/cli-0.5.9-qvvxrm93.mjs +0 -3
- package/dist/chunks/cli-0.5.9-qy6qkzwb.mjs +0 -2
- package/dist/chunks/cli-0.5.9-r9d405kc.mjs +0 -2
- package/dist/chunks/cli-0.5.9-rbjjfytb.mjs +0 -2
- package/dist/chunks/cli-0.5.9-rh5280xq.mjs +0 -2
- package/dist/chunks/cli-0.5.9-rhycyvwn.mjs +0 -2
- package/dist/chunks/cli-0.5.9-rjdhjn49.mjs +0 -20
- package/dist/chunks/cli-0.5.9-rm62v7hr.mjs +0 -34
- package/dist/chunks/cli-0.5.9-rpgjj6qg.mjs +0 -2
- package/dist/chunks/cli-0.5.9-rv2328c4.mjs +0 -2
- package/dist/chunks/cli-0.5.9-s2jh3scf.mjs +0 -3
- package/dist/chunks/cli-0.5.9-sd34jmva.mjs +0 -2
- package/dist/chunks/cli-0.5.9-sjcz03eb.mjs +0 -2
- package/dist/chunks/cli-0.5.9-ss870bda.mjs +0 -2
- package/dist/chunks/cli-0.5.9-syr6nffj.mjs +0 -2
- package/dist/chunks/cli-0.5.9-t2fy8t5r.mjs +0 -45
- package/dist/chunks/cli-0.5.9-tav5jmz1.mjs +0 -2
- package/dist/chunks/cli-0.5.9-tbz9s4h3.mjs +0 -2
- package/dist/chunks/cli-0.5.9-tj6dt3d6.mjs +0 -2
- package/dist/chunks/cli-0.5.9-tke5evvm.mjs +0 -2
- package/dist/chunks/cli-0.5.9-v1srrn02.mjs +0 -2
- package/dist/chunks/cli-0.5.9-v5mkedy5.mjs +0 -16
- package/dist/chunks/cli-0.5.9-v69cq6f1.mjs +0 -2
- package/dist/chunks/cli-0.5.9-ve2b6kmp.mjs +0 -2
- package/dist/chunks/cli-0.5.9-vkt9t3z8.mjs +0 -133
- package/dist/chunks/cli-0.5.9-w1g3tgzh.mjs +0 -2
- package/dist/chunks/cli-0.5.9-wc5gt1zw.mjs +0 -2
- package/dist/chunks/cli-0.5.9-whf5zybr.mjs +0 -2
- package/dist/chunks/cli-0.5.9-wjvc994v.mjs +0 -2
- package/dist/chunks/cli-0.5.9-wkhmkyaq.mjs +0 -2
- package/dist/chunks/cli-0.5.9-wrndf987.mjs +0 -2
- package/dist/chunks/cli-0.5.9-xbvqph1k.mjs +0 -2
- package/dist/chunks/cli-0.5.9-xcexsk79.mjs +0 -2
- package/dist/chunks/cli-0.5.9-xge969yd.mjs +0 -2
- package/dist/chunks/cli-0.5.9-xn1qcye7.mjs +0 -2
- package/dist/chunks/cli-0.5.9-xn369es1.mjs +0 -2
- package/dist/chunks/cli-0.5.9-xz1pg47z.mjs +0 -10
- package/dist/chunks/cli-0.5.9-yazhwsgb.mjs +0 -4
- package/dist/chunks/cli-0.5.9-yh7f5m4w.mjs +0 -2
- package/dist/chunks/cli-0.5.9-yqn35x2d.mjs +0 -2
- package/dist/chunks/cli-0.5.9-ywc7arzn.mjs +0 -2
- package/dist/chunks/cli-0.5.9-z87j725g.mjs +0 -2
- package/dist/chunks/cli-0.5.9-zb26tq1c.mjs +0 -2
- package/dist/chunks/cli-0.5.9-zerpef2t.mjs +0 -1
- package/dist/chunks/cli-0.5.9-zeskcndd.mjs +0 -24
- package/dist/chunks/cli-0.5.9-zqgkcx3g.mjs +0 -2
- package/dist/chunks/cli-0.5.9-zrcz538q.mjs +0 -2
- package/dist/chunks/cli-0.5.9-zwpt90q9.mjs +0 -7
- package/dist/chunks/client-0.5.9-bhc7ghsr.mjs +0 -1
- package/dist/chunks/color-0.5.9-5722xdf4.mjs +0 -1
- package/dist/chunks/compact-0.5.9-4cf807hc.mjs +0 -3
- package/dist/chunks/config-0.5.9-936tss5g.mjs +0 -1
- package/dist/chunks/config-0.5.9-kk16cygb.mjs +0 -1
- package/dist/chunks/context-0.5.9-b0afgp2c.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.9-wj6fxcsj.mjs +0 -1
- package/dist/chunks/conversation-0.5.9-rtntf81h.mjs +0 -1
- package/dist/chunks/copy-0.5.9-93t8z0wz.mjs +0 -9
- package/dist/chunks/cost-0.5.9-2csvd1ae.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.9-0aqkvqad.mjs +0 -1
- package/dist/chunks/createSession-0.5.9-j9xdpffh.mjs +0 -1
- package/dist/chunks/debug-0.5.9-kd9n32y2.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.9-1f7mkn9m.mjs +0 -1177
- package/dist/chunks/desktop-0.5.9-ce65mt7y.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.9-4nd76hbs.mjs +0 -1
- package/dist/chunks/detection-0.5.9-mpgxg1d5.mjs +0 -1
- package/dist/chunks/diff-0.5.9-89ny0sp6.mjs +0 -1
- package/dist/chunks/doctor-0.5.9-e8bxsm2r.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.9-kwncc3yh.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.9-cxrgrx2e.mjs +0 -1
- package/dist/chunks/effort-0.5.9-dbgsjfep.mjs +0 -10
- package/dist/chunks/envUtils-0.5.9-59e9sq5q.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.9-5tjt9mkd.mjs +0 -1
- package/dist/chunks/environments-0.5.9-ebm4yp6e.mjs +0 -1
- package/dist/chunks/errors-0.5.9-xp1e5xqp.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.9-dxv2wpk4.mjs +0 -1
- package/dist/chunks/exit-0.5.9-q7cpk25k.mjs +0 -1
- package/dist/chunks/export-0.5.9-1dpbp185.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.9-ctd5dnsr.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.9-hbmbvzb5.mjs +0 -1
- package/dist/chunks/fast-0.5.9-wagaw91z.mjs +0 -1
- package/dist/chunks/feedback-0.5.9-x37szs13.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.9-g8st730b.mjs +0 -1
- package/dist/chunks/git-0.5.9-zxdvsyxq.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.9-mp51r114.mjs +0 -1
- package/dist/chunks/grove-0.5.9-grafpqtx.mjs +0 -1
- package/dist/chunks/growthbook-0.5.9-mr1nyz65.mjs +0 -1
- package/dist/chunks/headless-0.5.9-pxnbg1dh.mjs +0 -2
- package/dist/chunks/heapdump-0.5.9-58bmar8y.mjs +0 -6
- package/dist/chunks/help-0.5.9-x6ds3za0.mjs +0 -1
- package/dist/chunks/hookChains-0.5.9-1sz7vw7t.mjs +0 -3
- package/dist/chunks/hooks-0.5.9-4mjp8k78.mjs +0 -1
- package/dist/chunks/hooks-0.5.9-n14e2a57.mjs +0 -79
- package/dist/chunks/ide-0.5.9-gk5tarwc.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.9-eept9e9s.mjs +0 -1
- package/dist/chunks/index-0.5.9-0n7mpzrj.mjs +0 -17
- package/dist/chunks/index-0.5.9-3ng34e8n.mjs +0 -2
- package/dist/chunks/index-0.5.9-4b9dgj2z.mjs +0 -9
- package/dist/chunks/index-0.5.9-4fzd2pns.mjs +0 -1
- package/dist/chunks/index-0.5.9-6awv6fyn.mjs +0 -1
- package/dist/chunks/index-0.5.9-6cbrcdyh.mjs +0 -1
- package/dist/chunks/index-0.5.9-725p0eby.mjs +0 -1
- package/dist/chunks/index-0.5.9-85ep6547.mjs +0 -30
- package/dist/chunks/index-0.5.9-8h5ceajb.mjs +0 -1
- package/dist/chunks/index-0.5.9-8ws7n6wv.mjs +0 -5
- package/dist/chunks/index-0.5.9-b3jm65x4.mjs +0 -1
- package/dist/chunks/index-0.5.9-cjjbeyt8.mjs +0 -1
- package/dist/chunks/index-0.5.9-gnac3s48.mjs +0 -1
- package/dist/chunks/index-0.5.9-m68jcsx2.mjs +0 -1
- package/dist/chunks/index-0.5.9-n91crv8a.mjs +0 -1
- package/dist/chunks/index-0.5.9-npkfayxd.mjs +0 -1
- package/dist/chunks/index-0.5.9-pbzzad7t.mjs +0 -9
- package/dist/chunks/index-0.5.9-thp631gs.mjs +0 -1
- package/dist/chunks/index-0.5.9-xcy5t1fw.mjs +0 -1
- package/dist/chunks/index-0.5.9-y07jxja1.mjs +0 -1
- package/dist/chunks/index-0.5.9-yjkfcf2g.mjs +0 -2
- package/dist/chunks/index-0.5.9-zb346057.mjs +0 -1
- package/dist/chunks/init-0.5.9-cmszfh8j.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.9-y2j594wz.mjs +0 -1
- package/dist/chunks/ink-0.5.9-km3f0tv6.mjs +0 -1
- package/dist/chunks/insights-0.5.9-fevx72ve.mjs +0 -870
- package/dist/chunks/install-0.5.9-6m05dpsa.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.9-91syqpey.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.9-9rqmjej1.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.9-55dt6kkh.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.9-47bhz9at.mjs +0 -1
- package/dist/chunks/keybindings-0.5.9-y134m89v.mjs +0 -2
- package/dist/chunks/knowledge-0.5.9-d1m7e2b4.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.9-69z169gq.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.9-vtemqv8c.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.9-xxp0pj2x.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.9-zgq2s8sm.mjs +0 -1
- package/dist/chunks/log-0.5.9-8aszszjb.mjs +0 -1
- package/dist/chunks/main-0.5.9-cjg2h8yb.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.9-nq2mbery.mjs +0 -1
- package/dist/chunks/mcp-0.5.9-g39bj87f.mjs +0 -17
- package/dist/chunks/mcp-0.5.9-h1sdm6zb.mjs +0 -4
- package/dist/chunks/mcp-0.5.9-vpwsq0wd.mjs +0 -1
- package/dist/chunks/mcpb-0.5.9-pavmx8mm.mjs +0 -1
- package/dist/chunks/memory-0.5.9-se036fe4.mjs +0 -3
- package/dist/chunks/mobile-0.5.9-57ycqdp3.mjs +0 -2
- package/dist/chunks/model-0.5.9-4e6fc1m4.mjs +0 -1
- package/dist/chunks/model-0.5.9-k0m86zrn.mjs +0 -2
- package/dist/chunks/node-0.5.9-ftk6pxmx.mjs +0 -12
- package/dist/chunks/oauth-0.5.9-bytwte72.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.9-f9gdeama.mjs +0 -14
- package/dist/chunks/output-style-0.5.9-1wbqsbc0.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.5.9-4gkr65dy.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.9-d0t88r4n.mjs +0 -1
- package/dist/chunks/parser-0.5.9-j1kdtn15.mjs +0 -1
- package/dist/chunks/passes-0.5.9-w08t80rc.mjs +0 -1
- package/dist/chunks/permissions-0.5.9-mzx7w14f.mjs +0 -3
- package/dist/chunks/plan-0.5.9-trs5gepx.mjs +0 -1
- package/dist/chunks/plist-0.5.9-rzpv4ecn.mjs +0 -1
- package/dist/chunks/plugin-0.5.9-x1xsznkk.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.9-qwkp82xp.mjs +0 -1
- package/dist/chunks/plugins-0.5.9-8yj1w6bf.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.9-130eb4bx.mjs +0 -2
- package/dist/chunks/print-0.5.9-fm0q92d1.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.9-vhjhbccg.mjs +0 -1
- package/dist/chunks/process-0.5.9-syp1y7ym.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.9-admb0s9z.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.9-x5wmbzr0.mjs +0 -9
- package/dist/chunks/prompt-0.5.9-6s763n7m.mjs +0 -1
- package/dist/chunks/prompt-0.5.9-fg1exp0e.mjs +0 -1
- package/dist/chunks/prompts-0.5.9-a6jrpexy.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.9-5920qvb2.mjs +0 -13
- package/dist/chunks/provider-0.5.9-ew50s03j.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.9-ygv5pxbq.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.9-pebvjkk0.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.9-p39mhxr9.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.9-5576rw9k.mjs +0 -34
- package/dist/chunks/registry-0.5.9-tkmx5qgm.mjs +0 -1
- package/dist/chunks/release-notes-0.5.9-cmf1033z.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.9-ynqb4wwm.mjs +0 -2
- package/dist/chunks/remote-env-0.5.9-ddnwx90m.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.9-br32ecze.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.9-9ee3jy2n.mjs +0 -1
- package/dist/chunks/rename-0.5.9-h0npjxhv.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.9-4tjg5rct.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.9-y4zkk3hb.mjs +0 -1
- package/dist/chunks/resume-0.5.9-5n9z570h.mjs +0 -2
- package/dist/chunks/rewind-0.5.9-cawzh2f5.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.9-z7hher7x.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.9-m8dy3vak.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.9-d7hfb9dw.mjs +0 -1
- package/dist/chunks/session-0.5.9-spjfzb60.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.9-k8tw4apd.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.9-kzd77836.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.9-5eaxh9e1.mjs +0 -1
- package/dist/chunks/settings-0.5.9-9y9yx2ep.mjs +0 -1
- package/dist/chunks/setup-0.5.9-cbnsjaz6.mjs +0 -5
- package/dist/chunks/sinks-0.5.9-3kes56y2.mjs +0 -1
- package/dist/chunks/skills-0.5.9-816ec23f.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.9-j5rdws5r.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.9-wgd2amqq.mjs +0 -1
- package/dist/chunks/state-0.5.9-ssv90pdf.mjs +0 -1
- package/dist/chunks/stats-0.5.9-09jq1eez.mjs +0 -6
- package/dist/chunks/status-0.5.9-zm23czy4.mjs +0 -1
- package/dist/chunks/stickers-0.5.9-df1ha62e.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.9-4bh9v7rk.mjs +0 -1
- package/dist/chunks/tasks-0.5.9-75eaj64t.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.9-a239c7as.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.9-gpfpnhg1.mjs +0 -1
- package/dist/chunks/teleport-0.5.9-jq0cm2ce.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.9-zscy8b5b.mjs +0 -1
- package/dist/chunks/theme-0.5.9-crkb4a1t.mjs +0 -1
- package/dist/chunks/thinkback-0.5.9-bqzpccev.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.9-avsgpz11.mjs +0 -1
- package/dist/chunks/toolPool-0.5.9-9k94r61g.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.9-qm8rqvys.mjs +0 -1
- package/dist/chunks/tools-0.5.9-e5fa6xh1.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.9-dhpwn40g.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.9-bwat06c0.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.9-qfz8shw1.mjs +0 -4
- package/dist/chunks/update-0.5.9-yv6acwy6.mjs +0 -86
- package/dist/chunks/upgrade-0.5.9-3xpmapbj.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.9-ebc62ytm.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.9-ejbmjrv9.mjs +0 -1
- package/dist/chunks/usage-0.5.9-ze5694v0.mjs +0 -1
- package/dist/chunks/util-0.5.9-8517xr6w.mjs +0 -1
- package/dist/chunks/utils-0.5.9-tq5p3g26.mjs +0 -1
- package/dist/chunks/vim-0.5.9-3pwhv6s4.mjs +0 -1
- package/dist/chunks/watcher-0.5.9-ft2b96h8.mjs +0 -1
- package/dist/chunks/wiki-0.5.9-f96c34xg.mjs +0 -132
- package/dist/chunks/worktree-0.5.9-p28ne51h.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.9-4tgvrvd2.mjs +0 -1
- package/dist/chunks/wrapper-0.5.9-asjtntyw.mjs +0 -7
- /package/dist/chunks/{cli-0.5.9-ysvsqcpa.mjs → cli-0.5.10-1sd567wn.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.9-ehe0yr95.mjs → cli-0.5.10-57andxje.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.9-x9tg4bxs.mjs → cli-0.5.10-5kz0qdsz.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.9-c91t0fys.mjs → cli-0.5.10-a542fww1.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.9-4yxntpxv.mjs → cli-0.5.10-n8pz2na8.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.9-1y9n9z2h.mjs → cli-0.5.10-ra711jkk.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.9-mk69z06z.mjs → cli-0.5.10-t2s1mxyn.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.9-an1j3dqv.mjs → cli-0.5.10-vsgznv7p.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lna as V}from"./cli-0.5.10-1sd567wn.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
|
|
2
|
+
export{U0 as bma,E0 as cma,I0 as dma,D0 as ema,b as fma,T as gma,K as hma,z as ima,B as jma,x as kma,k as lma,m as mma,G as nma,O as oma,y as pma,l as qma,o as rma,i as sma,D as tma,R as uma,x0 as vma,O0 as wma,M as xma,p0 as yma,j6 as zma,nq as Ama};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Ek as X,Jk as Af,Mz as Z,Nz as $f,OP as Bf,PP as Hf,Yj as m,fF as v,gF as zf,hO as n,hk as R,jO as Xf,kk as N,km as c,lk as M,lm as Yf,rk as yf,uD as S,vD as qf}from"./cli-0.5.10-8jjacn05.mjs";import{jR as a,kR as Jf}from"./cli-0.5.10-b761m5q2.mjs";import{JX as _f,LV as If,cX as T,eX as d}from"./cli-0.5.10-9xc8zhxg.mjs";import{mZ as Y,nZ as D,oZ as P}from"./cli-0.5.10-gs8dx67v.mjs";import{pZ as Of}from"./cli-0.5.10-9ek8f4vk.mjs";import{B6 as b,D6 as Gf}from"./cli-0.5.10-2fqes7gy.mjs";import{Oea as L,Qea as e}from"./cli-0.5.10-y9qd4psg.mjs";import{Qfa as W,Tfa as ff}from"./cli-0.5.10-p4wmnjhz.mjs";import{Hna as g,Ina as s,Lna as k}from"./cli-0.5.10-1sd567wn.mjs";function E(){(Hf(),s(Bf)).saveWorktreeState(null)}function l({onDone:K,onCancel:_}){let[$,y]=q.useState("loading"),[O,I]=q.useState([]),[G,z]=q.useState(0),[p,A]=q.useState(),f=m();if(q.useEffect(()=>{async function B(){let J=[],H=await b("git",["status","--porcelain"]);if(H.stdout)J=H.stdout.split(`
|
|
2
|
+
`).filter((V)=>V.trim()!==""),I(J);if(f){let{stdout:V}=await b("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(V.trim())||0;if(z(w),J.length===0&&w===0){y("removing"),M().then(()=>{process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A("Worktree removed (no changes)")}).catch((t)=>{W(`Failed to clean up worktree: ${t}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway")}).then(()=>{y("done")});return}else y("asking")}}B()},[f]),q.useEffect(()=>{if($==="done")K(p)},[$,K,p]),!f)return K("No active worktree session found",{display:"system"}),null;if($==="loading"||$==="done")return null;async function j(B){if(!f)return;let J=Boolean(f.tmuxSessionName);if(B==="keep"||B==="keep-with-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),await N(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),J)A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);y("done")}else if(B==="keep-kill-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),f.tmuxSessionName)await R(f.tmuxSessionName);await N(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),y("done")}else if(B==="remove"||B==="remove-with-tmux"){if(y("removing"),L("tengu_worktree_removed",{commits:G,changed_files:O.length}),f.tmuxSessionName)await R(f.tmuxSessionName);try{await M(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.()}catch(V){W(`Failed to clean up worktree: ${V}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway"),y("done");return}let H=J?" Tmux session terminated.":"";if(G>0&&O.length>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${H}`);else if(G>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${H}`);else if(O.length>0)A(`Worktree removed. Uncommitted changes were discarded.${H}`);else A(`Worktree removed.${H}`);y("done")}}if($==="keeping")return D(T,{flexDirection:"row",marginY:1,children:[Y(v,{}),Y(d,{children:"Keeping worktree…"})]});if($==="removing")return D(T,{flexDirection:"row",marginY:1,children:[Y(v,{}),Y(d,{children:"Removing worktree…"})]});let x=f.worktreeBranch,U=O.length>0,F=G>0,Q="";if(U&&F)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(U)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(F)Q=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else Q="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function r(){if(_){_();return}j("keep")}let h=U||F?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),o=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return Y(c,{title:"Exiting worktree session",subtitle:Q,onCancel:r,children:Y(S,{defaultFocusValue:C?"keep-with-tmux":"keep",options:o,onChange:j})})}var q;var u=k(()=>{e();ff();_f();Gf();Af();$f();yf();qf();Yf();zf();P();q=g(Of(),1)});function Qf(){return a(Kf)??"Goodbye!"}function xf(K){let _=i.c(5),{showWorktree:$,onDone:y,onCancel:O}=K,I;if(_[0]!==y)I=async function(p){y(p??Qf()),await n(0,"prompt_input_exit")},_[0]=y,_[1]=I;else I=_[1];let G=I;if($){let z;if(_[2]!==O||_[3]!==G)z=Y(l,{onDone:G,onCancel:O}),_[2]=O,_[3]=G,_[4]=z;else z=_[4];return z}return null}var i,Kf;var Vf=k(()=>{Jf();Xf();u();P();i=g(If(),1),Kf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
|
|
3
|
+
export{xf as Gb,Vf as Hb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{am as Q,at as Pq,bm as Sq,et as hq}from"./cli-0.5.10-8jjacn05.mjs";import{AU as _q,wU as Uq,xU as Iq}from"./cli-0.5.10-c0xtw3q0.mjs";import{JX as nq,LV as jq,cX as J,eX as L}from"./cli-0.5.10-9xc8zhxg.mjs";import{mZ as H,nZ as O,oZ as vq}from"./cli-0.5.10-gs8dx67v.mjs";import{b1 as bq,c1 as Mq,v1 as yq}from"./cli-0.5.10-xyscak5q.mjs";import{Raa as fq,g9 as Nq,i9 as gq,xaa as Rq,y7 as Xq,z7 as kq}from"./cli-0.5.10-2fqes7gy.mjs";import{Xda as Bq}from"./cli-0.5.10-rk7at2tn.mjs";import{Hna as pq,Lna as Gq}from"./cli-0.5.10-1sd567wn.mjs";function xq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function mq(V,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return V.length>0&&!/^\s/.test(V)&&!V.startsWith("\x1B")}var Wq=Gq(()=>{_q();fq();gq()});function T(V){return V.replace(/\+/g," + ")}function qD(V){let q=Eq.c(99),{dimColor:D,fixedWidth:Aq,gap:x,paddingX:m}=V,l=Q("app:toggleTranscript","Global","ctrl+o"),_;if(q[0]!==l)_=T(l),q[0]=l,q[1]=_;else _=q[1];let e=_,d=Q("app:toggleTodos","Global","ctrl+t"),p;if(q[2]!==d)p=T(d),q[2]=d,q[3]=p;else p=q[3];let s=p,i=Q("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=T(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=Q("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=T($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=Q("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=T(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Dq=Q("chat:modelPicker","Chat","alt+p"),j;if(q[10]!==Dq)j=T(Dq),q[10]=Dq,q[11]=j;else j=q[11];let Hq=j,Jq=Q("chat:fastMode","Chat","alt+o"),n;if(q[12]!==Jq)n=T(Jq),q[12]=Jq,q[13]=n;else n=q[13];let Lq=n,Oq=Q("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Oq)S=T(Oq),q[14]=Oq,q[15]=S;else S=q[15];let Qq=S,Tq=Q("app:toggleTerminal","Global","meta+j"),h;if(q[16]!==Tq)h=T(Tq),q[16]=Tq,q[17]=h;else h=q[17];let Fq=h,Vq=Q("chat:imagePaste","Chat","ctrl+v"),a;if(q[18]!==Vq)a=T(Vq),q[18]=Vq,q[19]=a;else a=q[19];let Yq=a,C;if(q[20]!==D||q[21]!==Fq)C=null,q[20]=D,q[21]=Fq,q[22]=C;else C=q[22];let Zq=C,wq=Aq?24:void 0,Y;if(q[23]!==D)Y=H(J,{children:H(L,{dimColor:D,children:"! for bash mode"})}),q[23]=D,q[24]=Y;else Y=q[24];let Z;if(q[25]!==D)Z=H(J,{children:H(L,{dimColor:D,children:"/ for commands"})}),q[25]=D,q[26]=Z;else Z=q[26];let w;if(q[27]!==D)w=H(J,{children:H(L,{dimColor:D,children:"@ for file paths"})}),q[27]=D,q[28]=w;else w=q[28];let z;if(q[29]!==D)z=H(J,{children:H(L,{dimColor:D,children:"& for background"})}),q[29]=D,q[30]=z;else z=q[30];let A;if(q[31]!==D)A=H(J,{children:H(L,{dimColor:D,children:"/btw for side question"})}),q[31]=D,q[32]=A;else A=q[32];let F;if(q[33]!==wq||q[34]!==Y||q[35]!==Z||q[36]!==w||q[37]!==z||q[38]!==A)F=O(J,{flexDirection:"column",width:wq,children:[Y,Z,w,z,A]}),q[33]=wq,q[34]=Y,q[35]=Z,q[36]=w,q[37]=z,q[38]=A,q[39]=F;else F=q[39];let zq=Aq?35:void 0,G;if(q[40]!==D)G=H(J,{children:H(L,{dimColor:D,children:"double tap esc to clear input"})}),q[40]=D,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==D)N=H(J,{children:O(L,{dimColor:D,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=D,q[44]=N;else N=q[44];let R;if(q[45]!==D||q[46]!==e)R=H(J,{children:O(L,{dimColor:D,children:[e," for verbose output"]})}),q[45]=D,q[46]=e,q[47]=R;else R=q[47];let U;if(q[48]!==D||q[49]!==s)U=H(J,{children:O(L,{dimColor:D,children:[s," to toggle tasks"]})}),q[48]=D,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==D)I=H(J,{children:H(L,{dimColor:D,children:c})}),q[52]=D,q[53]=I;else I=q[53];let K;if(q[54]!==zq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==Zq)K=O(J,{flexDirection:"column",width:zq,children:[G,N,R,U,Zq,I]}),q[54]=zq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=Zq,q[61]=K;else K=q[61];let W;if(q[62]!==D||q[63]!==r)W=H(J,{children:O(L,{dimColor:D,children:[r," to undo"]})}),q[62]=D,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==D)v=Xq()!=="windows"&&H(J,{children:H(L,{dimColor:D,children:"ctrl + z to suspend"})}),q[65]=D,q[66]=v;else v=q[66];let X;if(q[67]!==D||q[68]!==Yq)X=H(J,{children:O(L,{dimColor:D,children:[Yq," to paste images"]})}),q[67]=D,q[68]=Yq,q[69]=X;else X=q[69];let b;if(q[70]!==D||q[71]!==Hq)b=H(J,{children:O(L,{dimColor:D,children:[Hq," to switch model"]})}),q[70]=D,q[71]=Hq,q[72]=b;else b=q[72];let M;if(q[73]!==D||q[74]!==Lq)M=bq()&&Mq()&&H(J,{children:O(L,{dimColor:D,children:[Lq," to toggle fast mode"]})}),q[73]=D,q[74]=Lq,q[75]=M;else M=q[75];let P;if(q[76]!==D||q[77]!==o)P=H(J,{children:O(L,{dimColor:D,children:[o," to stash prompt"]})}),q[76]=D,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==D||q[80]!==Qq)E=H(J,{children:O(L,{dimColor:D,children:[Qq," to edit in $EDITOR"]})}),q[79]=D,q[80]=Qq,q[81]=E;else E=q[81];let g;if(q[82]!==D)g=Pq()&&H(J,{children:H(L,{dimColor:D,children:"/keybindings to customize"})}),q[82]=D,q[83]=g;else g=q[83];let f;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)f=O(J,{flexDirection:"column",children:[W,v,X,b,M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=f;else f=q[92];let u;if(q[93]!==x||q[94]!==m||q[95]!==F||q[96]!==K||q[97]!==f)u=O(J,{paddingX:m,flexDirection:"row",gap:x,children:[F,K,f]}),q[93]=x,q[94]=m,q[95]=F,q[96]=K,q[97]=f,q[98]=u;else u=q[98];return u}var Eq;var aq=Gq(()=>{nq();kq();hq();Sq();Bq();yq();Wq();vq();Eq=pq(jq(),1)});
|
|
2
|
+
export{xq as rf,mq as sf,Wq as tf,qD as uf,aq as vf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ud as Jq,Yd as Tq}from"./cli-0.5.10-syb1bnb2.mjs";import{de as zq,ee as bq}from"./cli-0.5.10-k3qbvfj5.mjs";import{CH as Nq,FI as D,II as Cq,NH as s,OH as _q,SH as a,VH as l,ZH as t,cI as e,eI as Rq,fF as u,gF as fq,km as n,lI as qq,lm as yq,pI as Fq,uD as r,vD as Gq,zH as S}from"./cli-0.5.10-8jjacn05.mjs";import{BV as i,CV as Kq,JX as Oq,LV as Bq,cX as F,eX as C}from"./cli-0.5.10-9xc8zhxg.mjs";import{mZ as v,nZ as R,oZ as p}from"./cli-0.5.10-gs8dx67v.mjs";import{pZ as Lq}from"./cli-0.5.10-9ek8f4vk.mjs";import{B6 as $,C8 as vq,D6 as Xq,g8 as x,kca as m,p6 as g,q6 as Zq,sca as wq,y7 as o,z7 as Hq}from"./cli-0.5.10-2fqes7gy.mjs";import{Qfa as B,Tfa as Yq}from"./cli-0.5.10-p4wmnjhz.mjs";import{hga as P,kga as h,pga as Wq}from"./cli-0.5.10-8wqagr68.mjs";import{Hna as d,Lna as Vq}from"./cli-0.5.10-1sd567wn.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
|
|
2
|
+
export{Iq as Kd,Yz as Ld,Dq as Md};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{B6 as z,D6 as G}from"./cli-0.5.10-2fqes7gy.mjs";import{Lna as D}from"./cli-0.5.10-1sd567wn.mjs";function H(k){let g;try{g=new URL(k)}catch(A){throw Error(`Invalid URL format: ${k}`)}if(g.protocol!=="http:"&&g.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${g.protocol}`)}async function K(k){try{let g=process.platform;if(g==="win32"){let{code:C}=await z("explorer",[k]);return C===0}let A=g==="darwin"?"open":"xdg-open",{code:B}=await z(A,[k]);return B===0}catch(g){return!1}}async function L(k){try{H(k);let g=process.env.BROWSER,A=process.platform;if(A==="win32"){if(g){let{code:C}=await z(g,[`"${k}"`]);return C===0}let{code:B}=await z("rundll32",["url,OpenURL",k],{});return B===0}else{let B=g||(A==="darwin"?"open":"xdg-open"),{code:C}=await z(B,[k]);return C===0}}catch(g){return!1}}var I=D(()=>{G()});
|
|
2
|
+
export{K as LZ,L as MZ,I as NZ};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Ana as x,Cna as y,Gna as C}from"./cli-0.5.10-mvckg6zv.mjs";import{Jna as k}from"./cli-0.5.10-1sd567wn.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
+
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
+
export{MF as V5};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{CM as x,FM as B}from"./cli-0.5.10-8jjacn05.mjs";import{Lna as z}from"./cli-0.5.10-1sd567wn.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
|
|
2
|
+
export{G as vg,H as wg,A as xg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ama as H,pia as z,tia as B}from"./cli-0.5.10-atkghjt0.mjs";import{Lna as x}from"./cli-0.5.10-1sd567wn.mjs";import{AsyncLocalStorage as I}from"async_hooks";function Q(E,F){return D.run(E,F)}function J(){return D.getStore()??B()}function R(){try{return J()}catch{return z()}}var D;var K=x(()=>{H();D=new I});var U="command-name",V="command-message",W="command-args",X="bash-input",Y="bash-stdout",Z="bash-stderr",$="local-command-stdout",j="local-command-stderr",q="local-command-caveat",A,G="tick",L="task-notification",_="task-id",b="tool-use-id",k="task-type",p="output-file",v="status",C="summary",O="worktree",y="worktreePath",S="worktreeBranch",f="remote-review",m="remote-review-progress",u="teammate-message",h="channel",l="fork-boilerplate",w="Your directive: ",g,d;var M=x(()=>{A=["bash-input","bash-stdout","bash-stderr","local-command-stdout","local-command-stderr","local-command-caveat"],g=["help","-h","--help"],d=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
|
|
2
|
+
export{Q as Yda,J as Zda,R as _da,K as $da,U as aea,V as bea,W as cea,X as dea,Y as eea,Z as fea,$ as gea,j as hea,q as iea,A as jea,G as kea,L as lea,_ as mea,b as nea,k as oea,p as pea,v as qea,C as rea,O as sea,y as tea,S as uea,f as vea,m as wea,u as xea,h as yea,l as zea,w as Aea,g as Bea,d as Cea,M as Dea};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Qg as d,Rg as Vq}from"./cli-0.5.10-mrgw2c00.mjs";import{PP as Oq,hO as a,jO as yq,nP as l}from"./cli-0.5.10-8jjacn05.mjs";import{JX as Gq,LV as Zq,cX as T,eX as R,yX as $}from"./cli-0.5.10-9xc8zhxg.mjs";import{AY as t,CY as v,FY as e}from"./cli-0.5.10-9h23hhgb.mjs";import{mZ as P,nZ as N,oZ as S}from"./cli-0.5.10-gs8dx67v.mjs";import{pZ as Yq}from"./cli-0.5.10-9ek8f4vk.mjs";import{MZ as u,NZ as Aq}from"./cli-0.5.10-d1y749qy.mjs";import{B6 as G,C8 as s,D6 as o,g8 as j}from"./cli-0.5.10-2fqes7gy.mjs";import{$da as r,_da as w}from"./cli-0.5.10-d609fanf.mjs";import{Qfa as L,Tfa as n}from"./cli-0.5.10-p4wmnjhz.mjs";import{iga as c,pga as Xq}from"./cli-0.5.10-8wqagr68.mjs";import{ama as i,jia as f}from"./cli-0.5.10-atkghjt0.mjs";import{Hna as I,Lna as h}from"./cli-0.5.10-1sd567wn.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
|
|
2
|
+
Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
|
|
3
|
+
export{mq as Og,Bq as Pg};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{vg as _Z,wg as SZ,xg as vz}from"./cli-0.5.10-d4d9x2de.mjs";import{$g as ZJ,ah as oQ}from"./cli-0.5.10-ax0fmeqk.mjs";import{eh as JJ,fh as tQ}from"./cli-0.5.10-4ekf1v4x.mjs";import{$i as xZ,AN as pQ,BN as dQ,Bq as qJ,Bt as _Q,Cm as aJ,DN as FZ,Ei as UJ,Et as qX,Fi as jJ,Fq as Bz,Gm as Cz,Ix as EZ,Jx as CZ,Kx as bZ,Lx as kJ,Mi as SJ,Mx as IQ,Nx as IJ,SP as sJ,Tx as o0,Ul as lJ,Ux as TJ,Vl as bz,Vx as hJ,WM as hQ,WP as XQ,Wx as RJ,Xw as SQ,Xx as wz,Yw as YX,ZP as kZ,aj as JX,am as bQ,bm as zX,dx as kQ,ex as VX,ht as GQ,it as LQ,jQ as eJ,jt as vQ,kt as yQ,lN as RQ,ot as FQ,pN as xQ,pt as KQ,qN as $Q,qm as rJ,sN as $Z,sm as yZ,tN as fQ,vN as d0,vi as UZ,wN as uQ,wi as MQ,yN as gJ,zN as mJ}from"./cli-0.5.10-8jjacn05.mjs";import{BR as CQ,KR as WX}from"./cli-0.5.10-vqkn3pgf.mjs";import{TU as BZ,UU as oZ,iV as tZ,mV as rQ,nV as OZ,oV as XX}from"./cli-0.5.10-dzr8kmx4.mjs";import{BV as aZ,CV as lQ,JX as f0,LV as x0,XW as EQ,YW as QX,aW as p0,cX as C,dX as HQ,eW as PZ,eX as g,fX as gz}from"./cli-0.5.10-9xc8zhxg.mjs";import{lZ as $0,mZ as B,nZ as $,oZ as L0}from"./cli-0.5.10-gs8dx67v.mjs";import{pZ as R0}from"./cli-0.5.10-9ek8f4vk.mjs";import{LZ as sZ,MZ as eZ,NZ as aQ}from"./cli-0.5.10-d1y749qy.mjs";import{N2 as BQ,O2 as cz,T2 as s0,T3 as Ez,W2 as e0,o3 as nJ,y3 as iJ}from"./cli-0.5.10-xyscak5q.mjs";import{n4 as RZ,o4 as ez}from"./cli-0.5.10-rzshk2m6.mjs";import{D9 as ZX,P_ as VZ,Raa as ZQ,X_ as rZ,j9 as jQ,k6 as v0,l6 as lZ,xaa as wZ}from"./cli-0.5.10-2fqes7gy.mjs";import{Ica as t0,Pca as jz,xca as NZ,yca as MJ}from"./cli-0.5.10-6zwxmza2.mjs";import{$da as Mz,Dea as Vz,_da as vZ,lea as HZ,qea as GZ,rea as LZ}from"./cli-0.5.10-d609fanf.mjs";import{Qfa as c0,Tfa as dz}from"./cli-0.5.10-p4wmnjhz.mjs";import{Fga as sz,vga as UQ}from"./cli-0.5.10-jsnrvena.mjs";import{Cla as DQ,ama as tz}from"./cli-0.5.10-atkghjt0.mjs";import{Hna as A0,Lna as N0}from"./cli-0.5.10-1sd567wn.mjs";function cZ(J){let Z=qZ.c(6),{children:Q}=J,[z,X]=F0.useState(null),[W,q]=F0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(pZ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=V;else V=Z[2];let Y;if(Z[3]!==z||Z[4]!==V)Y=B(uZ.Provider,{value:X,children:B(dZ.Provider,{value:q,children:B(fZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function gZ(){return F0.useContext(fZ)}function mZ(){return F0.useContext(pZ)}function DX(J){let Z=qZ.c(8),Q=F0.useContext(uZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];F0.useEffect(z,X),F0.useEffect(W,q)}function UX(J){let Z=qZ.c(8),Q=F0.useContext(dZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];F0.useEffect(z,X),F0.useEffect(W,q)}var qZ,F0,fZ,uZ,pZ,dZ;var nZ=N0(()=>{L0();qZ=A0(x0(),1),F0=A0(R0(),1),fZ=F0.createContext(null),uZ=F0.createContext(null),pZ=F0.createContext(null),dZ=F0.createContext(null)});function YZ(J){return J.type==="attachment"&&iQ.has(J.attachment.type)}var nQ,iQ;var AZ=N0(()=>{nQ=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","pen_mode_enter","pen_mode_exit","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","memory_delta","todo_reminder_delta"],iQ=new Set(nQ)});import{fileURLToPath as sQ}from"url";function pX(J){let[Z,Q]=q0.useState(null),z=q0.useRef(J);z.current=J;let X=q0.useRef(null),W=q0.useCallback(()=>{Q(null)},[]),q=q0.useCallback((K)=>{let F=Math.max(0,K.getScrollHeight()-K.getViewportHeight());if(K.getScrollTop()+K.getPendingDelta()>=F)return;if(X.current===null)X.current=K.getScrollHeight(),Q(z.current)},[]),V=q0.useCallback((K)=>{if(!K)return;K.scrollToBottom()},[]);q0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let Y=q0.useCallback((K,F)=>{if(Q((P)=>P===null?null:P+K),X.current!==null)X.current+=F},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:V,shiftDivider:Y}}function eQ(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Zz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Zz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function dX(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||YZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=eQ(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function cX(J){let Z=i0.c(47),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:V,scrollRef:Y,dividerYRef:K,hidePill:F,hideSticky:P,newMessageCount:v,onPillClick:M}=J,I=F===void 0?!1:F,Z0=P===void 0?!1:P,d=v===void 0?0:v,{rows:O,columns:b}=BZ(),[_,N]=q0.useState(null),D;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))D={setStickyPrompt:N},Z[0]=D;else D=Z[0];let p=D,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??zz,Z[1]=Y,Z[2]=J0;else J0=Z[2];let E=J0,S;if(Z[3]!==K||Z[4]!==Y)S=()=>{let h=Y?.current,z0=K?.current;if(!h||z0==null)return!1;return h.getScrollTop()+h.getPendingDelta()+h.getViewportHeight()<z0},Z[3]=K,Z[4]=Y,Z[5]=S;else S=Z[5];let H0=q0.useSyncExternalStore(E,S),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(Jz,Y0),p0()){let h=Z0?null:_,z0=h!=null&&h!=="clicked"&&X==null?h:null,Q0=h!=null&&X==null,X0;if(Z[7]!==z0)X0=z0&&B(Wz,{text:z0.text,onClick:z0.scrollTo}),Z[7]=z0,Z[8]=X0;else X0=Z[8];let w0=Q0?0:1,T;if(Z[9]!==Q)T=B(DZ,{value:p,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let i;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==w0)i=$(JJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:w0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=w0,Z[15]=i;else i=Z[15];let o;if(Z[16]!==I||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!I&&H0&&X==null&&B(Xz,{count:d,onClick:M}),Z[16]=I,Z[17]=d,Z[18]=M,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(C,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let k;if(Z[24]!==i||Z[25]!==o||Z[26]!==t||Z[27]!==X0)k=$(C,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[X0,i,o,t]}),Z[24]=i,Z[25]=o,Z[26]=t,Z[27]=X0,Z[28]=k;else k=Z[28];let W0,w;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(qz,{}),w=B(Yz,{}),Z[29]=W0,Z[30]=w;else W0=Z[29],w=Z[30];let U;if(Z[31]!==z)U=$(C,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,w,B(C,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=U;else U=Z[32];let R;if(Z[33]!==b||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(tZ,{value:{rows:O-iZ-1,columns:b-4,scrollRef:V??null},children:$(C,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-iZ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(C,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(b)})}),B(C,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=b,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==k||Z[39]!==U||Z[40]!==R)s=$(cZ,{children:[k,U,R]}),Z[38]=k,Z[39]=U,Z[40]=R,Z[41]=s;else s=Z[41];return s}let l;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)l=$($0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=l;else l=Z[46];return l}function Jz(){if(!p0())return;let J=aZ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Qz,()=>{J.onHyperlinkClick=void 0}}function Qz(J){if(J.startsWith("file:"))try{sZ(sQ(J))}catch{}else eZ(J)}function zz(){}function Xz(J){let Z=i0.c(10),{count:Q,onClick:z}=J,[X,W]=q0.useState(!1),q,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),V=()=>W(!1),Z[0]=q,Z[1]=V;else q=Z[0],V=Z[1];let Y=X?"userMessageBackgroundHover":"userMessageBackground",K;if(Z[2]!==Q)K=Q>0?`${Q} new ${VZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==Y||Z[5]!==K)F=$(g,{backgroundColor:Y,dimColor:!0,children:[" ",K," ",v0.arrowDown," "]}),Z[4]=Y,Z[5]=K,Z[6]=F;else F=Z[6];let P;if(Z[7]!==z||Z[8]!==F)P=B(C,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(C,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=P;else P=Z[9];return P}function Wz(J){let Z=i0.c(8),{text:Q,onClick:z}=J,[X,W]=q0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",V,Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=()=>W(!0),Y=()=>W(!1),Z[0]=V,Z[1]=Y;else V=Z[0],Y=Z[1];let K;if(Z[2]!==Q)K=$(g,{color:"subtle",wrap:"truncate-end",children:[v0.pointer," ",Q]}),Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==z||Z[5]!==q||Z[6]!==K)F=B(C,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:V,onMouseLeave:Y,children:K}),Z[4]=z,Z[5]=q,Z[6]=K,Z[7]=F;else F=Z[7];return F}function qz(){let J=i0.c(4),Z=gZ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=B(C,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(ZJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function Yz(){let J=i0.c(2),Z=mZ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(C,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var i0,q0,iZ=2,DZ;var QJ=N0(()=>{lZ();rQ();nZ();oZ();tQ();lQ();f0();aQ();PZ();rZ();AZ();oQ();L0();i0=A0(x0(),1),q0=A0(R0(),1),DZ=q0.createContext({setStickyPrompt:()=>{}})});function zJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var XJ=()=>{};function WJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${HZ}`))return!1;if(UZ(Z.text,GZ)!=="completed")return!1;return UZ(Z.text,LZ)?.startsWith(qJ)??!1}function YJ(J,Z){if(!p0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(WJ(X)){let W=0;while(z<J.length&&WJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${HZ}><${GZ}>completed</${GZ}><${LZ}>${W} background commands completed</${LZ}></${HZ}>`}]}})}else Q.push(X),z++}return Q}var VJ=N0(()=>{Vz();Bz();PZ();FZ()});function BJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function HJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(BJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!BJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,V)=>q+V.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var GJ=()=>{};function LJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function FJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(LJ(z)){let X=0;while(Q<J.length&&LJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var KJ=()=>{};function Hz(J){let Z=NJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),NJ.set(J,Z);return Z}function jZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function wJ(J,Z,Q=!1){if(Q)return{messages:J};let z=Hz(Z),X=new Map;for(let F of J){let P=jZ(F);if(P&&z.has(P.toolName)){let v=`${P.messageId}:${P.toolName}`,M=X.get(v)??[];M.push(F),X.set(v,M)}}let W=new Map,q=new Set;for(let[F,P]of X)if(P.length>=2){W.set(F,P);for(let v of P){let M=jZ(v);if(M)q.add(M.toolUseId)}}let V=new Map;for(let F of J)if(F.type==="user"){for(let P of F.message.content)if(P.type==="tool_result"&&q.has(P.tool_use_id))V.set(P.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let P=jZ(F);if(P){let v=`${P.messageId}:${P.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let I=M[0],Z0=[];for(let O of M){let b=O.message.content[0].id,_=V.get(b);if(_)Z0.push(_)}let d={type:"grouped_tool_use",toolName:P.toolName,messages:M,results:Z0,displayMessage:I,uuid:`grouped-${I.uuid}`,timestamp:I.timestamp,messageId:P.messageId};Y.push(d)}continue}}if(F.type==="user"){let v=F.message.content.filter((M)=>M.type==="tool_result");if(v.length>0){if(v.every((I)=>q.has(I.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var NJ;var OJ=N0(()=>{NJ=new WeakMap});function KZ(J){let Z=DJ.get(J);if(Z!==void 0)return Z;let Q=Gz(J).toLowerCase();return DJ.set(J,Q),Q}function Gz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=PJ.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!PJ.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(Fz(J.toolUseResult));Z=W.join(`
|
|
2
|
+
`)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[Lz(W.input)];return[]}).join(`
|
|
3
|
+
`);break}case"attachment":{if(J.attachment.type==="relevant_memories")Z=J.attachment.memories.map((X)=>X.content).join(`
|
|
4
|
+
`);else if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
|
|
5
|
+
`)}break}case"collapsed_read_search":{if(J.relevantMemories)Z=J.relevantMemories.map((X)=>X.content).join(`
|
|
6
|
+
`);break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(AJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+AJ.length),z=Q.indexOf("<system-reminder>")}return Q}function Lz(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
|
|
7
|
+
`)}function Fz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
|
|
8
|
+
`+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
|
|
9
|
+
`))}return Q.join(`
|
|
10
|
+
`)}var AJ="</system-reminder>",PJ,DJ;var MZ=N0(()=>{FZ();PJ=new Set([UJ,jJ]),DJ=new WeakMap});function bJ(J){let Z=EJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(Kz)))return null;let W=NZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=B(g,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let V;if(Z[2]!==W||Z[3]!==q)V=B(C,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function Kz(J){return J.type==="text"}var EJ;var CJ=N0(()=>{MJ();f0();L0();EJ=A0(x0(),1)});function yJ(J){let Z=vJ.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(Nz)))return null;let W,q,V;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=C,V=NZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=V;else W=Z[1],q=Z[2],V=Z[3];let Y;if(Z[4]!==q)Y=B(g,{dimColor:!0,children:q}),Z[4]=q,Z[5]=Y;else Y=Z[5];let K;if(Z[6]!==W||Z[7]!==V||Z[8]!==Y)K=B(W,{minWidth:V,children:Y}),Z[6]=W,Z[7]=V,Z[8]=Y,Z[9]=K;else K=Z[9];return K}function Nz(J){return J.type==="text"}var vJ;var _J=N0(()=>{MJ();f0();L0();vJ=A0(x0(),1)});function fJ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(EZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0]?.input;if(EZ(W.toolName,q,Q).isCollapsible)continue}return!0}return!1}function Oz(J){let Z=xJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:P,onOpenRateLimitOptions:v,lastThinkingBlockId:M,latestBashOutputUUID:I,columns:Z0,isLoading:d,lookups:O}=J,b=F==="transcript",_=Q.type==="grouped_tool_use",N=Q.type==="collapsed_read_search",D;if(Z[0]!==X||Z[1]!==Y||Z[2]!==N||Z[3]!==d||Z[4]!==Q)D=N&&(bZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=N,Z[3]=d,Z[4]=Q,Z[5]=D;else D=Z[5];let p=D,J0;if(Z[6]!==N||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:N?kJ(Q):Q,Z[6]=N,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,S;if(Z[10]!==N||Z[11]!==_||Z[12]!==O||Z[13]!==Q)S=_||N?[]:mJ(Q,O),Z[10]=N,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=S;else S=Z[14];let H0=S,Y0;if(Z[15]!==Y||Z[16]!==N||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let k=_||N?SJ:gJ(Q,O);Y0=dJ(Q,K,Y,k,F,O),Z[15]=Y,Z[16]=N,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let l=Y0,h=!1;if(P)if(_){let k;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(w)=>{let U=w.message.content[0];return U?.type==="tool_use"&&Y.has(U.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];k=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=k}else k=Z[25];h=k}else if(N){let k;if(Z[28]!==Y||Z[29]!==Q)k=bZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=k;else k=Z[30];h=k}else{let k;if(Z[31]!==Y||Z[32]!==Q){let W0=d0(Q);k=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=k}else k=Z[33];h=k}let z0;if(Z[34]!==E||Z[35]!==b)z0=b&&E.type==="assistant"&&E.message.content.some(Az)&&(E.timestamp||E.message.model),Z[34]=E,Z[35]=b,Z[36]=z0;else z0=Z[36];let Q0=z0,X0=!Q0,w0=Q0?void 0:Z0,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==p||Z[40]!==l||Z[41]!==b||Z[42]!==z||Z[43]!==M||Z[44]!==I||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==X0||Z[51]!==w0||Z[52]!==W||Z[53]!==V)T=B(RJ,{message:Q,lookups:O,addMargin:X0,containerWidth:w0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:b,isStatic:l,onOpenRateLimitOptions:v,isActiveCollapsedGroup:p,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:I}),Z[37]=q,Z[38]=Y,Z[39]=p,Z[40]=l,Z[41]=b,Z[42]=z,Z[43]=M,Z[44]=I,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=X0,Z[51]=w0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let i=T;if(!Q0){let k;if(Z[55]!==i)k=B(o0,{children:i}),Z[55]=i,Z[56]=k;else k=Z[56];return k}let o;if(Z[57]!==E||Z[58]!==b)o=$(C,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(yJ,{message:E,isTranscriptMode:b}),B(bJ,{message:E,isTranscriptMode:b})]}),Z[57]=E,Z[58]=b,Z[59]=o;else o=Z[59];let t;if(Z[60]!==Z0||Z[61]!==i||Z[62]!==o)t=B(o0,{children:$(C,{width:Z0,flexDirection:"column",children:[o,i]})}),Z[60]=Z0,Z[61]=i,Z[62]=o,Z[63]=t;else t=Z[63];return t}function Az(J){return J.type==="text"}function Pz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return CZ(J).some((X)=>Z.has(X));let Q=d0(J);return!!Q&&Z.has(Q)}function Dz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return CZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=d0(J);return!Q||Z.has(Q)}function Uz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&hJ(Z.message))return!1;let X=Pz(J.message,J.streamingToolUseIDs),W=Dz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var xJ,$J,uJ;var pJ=N0(()=>{f0();IJ();FZ();wz();CJ();cJ();_J();TJ();L0();xJ=A0(x0(),1),$J=A0(R0(),1);uJ=$J.memo(Oz,Uz)});import{relative as yz}from"path";function oJ(J){return Rz.filter((Z)=>Z.isActive(J))}var _z,Sz,kz,Iz,Tz,hz,Rz;var tJ=N0(()=>{f0();eJ();lZ();Mz();jz();Ez();vz();Cz();bz();L0();_z={id:"large-memory-files",type:"warning",isActive:(J)=>kZ(J.memoryFiles).length>0,render:(J)=>{let Z=kZ(J.memoryFiles);return B($0,{children:Z.map((Q)=>{let z=Q.path.startsWith(vZ())?yz(vZ(),Q.path):Q.path;return $(C,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",t0(Q.content.length)," chars >"," ",t0(sJ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},Sz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=s0();return iJ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=s0();return $(C,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},kz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=e0({skipRetrievingKeyFromApiKeyHelper:!0});return!!nJ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=e0({skipRetrievingKeyFromApiKeyHelper:!0});return $(C,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},Iz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=e0({skipRetrievingKeyFromApiKeyHelper:!0}),Z=s0();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=e0({skipRetrievingKeyFromApiKeyHelper:!0}),Z=s0();return $(C,{flexDirection:"column",marginTop:1,children:[$(C,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),$(C,{flexDirection:"column",marginLeft:3,children:[$(g,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),$(g,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},Tz={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return SZ(J.agentDefinitions)>_Z},render:(J)=>{let Z=SZ(J.agentDefinitions);return $(C,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",t0(Z)," tokens >"," ",t0(_Z),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},hz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!rJ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=yZ();return Q!==null&&!lJ(Q)},render:()=>{let J=yZ(),Z=aJ(J);return $(C,{flexDirection:"row",gap:1,marginLeft:1,children:[B(g,{color:"ide",children:v0.arrowUp}),$(g,{children:["Install the ",B(g,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",B(g,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},Rz=[_z,Tz,Sz,kz,Iz,hz]});async function xz(){if(ZZ)return ZZ;return ZZ=XQ().then((J)=>{JZ=J}).finally(()=>{ZZ=null}),ZZ}function QQ(J){let Z=JQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=l0.useState(JZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(JZ.length>0){X(JZ);return}xz().then(()=>{X(JZ)})},Z[0]=W;else W=Z[0];l0.useEffect(W,[W]);let V={config:wZ(),agentDefinitions:Q,memoryFiles:z},Y=oJ(V);if(Y.length===0)return null;let K=C,F="column",P=1,v=Y.map((I)=>B(l0.Fragment,{children:I.render(V)},I.id)),M;if(Z[1]!==K||Z[2]!==v)M=B(K,{flexDirection:F,paddingLeft:P,children:v}),Z[1]=K,Z[2]=v,Z[3]=M;else M=Z[3];return M}var JQ,l0,JZ,ZZ=null;var zQ=N0(()=>{f0();eJ();ZQ();tJ();L0();JQ=A0(x0(),1),l0=A0(R0(),1),JZ=[]});function WQ(J,Z,Q){let z=m.useRef(new Map),X=m.useRef(0),W=m.useRef(0),q=m.useRef({arr:new Float64Array(0),version:-1,n:-1}),V=m.useRef(new Map),Y=m.useRef(new Map),K=m.useRef(Q),F=m.useRef(!1),P=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let w=K.current/Q;K.current=Q;for(let[U,R]of z.current)z.current.set(U,Math.max(1,Math.round(R*w)));X.current++,F.current=!0,v.current=2}let M=v.current>0?P.current:null,I=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((w)=>J.current?.subscribe(w)??pz,[J]);m.useSyncExternalStore(d,()=>{let w=J.current;if(!w)return NaN;let U=w.getScrollTop()+w.getPendingDelta(),R=Math.floor(U/uz);return w.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,b=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,N=J.current?.isSticky()??!0;m.useMemo(()=>{let w=new Set(Z),U=!1;for(let R of z.current.keys())if(!w.has(R))z.current.delete(R),U=!0;for(let R of Y.current.keys())if(!w.has(R))Y.current.delete(R);if(U)X.current++},[Z]);let D=Z.length;if(q.current.version!==X.current||q.current.n!==D){let w=q.current.arr.length>=D+1?q.current.arr:new Float64Array(D+1);w[0]=0;for(let U=0;U<D;U++)w[U+1]=w[U]+(z.current.get(Z[U])??$z);q.current={arr:w,version:X.current,n:D}}let p=q.current.arr,J0=p[D],E,S;if(M)[E,S]=M,E=Math.min(E,D),S=Math.min(S,D);else if(_===0||O<0)E=Math.max(0,D-fz),S=D;else{if(N){let V0=_+r0;E=D;while(E>0&&J0-p[E-1]<V0)E--;S=D}else{let V0=I.current,G0=_*3,M0=Math.min(O,O+b),g0=Math.max(O,O+b),y0=g0-M0,D0=y0>G0?b<0?g0-G0:M0:M0,I0=D0+Math.min(y0,G0),m0=Math.max(0,D0-V0),T0=I0-V0,b0=m0-r0;{let H=0,L=D;while(H<L){let A=H+L>>1;if(p[A+1]<=b0)H=A+1;else L=A}E=H}{let H=P.current;if(H&&H[0]<E)for(let L=H[0];L<Math.min(E,H[1]);L++){let A=Z[L];if(V.current.has(A)&&!z.current.has(A)){E=L;break}}}let n0=_+2*r0,a0=Math.min(D,E+QZ),_0=0;S=E;while(S<a0&&(_0<n0||p[S]<T0+_+r0))_0+=z.current.get(Z[S])??IZ,S++}let w=_+2*r0,U=Math.max(0,S-QZ),R=0;for(let V0=E;V0<S;V0++)R+=z.current.get(Z[V0])??IZ;while(E>U&&R<w)E--,R+=z.current.get(Z[E])??IZ;let s=P.current,O0=Math.abs(O-W.current)+Math.abs(b);if(s&&O0>_*2){let[V0,G0]=s;if(E<V0-zZ)E=V0-zZ;if(S>G0+zZ)S=G0+zZ;if(E>S)S=Math.min(E+zZ,D)}W.current=O}if(v.current>0)v.current--;else P.current=[E,S];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(S),l=E<H0?H0:E,h=S>Y0?Y0:S;if(l>h||N)l=E,h=S;if(b>0)h=S;if(h-l>QZ){let w=(p[l]+p[h])/2;if(O-I.current<w)h=l+QZ;else l=h-QZ}let z0=I.current,Q0=p[l],X0=l===0?0:Q0+z0,w0=h===D?1/0:Math.max(Q0,p[h]-_)+z0;m.useLayoutEffect(()=>{if(N)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,w0)}),m.useLayoutEffect(()=>{let w=Z0.current?.yogaNode;if(w&&w.getComputedWidth()>0)I.current=w.getComputedTop();if(F.current){F.current=!1;return}let U=!1;for(let[R,s]of V.current){let O0=s.yogaNode;if(!O0)continue;let V0=O0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),U=!0}else if(O0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),U=!0}if(U)X.current++});let T=m.useCallback((w)=>{let U=Y.current.get(w);if(!U)U=(R)=>{if(R)V.current.set(w,R);else{let s=V.current.get(w)?.yogaNode;if(s&&!F.current){let O0=s.getComputedHeight();if((O0>0||s.getComputedWidth()>0)&&z.current.get(w)!==O0)z.current.set(w,O0),X.current++}V.current.delete(w)}},Y.current.set(w,U);return U},[]),i=m.useCallback((w)=>{let U=V.current.get(Z[w])?.yogaNode;if(!U||U.getComputedWidth()===0)return-1;return U.getComputedTop()},[Z]),o=m.useCallback((w)=>V.current.get(Z[w])??null,[Z]),t=m.useCallback((w)=>z.current.get(Z[w]),[Z]),k=m.useCallback((w)=>{let U=q.current;if(w<0||w>=U.n)return;J.current?.scrollTo(U.arr[w]+I.current)},[J]),W0=J0-p[h];return{range:[l,h],topSpacer:Q0,bottomSpacer:W0,measureRef:T,spacerRef:Z0,offsets:p,getItemTop:i,getItemElement:o,getItemHeight:t,scrollToIndex:k}}var m,$z=3,r0=80,fz=30,uz,IZ=1,QZ=300,zZ=25,pz=()=>{};var qQ=N0(()=>{m=A0(R0(),1),uz=r0>>1});function mz(J){let Z=YQ.get(J);if(Z!==void 0)return Z;let Q=KZ(J);return YQ.set(J,Q),Q}function iz(J){let Z=VQ.get(J);if(Z!==void 0)return Z;let Q=lz(J);return VQ.set(J,Q),Q}function lz(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
|
|
11
|
+
`)}if(Z===null)return null;let Q=FQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function rz(J){let Z=NQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:V,clickable:Y,onClickK:K,onEnterK:F,onLeaveK:P,renderItem:v}=J,M;if(Z[0]!==Q||Z[1]!==W)M=W(Q),Z[0]=Q,Z[1]=W,Z[2]=M;else M=Z[2];let I=q?"userMessageBackgroundHover":void 0,Z0=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(J0)=>K(z,J0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let b;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==P)b=Y?()=>P(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=P,Z[14]=b;else b=Z[14];let _=V&&!q?"text":void 0,N;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)N=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=N;else N=Z[18];let D;if(Z[19]!==_||Z[20]!==N)D=B(HQ.Provider,{value:_,children:N}),Z[19]=_,Z[20]=N,Z[21]=D;else D=Z[21];let p;if(Z[22]!==M||Z[23]!==I||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==b||Z[28]!==D)p=B(C,{ref:M,flexDirection:"column",backgroundColor:I,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:b,children:D}),Z[22]=M,Z[23]=I,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=b,Z[28]=D,Z[29]=p;else p=Z[29];return p}function wQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=mz,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:P,setCursor:v,jumpRef:M,onSearchMatchesChange:I,scanElement:Z0,setPositions:d}){let O=y.useRef([]),b=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==b.current[0])O.current=J.map((H)=>z(H));else for(let H=O.current.length;H<J.length;H++)O.current.push(z(J[H]));b.current=J,_.current=z;let N=O.current,{range:D,topSpacer:p,bottomSpacer:J0,measureRef:E,spacerRef:S,offsets:H0,getItemTop:Y0,getItemElement:l,getItemHeight:h,scrollToIndex:z0}=WQ(Z,N,Q),[Q0,X0]=D,w0=y.useCallback((H)=>{if(h(H)===0)return!1;return GQ(J[H])},[h,J]);y.useImperativeHandle(P,()=>{let H=(f)=>v?.({uuid:f.uuid,msgType:f.type,expanded:!1,toolName:LQ(f)?.name}),L=F??-1,A=(f,n,a=w0)=>{for(let c=f;c>=0&&c<J.length;c+=n)if(a(c))return H(J[c]),!0;return!1},x=(f)=>w0(f)&&J[f].type==="user";return{enterCursor:()=>A(J.length-1,-1,x),navigatePrev:()=>A(L-1,-1),navigateNext:()=>{if(A(L+1,1))return;Z.current?.scrollToBottom(),v?.(null)},navigatePrevUser:()=>A(L-1,-1,x),navigateNextUser:()=>A(L+1,1,x),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>L>=0?J[L]??null:null}},[J,F,v,w0]);let T=y.useRef({offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0});T.current={offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0},y.useEffect(()=>{if(F===void 0)return;let H=T.current,L=H.getItemElement(F);if(L)Z.current?.scrollToElement(L,1);else H.scrollToIndex(F)},[F,Z]);let i=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),k=y.useRef(0),W0=y.useRef(0),w=y.useRef(()=>{}),U=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),O0=y.useRef(!1);function V0(H){let L=T.current.getItemTop(H);return Math.max(0,L-TZ)}function G0(H){let L=Z.current,{msgIdx:A,positions:x}=o.current;if(!L||x.length===0||A<0){d?.(null);return}let f=Math.max(0,Math.min(H,x.length-1)),n=x[f],a=T.current.getItemTop(A),c=L.getViewportTop(),e=a-L.getScrollTop(),h0=L.getViewportHeight(),P0=c+e+n.row;if(P0<c||P0>=c+h0)L.scrollTo(Math.max(0,a+n.row-TZ)),e=a-L.getScrollTop(),P0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:f});let E0=R.current,U0=E0.prefixSum.at(-1)??0,j0=(E0.prefixSum[E0.ptr]??0)+f+1;I?.(U0,j0),c0(`highlight(i=${A}, ord=${f}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${P0} badge=${j0}/${U0}`)}U.current=G0;let[M0,g0]=y.useState(0),y0=y.useCallback(()=>g0((H)=>H+1),[]);y.useEffect(()=>{let H=i.current;if(!H)return;let{idx:L,wantLast:A,tries:x}=H,f=Z.current;if(!f)return;let{getItemElement:n,getItemTop:a,scrollToIndex:c}=T.current,e=n(L),h0=e?.yogaNode?.getComputedHeight()??0;if(!e||h0===0){if(x>1){i.current=null,c0(`seek(i=${L}): no mount after scrollToIndex, skip`),w.current(A?-1:1);return}i.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}i.current=null,f.scrollTo(Math.max(0,a(L)-TZ));let P0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:P0},c0(`seek(i=${L} t=${x}): ${P0.length} positions`),P0.length===0){if(++k.current>20){k.current=0;return}w.current(A?-1:1);return}k.current=0;let E0=A?P0.length-1:0;R.current.screenOrd=E0,t.current=-1,U.current(E0);let U0=W0.current;if(U0)W0.current=0,w.current(U0)},[M0]);function D0(H,L){let A=Z.current;if(!A)return;let x=T.current,{getItemElement:f,scrollToIndex:n}=x;if(H<0||H>=x.messages.length)return;d?.(null),o.current={msgIdx:-1,positions:[]},i.current={idx:H,wantLast:L,tries:0};let a=f(H),c=a?.yogaNode?.getComputedHeight()??0;if(a&&c>0)A.scrollTo(V0(H));else n(H);y0()}function I0(H){let L=R.current,{matches:A,prefixSum:x}=L,f=x.at(-1)??0;if(A.length===0)return;if(i.current){W0.current=H;return}if(t.current<0)t.current=L.ptr;let{positions:n}=o.current,a=L.screenOrd+H;if(a>=0&&a<n.length){L.screenOrd=a,G0(a),t.current=-1;return}let c=(L.ptr+H+A.length)%A.length;if(c===t.current){d?.(null),t.current=-1,c0(`step: wraparound at ptr=${c}, all ${A.length} msgs phantoms`);return}L.ptr=c,L.screenOrd=0,D0(A[c],H<0);let e=H<0?x[c+1]??f:x[c]+1;I?.(f,e)}w.current=I0,y.useImperativeHandle(M,()=>({jumpToIndex:(H)=>{let L=Z.current;if(L)L.scrollTo(V0(H))},setSearchQuery:(H)=>{i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let L=H.toLowerCase(),A=[],x=[0];if(L){let U0=T.current.messages;for(let j0=0;j0<U0.length;j0++){let S0=Y(U0[j0]),G=S0.indexOf(L),j=0;while(G>=0)j++,G=S0.indexOf(L,G+L.length);if(j>0)A.push(j0),x.push(x.at(-1)+j)}}let f=x.at(-1),n=0,a=Z.current,{offsets:c,start:e,getItemTop:h0}=T.current,P0=h0(e),E0=P0>=0?P0-c[e]:0;if(A.length>0&&a){let U0=s.current>=0?s.current:a.getScrollTop(),j0=1/0;for(let S0=0;S0<A.length;S0++){let G=Math.abs(E0+c[A[S0]]-U0);if(G<=j0)j0=G,n=S0}c0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${n} msgIdx=${A[n]} curTop=${U0} origin=${E0}`)}if(R.current={matches:A,ptr:n,screenOrd:0,prefixSum:x},A.length>0)D0(A[n],!0);else if(s.current>=0&&a)a.scrollTo(s.current);I?.(f,A.length>0?x[n+1]??f:0)},nextMatch:()=>I0(1),prevMatch:()=>I0(-1),setAnchor:()=>{let H=Z.current;if(H)s.current=H.getScrollTop()},disarmSearch:()=>{d?.(null),i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1},warmSearchIndex:async()=>{if(O0.current)return 0;let H=T.current.messages,L=500,A=0,x=performance.now();for(let n=0;n<H.length;n+=L){await BQ(0);let a=performance.now(),c=Math.min(n+L,H.length);for(let e=n;e<c;e++)Y(H[e]);A+=performance.now()-a}let f=Math.round(performance.now()-x);return c0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${f}ms chunks=${Math.ceil(H.length/L)}`),O0.current=!0,Math.round(A)}}),[Z]);let[m0,T0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:T0});b0.current={onItemClick:W,setHoveredKey:T0};let n0=y.useCallback((H,L)=>{let A=b0.current;if(!L&&A.onItemClick)A.onItemClick(H)},[]),a0=y.useCallback((H)=>{b0.current.setHoveredKey(H)},[]),_0=y.useCallback((H)=>{b0.current.setHoveredKey((L)=>L===H?null:L)},[]);return $($0,{children:[B(C,{ref:S,height:p,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=N[A],f=!!W&&(q?.(H)??!0),n=f&&m0===x,a=V?.(H);return B(rz,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:a,hovered:n,clickable:f,onClickK:n0,onEnterK:a0,onLeaveK:_0,renderItem:X},x)}),J0>0&&B(C,{height:J0,flexShrink:0}),K&&B(oz,{messages:J,start:Q0,end:X0,offsets:H0,getItemTop:Y0,getItemElement:l,scrollRef:Z})]})}function oz({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(DZ),Y=y.useCallback((N)=>q.current?.subscribe(N)??az,[q]);y.useSyncExternalStore(Y,()=>{let N=q.current;if(!N)return NaN;let D=N.getScrollTop()+N.getPendingDelta();return N.isSticky()?-1-D:D});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),P=Z,v=-1;for(let N=Q-1;N>=Z;N--){let D=X(N);if(D>=0){if(D<F)break;v=D}P=N}let M=-1,I=null;if(P>0&&!K)for(let N=P-1;N>=0;N--){let D=iz(J[N]);if(D===null)continue;let p=X(N);if(p>=0&&p+1>=F)continue;M=N,I=D;break}let Z0=v>=0?v-z[P]:0,d=M>=0?Math.max(0,Z0+z[M]):-1,O=y.useRef({idx:-1,tries:0}),b=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(b.current==="armed"){b.current="force";return}let N=b.current==="force";if(b.current="none",!N&&_.current===M)return;if(_.current=M,I===null){V(null);return}let D=I.trimStart(),p=D.search(/\n\s*\n/),J0=(p>=0?D.slice(0,p):D).slice(0,nz).replace(/\s+/g," ").trim();if(J0===""){V(null);return}let E=M,S=d;V({text:J0,scrollTo:()=>{V("clicked"),b.current="armed";let H0=W(E);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(S),O.current={idx:E,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let N=W(O.current.idx);if(N)q.current?.scrollToElement(N,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var NQ,y,TZ=3,YQ,nz=500,VQ,az=()=>{};var OQ=N0(()=>{qQ();f0();gz();QJ();dz();cz();MZ();KQ();L0();NQ=A0(x0(),1),y=A0(R0(),1),YQ=new WeakMap;VQ=new WeakMap});function LX(J,Z){let Q=new Set(Z),z=new Set;return J.filter((X)=>{if(X.type==="system")return X.subtype!=="api_metrics";let W=X.message?.content[0];if(X.type==="assistant"){if(X.isApiErrorMessage)return!0;if(W?.type==="tool_use"&&W.name&&Q.has(W.name)){if("id"in W)z.add(W.id);return!0}return!1}if(X.type==="user"){if(W?.type==="tool_result")return W.tool_use_id!==void 0&&z.has(W.tool_use_id);return!X.isMeta}if(X.type==="attachment"){let q=X.attachment;return q?.type==="queued_command"&&q.commandMode==="prompt"&&!q.isMeta&&q.origin===void 0}return!1})}function FX(J,Z){let Q=new Set(Z),z=new Set,X=[],W=0;for(let q=0;q<J.length;q++){let V=J[q],Y=V.message?.content[0];if(V.type==="user"&&Y?.type!=="tool_result"&&!V.isMeta){W++;continue}if(V.type==="assistant"){if(Y?.type==="text")X[q]=W;else if(Y?.type==="tool_use"&&Y.name&&Q.has(Y.name))z.add(W)}}if(z.size===0)return J;return J.filter((q,V)=>{let Y=X[V];return Y===void 0||!z.has(Y)})}function wX(J,Z,Q=KX,z=NX){let X=Z.current,W=X?J.findIndex((Y)=>Y.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let V=J[q];if(V&&(X?.uuid!==V.uuid||X.idx!==q))Z.current={uuid:V.uuid,idx:q};else if(!V&&X)Z.current=null;return q}function PQ(J){return(J.type==="assistant"||J.type==="user"?d0(J):null)??J.uuid}function AX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function dJ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let V=J.message.content[0];if(V?.type==="server_tool_use")return W.resolvedToolUseIDs.has(V.id)}let q=d0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(pQ(q,"PostToolUse",W))return!1;return zJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((V)=>{let Y=V.message.content[0];return Y?.type==="tool_use"&&W.resolvedToolUseIDs.has(Y.id)});case"collapsed_read_search":return!1}}var TQ,XZ,u,BX,HX=null,AQ=null,GX=null,hZ=30,KX=200,NX=50,OX=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:V,conversationId:Y,screen:K,streamingToolUses:F,showAllInTranscript:P=!1,agentDefinitions:v,onOpenRateLimitOptions:M,hideLogo:I=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,streamingText:b,isBriefOnly:_=!1,unseenDivider:N,scrollRef:D,trackStickyPrompt:p,jumpRef:J0,onSearchMatchesChange:E,scanElement:S,setPositions:H0,disableRenderCap:Y0=!1,cursor:l=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=BZ(),w0=bQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=u.useMemo(()=>$Z(J).filter(RQ),[J]),i=u.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=u.useMemo(()=>{if(!d)return null;if(i)return"streaming";for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="assistant"){let B0=j.message.content;for(let r=B0.length-1;r>=0;r--)if(B0[r]?.type==="thinking")return`${j.uuid}:${r}`}else if(j?.type==="user"){if(!j.message.content.some((r)=>r.type==="tool_result"))return"no-thinking"}}return null},[T,d,i]),t=u.useMemo(()=>{for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="user"){let B0=j.message.content;for(let r of B0)if(r.type==="text"){let K0=r.text;if(K0.startsWith("<bash-stdout")||K0.startsWith("<bash-stderr"))return j.uuid}}}return null},[T]),k=u.useMemo(()=>dQ(T),[T]),W0=u.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!k.has(G.contentBlock.id)),[F,q,k]),w=u.useMemo(()=>W0.flatMap((G)=>{let j=hQ({content:[G.contentBlock]});return j.uuid=MQ(G.contentBlock.id,0),$Z([j])}),[W0]),U=K==="transcript",R=u.useMemo(()=>UQ(process.env.CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL),[]),s=D!=null&&!R,O0=U&&!P&&!s,V0=u.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:g0,hiddenMessageCount:y0}=u.useMemo(()=>{let G=z||p0()?T:xQ(T,{includeSnipped:!0}),j=fQ(G.filter((k0)=>k0.type!=="progress").filter((k0)=>!YZ(k0)).filter((k0)=>$Q(k0,U)),w),B0=[AQ,GX].filter((k0)=>k0!==null),r=[AQ].filter((k0)=>k0!==null),K0=B0.length>0&&!U?_?LX(j,B0):r.length>0?FX(j,r):j:j,C0=O0?K0.slice(-hZ):K0,WZ=O0&&K0.length>hZ,{messages:u0}=wJ(C0,Z,z),cQ=YJ(HJ(FJ(IQ(u0,Z))),z),gQ=uQ(T,C0),mQ=j.length-hZ;return{collapsed:cQ,lookups:gQ,hasTruncatedMessages:WZ,hiddenMessageCount:mQ}},[z,T,U,w,O0,Z,_]),D0=u.useMemo(()=>{let j=!s&&!Y0?wX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):j>0?G0.slice(j):G0},[G0,Q0,s,Y0]),I0=u.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),m0=_Q((G)=>G.tasks),T0=M0.asyncLaunchedToolUseIDs,b0=u.useMemo(()=>{if(T0.size===0)return null;let G=new Set;for(let[j,B0]of T0){let r=m0?.[B0]?.status;if(r==="running"||r==="requested"||r==="queued")G.add(j)}return G.size>0?G:null},[m0,T0]),n0=u.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let j of b0)G.add(j);return G},[q,b0]),a0=u.useMemo(()=>{if(!N)return-1;let G=N.firstUnseenUuid.slice(0,24);return D0.findIndex((j)=>j.uuid.slice(0,24)===G)},[N,D0]),_0=u.useMemo(()=>{if(!l)return-1;return D0.findIndex((G)=>G.uuid===l.uuid)},[l,D0]),[H,L]=u.useState(()=>new Set),A=u.useCallback((G)=>{let j=PQ(G);L((B0)=>{let r=new Set(B0);if(r.has(j))r.delete(j);else r.add(j);return r})},[]),x=u.useCallback((G)=>H.size>0&&H.has(PQ(G)),[H]),f=u.useRef(M0);f.current=M0;let n=u.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let K0=G.message.content[0];return K0!=null&&CQ(K0)&&K0.type==="advisor_tool_result"&&K0.content.type==="advisor_result"}if(G.type!=="user")return!1;let j=G.message.content[0];if(j?.type!=="tool_result"||j.is_error||!G.toolUseResult)return!1;let B0=f.current.toolUseByToolUseID.get(j.tool_use_id)?.name;return(B0?xZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),a=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=n0.size>0,{progress:e}=EQ(),h0=u.useRef(null),P0=wZ().terminalProgressBarEnabled&&!DQ()&&!(HX?.isProactiveActive()??!1);u.useEffect(()=>{let G=P0?c?"indeterminate":"completed":null;if(h0.current===G)return;h0.current=G,e(G)},[e,P0,c]),u.useEffect(()=>{return()=>e(null)},[e]);let E0=u.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),U0=(G,j)=>{let B0=j>0?D0[j-1]?.type:void 0,r=G.type==="user"&&B0==="user",K0=G.type==="collapsed_read_search"&&(!!b||fJ(D0,j,Z,I0)),C0=E0(G),WZ=B(uJ,{message:G,isUserContinuation:r,hasContentAfter:K0,tools:Z,commands:Q,verbose:z||x(G)||l?.expanded===!0&&j===_0,inProgressToolUseIDs:n0,streamingToolUseIDs:I0,screen:K,canAnimate:a,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),u0=B(vQ.Provider,{value:j===_0,children:WZ},C0);if(N&&j===a0)return[B(C,{marginTop:1,children:B(OZ,{title:`${N.count} new ${VZ(N.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),u0];return u0},j0=u.useRef(new WeakMap),S0=u.useCallback((G)=>{let j=j0.current.get(G);if(j!==void 0)return j;let B0=KZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let K0=G.message.content.find((C0)=>C0.type==="tool_result");if(K0&&"tool_use_id"in K0){let C0=M0.toolUseByToolUseID.get(K0.tool_use_id),u0=(C0&&xZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(u0!==void 0)B0=u0}}let r=B0.toLowerCase();return j0.current.set(G,r),r},[Z,M0]);return $($0,{children:[!I&&!(Q0&&Q0[0]>0)&&B(BX,{agentDefinitions:v}),g0&&B(OZ,{title:`${w0} to show ${RZ.bold(y0)} previous messages`,width:X0}),U&&P&&y0>0&&!Y0&&B(OZ,{title:`${w0} to hide ${RZ.bold(y0)} previous messages`,width:X0}),s?B(yQ.Provider,{value:!0,children:B(wQ,{messages:D0,scrollRef:D,columns:X0,itemKey:E0,renderItem:U0,onItemClick:A,isItemClickable:n,isItemExpanded:x,trackStickyPrompt:p,selectedIndex:_0>=0?_0:void 0,cursorNavRef:z0,setCursor:h,jumpRef:J0,onSearchMatchesChange:E,scanElement:S,setPositions:H0,extractSearchText:S0})}):D0.flatMap(U0),b&&!_&&B(C,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:$(C,{flexDirection:"row",children:[B(C,{minWidth:2,children:B(g,{color:"text",children:jQ})}),B(C,{flexDirection:"column",children:B(SQ,{children:b})})]})}),i&&O&&!_&&B(C,{marginTop:1,children:B(kQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},C8;var cJ=N0(()=>{ez();XJ();tz();ZX();oZ();QX();f0();zX();qX();JX();WX();VJ();GJ();IJ();KJ();ZQ();sz();PZ();OJ();FZ();rZ();MZ();XX();YX();pJ();KQ();VX();AZ();TJ();zQ();OQ();L0();TQ=A0(x0(),1),XZ=A0(R0(),1),u=A0(R0(),1),BX=XZ.memo(function(Z){let Q=TQ.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=B(o0,{children:$(C,{flexDirection:"column",gap:1,children:[X,B(XZ.Suspense,{fallback:null,children:B(QQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});C8=XZ.memo(OX,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="onOpenRateLimitOptions"||z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,V)=>q.contentBlock===W[V]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(AX(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,V)=>q.name===W[V]?.name))continue}return!1}}return!0})});
|
|
12
|
+
export{DX as Ge,UX as He,nZ as Ie,pX as Je,dX as Ke,cX as Le,QJ as Me,C8 as Ne,cJ as Oe};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Ef as FY,Ff as AQ}from"./cli-0.5.10-qx17jbqj.mjs";import{Lf as LQ}from"./cli-0.5.10-20w5v1ja.mjs";import{Mf as Lq,Of as Pq,Pf as GX}from"./cli-0.5.10-r0jt3zrj.mjs";import{Tf as IJ,Uf as kQ,Vf as zY,Wf as MQ}from"./cli-0.5.10-bmc43e4g.mjs";import{Xf as OY,Yf as PQ}from"./cli-0.5.10-w93v7bhm.mjs";import{$f as RY,Zf as NY,_f as UQ,ag as BQ}from"./cli-0.5.10-mcw01p8b.mjs";import{bg as Eq,cg as l0,eg as HY,fg as DY}from"./cli-0.5.10-hmp23q7z.mjs";import{qh as Nq,rh as QX}from"./cli-0.5.10-948wwm63.mjs";import{$w as Rq,Bt as K0,Ct as XY,Dt as GY,Et as qZ,Gm as OQ,Hs as Fq,Is as n0,Ks as qX,MF as KY,NF as NQ,PP as tq,Sn as QY,Tn as zQ,WP as MY,ax as XX,cP as LZ,cm as J0,dm as DQ,eH as BJ,eQ as AY,em as C,fH as RQ,fQ as UY,fm as f0,gm as c,hm as XJ,jH as YJ,jQ as fQ,kD as TZ,kH as BZ,km as S0,lD as YQ,lH as IZ,lm as FJ,mE as QZ,mH as EZ,nE as XZ,oE as GZ,pE as VZ,qE as WZ,rE as KZ,rm as UJ,sE as HZ,tE as DZ,uD as T0,uE as OZ,vD as eq,vE as zZ,vm as qY,wD as PZ,wE as xq,wJ as R0,xJ as TJ}from"./cli-0.5.10-8jjacn05.mjs";import{AR as FQ,vR as VY,wR as WY}from"./cli-0.5.10-a1hh6v31.mjs";import{fU as Uq,gU as KX}from"./cli-0.5.10-z5ysspq8.mjs";import{TU as V0,UU as v0,fV as l,gV as YY,hV as w0,jV as C0,kV as Bq,mV as zJ,pV as Iq,qV as HX}from"./cli-0.5.10-dzr8kmx4.mjs";import{IW as ZY,JX as D0,LV as U0,UV as e0,VV as eZ,aW as JY,cX as U,eW as HQ,eX as V}from"./cli-0.5.10-9xc8zhxg.mjs";import{lZ as n,mZ as Q,nZ as D,oZ as g}from"./cli-0.5.10-gs8dx67v.mjs";import{pZ as s}from"./cli-0.5.10-9ek8f4vk.mjs";import{xZ as rY,yZ as iQ}from"./cli-0.5.10-p5j82v0t.mjs";import{E3 as vJ,K0 as h0,L0 as WQ,T3 as YX,W1 as zq,_1 as sZ,b0 as Oq,b1 as m0,c1 as MJ,e1 as lZ,f1 as AJ,g0 as ZX,g2 as qJ,h1 as oZ,k2 as tZ,m1 as aZ,v1 as KQ}from"./cli-0.5.10-xyscak5q.mjs";import{n4 as O0,o4 as QQ}from"./cli-0.5.10-rzshk2m6.mjs";import{Bba as fY,Daa as uZ,E9 as mZ,Eba as CY,Fba as CQ,H$ as VQ,Haa as dZ,Hba as SY,I9 as vZ,Iaa as iZ,J9 as cZ,K9 as pZ,L9 as xZ,Lba as TY,Nba as wY,Q9 as GQ,Qba as hY,Raa as rZ,Uba as SQ,Xba as B0,_ba as nZ,k6 as H0,kca as N0,l6 as OJ,s$ as PJ,sca as QJ,u$ as x,uaa as w,x$ as kJ,xaa as T}from"./cli-0.5.10-2fqes7gy.mjs";import{Hca as mJ,Ica as g0,Oca as VJ,Pca as SJ}from"./cli-0.5.10-6zwxmza2.mjs";import{Lda as jZ,Xda as XQ}from"./cli-0.5.10-rk7at2tn.mjs";import{$da as YZ,_da as t0}from"./cli-0.5.10-d609fanf.mjs";import{Oea as f,Qea as qQ}from"./cli-0.5.10-y9qd4psg.mjs";import{Qfa as p0,Tfa as EY,tfa as Dq,yfa as JX}from"./cli-0.5.10-p4wmnjhz.mjs";import{Cga as LJ,Fga as $Z,vga as gZ,xga as IY}from"./cli-0.5.10-jsnrvena.mjs";import{Aia as Qq,Bia as Xq,Cia as Gq,Wia as Vq,Xia as Wq,ama as ZZ,hja as Kq,hka as RJ,ika as _Z,jia as JZ,sja as Hq}from"./cli-0.5.10-atkghjt0.mjs";import{Hna as $,Lna as p}from"./cli-0.5.10-1sd567wn.mjs";function uq(){let Z=JZ(),q=LZ(Z)??Q(V,{dimColor:!0,children:"/rename to add a name"});return[{label:"Version",value:"0.5.10"},{label:"Session name",value:q},{label:"Session ID",value:Z},{label:"cwd",value:t0()},...DZ(),...OZ()]}function dq({mainLoopModel:Z,mcp:J,theme:q,context:X}){return[{label:"Model",value:zZ(Z)},...XZ(J.clients,X.options.ideInstallationStatus,q),...GZ(J.clients,q),...QZ(),...WZ()]}async function FZ(){return[...await KZ(),...await HZ(),...await VZ()]}function iq(Z){let J=JJ.c(8),{value:q}=Z;if(Array.isArray(q)){let X;if(J[0]!==q){let O;if(J[2]!==q.length)O=(F,L)=>D(V,{children:[F,L<q.length-1?",":""]},L),J[2]=q.length,J[3]=O;else O=J[3];X=q.map(O),J[0]=q,J[1]=X}else X=J[1];let W;if(J[4]!==X)W=Q(U,{flexWrap:"wrap",columnGap:1,flexShrink:99,children:X}),J[4]=X,J[5]=W;else W=J[5];return W}if(typeof q==="string"){let X;if(J[6]!==q)X=Q(V,{children:q}),J[6]=q,J[7]=X;else X=J[7];return X}return q}function NZ(Z){let J=JJ.c(20),{context:q,diagnosticsPromise:X}=Z,W=K0(oq),O=K0(lq),[F]=e0(),L;if(J[0]===Symbol.for("react.memo_cache_sentinel"))L=uq(),J[0]=L;else L=J[0];let k;if(J[1]!==q||J[2]!==W||J[3]!==O||J[4]!==F)k=dq({mainLoopModel:W,mcp:O,theme:F,context:q}),J[1]=q,J[2]=W,J[3]=O,J[4]=F,J[5]=k;else k=J[5];let P;if(J[6]!==k)P=[L,k],J[6]=k,J[7]=P;else P=J[7];let K=P,N=C0()?1:void 0,z;if(J[8]!==K)z=K.map(rq),J[8]=K,J[9]=z;else z=J[9];let H;if(J[10]!==X)H=Q(ZJ.Suspense,{fallback:null,children:Q(aq,{promise:X})}),J[10]=X,J[11]=H;else H=J[11];let R;if(J[12]!==N||J[13]!==z||J[14]!==H)R=D(U,{flexDirection:"column",gap:1,flexGrow:N,children:[z,H]}),J[12]=N,J[13]=z,J[14]=H,J[15]=R;else R=J[15];let A;if(J[16]===Symbol.for("react.memo_cache_sentinel"))A=Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})}),J[16]=A;else A=J[16];let B;if(J[17]!==N||J[18]!==R)B=D(U,{flexDirection:"column",flexGrow:N,children:[R,A]}),J[17]=N,J[18]=R,J[19]=B;else B=J[19];return B}function rq(Z,J){return Z.length>0&&Q(U,{flexDirection:"column",children:Z.map(nq)},J)}function nq(Z,J){let{label:q,value:X}=Z;return D(U,{flexDirection:"row",gap:1,flexShrink:0,children:[q!==void 0&&D(V,{bold:!0,children:[q,":"]}),Q(iq,{value:X})]},J)}function lq(Z){return Z.mcp}function oq(Z){return Z.mainLoopModel}function aq(Z){let J=JJ.c(5),{promise:q}=Z,X=ZJ.use(q);if(X.length===0)return null;let W;if(J[0]===Symbol.for("react.memo_cache_sentinel"))W=Q(V,{bold:!0,children:"System Diagnostics"}),J[0]=W;else W=J[0];let O;if(J[1]!==X)O=X.map(sq),J[1]=X,J[2]=O;else O=J[2];let F;if(J[3]!==O)F=D(U,{flexDirection:"column",paddingBottom:1,children:[W,O]}),J[3]=O,J[4]=F;else F=J[4];return F}function sq(Z,J){return D(U,{flexDirection:"row",gap:1,paddingX:1,children:[Q(V,{color:"error",children:H0.warning}),typeof Z==="string"?Q(V,{wrap:"wrap",children:Z}):Z]},J)}var JJ,ZJ;var RZ=p(()=>{OJ();ZZ();zJ();D0();qZ();YZ();tq();xq();f0();g();JJ=$(U0(),1),ZJ=$(s(),1)});function MZ(Z){let J=kZ.c(17),{currentVersion:q,onChoice:X}=Z,W;if(J[0]!==X)W=function(B){X(B)},J[0]=X,J[1]=W;else W=J[1];let O=W,F;if(J[2]!==X)F=function(){X("cancel")},J[2]=X,J[3]=F;else F=J[3];let L=F,k;if(J[4]!==q)k=D(V,{children:["The stable channel may have an older version than what you're currently running (",q,")."]}),J[4]=q,J[5]=k;else k=J[5];let P;if(J[6]===Symbol.for("react.memo_cache_sentinel"))P=Q(V,{dimColor:!0,children:"How would you like to handle this?"}),J[6]=P;else P=J[6];let K;if(J[7]===Symbol.for("react.memo_cache_sentinel"))K={label:"Allow possible downgrade to stable version",value:"downgrade"},J[7]=K;else K=J[7];let N=`Stay on current version (${q}) until stable catches up`,z;if(J[8]!==N)z=[K,{label:N,value:"stay"}],J[8]=N,J[9]=z;else z=J[9];let H;if(J[10]!==O||J[11]!==z)H=Q(T0,{options:z,onChange:O}),J[10]=O,J[11]=z,J[12]=H;else H=J[12];let R;if(J[13]!==L||J[14]!==k||J[15]!==H)R=D(S0,{title:"Switch to Stable Channel",onCancel:L,color:"permission",hideBorder:!0,hideInputGuide:!0,children:[k,P,H]}),J[13]=L,J[14]=k,J[15]=H,J[16]=R;else R=J[16];return R}var kZ;var AZ=p(()=>{D0();PZ();FJ();g();kZ=$(U0(),1)});function UZ(Z){return Object.entries(Z).map(([J,q])=>({label:q?.name??JQ,value:J,description:q?.description??ZQ}))}function CZ(Z){let J=fZ.c(16),{initialStyle:q,onComplete:X,onCancel:W,isStandaloneCommand:O}=Z,F;if(J[0]===Symbol.for("react.memo_cache_sentinel"))F=[],J[0]=F;else F=J[0];let[L,k]=j0.useState(F),[P,K]=j0.useState(!0),N,z;if(J[1]===Symbol.for("react.memo_cache_sentinel"))N=()=>{IZ(t0()).then((d)=>{let t=UZ(d);k(t),K(!1)}).catch(()=>{let d=UZ(BZ);k(d),K(!1)})},z=[],J[1]=N,J[2]=z;else N=J[1],z=J[2];j0.useEffect(N,z);let H;if(J[3]!==X)H=(d)=>{X(d)},J[3]=X,J[4]=H;else H=J[4];let R=H,A=!O,B=!O,I;if(J[5]===Symbol.for("react.memo_cache_sentinel"))I=Q(U,{marginTop:1,children:Q(V,{dimColor:!0,children:"This changes how Claude Code communicates with you"})}),J[5]=I;else I=J[5];let h;if(J[6]!==R||J[7]!==q||J[8]!==P||J[9]!==L)h=D(U,{flexDirection:"column",gap:1,children:[I,P?Q(V,{dimColor:!0,children:"Loading output styles…"}):Q(T0,{options:L,onChange:R,visibleOptionCount:10,defaultValue:q})]}),J[6]=R,J[7]=q,J[8]=P,J[9]=L,J[10]=h;else h=J[10];let S;if(J[11]!==W||J[12]!==A||J[13]!==B||J[14]!==h)S=Q(S0,{title:"Preferred output style",onCancel:W,hideInputGuide:A,hideBorder:B,children:h}),J[11]=W,J[12]=A,J[13]=B,J[14]=h,J[15]=S;else S=J[15];return S}var fZ,j0,JQ="Default",ZQ="Claude completes coding tasks efficiently and provides concise responses";var SZ=p(()=>{EZ();D0();YZ();eq();FJ();g();fZ=$(U0(),1),j0=$(s(),1)});function hZ(Z){let J=wZ.c(13),{initialLanguage:q,onComplete:X,onCancel:W}=Z,[O,F]=NJ.useState(q),[L,k]=NJ.useState((q??"").length),P;if(J[0]===Symbol.for("react.memo_cache_sentinel"))P={context:"Settings"},J[0]=P;else P=J[0];l("confirm:no",W,P);let K;if(J[1]!==O||J[2]!==X)K=function(){let S=O?.trim();X(S||void 0)},J[1]=O,J[2]=X,J[3]=K;else K=J[3];let N=K,z;if(J[4]===Symbol.for("react.memo_cache_sentinel"))z=Q(V,{children:"Enter your preferred response and voice language:"}),J[4]=z;else z=J[4];let H;if(J[5]===Symbol.for("react.memo_cache_sentinel"))H=Q(V,{children:H0.pointer}),J[5]=H;else H=J[5];let R=O??"",A;if(J[6]!==L||J[7]!==N||J[8]!==R)A=D(U,{flexDirection:"row",gap:1,children:[H,Q(TZ,{value:R,onChange:F,onSubmit:N,focus:!0,showCursor:!0,placeholder:`e.g., Japanese, 日本語, Español${H0.ellipsis}`,columns:60,cursorOffset:L,onChangeCursorOffset:k})]}),J[6]=L,J[7]=N,J[8]=R,J[9]=A;else A=J[9];let B;if(J[10]===Symbol.for("react.memo_cache_sentinel"))B=Q(V,{dimColor:!0,children:"Leave empty for default (English)"}),J[10]=B;else B=J[10];let I;if(J[11]!==A)I=D(U,{flexDirection:"column",gap:1,children:[z,A,B]}),J[11]=A,J[12]=I;else I=J[12];return I}var wZ,NJ;var bZ=p(()=>{OJ();D0();w0();YQ();g();wZ=$(U0(),1),NJ=$(s(),1)});function PY({onClose:Z,context:J,setTabsHidden:q,onIsSearchModeChange:X,contentHeight:W}){let{headerFocused:O,focusHeader:F}=HY(),L=C0(),[,k]=e0(),P=eZ(),[K,N]=_.useState(T()),z=v.useRef(T()),[H,R]=_.useState(kJ()),A=v.useRef(kJ()),[B,I]=_.useState(H?.outputStyle||YJ),h=v.useRef(B),[S,d]=_.useState(H?.language),t=v.useRef(S),[j,F0]=_.useState(0),[i,Y0]=_.useState(0),[r,q0]=_.useState(!0),$0=ZY(),{rows:I0}=V0(),Cq=W??Math.min(Math.floor(I0*0.8),30),Q0=Math.max(5,Cq-10),E0=K0((Y)=>Y.mainLoopModel),Sq=K0((Y)=>Y.verbose),xJ=K0((Y)=>Y.thinkingEnabled),uJ=K0((Y)=>m0()?Y.fastMode:!1),Tq=K0((Y)=>Y.promptSuggestionEnabled),FX=!1,X0=XY(),[dJ,M0]=_.useState({}),wq=v.useRef(xJ),[iJ]=_.useState(()=>PJ("localSettings")),[rJ]=_.useState(()=>PJ("userSettings")),nJ=v.useRef(P),hq=GY(),[lJ]=_.useState(()=>{let Y=hq.getState();return{mainLoopModel:Y.mainLoopModel,mainLoopModelForSession:Y.mainLoopModelForSession,verbose:Y.verbose,thinkingEnabled:Y.thinkingEnabled,fastMode:Y.fastMode,promptSuggestionEnabled:Y.promptSuggestionEnabled,isBriefOnly:Y.isBriefOnly,replBridgeEnabled:Y.replBridgeEnabled,replBridgeOutboundOnly:Y.replBridgeOutboundOnly,settings:Y.settings}}),[KJ]=_.useState(()=>RJ()),e=v.useRef(!1),[bq,o0]=_.useState(!1),[m,y]=_.useState(null),{query:A0,setQuery:a0,cursorOffset:yq}=RY({isActive:r&&m===null&&!O,onExit:()=>q0(!1),onExitUp:F,passthroughCtrlKeys:["c","d"]}),oJ=r&&!O;v.useEffect(()=>{X?.(oJ)},[oJ,X]);let _q=qY(J.options.mcpClients),gq=!gZ(process.env.CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING),aJ=v.use(MY(!0)),$q=UY(aJ),W0=iZ();function sJ(Y){f("tengu_config_model_changed",{from_model:E0,to_model:Y}),X0((M)=>({...M,mainLoopModel:Y,mainLoopModelForSession:null})),M0((M)=>{let E=qJ(Y)+(zY(Y,!1,sZ())?" · Billed as extra usage":"");if("model"in M){let{model:b,...o}=M;return{...o,model:E}}return{...M,model:E}})}function jq(Y){w((G)=>({...G,verbose:Y})),N({...T(),verbose:Y}),X0((G)=>({...G,verbose:Y})),M0((G)=>{if("verbose"in G){let{verbose:M,...E}=G;return E}return{...G,verbose:Y}})}let HJ=[{id:"autoCompactEnabled",label:"Auto-compact",value:K.autoCompactEnabled,type:"boolean",onChange(Y){w((G)=>({...G,autoCompactEnabled:Y})),N({...T(),autoCompactEnabled:Y}),f("tengu_auto_compact_setting_changed",{enabled:Y})}},{id:"thinkingHistoryRedactionEnabled",label:"Thinking history redaction",value:K.thinkingHistoryRedactionEnabled,type:"boolean",onChange(Y){w((G)=>({...G,thinkingHistoryRedactionEnabled:Y})),N({...T(),thinkingHistoryRedactionEnabled:Y}),f("claudin_thinking_history_redaction_setting_changed",{enabled:Y})}},{id:"narrationHistoryRedactionEnabled",label:"Narration history redaction",value:K.narrationHistoryRedactionEnabled,type:"boolean",onChange(Y){w((G)=>({...G,narrationHistoryRedactionEnabled:Y})),N({...T(),narrationHistoryRedactionEnabled:Y}),f("claudin_narration_history_redaction_setting_changed",{enabled:Y})}},{id:"showCacheStats",label:"Cache stats display",value:K.showCacheStats,options:["off","compact","full"],type:"enum",onChange(Y){let G=Y==="off"||Y==="compact"||Y==="full"?Y:"compact";w((M)=>({...M,showCacheStats:G})),N({...T(),showCacheStats:G}),f("tengu_show_cache_stats_setting_changed",{mode:G})}},{id:"toolResultSummarizerEnabled",label:"Tool result summarizer",value:K.toolResultSummarizerEnabled,type:"boolean",onChange(Y){w((G)=>({...G,toolResultSummarizerEnabled:Y})),N({...T(),toolResultSummarizerEnabled:Y}),f("claudin_tool_result_summarizer_setting_changed",{enabled:Y})}},{id:"bashOutputFilterEnabled",label:"Bash output filter",value:K.bashOutputFilterEnabled!==!1,type:"boolean",onChange(Y){w((G)=>({...G,bashOutputFilterEnabled:Y,bashOutputFilterUserEnabled:Y})),N({...T(),bashOutputFilterEnabled:Y,bashOutputFilterUserEnabled:Y}),f("claudin_bash_output_filter_setting_changed",{enabled:Y})}},{id:"autoBackgroundAgentsEnabled",label:"Auto-background agents",value:K.autoBackgroundAgentsEnabled!==!1,type:"boolean",onChange(Y){w((G)=>({...G,autoBackgroundAgentsEnabled:Y})),N({...T(),autoBackgroundAgentsEnabled:Y}),f("claudin_auto_background_agents_setting_changed",{enabled:Y})}},{id:"inlineImagesMode",label:"Inline terminal images",value:K.inlineImagesMode??"auto",options:["auto","enable","disable"],type:"enum",onChange(Y){let G=Y==="auto"||Y==="enable"||Y==="disable"?Y:"auto";w((M)=>({...M,inlineImagesMode:G})),N({...T(),inlineImagesMode:G}),f("claudin_inline_images_setting_changed",{mode:G})}},{id:"spinnerTipsEnabled",label:"Show tips",value:H?.spinnerTipsEnabled??!0,type:"boolean",onChange(Y){x("localSettings",{spinnerTipsEnabled:Y}),R((G)=>({...G,spinnerTipsEnabled:Y})),f("tengu_tips_setting_changed",{enabled:Y})}},{id:"prefersReducedMotion",label:"Reduce motion",value:H?.prefersReducedMotion??!1,type:"boolean",onChange(Y){x("localSettings",{prefersReducedMotion:Y}),R((G)=>({...G,prefersReducedMotion:Y})),X0((G)=>({...G,settings:{...G.settings,prefersReducedMotion:Y}})),f("tengu_reduce_motion_setting_changed",{enabled:Y})}},{id:"thinkingEnabled",label:"Thinking mode",value:xJ??!0,type:"boolean",onChange(Y){X0((G)=>({...G,thinkingEnabled:Y})),x("userSettings",{alwaysThinkingEnabled:Y?void 0:!1}),f("tengu_thinking_toggled",{enabled:Y})}},...m0()&&MJ()?[{id:"fastMode",label:`Fast mode (${lZ} only)`,value:!!uJ,type:"boolean",onChange(Y){if(aZ(),x("userSettings",{fastMode:Y?!0:void 0}),Y)X0((G)=>({...G,mainLoopModel:AJ(),mainLoopModelForSession:null,fastMode:!0})),M0((G)=>({...G,model:AJ(),"Fast mode":"ON"}));else X0((G)=>({...G,fastMode:!1})),M0((G)=>({...G,"Fast mode":"OFF"}))}}]:[],{id:"promptSuggestionEnabled",label:"Prompt suggestions",value:Tq,type:"boolean",onChange(Y){X0((G)=>({...G,promptSuggestionEnabled:Y})),x("userSettings",{promptSuggestionEnabled:Y?void 0:!1})}},...gq?[{id:"fileCheckpointingEnabled",label:"Rewind code (checkpoints)",value:K.fileCheckpointingEnabled,type:"boolean",onChange(Y){w((G)=>({...G,fileCheckpointingEnabled:Y})),N({...T(),fileCheckpointingEnabled:Y}),f("tengu_file_history_snapshots_setting_changed",{enabled:Y})}}]:[],{id:"verbose",label:"Verbose output",value:Sq,type:"boolean",onChange:jq},{id:"terminalProgressBarEnabled",label:"Terminal progress bar",value:K.terminalProgressBarEnabled,type:"boolean",onChange(Y){w((G)=>({...G,terminalProgressBarEnabled:Y})),N({...T(),terminalProgressBarEnabled:Y}),f("tengu_terminal_progress_bar_setting_changed",{enabled:Y})}},...jZ("tengu_terminal_sidebar",!1)?[{id:"showStatusInTerminalTab",label:"Show status in terminal tab",value:K.showStatusInTerminalTab??!1,type:"boolean",onChange(Y){w((G)=>({...G,showStatusInTerminalTab:Y})),N({...T(),showStatusInTerminalTab:Y}),f("tengu_terminal_tab_status_setting_changed",{enabled:Y})}}]:[],{id:"showTurnDuration",label:"Show turn duration",value:K.showTurnDuration,type:"boolean",onChange(Y){w((G)=>({...G,showTurnDuration:Y})),N({...T(),showTurnDuration:Y}),f("tengu_show_turn_duration_setting_changed",{enabled:Y})}},{id:"defaultPermissionMode",label:"Default permission mode",value:H?.permissions?.defaultMode||"default",options:(()=>{let Y=["default","plan"],G=mZ,M=["bypassPermissions"];return[...Y,...G.filter((E)=>!Y.includes(E)&&!M.includes(E))]})(),type:"enum",onChange(Y){let G=pZ(Y),M=vZ(G)?cZ(G):G,E=x("userSettings",{permissions:{...H?.permissions,defaultMode:M}});if(E.error){N0(E.error);return}R((b)=>({...b,permissions:{...b?.permissions,defaultMode:M}})),M0((b)=>({...b,defaultPermissionMode:Y})),f("tengu_config_changed",{setting:"defaultPermissionMode",value:Y})}},{id:"useAutoModeDuringPlan",label:"Use auto mode during plan",value:H?.useAutoModeDuringPlan??!0,type:"boolean",onChange(Y){x("userSettings",{useAutoModeDuringPlan:Y}),R((G)=>({...G,useAutoModeDuringPlan:Y})),X0((G)=>{let M=BJ(G.toolPermissionContext);if(M===G.toolPermissionContext)return G;return{...G,toolPermissionContext:M}}),M0((G)=>({...G,"Use auto mode during plan":Y}))}},{id:"respectGitignore",label:"Respect .gitignore in file picker",value:K.respectGitignore,type:"boolean",onChange(Y){w((G)=>({...G,respectGitignore:Y})),N({...T(),respectGitignore:Y}),f("tengu_respect_gitignore_setting_changed",{enabled:Y})}},{id:"copyFullResponse",label:"Always copy full response (skip /copy picker)",value:K.copyFullResponse,type:"boolean",onChange(Y){w((G)=>({...G,copyFullResponse:Y})),N({...T(),copyFullResponse:Y}),f("tengu_config_changed",{setting:"copyFullResponse",value:String(Y)})}},...JY()?[{id:"copyOnSelect",label:"Copy on select",value:K.copyOnSelect??!0,type:"boolean",onChange(Y){w((G)=>({...G,copyOnSelect:Y})),N({...T(),copyOnSelect:Y}),f("tengu_config_changed",{setting:"copyOnSelect",value:String(Y)})}}]:[],{id:"flickerFreeMode",label:"Flicker-free mode",value:K.flickerFreeMode??!1,type:"boolean",onChange(Y){w((G)=>({...G,flickerFreeMode:Y})),N({...T(),flickerFreeMode:Y}),f("tengu_config_changed",{setting:"flickerFreeMode",value:String(Y)})}},W0?{id:"autoUpdatesChannel",label:"Auto-update channel",value:"disabled",type:"managedEnum",onChange(){}}:{id:"autoUpdatesChannel",label:"Auto-update channel",value:H?.autoUpdatesChannel??"latest",type:"managedEnum",onChange(){}},{id:"theme",label:"Theme",value:P,type:"managedEnum",onChange:k},{id:"notifChannel",label:"Notifications",value:K.preferredNotifChannel,options:["auto","iterm2","terminal_bell","iterm2_with_bell","kitty","ghostty","os_native","notifications_disabled"],type:"enum",onChange(Y){w((G)=>({...G,preferredNotifChannel:Y})),N({...T(),preferredNotifChannel:Y})}},{id:"outputStyle",label:"Output style",value:B,type:"managedEnum",onChange:()=>{}},{id:"language",label:"Language",value:S??"Default (English)",type:"managedEnum",onChange:()=>{}},{id:"editorMode",label:"Editor mode",value:K.editorMode==="emacs"?"normal":K.editorMode||"normal",options:["normal","vim"],type:"enum",onChange(Y){w((G)=>({...G,editorMode:Y})),N({...T(),editorMode:Y}),f("tengu_editor_mode_changed",{mode:Y,source:"config_panel"})}},{id:"prStatusFooterEnabled",label:"Show PR status footer",value:K.prStatusFooterEnabled??!0,type:"boolean",onChange(Y){w((G)=>{if(G.prStatusFooterEnabled===Y)return G;return{...G,prStatusFooterEnabled:Y}}),N({...T(),prStatusFooterEnabled:Y}),f("tengu_pr_status_footer_setting_changed",{enabled:Y})}},{id:"model",label:"Model",value:E0===null?"Default (recommended)":E0,type:"managedEnum",onChange:sJ},..._q?[{id:"diffTool",label:"Diff tool",value:K.diffTool??"auto",options:["terminal","auto"],type:"enum",onChange(Y){w((G)=>({...G,diffTool:Y})),N({...T(),diffTool:Y}),f("tengu_diff_tool_changed",{tool:Y,source:"config_panel"})}}]:[],...!UJ()?[{id:"autoConnectIde",label:"Auto-connect to IDE (external terminal)",value:K.autoConnectIde??!1,type:"boolean",onChange(Y){w((G)=>({...G,autoConnectIde:Y})),N({...T(),autoConnectIde:Y}),f("tengu_auto_connect_ide_changed",{enabled:Y,source:"config_panel"})}}]:[],...UJ()?[{id:"autoInstallIdeExtension",label:"Auto-install IDE extension",value:K.autoInstallIdeExtension??!0,type:"boolean",onChange(Y){w((G)=>({...G,autoInstallIdeExtension:Y})),N({...T(),autoInstallIdeExtension:Y}),f("tengu_auto_install_ide_extension_changed",{enabled:Y,source:"config_panel"})}}]:[],...QY()?(()=>{let Y=VY();return[{id:"teammateMode",label:Y?`Teammate mode [overridden: ${Y}]`:"Teammate mode",value:K.teammateMode??"auto",options:["auto","tmux","in-process"],type:"enum",onChange(M){if(M!=="auto"&&M!=="tmux"&&M!=="in-process")return;WY(M),w((E)=>({...E,teammateMode:M})),N({...T(),teammateMode:M}),f("tengu_teammate_mode_changed",{mode:M})}},{id:"teammateDefaultModel",label:"Default teammate model",value:yZ(K.teammateDefaultModel),type:"managedEnum",onChange(){}}]})():[],...$q?[{id:"showExternalIncludesDialog",label:"External CLAUDE.md includes",value:(()=>{if(uZ().hasClaudeMdExternalIncludesApproved)return"true";else return"false"})(),type:"managedEnum",onChange(){}}]:[],...(()=>{let Y=B0(),G=Y?.transport==="anthropic"?Y.apiKey?.trim():void 0;if(!G||LJ())return[];return[{id:"apiKey",label:D(V,{children:["Use custom API key:"," ",Q(V,{bold:!0,children:h0(G)})]}),searchText:"Use custom API key",value:Boolean(K.customApiKeyResponses?.approved?.includes(h0(G))),type:"boolean",onChange(M){w((E)=>{let b={...E};if(!b.customApiKeyResponses)b.customApiKeyResponses={approved:[],rejected:[]};if(!b.customApiKeyResponses.approved)b.customApiKeyResponses={...b.customApiKeyResponses,approved:[]};if(!b.customApiKeyResponses.rejected)b.customApiKeyResponses={...b.customApiKeyResponses,rejected:[]};{let o=h0(G);if(M)b.customApiKeyResponses={...b.customApiKeyResponses,approved:[...(b.customApiKeyResponses.approved??[]).filter((a)=>a!==o),o],rejected:(b.customApiKeyResponses.rejected??[]).filter((a)=>a!==o)};else b.customApiKeyResponses={...b.customApiKeyResponses,approved:(b.customApiKeyResponses.approved??[]).filter((a)=>a!==o),rejected:[...(b.customApiKeyResponses.rejected??[]).filter((a)=>a!==o),o]}}return b}),N(T())}}]})()],G0=v.useMemo(()=>{if(!A0)return HJ;let Y=A0.toLowerCase();return HJ.filter((G)=>{if(G.id.toLowerCase().includes(Y))return!0;return("searchText"in G?G.searchText:G.label).toLowerCase().includes(Y)})},[HJ,A0]);v.useEffect(()=>{if(j>=G0.length){let Y=Math.max(0,G0.length-1);F0(Y),Y0(Math.max(0,Y-Q0+1));return}Y0((Y)=>{if(j<Y)return j;if(j>=Y+Q0)return j-Q0+1;return Y})},[G0.length,j,Q0]);let mq=_.useCallback((Y)=>{Y0((G)=>{if(Y<G)return Y;if(Y>=G+Q0)return Y-Q0+1;return G})},[Q0]),vq=_.useCallback(()=>{if(m!==null)return;let Y=Object.entries(dJ).map(([a,eJ])=>{return f("tengu_config_changed",{key:a,value:eJ}),`Set ${a} to ${O0.bold(eJ)}`}),G=B0(),M=G?.transport==="anthropic"?G.apiKey?.trim():void 0,E=LJ()?void 0:M,b=Boolean(E&&z.current.customApiKeyResponses?.approved?.includes(h0(E))),o=Boolean(E&&K.customApiKeyResponses?.approved?.includes(h0(E)));if(b!==o)Y.push(`${o?"Enabled":"Disabled"} custom API key`),f("tengu_config_changed",{key:"env.ANTHROPIC_API_KEY",value:o});if(K.theme!==z.current.theme)Y.push(`Set theme to ${O0.bold(K.theme)}`);if(K.preferredNotifChannel!==z.current.preferredNotifChannel)Y.push(`Set notifications to ${O0.bold(K.preferredNotifChannel)}`);if(B!==h.current)Y.push(`Set output style to ${O0.bold(B)}`);if(S!==t.current)Y.push(`Set response language to ${O0.bold(S??"Default (English)")}`);if(K.editorMode!==z.current.editorMode)Y.push(`Set editor mode to ${O0.bold(K.editorMode||"emacs")}`);if(K.diffTool!==z.current.diffTool)Y.push(`Set diff tool to ${O0.bold(K.diffTool)}`);if(K.autoConnectIde!==z.current.autoConnectIde)Y.push(`${K.autoConnectIde?"Enabled":"Disabled"} auto-connect to IDE`);if(K.autoInstallIdeExtension!==z.current.autoInstallIdeExtension)Y.push(`${K.autoInstallIdeExtension?"Enabled":"Disabled"} auto-install IDE extension`);if(K.autoCompactEnabled!==z.current.autoCompactEnabled)Y.push(`${K.autoCompactEnabled?"Enabled":"Disabled"} auto-compact`);if(K.thinkingHistoryRedactionEnabled!==z.current.thinkingHistoryRedactionEnabled)Y.push(`${K.thinkingHistoryRedactionEnabled?"Enabled":"Disabled"} thinking history redaction`);if(K.narrationHistoryRedactionEnabled!==z.current.narrationHistoryRedactionEnabled)Y.push(`${K.narrationHistoryRedactionEnabled?"Enabled":"Disabled"} narration history redaction`);if(K.toolResultSummarizerEnabled!==z.current.toolResultSummarizerEnabled)Y.push(`${K.toolResultSummarizerEnabled?"Enabled":"Disabled"} tool result summarizer`);if(K.autoBackgroundAgentsEnabled!==z.current.autoBackgroundAgentsEnabled)Y.push(`${K.autoBackgroundAgentsEnabled!==!1?"Enabled":"Disabled"} auto-background agents`);if(K.bashOutputFilterEnabled!==z.current.bashOutputFilterEnabled)Y.push(`${K.bashOutputFilterEnabled!==!1?"Enabled":"Disabled"} bash output filter`);if(K.respectGitignore!==z.current.respectGitignore)Y.push(`${K.respectGitignore?"Enabled":"Disabled"} respect .gitignore in file picker`);if(K.copyFullResponse!==z.current.copyFullResponse)Y.push(`${K.copyFullResponse?"Enabled":"Disabled"} always copy full response`);if(K.copyOnSelect!==z.current.copyOnSelect)Y.push(`${K.copyOnSelect?"Enabled":"Disabled"} copy on select`);if(K.terminalProgressBarEnabled!==z.current.terminalProgressBarEnabled)Y.push(`${K.terminalProgressBarEnabled?"Enabled":"Disabled"} terminal progress bar`);if(K.showStatusInTerminalTab!==z.current.showStatusInTerminalTab)Y.push(`${K.showStatusInTerminalTab?"Enabled":"Disabled"} terminal tab status`);if(K.showTurnDuration!==z.current.showTurnDuration)Y.push(`${K.showTurnDuration?"Enabled":"Disabled"} turn duration`);if(K.remoteControlAtStartup!==z.current.remoteControlAtStartup){let a=K.remoteControlAtStartup===void 0?"Reset Remote Control to default":`${K.remoteControlAtStartup?"Enabled":"Disabled"} Remote Control for all sessions`;Y.push(a)}if(H?.autoUpdatesChannel!==A.current?.autoUpdatesChannel)Y.push(`Set auto-update channel to ${O0.bold(H?.autoUpdatesChannel??"latest")}`);if(Y.length>0)Z(Y.join(`
|
|
2
|
+
`));else Z("Config dialog dismissed",{display:"system"})},[m,dJ,K,E0,B,S,H?.autoUpdatesChannel,m0()?H?.fastMode:void 0,Z]),tJ=_.useCallback(()=>{if(P!==nJ.current)k(nJ.current);w(()=>z.current);let Y=iJ;x("localSettings",{spinnerTipsEnabled:Y?.spinnerTipsEnabled,prefersReducedMotion:Y?.prefersReducedMotion,defaultView:Y?.defaultView,outputStyle:Y?.outputStyle});let G=rJ;x("userSettings",{alwaysThinkingEnabled:G?.alwaysThinkingEnabled,fastMode:G?.fastMode,promptSuggestionEnabled:G?.promptSuggestionEnabled,autoUpdatesChannel:G?.autoUpdatesChannel,minimumVersion:G?.minimumVersion,language:G?.language,...{useAutoModeDuringPlan:G?.useAutoModeDuringPlan},syntaxHighlightingDisabled:G?.syntaxHighlightingDisabled,permissions:G?.permissions===void 0?void 0:{...G.permissions,defaultMode:G.permissions.defaultMode}});let M=lJ;if(X0((E)=>({...E,mainLoopModel:M.mainLoopModel,mainLoopModelForSession:M.mainLoopModelForSession,verbose:M.verbose,thinkingEnabled:M.thinkingEnabled,fastMode:M.fastMode,promptSuggestionEnabled:M.promptSuggestionEnabled,isBriefOnly:M.isBriefOnly,replBridgeEnabled:M.replBridgeEnabled,replBridgeOutboundOnly:M.replBridgeOutboundOnly,settings:M.settings,toolPermissionContext:BJ(E.toolPermissionContext)})),RJ()!==KJ)_Z(KJ)},[P,k,iJ,rJ,lJ,KJ,X0]),cq=_.useCallback(()=>{if(m!==null)return;if(e.current)tJ();Z("Config dialog dismissed",{display:"system"})},[m,tJ,Z]);l("confirm:no",cq,{context:"Settings",isActive:m===null&&!r&&!O}),l("settings:close",vq,{context:"Settings",isActive:m===null&&!r&&!O});let DJ=_.useCallback(()=>{let Y=G0[j];if(!Y||!Y.onChange)return;if(Y.type==="boolean"){if(e.current=!0,Y.onChange(!Y.value),Y.id==="thinkingEnabled"){if(!Y.value===wq.current)o0(!1);else if(J.messages.some((E)=>E.type==="assistant"))o0(!0)}return}if(Y.id==="theme"||Y.id==="model"||Y.id==="teammateDefaultModel"||Y.id==="showExternalIncludesDialog"||Y.id==="outputStyle"||Y.id==="language")switch(Y.id){case"theme":y("Theme"),q(!0);return;case"model":y("Model"),q(!0);return;case"teammateDefaultModel":y("TeammateModel"),q(!0);return;case"showExternalIncludesDialog":y("ExternalIncludes"),q(!0);return;case"outputStyle":y("OutputStyle"),q(!0);return;case"language":y("Language"),q(!0);return}if(Y.id==="autoUpdatesChannel"){if(W0){y("EnableAutoUpdates"),q(!0);return}if((H?.autoUpdatesChannel??"latest")==="latest")y("ChannelDowngrade"),q(!0);else e.current=!0,x("userSettings",{autoUpdatesChannel:"latest",minimumVersion:void 0}),R((M)=>({...M,autoUpdatesChannel:"latest",minimumVersion:void 0})),f("tengu_autoupdate_channel_changed",{channel:"latest"});return}if(Y.type==="enum"){e.current=!0;let M=(Y.options.indexOf(Y.value)+1)%Y.options.length;Y.onChange(Y.options[M]);return}},[W0,G0,j,H?.autoUpdatesChannel,q]),s0=(Y)=>{o0(!1);let G=Math.max(0,Math.min(G0.length-1,j+Y));F0(G),mq(G)};YY({"select:previous":()=>{if(j===0)o0(!1),q0(!0),Y0(0);else s0(-1)},"select:next":()=>s0(1),"scroll:lineUp":()=>s0(-1),"scroll:lineDown":()=>s0(1),"select:accept":DJ,"settings:search":()=>{q0(!0),a0("")}},{context:"Settings",isActive:m===null&&!r&&!O});let pq=_.useCallback((Y)=>{if(m!==null)return;if(O)return;if(r){if(Y.key==="escape"){if(Y.preventDefault(),A0.length>0)a0("");else q0(!1);return}if(Y.key==="return"||Y.key==="down"||Y.key==="wheeldown")Y.preventDefault(),q0(!1),F0(0),Y0(0);return}if(Y.key==="left"||Y.key==="right"||Y.key==="tab"){Y.preventDefault(),DJ();return}if(Y.ctrl||Y.meta)return;if(Y.key==="j"||Y.key==="k"||Y.key==="/")return;if(Y.key.length===1&&Y.key!==" ")Y.preventDefault(),q0(!0),a0(Y.key)},[m,O,r,A0,a0,DJ]);return Q(U,{flexDirection:"column",width:"100%",tabIndex:0,autoFocus:!0,onKeyDown:pq,children:m==="Theme"?D(n,{children:[Q(OY,{onThemeSelect:(Y)=>{e.current=!0,k(Y),y(null),q(!1)},onCancel:()=>{y(null),q(!1)},hideEscToCancel:!0,skipExitHandling:!0}),Q(U,{children:Q(V,{dimColor:!0,italic:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"select"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})})]}):m==="Model"?D(n,{children:[Q(IJ,{initial:E0,onSelect:(Y,G)=>{e.current=!0,sJ(Y),y(null),q(!1)},onCancel:()=>{y(null),q(!1)},showFastModeNotice:m0()?uJ&&oZ(E0)&&MJ():!1}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):m==="TeammateModel"?D(n,{children:[Q(IJ,{initial:K.teammateDefaultModel??null,skipSettingsWrite:!0,headerText:"Default model for newly spawned teammates. The leader can override via the tool call's model parameter.",onSelect:(Y,G)=>{if(y(null),q(!1),K.teammateDefaultModel===void 0&&Y===null)return;e.current=!0,w((M)=>M.teammateDefaultModel===Y?M:{...M,teammateDefaultModel:Y}),N({...T(),teammateDefaultModel:Y}),M0((M)=>({...M,teammateDefaultModel:yZ(Y)})),f("tengu_teammate_default_model_changed",{model:Y})},onCancel:()=>{y(null),q(!1)}}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):m==="ExternalIncludes"?D(n,{children:[Q(FY,{onDone:()=>{y(null),q(!1)},externalIncludes:AY(aJ)}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"disable external includes"})]})})]}):m==="OutputStyle"?D(n,{children:[Q(CZ,{initialStyle:B,onComplete:(Y)=>{e.current=!0,I(Y??YJ),y(null),q(!1),x("localSettings",{outputStyle:Y}),f("tengu_output_style_changed",{style:Y??YJ,source:"config_panel",settings_source:"localSettings"})},onCancel:()=>{y(null),q(!1)}}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):m==="Language"?D(n,{children:[Q(hZ,{initialLanguage:S,onComplete:(Y)=>{e.current=!0,d(Y),y(null),q(!1),x("userSettings",{language:Y}),f("tengu_language_changed",{language:Y??"default",source:"config_panel"})},onCancel:()=>{y(null),q(!1)}}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]}):m==="EnableAutoUpdates"?Q(S0,{title:"Enable Auto-Updates",onCancel:()=>{y(null),q(!1)},hideBorder:!0,hideInputGuide:!0,children:W0?.type!=="config"?D(n,{children:[Q(V,{children:W0?.type==="env"?"Auto-updates are controlled by an environment variable and cannot be changed here.":"Auto-updates are disabled in development builds."}),W0?.type==="env"&&D(V,{dimColor:!0,children:["Unset ",W0.envVar," to re-enable auto-updates."]})]}):Q(T0,{options:[{label:"Enable with latest channel",value:"latest"},{label:"Enable with stable channel",value:"stable"}],onChange:(Y)=>{e.current=!0,y(null),q(!1),w((G)=>({...G,autoUpdates:!0})),N({...T(),autoUpdates:!0}),x("userSettings",{autoUpdatesChannel:Y,minimumVersion:void 0}),R((G)=>({...G,autoUpdatesChannel:Y,minimumVersion:void 0})),f("tengu_autoupdate_enabled",{channel:Y})}})}):m==="ChannelDowngrade"?Q(MZ,{currentVersion:"99.0.0",onChoice:(Y)=>{if(y(null),q(!1),Y==="cancel")return;e.current=!0;let G={autoUpdatesChannel:"stable"};if(Y==="stay")G.minimumVersion="99.0.0";x("userSettings",G),R((M)=>({...M,...G})),f("tengu_autoupdate_channel_changed",{channel:"stable",minimum_version_set:Y==="stay"})}}):D(U,{flexDirection:"column",gap:1,marginY:L?void 0:1,children:[Q(NY,{query:A0,isFocused:r&&!O,isTerminalFocused:$0,cursorOffset:yq,placeholder:"Search settings…"}),Q(U,{flexDirection:"column",children:G0.length===0?D(V,{dimColor:!0,italic:!0,children:['No settings match "',A0,'"']}):D(n,{children:[i>0&&D(V,{dimColor:!0,children:[H0.arrowUp," ",i," more above"]}),G0.slice(i,i+Q0).map((Y,G)=>{let E=i+G===j&&!O&&!r;return Q(v.Fragment,{children:D(U,{children:[Q(U,{width:44,children:D(V,{color:E?"suggestion":void 0,children:[E?H0.pointer:" "," ",Y.label]})}),Q(U,{children:Y.type==="boolean"?D(n,{children:[Q(V,{color:E?"suggestion":void 0,children:Y.value.toString()}),bq&&Y.id==="thinkingEnabled"&&D(V,{color:"warning",children:[" ","Changing thinking mode mid-conversation will increase latency and may reduce quality."]})]}):Y.id==="theme"?Q(V,{color:E?"suggestion":void 0,children:IQ[Y.value.toString()]??Y.value.toString()}):Y.id==="notifChannel"?Q(V,{color:E?"suggestion":void 0,children:Q(EQ,{value:Y.value.toString()})}):Y.id==="defaultPermissionMode"?Q(V,{color:E?"suggestion":void 0,children:xZ(Y.value)}):Y.id==="autoUpdatesChannel"&&W0?D(U,{flexDirection:"column",children:[Q(V,{color:E?"suggestion":void 0,children:"disabled"}),D(V,{dimColor:!0,children:["(",dZ(W0),")"]})]}):Q(V,{color:E?"suggestion":void 0,children:Y.value.toString()})},E?"selected":"unselected")]})},Y.id)}),i+Q0<G0.length&&D(V,{dimColor:!0,children:[H0.arrowDown," ",G0.length-i-Q0," ","more below"]})]})}),O?Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"←/→ tab",action:"switch"}),Q(J0,{shortcut:"↓",action:"return"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"close"})]})}):r?Q(V,{dimColor:!0,children:D(c,{children:[Q(V,{children:"Type to filter"}),Q(J0,{shortcut:"Enter/↓",action:"select"}),Q(J0,{shortcut:"↑",action:"tabs"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"clear"})]})}):Q(V,{dimColor:!0,children:D(c,{children:[Q(C,{action:"select:accept",context:"Settings",fallback:"Space",description:"change"}),Q(C,{action:"settings:close",context:"Settings",fallback:"Enter",description:"save"}),Q(C,{action:"settings:search",context:"Settings",fallback:"/",description:"search"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]})})}function yZ(Z){if(Z===void 0)return qJ(KY());if(Z===null)return"Default (leader's model)";return qJ(Z)}function EQ(Z){let J=LY.c(4),{value:q}=Z;switch(q){case"auto":return"Auto";case"iterm2":{let X;if(J[0]===Symbol.for("react.memo_cache_sentinel"))X=D(V,{children:["iTerm2 ",Q(V,{dimColor:!0,children:"(OSC 9)"})]}),J[0]=X;else X=J[0];return X}case"terminal_bell":{let X;if(J[1]===Symbol.for("react.memo_cache_sentinel"))X=D(V,{children:["Terminal Bell ",Q(V,{dimColor:!0,children:"(\\a)"})]}),J[1]=X;else X=J[1];return X}case"kitty":{let X;if(J[2]===Symbol.for("react.memo_cache_sentinel"))X=D(V,{children:["Kitty ",Q(V,{dimColor:!0,children:"(OSC 99)"})]}),J[2]=X;else X=J[2];return X}case"ghostty":{let X;if(J[3]===Symbol.for("react.memo_cache_sentinel"))X=D(V,{children:["Ghostty ",Q(V,{dimColor:!0,children:"(OSC 777)"})]}),J[3]=X;else X=J[3];return X}case"iterm2_with_bell":return"iTerm2 w/ Bell";case"notifications_disabled":return"Disabled";default:return q}}var LY,v,_,IQ;var kY=p(()=>{D0();w0();OJ();rZ();WQ();nZ();rZ();QQ();GQ();RQ();QJ();qQ();LQ();PQ();qZ();kQ();tZ();MQ();AQ();AZ();FJ();PZ();SZ();bZ();fQ();DQ();f0();XJ();DY();zJ();UQ();OQ();VQ();ZZ();EZ();$Z();XQ();zQ();FQ();NQ();BQ();v0();KQ();HQ();g();LY=$(U0(),1),v=$(s(),1),_=$(s(),1);IQ={auto:"Auto (match terminal)",dark:"Dark mode",light:"Light mode","dark-daltonized":"Dark mode (colorblind-friendly)","light-daltonized":"Light mode (colorblind-friendly)","dark-ansi":"Dark mode (ANSI colors only)","light-ansi":"Light mode (ANSI colors only)"}});function x0(Z){return typeof Z==="object"&&Z!==null}function Z0(Z){return typeof Z==="string"&&Z.trim()?Z.trim():void 0}function b0(Z){return typeof Z==="number"&&Number.isFinite(Z)?Z:void 0}function EJ(Z){return typeof Z==="boolean"?Z:void 0}function fJ(Z){let J=b0(Z);if(J===void 0)return;return new Date(J*1000).toISOString()}function GJ(Z){if(!x0(Z))return;let J=b0(Z.used_percent)??b0(Z.usedPercent);if(J===void 0)return;let q=b0(Z.window_minutes)??b0(Z.windowDurationMins)??(()=>{let W=b0(Z.limit_window_seconds);return W===void 0?void 0:Math.round(W/60)})(),X=fJ(Z.resets_at)??fJ(Z.resetsAt)??fJ(Z.reset_at);return{usedPercent:J,windowMinutes:q,resetsAt:X}}function bY(Z){if(!x0(Z))return;let J=EJ(Z.has_credits)??EJ(Z.hasCredits)??!1,q=EJ(Z.unlimited)??!1,X=Z0(Z.balance);if(!J&&!q&&!X)return;return{hasCredits:J,unlimited:q,balance:X}}function c0(Z,J){if(!x0(Z))return;let q=Z0(Z.limit_name)??Z0(Z.limitName)??Z0(Z.limit_id)??Z0(Z.limitId)??J,X=GJ(Z.primary)??GJ(Z.primary_window),W=GJ(Z.secondary)??GJ(Z.secondary_window),O=bY(Z.credits);if(!X&&!W&&!O)return;return{limitName:q,primary:X,secondary:W,credits:O}}function CJ(Z,J="codex"){if(Array.isArray(Z))return Z.map((q,X)=>c0(q,X===0?J:`${J}-${X+1}`)).filter((q)=>q!==void 0);if(!x0(Z))return[];return Object.entries(Z).map(([q,X])=>c0(X,q)).filter((q)=>q!==void 0)}function TQ(Z){let J=Z0(Z.plan_type)??Z0(Z.planType),q=[],X=bY(Z.credits),W=c0(Z.rate_limit,"codex");if(W)W.credits??=X,q.push(W);else if(X)q.push({limitName:"codex",credits:X});let O=c0(Z.code_review_rate_limit,"code review");if(O)q.push(O);return q.push(...CJ(Z.additional_rate_limits??Z.additionalRateLimits,"additional")),{planType:J,snapshots:q}}function wQ(Z){if(Array.isArray(Z))return{snapshots:CJ(Z)};if(!x0(Z))return{snapshots:[]};if("rate_limit"in Z||"code_review_rate_limit"in Z||"additional_rate_limits"in Z||"credits"in Z)return TQ(Z);let J=Z.rate_limits??Z.rateLimits??Z.rate_limits_by_limit_id??Z.rateLimitsByLimitId;if(J!==void 0)return{planType:Z0(Z.plan_type)??Z0(Z.planType),snapshots:CJ(J)};let q=c0(Z,"codex");return{planType:Z0(Z.plan_type)??Z0(Z.planType),snapshots:q?[q]:[]}}function y0(Z){if(!Z)return Z;return Z[0].toUpperCase()+Z.slice(1)}function BY(Z,J){if(Z===void 0||Z<=0)return J;if(Z===10080)return"weekly";if(Z%1440===0)return`${Z/1440}d`;if(Z%60===0)return`${Z/60}h`;return`${Z}m`}function hQ(Z){let J=Z?.trim();if(!J)return;let q=Number.parseInt(J,10);if(Number.isFinite(q)&&`${q}`===J&&q>0)return`${q}`;let X=Number.parseFloat(J);if(Number.isFinite(X)&&X>0)return`${Math.round(X)}`;return}function bQ(Z){if(!Z?.hasCredits)return;if(Z.unlimited)return{kind:"text",label:"Credits",value:"Unlimited"};let J=hQ(Z.balance);if(!J)return;return{kind:"text",label:"Credits",value:`${J} credits`}}function yY(Z){let J=[];for(let q of Z){let X=q.limitName.trim()||"codex",W=bQ(q.credits);if(!(q.primary!==void 0||q.secondary!==void 0||W!==void 0))continue;let F=X.toLowerCase()!=="codex",L=Number(q.primary!==void 0)+Number(q.secondary!==void 0),k=F&&L===1;if(F&&!k)J.push({kind:"text",label:`${y0(X)} limit`,value:""});if(q.primary){let P=y0(BY(q.primary.windowMinutes,"5h"));J.push({kind:"window",label:k?`${y0(X)} ${P} limit`:`${P} limit`,usedPercent:q.primary.usedPercent,resetsAt:q.primary.resetsAt})}if(q.secondary){let P=y0(BY(q.secondary.windowMinutes,"weekly"));J.push({kind:"window",label:k?`${y0(X)} ${P} limit`:`${P} limit`,usedPercent:q.secondary.usedPercent,resetsAt:q.secondary.resetsAt})}if(W)J.push(W)}return J}function _Y(Z){if(!Z)return;return Z.split(/[_\s-]+/).filter(Boolean).map((J)=>y0(J.toLowerCase())).join(" ")}function yQ(Z=SY){return new URL("/backend-api/wham/usage",Z).toString()}async function gY(){let Z=await CY().catch(async(W)=>{return p0(`[codex] access token refresh failed before usage fetch: ${W instanceof Error?W.message:String(W)}`,{level:"warn"}),{refreshed:!1,credentials:await fY()}}),J=wY();if(!TY(J.baseUrl))throw Error("Codex usage is only available with the official ChatGPT Codex backend.");let q=hY({storedCredentials:Z.credentials});if(!q.apiKey){let W=IY()?"":", choose Codex OAuth in /provider",O=q.authPath?`${W} or place a Codex auth.json at ${q.authPath}`:W;throw Error(`Codex auth is required. Set CODEX_API_KEY${O}.`)}if(!q.accountId)throw Error("Codex auth is missing chatgpt_account_id. Re-login with Codex OAuth, the Codex CLI, or set CHATGPT_ACCOUNT_ID/CODEX_ACCOUNT_ID.");let X=await fetch(yQ(J.baseUrl),{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${q.apiKey}`,"chatgpt-account-id":q.accountId,originator:"claudin"},signal:AbortSignal.timeout(5000)});if(!X.ok){let W=await X.text().catch(()=>"unknown error");throw Error(`Codex usage error ${X.status}: ${W}`)}return wQ(await X.json())}var $Y=p(()=>{CQ();EY();$Z();SQ()});function _Q({label:Z,usedPercent:J,resetsAt:q,maxWidth:X}){let W=Math.max(0,Math.min(100,J)),O=`${Math.floor(W)}% used`,F=q?`Resets ${VJ(q,!0,!0)}`:void 0;if(X>=62)return D(U,{flexDirection:"column",children:[Q(V,{bold:!0,children:Z}),D(U,{flexDirection:"row",gap:1,children:[Q(R0,{ratio:W/100,width:50,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),Q(V,{children:O})]}),F?Q(V,{dimColor:!0,children:F}):null]});return D(U,{flexDirection:"column",children:[D(V,{children:[Q(V,{bold:!0,children:Z}),F?D(n,{children:[Q(V,{children:" "}),D(V,{dimColor:!0,children:["· ",F]})]}):null]}),Q(R0,{ratio:W/100,width:X,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),Q(V,{children:O})]})}function gQ({label:Z,value:J}){if(!J)return Q(V,{bold:!0,children:Z});return D(V,{children:[Q(V,{bold:!0,children:Z}),D(V,{dimColor:!0,children:[" · ",J]})]})}function mY(){let[Z,J]=_0.useState(null),[q,X]=_0.useState(null),[W,O]=_0.useState(!0),{columns:F}=V0(),L=F-2,k=Math.min(L,80),P=jY.useCallback(async()=>{O(!0),X(null);try{J(await gY())}catch(z){N0(z),X(z instanceof Error?z.message:"Failed to load Codex usage")}finally{O(!1)}},[]);if(_0.useEffect(()=>{P()},[P]),l("settings:retry",()=>{P()},{context:"Settings",isActive:!!q&&!W}),q)return D(U,{flexDirection:"column",gap:1,children:[D(V,{color:"error",children:["Error: ",q]}),Q(V,{dimColor:!0,children:D(c,{children:[Q(C,{action:"settings:retry",context:"Settings",fallback:"r",description:"retry"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]});if(!Z)return D(U,{flexDirection:"column",gap:1,children:[Q(V,{dimColor:!0,children:"Loading Codex usage data…"}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]});let K=yY(Z.snapshots),N=_Y(Z.planType);return D(U,{flexDirection:"column",gap:1,width:"100%",children:[N?D(V,{dimColor:!0,children:["Plan: ",N]}):null,K.length===0?Q(V,{dimColor:!0,children:"Codex usage data is not available for this account."}):null,K.map((z,H)=>z.kind==="window"?Q(_Q,{label:z.label,usedPercent:z.usedPercent,resetsAt:z.resetsAt,maxWidth:k},`${z.label}-${H}`):Q(gQ,{label:z.label,value:z.value},`${z.label}-${H}`)),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var jY,_0;var vY=p(()=>{v0();D0();w0();$Y();SJ();QJ();f0();XJ();TJ();g();jY=$(s(),1),_0=$(s(),1)});var u0="https://api.minimax.io/v1",d0="Usage details are not available for this MiniMax account. This plan or MiniMax endpoint may not expose quota status.";var wJ=()=>{};function L0(Z){return typeof Z==="object"&&Z!==null}function u(Z){return typeof Z==="string"&&Z.trim()?Z.trim():void 0}function bJ(Z){if(typeof Z==="number"&&Number.isFinite(Z))return Z;if(typeof Z==="string"&&Z.trim()){let J=Number.parseFloat(Z);if(Number.isFinite(J))return J}return}function WJ(Z){return Math.max(0,Math.min(100,Math.round(Z)))}function $Q(Z){if(typeof Z==="string"){let X=Date.parse(Z);return Number.isNaN(X)?Z:new Date(X).toISOString()}let J=bJ(Z);if(J===void 0)return;let q=J>1000000000000?J:J*1000;return new Date(q).toISOString()}function jQ(Z,J){let q=bJ(Z);if(/remains?_time/i.test(J)&&q!==void 0){let X=q>604800?q:q*1000;return new Date(Date.now()+X).toISOString()}return $Q(Z)}function i0(Z,J){for(let q of J){let X=bJ(Z[q]);if(X!==void 0)return X}return}function mQ(Z,J){for(let q of J)if(Z[q]!==void 0)return jQ(Z[q],q);return}function r0(Z,J){return J.some((q)=>Z[q]!==void 0)}function xY(Z){return Z?Z[0].toUpperCase()+Z.slice(1):Z}function vQ(Z){if(!Z)return"MiniMax";let J=Z.trim();if(!J)return"MiniMax";if(/[A-Z]/.test(J))return J;return J.split(/[_\s-]+/).filter(Boolean).map((q)=>xY(q.toLowerCase())).join(" ")}function cQ(Z){if(!Z)return;return Z.split(/[_\s-]+/).filter(Boolean).map((J)=>xY(J.toLowerCase())).join(" ")}function uY(Z,J){let q=i0(Z,J.percentKeys),X=i0(Z,J.remainingPercentKeys),W=i0(Z,J.totalKeys),O=i0(Z,J.remainingKeys),F=i0(Z,J.usedKeys),L=W!==void 0&&F!==void 0?W-F:O,k;if(W!==void 0&&W>0&&F!==void 0)k=WJ(F/W*100);else if(W!==void 0&&W>0&&O!==void 0)k=WJ((W-O)/W*100);else if(q!==void 0)k=WJ(q);else if(X!==void 0)k=WJ(100-X);if(k===void 0)return;return{label:J.label,usedPercent:k,remaining:L,total:W,resetsAt:mQ(Z,J.resetKeys)}}function pQ(Z){let J=u(Z.label)??u(Z.name)??u(Z.window_name)??u(Z.windowName)??"Limit";return uY(Z,{label:J,percentKeys:["used_percent","usedPercent","utilization","usage_percentage","usagePercentage"],remainingPercentKeys:["usage_percent","usagePercent","remaining_percent","remainingPercent","percent_remaining","percentRemaining"],totalKeys:["total","quota","limit","max","entitlement"],remainingKeys:["remaining","remain","remains","left"],usedKeys:["used","usage","consumed"],resetKeys:["resets_at","reset_at","resetsAt","resetAt"]})}function uQ(Z){if(r0(Z,xQ))return!0;return dY.some((J)=>r0(Z,J.totalKeys)||r0(Z,J.remainingKeys)||r0(Z,J.usedKeys)||r0(Z,J.percentKeys))}function hJ(Z,J){if(!L0(Z))return;let q=dY.map((W)=>uY(Z,W)).filter((W)=>W!==void 0);if(q.length===0){let W=pQ(Z);if(W)q.push(W)}if(q.length===0)return;return{limitName:u(Z.limit_name)??u(Z.limitName)??u(Z.model_name)??u(Z.modelName)??u(Z.name)??J,windows:q}}function cY(Z,J="MiniMax"){if(Array.isArray(Z))return Z.map((q,X)=>hJ(q,X===0?J:`${J}-${X+1}`)).filter((q)=>q!==void 0);if(!L0(Z))return[];if(uQ(Z)){let q=hJ(Z,J);return q?[q]:[]}return Object.entries(Z).map(([q,X])=>hJ(X,q)).filter((q)=>q!==void 0)}function pY(Z=d0,J){return{availability:"unknown",planType:J,snapshots:[],message:Z}}function yJ(Z){if(!L0(Z))return pY();let J=cQ(u(Z.plan_type)??u(Z.planType)??u(Z.subscription_type)??u(Z.subscriptionType)??u(Z.plan_name)??u(Z.planName)),X=[Z.data,Z.result,Z.model_remains,Z.modelRemains,Z.remains,Z.usage,Z.quotas,Z.models,L0(Z.data)?Z.data.model_remains:void 0,L0(Z.data)?Z.data.modelRemains:void 0,L0(Z.data)?Z.data.models:void 0,L0(Z.data)?Z.data.quotas:void 0,L0(Z.data)?Z.data.remains:void 0].flatMap((O)=>cY(O)).filter((O,F,L)=>{let k=`${O.limitName}:${O.windows.map((P)=>P.label).join("|")}`;return L.findIndex((P)=>`${P.limitName}:${P.windows.map((K)=>K.label).join("|")}`===k)===F});if(X.length>0)return{availability:"available",planType:J,snapshots:X};let W=cY(Z);if(W.length>0)return{availability:"available",planType:J,snapshots:W};return pY(void 0,J)}function dQ(Z){if(Z.remaining===void 0||Z.total===void 0||Z.total<=0)return;return`${Z.remaining}/${Z.total} remaining`}function _J(Z){let J=[];for(let q of Z){let X=vQ(q.limitName),W=X.toLowerCase()!=="minimax",O=W&&q.windows.length===1;if(W&&!O)J.push({kind:"text",label:`${X} quota`,value:""});for(let F of q.windows)J.push({kind:"window",label:O?`${X} ${F.label}`:F.label,usedPercent:F.usedPercent,resetsAt:F.resetsAt,extraSubtext:dQ(F)})}return J}var dY,xQ;var gJ=p(()=>{wJ();dY=[{label:"5h limit",percentKeys:["interval_used_percent","intervalUsedPercent"],remainingPercentKeys:["usage_percent","usagePercent","interval_remaining_percent","intervalRemainingPercent"],totalKeys:["current_interval_total_count","currentIntervalTotalCount","max_interval_usage_count","maxIntervalUsageCount","interval_quota","intervalQuota","interval_limit","intervalLimit"],remainingKeys:["current_interval_remaining_count","currentIntervalRemainingCount","current_interval_remains_count","currentIntervalRemainsCount","interval_remaining","intervalRemaining","remaining_interval_usage_count","remainingIntervalUsageCount"],usedKeys:["current_interval_usage_count","currentIntervalUsageCount","interval_used","intervalUsed","current_interval_used_count","currentIntervalUsedCount","used_interval_usage_count","usedIntervalUsageCount"],resetKeys:["end_time","endTime","interval_resets_at","intervalResetsAt","interval_reset_at","intervalResetAt","remains_time","remainsTime"]},{label:"Weekly limit",percentKeys:["weekly_used_percent","weeklyUsedPercent"],remainingPercentKeys:["weekly_remaining_percent","weeklyRemainingPercent"],totalKeys:["max_weekly_usage_count","maxWeeklyUsageCount","weekly_quota","weeklyQuota","weekly_limit","weeklyLimit"],remainingKeys:["weekly_remaining","weeklyRemaining","remaining_weekly_usage_count","remainingWeeklyUsageCount"],usedKeys:["current_weekly_usage_count","currentWeeklyUsageCount","weekly_used","weeklyUsed","used_weekly_usage_count","usedWeeklyUsageCount"],resetKeys:["weekly_resets_at","weeklyResetsAt","weekly_reset_at","weeklyResetAt"]},{label:"Daily limit",percentKeys:["daily_used_percent","dailyUsedPercent"],remainingPercentKeys:["daily_remaining_percent","dailyRemainingPercent"],totalKeys:["max_daily_usage_count","maxDailyUsageCount","daily_quota","dailyQuota","daily_limit","dailyLimit"],remainingKeys:["daily_remaining","dailyRemaining","remaining_daily_usage_count","remainingDailyUsageCount"],usedKeys:["current_daily_usage_count","currentDailyUsageCount","daily_used","dailyUsed","used_daily_usage_count","usedDailyUsageCount"],resetKeys:["daily_resets_at","dailyResetsAt","daily_reset_at","dailyResetAt"]}],xQ=["used_percent","usedPercent","utilization","usage_percentage","usagePercentage","total","quota","limit","max","entitlement","remaining","remain","remains","left","usage_percent","usagePercent","current_interval_total_count","current_interval_usage_count","current_interval_remaining_count","current_interval_remains_count","max_interval_usage_count","current_weekly_usage_count","max_weekly_usage_count","current_daily_usage_count","max_daily_usage_count"]});function rQ(Z){return Z.replace(/\/+$/,"")}function nY(Z=B0()?.baseUrl??u0){let J=Z.trim();return J?rQ(J):u0}function nQ(Z){let J=Z??B0()?.baseUrl;if(!J?.trim())return{baseUrl:u0,usedDefault:!0};return{baseUrl:nY(J),usedDefault:!1}}function iY(Z){return{availability:"unknown",snapshots:[],message:Z}}function lY(Z){let{baseUrl:J,usedDefault:q}=nQ(Z);try{let X=new URL(`${J}/`);return[new URL("token_plan/remains",X).toString(),new URL("api/openplatform/coding_plan/remains",X).toString()]}catch{if(q){let X=new URL(`${u0}/`);return[new URL("token_plan/remains",X).toString(),new URL("api/openplatform/coding_plan/remains",X).toString()]}throw Error(`MiniMax usage base URL is invalid: ${J}`)}}async function $J(){let Z=B0()?.apiKey;if(!Z)throw Error("MiniMax auth is required. Run /provider and configure a MiniMax profile.");let J=lY(),q=[],X=null;for(let W of J){let O;try{O=await fetch(W,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${Z}`,"Content-Type":"application/json","User-Agent":rY()},signal:AbortSignal.timeout(5000)})}catch(L){p0(`[minimax] usage request failed for ${W}: ${L instanceof Error?L.message:String(L)}`,{level:"warn"}),X=L instanceof Error?L:Error(String(L));continue}if(!O.ok){let L=await O.text().catch(()=>"");if([400,401,403,404].includes(O.status)){q.push({status:O.status,body:L});continue}X=Error(`MiniMax usage error ${O.status}: ${L||"unknown error"}`);continue}let F=yJ(await O.json());if(F.availability==="available")return F}if(q.length>0){let W=q[q.length-1];return p0(`[minimax] usage endpoint returned non-fatal status ${W.status}: ${W.body}`,{level:"warn"}),iY(d0)}if(X)throw X;return iY(d0)}var oY=p(()=>{nZ();EY();iQ();wJ();gJ()});var aY=p(()=>{gJ();oY()});function aQ(Z){let J=Math.max(1,Math.ceil(Z/60000)),q=Math.floor(J/1440),X=Math.floor(J%1440/60),W=J%60;if(q>0)return X>0?`${q}d ${X}h`:`${q}d`;if(X>0)return W>0?`${X}h ${W}m`:`${X}h`;return`${W}m`}function sQ(Z,J){if(!Z)return;let q=Date.parse(Z);if(!Number.isFinite(q))return;let X=q-J;if(X<=0)return"Resetting now";return`Resets in ${aQ(X)}`}function tQ({label:Z,usedPercent:J,resetsAt:q,extraSubtext:X,maxWidth:W,nowMs:O}){let F=Math.max(0,Math.min(100,J)),L=`${Math.floor(F)}% used`,k=sQ(q,O),P=[L,X].filter((K)=>Boolean(K));return D(U,{flexDirection:"column",children:[D(V,{children:[Q(V,{bold:!0,children:Z}),k?D(V,{dimColor:!0,children:[" · ",k]}):null]}),D(U,{flexDirection:"row",gap:1,children:[Q(R0,{ratio:F/100,width:Math.min(oQ,Math.max(1,W)),fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),P.length>0?Q(V,{dimColor:!0,children:P.join(" · ")}):null]})]})}function eQ({label:Z,value:J}){if(!J)return Q(V,{bold:!0,children:Z});return D(V,{children:[Q(V,{bold:!0,children:Z}),D(V,{dimColor:!0,children:[" · ",J]})]})}function tY(){let[Z,J]=P0.useState(null),[q,X]=P0.useState(null),[W,O]=P0.useState(!0),[F,L]=P0.useState(()=>Date.now()),{columns:k}=V0(),P=k-2,K=Math.min(P,80),N=sY.useCallback(async()=>{O(!0),X(null);try{J(await $J())}catch(H){N0(H),X(H instanceof Error?H.message:"Failed to load MiniMax usage")}finally{O(!1)}},[]);if(P0.useEffect(()=>{N()},[N]),P0.useEffect(()=>{let H=setInterval(()=>{L(Date.now())},lQ);return()=>clearInterval(H)},[]),l("settings:retry",()=>{N()},{context:"Settings",isActive:!!q&&!W}),q)return D(U,{flexDirection:"column",gap:1,children:[D(V,{color:"error",children:["Error: ",q]}),Q(V,{dimColor:!0,children:D(c,{children:[Q(C,{action:"settings:retry",context:"Settings",fallback:"r",description:"retry"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]});if(!Z)return D(U,{flexDirection:"column",gap:1,children:[Q(V,{dimColor:!0,children:"Loading MiniMax usage data…"}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]});let z=Z.availability==="available"?_J(Z.snapshots):[];return D(U,{flexDirection:"column",gap:1,width:"100%",children:[Z.planType?D(V,{dimColor:!0,children:["Plan: ",Z.planType]}):null,Z.availability==="unknown"?Q(V,{dimColor:!0,children:Z.message}):z.length===0?Q(V,{dimColor:!0,children:"No MiniMax usage windows were returned for this account."}):null,z.map((H,R)=>H.kind==="window"?Q(tQ,{label:H.label,usedPercent:H.usedPercent,resetsAt:H.resetsAt,extraSubtext:H.extraSubtext,maxWidth:K,nowMs:F},`${H.label}-${R}`):Q(eQ,{label:H.label,value:H.value},`${H.label}-${R}`)),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var sY,P0,lQ=30000,oQ=18;var eY=p(()=>{v0();D0();w0();aY();QJ();f0();XJ();TJ();g();sY=$(s(),1),P0=$(s(),1)});function Jq({providerLabel:Z}){return D(U,{flexDirection:"column",gap:1,children:[D(V,{dimColor:!0,children:["Usage details are not currently available for ",Z,"."]}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var Zq=p(()=>{D0();f0();g()});function Mq(Z){let J=cJ.c(34),{title:q,limit:X,maxWidth:W,showTimeInReset:O,extraSubtext:F}=Z,L=O===void 0?!0:O,{utilization:k,resets_at:P}=X;if(k===null)return null;let K=`${Math.floor(k)}% used`,N;if(P){let z;if(J[0]!==P||J[1]!==L)z=VJ(P,!0,L),J[0]=P,J[1]=L,J[2]=z;else z=J[2];N=`Resets ${z}`}if(F)if(N)N=`${F} · ${N}`;else N=F;if(W>=62){let z;if(J[3]!==q)z=Q(V,{bold:!0,children:q}),J[3]=q,J[4]=z;else z=J[4];let H=k/100,R;if(J[5]!==H)R=Q(R0,{ratio:H,width:50,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),J[5]=H,J[6]=R;else R=J[6];let A;if(J[7]!==K)A=Q(V,{children:K}),J[7]=K,J[8]=A;else A=J[8];let B;if(J[9]!==R||J[10]!==A)B=D(U,{flexDirection:"row",gap:1,children:[R,A]}),J[9]=R,J[10]=A,J[11]=B;else B=J[11];let I;if(J[12]!==N)I=N&&Q(V,{dimColor:!0,children:N}),J[12]=N,J[13]=I;else I=J[13];let h;if(J[14]!==z||J[15]!==B||J[16]!==I)h=D(U,{flexDirection:"column",children:[z,B,I]}),J[14]=z,J[15]=B,J[16]=I,J[17]=h;else h=J[17];return h}else{let z;if(J[18]!==q)z=Q(V,{bold:!0,children:q}),J[18]=q,J[19]=z;else z=J[19];let H;if(J[20]!==N)H=N&&D(n,{children:[Q(V,{children:" "}),D(V,{dimColor:!0,children:["· ",N]})]}),J[20]=N,J[21]=H;else H=J[21];let R;if(J[22]!==z||J[23]!==H)R=D(V,{children:[z,H]}),J[22]=z,J[23]=H,J[24]=R;else R=J[24];let A=k/100,B;if(J[25]!==W||J[26]!==A)B=Q(R0,{ratio:A,width:W,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),J[25]=W,J[26]=A,J[27]=B;else B=J[27];let I;if(J[28]!==K)I=Q(V,{children:K}),J[28]=K,J[29]=I;else I=J[29];let h;if(J[30]!==R||J[31]!==B||J[32]!==I)h=D(U,{flexDirection:"column",children:[R,B,I]}),J[30]=R,J[31]=B,J[32]=I,J[33]=h;else h=J[33];return h}}function VX(){let[Z,J]=z0.useState(null),[q,X]=z0.useState(null),[W,O]=z0.useState(!0),{columns:F}=V0(),L=F-2,k=Math.min(L,80),P=kq.useCallback(async()=>{O(!0),X(null);try{let H=await Nq();J(H)}catch(H){N0(H);let R=H,A=R.response?.data,B=R.response?.status,I;if(A?.error?.type==="rate_limit_error")I=A.error.message||"Rate limited. Please try again later.";else if(A?.error?.message)I=A.error.message;else if(B)I=`HTTP ${B} — ${Dq(R.response?.data??{})}`;else I=H?.message||"Failed to load usage data";X(I)}finally{O(!1)}},[]);if(z0.useEffect(()=>{P()},[P]),l("settings:retry",()=>{P()},{context:"Settings",isActive:!!q&&!W}),q)return D(U,{flexDirection:"column",gap:1,children:[D(V,{color:"error",children:["Could not load Anthropic rate-limit data: ",q]}),Q(V,{dimColor:!0,children:"(cost/usage totals above are unaffected)"}),Q(V,{dimColor:!0,children:D(c,{children:[Q(C,{action:"settings:retry",context:"Settings",fallback:"r",description:"retry"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]});if(!Z)return D(U,{flexDirection:"column",gap:1,children:[Q(V,{dimColor:!0,children:"Loading usage data…"}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]});let K=vJ(),N=K==="max"||K==="team"||K===null,z=[{title:"Current session",limit:Z.five_hour},{title:"Current week (all models)",limit:Z.seven_day},...N?[{title:"Current week (Sonnet only)",limit:Z.seven_day_sonnet}]:[]];return D(U,{flexDirection:"column",gap:1,width:"100%",children:[z.some(({limit:H})=>H)||Q(V,{dimColor:!0,children:"/usage is only available for subscription plans."}),z.map(({title:H,limit:R})=>R&&Q(Mq,{title:H,limit:R,maxWidth:k},H)),Z.extra_usage&&Q(WX,{extraUsage:Z.extra_usage,maxWidth:k}),Lq()&&Q(Pq,{maxWidth:k}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}function Yq(Z){let{title:J,totalCost:q,apiDuration:X,wallDuration:W,linesAdded:O,linesRemoved:F,modelUsage:L,unknownCost:k}=Z,P=Object.entries(L);if(q===0&&P.length===0&&O===0&&F===0)return null;let K={};for(let[z,H]of P){let R=zq(z);if(!K[R])K[R]={inputTokens:0,outputTokens:0,cacheReadInputTokens:0,cacheCreationInputTokens:0,webSearchRequests:0,costUSD:0};let A=K[R];A.inputTokens+=H.inputTokens,A.outputTokens+=H.outputTokens,A.cacheReadInputTokens+=H.cacheReadInputTokens,A.cacheCreationInputTokens+=H.cacheCreationInputTokens,A.webSearchRequests+=H.webSearchRequests,A.costUSD+=H.costUSD}let N=Object.entries(K);return D(U,{flexDirection:"column",children:[Q(V,{bold:!0,children:J}),D(V,{children:[Q(V,{children:"Total cost: "}),Q(V,{children:n0(q)}),k&&Q(V,{dimColor:!0,children:" (costs may be inaccurate due to usage of unknown models)"})]}),D(V,{children:["Total duration (API): ",mJ(X)]}),D(V,{children:["Total duration (wall): ",mJ(W)]}),D(V,{children:["Total code changes: ",O," ",O===1?"line":"lines"," added, ",F," ",F===1?"line":"lines"," removed"]}),N.length>0&&Q(V,{children:"Usage by model:"}),N.map(([z,H])=>{let R=`${g0(H.inputTokens)} input, ${g0(H.outputTokens)} output`;if(H.cacheReadInputTokens>0)R+=`, ${g0(H.cacheReadInputTokens)} cache read`;if(H.cacheCreationInputTokens>0)R+=`, ${g0(H.cacheCreationInputTokens)} cache write`;if(H.webSearchRequests>0)R+=`, ${g0(H.webSearchRequests)} web search`;return R+=` (${n0(H.costUSD)})`,D(V,{children:[`${z}:`.padStart(21)," ",R]},z)})]})}function qq(Z={}){let J=Z.view??"global",[,q]=z0.useReducer((F)=>F+1,0);z0.useEffect(()=>{let F=setInterval(()=>q(),1000);return()=>clearInterval(F)},[]);let X=Kq();if(J==="session"){let F=Qq(),L=Hq(),k=Vq(),P=Wq();return Q(Yq,{title:"Current session",totalCost:F,apiDuration:Xq(),wallDuration:Gq(),linesAdded:k,linesRemoved:P,modelUsage:L,unknownCost:X})}let W=Fq();if(!(W.totalCost!==0||Object.keys(W.modelUsage).length>0||W.totalLinesAdded!==0||W.totalLinesRemoved!==0))return null;return D(U,{flexDirection:"column",gap:1,children:[Q(Yq,{title:"Project total (all sessions)",totalCost:W.totalCost,apiDuration:W.totalAPIDuration,wallDuration:W.totalDuration,linesAdded:W.totalLinesAdded,linesRemoved:W.totalLinesRemoved,modelUsage:W.modelUsage,unknownCost:X}),Q(V,{dimColor:!0,children:"Aggregated across all sessions in this project — includes the current session live."})]})}function pJ(Z={}){if((Z.view??"global")==="session")return Q(U,{flexDirection:"column",gap:1,width:"100%",children:Q(qq,{view:"session"})});let q=Oq(),X;if(q==="codex")X=Q(mY,{});else if(q==="minimax")X=Q(tY,{});else if(q!=="firstParty"){let W={openai:"this OpenAI-compatible provider",gemini:"Google Gemini",github:"GitHub Copilot",mistral:"Mistral","nvidia-nim":"NVIDIA NIM",bedrock:"AWS Bedrock",vertex:"Google Vertex AI",foundry:"Microsoft Foundry"}[q]??"this provider";X=Q(Jq,{providerLabel:W})}else X=Q(VX,{});return D(U,{flexDirection:"column",gap:1,width:"100%",children:[Q(qq,{view:"global"}),X]})}function WX(Z){let J=cJ.c(20),{extraUsage:q,maxWidth:X}=Z,W=vJ();if(!(W==="pro"||W==="max"))return!1;if(!q.is_enabled){if(Rq.isEnabled()){let S;if(J[0]===Symbol.for("react.memo_cache_sentinel"))S=D(U,{flexDirection:"column",children:[Q(V,{bold:!0,children:jJ}),Q(V,{dimColor:!0,children:"Extra usage not enabled · /extra-usage to enable"})]}),J[0]=S;else S=J[0];return S}return null}if(q.monthly_limit===null){let S;if(J[1]===Symbol.for("react.memo_cache_sentinel"))S=D(U,{flexDirection:"column",children:[Q(V,{bold:!0,children:jJ}),Q(V,{dimColor:!0,children:"Unlimited"})]}),J[1]=S;else S=J[1];return S}if(typeof q.used_credits!=="number"||typeof q.utilization!=="number")return null;let F=q.used_credits/100,L;if(J[2]!==F)L=n0(F,2),J[2]=F,J[3]=L;else L=J[3];let k=L,P=q.monthly_limit/100,K;if(J[4]!==P)K=n0(P,2),J[4]=P,J[5]=K;else K=J[5];let N=K,z,H,R,A;if(J[6]!==q.utilization){let S=new Date,d=new Date(S.getFullYear(),S.getMonth()+1,1);z=Mq,A=jJ,H=q.utilization,R=d.toISOString(),J[6]=q.utilization,J[7]=z,J[8]=H,J[9]=R,J[10]=A}else z=J[7],H=J[8],R=J[9],A=J[10];let B;if(J[11]!==H||J[12]!==R)B={utilization:H,resets_at:R},J[11]=H,J[12]=R,J[13]=B;else B=J[13];let I=`${k} / ${N} spent`,h;if(J[14]!==z||J[15]!==X||J[16]!==A||J[17]!==B||J[18]!==I)h=Q(z,{title:A,limit:B,showTimeInReset:!1,extraSubtext:I,maxWidth:X}),J[14]=z,J[15]=X,J[16]=A,J[17]=B,J[18]=I,J[19]=h;else h=J[19];return h}var cJ,kq,z0,jJ="Extra usage";var Aq=p(()=>{XX();qX();tZ();SJ();YX();v0();D0();w0();QX();SJ();QJ();ZX();JX();f0();XJ();TJ();GX();vY();eY();Zq();g();cJ=$(U0(),1),kq=$(s(),1),z0=$(s(),1)});function GW(Z){let J=fq.c(25),{onClose:q,context:X,defaultTab:W}=Z,[O,F]=k0.useState(W),[L,k]=k0.useState(!1),[P,K]=k0.useState(!1),[N,z]=k0.useState(!1),H=C0(),{rows:R}=Bq(V0()),A=H?R+1:Math.max(15,Math.min(Math.floor(R*0.8),30)),[B]=k0.useState(DX);Uq();let I;if(J[0]!==q||J[1]!==L)I=()=>{if(L)return;q("Status dialog dismissed",{display:"system"})},J[0]=q,J[1]=L,J[2]=I;else I=J[2];let h=I,S=!L&&!(O==="Config"&&P)&&!(O==="Gates"&&N),d;if(J[3]!==S)d={context:"Settings",isActive:S},J[3]=S,J[4]=d;else d=J[4];l("confirm:no",h,d);let t;if(J[5]!==X||J[6]!==B)t=Q(l0,{title:"Status",children:Q(NZ,{context:X,diagnosticsPromise:B})},"status"),J[5]=X,J[6]=B,J[7]=t;else t=J[7];let j;if(J[8]!==A||J[9]!==X||J[10]!==q)j=Q(l0,{title:"Config",children:Q(k0.Suspense,{fallback:null,children:Q(PY,{context:X,onClose:q,setTabsHidden:k,onIsSearchModeChange:K,contentHeight:A})})},"config"),J[8]=A,J[9]=X,J[10]=q,J[11]=j;else j=J[11];let F0;if(J[12]===Symbol.for("react.memo_cache_sentinel"))F0=[Q(l0,{title:"Usage",children:Q(pJ,{view:"global"})},"usage"),Q(l0,{title:"Session",children:Q(pJ,{view:"session"})},"session")],J[12]=F0;else F0=J[12];let i;if(J[13]!==A)i=[],J[13]=A,J[14]=i;else i=J[14];let Y0;if(J[15]!==t||J[16]!==j||J[17]!==i)Y0=[t,j,...F0,...i],J[15]=t,J[16]=j,J[17]=i,J[18]=Y0;else Y0=J[18];let r=Y0,q0=W!=="Config"&&W!=="Gates",$0=L||H?void 0:A,I0;if(J[19]!==O||J[20]!==$0||J[21]!==q0||J[22]!==r||J[23]!==L)I0=Q(Iq,{color:"permission",children:Q(Eq,{color:"permission",selectedTab:O,onTabChange:F,hidden:L,initialHeaderFocused:q0,contentHeight:$0,children:r})}),J[19]=O,J[20]=$0,J[21]=q0,J[22]=r,J[23]=L,J[24]=I0;else I0=J[24];return I0}function DX(){return FZ().catch(OX)}function OX(){return[]}var fq,k0;var zX=p(()=>{w0();KX();v0();zJ();HX();DY();RZ();kY();Aq();g();fq=$(U0(),1),k0=$(s(),1)});
|
|
3
|
+
export{GW as Cf,zX as Df};
|