@claudiolabs/claudin 0.6.7 → 0.6.8
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/dist/chunks/AgentTool-0.6.8-1h6eg55x.mjs +1 -0
- package/dist/chunks/App-0.6.8-gf7z37d0.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.8-z559z4n4.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.8-a964szce.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.8-hmgphwsn.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.8-9vwjqk2g.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.8-bmx62ftg.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.8-6xg5m0rs.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.8-m77gpjht.mjs +7 -0
- package/dist/chunks/Doctor-0.6.8-h33wtqvb.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.6.8-g4rjbnb6.mjs +6 -0
- package/dist/chunks/Grove-0.6.8-c6v8rps5.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.8-c6rr3der.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.8-rq8061vm.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.8-k3gjdk9q.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.8-fndbdavr.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.8-p9c1cvpj.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.8-rgwzy8mv.mjs +1 -0
- package/dist/chunks/REPL-0.6.8-wz4ky583.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.8-0vytwym2.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.8-j49mg943.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.8-1w0czdzd.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.8-3tb748qg.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.8-cchdkcj0.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.8-83basabp.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.8-vz9cakde.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.8-9xfzmsa4.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.8-z6bqkc89.mjs +1 -0
- package/dist/chunks/add-dir-0.6.8-maggp9sq.mjs +1 -0
- package/dist/chunks/agents-0.6.8-b17xcjhg.mjs +3 -0
- package/dist/chunks/agents-0.6.8-n3vcbv4n.mjs +110 -0
- package/dist/chunks/api-0.6.8-dx65vfgr.mjs +1 -0
- package/dist/chunks/asciicast-0.6.8-xdty46r6.mjs +1 -0
- package/dist/chunks/assistant-0.6.8-48pyb11z.mjs +1 -0
- package/dist/chunks/auth-0.6.8-jzmpk916.mjs +1 -0
- package/dist/chunks/auth-0.6.8-v4ggd1x2.mjs +1 -0
- package/dist/chunks/autoMode-0.6.8-e3tpbf8n.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.8-kjwba4kd.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.8-ahc5b93c.mjs +1 -0
- package/dist/chunks/branch-0.6.8-bht94rzm.mjs +4 -0
- package/dist/chunks/bridge-0.6.8-w3a5wvz5.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.6.8-tcqxv3wr.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.6.8-bbk61bwx.mjs +1 -0
- package/dist/chunks/bridgeMain-0.6.8-4gdvjwd9.mjs +88 -0
- package/dist/chunks/bridgePointer-0.6.8-y9zbj5sw.mjs +1 -0
- package/dist/chunks/btw-0.6.8-p8v9ccqj.mjs +1 -0
- package/dist/chunks/buddy-0.6.8-cc9dgg1j.mjs +3 -0
- package/dist/chunks/cacache-0.6.8-sa10tzqt.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.8-rb3gqp6p.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.8-ayfpcw3z.mjs +4 -0
- package/dist/chunks/caches-0.6.8-z51zt2q7.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.8-f2s8faxb.mjs +1 -0
- package/dist/chunks/claudemd-0.6.8-b32hs73z.mjs +1 -0
- package/dist/chunks/clear-0.6.8-wr581077.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.8-n1mdykjw.mjs +1 -0
- package/dist/chunks/cli-0.6.8-00w6vgmt.mjs +4 -0
- package/dist/chunks/cli-0.6.8-026meybw.mjs +2 -0
- package/dist/chunks/cli-0.6.8-070cxjdc.mjs +2 -0
- package/dist/chunks/cli-0.6.8-097dncsw.mjs +2 -0
- package/dist/chunks/cli-0.6.8-0dtwbbq2.mjs +10 -0
- package/dist/chunks/cli-0.6.8-0gpdjv55.mjs +34 -0
- package/dist/chunks/cli-0.6.8-0hn9sy42.mjs +2 -0
- package/dist/chunks/cli-0.6.8-0mb0d7wn.mjs +3 -0
- package/dist/chunks/cli-0.6.8-0mnxmayn.mjs +2 -0
- package/dist/chunks/cli-0.6.8-0rt710pa.mjs +2 -0
- package/dist/chunks/cli-0.6.8-0s41dm0j.mjs +2 -0
- package/dist/chunks/cli-0.6.8-0yz4b8v5.mjs +2 -0
- package/dist/chunks/cli-0.6.8-0zdwjw7h.mjs +17 -0
- package/dist/chunks/cli-0.6.8-1bmxpdky.mjs +2 -0
- package/dist/chunks/cli-0.6.8-1g5hjvgr.mjs +3 -0
- package/dist/chunks/cli-0.6.8-1k0se62h.mjs +2 -0
- package/dist/chunks/cli-0.6.8-1mnssvmz.mjs +8 -0
- package/dist/chunks/cli-0.6.8-1yx8jjck.mjs +2 -0
- package/dist/chunks/cli-0.6.8-21y1120z.mjs +2 -0
- package/dist/chunks/cli-0.6.8-239wrpj3.mjs +2 -0
- package/dist/chunks/cli-0.6.8-25he0rqv.mjs +2 -0
- package/dist/chunks/cli-0.6.8-2e9hw0b1.mjs +4 -0
- package/dist/chunks/cli-0.6.8-2f4081dz.mjs +2 -0
- package/dist/chunks/cli-0.6.8-2h6sve00.mjs +12 -0
- package/dist/chunks/cli-0.6.8-2nda5zxh.mjs +67 -0
- package/dist/chunks/cli-0.6.8-2p06hgb1.mjs +2 -0
- package/dist/chunks/cli-0.6.8-2pj7sdxd.mjs +2 -0
- package/dist/chunks/cli-0.6.8-2qb9g75m.mjs +2 -0
- package/dist/chunks/cli-0.6.8-34gwg749.mjs +2 -0
- package/dist/chunks/cli-0.6.8-3a510y9k.mjs +2 -0
- package/dist/chunks/cli-0.6.8-3ewbgezt.mjs +2 -0
- package/dist/chunks/cli-0.6.8-3phwrcqa.mjs +3 -0
- package/dist/chunks/cli-0.6.8-3z78waf8.mjs +4 -0
- package/dist/chunks/cli-0.6.8-416cqzak.mjs +2 -0
- package/dist/chunks/cli-0.6.8-4a0ebxtv.mjs +2 -0
- package/dist/chunks/cli-0.6.8-4avmxq80.mjs +6 -0
- package/dist/chunks/cli-0.6.8-4d57xs6b.mjs +2 -0
- package/dist/chunks/cli-0.6.8-4jh3r7br.mjs +2 -0
- package/dist/chunks/cli-0.6.8-4zdzrvfa.mjs +2 -0
- package/dist/chunks/cli-0.6.8-5enet6dq.mjs +2 -0
- package/dist/chunks/cli-0.6.8-5gstf2n7.mjs +2 -0
- package/dist/chunks/cli-0.6.8-5n9bwjf9.mjs +2 -0
- package/dist/chunks/cli-0.6.8-5sexbrs8.mjs +3 -0
- package/dist/chunks/cli-0.6.8-5y8n5kpk.mjs +2 -0
- package/dist/chunks/cli-0.6.8-6050y1gw.mjs +2 -0
- package/dist/chunks/cli-0.6.8-61qkxc3j.mjs +2 -0
- package/dist/chunks/cli-0.6.8-6495m72a.mjs +2 -0
- package/dist/chunks/cli-0.6.8-6ccg5qmp.mjs +2 -0
- package/dist/chunks/cli-0.6.8-6nasamhy.mjs +2 -0
- package/dist/chunks/cli-0.6.8-6pf3s7fk.mjs +6 -0
- package/dist/chunks/cli-0.6.8-6tgf3xa0.mjs +133 -0
- package/dist/chunks/cli-0.6.8-6v315rd0.mjs +2 -0
- package/dist/chunks/cli-0.6.8-6wdxaa6q.mjs +3 -0
- package/dist/chunks/cli-0.6.8-6z1655sa.mjs +2 -0
- package/dist/chunks/cli-0.6.8-72sec87k.mjs +3 -0
- package/dist/chunks/cli-0.6.8-77sjcesf.mjs +2 -0
- package/dist/chunks/cli-0.6.8-7g7k6yt9.mjs +2 -0
- package/dist/chunks/cli-0.6.8-7nqm28z4.mjs +2 -0
- package/dist/chunks/cli-0.6.8-7rznct58.mjs +2 -0
- package/dist/chunks/cli-0.6.8-7t0cwmv0.mjs +2 -0
- package/dist/chunks/cli-0.6.8-7t8gpbd2.mjs +6 -0
- package/dist/chunks/cli-0.6.8-82xanm26.mjs +3 -0
- package/dist/chunks/cli-0.6.8-883y3p0j.mjs +5348 -0
- package/dist/chunks/cli-0.6.8-8cptc9vb.mjs +4 -0
- package/dist/chunks/cli-0.6.8-8ezmkwsw.mjs +2 -0
- package/dist/chunks/cli-0.6.8-8h913n7t.mjs +2 -0
- package/dist/chunks/cli-0.6.8-8jkm4bym.mjs +2 -0
- package/dist/chunks/cli-0.6.8-8zc9gtx8.mjs +2 -0
- package/dist/chunks/cli-0.6.8-93hp2f5g.mjs +2 -0
- package/dist/chunks/cli-0.6.8-9cxxg2ax.mjs +2 -0
- package/dist/chunks/cli-0.6.8-9f5w9wre.mjs +2 -0
- package/dist/chunks/cli-0.6.8-9m65pb3r.mjs +18 -0
- package/dist/chunks/cli-0.6.8-9pkhxd6z.mjs +2 -0
- package/dist/chunks/cli-0.6.8-9xem54f8.mjs +2 -0
- package/dist/chunks/cli-0.6.8-a7nmnbm4.mjs +2 -0
- package/dist/chunks/cli-0.6.8-a8zm3cbn.mjs +5 -0
- package/dist/chunks/cli-0.6.8-abapkbf0.mjs +15 -0
- package/dist/chunks/cli-0.6.8-ag8hcaw0.mjs +2 -0
- package/dist/chunks/cli-0.6.8-atjt49c4.mjs +2 -0
- package/dist/chunks/cli-0.6.8-b280gnkv.mjs +1 -0
- package/dist/chunks/cli-0.6.8-b2zms4ec.mjs +2 -0
- package/dist/chunks/cli-0.6.8-b3v9vbq6.mjs +2 -0
- package/dist/chunks/cli-0.6.8-b6c3tmkx.mjs +2 -0
- package/dist/chunks/cli-0.6.8-b6f3e10d.mjs +2 -0
- package/dist/chunks/cli-0.6.8-bdhpc7zj.mjs +17 -0
- package/dist/chunks/cli-0.6.8-bh09cgap.mjs +6 -0
- package/dist/chunks/cli-0.6.8-bp3vvgaw.mjs +2 -0
- package/dist/chunks/cli-0.6.8-bsqfs15y.mjs +58 -0
- package/dist/chunks/cli-0.6.8-bxcjrmby.mjs +2 -0
- package/dist/chunks/cli-0.6.8-c838p5hk.mjs +3 -0
- package/dist/chunks/cli-0.6.8-cbvnsxaa.mjs +12 -0
- package/dist/chunks/cli-0.6.8-cctyv31j.mjs +4 -0
- package/dist/chunks/cli-0.6.8-cthp7gx1.mjs +2 -0
- package/dist/chunks/cli-0.6.8-cv73s4x5.mjs +4 -0
- package/dist/chunks/cli-0.6.8-dk4bw9mq.mjs +3 -0
- package/dist/chunks/cli-0.6.8-dpz3wm8v.mjs +2 -0
- package/dist/chunks/cli-0.6.8-dvkyrzw7.mjs +5 -0
- package/dist/chunks/cli-0.6.8-dwwx58n6.mjs +2 -0
- package/dist/chunks/cli-0.6.8-dxtyt1wg.mjs +2 -0
- package/dist/chunks/cli-0.6.8-ee7wzgsq.mjs +5 -0
- package/dist/chunks/cli-0.6.8-ee9mr0z2.mjs +2 -0
- package/dist/chunks/cli-0.6.8-efkksxch.mjs +2 -0
- package/dist/chunks/cli-0.6.8-efve08ng.mjs +2 -0
- package/dist/chunks/cli-0.6.8-ekkrzmjw.mjs +2 -0
- package/dist/chunks/cli-0.6.8-eyg1sq7b.mjs +2 -0
- package/dist/chunks/cli-0.6.8-eypwe6gz.mjs +15 -0
- package/dist/chunks/cli-0.6.8-fhedvbz1.mjs +15 -0
- package/dist/chunks/cli-0.6.8-fnet85r6.mjs +2 -0
- package/dist/chunks/cli-0.6.8-g3yp49rz.mjs +2 -0
- package/dist/chunks/cli-0.6.8-gcnabbk4.mjs +3 -0
- package/dist/chunks/cli-0.6.8-gfsf3tvy.mjs +2 -0
- package/dist/chunks/cli-0.6.8-gmzxyn2t.mjs +2 -0
- package/dist/chunks/cli-0.6.8-grdpt7ss.mjs +2 -0
- package/dist/chunks/cli-0.6.8-gscmwgeh.mjs +4 -0
- package/dist/chunks/cli-0.6.8-gtwt16bp.mjs +2 -0
- package/dist/chunks/cli-0.6.8-hj3j54vb.mjs +2 -0
- package/dist/chunks/cli-0.6.8-hvckc721.mjs +2 -0
- package/dist/chunks/cli-0.6.8-j22112y9.mjs +2 -0
- package/dist/chunks/cli-0.6.8-j5wfgenk.mjs +2 -0
- package/dist/chunks/cli-0.6.8-j81d3bq4.mjs +2 -0
- package/dist/chunks/cli-0.6.8-j8mdppyz.mjs +2 -0
- package/dist/chunks/cli-0.6.8-janhze0q.mjs +39 -0
- package/dist/chunks/cli-0.6.8-jea2s05x.mjs +2 -0
- package/dist/chunks/cli-0.6.8-jf4zbgy5.mjs +2 -0
- package/dist/chunks/cli-0.6.8-jp8gk6z3.mjs +2 -0
- package/dist/chunks/cli-0.6.8-jp9zzk35.mjs +2 -0
- package/dist/chunks/cli-0.6.8-jx1wvs6x.mjs +2 -0
- package/dist/chunks/cli-0.6.8-k533p6s5.mjs +2 -0
- package/dist/chunks/cli-0.6.8-kjfxmp31.mjs +2 -0
- package/dist/chunks/cli-0.6.8-kkh9paa3.mjs +2 -0
- package/dist/chunks/cli-0.6.8-kv1xtman.mjs +2 -0
- package/dist/chunks/cli-0.6.8-kxp0gfzq.mjs +4 -0
- package/dist/chunks/cli-0.6.8-m1r6z413.mjs +2 -0
- package/dist/chunks/cli-0.6.8-m2hw29ah.mjs +2 -0
- package/dist/chunks/cli-0.6.8-m2yf7dzs.mjs +2 -0
- package/dist/chunks/cli-0.6.8-ma2wastm.mjs +50 -0
- package/dist/chunks/cli-0.6.8-mecr32eb.mjs +24 -0
- package/dist/chunks/cli-0.6.8-mkfx6c2h.mjs +7 -0
- package/dist/chunks/cli-0.6.8-n3rhca7k.mjs +2 -0
- package/dist/chunks/cli-0.6.8-n4ecq63e.mjs +2 -0
- package/dist/chunks/cli-0.6.8-nmdsnavk.mjs +2 -0
- package/dist/chunks/cli-0.6.8-nwtmpseh.mjs +2 -0
- package/dist/chunks/cli-0.6.8-nz7pwsys.mjs +2 -0
- package/dist/chunks/cli-0.6.8-p6rhsdxf.mjs +2 -0
- package/dist/chunks/cli-0.6.8-pgcmgfht.mjs +2 -0
- package/dist/chunks/cli-0.6.8-pmpv80vx.mjs +2 -0
- package/dist/chunks/cli-0.6.8-pz3sbced.mjs +25 -0
- package/dist/chunks/cli-0.6.8-pzbspy3n.mjs +2 -0
- package/dist/chunks/cli-0.6.8-q027tb7b.mjs +2 -0
- package/dist/chunks/cli-0.6.8-q3txjpb9.mjs +2 -0
- package/dist/chunks/cli-0.6.8-qg557m5n.mjs +2 -0
- package/dist/chunks/cli-0.6.8-r1yjkwda.mjs +2 -0
- package/dist/chunks/cli-0.6.8-r42pr0w8.mjs +2 -0
- package/dist/chunks/cli-0.6.8-r9jgzx43.mjs +2 -0
- package/dist/chunks/cli-0.6.8-rewjhmpq.mjs +133 -0
- package/dist/chunks/cli-0.6.8-reyv7f1y.mjs +9 -0
- package/dist/chunks/cli-0.6.8-rftvcrp4.mjs +2 -0
- package/dist/chunks/cli-0.6.8-rw4y8s92.mjs +2 -0
- package/dist/chunks/cli-0.6.8-s0geqcvz.mjs +2 -0
- package/dist/chunks/cli-0.6.8-s0s7zs2a.mjs +24 -0
- package/dist/chunks/cli-0.6.8-s6yd5ybz.mjs +2 -0
- package/dist/chunks/cli-0.6.8-s98bd3q2.mjs +2 -0
- package/dist/chunks/cli-0.6.8-sn09eprm.mjs +2 -0
- package/dist/chunks/cli-0.6.8-sz1r1tvd.mjs +2 -0
- package/dist/chunks/cli-0.6.8-sznj03wy.mjs +3 -0
- package/dist/chunks/cli-0.6.8-t1kd2tg3.mjs +2 -0
- package/dist/chunks/cli-0.6.8-t3th9jjg.mjs +2 -0
- package/dist/chunks/cli-0.6.8-ta6qf4we.mjs +20 -0
- package/dist/chunks/cli-0.6.8-tb4rrntr.mjs +16 -0
- package/dist/chunks/cli-0.6.8-tewmm6rt.mjs +2 -0
- package/dist/chunks/cli-0.6.8-tnqnaqpx.mjs +3 -0
- package/dist/chunks/cli-0.6.8-tzmx6gz0.mjs +12 -0
- package/dist/chunks/cli-0.6.8-tztjt9fh.mjs +4 -0
- package/dist/chunks/cli-0.6.8-v582jfcn.mjs +4 -0
- package/dist/chunks/cli-0.6.8-v9wg3pvs.mjs +2 -0
- package/dist/chunks/cli-0.6.8-vcpys5fx.mjs +2 -0
- package/dist/chunks/cli-0.6.8-vf9cagcj.mjs +59 -0
- package/dist/chunks/cli-0.6.8-vpaw67v2.mjs +193 -0
- package/dist/chunks/cli-0.6.8-vqhtd9ay.mjs +2 -0
- package/dist/chunks/cli-0.6.8-vseqtday.mjs +21 -0
- package/dist/chunks/cli-0.6.8-vwhx9xjq.mjs +2 -0
- package/dist/chunks/cli-0.6.8-wdjsawer.mjs +3 -0
- package/dist/chunks/cli-0.6.8-wdq4r1nd.mjs +2 -0
- package/dist/chunks/cli-0.6.8-wfy4hqb2.mjs +2 -0
- package/dist/chunks/cli-0.6.8-wh069qak.mjs +2 -0
- package/dist/chunks/cli-0.6.8-wj4r5nwg.mjs +2 -0
- package/dist/chunks/cli-0.6.8-wnjmpcsm.mjs +2 -0
- package/dist/chunks/cli-0.6.8-x87v5pq1.mjs +45 -0
- package/dist/chunks/cli-0.6.8-xj1ptmgh.mjs +2 -0
- package/dist/chunks/cli-0.6.8-y0p6bqj6.mjs +2 -0
- package/dist/chunks/cli-0.6.8-y2c1w6bt.mjs +42 -0
- package/dist/chunks/cli-0.6.8-y3hnde8e.mjs +2 -0
- package/dist/chunks/cli-0.6.8-yvfgg1kg.mjs +2 -0
- package/dist/chunks/cli-0.6.8-yvt0y45m.mjs +28 -0
- package/dist/chunks/cli-0.6.8-yztx4k12.mjs +18 -0
- package/dist/chunks/cli-0.6.8-z4wpf0ah.mjs +2 -0
- package/dist/chunks/client-0.6.8-8kz2zw01.mjs +1 -0
- package/dist/chunks/color-0.6.8-jhpvc051.mjs +1 -0
- package/dist/chunks/compact-0.6.8-0gcf2ncc.mjs +3 -0
- package/dist/chunks/config-0.6.8-dxk5q3qr.mjs +1 -0
- package/dist/chunks/config-0.6.8-xdt0r55h.mjs +1 -0
- package/dist/chunks/constants-0.6.8-49aaqy22.mjs +1 -0
- package/dist/chunks/context-0.6.8-tavd1s8s.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.8-6vagjsgf.mjs +1 -0
- package/dist/chunks/conversation-0.6.8-10fvebzj.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.8-fqca0jf7.mjs +1 -0
- package/dist/chunks/copy-0.6.8-rhzw5vyv.mjs +9 -0
- package/dist/chunks/cost-0.6.8-w3qf0kpn.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.8-r7cw30nn.mjs +1 -0
- package/dist/chunks/createSession-0.6.8-vwbe80jv.mjs +1 -0
- package/dist/chunks/debug-0.6.8-pzm167m4.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.8-nnx5s7ws.mjs +1367 -0
- package/dist/chunks/desktop-0.6.8-ef8y3qjr.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.8-3ayp37pd.mjs +1 -0
- package/dist/chunks/detection-0.6.8-pdrw5y2x.mjs +1 -0
- package/dist/chunks/diff-0.6.8-fxk9tzbd.mjs +1 -0
- package/dist/chunks/doctor-0.6.8-ajzrj1jx.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.8-w72jdksp.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.8-ca9mzfzf.mjs +1 -0
- package/dist/chunks/effort-0.6.8-e6xp1ycv.mjs +10 -0
- package/dist/chunks/envLessBridgeConfig-0.6.8-9vz6evg2.mjs +1 -0
- package/dist/chunks/envUtils-0.6.8-vq8np9fm.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.8-mf3acav0.mjs +1 -0
- package/dist/chunks/environments-0.6.8-k7rgvnpj.mjs +1 -0
- package/dist/chunks/errors-0.6.8-svsjkqng.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.8-7qjc7y64.mjs +1 -0
- package/dist/chunks/exit-0.6.8-507vwyf9.mjs +1 -0
- package/dist/chunks/explorer-0.6.8-25m08xd0.mjs +1 -0
- package/dist/chunks/export-0.6.8-w1yn5sa3.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.8-sahj9pr6.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.8-3r3nczjf.mjs +1 -0
- package/dist/chunks/fast-0.6.8-jpkz65vs.mjs +1 -0
- package/dist/chunks/feedback-0.6.8-5w9gvrc0.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.8-b2w3hkeb.mjs +1 -0
- package/dist/chunks/git-0.6.8-drry71tr.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.8-4phd2tn9.mjs +1 -0
- package/dist/chunks/goal-0.6.8-vp972bd7.mjs +4 -0
- package/dist/chunks/grove-0.6.8-9dr81tf3.mjs +1 -0
- package/dist/chunks/growthbook-0.6.8-fcwcztdp.mjs +1 -0
- package/dist/chunks/headless-0.6.8-m2jzbvg9.mjs +2 -0
- package/dist/chunks/heapdump-0.6.8-awp81a34.mjs +6 -0
- package/dist/chunks/help-0.6.8-hbsb7av5.mjs +1 -0
- package/dist/chunks/hookChains-0.6.8-04mbkzxt.mjs +3 -0
- package/dist/chunks/hooks-0.6.8-6x1xc1rx.mjs +1 -0
- package/dist/chunks/hooks-0.6.8-80h8h076.mjs +79 -0
- package/dist/chunks/ide-0.6.8-7vbxnmby.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.8-8m23kpm0.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.6.8-wcyd47px.mjs +1 -0
- package/dist/chunks/index-0.6.8-1q3w68f1.mjs +1 -0
- package/dist/chunks/index-0.6.8-1w8hv7a8.mjs +1 -0
- package/dist/chunks/index-0.6.8-2sp7v8r9.mjs +2 -0
- package/dist/chunks/index-0.6.8-3782mjyy.mjs +1 -0
- package/dist/chunks/index-0.6.8-6eeqw069.mjs +1 -0
- package/dist/chunks/index-0.6.8-7dmsg46k.mjs +5 -0
- package/dist/chunks/index-0.6.8-7prxs8kr.mjs +1 -0
- package/dist/chunks/index-0.6.8-azcjsyp8.mjs +1 -0
- package/dist/chunks/index-0.6.8-ccq5xheq.mjs +2 -0
- package/dist/chunks/index-0.6.8-dkdk0g9j.mjs +1 -0
- package/dist/chunks/index-0.6.8-dv8qe20v.mjs +1 -0
- package/dist/chunks/index-0.6.8-fsfq8ekm.mjs +1 -0
- package/dist/chunks/index-0.6.8-k3r9pz8v.mjs +1 -0
- package/dist/chunks/index-0.6.8-ke45hjqk.mjs +1 -0
- package/dist/chunks/index-0.6.8-kvjzqm75.mjs +9 -0
- package/dist/chunks/index-0.6.8-m9y8nqmz.mjs +30 -0
- package/dist/chunks/index-0.6.8-mc1wvtc8.mjs +1 -0
- package/dist/chunks/index-0.6.8-svxnm6ph.mjs +1 -0
- package/dist/chunks/index-0.6.8-vvg8dg6z.mjs +9 -0
- package/dist/chunks/index-0.6.8-wec8yb9e.mjs +1 -0
- package/dist/chunks/index-0.6.8-y535r49s.mjs +1 -0
- package/dist/chunks/index-0.6.8-yf6035wh.mjs +1 -0
- package/dist/chunks/index-0.6.8-zcf4qg35.mjs +1 -0
- package/dist/chunks/init-0.6.8-brwjmnyg.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.8-5jcj5ax3.mjs +1 -0
- package/dist/chunks/ink-0.6.8-cts7p4b7.mjs +1 -0
- package/dist/chunks/insights-0.6.8-h5b5ve9h.mjs +870 -0
- package/dist/chunks/install-0.6.8-e3gdw6r9.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.8-hh3mzyfs.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.8-n4pb88x6.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.8-67ewcnwm.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.8-ryjx3tbw.mjs +1 -0
- package/dist/chunks/keybindings-0.6.8-8v6q91kq.mjs +2 -0
- package/dist/chunks/knowledge-0.6.8-dn40ytkg.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.8-xx081act.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.8-vhh6hfk9.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.8-p15wjdk7.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.8-tjd9ekbf.mjs +1 -0
- package/dist/chunks/log-0.6.8-srvm2n7a.mjs +1 -0
- package/dist/chunks/main-0.6.8-5mcvdtte.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.8-3m2x6zgp.mjs +1 -0
- package/dist/chunks/mcp-0.6.8-3dztd40j.mjs +17 -0
- package/dist/chunks/mcp-0.6.8-5msk2pvy.mjs +4 -0
- package/dist/chunks/mcp-0.6.8-nxyt74pa.mjs +1 -0
- package/dist/chunks/mcpb-0.6.8-v8q530w6.mjs +1 -0
- package/dist/chunks/memory-0.6.8-1pkjxmpb.mjs +3 -0
- package/dist/chunks/model-0.6.8-00wgempd.mjs +2 -0
- package/dist/chunks/model-0.6.8-99m80ayt.mjs +1 -0
- package/dist/chunks/node-0.6.8-b8rvxhkh.mjs +12 -0
- package/dist/chunks/oauth-0.6.8-c2r6j7j0.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.8-z736wyft.mjs +14 -0
- package/dist/chunks/output-style-0.6.8-586m3zta.mjs +1 -0
- package/dist/chunks/package-FMOR3ELU-0.6.8-xe49mr3f.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.8-wawy5rxc.mjs +1 -0
- package/dist/chunks/parser-0.6.8-zjc9fwme.mjs +1 -0
- package/dist/chunks/passes-0.6.8-mn4rnfm9.mjs +1 -0
- package/dist/chunks/permissions-0.6.8-jdgt2sv8.mjs +1 -0
- package/dist/chunks/permissions-0.6.8-z6ybrhdp.mjs +3 -0
- package/dist/chunks/plan-0.6.8-9h16p6t0.mjs +1 -0
- package/dist/chunks/plist-0.6.8-ras7a7wc.mjs +1 -0
- package/dist/chunks/plugin-0.6.8-0p0a1k4b.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.8-ff7hmaes.mjs +1 -0
- package/dist/chunks/plugins-0.6.8-fbp29vr3.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.8-1qt932q1.mjs +2 -0
- package/dist/chunks/print-0.6.8-tm9918yr.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.8-5e2yd64z.mjs +1 -0
- package/dist/chunks/process-0.6.8-mqtgb3cx.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.8-xtx2v6da.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.8-xgvzddwk.mjs +9 -0
- package/dist/chunks/prompt-0.6.8-57r1r589.mjs +1 -0
- package/dist/chunks/prompt-0.6.8-npwq825f.mjs +1 -0
- package/dist/chunks/prompts-0.6.8-ta5q8t8a.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.8-mf45pq35.mjs +13 -0
- package/dist/chunks/provider-0.6.8-pemvh2k5.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.8-t4rbsxrj.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.8-jvfz53fe.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.8-egm6fsa2.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.8-c33k54ns.mjs +34 -0
- package/dist/chunks/registry-0.6.8-v7m02nk2.mjs +1 -0
- package/dist/chunks/release-notes-0.6.8-wwv5r86y.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.8-72v51g0k.mjs +2 -0
- package/dist/chunks/remote-env-0.6.8-gn37jake.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.8-7cd0x0sw.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.8-tr5ph176.mjs +1 -0
- package/dist/chunks/rename-0.6.8-8jb90c48.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.8-znyhk31n.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.8-we5yqk5n.mjs +1 -0
- package/dist/chunks/resume-0.6.8-x8vd5cdx.mjs +2 -0
- package/dist/chunks/rewind-0.6.8-dg7aawme.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.8-ezrfenmz.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.8-cfj9xd48.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.8-mffa8yr5.mjs +1 -0
- package/dist/chunks/session-0.6.8-6pyjb4jn.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.8-e3h9zvrp.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.8-5q6x4jx9.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.8-3tvaj86g.mjs +1 -0
- package/dist/chunks/settings-0.6.8-m72ttv29.mjs +1 -0
- package/dist/chunks/setup-0.6.8-f3y64bte.mjs +5 -0
- package/dist/chunks/sinks-0.6.8-t8e55v3b.mjs +1 -0
- package/dist/chunks/skills-0.6.8-17ktqb7y.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.8-qj52vcw4.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.8-51vrdbj6.mjs +1 -0
- package/dist/chunks/state-0.6.8-pwxe3dfk.mjs +1 -0
- package/dist/chunks/stats-0.6.8-fc152nhd.mjs +6 -0
- package/dist/chunks/status-0.6.8-bjgdnsz8.mjs +1 -0
- package/dist/chunks/stickers-0.6.8-dndn2kp3.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.8-zzdkzkpq.mjs +1 -0
- package/dist/chunks/tasks-0.6.8-zjm7dnep.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.8-prrabxj1.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.8-21bj5sj0.mjs +1 -0
- package/dist/chunks/teleport-0.6.8-jvcjg7d7.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.8-9y4235w1.mjs +1 -0
- package/dist/chunks/theme-0.6.8-wvdhk95e.mjs +1 -0
- package/dist/chunks/thinkback-0.6.8-8dn71z5r.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.8-agrskwfn.mjs +1 -0
- package/dist/chunks/toolPool-0.6.8-90318hbv.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.8-eyr73a52.mjs +1 -0
- package/dist/chunks/tools-0.6.8-mdjqydpm.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.8-b7fae7s5.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.8-sgzhfavm.mjs +69 -0
- package/dist/chunks/types-0.6.8-4gf5x9jb.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.6.8-5cdef89y.mjs +4 -0
- package/dist/chunks/update-0.6.8-hv3gahmz.mjs +86 -0
- package/dist/chunks/upgrade-0.6.8-w044cw9y.mjs +1 -0
- package/dist/chunks/upload-0.6.8-er3nq389.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.6.8-zfg8pv8q.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.8-1q2hrhb3.mjs +1 -0
- package/dist/chunks/usage-0.6.8-pc8gdf6b.mjs +1 -0
- package/dist/chunks/util-0.6.8-rt8y16fm.mjs +1 -0
- package/dist/chunks/utils-0.6.8-8nsbk9w4.mjs +1 -0
- package/dist/chunks/vim-0.6.8-y1wq10k6.mjs +1 -0
- package/dist/chunks/watcher-0.6.8-hq0y1y68.mjs +1 -0
- package/dist/chunks/wiki-0.6.8-jqbmvz1r.mjs +132 -0
- package/dist/chunks/worktree-0.6.8-hn8ac7q6.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.8-k0yys6b0.mjs +1 -0
- package/dist/chunks/wrapper-0.6.8-r1wx821t.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.6.7-f7t2mgqb.mjs +0 -1
- package/dist/chunks/App-0.6.7-9x70f9jb.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.7-2tb75j23.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.7-afdtan0w.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.7-pyzr75b3.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.7-nfncnj0q.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.7-n2e142wm.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.7-phc7vznz.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.7-s9x3mya9.mjs +0 -7
- package/dist/chunks/Doctor-0.6.7-smded214.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.6.7-4hy6ry9q.mjs +0 -6
- package/dist/chunks/Grove-0.6.7-ahyrvw0t.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.7-fcnt914g.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.7-00bjfj0e.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.7-13q0q9de.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.7-858rv0qw.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.7-dt8tdzek.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.7-6v39p38e.mjs +0 -1
- package/dist/chunks/REPL-0.6.7-q0nc0w32.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.7-pdhahpga.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.7-m392exrv.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.7-1dr1gjn2.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.7-sv7jdzae.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.7-p36an880.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.7-aefcv1eq.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.7-ff2nyjj7.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.7-seknmzsh.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.7-0w1yte74.mjs +0 -1
- package/dist/chunks/add-dir-0.6.7-85gjr3q5.mjs +0 -1
- package/dist/chunks/agents-0.6.7-bwmzpbmy.mjs +0 -110
- package/dist/chunks/agents-0.6.7-zctgtzc9.mjs +0 -3
- package/dist/chunks/api-0.6.7-mfw9d6jg.mjs +0 -1
- package/dist/chunks/asciicast-0.6.7-tecyvajs.mjs +0 -1
- package/dist/chunks/assistant-0.6.7-0krnapvp.mjs +0 -1
- package/dist/chunks/auth-0.6.7-vsm2s3fs.mjs +0 -1
- package/dist/chunks/auth-0.6.7-y4kcahyj.mjs +0 -1
- package/dist/chunks/autoMode-0.6.7-ysajwbz7.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.7-ztgvnr84.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.7-hyrc03zs.mjs +0 -1
- package/dist/chunks/branch-0.6.7-hs9qva1m.mjs +0 -4
- package/dist/chunks/bridge-0.6.7-6tz3q7eh.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.6.7-nb52xna6.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.6.7-a4xw7wv8.mjs +0 -1
- package/dist/chunks/bridgeMain-0.6.7-tdh5qxzb.mjs +0 -88
- package/dist/chunks/bridgePointer-0.6.7-dh27kqnd.mjs +0 -1
- package/dist/chunks/btw-0.6.7-7mwpkxc8.mjs +0 -1
- package/dist/chunks/buddy-0.6.7-nq3yjbfx.mjs +0 -3
- package/dist/chunks/cacache-0.6.7-g9830zbt.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.7-f97mkfrz.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.7-cajakjmn.mjs +0 -4
- package/dist/chunks/caches-0.6.7-j5y9mwvb.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.7-86f3d3gt.mjs +0 -1
- package/dist/chunks/claudemd-0.6.7-bhnp37nv.mjs +0 -1
- package/dist/chunks/clear-0.6.7-b2weanr6.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.7-dtmyqs1m.mjs +0 -1
- package/dist/chunks/cli-0.6.7-09aymh1b.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0a04vzzk.mjs +0 -28
- package/dist/chunks/cli-0.6.7-0a406bqw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0c5ban8m.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0ecsc6v5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0eeyfjk8.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0fc4sq47.mjs +0 -42
- package/dist/chunks/cli-0.6.7-0ncx2c9t.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0qzj0d6r.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0t1e9vab.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0t5ssfvj.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0z5z87v6.mjs +0 -1
- package/dist/chunks/cli-0.6.7-105zxdx5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-11a89p5q.mjs +0 -2
- package/dist/chunks/cli-0.6.7-15mn3n46.mjs +0 -2
- package/dist/chunks/cli-0.6.7-17dafwxd.mjs +0 -2
- package/dist/chunks/cli-0.6.7-1jmt8r8f.mjs +0 -7
- package/dist/chunks/cli-0.6.7-1mvkcg2k.mjs +0 -2
- package/dist/chunks/cli-0.6.7-1nxk10ra.mjs +0 -12
- package/dist/chunks/cli-0.6.7-1v8p5kj1.mjs +0 -2
- package/dist/chunks/cli-0.6.7-1vdk7j2f.mjs +0 -2
- package/dist/chunks/cli-0.6.7-1wy6neqr.mjs +0 -2
- package/dist/chunks/cli-0.6.7-26ph2hrd.mjs +0 -2
- package/dist/chunks/cli-0.6.7-26tkvqk3.mjs +0 -2
- package/dist/chunks/cli-0.6.7-29j5a7qt.mjs +0 -2
- package/dist/chunks/cli-0.6.7-2kkhf54p.mjs +0 -133
- package/dist/chunks/cli-0.6.7-2rppvwcw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-2rxv4h2n.mjs +0 -5348
- package/dist/chunks/cli-0.6.7-30y87jp9.mjs +0 -3
- package/dist/chunks/cli-0.6.7-31vjvqm0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-37a1n221.mjs +0 -2
- package/dist/chunks/cli-0.6.7-393mf77x.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3anc14y3.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3nk6g2dp.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3rkngb3p.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3w59rctc.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3zgmbaw1.mjs +0 -2
- package/dist/chunks/cli-0.6.7-417g4eq7.mjs +0 -2
- package/dist/chunks/cli-0.6.7-4723xt8g.mjs +0 -4
- package/dist/chunks/cli-0.6.7-4qezg54y.mjs +0 -2
- package/dist/chunks/cli-0.6.7-4qv89taa.mjs +0 -2
- package/dist/chunks/cli-0.6.7-4r8s96as.mjs +0 -18
- package/dist/chunks/cli-0.6.7-4rswb0s0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-4y6eh566.mjs +0 -2
- package/dist/chunks/cli-0.6.7-568qkrtn.mjs +0 -2
- package/dist/chunks/cli-0.6.7-5jkermx7.mjs +0 -2
- package/dist/chunks/cli-0.6.7-5tksrgt5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-5y4c00t6.mjs +0 -2
- package/dist/chunks/cli-0.6.7-6ezmhmp0.mjs +0 -67
- package/dist/chunks/cli-0.6.7-6fh5e7r0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-79a1ryqj.mjs +0 -17
- package/dist/chunks/cli-0.6.7-7eze8zyh.mjs +0 -2
- package/dist/chunks/cli-0.6.7-7hqt2520.mjs +0 -2
- package/dist/chunks/cli-0.6.7-7jnmn6s1.mjs +0 -2
- package/dist/chunks/cli-0.6.7-7p1zvk1f.mjs +0 -4
- package/dist/chunks/cli-0.6.7-7q89ngt8.mjs +0 -4
- package/dist/chunks/cli-0.6.7-7wfcpd35.mjs +0 -5
- package/dist/chunks/cli-0.6.7-895afk0q.mjs +0 -39
- package/dist/chunks/cli-0.6.7-8hg68yde.mjs +0 -3
- package/dist/chunks/cli-0.6.7-8npy06pd.mjs +0 -2
- package/dist/chunks/cli-0.6.7-8nt66wx8.mjs +0 -2
- package/dist/chunks/cli-0.6.7-8rckbxrq.mjs +0 -2
- package/dist/chunks/cli-0.6.7-94jxfcfx.mjs +0 -2
- package/dist/chunks/cli-0.6.7-986a2c9a.mjs +0 -20
- package/dist/chunks/cli-0.6.7-9ewdkgf6.mjs +0 -2
- package/dist/chunks/cli-0.6.7-9qjmzyph.mjs +0 -59
- package/dist/chunks/cli-0.6.7-9zvbhkwn.mjs +0 -2
- package/dist/chunks/cli-0.6.7-a49h84jx.mjs +0 -2
- package/dist/chunks/cli-0.6.7-a8d5a7gy.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ad305tsz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-aj0r6e7f.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ajy2kcrw.mjs +0 -4
- package/dist/chunks/cli-0.6.7-askr0gdn.mjs +0 -12
- package/dist/chunks/cli-0.6.7-axgab18a.mjs +0 -2
- package/dist/chunks/cli-0.6.7-b6ssk5st.mjs +0 -50
- package/dist/chunks/cli-0.6.7-bf5gjw6d.mjs +0 -4
- package/dist/chunks/cli-0.6.7-bgtwgprg.mjs +0 -2
- package/dist/chunks/cli-0.6.7-bvke740f.mjs +0 -58
- package/dist/chunks/cli-0.6.7-bvsyxh29.mjs +0 -45
- package/dist/chunks/cli-0.6.7-c9drqby8.mjs +0 -5
- package/dist/chunks/cli-0.6.7-cc1w6ch6.mjs +0 -2
- package/dist/chunks/cli-0.6.7-csw6s95q.mjs +0 -2
- package/dist/chunks/cli-0.6.7-cykfmytk.mjs +0 -2
- package/dist/chunks/cli-0.6.7-d0hce9x9.mjs +0 -2
- package/dist/chunks/cli-0.6.7-d513frqa.mjs +0 -2
- package/dist/chunks/cli-0.6.7-d6md6s9z.mjs +0 -2
- package/dist/chunks/cli-0.6.7-dn51gm8s.mjs +0 -2
- package/dist/chunks/cli-0.6.7-dzhzeyee.mjs +0 -2
- package/dist/chunks/cli-0.6.7-e96htnt8.mjs +0 -2
- package/dist/chunks/cli-0.6.7-egf9dysz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ej85ys91.mjs +0 -133
- package/dist/chunks/cli-0.6.7-ery7wb2b.mjs +0 -25
- package/dist/chunks/cli-0.6.7-ewn2cwb7.mjs +0 -6
- package/dist/chunks/cli-0.6.7-ex9w59mx.mjs +0 -3
- package/dist/chunks/cli-0.6.7-fbgdkq7p.mjs +0 -2
- package/dist/chunks/cli-0.6.7-fbkbnkmx.mjs +0 -2
- package/dist/chunks/cli-0.6.7-g3bdwra6.mjs +0 -12
- package/dist/chunks/cli-0.6.7-g4r471w6.mjs +0 -15
- package/dist/chunks/cli-0.6.7-ggbx3zye.mjs +0 -21
- package/dist/chunks/cli-0.6.7-gj1zv8je.mjs +0 -2
- package/dist/chunks/cli-0.6.7-gp1x8mcf.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hcp3t5gk.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hd512c6x.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hsf1v92p.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hsxghzzr.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hvjb13p8.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hxpbsv1t.mjs +0 -2
- package/dist/chunks/cli-0.6.7-jayzyra3.mjs +0 -2
- package/dist/chunks/cli-0.6.7-jry3hr0z.mjs +0 -18
- package/dist/chunks/cli-0.6.7-jt8cfe25.mjs +0 -3
- package/dist/chunks/cli-0.6.7-jvyry09r.mjs +0 -3
- package/dist/chunks/cli-0.6.7-k0h6t7d8.mjs +0 -3
- package/dist/chunks/cli-0.6.7-k69edthm.mjs +0 -2
- package/dist/chunks/cli-0.6.7-k7qq705k.mjs +0 -2
- package/dist/chunks/cli-0.6.7-kfm63wm2.mjs +0 -17
- package/dist/chunks/cli-0.6.7-m5a4md2p.mjs +0 -24
- package/dist/chunks/cli-0.6.7-m7f7sbcz.mjs +0 -3
- package/dist/chunks/cli-0.6.7-m9gs7avb.mjs +0 -2
- package/dist/chunks/cli-0.6.7-me667czz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-mfw4bdkw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-mgzf6br3.mjs +0 -2
- package/dist/chunks/cli-0.6.7-mh4wva6p.mjs +0 -2
- package/dist/chunks/cli-0.6.7-mjkd8p19.mjs +0 -16
- package/dist/chunks/cli-0.6.7-mq2xzatd.mjs +0 -34
- package/dist/chunks/cli-0.6.7-mr3rwnv4.mjs +0 -2
- package/dist/chunks/cli-0.6.7-msab4rsa.mjs +0 -3
- package/dist/chunks/cli-0.6.7-mxbbt73y.mjs +0 -2
- package/dist/chunks/cli-0.6.7-n4hcg1jw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-n7v99j1c.mjs +0 -3
- package/dist/chunks/cli-0.6.7-n9b6fykd.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ndz1ybhe.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nembqgq6.mjs +0 -4
- package/dist/chunks/cli-0.6.7-njtz9caz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nkk7dy60.mjs +0 -3
- package/dist/chunks/cli-0.6.7-nkngqbzm.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nmasp64q.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nsaek892.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nyj8vj8s.mjs +0 -2
- package/dist/chunks/cli-0.6.7-p01n2g5q.mjs +0 -3
- package/dist/chunks/cli-0.6.7-p0s9xa7d.mjs +0 -2
- package/dist/chunks/cli-0.6.7-p140ghs7.mjs +0 -4
- package/dist/chunks/cli-0.6.7-p1s9dq5f.mjs +0 -2
- package/dist/chunks/cli-0.6.7-p76h2hj4.mjs +0 -193
- package/dist/chunks/cli-0.6.7-p77b3p80.mjs +0 -4
- package/dist/chunks/cli-0.6.7-p8qqm0e2.mjs +0 -10
- package/dist/chunks/cli-0.6.7-pacmjx4t.mjs +0 -6
- package/dist/chunks/cli-0.6.7-pd4qacrw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-pt6c37tf.mjs +0 -2
- package/dist/chunks/cli-0.6.7-pz0hvq11.mjs +0 -2
- package/dist/chunks/cli-0.6.7-q2qk5c16.mjs +0 -2
- package/dist/chunks/cli-0.6.7-q7rhxc3k.mjs +0 -2
- package/dist/chunks/cli-0.6.7-qcc8znjg.mjs +0 -2
- package/dist/chunks/cli-0.6.7-qkzax44g.mjs +0 -2
- package/dist/chunks/cli-0.6.7-qnpad07x.mjs +0 -15
- package/dist/chunks/cli-0.6.7-qwv7z40j.mjs +0 -2
- package/dist/chunks/cli-0.6.7-qz4f20t8.mjs +0 -9
- package/dist/chunks/cli-0.6.7-r2phypw4.mjs +0 -2
- package/dist/chunks/cli-0.6.7-r4494gs0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-r4njgjve.mjs +0 -2
- package/dist/chunks/cli-0.6.7-r57fq6gw.mjs +0 -4
- package/dist/chunks/cli-0.6.7-rcx8mb9z.mjs +0 -2
- package/dist/chunks/cli-0.6.7-rgfh878z.mjs +0 -2
- package/dist/chunks/cli-0.6.7-rp0ejp3a.mjs +0 -2
- package/dist/chunks/cli-0.6.7-rq1v6xnn.mjs +0 -2
- package/dist/chunks/cli-0.6.7-rqfxfpg7.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sdxzxe1y.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sea2kbnt.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sfc53wbe.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sfvrze2k.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sh9fbs9v.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sw46gwfw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sx1q6ybw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-t4vdc40t.mjs +0 -2
- package/dist/chunks/cli-0.6.7-tb1cvasf.mjs +0 -5
- package/dist/chunks/cli-0.6.7-tg6w7ex7.mjs +0 -8
- package/dist/chunks/cli-0.6.7-tnrt8ht0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-tqfm4g33.mjs +0 -2
- package/dist/chunks/cli-0.6.7-tthw17vc.mjs +0 -6
- package/dist/chunks/cli-0.6.7-v1emd8z7.mjs +0 -4
- package/dist/chunks/cli-0.6.7-v65b4qmr.mjs +0 -2
- package/dist/chunks/cli-0.6.7-v82zs0dw.mjs +0 -6
- package/dist/chunks/cli-0.6.7-vd2t62t5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-vdks0afp.mjs +0 -3
- package/dist/chunks/cli-0.6.7-vs95ynh5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-vy64g49j.mjs +0 -2
- package/dist/chunks/cli-0.6.7-w2amr6nt.mjs +0 -2
- package/dist/chunks/cli-0.6.7-wbqq7cmg.mjs +0 -15
- package/dist/chunks/cli-0.6.7-wjg0q7hk.mjs +0 -2
- package/dist/chunks/cli-0.6.7-wyped9p6.mjs +0 -2
- package/dist/chunks/cli-0.6.7-xjbwt2hg.mjs +0 -2
- package/dist/chunks/cli-0.6.7-xzf3g8pg.mjs +0 -3
- package/dist/chunks/cli-0.6.7-y6pqw2vj.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ybk07j40.mjs +0 -2
- package/dist/chunks/cli-0.6.7-z4dw5tyz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-z7jett9s.mjs +0 -2
- package/dist/chunks/cli-0.6.7-zwd8kz5t.mjs +0 -24
- package/dist/chunks/client-0.6.7-445v9987.mjs +0 -1
- package/dist/chunks/color-0.6.7-856m55kg.mjs +0 -1
- package/dist/chunks/compact-0.6.7-xkjxsjky.mjs +0 -3
- package/dist/chunks/config-0.6.7-8cp9wg00.mjs +0 -1
- package/dist/chunks/config-0.6.7-h357gwre.mjs +0 -1
- package/dist/chunks/constants-0.6.7-jz2rzgah.mjs +0 -1
- package/dist/chunks/context-0.6.7-52mqtjt5.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.7-0vn31bty.mjs +0 -1
- package/dist/chunks/conversation-0.6.7-6rb0jxt5.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.7-6szcxcqp.mjs +0 -1
- package/dist/chunks/copy-0.6.7-kt6m78c9.mjs +0 -9
- package/dist/chunks/cost-0.6.7-mcmacwts.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.7-2bxjzphp.mjs +0 -1
- package/dist/chunks/createSession-0.6.7-h53s0r94.mjs +0 -1
- package/dist/chunks/debug-0.6.7-40mxhr43.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.7-swjqrq2d.mjs +0 -1367
- package/dist/chunks/desktop-0.6.7-m8hceses.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.7-37snr69q.mjs +0 -1
- package/dist/chunks/detection-0.6.7-796dd7my.mjs +0 -1
- package/dist/chunks/diff-0.6.7-jvhy5bfv.mjs +0 -1
- package/dist/chunks/doctor-0.6.7-69xecv72.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.7-86wn5fas.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.7-j5kqcad7.mjs +0 -1
- package/dist/chunks/effort-0.6.7-pzsgdygp.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.6.7-8ev8zrnr.mjs +0 -1
- package/dist/chunks/envUtils-0.6.7-t2mfcf3k.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.7-qsjyn0qh.mjs +0 -1
- package/dist/chunks/environments-0.6.7-s37ppzq2.mjs +0 -1
- package/dist/chunks/errors-0.6.7-ewn9ej98.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.7-ha5gh86w.mjs +0 -1
- package/dist/chunks/exit-0.6.7-ke7w1zfb.mjs +0 -1
- package/dist/chunks/explorer-0.6.7-mwasq7vb.mjs +0 -1
- package/dist/chunks/export-0.6.7-nxr4yk69.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.7-4y4y16s7.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.7-39bqy32f.mjs +0 -1
- package/dist/chunks/fast-0.6.7-kq9cp91g.mjs +0 -1
- package/dist/chunks/feedback-0.6.7-negh6v8m.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.7-tx7c7x8t.mjs +0 -1
- package/dist/chunks/git-0.6.7-2vwe8z3v.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.7-33qbe5yn.mjs +0 -1
- package/dist/chunks/goal-0.6.7-h6jz54qb.mjs +0 -4
- package/dist/chunks/grove-0.6.7-54ezkxs0.mjs +0 -1
- package/dist/chunks/growthbook-0.6.7-dtryf1q9.mjs +0 -1
- package/dist/chunks/headless-0.6.7-35yksmzv.mjs +0 -2
- package/dist/chunks/heapdump-0.6.7-k6xhk8rq.mjs +0 -6
- package/dist/chunks/help-0.6.7-xe78z9ep.mjs +0 -1
- package/dist/chunks/hookChains-0.6.7-cr0c8y5v.mjs +0 -3
- package/dist/chunks/hooks-0.6.7-3dzcec4j.mjs +0 -79
- package/dist/chunks/hooks-0.6.7-8d0h5mh8.mjs +0 -1
- package/dist/chunks/ide-0.6.7-5yx4zawt.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.7-58mhvg4s.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.6.7-9afh5jdh.mjs +0 -1
- package/dist/chunks/index-0.6.7-0p9m5cfc.mjs +0 -1
- package/dist/chunks/index-0.6.7-1ngjds1q.mjs +0 -30
- package/dist/chunks/index-0.6.7-269433vt.mjs +0 -2
- package/dist/chunks/index-0.6.7-299hd0kq.mjs +0 -1
- package/dist/chunks/index-0.6.7-2p1qzv7b.mjs +0 -9
- package/dist/chunks/index-0.6.7-7fw7s1w6.mjs +0 -1
- package/dist/chunks/index-0.6.7-938hete3.mjs +0 -1
- package/dist/chunks/index-0.6.7-9qxbggwj.mjs +0 -1
- package/dist/chunks/index-0.6.7-adw6e99t.mjs +0 -1
- package/dist/chunks/index-0.6.7-da5n32m6.mjs +0 -1
- package/dist/chunks/index-0.6.7-ebdnq1xs.mjs +0 -1
- package/dist/chunks/index-0.6.7-fewh0t9g.mjs +0 -1
- package/dist/chunks/index-0.6.7-jyep217e.mjs +0 -1
- package/dist/chunks/index-0.6.7-mmh99nq4.mjs +0 -1
- package/dist/chunks/index-0.6.7-p9vm0q7s.mjs +0 -2
- package/dist/chunks/index-0.6.7-pspakten.mjs +0 -1
- package/dist/chunks/index-0.6.7-qy50jasm.mjs +0 -5
- package/dist/chunks/index-0.6.7-r7sewgza.mjs +0 -1
- package/dist/chunks/index-0.6.7-tet87444.mjs +0 -1
- package/dist/chunks/index-0.6.7-vwv8f9ey.mjs +0 -1
- package/dist/chunks/index-0.6.7-xhxjqdft.mjs +0 -1
- package/dist/chunks/index-0.6.7-yc13tnk8.mjs +0 -1
- package/dist/chunks/index-0.6.7-zm9ed9xd.mjs +0 -9
- package/dist/chunks/init-0.6.7-9mxee8s9.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.7-2v1w7wq6.mjs +0 -1
- package/dist/chunks/ink-0.6.7-24swqw8m.mjs +0 -1
- package/dist/chunks/insights-0.6.7-wf368crb.mjs +0 -870
- package/dist/chunks/install-0.6.7-a9dezzjy.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.7-wr0r1fb5.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.7-ftc8w786.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.7-y1xv08zm.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.7-kg2yqwhs.mjs +0 -1
- package/dist/chunks/keybindings-0.6.7-xa10wdn0.mjs +0 -2
- package/dist/chunks/knowledge-0.6.7-p8ys3wf6.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.7-7ss3jynk.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.7-g16npyc7.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.7-d1p7v7wd.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.7-qy17rc72.mjs +0 -1
- package/dist/chunks/log-0.6.7-a9pyn4zr.mjs +0 -1
- package/dist/chunks/main-0.6.7-epme77xk.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.7-1h0tpwq1.mjs +0 -1
- package/dist/chunks/mcp-0.6.7-1pq6d47c.mjs +0 -17
- package/dist/chunks/mcp-0.6.7-krdmdzbj.mjs +0 -4
- package/dist/chunks/mcp-0.6.7-sh0wnst3.mjs +0 -1
- package/dist/chunks/mcpb-0.6.7-wethrsb6.mjs +0 -1
- package/dist/chunks/memory-0.6.7-wwbx8j9h.mjs +0 -3
- package/dist/chunks/model-0.6.7-bnf162h5.mjs +0 -2
- package/dist/chunks/model-0.6.7-ta2zt9yw.mjs +0 -1
- package/dist/chunks/node-0.6.7-9wgtbtkn.mjs +0 -12
- package/dist/chunks/oauth-0.6.7-ecry38es.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.7-6haddefk.mjs +0 -14
- package/dist/chunks/output-style-0.6.7-heg5p49f.mjs +0 -1
- package/dist/chunks/package-FMOR3ELU-0.6.7-g0c2811q.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.7-rmje9xpc.mjs +0 -1
- package/dist/chunks/parser-0.6.7-dwxttek7.mjs +0 -1
- package/dist/chunks/passes-0.6.7-6md5xpaz.mjs +0 -1
- package/dist/chunks/permissions-0.6.7-25nzz9y0.mjs +0 -3
- package/dist/chunks/permissions-0.6.7-bm6zx02e.mjs +0 -1
- package/dist/chunks/plan-0.6.7-9pxaje2z.mjs +0 -1
- package/dist/chunks/plist-0.6.7-vcn459ke.mjs +0 -1
- package/dist/chunks/plugin-0.6.7-a5erdt59.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.7-4v446m9d.mjs +0 -1
- package/dist/chunks/plugins-0.6.7-g2r5qgvr.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.7-m3b66d2g.mjs +0 -2
- package/dist/chunks/print-0.6.7-qwsqdjpa.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.7-f7mdzrj9.mjs +0 -1
- package/dist/chunks/process-0.6.7-mwpj2ag5.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.7-zmq7s8bg.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.7-aeq77f0r.mjs +0 -9
- package/dist/chunks/prompt-0.6.7-bjk6r969.mjs +0 -1
- package/dist/chunks/prompt-0.6.7-cqwn4ebm.mjs +0 -1
- package/dist/chunks/prompts-0.6.7-sx1ddpn3.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.7-4htrgj10.mjs +0 -13
- package/dist/chunks/provider-0.6.7-cf13j8jp.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.7-s1vbbbf8.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.7-d5tsv9wn.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.7-xxb91evy.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.7-qmmn95tv.mjs +0 -34
- package/dist/chunks/registry-0.6.7-vnf153w2.mjs +0 -1
- package/dist/chunks/release-notes-0.6.7-140nchxs.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.7-2zjnq8rk.mjs +0 -2
- package/dist/chunks/remote-env-0.6.7-dmn903f9.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.7-vjavg15v.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.7-j6t9wnvq.mjs +0 -1
- package/dist/chunks/rename-0.6.7-9hky49hm.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.7-fg56fjhe.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.7-135zqkvm.mjs +0 -1
- package/dist/chunks/resume-0.6.7-ag66nvjc.mjs +0 -2
- package/dist/chunks/rewind-0.6.7-pbgnt37r.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.7-dhbhchhw.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.7-wav9ed7k.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.7-xvjvjn90.mjs +0 -1
- package/dist/chunks/session-0.6.7-dv8ptwrb.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.7-k5zpyw84.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.7-rrcrsek8.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.7-fx0mbvg6.mjs +0 -1
- package/dist/chunks/settings-0.6.7-nwqqfy0f.mjs +0 -1
- package/dist/chunks/setup-0.6.7-1w2gtqvq.mjs +0 -5
- package/dist/chunks/sinks-0.6.7-rh7wgd1s.mjs +0 -1
- package/dist/chunks/skills-0.6.7-p7nm0dqx.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.7-0sgmtd5m.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.7-pe8vnbmy.mjs +0 -1
- package/dist/chunks/state-0.6.7-7zgmm7bx.mjs +0 -1
- package/dist/chunks/stats-0.6.7-qwjhmd0m.mjs +0 -6
- package/dist/chunks/status-0.6.7-4dybregh.mjs +0 -1
- package/dist/chunks/stickers-0.6.7-me3v3dmh.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.7-qnce4qzp.mjs +0 -1
- package/dist/chunks/tasks-0.6.7-sbx5a37t.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.7-pwbpqycb.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.7-qef93h04.mjs +0 -1
- package/dist/chunks/teleport-0.6.7-rtj4ts5d.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.7-tka4bjp2.mjs +0 -1
- package/dist/chunks/theme-0.6.7-x8qqpmm6.mjs +0 -1
- package/dist/chunks/thinkback-0.6.7-w6wj1na3.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.7-m433zrvk.mjs +0 -1
- package/dist/chunks/toolPool-0.6.7-5x90r1f5.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.7-ev30cxmd.mjs +0 -1
- package/dist/chunks/tools-0.6.7-w23c68c1.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.7-yp482r12.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.7-6qtfbqqk.mjs +0 -69
- package/dist/chunks/types-0.6.7-q8m8v654.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.6.7-8azkbc2y.mjs +0 -4
- package/dist/chunks/update-0.6.7-gwfz54bh.mjs +0 -86
- package/dist/chunks/upgrade-0.6.7-3mraezx0.mjs +0 -1
- package/dist/chunks/upload-0.6.7-xxfcdyx1.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.6.7-5w2ftmfc.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.7-3jfvm422.mjs +0 -1
- package/dist/chunks/usage-0.6.7-pkmqvqgq.mjs +0 -1
- package/dist/chunks/util-0.6.7-3z6r92wt.mjs +0 -1
- package/dist/chunks/utils-0.6.7-sdkkjj30.mjs +0 -1
- package/dist/chunks/vim-0.6.7-3rsss4ez.mjs +0 -1
- package/dist/chunks/watcher-0.6.7-kh7rkhx8.mjs +0 -1
- package/dist/chunks/wiki-0.6.7-jrn54nk5.mjs +0 -132
- package/dist/chunks/worktree-0.6.7-214cy52d.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.7-3z7e768n.mjs +0 -1
- package/dist/chunks/wrapper-0.6.7-h3kjv9nf.mjs +0 -7
- /package/dist/chunks/{cli-0.6.7-790sqdfy.mjs → cli-0.6.8-0fra5z78.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-nzdwcqxv.mjs → cli-0.6.8-0s2z302k.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-z26mhn5a.mjs → cli-0.6.8-259kprym.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-32sp32ph.mjs → cli-0.6.8-7cychtp8.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-7ggj90ge.mjs → cli-0.6.8-9bt8c69s.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-zwf5adf9.mjs → cli-0.6.8-aasxytdk.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-pgcg3w1c.mjs → cli-0.6.8-akzaeas1.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-04v8p8ay.mjs → cli-0.6.8-fe86xfp4.mjs} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{I6 as E2,K6 as G8}from"./cli-0.6.8-cbvnsxaa.mjs";import{M6 as h,N6 as pZ}from"./cli-0.6.8-6pf3s7fk.mjs";import{Y6 as c5,_6 as H8}from"./cli-0.6.8-pmpv80vx.mjs";import{C8 as D5,Daa as a1,E8 as cZ,Fba as d4,Fda as p5,Hba as dZ,Hca as i,Hda as V4,Iba as S1,Jba as A8,Jca as r1,Kca as WZ,Maa as VZ,Nda as m5,Pca as e1,Qda as K,R_ as M1,S7 as v4,S_ as C8,T7 as s,Tda as $0,U7 as L2,V7 as O0,W7 as I4,X7 as l2,b8 as H0,bda as q4,c8 as z1,d$ as s1,dca as d,dda as Z4,dea as D,gda as b2,hba as E,hda as nZ,ica as u5,jba as B2,jca as C,lea as s0,m8 as K5,mba as Q0,mca as L,nba as y,p8 as mZ,sca as o1,u$ as qZ,wba as j0}from"./cli-0.6.8-vpaw67v2.mjs";import{lfa as C0,nfa as P4,xfa as k1}from"./cli-0.6.8-hj3j54vb.mjs";import{Cga as S5,Dga as c4,Ega as B0,Gga as W8,Hga as z8,Jga as O,Kga as I0}from"./cli-0.6.8-5gstf2n7.mjs";import{Lga as x,Oga as j2}from"./cli-0.6.8-dxtyt1wg.mjs";import{Aha as t2,Eha as M8,Oha as z,Qha as d0,Rha as Z0,sha as L5,wha as uZ}from"./cli-0.6.8-4avmxq80.mjs";import{gia as p,iia as Y1,nia as q1}from"./cli-0.6.8-cv73s4x5.mjs";import{Aia as m4,Dia as u,qia as F5,tia as F,via as g,xia as P2}from"./cli-0.6.8-4jh3r7br.mjs";import{Bla as S0,Cla as J2,Hma as x2,Wla as f,bma as _1,dka as Y0,eka as H1,ela as u1,eoa as J0,sla as l1,sma as $1,tma as J1,uma as Q1,vma as X1,wla as U4}from"./cli-0.6.8-dwwx58n6.mjs";import{Doa as v,Eoa as l0}from"./cli-0.6.8-8ezmkwsw.mjs";import{$oa as P,rpa as q2}from"./cli-0.6.8-yvt0y45m.mjs";import{Ipa as M0,Kpa as m2,Lpa as H,Mpa as e}from"./cli-0.6.8-259kprym.mjs";function v5(Z){let $=[],J=!1;async function Q(){if(J)return;if($.length===0)return;J=!0;while($.length>0){let{args:X,resolve:Y,reject:q,context:W}=$.shift();try{let G=await Z.apply(W,X);Y(G)}catch(G){q(G)}}if(J=!1,$.length>0)Q()}return function(...X){return new Promise((Y,q)=>{$.push({args:X,resolve:Y,reject:q,context:this}),Q()})}}var I5=()=>{};function T5(Z,$){return Z.find((J)=>J.includes($))??null}async function C5(){let{BedrockClient:Z}=await import("@aws-sdk/client-bedrock"),$=P2(),J=F(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH),Q={region:$,...process.env.ANTHROPIC_BEDROCK_BASE_URL&&{endpoint:process.env.ANTHROPIC_BEDROCK_BASE_URL},...await E2(),...J&&{requestHandler:new(await import("./index-0.6.8-azcjsyp8.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-0.6.8-1w8hv7a8.mjs")).NoAuthSigner}],httpAuthSchemeProvider:()=>[{schemeId:"smithy.api#noAuth"}]}};if(!J&&!process.env.AWS_BEARER_TOKEN_BEDROCK){let X=await z0();if(X)Q.credentials={accessKeyId:X.accessKeyId,secretAccessKey:X.secretAccessKey,sessionToken:X.sessionToken}}return new Z(Q)}async function g$(){let{BedrockRuntimeClient:Z}=await import("@aws-sdk/client-bedrock-runtime"),$=P2(),J=F(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH),Q={region:$,...process.env.ANTHROPIC_BEDROCK_BASE_URL&&{endpoint:process.env.ANTHROPIC_BEDROCK_BASE_URL},...await E2(),...J&&{requestHandler:new(await import("./index-0.6.8-azcjsyp8.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-0.6.8-1w8hv7a8.mjs")).NoAuthSigner}],httpAuthSchemeProvider:()=>[{schemeId:"smithy.api#noAuth"}]}};if(!J&&!process.env.AWS_BEARER_TOKEN_BEDROCK){let X=await z0();if(X)Q.credentials={accessKeyId:X.accessKeyId,secretAccessKey:X.secretAccessKey,sessionToken:X.sessionToken}}return new Z(Q)}function x8(Z){return Z.startsWith("anthropic.")}function B8(Z){if(!Z.startsWith("arn:"))return Z;let $=Z.lastIndexOf("/");if($===-1)return Z;return Z.substring($+1)}function R8(Z){let $=B8(Z);for(let J of j8)if($.startsWith(`${J}.anthropic.`))return J;return}function p$(Z,$){let J=R8(Z);if(J)return Z.replace(`${J}.`,`${$}.`);if(x8(Z))return`${$}.${Z}`;return Z}var y5,u$,j8;var A5=H(()=>{l0();n();u();s0();G8();y5=v(async function(){let[Z,{ListInferenceProfilesCommand:$}]=await Promise.all([C5(),import("@aws-sdk/client-bedrock")]),J=[],Q;try{do{let X=new $({...Q&&{nextToken:Q},typeEquals:"SYSTEM_DEFINED"}),Y=await Z.send(X);if(Y.inferenceProfileSummaries)J.push(...Y.inferenceProfileSummaries);Q=Y.nextToken}while(Q);return J.filter((X)=>X.inferenceProfileId?.includes("anthropic")).map((X)=>X.inferenceProfileId).filter(Boolean)}catch(X){throw D(X),X}});u$=v(async function(Z){try{let[$,{GetInferenceProfileCommand:J}]=await Promise.all([C5(),import("@aws-sdk/client-bedrock")]),Q=new J({inferenceProfileIdentifier:Z}),X=await $.send(Q);if(!X.models||X.models.length===0)return null;let Y=X.models[0];if(!Y?.modelArn)return null;let q=Y.modelArn.lastIndexOf("/");return q>=0?Y.modelArn.substring(q+1):Y.modelArn}catch($){return D($),null}});j8=["us","eu","apac","global"]});var _2,k2,M2,S2,v2,I2,y2,T2,C2,a0,o0,r0,A2,h2,G0,c$,h5;var f2=H(()=>{_2={firstParty:"claude-3-7-sonnet-20250219",bedrock:"us.anthropic.claude-3-7-sonnet-20250219-v1:0",vertex:"claude-3-7-sonnet@20250219",foundry:"claude-3-7-sonnet",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},k2={firstParty:"claude-3-5-sonnet-20241022",bedrock:"anthropic.claude-3-5-sonnet-20241022-v2:0",vertex:"claude-3-5-sonnet-v2@20241022",foundry:"claude-3-5-sonnet",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},M2={firstParty:"claude-3-5-haiku-20241022",bedrock:"us.anthropic.claude-3-5-haiku-20241022-v1:0",vertex:"claude-3-5-haiku@20241022",foundry:"claude-3-5-haiku",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash-lite",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},S2={firstParty:"claude-haiku-4-5-20251001",bedrock:"us.anthropic.claude-haiku-4-5-20251001-v1:0",vertex:"claude-haiku-4-5@20251001",foundry:"claude-haiku-4-5",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash-lite",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},v2={firstParty:"claude-sonnet-4-20250514",bedrock:"us.anthropic.claude-sonnet-4-20250514-v1:0",vertex:"claude-sonnet-4@20250514",foundry:"claude-sonnet-4",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},I2={firstParty:"claude-sonnet-4-5-20250929",bedrock:"us.anthropic.claude-sonnet-4-5-20250929-v1:0",vertex:"claude-sonnet-4-5@20250929",foundry:"claude-sonnet-4-5",openai:"gpt-4o",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},y2={firstParty:"claude-opus-4-20250514",bedrock:"us.anthropic.claude-opus-4-20250514-v1:0",vertex:"claude-opus-4@20250514",foundry:"claude-opus-4",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},T2={firstParty:"claude-opus-4-1-20250805",bedrock:"us.anthropic.claude-opus-4-1-20250805-v1:0",vertex:"claude-opus-4-1@20250805",foundry:"claude-opus-4-1",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},C2={firstParty:"claude-opus-4-5-20251101",bedrock:"us.anthropic.claude-opus-4-5-20251101-v1:0",vertex:"claude-opus-4-5@20251101",foundry:"claude-opus-4-5",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},a0={firstParty:"claude-opus-4-6",bedrock:"us.anthropic.claude-opus-4-6-v1",vertex:"claude-opus-4-6",foundry:"claude-opus-4-6",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},o0={firstParty:"claude-opus-4-7",bedrock:"us.anthropic.claude-opus-4-7-v1",vertex:"claude-opus-4-7",foundry:"claude-opus-4-7",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},r0={firstParty:"claude-opus-4-8",bedrock:"anthropic.claude-opus-4-8",vertex:"claude-opus-4-8",foundry:"claude-opus-4-8",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},A2={firstParty:"claude-fable-5",bedrock:"anthropic.claude-fable-5",vertex:"claude-fable-5",foundry:"claude-fable-5",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},h2={firstParty:"claude-sonnet-4-6",bedrock:"us.anthropic.claude-sonnet-4-6",vertex:"claude-sonnet-4-6",foundry:"claude-sonnet-4-6",openai:"gpt-4o",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5"},G0={haiku35:M2,haiku45:S2,sonnet35:k2,sonnet37:_2,sonnet40:v2,sonnet45:I2,sonnet46:h2,opus40:y2,opus41:T2,opus45:C2,opus46:a0,opus47:o0,opus48:r0,fable5:A2},c$=Object.values(G0).map((Z)=>Z.firstParty),h5=Object.fromEntries(Object.entries(G0).map(([Z,$])=>[$.firstParty,Z]))});function f5(){return Object.values(e0)}var e0,g2;var u2=H(()=>{e0={"gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",family:"gpt",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",family:"gpt",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5.2-codex":{id:"gpt-5.2-codex",name:"GPT-5.2-Codex",family:"gpt-codex",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5-mini":{id:"gpt-5-mini",name:"GPT-5 mini",family:"gpt-mini",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:264000,output:64000}},"gpt-4o":{id:"gpt-4o",name:"GPT-4o",family:"gpt",attachment:!0,reasoning:!1,tool_call:!0,temperature:!0,knowledge:"2023-10",release_date:"2024-05-01",last_updated:"2024-08-06",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:128000,output:16384}},"gpt-4.1":{id:"gpt-4.1",name:"GPT-4.1",family:"gpt",attachment:!1,reasoning:!1,tool_call:!0,temperature:!0,knowledge:"2024-06",release_date:"2024-06-01",last_updated:"2024-06-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:128000,output:16384}},"claude-opus-4.7":{id:"claude-opus-4.7",name:"Claude Opus 4.7",family:"claude-opus",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2026-01",release_date:"2026-04-01",last_updated:"2026-04-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:32000}},"claude-sonnet-4.6":{id:"claude-sonnet-4.6",name:"Claude Sonnet 4.6",family:"claude-sonnet",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:32000}},"claude-haiku-4.5":{id:"claude-haiku-4.5",name:"Claude Haiku 4.5",family:"claude-haiku",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:144000,output:32768}},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",family:"gemini-pro",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image","audio"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:64000}},"grok-code-fast-1":{id:"grok-code-fast-1",name:"Grok Code Fast 1",family:"grok",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:256000,output:64000}}},g2=Object.fromEntries(Object.values(e0).map((Z)=>[Z.id,Z.name]))});var _0={};m2(_0,{prefetchCopilotModelCatalog:()=>d2,normalizeBareCopilotModelId:()=>c2,getEffectiveCopilotModels:()=>N8,getCopilotDisplayName:()=>O8,getCatalogCopilotMaxOutputTokens:()=>P8,getCatalogCopilotContextWindow:()=>U8,getCachedCopilotCatalog:()=>D8,fetchCopilotModelCatalog:()=>n5,copilotModelSupportsAnthropicMessages:()=>b8,_setCopilotCatalogForTesting:()=>E8});function E0(){let Z=K();if(Z?.transport!=="github_copilot")return null;return(Z.baseUrl||"https://api.githubcopilot.com").replace(/\/+$/,"")}function d5(){if(!t)return!1;let Z=E0();return Z!==null&&x0===Z}function F8(){if(g5)return;g5=!0,u5(()=>{let Z=E0();if(Z&&x0!==Z)d2()})}function c2(Z){let $=Z.split("?",1)[0]??Z,J=$.lastIndexOf(":"),Q=(J===-1?$:$.slice(J+1)).trim(),X=Q.indexOf("/");return X===-1?Q:Q.slice(X+1)}function L8(Z){if(!Array.isArray(Z))return null;return Z.filter(($)=>typeof $==="string")}function K8(Z){let $=Z.id?.trim();if(!$)return null;let J=Z.capabilities?.type?.trim().toLowerCase();if(J&&J!=="chat")return null;if(Z.policy?.state==="disabled")return null;let Q=Z.capabilities?.limits??{},X=Z.capabilities?.supports??{},Y=X.vision===!0||Boolean(Q.vision),q=X.adaptive_thinking===!0||Array.isArray(X.reasoning_effort)||typeof X.max_thinking_budget==="number";return{model:{id:$,name:Z.name?.trim()||$,family:Z.capabilities?.family?.trim()||$,attachment:Y,reasoning:q,tool_call:X.tool_calls===!0,temperature:!0,knowledge:"",release_date:"",last_updated:"",modalities:{input:Y?["text","image"]:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:Q.max_context_window_tokens??128000,...typeof Q.max_prompt_tokens==="number"?{input:Q.max_prompt_tokens}:{},output:Q.max_output_tokens??16384}},supportedEndpoints:L8(Z.supported_endpoints),pickerEnabled:Z.model_picker_enabled!==!1}}async function n5(){let Z=K();if(Z?.transport!=="github_copilot")return null;if(p5(Z.baseUrl)!=="copilot")return null;let $=Z.extras?.githubToken??Z.apiKey;if(!$)return null;let J=(Z.baseUrl||"https://api.githubcopilot.com").replace(/\/+$/,""),Q=new AbortController,X=setTimeout(()=>Q.abort(),w8);try{let Y=await fetch(`${J}/models`,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${$}`,...c5},signal:Q.signal});if(!Y.ok)return null;let q=await Y.json();if(!Array.isArray(q?.data))return null;let W=new Set,G=[];for(let B of q.data){let R=K8(B);if(!R||W.has(R.model.id))continue;W.add(R.model.id),G.push(R)}return G.length>0?G:null}catch{return z("[CopilotCatalog] /models fetch failed — using hardcoded registry"),null}finally{clearTimeout(X)}}function d2(){F8();let Z=E0();if(!Z)return;if(t&&x0!==Z)t=null,x0=null;if(Z2){if(p2===Z)return;Z2.finally(()=>d2());return}p2=Z,Z2=n5().then(($)=>{if($&&E0()===Z)t=$,x0=Z}).finally(()=>{Z2=null,p2=null})}function D8(){return t}function N8(){if(d5()){let Z=t?.filter(($)=>$.pickerEnabled).map(($)=>$.model);if(Z&&Z.length>0)return Z}return f5()}function $2(Z){if(!d5())return;let $=c2(Z);return t.find((J)=>J.model.id===$)}function O8(Z){let $=c2(Z);return $2($)?.model.name??e0[$]?.name}function b8(Z){let $=$2(Z);if(!$||$.supportedEndpoints===null)return null;return $.supportedEndpoints.some((J)=>J.includes("/v1/messages"))}function U8(Z){return $2(Z)?.model.limit.context}function P8(Z){return $2(Z)?.model.limit.output}function E8(Z){t=Z,x0=Z?E0():null}var w8=5000,t=null,x0=null,Z2=null,p2=null,g5=!1;var k0=H(()=>{$0();H8();m5();i();Z0();u2()});function V(){let Z=K();if(!Z)return"firstParty";switch(Z.transport){case"anthropic":return"firstParty";case"gemini":return"gemini";case"mistral":return"mistral";case"github_copilot":return"github";case"codex_responses":return"codex";case"bedrock":return"bedrock";case"vertex":return"vertex";case"foundry":return"foundry";case"openai_compat":{let $=Z.baseUrl?.toLowerCase()??"";if($.includes("nvidia"))return"nvidia-nim";if($.includes("minimax"))return"minimax";return"openai"}default:return"firstParty"}}function e$(){return V()==="firstParty"}function ZJ(Z){let $=K();if($?.transport!=="github_copilot")return!1;let J=Z?.trim()||$.model?.trim()||"";if(!J.toLowerCase().includes("claude-"))return!1;try{let{copilotModelSupportsAnthropicMessages:Q}=(k0(),M0(_0)),X=Q(J);if(X!==null)return X}catch{}return!0}function $J(){return V()}function JJ(){let Z=K();if(!Z)return!0;if(Z.transport!=="anthropic")return!1;let $=Z.baseUrl;if(!$)return!0;try{let J=new URL($).host;return["api.anthropic.com"].includes(J)}catch{return!1}}var l=H(()=>{$0()});function Q2(Z){let $=Z==="codex"||Z==="github"?"openai":Z,J={};for(let Q of i5)J[Q]=G0[Q][$];return J}async function _8(){let Z=Q2("bedrock"),$;try{$=await y5()}catch(Q){return D(Q),Z}if(!$?.length)return Z;let J={};for(let Q of i5){let X=G0[Q].firstParty;J[Q]=T5($,X)||Z[Q]}return J}function t5(Z){let $=Q0().modelOverrides;if(!$)return Z;let J={...Z};for(let[Q,X]of Object.entries($)){let Y=h5[Q];if(Y&&X)J[Y]=X}return J}function X2(Z){let $;try{$=Q0().modelOverrides}catch{return Z}if(!$)return Z;for(let[J,Q]of Object.entries($))if(Q===Z)return J;return Z}function k8(){if(S0()!==null)return;if(V()!=="bedrock"){J2(Q2(V()));return}l5()}function j(){let Z=S0();if(Z===null)return k8(),t5(Q2(V()));return t5(Z)}async function xJ(){if(S0()!==null)return;if(V()!=="bedrock"){J2(Q2(V()));return}await l5()}var i5,l5;var Y2=H(()=>{J0();s0();I5();j0();A5();f2();l();i5=Object.keys(G0);l5=v5(async()=>{if(S0()!==null)return;try{let Z=await _8();J2(Z)}catch(Z){D(Z)}})});function wJ(){if(F(process.env.DISABLE_COST_WARNINGS))return!1;if(U())return!1;let $=v0(),J=X0()!==null;if(!$.hasToken&&!J)return!1;let Q=L(),X=Q.oauthAccount?.organizationRole,Y=Q.oauthAccount?.workspaceRole;if(!X||!Y)return!1;return["admin","billing"].includes(X)||["workspace_admin","workspace_billing"].includes(Y)}function FJ(){if(s5!==null)return s5;if(!U())return!1;let Z=M();if(Z==="max"||Z==="pro")return!0;let J=L().oauthAccount?.organizationRole;return!!J&&["admin","billing","owner","primary_owner"].includes(J)}var s5=null;var a5=H(()=>{n();i();u()});function NJ(Z){return Z}function OJ(){return!1}function o5(){return null}function r5(){return!1}var e5=H(()=>{a5()});async function MJ(){let $=L().oauthAccount?.accountUuid,J=X0();if(!$||!J)return;let Q=`${O().BASE_API_URL}/api/claude_cli_profile`;try{return(await P.get(Q,{headers:{"x-api-key":J,"anthropic-beta":B0},params:{account_uuid:$},timeout:1e4})).data}catch(X){D(X)}}async function R0(Z){let $=`${O().BASE_API_URL}/api/oauth/profile`;try{return(await P.get($,{headers:{Authorization:`Bearer ${Z}`,"Content-Type":"application/json"},timeout:1e4})).data}catch(J){D(J)}}var n2=H(()=>{q2();I0();n();i();s0()});import{mkdirSync as S8,writeFileSync as v8}from"fs";function T8(Z,$,J){if(!F(process.env.CLAUDE_CODE_REMOTE))return;try{S8(V2,{recursive:!0,mode:448}),v8(Z,$,{encoding:"utf8",mode:384}),z(`Persisted ${J} to ${Z} for subprocess access`)}catch(Q){z(`Failed to persist ${J} to disk (non-fatal): ${p(Q)}`,{level:"error"})}}function Z1(Z,$){try{let Q=t2().readFileSync(Z,{encoding:"utf8"}).trim();if(!Q)return null;return z(`Read ${$} from well-known file ${Z}`),Q}catch(J){if(!Y1(J))z(`Failed to read ${$} from ${Z}: ${p(J)}`,{level:"debug"});return null}}function V1({envVar:Z,wellKnownPath:$,label:J,getCached:Q,setCached:X}){let Y=Q();if(Y!==void 0)return Y;let q=process.env[Z];if(!q){let G=Z1($,J);return X(G),G}let W=parseInt(q,10);if(Number.isNaN(W))return z(`${Z} must be a valid file descriptor number, got: ${q}`,{level:"error"}),X(null),null;try{let G=t2(),B=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${W}`:`/proc/self/fd/${W}`,R=G.readFileSync(B,{encoding:"utf8"}).trim();if(!R)return z(`File descriptor contained empty ${J}`,{level:"error"}),X(null),null;return z(`Successfully read ${J} from file descriptor ${W}`),X(R),T8($,R,J),R}catch(G){z(`Failed to read ${J} from file descriptor ${W}: ${p(G)}`,{level:"error"});let B=Z1($,J);return X(B),B}}function W2(){return V1({envVar:"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",wellKnownPath:I8,label:"OAuth token",getCached:$1,setCached:J1})}function i2(){return V1({envVar:"CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR",wellKnownPath:y8,label:"API key",getCached:Q1,setCached:X1})}var V2="/home/claude/.claude/remote",I8,y8,hJ;var W1=H(()=>{J0();Z0();u();q1();M8();I8=`${V2}/.oauth_token`,y8=`${V2}/.api_key`,hJ=`${V2}/.session_ingress_token`});async function G1(){if(process.platform==="darwin"){let Z=s();if((await H0(`security delete-generic-password -a $USER -s "${Z}"`,{shell:!0,reject:!1})).exitCode!==0)throw Error("Failed to delete keychain entry")}}function z2(Z){return Z.slice(-20)}var x1=H(()=>{z1();l2()});function cJ(Z){return Z?.name==="CredentialsProviderError"}function j1(Z){if(!Z||typeof Z!=="object")return!1;let $=Z;if(!$.Credentials||typeof $.Credentials!=="object")return!1;let J=$.Credentials;return typeof J.AccessKeyId==="string"&&typeof J.SecretAccessKey==="string"&&typeof J.SessionToken==="string"&&J.AccessKeyId.length>0&&J.SecretAccessKey.length>0&&J.SessionToken.length>0}async function s2(){let{STSClient:Z,GetCallerIdentityCommand:$}=await import("@aws-sdk/client-sts");await new Z().send(new $({}))}async function B1(){try{z("Clearing AWS credential provider cache");let{fromIni:Z}=await import("@aws-sdk/credential-providers");await Z({ignoreCache:!0})(),z("AWS credential provider cache refreshed")}catch(Z){z("Failed to clear AWS credential cache (this is expected if no credentials are configured)")}}var R1=H(()=>{Z0()});class T{static instance=null;status={isAuthenticating:!1,output:[]};changed=Y0();static getInstance(){if(!T.instance)T.instance=new T;return T.instance}getStatus(){return{...this.status,output:[...this.status.output]}}startAuthentication(){this.status={isAuthenticating:!0,output:[]},this.changed.emit(this.getStatus())}addOutput(Z){this.status.output.push(Z),this.changed.emit(this.getStatus())}setError(Z){this.status.error=Z,this.changed.emit(this.getStatus())}endAuthentication(Z){if(Z)this.status={isAuthenticating:!1,output:[]};else this.status.isAuthenticating=!1;this.changed.emit(this.getStatus())}subscribe=this.changed.subscribe;static reset(){if(T.instance)T.instance.changed.clear(),T.instance=null}}var w1=H(()=>{H1()});var G2="claude-code-20250219",F1="interleaved-thinking-2025-05-14",y0="context-1m-2025-08-07",L1="context-management-2025-06-27",K1="structured-outputs-2025-12-15",a2="web-search-2025-03-05",D1="advanced-tool-use-2025-11-20",N1="tool-search-tool-2025-10-19",iJ="effort-2025-11-24",lJ="task-budgets-2026-03-13",O1="prompt-caching-scope-2026-01-05",sJ="extended-cache-ttl-2025-04-11",aJ="fast-mode-2026-02-01",b1="redact-thinking-2026-02-12",U1="thinking-token-count-2026-05-13",P1="token-efficient-tools-2026-03-28",oJ="afk-mode-2026-01-31",rJ="advisor-tool-2026-03-01",o2,eJ;var r2=H(()=>{o2=new Set(["interleaved-thinking-2025-05-14","context-1m-2025-08-07","tool-search-tool-2025-10-19"]),eJ=new Set(["claude-code-20250219","interleaved-thinking-2025-05-14","context-management-2025-06-27"])});function A(){if(V()!=="firstParty")return!1;return!F(process.env.CLAUDE_CODE_DISABLE_FAST_MODE)}function v1(){if(!A())return!1;return f8()===null}function h8(Z,$){switch(Z){case"free":return $==="oauth"?"Fast mode requires a paid subscription":"Fast mode unavailable during evaluation. Please purchase credits.";case"preference":return"Fast mode has been disabled by your organization";case"extra_usage_disabled":return"Fast mode requires extra usage billing · /extra-usage to enable";case"network_error":return"Fast mode unavailable due to network connectivity issues";case"unknown":return"Fast mode is currently unavailable"}}function f8(){if(V()!=="firstParty")return"Fast mode is not available on third-party providers";if(!A())return"Fast mode is not available";let Z=C0("tengu_penguins_off",null);if(Z!==null)return z(`Fast mode unavailable: ${Z}`),Z;if(!M1()&&C0("tengu_marble_sandcastle",!1))return"Fast mode requires the native binary · Install from: https://claude.com/product/claude-code";if(f()&&x2()&&!_1()){if(!E("flagSettings")?.fastMode)return z("Fast mode unavailable: Fast mode is not available in the Agent SDK"),"Fast mode is not available in the Agent SDK"}if(k.status==="disabled"){if(k.reason==="network_error"||k.reason==="unknown"){if(F(process.env.CLAUDE_CODE_SKIP_FAST_MODE_NETWORK_ERRORS))return null}let $=w()!==null?"oauth":"api-key",J=h8(k.reason,$);return z(`Fast mode unavailable: ${J}`),J}return null}function F3(){return"opus"+(h0()?"[1m]":"")}function L3(Z){if(!A())return!1;if(!v1())return!1;if(!I1(Z))return!1;let $=Q0();if($.fastModePerSessionOptIn)return!1;return $.fastMode===!0}function I1(Z){if(!A())return!1;let $=Z??A0(),J=I($).toLowerCase();return J.includes("opus-4-7")||J.includes("opus-4-6")}function g8(){if(w0.status==="cooldown"&&Date.now()>=w0.resetAt){if(A()&&!e2)z("Fast mode cooldown expired, re-enabling fast mode"),e2=!0,T1.emit();w0={status:"active"}}return w0}function N3(Z,$){if(!A())return;w0={status:"cooldown",resetAt:Z,reason:$},e2=!1;let J=Z-Date.now();z(`Fast mode cooldown triggered (${$}), duration ${Math.round(J/1000)}s`),x("tengu_fast_mode_fallback_triggered",{cooldown_duration_ms:J,cooldown_reason:$}),y1.emit(Z,$)}function O3(){w0={status:"active"}}function b3(){if(k.status==="disabled")return;k={status:"disabled",reason:"preference"},B2("userSettings",{fastMode:void 0}),C((Z)=>({...Z,penguinModeOrgEnabled:!1})),Z5.emit(!1)}function u8(Z){switch(Z){case"out_of_credits":return"Fast mode disabled · extra usage credits exhausted";case"org_level_disabled":case"org_service_level_disabled":return"Fast mode disabled · extra usage disabled by your organization";case"org_level_disabled_until":return"Fast mode disabled · extra usage spending cap reached";case"member_level_disabled":return"Fast mode disabled · extra usage disabled for your account";case"seat_tier_level_disabled":case"seat_tier_zero_credit_limit":case"member_zero_credit_limit":return"Fast mode disabled · extra usage not available for your plan";case"overage_not_provisioned":case"no_limits_configured":return"Fast mode requires extra usage billing · /extra-usage to enable";default:return"Fast mode disabled · extra usage not available"}}function p8(Z){return Z==="org_level_disabled_until"||Z==="out_of_credits"}function P3(Z){let $=u8(Z);if(z(`Fast mode overage rejection: ${Z??"unknown"} — ${$}`),x("tengu_fast_mode_overage_rejected",{overage_disabled_reason:Z??"unknown"}),!p8(Z))B2("userSettings",{fastMode:void 0}),C((J)=>({...J,penguinModeOrgEnabled:!1}));C1.emit($)}function m8(){return g8().status==="cooldown"}function E3(Z,$){let J=A()&&v1()&&!!$&&I1(Z);if(J&&m8())return"cooldown";if(J)return"on";return"off"}async function c8(Z){let $=`${O().BASE_API_URL}/api/claude_code_penguin_mode`,J="accessToken"in Z?{Authorization:`Bearer ${Z.accessToken}`,"anthropic-beta":B0}:{"x-api-key":Z.apiKey};return(await P.get($,{headers:J})).data}function k3(){if(!A())return;if(k.status!=="pending")return;k=L().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"unknown"}}async function M3(){if(S1())return;if(!A())return;if(T0)return z("Fast mode prefetch in progress, returning in-flight promise"),T0;let Z=X0();if(!(w()?.accessToken&&q0())&&!Z){k=L().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"preference"};return}let J=Date.now();if(J-E1<d8){z("Skipping fast mode prefetch, fetched recently");return}E1=J;let Q=async()=>{let Y=w(),q=Y?.accessToken&&q0()?{accessToken:Y.accessToken}:Z?{apiKey:Z}:null;if(!q)throw Error("No auth available");return c8(q)};async function X(){try{let Y;try{Y=await Q()}catch(W){if(P.isAxiosError(W)&&(W.response?.status===401||W.response?.status===403&&typeof W.response?.data==="string"&&W.response.data.includes("OAuth token has been revoked"))){let B=w()?.accessToken;if(B)await $5(B),Y=await Q();else throw W}else throw W}let q=k.status!=="pending"?k.status==="enabled":L().penguinModeOrgEnabled;if(k=Y.enabled?{status:"enabled"}:{status:"disabled",reason:Y.disabled_reason??"preference"},q!==Y.enabled){if(!Y.enabled)B2("userSettings",{fastMode:void 0});C((W)=>({...W,penguinModeOrgEnabled:Y.enabled})),Z5.emit(Y.enabled)}z(`Org fast mode: ${Y.enabled?"enabled":`disabled (${Y.disabled_reason??"preference"})`}`)}catch(Y){k=L().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"network_error"},z(`Failed to fetch org fast mode status, defaulting to ${k.status==="enabled"?"enabled (cached)":"disabled (network_error)"}: ${Y}`,{level:"error"}),x("tengu_org_penguin_mode_fetch_failed",{})}finally{T0=null}}return T0=X(),T0}var w3="Opus 4.7",w0,e2=!1,y1,T1,K3,D3,C1,U3,k,Z5,_3,d8=30000,E1=0,T0=null;var A1=H(()=>{q2();I0();k1();J0();j2();n();C8();i();Z0();u();F0();l();A8();j0();H1();w0={status:"active"},y1=Y0(),T1=Y0(),K3=y1.subscribe,D3=T1.subscribe;C1=Y0(),U3=C1.subscribe;k={status:"pending"},Z5=Y0(),_3=Z5.subscribe});function o8(Z){for(let $ of a8)if($.pattern.test(Z))return $.cost;return}function J5(Z){if(A()&&Z)return t8;return L0}function r8(Z,$){let J=Z.promptCacheWrite1hTokens??Z.promptCacheWriteTokens,Q=$.cache_creation,X=Q?(Q.ephemeral_5m_input_tokens??0)/1e6*Z.promptCacheWriteTokens+(Q.ephemeral_1h_input_tokens??0)/1e6*J:($.cache_creation_input_tokens??0)/1e6*Z.promptCacheWriteTokens;return $.input_tokens/1e6*Z.inputTokens+$.output_tokens/1e6*Z.outputTokens+($.cache_read_input_tokens??0)/1e6*Z.promptCacheReadTokens+X+($.server_tool_use?.web_search_requests??0)*Z.webSearchRequests}function e8(Z,$){let J=b(Z);if(J===N(a0.firstParty)||J===N(o0.firstParty)||J===N(r0.firstParty)){let X=$.speed==="fast";return J5(X)}let Q=f1[J];if(!Q){let X=o8(Z);if(X)return X;return ZZ(Z,J),f1[b(A0())]??s8}return Q}function ZZ(Z,$){x("tengu_unknown_model_cost",{model:Z,shortName:$}),u1()}function $Z(Z,$){let J=e8(Z,$);return r8(J,$)}function A3(Z,$){let J={input_tokens:$.inputTokens,output_tokens:$.outputTokens,cache_read_input_tokens:$.cacheReadInputTokens,cache_creation_input_tokens:$.cacheCreationInputTokens};return $Z(Z,J)}function g1(Z){if(Number.isInteger(Z))return`$${Z}`;return`$${Z.toFixed(2)}`}function p1(Z){return`${g1(Z.inputTokens)}/${g1(Z.outputTokens)} per Mtok`}var f0,h1,L0,n8,t8,i8,l8,s8,a8,f1;var m1=H(()=>{j2();J0();A1();f2();F0();f0={inputTokens:3,outputTokens:15,promptCacheWriteTokens:3.75,promptCacheWrite1hTokens:6,promptCacheReadTokens:0.3,webSearchRequests:0.01},h1={inputTokens:15,outputTokens:75,promptCacheWriteTokens:18.75,promptCacheWrite1hTokens:30,promptCacheReadTokens:1.5,webSearchRequests:0.01},L0={inputTokens:5,outputTokens:25,promptCacheWriteTokens:6.25,promptCacheWrite1hTokens:10,promptCacheReadTokens:0.5,webSearchRequests:0.01},n8={inputTokens:10,outputTokens:50,promptCacheWriteTokens:12.5,promptCacheWrite1hTokens:20,promptCacheReadTokens:1,webSearchRequests:0.01},t8={inputTokens:30,outputTokens:150,promptCacheWriteTokens:37.5,promptCacheWrite1hTokens:60,promptCacheReadTokens:3,webSearchRequests:0.01},i8={inputTokens:0.8,outputTokens:4,promptCacheWriteTokens:1,promptCacheWrite1hTokens:1.6,promptCacheReadTokens:0.08,webSearchRequests:0.01},l8={inputTokens:1,outputTokens:5,promptCacheWriteTokens:1.25,promptCacheWrite1hTokens:2,promptCacheReadTokens:0.1,webSearchRequests:0.01},s8=L0,a8=[{pattern:/gpt-5-nano/i,label:"gpt-5-nano",cost:{inputTokens:0.05,outputTokens:0.4,promptCacheWriteTokens:0.05,promptCacheReadTokens:0.005,webSearchRequests:0}},{pattern:/gpt-5-mini/i,label:"gpt-5-mini",cost:{inputTokens:0.25,outputTokens:2,promptCacheWriteTokens:0.25,promptCacheReadTokens:0.025,webSearchRequests:0}},{pattern:/gpt-5/i,label:"gpt-5",cost:{inputTokens:1.25,outputTokens:10,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gpt-4o-mini/i,label:"gpt-4o-mini",cost:{inputTokens:0.15,outputTokens:0.6,promptCacheWriteTokens:0.15,promptCacheReadTokens:0.075,webSearchRequests:0}},{pattern:/gpt-4o/i,label:"gpt-4o",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:1.25,webSearchRequests:0}},{pattern:/gpt-4\.1/i,label:"gpt-4.1",cost:{inputTokens:2,outputTokens:8,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/o4-mini/i,label:"o4-mini",cost:{inputTokens:0.55,outputTokens:2.2,promptCacheWriteTokens:0.55,promptCacheReadTokens:0.275,webSearchRequests:0}},{pattern:/\bo3\b/i,label:"o3",cost:{inputTokens:15,outputTokens:60,promptCacheWriteTokens:15,promptCacheReadTokens:7.5,webSearchRequests:0}},{pattern:/\bo1\b/i,label:"o1",cost:{inputTokens:15,outputTokens:60,promptCacheWriteTokens:15,promptCacheReadTokens:7.5,webSearchRequests:0}},{pattern:/gemini.*2\.5.*pro/i,label:"gemini-2.5-pro",cost:{inputTokens:1.25,outputTokens:10,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gemini.*2\.5.*flash/i,label:"gemini-2.5-flash",cost:{inputTokens:0.3,outputTokens:2.5,promptCacheWriteTokens:0.3,promptCacheReadTokens:0.03,webSearchRequests:0}},{pattern:/gemini.*flash/i,label:"gemini-flash",cost:{inputTokens:0.1,outputTokens:0.4,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.025,webSearchRequests:0}},{pattern:/gemini.*pro/i,label:"gemini-pro",cost:{inputTokens:1.25,outputTokens:5,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gemini/i,label:"gemini",cost:{inputTokens:0.3,outputTokens:2.5,promptCacheWriteTokens:0.3,promptCacheReadTokens:0.03,webSearchRequests:0}},{pattern:/deepseek/i,label:"deepseek",cost:{inputTokens:0.14,outputTokens:0.28,promptCacheWriteTokens:0.14,promptCacheReadTokens:0.0028,webSearchRequests:0}},{pattern:/kimi-for-coding/i,label:"kimi-for-coding",cost:{inputTokens:1,outputTokens:2,promptCacheWriteTokens:1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/kimi/i,label:"kimi",cost:{inputTokens:0.6,outputTokens:2.5,promptCacheWriteTokens:0.6,promptCacheReadTokens:0.06,webSearchRequests:0}},{pattern:/moonshot/i,label:"moonshot",cost:{inputTokens:0.6,outputTokens:2.5,promptCacheWriteTokens:0.6,promptCacheReadTokens:0.06,webSearchRequests:0}},{pattern:/devstral/i,label:"devstral",cost:{inputTokens:0.1,outputTokens:0.3,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/mistral.*large.*3/i,label:"mistral-large-3",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/mistral.*large/i,label:"mistral-large",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:2,webSearchRequests:0}},{pattern:/mistral.*medium/i,label:"mistral-medium",cost:{inputTokens:0.4,outputTokens:2,promptCacheWriteTokens:0.4,promptCacheReadTokens:0.4,webSearchRequests:0}},{pattern:/mistral.*small/i,label:"mistral-small",cost:{inputTokens:0.1,outputTokens:0.3,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/ministral.*8b/i,label:"ministral-8b",cost:{inputTokens:0.1,outputTokens:0.1,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/ministral.*3b/i,label:"ministral-3b",cost:{inputTokens:0.04,outputTokens:0.04,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/llama.*405/i,label:"llama-405b",cost:{inputTokens:3.5,outputTokens:3.5,promptCacheWriteTokens:3.5,promptCacheReadTokens:3.5,webSearchRequests:0}},{pattern:/llama.*70/i,label:"llama-70b",cost:{inputTokens:0.59,outputTokens:0.79,promptCacheWriteTokens:0.59,promptCacheReadTokens:0.59,webSearchRequests:0}},{pattern:/llama.*8b/i,label:"llama-8b",cost:{inputTokens:0.1,outputTokens:0.1,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/qwen/i,label:"qwen",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/minimax/i,label:"minimax",cost:{inputTokens:0.2,outputTokens:1.1,promptCacheWriteTokens:0.2,promptCacheReadTokens:0.2,webSearchRequests:0}},{pattern:/\bglm/i,label:"glm",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/grok.*4.*fast/i,label:"grok-4-fast",cost:{inputTokens:0.2,outputTokens:0.5,promptCacheWriteTokens:0.2,promptCacheReadTokens:0.05,webSearchRequests:0}},{pattern:/grok.*4\.20/i,label:"grok-4.20",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/grok.*4/i,label:"grok-4",cost:{inputTokens:3,outputTokens:15,promptCacheWriteTokens:3,promptCacheReadTokens:0.75,webSearchRequests:0}},{pattern:/grok/i,label:"grok",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/command-?r-?plus|command-r\+/i,label:"command-r-plus",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:2.5,webSearchRequests:0}},{pattern:/command-?a\b/i,label:"command-a",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:2.5,webSearchRequests:0}},{pattern:/command-?r7b/i,label:"command-r7b",cost:{inputTokens:0.0375,outputTokens:0.15,promptCacheWriteTokens:0.0375,promptCacheReadTokens:0.0375,webSearchRequests:0}},{pattern:/command-?r/i,label:"command-r",cost:{inputTokens:0.15,outputTokens:0.6,promptCacheWriteTokens:0.15,promptCacheReadTokens:0.15,webSearchRequests:0}},{pattern:/gemma.*27b/i,label:"gemma-27b",cost:{inputTokens:0.08,outputTokens:0.16,promptCacheWriteTokens:0.08,promptCacheReadTokens:0.08,webSearchRequests:0}},{pattern:/gemma.*12b/i,label:"gemma-12b",cost:{inputTokens:0.04,outputTokens:0.13,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/gemma/i,label:"gemma",cost:{inputTokens:0.04,outputTokens:0.08,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/phi-?4-?mini/i,label:"phi-4-mini",cost:{inputTokens:0.075,outputTokens:0.3,promptCacheWriteTokens:0.075,promptCacheReadTokens:0.075,webSearchRequests:0}},{pattern:/phi-?4/i,label:"phi-4",cost:{inputTokens:0.13,outputTokens:0.5,promptCacheWriteTokens:0.13,promptCacheReadTokens:0.13,webSearchRequests:0}},{pattern:/\bphi\b/i,label:"phi",cost:{inputTokens:0.13,outputTokens:0.5,promptCacheWriteTokens:0.13,promptCacheReadTokens:0.13,webSearchRequests:0}}];f1={[N(M2.firstParty)]:i8,[N(S2.firstParty)]:l8,[N(k2.firstParty)]:f0,[N(_2.firstParty)]:f0,[N(v2.firstParty)]:f0,[N(I2.firstParty)]:f0,[N(h2.firstParty)]:f0,[N(y2.firstParty)]:h1,[N(T2.firstParty)]:h1,[N(C2.firstParty)]:L0,[N(a0.firstParty)]:L0,[N(o0.firstParty)]:L0,[N(r0.firstParty)]:L0,[N(A2.firstParty)]:n8}});function m(Z){return JZ.includes(Z)}function K0(Z){return QZ.includes(Z)}var JZ,QZ;var Q5=H(()=>{JZ=["sonnet","opus","haiku","fable","best","sonnet[1m]","opus[1m]","opusplan"];QZ=["sonnet","opus","haiku"]});function XZ(Z,$){if(Z.includes($))return!0;if(m(Z))return I(Z).toLowerCase().includes($);return!1}function c1(Z,$){if(!Z.startsWith($))return!1;return Z.length===$.length||Z[$.length]==="-"}function YZ(Z,$){let J=m(Z)?I(Z).toLowerCase():Z;if(c1(J,$))return!0;if(!$.startsWith("claude-")&&c1(J,`claude-${$}`))return!0;return!1}function d1(Z,$){for(let J of $){if(K0(J))continue;let Q=J.indexOf(Z);if(Q===-1)continue;let X=Q+Z.length;if(X===J.length||J[X]==="-")return!0}return!1}function n1(Z){let $=y()||{},{availableModels:J}=$;if(!J)return!0;if(J.length===0)return!1;let X=X2(Z).trim().toLowerCase(),Y=J.map((q)=>q.trim().toLowerCase());if(Y.includes(X)){if(!K0(X)||!d1(X,Y))return!0}for(let q of Y)if(K0(q)&&!d1(q,Y)&&XZ(X,q))return!0;if(m(X)){let q=I(X).toLowerCase();if(Y.includes(q))return!0}for(let q of Y)if(!K0(q)&&m(q)){if(I(q).toLowerCase()===X)return!0}for(let q of Y)if(!K0(q)&&!m(q)){if(YZ(X,q))return!0}return!1}var t1=H(()=>{j0();Q5();F0();Y2()});function R2(Z){if(typeof Z!=="string")return;let $=Z.trim();return $.length>0?$:void 0}function N0(){let Z=K();if(!Z?.model)return;return r1(Z.model)}function V7(){if(process.env.ANTHROPIC_SMALL_FAST_MODEL)return process.env.ANTHROPIC_SMALL_FAST_MODEL;let Z=N0();if(V()==="gemini")return Z||"gemini-2.0-flash-lite";if(V()==="mistral")return Z||"ministral-3b-latest";if(V()==="openai")return Z||"gpt-4o-mini";if(V()==="codex")return Z||"codexspark";if(V()==="github")return Z||"github:copilot";if(V()==="nvidia-nim")return Z||"meta/llama-3.1-8b-instruct";if(V()==="minimax")return Z||"MiniMax-M2.5-highspeed";return $4()}function W7(Z){return Z===j().opus40||Z===j().opus41||Z===j().opus45||Z===j().opus46||Z===j().opus47||Z===j().opus48}function X5(){let Z,$=l1();if($!==void 0)Z=$;else{let J=y()||{},Q=R2(J.model),X=N0();if(e1()!==void 0)Z=R2(o1().activeModelForProject)||void 0;else Z=X||Q||void 0}if(Z&&!n1(Z))return;return Z}function z7(){let Z=X5();if(Z!==void 0&&Z!==null)return I(Z);return J4()}function zZ(){return D0()}function D0(){if(process.env.ANTHROPIC_DEFAULT_OPUS_MODEL)return process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;let Z=N0();if(V()==="gemini")return Z||"gemini-2.5-pro";if(V()==="mistral")return Z||"devstral-latest";if(V()==="openai")return Z||"gpt-4o";if(V()==="codex")return Z||"gpt-5.5";if(V()==="github")return Z||"github:copilot";if(V()==="nvidia-nim")return Z||"nvidia/llama-3.1-nemotron-70b-instruct";if(V()==="minimax")return Z||"MiniMax-M2.7";if(V()!=="firstParty")return j().opus46;return j().opus48}function g0(){if(process.env.ANTHROPIC_DEFAULT_SONNET_MODEL)return process.env.ANTHROPIC_DEFAULT_SONNET_MODEL;let Z=N0();if(V()==="gemini")return Z||"gemini-2.0-flash";if(V()==="mistral")return Z||"mistral-medium-latest";if(V()==="openai")return Z||"gpt-4o";if(V()==="codex")return Z||"gpt-5.5";if(V()==="github")return Z||"github:copilot";if(V()==="nvidia-nim")return Z||"nvidia/llama-3.1-nemotron-70b-instruct";if(V()==="minimax")return Z||"MiniMax-M2.5";if(V()!=="firstParty")return j().sonnet45;return j().sonnet46}function $4(){if(process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL)return process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL;let Z=N0();if(V()==="mistral")return Z||"ministral-3b-latest";if(V()==="openai")return Z||"gpt-4o-mini";if(V()==="codex")return Z||"gpt-5.5";if(V()==="github")return Z||"github:copilot";if(V()==="gemini")return Z||"gemini-2.0-flash-lite";if(V()==="nvidia-nim")return Z||"meta/llama-3.1-8b-instruct";if(V()==="minimax")return Z||"MiniMax-M2.5-highspeed";return j().haiku45}function G7(Z){let{permissionMode:$,mainLoopModel:J,exceeds200kTokens:Q=!1}=Z;if(X5()==="opusplan"&&$==="plan"&&!Q)return D0();if(X5()==="haiku"&&$==="plan")return g0();return J}function A0(){let Z=N0();if(V()==="github"){let $=y()||{};return R2($.model)||Z||"github:copilot"}if(V()==="gemini")return Z||"gemini-2.0-flash";if(V()==="mistral")return Z||"devstral-latest";if(V()==="openai")return Z||"gpt-4o";if(V()==="codex")return Z||"gpt-5.5";if(H2())return D0()+(h0()?"[1m]":"");if(w2())return D0()+(h0()?"[1m]":"");return g0()}function J4(){return I(A0())}function N(Z){if(Z=Z.toLowerCase(),Z.includes("claude-fable-5"))return"claude-fable-5";if(Z.includes("claude-opus-4-8"))return"claude-opus-4-8";if(Z.includes("claude-opus-4-7"))return"claude-opus-4-7";if(Z.includes("claude-opus-4-6"))return"claude-opus-4-6";if(Z.includes("claude-opus-4-5"))return"claude-opus-4-5";if(Z.includes("claude-opus-4-1"))return"claude-opus-4-1";if(Z.includes("claude-opus-4"))return"claude-opus-4";if(Z.includes("claude-sonnet-4-6"))return"claude-sonnet-4-6";if(Z.includes("claude-sonnet-4-5"))return"claude-sonnet-4-5";if(Z.includes("claude-sonnet-4"))return"claude-sonnet-4";if(Z.includes("claude-haiku-4-5"))return"claude-haiku-4-5";if(Z.includes("claude-3-7-sonnet"))return"claude-3-7-sonnet";if(Z.includes("claude-3-5-sonnet"))return"claude-3-5-sonnet";if(Z.includes("claude-3-5-haiku"))return"claude-3-5-haiku";if(Z.includes("claude-3-opus"))return"claude-3-opus";if(Z.includes("claude-3-sonnet"))return"claude-3-sonnet";if(Z.includes("claude-3-haiku"))return"claude-3-haiku";let $=Z.match(/(claude-(\d+-\d+-)?\w+)/);if($&&$[1])return $[1];return Z}function b(Z){return N(X2(Z))}function GZ(Z=!1){if(H2()||w2()){if(h0())return`Opus 4.8 with 1M context · Most capable for complex work${Z?i1(!0):""}`;return`Opus 4.8 · Most capable for complex work${Z?i1(!0):""}`}return"Sonnet 4.6 · Best for everyday tasks"}function x7(Z){if(Z==="opusplan")return"Opus 4.8 in plan mode, else Sonnet 4.6";return X4(I(Z))}function i1(Z){if(V()!=="firstParty")return"";let $=p1(J5(Z));return` ·${Z?` (${s1})`:""} ${$}`}function h0(){if(V0()||V5()||V()!=="firstParty")return!1;if(U()&&M()===null)return!1;return!0}function j7(Z){if(Z==="opusplan")return"Opus Plan";if(Z==="codexplan")return"codexplan (gpt-5.5)";if(Z==="codexspark")return"codexspark (gpt-5.3-codex-spark)";if(m(Z))return a1(Z);return X4(Z)}function Q4(Z){if(V()==="openai"||V()==="gemini"||V()==="codex"||V()==="github"){if(g2[Z])return g2[Z];if(V()==="github"){let{getCopilotDisplayName:$}=(k0(),M0(_0));return $(Z)??null}return null}switch(Z){case"gpt-5.5":return"GPT-5.5";case"gpt-5.4":return"GPT-5.4";case"gpt-5.3-codex-spark":return"GPT-5.3 Codex Spark";case j().fable5:return"Fable 5";case j().opus48:return"Opus 4.8";case j().opus48+"[1m]":return"Opus 4.8 (1M context)";case j().opus47:return"Opus 4.7";case j().opus47+"[1m]":return"Opus 4.7 (1M context)";case j().opus46:return"Opus 4.6";case j().opus46+"[1m]":return"Opus 4.6 (1M context)";case j().opus45:return"Opus 4.5";case j().opus41:return"Opus 4.1";case j().opus40:return"Opus 4";case j().sonnet46+"[1m]":return"Sonnet 4.6 (1M context)";case j().sonnet46:return"Sonnet 4.6";case j().sonnet45+"[1m]":return"Sonnet 4.5 (1M context)";case j().sonnet45:return"Sonnet 4.5";case j().sonnet40:return"Sonnet 4";case j().sonnet40+"[1m]":return"Sonnet 4 (1M context)";case j().sonnet37:return"Sonnet 3.7";case j().sonnet35:return"Sonnet 3.5";case j().haiku45:return"Haiku 4.5";case j().haiku35:return"Haiku 3.5";default:return null}}function X4(Z){let $=Q4(Z);if($)return $;if(Z==="github:copilot")return"GPT-4o";return Z}function B7(Z){let $=Q4(Z);if($)return`Claude ${$}`;return`Claude (${Z})`}function I(Z){let $=R2(Z);if(!$)return g0();let J=$.toLowerCase(),Q=a(J),X=Q?J.replace(/\[1m]$/i,"").trim():J;if(m(X))switch(X){case"opusplan":return g0()+(Q?"[1m]":"");case"sonnet":return g0()+(Q?"[1m]":"");case"haiku":return $4()+(Q?"[1m]":"");case"opus":return D0()+(Q?"[1m]":"");case"best":return zZ();default:}if(X==="codexplan")return"gpt-5.5";if(X==="codexspark")return"gpt-5.3-codex-spark";if(X==="fable"||X==="fable5")return j().fable5;if(V()==="firstParty"&&jZ(X)&&BZ())return D0()+(Q?"[1m]":"");if(Q)return $.replace(/\[1m\]$/i,"").trim()+"[1m]";return $}function R7(Z,$){if(a(Z)||!a($))return Z;if(Y5(I(Z)))return Z+"[1m]";return Z}function jZ(Z){return xZ.includes(Z)}function BZ(){return!F(process.env.CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP)}function H7(Z){if(Z===null){if(U())return`Default (${GZ()})`;return`Default (${J4()})`}let $=I(Z);return Z===$?$:`${Z} (${$})`}function w7(Z){if(V()==="foundry")return;let $=Z.toLowerCase().includes("[1m]"),J=b(Z);if(J.includes("claude-fable-5"))return"Fable 5";if(J.includes("claude-opus-4-8"))return $?"Opus 4.8 (with 1M context)":"Opus 4.8";if(J.includes("claude-opus-4-7"))return $?"Opus 4.7 (with 1M context)":"Opus 4.7";if(J.includes("claude-opus-4-6"))return $?"Opus 4.6 (with 1M context)":"Opus 4.6";if(J.includes("claude-opus-4-5"))return"Opus 4.5";if(J.includes("claude-opus-4-1"))return"Opus 4.1";if(J.includes("claude-opus-4"))return"Opus 4";if(J.includes("claude-sonnet-4-6"))return $?"Sonnet 4.6 (with 1M context)":"Sonnet 4.6";if(J.includes("claude-sonnet-4-5"))return $?"Sonnet 4.5 (with 1M context)":"Sonnet 4.5";if(J.includes("claude-sonnet-4"))return $?"Sonnet 4 (with 1M context)":"Sonnet 4";if(J.includes("claude-3-7-sonnet"))return"Claude 3.7 Sonnet";if(J.includes("claude-3-5-sonnet"))return"Claude 3.5 Sonnet";if(J.includes("claude-haiku-4-5"))return"Haiku 4.5";if(J.includes("claude-3-5-haiku"))return"Claude 3.5 Haiku";return}function F7(Z){return Z.replace(/\[(1|2)m\]/gi,"")}function L7(Z){let $=b(Z);return $.includes("opus-4-7")||$.includes("opus-4-8")||$.includes("fable-5")}var xZ;var F0=H(()=>{J0();$0();i();Z4();n();q5();u();WZ();Y2();m1();j0();l();qZ();t1();Q5();VZ();u2();xZ=["claude-opus-4-20250514","claude-opus-4-1-20250805","claude-opus-4-0","claude-opus-4-1"]});function W5(Z){return}async function D7(){}var Y4=()=>{};var j4={};m2(j4,{prefetchOpenAICompatibleModels:()=>bZ,getDiscoveredContextWindow:()=>RZ,discoverOpenAICompatibleModelOptions:()=>x4});function RZ(Z){return z4.get(Z)}function HZ(){return(K()?.baseUrl??"https://api.openai.com/v1").replace(/\/+$/,"")}function G4(Z){try{let $=new URL(Z).hostname.toLowerCase();return $.endsWith(".openai.azure.com")||$.endsWith(".cognitiveservices.azure.com")}catch{return!1}}function wZ(Z){try{return new URL(Z).hostname.toLowerCase().includes("bankr")}catch{return!1}}function FZ(Z){let $=K()?.apiKey?.trim();if(!$)return{};if(wZ(Z))return{"X-API-Key":$};let J={Authorization:`Bearer ${$}`};if(G4(Z))J["api-key"]=$;return J}function LZ(Z){let $=Z.endsWith("/v1")?`${Z}/models`:`${Z}/v1/models`,J=`${Z}/models`,Q=process.env.OPENAI_API_VERSION?.trim(),X=Q&&G4(Z)?(Y)=>{try{let q=new URL(Y);return q.searchParams.set("api-version",Q),q.toString()}catch{return Y}}:(Y)=>Y;if($===J)return[X($)];return[X($),X(J)]}function KZ(Z){try{let $=new URL(Z),J=$.pathname.replace(/\/+$/,""),X=`${J.endsWith("/v1")?J.slice(0,-3):J}/api/tags`.replace(/\/{2,}/g,"/");return`${$.origin}${X}`}catch{return null}}function DZ(Z){if(Z>=1e6)return`${Z/1e6}M ctx`;if(Z>=1000)return`${Math.round(Z/1000)}K ctx`;return`${Z} ctx`}async function NZ(Z,$){let J=new Set;for(let Q of Z)try{let X=await P.get(Q,{headers:$,timeout:W4}),Y=[];for(let q of X.data?.data??[]){let W=q.id?.trim();if(!W||J.has(W))continue;J.add(W);let G=q.name?.trim()||W,B=q.context_length??null;if(B&&B>0)z4.set(W,B);let R=B?` · ${DZ(B)}`:"";Y.push({value:W,label:G,description:`${W}${R}`})}if(Y.length>0)return Y.sort((q,W)=>{let G=String(q.value).split("/")[0]??"",B=String(W.value).split("/")[0]??"",R=G.localeCompare(B);return R!==0?R:String(q.value).localeCompare(String(W.value))}),Y}catch{z(`[ModelDiscovery] Failed to fetch OpenAI models from ${Q}`)}return[]}async function OZ(Z,$){try{let J=await P.get(Z,{headers:$,timeout:W4}),Q=new Set;return(J.data?.models??[]).map((X)=>X.name?.trim()??"").filter((X)=>{if(!X||Q.has(X))return!1;return Q.add(X),!0}).map((X)=>({value:X,label:X,description:"Ollama model"}))}catch{return z(`[ModelDiscovery] Failed to fetch Ollama models from ${Z}`),[]}}async function x4(){if(V()!=="openai")return[];let Z=HZ(),$=FZ(Z),J=await NZ(LZ(Z),$);if(J.length>0)return J;let Q=KZ(Z);if(Q)return OZ(Q,$);return[]}function bZ(){if(u0)return u0;return u0=(async()=>{if(!V4()?.startsWith("openai:"))return;try{let $=await x4();if($.length>0)q4($)}catch{}finally{u0=null}})(),u0}var W4=5000,z4,u0=null;var B4=H(()=>{q2();$0();m5();Z0();l();Z4();z4=new Map});function H4(Z,$,J){let Q=K()?.model?.trim();if(Q&&Q!==J){let Y=`${Q}:${J}`;if($[Y]!==void 0)return $[Y];if(Z[Y]!==void 0)return Z[Y]}let X=R4($,J);if(X!==void 0)return X;return R4(Z,J)}function R4(Z,$){if(Z[$]!==void 0)return Z[$];let J=Object.keys(Z).sort((Q,X)=>X.length-Q.length);for(let Q of J)if($.startsWith(Q))return Z[Q];return}function w4(Z){let $=H4(UZ,EZ,Z);if($!==void 0)return $;try{let{getDiscoveredContextWindow:J}=(B4(),M0(j4)),Q=J(Z);if(Q!==void 0)return Q}catch{}try{let{getCatalogCopilotContextWindow:J}=(k0(),M0(_0));return J(Z)}catch{return}}function F4(Z){let $=H4(PZ,_Z,Z);if($!==void 0)return $;try{let{getCatalogCopilotMaxOutputTokens:J}=(k0(),M0(_0));return J(Z)}catch{return}}var UZ,PZ,EZ,_Z;var L4=H(()=>{$0();UZ={"github:copilot":128000,"github:copilot:claude-haiku-4.5":144000,"github:copilot:claude-sonnet-4.6":200000,"github:copilot:claude-opus-4.7":200000,"github:copilot:gpt-4.1":128000,"github:copilot:gpt-4o":128000,"github:copilot:gpt-5-mini":264000,"github:copilot:gpt-5.2-codex":400000,"github:copilot:gpt-5.4":400000,"github:copilot:gpt-5.5":400000,"github:copilot:gemini-3.1-pro-preview":200000,"github:copilot:grok-code-fast-1":256000,"github_copilot/claude-haiku-4.5":144000,"github_copilot/claude-sonnet-4.6":200000,"github_copilot/claude-opus-4.7":200000,"github_copilot/gpt-4.1":128000,"github_copilot/gpt-4o":128000,"github_copilot/gpt-5-mini":264000,"github_copilot/gpt-5.2-codex":400000,"github_copilot/gpt-5.4":400000,"github_copilot/gpt-5.5":400000,"github_copilot/gemini-3.1-pro-preview":200000,"github_copilot/grok-code-fast-1":256000,"gpt-5.5":1050000,"gpt-5.5-mini":400000,"gpt-5.5-nano":400000,"gpt-5.4":1050000,"gpt-5.4-mini":400000,"gpt-5.4-nano":400000,"gpt-4o":128000,"gpt-4o-mini":128000,"gpt-4.1":1047576,"gpt-4.1-mini":1047576,"gpt-4.1-nano":1047576,"gpt-4-turbo":128000,"gpt-4":8192,o1:200000,"o1-mini":128000,"o1-preview":128000,"o1-pro":200000,o3:200000,"o3-mini":200000,"o4-mini":200000,"deepseek-v4-flash":1048576,"deepseek-v4-pro":1048576,"deepseek-chat":128000,"deepseek-reasoner":128000,"llama-3.3-70b-versatile":128000,"llama-3.1-8b-instant":128000,"mixtral-8x7b-32768":32768,"mistral-large-latest":256000,"mistral-small-latest":256000,"devstral-latest":256000,"ministral-3b-latest":256000,"nvidia/llama-3.1-nemotron-70b-instruct":128000,"nvidia/llama-3.1-nemotron-ultra-253b-v1":128000,"nvidia/nemotron-mini-4b-instruct":32768,"meta/llama-3.1-405b-instruct":128000,"meta/llama-3.1-70b-instruct":128000,"meta/llama-3.1-8b-instruct":128000,"meta/llama-3.2-90b-instruct":128000,"meta/llama-3.2-1b-instruct":128000,"meta/llama-3.2-3b-instruct":128000,"meta/llama-3.3-70b-instruct":128000,"google/gemma-2-27b-it":8192,"google/gemma-2-9b-it":8192,"google/gemma-3-27b-it":131072,"google/gemma-3-12b-it":131072,"google/gemma-3-4b-it":131072,"deepseek-ai/deepseek-r1":128000,"deepseek-ai/deepseek-v3":128000,"deepseek-ai/deepseek-v3.2":128000,"qwen/qwen3-32b":128000,"qwen/qwen3-8b":128000,"qwen/qwen2.5-7b-instruct":32768,"mistralai/mistral-large-3-675b-instruct-2512":256000,"mistralai/mistral-large-2-instruct":256000,"mistralai/mistral-small-3.1-24b-instruct-2503":32768,"mistralai/mixtral-8x7b-instruct-v0.1":32768,"microsoft/phi-4-mini-instruct":16384,"microsoft/phi-3.5-mini-instruct":16384,"microsoft/phi-3-mini-128k-instruct":128000,"ibm/granite-3.3-8b-instruct":8192,"ibm/granite-8b-code-instruct":8192,"z-ai/glm5":200000,"z-ai/glm4.7":128000,"moonshotai/kimi-k2.5":200000,"moonshotai/kimi-k2-instruct":128000,"databricks/dbrx-instruct":131072,"ai21labs/jamba-1.5-large-instruct":256000,"ai21labs/jamba-1.5-mini-instruct":256000,"01-ai/yi-large":32768,"MiniMax-M2.7":204800,"MiniMax-M2.7-highspeed":204800,"MiniMax-M2.5":204800,"MiniMax-M2.5-highspeed":204800,"MiniMax-M2.1":204800,"MiniMax-M2.1-highspeed":204800,"minimax-m2.7":204800,"minimax-m2.7-highspeed":204800,"minimax-m2.5":204800,"minimax-m2.5-highspeed":204800,"minimax-m2.1":204800,"minimax-m2.1-highspeed":204800,"MiniMax-Text-01":524288,"MiniMax-Text-01-Preview":262144,"MiniMax-Vision-01":32768,"MiniMax-Vision-01-Fast":16384,"MiniMax-M2":204800,"google/gemini-2.0-flash":1048576,"google/gemini-2.5-pro":1048576,"gemini-2.0-flash":1048576,"gemini-2.5-pro":1048576,"gemini-2.5-flash":1048576,"gemini-3.1-pro":1048576,"gemini-3.1-flash-lite-preview":1048576,"llama3.3:70b":128000,"llama3.1:8b":128000,"llama3.2:3b":128000,"qwen2.5-coder:32b":32768,"qwen2.5-coder:7b":32768,"deepseek-coder-v2:16b":163840,"deepseek-r1:14b":65536,"mistral:7b":32768,"phi4:14b":16384,"gemma2:27b":8192,"codellama:13b":16384,"llama3.2:1b":128000,"qwen3:8b":128000,codestral:32768,"qwen3.6-plus":1e6,"qwen3.5-plus":1e6,"qwen3-coder-plus":1e6,"qwen3-coder-next":262144,"qwen3-max":262144,"qwen3-max-2026-01-23":262144,"kimi-k2.5":262144,"glm-5":202752,"glm-4.7":202752,"kimi-for-coding":262144,"kimi-k2.6":262144,"kimi-k2":131072,"kimi-k2-instruct":131072,"kimi-k2-thinking":262144,"moonshot-v1-8k":8192,"moonshot-v1-32k":32768,"moonshot-v1-128k":131072},PZ={"github:copilot":16384,"github:copilot:claude-haiku-4.5":32768,"github:copilot:claude-sonnet-4.6":32000,"github:copilot:claude-opus-4.7":32000,"github:copilot:gpt-4.1":16384,"github:copilot:gpt-4o":16384,"github:copilot:gpt-5-mini":64000,"github:copilot:gpt-5.2-codex":128000,"github:copilot:gpt-5.4":128000,"github:copilot:gpt-5.5":128000,"github:copilot:gemini-3.1-pro-preview":64000,"github:copilot:grok-code-fast-1":64000,"github_copilot/claude-haiku-4.5":32768,"github_copilot/claude-sonnet-4.6":32000,"github_copilot/claude-opus-4.7":32000,"github_copilot/gpt-4.1":16384,"github_copilot/gpt-4o":16384,"github_copilot/gpt-5-mini":64000,"github_copilot/gpt-5.2-codex":128000,"github_copilot/gpt-5.4":128000,"github_copilot/gpt-5.5":128000,"github_copilot/gemini-3.1-pro-preview":64000,"github_copilot/grok-code-fast-1":64000,"gpt-5.5":128000,"gpt-5.5-mini":128000,"gpt-5.5-nano":128000,"gpt-5.4":128000,"gpt-5.4-mini":128000,"gpt-5.4-nano":128000,"gpt-4o":16384,"gpt-4o-mini":16384,"gpt-4.1":32768,"gpt-4.1-mini":32768,"gpt-4.1-nano":32768,"gpt-4-turbo":4096,"gpt-4":4096,o1:1e5,"o1-mini":65536,"o1-preview":32768,"o1-pro":1e5,o3:1e5,"o3-mini":1e5,"o4-mini":1e5,"deepseek-v4-flash":262144,"deepseek-v4-pro":262144,"deepseek-chat":8192,"deepseek-reasoner":65536,"llama-3.3-70b-versatile":32768,"llama-3.1-8b-instant":8192,"mixtral-8x7b-32768":32768,"mistral-large-latest":32768,"mistral-small-latest":32768,"MiniMax-M2.7":131072,"MiniMax-M2.7-highspeed":131072,"MiniMax-M2.5":131072,"MiniMax-M2.5-highspeed":131072,"MiniMax-M2.1":131072,"MiniMax-M2.1-highspeed":131072,"minimax-m2.7":131072,"minimax-m2.7-highspeed":131072,"minimax-m2.5":131072,"minimax-m2.5-highspeed":131072,"minimax-m2.1":131072,"minimax-m2.1-highspeed":131072,"MiniMax-M2":131072,"MiniMax-Text-01":65536,"MiniMax-Text-01-Preview":65536,"MiniMax-Vision-01":16384,"MiniMax-Vision-01-Fast":16384,"google/gemini-2.0-flash":8192,"google/gemini-2.5-pro":65536,"gemini-2.0-flash":8192,"gemini-2.5-pro":65536,"gemini-2.5-flash":65536,"gemini-3.1-pro":65536,"gemini-3.1-flash-lite-preview":65536,"llama3.3:70b":4096,"llama3.1:8b":4096,"llama3.2:3b":4096,"qwen2.5-coder:32b":8192,"qwen2.5-coder:7b":8192,"deepseek-coder-v2:16b":8192,"deepseek-r1:14b":8192,"mistral:7b":4096,"phi4:14b":4096,"gemma2:27b":4096,"codellama:13b":4096,"llama3.2:1b":4096,"qwen3:8b":8192,codestral:8192,"nvidia/llama-3.1-nemotron-70b-instruct":32768,"nvidia/nemotron-mini-4b-instruct":8192,"meta/llama-3.1-405b-instruct":32768,"meta/llama-3.1-70b-instruct":32768,"meta/llama-3.2-90b-instruct":32768,"meta/llama-3.3-70b-instruct":32768,"google/gemma-2-27b-it":4096,"google/gemma-3-27b-it":16384,"google/gemma-3-12b-it":16384,"deepseek-ai/deepseek-r1":32768,"deepseek-ai/deepseek-v3":32768,"deepseek-ai/deepseek-v3.2":32768,"qwen/qwen3-32b":32768,"qwen/qwen2.5-7b-instruct":8192,"mistralai/mistral-large-3-675b-instruct-2512":32768,"mistralai/mixtral-8x7b-instruct-v0.1":8192,"microsoft/phi-4-mini-instruct":4096,"microsoft/phi-3.5-mini-instruct":4096,"ibm/granite-3.3-8b-instruct":4096,"z-ai/glm5":32768,"moonshotai/kimi-k2.5":32768,"databricks/dbrx-instruct":32768,"ai21labs/jamba-1.5-large-instruct":32768,"01-ai/yi-large":8192,"qwen3.6-plus":65536,"qwen3.5-plus":65536,"qwen3-coder-plus":65536,"qwen3-coder-next":65536,"qwen3-max":32768,"qwen3-max-2026-01-23":32768,"kimi-k2.5":32768,"glm-5":16384,"glm-4.7":16384,"kimi-for-coding":32768,"kimi-k2.6":32768,"kimi-k2":32768,"kimi-k2-instruct":32768,"kimi-k2-thinking":32768,"moonshot-v1-8k":4096,"moonshot-v1-32k":16384,"moonshot-v1-128k":32768},EZ=(()=>{try{let Z=process.env.CLAUDE_CODE_OPENAI_CONTEXT_WINDOWS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})(),_Z=(()=>{try{let Z=process.env.CLAUDE_CODE_OPENAI_MAX_OUTPUT_TOKENS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})()});function K4(){let Z=K()?.transport;return Z==="openai_compat"||Z==="gemini"||Z==="mistral"||Z==="github_copilot"||Z==="codex_responses"}function V0(){return F(process.env.CLAUDE_CODE_DISABLE_1M_CONTEXT)}function a(Z){if(V0())return!1;return/\[1m\]/i.test(Z)}function Y5(Z){if(V0())return!1;let $=b(Z);return $.includes("claude-sonnet-4")||$.includes("opus-4-6")||$.includes("opus-4-7")||$.includes("opus-4-8")||$.includes("fable-5")}function u7(Z,$){if(a(Z))return 1e6;if(K4()){let Q=w4(Z);if(Q!==void 0)return Q;return console.error(`[context] Warning: model "${Z}" not in context window table — using conservative 128k default. `+"Add it to src/utils/model/openaiContextWindows.ts for accurate compaction."),kZ}let J=W5(Z);if(J?.max_input_tokens&&J.max_input_tokens>=1e5){if(J.max_input_tokens>z5&&V0())return z5;return J.max_input_tokens}if(!V0()&&b(Z).includes("fable-5"))return 1e6;if($?.includes(y0)&&Y5(Z))return 1e6;if(vZ(Z))return 1e6;return z5}function vZ(Z){if(V0())return!1;if(a(Z))return!1;if(!b(Z).includes("sonnet-4-6"))return!1;return L().clientDataCache?.coral_reef_sonnet==="true"}function p7(Z,$){if(!Z)return{used:null,remaining:null};let J=Z.input_tokens+Z.cache_creation_input_tokens+Z.cache_read_input_tokens,Q=Math.round(J/$*100),X=Math.min(100,Math.max(0,Q));return{used:X,remaining:100-X}}function m7(Z){let $,J;if(K4()){let Y=F4(Z);if(Y!==void 0)return{default:Y,upperLimit:Y}}let Q=b(Z);if(Q.includes("fable-5")||Q.includes("opus-4-7")||Q.includes("opus-4-6"))$=64000,J=128000;else if(Q.includes("sonnet-4-6"))$=32000,J=128000;else if(Q.includes("opus-4-5")||Q.includes("sonnet-4")||Q.includes("haiku-4"))$=32000,J=64000;else if(Q.includes("opus-4-1")||Q.includes("opus-4"))$=32000,J=32000;else if(Q.includes("claude-3-opus"))$=4096,J=4096;else if(Q.includes("claude-3-sonnet"))$=8192,J=8192;else if(Q.includes("claude-3-haiku"))$=4096,J=4096;else if(Q.includes("3-5-sonnet")||Q.includes("3-5-haiku"))$=8192,J=8192;else if(Q.includes("3-7-sonnet"))$=32000,J=64000;else $=MZ,J=SZ;let X=W5(Z);if(X?.max_tokens&&X.max_tokens>=4096)J=X.max_tokens,$=Math.min($,J);return{default:$,upperLimit:J}}var z5=200000,kZ,h7=20000,MZ=32000,SZ=64000,f7=8000,g7=64000;var q5=H(()=>{r2();$0();i();u();F0();Y4();L4();kZ=(()=>{let Z=parseInt(process.env.CLAUDE_CODE_OPENAI_FALLBACK_CONTEXT_WINDOW??"",10);return!isNaN(Z)&&Z>0?Z:128000})()});var IZ,D4;var N4=H(()=>{l0();l();IZ=[{modelEnvVar:"ANTHROPIC_DEFAULT_OPUS_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES"},{modelEnvVar:"ANTHROPIC_DEFAULT_SONNET_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES"},{modelEnvVar:"ANTHROPIC_DEFAULT_HAIKU_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES"}],D4=v((Z,$)=>{if(V()==="firstParty")return;let J=Z.toLowerCase();for(let Q of IZ){let X=process.env[Q.modelEnvVar],Y=process.env[Q.capabilitiesEnvVar];if(!X||Y===void 0)continue;if(J!==X.toLowerCase())continue;return Y.toLowerCase().split(",").map((q)=>q.trim()).includes($)}return},(Z,$)=>`${Z.toLowerCase()}:${$}`)});function yZ(Z){let $=[],J=[];for(let Q of Z)if(E4.includes(Q))$.push(Q);else J.push(Q);return{allowed:$,disallowed:J}}function q9(Z){if(!Z||Z.length===0)return;if(U()){console.warn("Warning: Custom betas are only available for API key users. Ignoring provided betas.");return}let{allowed:$,disallowed:J}=yZ(Z);for(let Q of J)console.warn(`Warning: Beta header '${Q}' is not allowed. Only the following betas are supported: ${E4.join(", ")}`);return $.length>0?$:void 0}function O4(Z){let $=D4(Z,"interleaved_thinking");if($!==void 0)return $;let J=b(Z),Q=V();if(Q==="foundry")return!0;if(Q==="firstParty")return!J.includes("claude-3-");return J.includes("claude-opus-4")||J.includes("claude-sonnet-4")}function TZ(Z){let $=b(Z);return $.includes("claude-opus-4")||$.includes("claude-sonnet-4")||$.includes("claude-haiku-4")}function CZ(Z){let $=b(Z),J=V();if(J==="foundry")return!0;if(J==="firstParty")return!$.includes("claude-3-");return $.includes("claude-opus-4")||$.includes("claude-sonnet-4")||$.includes("claude-haiku-4")}function AZ(Z){let $=b(Z),J=V();if(J!=="firstParty"&&J!=="foundry")return!1;return $.includes("claude-fable-5")||$.includes("claude-sonnet-4-6")||$.includes("claude-sonnet-4-5")||$.includes("claude-opus-4-1")||$.includes("claude-opus-4-5")||$.includes("claude-opus-4-6")||$.includes("claude-opus-4-7")||$.includes("claude-opus-4-8")||$.includes("claude-haiku-4-5")}function V9(Z){let $=b(Z);if(!$.startsWith("claude-"))return!1;if($.includes("claude-3-"))return!1;if(/claude-(opus|sonnet|haiku)-4(?!-[6-9])/.test($))return!1;return!0}function W9(){let Z=V();if(Z==="vertex"||Z==="bedrock")return N1;return D1}function b4(){return(V()==="firstParty"||V()==="foundry")&&!F(process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS)}function z9(){if(F(process.env.CLAUDIN_DISABLE_GLOBAL_CACHE_SCOPE))return!1;return V()==="firstParty"&&!F(process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS)}function G9(Z,$){let J=[..._4(Z)];if($?.isAgenticQuery){if(!J.includes(G2))J.push(G2)}let Q=U4();if(!Q||Q.length===0)return J;return[...J,...Q.filter((X)=>!J.includes(X))]}function k4(){G5.cache?.clear?.(),_4.cache?.clear?.(),hZ.cache?.clear?.()}var E4,G5,_4,hZ;var M4=H(()=>{l0();k1();J0();r2();I0();n();q5();u();F0();N4();l();j0();E4=[y0];G5=v((Z)=>{let $=[],J=b(Z).includes("haiku"),Q=V(),X=b4();if(!J)$.push(G2);if(U())$.push(B0);if(a(Z))$.push(y0);if(!F(process.env.DISABLE_INTERLEAVED_THINKING)&&O4(Z))$.push(F1);if(X&&O4(Z)&&!f()&&Q0().showThinkingSummaries!==!0)$.push(b1),$.push(U1);let Y=CZ(Z);if(b4()&&Y)$.push(L1);let q=P4("tengu_tool_pear"),W=!q&&(F(process.env.CLAUDE_CODE_JSON_TOOL_USE)||C0("tengu_amber_json_tools",!1));if(X&&AZ(Z)&&q)$.push(K1);if(X&&W)$.push(P1);if(Q==="vertex"&&TZ(Z))$.push(a2);if(Q==="foundry")$.push(a2);if(X)$.push(O1);if(process.env.ANTHROPIC_BETAS)$.push(...process.env.ANTHROPIC_BETAS.split(",").map((G)=>G.trim()).filter(Boolean));return $}),_4=v((Z)=>{let $=G5(Z);if(V()==="bedrock")return $.filter((J)=>!o2.has(J));return $}),hZ=v((Z)=>{return G5(Z).filter((J)=>o2.has(J))})});import{execFile as fZ}from"child_process";function S4(Z){return new Promise(($)=>{fZ("security",["find-generic-password","-a",L2(),"-w","-s",Z],{encoding:"utf-8",timeout:gZ},(J,Q)=>{$({stdout:J?null:Q?.trim()||null,timedOut:Boolean(J&&"killed"in J&&J.killed)})})})}function H9(){if(process.platform!=="darwin"||F2||g())return;let Z=S4(s(v4)),$=S4(s());F2=Promise.all([Z,$]).then(([J,Q])=>{if(!J.timedOut)I4(J.stdout);if(!Q.timedOut)x5={stdout:Q.stdout}})}async function w9(){if(F2)await F2}function y4(){return x5}function j5(){x5=null}var gZ=1e4,x5=null,F2=null;var T4=H(()=>{u();l2()});function B5(Z,$,J){return new Promise((Q,X)=>{if($?.aborted){if(J?.throwOnAbort||J?.abortError)X(J.abortError?.()??Error("aborted"));else Q();return}let Y=setTimeout((W,G,B)=>{W?.removeEventListener("abort",G),B()},Z,$,q,Q);function q(){if(clearTimeout(Y),J?.throwOnAbort||J?.abortError)X(J.abortError?.()??Error("aborted"));else Q()}if($?.addEventListener("abort",q,{once:!0}),J?.unref)Y.unref()})}var C4=()=>{};function K9(){return A4}function h4(){A4.clear()}var A4;var f4=H(()=>{A4=new Map});var M$={};m2(M$,{validateForceLoginOrg:()=>k$,saveOAuthTokensIfNeeded:()=>$8,saveApiKey:()=>k5,removeApiKey:()=>H$,refreshGcpCredentialsIfNeeded:()=>_5,refreshGcpAuth:()=>e4,refreshAwsAuth:()=>o4,refreshAndGetAwsCredentials:()=>z0,prefetchGcpCredentialsIfSafe:()=>x$,prefetchAwsCredentialsAndBedRockInfoIfSafe:()=>j$,prefetchApiKeyFromApiKeyHelperIfSafe:()=>Z$,isUsing3PServices:()=>O2,isTeamSubscriber:()=>N$,isTeamPremiumSubscriber:()=>w2,isProSubscriber:()=>V5,isOverageProvisioningAllowed:()=>K$,isOtelHeadersHelperFromProjectOrLocalSettings:()=>Y8,isMaxSubscriber:()=>H2,isGcpAuthRefreshFromProjectSettings:()=>E5,isEnterpriseSubscriber:()=>O$,isCustomApiKeyApproved:()=>R$,isConsumerSubscriber:()=>E$,isClaudeAISubscriber:()=>U,isAwsCredentialExportFromProjectSettings:()=>U5,isAwsAuthRefreshFromProjectSettings:()=>O5,isAnthropicAuthEnabled:()=>P0,is1PApiCustomer:()=>L$,hasProfileScope:()=>q0,hasOpusAccess:()=>D$,hasAnthropicApiKeyAuth:()=>aZ,handleOAuth401Error:()=>$5,getSubscriptionType:()=>M,getSubscriptionName:()=>Q8,getRateLimitTier:()=>J8,getOtelHeadersFromHelper:()=>U$,getOauthAccountInfo:()=>N2,getConfiguredApiKeyHelper:()=>o,getClaudeAIOAuthTokensAsync:()=>c0,getClaudeAIOAuthTokens:()=>w,getAuthTokenSource:()=>v0,getApiKeyHelperElapsedMs:()=>oZ,getApiKeyFromConfigOrMacOSKeychain:()=>U2,getApiKeyFromApiKeyHelperCached:()=>H5,getApiKeyFromApiKeyHelper:()=>a4,getAnthropicApiKeyWithSource:()=>n0,getAnthropicApiKey:()=>X0,getAccountInformation:()=>_$,clearOAuthTokenCache:()=>M5,clearGcpCredentialsCache:()=>G$,clearAwsCredentialsCache:()=>Y$,clearApiKeyHelperCache:()=>eZ,checkGcpCredentialsValid:()=>r4,checkAndRefreshOAuthTokenIfNeeded:()=>t0,calculateApiKeyHelperTTL:()=>s4});import{exec as i4}from"child_process";import{mkdir as tZ,stat as iZ}from"fs/promises";import{join as lZ}from"path";function D2(){return F(process.env.CLAUDE_CODE_REMOTE)||process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"}function P0(){if(g())return!1;if(process.env.ANTHROPIC_UNIX_SOCKET)return!!process.env.CLAUDE_CODE_OAUTH_TOKEN;let Z=O2(),J=(y()||{}).apiKeyHelper,Q=process.env.ANTHROPIC_AUTH_TOKEN||J||process.env.CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR,X;try{({source:X}=n0({skipRetrievingKeyFromApiKeyHelper:!0}))}catch{X="none"}let Y=X==="ANTHROPIC_API_KEY"||X==="apiKeyHelper";return!(Z||Q&&!D2()||Y&&!D2())}function v0(){if(g()){if(o())return{source:"apiKeyHelper",hasToken:!0};return{source:"none",hasToken:!1}}if(process.env.ANTHROPIC_AUTH_TOKEN&&!D2())return{source:"ANTHROPIC_AUTH_TOKEN",hasToken:!0};if(process.env.CLAUDE_CODE_OAUTH_TOKEN)return{source:"CLAUDE_CODE_OAUTH_TOKEN",hasToken:!0};if(W2()){if(process.env.CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR)return{source:"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",hasToken:!0};return{source:"CCR_OAUTH_TOKEN_FILE",hasToken:!0}}if(o()&&!D2())return{source:"apiKeyHelper",hasToken:!0};let J=w();if(U0(J?.scopes)&&J?.accessToken)return{source:"claude.ai",hasToken:!0};return{source:"none",hasToken:!1}}function X0(){let{key:Z}=n0();return Z}function aZ(){try{let{key:Z,source:$}=n0({skipRetrievingKeyFromApiKeyHelper:!0});return Z!==null&&$!=="none"}catch{return!1}}function n0(Z={}){let $=(()=>{let q=K();if(q?.transport!=="anthropic")return;let W=q.apiKey?.trim();return W&&W.length>0?W:void 0})();if(g()){if($)return{key:$,source:"ANTHROPIC_API_KEY"};if(o())return{key:Z.skipRetrievingKeyFromApiKeyHelper?null:H5(),source:"apiKeyHelper"};return{key:null,source:"none"}}let J=m4()?void 0:$;if(x2()&&J)return{key:J,source:"ANTHROPIC_API_KEY"};if(F(process.env.CI)){let q=i2();if(q)return{key:q,source:"ANTHROPIC_API_KEY"};if(!O2()&&!J&&!process.env.CLAUDE_CODE_OAUTH_TOKEN&&!process.env.CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR)throw Error("Configure an Anthropic profile via /provider or set CLAUDE_CODE_OAUTH_TOKEN");if(J&&!O2())return{key:J,source:"ANTHROPIC_API_KEY"};return{key:null,source:"none"}}if(J&&L().customApiKeyResponses?.approved?.includes(z2(J)))return{key:J,source:"ANTHROPIC_API_KEY"};let Q=i2();if(Q)return{key:Q,source:"ANTHROPIC_API_KEY"};if(o()){if(Z.skipRetrievingKeyFromApiKeyHelper)return{key:null,source:"apiKeyHelper"};return{key:H5(),source:"apiKeyHelper"}}let Y=U2();if(Y)return Y;return{key:null,source:"none"}}function o(){if(g())return E("flagSettings")?.apiKeyHelper;return(y()||{}).apiKeyHelper}function l4(){let Z=o();if(!Z)return!1;let $=E("projectSettings"),J=E("localSettings");return $?.apiKeyHelper===Z||J?.apiKeyHelper===Z}function N5(){return(y()||{}).awsAuthRefresh}function O5(){let Z=N5();if(!Z)return!1;let $=E("projectSettings"),J=E("localSettings");return $?.awsAuthRefresh===Z||J?.awsAuthRefresh===Z}function b5(){return(y()||{}).awsCredentialExport}function U5(){let Z=b5();if(!Z)return!1;let $=E("projectSettings"),J=E("localSettings");return $?.awsCredentialExport===Z||J?.awsCredentialExport===Z}function s4(){let Z=process.env.CLAUDE_CODE_API_KEY_HELPER_TTL_MS;if(Z){let $=parseInt(Z,10);if(!Number.isNaN($)&&$>=0)return $;z(`Found CLAUDE_CODE_API_KEY_HELPER_TTL_MS env var, but it was not a valid number. Got ${Z}`,{level:"error"})}return sZ}function oZ(){let Z=c?.startedAt;return Z?Date.now()-Z:0}async function a4(Z){if(!o())return null;let $=s4();if(S){if(Date.now()-S.timestamp<$)return S.value;if(!c)c={promise:g4(Z,!1,b0),startedAt:null};return S.value}if(c)return c.promise;return c={promise:g4(Z,!0,b0),startedAt:Date.now()},c.promise}async function g4(Z,$,J){try{let Q=await rZ(Z);if(J!==b0)return Q;if(Q!==null)S={value:Q,timestamp:Date.now()};return Q}catch(Q){if(J!==b0)return" ";let X=Q instanceof Error?Q.message:String(Q);if(console.error(h.red(`apiKeyHelper failed: ${X}`)),z(`Error getting API key from apiKeyHelper: ${X}`,{level:"error"}),!$&&S&&S.value!==" ")return S={...S,timestamp:Date.now()},S.value;return S={value:" ",timestamp:Date.now()}," "}finally{if(J===b0)c=null}}async function rZ(Z){let $=o();if(!$)return null;if(l4()){if(!d()&&!Z){let Y=Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${MACRO.FEEDBACK_CHANNEL}.`);return d0("apiKeyHelper invoked before trust check",Y),x("tengu_apiKeyHelper_missing_trust11",{}),null}}let J=await H0($,{shell:!0,timeout:600000,reject:!1});if(J.failed){let X=J.timedOut?"timed out":`exited ${J.exitCode}`,Y=J.stderr?.trim();throw Error(Y?`${X}: ${Y}`:X)}let Q=J.stdout?.trim();if(!Q)throw Error("did not return a value");return Q}function H5(){return S?.value??null}function eZ(){b0++,S=null,c=null}function Z$(Z){if(l4()&&!d())return;a4(Z)}async function J$(){let Z=N5();if(!Z)return!1;if(O5()){if(!d()&&!f()){let J=Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${MACRO.FEEDBACK_CHANNEL}.`);return d0("awsAuthRefresh invoked before trust check",J),x("tengu_awsAuthRefresh_missing_trust",{}),!1}}try{return z("Fetching AWS caller identity for AWS auth refresh command"),await s2(),z("Fetched AWS caller identity, skipping AWS auth refresh command"),!1}catch{return o4(Z)}}function o4(Z){z("Running AWS auth refresh command");let $=T.getInstance();return $.startAuthentication(),new Promise((J)=>{let Q=i4(Z,{timeout:Q$});Q.stdout.on("data",(X)=>{let Y=X.toString().trim();if(Y)$.addOutput(Y),z(Y,{level:"debug"})}),Q.stderr.on("data",(X)=>{let Y=X.toString().trim();if(Y)$.setError(Y),z(Y,{level:"error"})}),Q.on("close",(X,Y)=>{if(X===0)z("AWS auth refresh completed successfully"),$.endAuthentication(!0),J(!0);else{let W=Y==="SIGTERM"?h.red("AWS auth refresh timed out after 3 minutes. Run your auth command manually in a separate terminal."):h.red("Error running awsAuthRefresh (in settings or ~/.claudin/config.json):");console.error(W),$.endAuthentication(!1),J(!1)}})})}async function X$(){let Z=b5();if(!Z)return null;if(U5()){if(!d()&&!f()){let J=Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${MACRO.FEEDBACK_CHANNEL}.`);return d0("awsCredentialExport invoked before trust check",J),x("tengu_awsCredentialExport_missing_trust",{}),null}}try{return z("Fetching AWS caller identity for credential export command"),await s2(),z("Fetched AWS caller identity, skipping AWS credential export command"),null}catch{try{z("Running AWS credential export command");let $=await H0(Z,{shell:!0,reject:!1});if($.exitCode!==0||!$.stdout)throw Error("awsCredentialExport did not return a valid value");let J=L5($.stdout.trim());if(!j1(J))throw Error("awsCredentialExport did not return valid AWS STS output structure");return z("AWS credentials retrieved from awsCredentialExport"),{accessKeyId:J.Credentials.AccessKeyId,secretAccessKey:J.Credentials.SecretAccessKey,sessionToken:J.Credentials.SessionToken}}catch($){let J=h.red("Error getting AWS credentials from awsCredentialExport (in settings or ~/.claudin/config.json):");if($ instanceof Error)console.error(J,$.message);else console.error(J,$);return null}}}function Y$(){z0.cache.clear()}function P5(){return(y()||{}).gcpAuthRefresh}function E5(){let Z=P5();if(!Z)return!1;let $=E("projectSettings"),J=E("localSettings");return $?.gcpAuthRefresh===Z||J?.gcpAuthRefresh===Z}async function r4(){try{let{GoogleAuth:Z}=await import("google-auth-library"),$=new Z({scopes:["https://www.googleapis.com/auth/cloud-platform"]}),J=(async()=>{await(await $.getClient()).getAccessToken()})(),Q=B5(q$).then(()=>{throw new q8("GCP credentials check timed out")});return await Promise.race([J,Q]),!0}catch{return!1}}async function W$(){let Z=P5();if(!Z)return!1;if(E5()){if(!d()&&!f()){let J=Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${MACRO.FEEDBACK_CHANNEL}.`);return d0("gcpAuthRefresh invoked before trust check",J),x("tengu_gcpAuthRefresh_missing_trust",{}),!1}}try{if(z("Checking GCP credentials validity for auth refresh"),await r4())return z("GCP credentials are valid, skipping auth refresh command"),!1}catch{}return e4(Z)}function e4(Z){z("Running GCP auth refresh command");let $=T.getInstance();return $.startAuthentication(),new Promise((J)=>{let Q=i4(Z,{timeout:z$});Q.stdout.on("data",(X)=>{let Y=X.toString().trim();if(Y)$.addOutput(Y),z(Y,{level:"debug"})}),Q.stderr.on("data",(X)=>{let Y=X.toString().trim();if(Y)$.setError(Y),z(Y,{level:"error"})}),Q.on("close",(X,Y)=>{if(X===0)z("GCP auth refresh completed successfully"),$.endAuthentication(!0),J(!0);else{let W=Y==="SIGTERM"?h.red("GCP auth refresh timed out after 3 minutes. Run your auth command manually in a separate terminal."):h.red("Error running gcpAuthRefresh (in settings or ~/.claudin/config.json):");console.error(W),$.endAuthentication(!1),J(!1)}})})}function G$(){_5.cache.clear()}function x$(){if(!P5())return;if(E5()){if(!d()&&!f())return}_5()}function j$(){let Z=N5(),$=b5();if(!Z&&!$)return;if(O5()||U5()){if(!d()&&!f())return}z0(),j()}function B$(Z){return/^[a-zA-Z0-9-_]+$/.test(Z)}async function k5(Z){if(!B$(Z))throw Error("Invalid API key format. API key must contain only alphanumeric characters, dashes, and underscores.");await Z8();let $=!1;if(process.platform==="darwin")try{let Q=s(),X=L2(),Y=Buffer.from(Z,"utf-8").toString("hex"),q=`add-generic-password -U -a "${X}" -s "${Q}" -X "${Y}"
|
|
2
|
+
`;await H0("security",["-i"],{input:q,reject:!1}),x("tengu_api_key_saved_to_keychain",{}),$=!0}catch(Q){D(Q),x("tengu_api_key_keychain_error",{error:p(Q)}),x("tengu_api_key_saved_to_config",{})}else x("tengu_api_key_saved_to_config",{});let J=z2(Z);C((Q)=>{let X=Q.customApiKeyResponses?.approved??[];return{...Q,primaryApiKey:$?Q.primaryApiKey:Z,customApiKeyResponses:{...Q.customApiKeyResponses,approved:X.includes(J)?X:[...X,J],rejected:Q.customApiKeyResponses?.rejected??[]}}}),U2.cache.clear?.(),j5()}function R$(Z){let $=L(),J=z2(Z);return $.customApiKeyResponses?.approved?.includes(J)??!1}async function H$(){await Z8(),C((Z)=>({...Z,primaryApiKey:void 0})),U2.cache.clear?.(),j5()}async function Z8(){try{await G1()}catch(Z){D(Z)}}function $8(Z){if(!U0(Z.scopes))return x("tengu_oauth_tokens_not_claude_ai",{}),{success:!0};if(!Z.refreshToken||!Z.expiresAt)return x("tengu_oauth_tokens_inference_only",{}),{success:!0};let $=b2(),J=$.name;try{let Q=$.read()||{},X=Q.claudeAiOauth;Q.claudeAiOauth={accessToken:Z.accessToken,refreshToken:Z.refreshToken,expiresAt:Z.expiresAt,scopes:Z.scopes,subscriptionType:Z.subscriptionType??X?.subscriptionType??null,rateLimitTier:Z.rateLimitTier??X?.rateLimitTier??null};let Y=$.update(Q);if(Y.success)x("tengu_oauth_tokens_saved",{storageBackend:J});else x("tengu_oauth_tokens_save_failed",{storageBackend:J});return w.cache?.clear?.(),k4(),h4(),Y}catch(Q){return D(Q),x("tengu_oauth_tokens_save_exception",{storageBackend:J,error:p(Q)}),{success:!1,warning:"Failed to save OAuth tokens"}}}function M5(){w.cache?.clear?.(),O0()}async function w$(){try{let{mtimeMs:Z}=await iZ(lZ(F5(),".credentials.json"));if(Z!==u4)u4=Z,M5()}catch{w.cache?.clear?.()}}function $5(Z){let $=R5.get(Z);if($)return $;let J=F$(Z).finally(()=>{R5.delete(Z)});return R5.set(Z,J),J}async function F$(Z){M5();let $=await c0();if(!$?.refreshToken)return!1;if($.accessToken!==Z)return x("tengu_oauth_401_recovered_from_keychain",{}),!0;return t0(0,!0)}async function c0(){if(g())return null;if(process.env.CLAUDE_CODE_OAUTH_TOKEN||W2())return w();try{let J=(await b2().readAsync())?.claudeAiOauth;if(!J?.accessToken)return null;return J}catch(Z){return D(Z),null}}function t0(Z=0,$=!1){if(Z===0&&!$){if(p0)return p0;return p0=w5(Z,$).finally(()=>{p0=null}),p0}return w5(Z,$)}async function w5(Z,$){await w$();let Q=w();if(!$){if(!Q?.refreshToken||!m0(Q.expiresAt))return!1}if(!Q?.refreshToken)return!1;if(!U0(Q.scopes))return!1;w.cache?.clear?.(),O0();let X=await c0();if(!X?.refreshToken||!m0(X.expiresAt))return!1;let Y=F5();await tZ(Y,{recursive:!0});let q;try{x("tengu_oauth_token_refresh_lock_acquiring",{}),q=await d4(Y),x("tengu_oauth_token_refresh_lock_acquired",{})}catch(W){if(W.code==="ELOCKED"){if(Z<5)return x("tengu_oauth_token_refresh_lock_retry",{retryCount:Z+1}),await B5(1000+Math.random()*1000),w5(Z+1,$);return x("tengu_oauth_token_refresh_lock_retry_limit_reached",{maxRetries:5}),!1}return D(W),x("tengu_oauth_token_refresh_lock_error",{error:p(W)}),!1}try{w.cache?.clear?.(),O0();let W=await c0();if(!W?.refreshToken||!m0(W.expiresAt))return x("tengu_oauth_token_refresh_race_resolved",{}),!1;x("tengu_oauth_token_refresh_starting",{});let G=await n4(W.refreshToken,{scopes:U0(W.scopes)?void 0:W.scopes});return $8(G),w.cache?.clear?.(),O0(),!0}catch(W){D(W),w.cache?.clear?.(),O0();let G=await c0();if(G&&!m0(G.expiresAt))return x("tengu_oauth_token_refresh_race_recovered",{}),!0;return!1}finally{x("tengu_oauth_token_refresh_lock_releasing",{}),await q(),x("tengu_oauth_token_refresh_lock_released",{})}}function U(){if(!P0())return!1;return U0(w()?.scopes)}function q0(){return w()?.scopes?.includes(c4)??!1}function L$(){{let Z=K()?.transport;if(Z==="bedrock"||Z==="vertex"||Z==="foundry")return!1}if(U())return!1;return!0}function N2(){return P0()?L().oauthAccount:void 0}function K$(){let $=N2()?.billingType;if(!U()||!$)return!1;if($!=="stripe_subscription"&&$!=="stripe_subscription_contracted"&&$!=="apple_subscription"&&$!=="google_play_subscription")return!1;return!0}function D$(){let Z=M();return Z==="max"||Z==="enterprise"||Z==="team"||Z==="pro"||Z===null}function M(){if(r5())return o5();if(!P0())return null;let Z=w();if(!Z)return null;return Z.subscriptionType??null}function H2(){return M()==="max"}function N$(){return M()==="team"}function w2(){return M()==="team"&&J8()==="default_claude_max_5x"}function O$(){return M()==="enterprise"}function V5(){return M()==="pro"}function J8(){if(!P0())return null;let Z=w();if(!Z)return null;return Z.rateLimitTier??null}function Q8(){switch(M()){case"enterprise":return"Claude Enterprise";case"team":return"Claude Team";case"max":return"Claude Max";case"pro":return"Claude Pro";default:return"Claude API"}}function O2(){let Z=K()?.transport;if(!Z)return!1;return Z!=="anthropic"}function X8(){return(y()||{}).otelHeadersHelper}function Y8(){let Z=X8();if(!Z)return!1;let $=E("projectSettings"),J=E("localSettings");return $?.otelHeadersHelper===Z||J?.otelHeadersHelper===Z}function U$(){let Z=X8();if(!Z)return{};let $=parseInt(process.env.CLAUDE_CODE_OTEL_HEADERS_HELPER_DEBOUNCE_MS||b$.toString());if(K2&&Date.now()-p4<$)return K2;if(Y8()){if(!d())return{}}try{let J=K5(Z,{timeout:30000})?.toString().trim();if(!J)throw Error("otelHeadersHelper did not return a valid value");let Q=L5(J);if(typeof Q!=="object"||Q===null||Array.isArray(Q))throw Error("otelHeadersHelper must return a JSON object with string key-value pairs");for(let[X,Y]of Object.entries(Q))if(typeof Y!=="string")throw Error(`otelHeadersHelper returned non-string value for key "${X}": ${typeof Y}`);return K2=Q,p4=Date.now(),K2}catch(J){throw D(Error(`Error getting OpenTelemetry headers from otelHeadersHelper (in settings): ${p(J)}`)),J}}function P$(Z){return Z==="max"||Z==="pro"}function E$(){let Z=M();return U()&&Z!==null&&P$(Z)}function _$(){if(V()!=="firstParty")return;let{source:$}=v0(),J={};if($==="CLAUDE_CODE_OAUTH_TOKEN"||$==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR")J.tokenSource=$;else if(U())J.subscription=Q8();else J.tokenSource=$;let{key:Q,source:X}=n0();if(Q)J.apiKeySource=X;if($==="claude.ai"||X==="/login managed key"){let q=N2()?.organizationName;if(q)J.organization=q}let Y=N2()?.emailAddress;if(($==="claude.ai"||X==="/login managed key")&&Y)J.email=Y;return J}async function k$(){if(process.env.ANTHROPIC_UNIX_SOCKET)return{valid:!0};if(!P0())return{valid:!0};let Z=E("policySettings")?.forceLoginOrgUUID;if(!Z)return{valid:!0};await t0();let $=w();if(!$)return{valid:!0};let{source:J}=v0(),Q=J==="CLAUDE_CODE_OAUTH_TOKEN"||J==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",X=await R0($.accessToken);if(!X)return{valid:!1,message:`Unable to verify organization for the current authentication token.
|
|
3
|
+
This machine requires organization ${Z} but the profile could not be fetched.
|
|
4
|
+
This may be a network error, or the token may lack the user:profile scope required for
|
|
5
|
+
verification (tokens from 'claude setup-token' do not include this scope).
|
|
6
|
+
Try again, or obtain a full-scope token via 'claude auth login'.`};let Y=X.organization.uuid;if(Y===Z)return{valid:!0};if(Q)return{valid:!1,message:`The ${J==="CLAUDE_CODE_OAUTH_TOKEN"?"CLAUDE_CODE_OAUTH_TOKEN":"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR"} environment variable provides a token for a
|
|
7
|
+
different organization than required by this machine's managed settings.
|
|
8
|
+
|
|
9
|
+
Required organization: ${Z}
|
|
10
|
+
Token organization: ${Y}
|
|
11
|
+
|
|
12
|
+
Remove the environment variable or obtain a token for the correct organization.`};return{valid:!1,message:`Your authentication token belongs to organization ${Y},
|
|
13
|
+
but this machine requires organization ${Z}.
|
|
14
|
+
|
|
15
|
+
Please log in with the correct organization: claude auth login`}}var sZ=300000,S=null,c=null,b0=0,$$=3600000,Q$=180000,z0,q$=5000,V$=3600000,z$=180000,_5,U2,w,u4=0,R5,p0=null,K2=null,p4=0,b$=1740000,q8;var n=H(()=>{pZ();z1();l0();I0();j2();Y2();l();J0();$0();e5();t4();n2();W1();x1();R1();w1();M4();i();Z0();u();q1();mZ();dZ();s0();cZ();nZ();T4();l2();j0();C4();uZ();f4();z0=D5(async()=>{let Z=await J$(),$=await X$();if(Z||$)await B1();return $},$$);_5=D5(async()=>{return await W$()},V$);U2=v(()=>{if(g())return null;if(process.platform==="darwin"){let $=y4();if($){if($.stdout)return{key:$.stdout,source:"/login managed key"}}else{let J=s();try{let Q=K5(`security find-generic-password -a $USER -w -s "${J}"`);if(Q)return{key:Q,source:"/login managed key"}}catch(Q){D(Q)}}}let Z=L();if(!Z.primaryApiKey)return null;return{key:Z.primaryApiKey,source:"/login managed key"}});w=v(()=>{if(g())return null;if(process.env.CLAUDE_CODE_OAUTH_TOKEN)return{accessToken:process.env.CLAUDE_CODE_OAUTH_TOKEN,refreshToken:null,expiresAt:null,scopes:["user:inference"],subscriptionType:null,rateLimitTier:null};let Z=W2();if(Z)return{accessToken:Z,refreshToken:null,expiresAt:null,scopes:["user:inference"],subscriptionType:null,rateLimitTier:null};try{let Q=b2().read()?.claudeAiOauth;if(!Q?.accessToken)return null;return Q}catch($){return D($),null}});R5=new Map;q8=class q8 extends Error{}});function U0(Z){return Boolean(Z?.includes(S5))}function S$(Z){return Z?.split(" ").filter(Boolean)??[]}function zQ({codeChallenge:Z,state:$,port:J,isManual:Q,loginWithClaudeAi:X,inferenceOnly:Y,orgUUID:q,loginHint:W,loginMethod:G}){let B=X?O().CLAUDE_AI_AUTHORIZE_URL:O().CONSOLE_AUTHORIZE_URL,R=new URL(B);R.searchParams.append("code","true"),R.searchParams.append("client_id",O().CLIENT_ID),R.searchParams.append("response_type","code"),R.searchParams.append("redirect_uri",Q?O().MANUAL_REDIRECT_URL:`http://localhost:${J}/callback`);let W0=Y?[S5]:z8;if(R.searchParams.append("scope",W0.join(" ")),R.searchParams.append("code_challenge",Z),R.searchParams.append("code_challenge_method","S256"),R.searchParams.append("state",$),q)R.searchParams.append("orgUUID",q);if(W)R.searchParams.append("login_hint",W);if(G)R.searchParams.append("login_method",G);return R.toString()}async function GQ(Z,$,J,Q,X=!1,Y){let q={grant_type:"authorization_code",code:Z,redirect_uri:X?O().MANUAL_REDIRECT_URL:`http://localhost:${Q}/callback`,client_id:O().CLIENT_ID,code_verifier:J,state:$};if(Y!==void 0)q.expires_in=Y;let W=await P.post(O().TOKEN_URL,q,{headers:{"Content-Type":"application/json"},timeout:15000});if(W.status!==200)throw Error(W.status===401?"Authentication failed: Invalid authorization code":`Token exchange failed (${W.status}): ${W.statusText}`);return x("tengu_oauth_token_exchange_success",{}),W.data}async function n4(Z,{scopes:$}={}){let J={grant_type:"refresh_token",refresh_token:Z,client_id:O().CLIENT_ID,scope:(($?.length)?$:W8).join(" ")};try{let Q=await P.post(O().TOKEN_URL,J,{headers:{"Content-Type":"application/json"},timeout:15000});if(Q.status!==200)throw Error(`Token refresh failed: ${Q.statusText}`);let X=Q.data,{access_token:Y,refresh_token:q=Z,expires_in:W}=X,G=Date.now()+W*1000,B=S$(X.scope);x("tengu_oauth_token_refresh_success",{});let R=L(),W0=w(),_=R.oauthAccount?.billingType!==void 0&&R.oauthAccount?.accountCreatedAt!==void 0&&R.oauthAccount?.subscriptionCreatedAt!==void 0&&W0?.subscriptionType!=null&&W0?.rateLimitTier!=null?null:await v$(Y);if(_&&R.oauthAccount){let r={};if(_.displayName!==void 0)r.displayName=_.displayName;if(typeof _.hasExtraUsageEnabled==="boolean")r.hasExtraUsageEnabled=_.hasExtraUsageEnabled;if(_.billingType!==null)r.billingType=_.billingType;if(_.accountCreatedAt!==void 0)r.accountCreatedAt=_.accountCreatedAt;if(_.subscriptionCreatedAt!==void 0)r.subscriptionCreatedAt=_.subscriptionCreatedAt;if(Object.keys(r).length>0)C((i0)=>({...i0,oauthAccount:i0.oauthAccount?{...i0.oauthAccount,...r}:i0.oauthAccount}))}return{accessToken:Y,refreshToken:q,expiresAt:G,scopes:B,subscriptionType:_?.subscriptionType??W0?.subscriptionType??null,rateLimitTier:_?.rateLimitTier??W0?.rateLimitTier??null,profile:_?.rawProfile,tokenAccount:X.account?{uuid:X.account.uuid,emailAddress:X.account.email_address,organizationUuid:X.organization?.uuid}:void 0}}catch(Q){let X=P.isAxiosError(Q)&&Q.response?.data?JSON.stringify(Q.response.data):void 0;throw x("tengu_oauth_token_refresh_failure",{error:Q.message,...X&&{responseBody:X}}),Q}}async function xQ(Z){let $=await P.get(O().ROLES_URL,{headers:{Authorization:`Bearer ${Z}`}});if($.status!==200)throw Error(`Failed to fetch user roles: ${$.statusText}`);let J=$.data;if(!L().oauthAccount)throw Error("OAuth account information not found in config");C((X)=>({...X,oauthAccount:X.oauthAccount?{...X.oauthAccount,organizationRole:J.organization_role,workspaceRole:J.workspace_role,organizationName:J.organization_name}:X.oauthAccount})),x("tengu_oauth_roles_stored",{org_role:J.organization_role})}async function jQ(Z){try{let $=await P.post(O().API_KEY_URL,null,{headers:{Authorization:`Bearer ${Z}`}}),J=$.data?.raw_key;if(J)return await k5(J),x("tengu_oauth_api_key",{status:"success",statusCode:$.status}),J;return null}catch($){throw x("tengu_oauth_api_key",{status:"failure",error:$ instanceof Error?$.message:String($)}),$}}function m0(Z){if(Z===null)return!1;let $=300000;return Date.now()+$>=Z}async function v$(Z){let $=await R0(Z),J=$?.organization?.organization_type,Q=null;switch(J){case"claude_max":Q="max";break;case"claude_pro":Q="pro";break;case"claude_enterprise":Q="enterprise";break;case"claude_team":Q="team";break;default:Q=null;break}let X={subscriptionType:Q,rateLimitTier:$?.organization?.rate_limit_tier??null,hasExtraUsageEnabled:$?.organization?.has_extra_usage_enabled??null,billingType:$?.organization?.billing_type??null};if($?.account?.display_name)X.displayName=$.account.display_name;if($?.account?.created_at)X.accountCreatedAt=$.account.created_at;if($?.organization?.subscription_created_at)X.subscriptionCreatedAt=$.organization.subscription_created_at;return x("tengu_oauth_profile_fetch_success",{}),{...X,rawProfile:$}}async function BQ(){let $=L().oauthAccount?.organizationUuid;if($)return $;let J=w()?.accessToken;if(J===void 0||!q0())return null;let X=(await R0(J))?.organization?.uuid;if(!X)return null;return X}async function RQ(){let Z=process.env.CLAUDE_CODE_ACCOUNT_UUID,$=process.env.CLAUDE_CODE_USER_EMAIL,J=process.env.CLAUDE_CODE_ORGANIZATION_UUID,Q=Boolean(Z&&$&&J);if(Z&&$&&J){if(!L().oauthAccount)V8({accountUuid:Z,emailAddress:$,organizationUuid:J})}await t0();let X=L();if(X.oauthAccount&&X.oauthAccount.billingType!==void 0&&X.oauthAccount.accountCreatedAt!==void 0&&X.oauthAccount.subscriptionCreatedAt!==void 0||!U()||!q0())return!1;let Y=w();if(Y?.accessToken){let q=await R0(Y.accessToken);if(q){if(Q)z("OAuth profile fetch succeeded, overriding env var account info",{level:"info"});return V8({accountUuid:q.account.uuid,emailAddress:q.account.email,organizationUuid:q.organization.uuid,displayName:q.account.display_name||void 0,hasExtraUsageEnabled:q.organization.has_extra_usage_enabled??!1,billingType:q.organization.billing_type??void 0,accountCreatedAt:q.account.created_at,subscriptionCreatedAt:q.organization.subscription_created_at??void 0}),!0}}return!1}function V8({accountUuid:Z,emailAddress:$,organizationUuid:J,displayName:Q,hasExtraUsageEnabled:X,billingType:Y,accountCreatedAt:q,subscriptionCreatedAt:W}){let G={accountUuid:Z,emailAddress:$,organizationUuid:J,hasExtraUsageEnabled:X,billingType:Y,accountCreatedAt:q,subscriptionCreatedAt:W};if(Q)G.displayName=Q;C((B)=>{if(B.oauthAccount?.accountUuid===G.accountUuid&&B.oauthAccount?.emailAddress===G.emailAddress&&B.oauthAccount?.organizationUuid===G.organizationUuid&&B.oauthAccount?.displayName===G.displayName&&B.oauthAccount?.hasExtraUsageEnabled===G.hasExtraUsageEnabled&&B.oauthAccount?.billingType===G.billingType&&B.oauthAccount?.accountCreatedAt===G.accountCreatedAt&&B.oauthAccount?.subscriptionCreatedAt===G.subscriptionCreatedAt)return B;return{...B,oauthAccount:G}})}var t4=H(()=>{q2();j2();I0();n();i();Z0();n2()});
|
|
16
|
+
export{H9 as j2,w9 as k2,T4 as l2,v5 as m2,I5 as n2,g$ as o2,u$ as p2,x8 as q2,R8 as r2,p$ as s2,A5 as t2,a0 as u2,o0 as v2,G0 as w2,f2 as x2,d2 as y2,N8 as z2,k0 as A2,V as B2,e$ as C2,ZJ as D2,$J as E2,JJ as F2,l as G2,j as H2,xJ as I2,Y2 as J2,wJ as K2,FJ as L2,a5 as M2,NJ as N2,OJ as O2,e5 as P2,MJ as Q2,R0 as R2,n2 as S2,U0 as T2,S$ as U2,zQ as V2,GQ as W2,n4 as X2,xQ as Y2,jQ as Z2,m0 as _2,v$ as $2,BQ as a3,RQ as b3,V8 as c3,t4 as d3,hJ as e3,T8 as f3,Z1 as g3,W1 as h3,z2 as i3,x1 as j3,cJ as k3,R1 as l3,T as m3,w1 as n3,y0 as o3,L1 as p3,K1 as q3,iJ as r3,lJ as s3,O1 as t3,sJ as u3,aJ as v3,b1 as w3,oJ as x3,rJ as y3,eJ as z3,r2 as A3,A as B3,v1 as C3,f8 as D3,w3 as E3,F3,L3 as G3,I1 as H3,K3 as I3,D3 as J3,g8 as K3,N3 as L3,O3 as M3,b3 as N3,U3 as O3,P3,m8 as Q3,E3 as R3,_3 as S3,k3 as T3,M3 as U3,A1 as V3,f0 as W3,n8 as X3,i8 as Y3,l8 as Z3,J5 as _3,$Z as $3,A3 as a4,p1 as b4,m1 as c4,JZ as d4,Q5 as e4,n1 as f4,t1 as g4,V7 as h4,W7 as i4,X5 as j4,z7 as k4,zZ as l4,D0 as m4,g0 as n4,$4 as o4,G7 as p4,A0 as q4,J4 as r4,N as s4,b as t4,GZ as u4,x7 as v4,i1 as w4,h0 as x4,j7 as y4,Q4 as z4,X4 as A4,B7 as B4,I as C4,R7 as D4,BZ as E4,H7 as F4,w7 as G4,F7 as H4,L7 as I4,F0 as J4,D7 as K4,Y4 as L4,x4 as M4,bZ as N4,B4 as O4,h7 as P4,f7 as Q4,g7 as R4,V0 as S4,a as T4,u7 as U4,vZ as V4,p7 as W4,m7 as X4,q5 as Y4,D4 as Z4,N4 as _4,q9 as $4,AZ as a5,V9 as b5,W9 as c5,b4 as d5,z9 as e5,_4 as f5,hZ as g5,G9 as h5,k4 as i5,M4 as j5,B5 as k5,C4 as l5,K9 as m5,h4 as n5,f4 as o5,P0 as p5,v0 as q5,X0 as r5,aZ as s5,n0 as t5,o as u5,O5 as v5,U5 as w5,s4 as x5,oZ as y5,a4 as z5,H5 as A5,eZ as B5,Z$ as C5,o4 as D5,z0 as E5,Y$ as F5,E5 as G5,r4 as H5,e4 as I5,_5 as J5,G$ as K5,x$ as L5,j$ as M5,U2 as N5,k5 as O5,R$ as P5,H$ as Q5,$8 as R5,w as S5,M5 as T5,$5 as U5,c0 as V5,t0 as W5,U as X5,q0 as Y5,L$ as Z5,N2 as _5,K$ as $5,D$ as a6,M as b6,H2 as c6,N$ as d6,w2 as e6,O$ as f6,V5 as g6,J8 as h6,Q8 as i6,O2 as j6,Y8 as k6,U$ as l6,E$ as m6,_$ as n6,k$ as o6,M$ as p6,n as q6};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DX as O}from"./cli-0.6.8-vf9cagcj.mjs";import{J1 as X,L1 as Q}from"./cli-0.6.8-jx1wvs6x.mjs";import{M1 as b}from"./cli-0.6.8-gmzxyn2t.mjs";import{Hca as P,tca as W}from"./cli-0.6.8-vpaw67v2.mjs";import{Hpa as U}from"./cli-0.6.8-259kprym.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
|
|
2
|
+
export{V as Ob,C as Pb};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Apa as x,Cpa as y,Gpa as C}from"./cli-0.6.8-0zdwjw7h.mjs";import{Jpa as k}from"./cli-0.6.8-259kprym.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 H7};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{dE as x,eE as s,fE as C,hE as n,iE as $,kE as Zq,lF as o,nF as Mq,qn as E,rn as Uq,un as r,vn as Xq,yn as d,zn as Yq}from"./cli-0.6.8-883y3p0j.mjs";import{DX as Jq,DZ as Qq,YY as N,_Y as U,cZ as V,sZ as a}from"./cli-0.6.8-vf9cagcj.mjs";import{I1 as u,J1 as J,K1 as X,L1 as g}from"./cli-0.6.8-jx1wvs6x.mjs";import{M1 as zq}from"./cli-0.6.8-gmzxyn2t.mjs";import{Lga as w,Oga as qq}from"./cli-0.6.8-dxtyt1wg.mjs";import{Hpa as i,Lpa as t}from"./cli-0.6.8-259kprym.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
|
|
2
|
+
| \\ \\
|
|
3
|
+
| NEW TERMS \\__\\
|
|
4
|
+
| |
|
|
5
|
+
| ---------- |
|
|
6
|
+
| ---------- |
|
|
7
|
+
| ---------- |
|
|
8
|
+
| ---------- |
|
|
9
|
+
| ---------- |
|
|
10
|
+
| |
|
|
11
|
+
|______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
|
|
12
|
+
export{kq as ic,_q as jc,Aq as kc};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{cg as LJ,dg as WQ}from"./cli-0.6.8-82xanm26.mjs";import{eg as hJ,fg as RQ}from"./cli-0.6.8-yvfgg1kg.mjs";import{gg as PJ,hg as hQ}from"./cli-0.6.8-s98bd3q2.mjs";import{ig as aq,jg as lJ}from"./cli-0.6.8-k533p6s5.mjs";import{kg as Fq,lg as iq,mg as $J}from"./cli-0.6.8-b2zms4ec.mjs";import{ng as WJ,og as HQ}from"./cli-0.6.8-r9jgzx43.mjs";import{As as VQ,BO as Aq,Bs as VJ,Cs as XJ,Ds as XQ,EO as oJ,Iu as uq,Ju as mq,Lu as pq,Mu as fJ,PF as vq,QF as BQ,RF as UJ,SF as FJ,TF as wJ,TR as wq,UF as FQ,XR as sq,Xn as GJ,Yn as KQ,_R as tq,kS as nJ,kv as g,lO as eq,mI as HJ,nI as RJ,nO as iJ,nv as yQ,oI as wQ,so as P,to as Tq,zs as KJ}from"./cli-0.6.8-883y3p0j.mjs";import{TS as yJ,VS as NJ,YS as NQ}from"./cli-0.6.8-fhedvbz1.mjs";import{$U as BJ,dV as UQ}from"./cli-0.6.8-3a510y9k.mjs";import{CW as zJ,DW as zQ,GW as YJ,HW as YQ,PW as Mq,QW as GQ}from"./cli-0.6.8-34gwg749.mjs";import{DX as Pq,DZ as Oq,YY as y,_Y as Q}from"./cli-0.6.8-vf9cagcj.mjs";import{I1 as h,J1 as Y,K1 as Z,L1 as c}from"./cli-0.6.8-jx1wvs6x.mjs";import{M1 as ZQ}from"./cli-0.6.8-gmzxyn2t.mjs";import{J4 as cJ,X4 as ZJ,Y4 as QQ,k4 as rq}from"./cli-0.6.8-tb4rrntr.mjs";import{Aaa as gq,Baa as dJ,Eaa as xq,Maa as TJ,X9 as Iq,Y7 as $,Z7 as tJ,mba as QJ,r_ as qQ,wba as JQ}from"./cli-0.6.8-vpaw67v2.mjs";import{Dia as sJ,qia as JJ}from"./cli-0.6.8-4jh3r7br.mjs";import{eoa as eJ,nka as qJ}from"./cli-0.6.8-dwwx58n6.mjs";import{Hpa as Bq,Lpa as Uq}from"./cli-0.6.8-259kprym.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
|
|
2
|
+
`)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
|
|
3
|
+
`)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
|
|
4
|
+
export{pZ as ag,cQ as bg};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Id as j,Jd as w,Kd as _,Ld as D,Md as L,Nd as A,Od as O}from"./cli-0.6.8-3z78waf8.mjs";import{Oo as R,Ro as b,_z as W,bA as V,dA as C,iQ as h,kQ as y,nK as X,oK as I}from"./cli-0.6.8-883y3p0j.mjs";import{Y7 as Q,Z7 as N,dea as U,lea as S}from"./cli-0.6.8-vpaw67v2.mjs";import{Lga as K,Oga as v}from"./cli-0.6.8-dxtyt1wg.mjs";import{Tha as x,Xha as M}from"./cli-0.6.8-q3txjpb9.mjs";import{gia as B,nia as F}from"./cli-0.6.8-cv73s4x5.mjs";N();F();y();S();I();b();M();C();v();O();function Z(z,J,q){U(z);let G=q?`${J} plugin "${q}"`:J==="disable-all"?"disable all plugins":`${J} plugins`;console.error(`${Q.cross} Failed to ${G}: ${B(z)}`);let H=q?(()=>{let{name:Y,marketplace:$}=R(q);return{_PROTO_plugin_name:Y,...$&&{_PROTO_marketplace_name:$},...W(Y,$,X())}})():{};K("tengu_plugin_command_failed",{command:J,error_category:V(z),...H}),process.exit(1)}async function g(z,J="user"){try{console.log(`Installing plugin "${z}"...`);let q=await j(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_installed_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope||J,install_source:"cli-explicit",...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"install",z)}}async function a(z,J="user",q=!1){try{let G=await w(z,J,!q);if(!G.success)throw Error(G.message);console.log(`${Q.tick} ${G.message}`);let{name:H,marketplace:Y}=R(G.pluginId||z);K("tengu_plugin_uninstalled_cli",{_PROTO_plugin_name:H,...Y&&{_PROTO_marketplace_name:Y},scope:G.scope||J,...W(H,Y,X())}),process.exit(0)}catch(G){Z(G,"uninstall",z)}}async function i(z,J){try{let q=await _(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_enabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"enable",z)}}async function u(z,J){try{let q=await D(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_disabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"disable",z)}}async function n(){try{let z=await L();if(!z.success)throw Error(z.message);console.log(`${Q.tick} ${z.message}`),K("tengu_plugin_disabled_all_cli",{}),process.exit(0)}catch(z){Z(z,"disable-all")}}async function r(z,J){try{x(`Checking for updates for plugin "${z}" at ${J} scope…
|
|
2
|
+
`);let q=await A(z,J);if(!q.success)throw Error(q.message);if(x(`${Q.tick} ${q.message}
|
|
3
|
+
`),!q.alreadyUpToDate){let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_updated_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},old_version:q.oldVersion||"unknown",new_version:q.newVersion||"unknown",...W(G,H,X())})}await h(0)}catch(q){Z(q,"update",z)}}
|
|
4
|
+
export{g as a,a as b,i as c,u as d,n as e,r as f};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{iy as U,jy as V,my as f,wt as R,xt as T,yt as $}from"./cli-0.6.8-883y3p0j.mjs";import{f4 as Q,g4 as _}from"./cli-0.6.8-tb4rrntr.mjs";import{C_ as L,J_ as Y,dea as G,lea as Z}from"./cli-0.6.8-vpaw67v2.mjs";import{Lpa as X}from"./cli-0.6.8-259kprym.mjs";function S(q,j){let z=new Map;for(let x of j)z.set(x.agentType,x);let H=new Set,J=[];for(let x of q){let K=`${x.agentType}:${x.source}`;if(H.has(K))continue;H.add(K);let E=z.get(x.agentType),W=E&&E.source!==x.source?E.source:void 0;J.push({...x,overriddenBy:W})}return J}function I(q){let j=q.model||U();if(!j)return;if(j==="inherit")return"inherit";if(j==="haiku"||j==="sonnet"||j==="opus"){try{if(!V())return"inherit";if(!Q(j))return"inherit"}catch(z){G(z)}return j}return T(j,`agent:${q.agentType}`,{getAvailableModelIds:R,logDebug:()=>{},logErr:G})??j}function N(q){return L(q).toLowerCase()}function P(q,j){return q.agentType.localeCompare(j.agentType,void 0,{sensitivity:"base"})}var O;var h=X(()=>{f();_();Z();Y();$();O=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
|
|
2
|
+
export{O as Nc,S as Oc,I as Pc,N as Qc,P as Rc,h as Sc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DX as u2,DZ as e2,MX as Z,YY as Y,_Y as u}from"./cli-0.6.8-vf9cagcj.mjs";import{J1 as t,K1 as o,L1 as U}from"./cli-0.6.8-jx1wvs6x.mjs";import{X_ as X,Z_ as j}from"./cli-0.6.8-vpaw67v2.mjs";import{Hpa as s}from"./cli-0.6.8-259kprym.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claude Code"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.8"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.8"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","0.6.8"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","0.6.8"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
|
|
2
|
+
export{c2 as O};
|