@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,2 @@
|
|
|
1
|
+
import{Dia as F,tia as w}from"./cli-0.6.8-4jh3r7br.mjs";import{Lpa as D}from"./cli-0.6.8-259kprym.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
|
|
2
|
+
export{Q as uT,V as vT,L as wT};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lpa as H}from"./cli-0.6.8-259kprym.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
|
+
export{F as Tea,K as Uea,M as Vea,N as Wea,O as Xea,P as Yea,J as Zea};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DX as u,DZ as a,LY as QQ,MY as uQ,YY as g,_Y as h,eZ as RQ,nZ as jQ,oZ as aQ,sZ as d}from"./cli-0.6.8-vf9cagcj.mjs";import{J1 as S,K1 as k,L1 as f}from"./cli-0.6.8-jx1wvs6x.mjs";import{M1 as v}from"./cli-0.6.8-gmzxyn2t.mjs";import{_1 as n,a2 as t,f2 as YV}from"./cli-0.6.8-g3yp49rz.mjs";import{X5 as $Q,_5 as P,b6 as bQ,q6 as XV}from"./cli-0.6.8-tb4rrntr.mjs";import{Hca as QV,Iba as fQ,Jba as eQ,dea as CQ,jca as mQ,lea as VV,mca as x}from"./cli-0.6.8-vpaw67v2.mjs";import{qea as AQ,rea as sQ}from"./cli-0.6.8-gscmwgeh.mjs";import{Jga as r,Kga as nQ}from"./cli-0.6.8-5gstf2n7.mjs";import{Oha as D,Rha as iQ}from"./cli-0.6.8-4avmxq80.mjs";import{$oa as i,rpa as tQ}from"./cli-0.6.8-yvt0y45m.mjs";import{Hpa as M,Lpa as F}from"./cli-0.6.8-259kprym.mjs";function XQ(){let X=VQ.useContext(QQ);if(!X)throw Error("useTerminalSize must be used within an Ink App component");return X}var VQ;var YQ=F(()=>{uQ();VQ=M(v(),1)});function ZQ(X,Q){if(Q.escape)return"escape";if(Q.return)return"enter";if(Q.tab)return"tab";if(Q.backspace)return"backspace";if(Q.delete)return"delete";if(Q.upArrow)return"up";if(Q.downArrow)return"down";if(Q.leftArrow)return"left";if(Q.rightArrow)return"right";if(Q.pageUp)return"pageup";if(Q.pageDown)return"pagedown";if(Q.wheelUp)return"wheelup";if(Q.wheelDown)return"wheeldown";if(Q.home)return"home";if(Q.end)return"end";if(X.length===1)return X.toLowerCase();return null}var JQ=()=>{};function GQ(X){let Q=X.split("+"),V={key:"",ctrl:!1,alt:!1,shift:!1,meta:!1,super:!1};for(let Z of Q){let Y=Z.toLowerCase();switch(Y){case"ctrl":case"control":V.ctrl=!0;break;case"alt":case"opt":case"option":V.alt=!0;break;case"shift":V.shift=!0;break;case"meta":V.meta=!0;break;case"cmd":case"command":case"super":case"win":V.super=!0;break;case"esc":V.key="escape";break;case"return":V.key="enter";break;case"space":V.key=" ";break;case"↑":V.key="up";break;case"↓":V.key="down";break;case"←":V.key="left";break;case"→":V.key="right";break;default:V.key=Y;break}}return V}function yQ(X){if(X===" ")return[GQ("space")];return X.trim().split(/\s+/).map(GQ)}function hQ(X){let Q=[];if(X.ctrl)Q.push("ctrl");if(X.alt)Q.push("alt");if(X.shift)Q.push("shift");if(X.meta)Q.push("meta");if(X.super)Q.push("cmd");let V=kQ(X.key);return Q.push(V),Q.join("+")}function kQ(X){switch(X){case"escape":return"Esc";case" ":return"Space";case"tab":return"tab";case"enter":return"Enter";case"backspace":return"Backspace";case"delete":return"Delete";case"up":return"↑";case"down":return"↓";case"left":return"←";case"right":return"→";case"pageup":return"PageUp";case"pagedown":return"PageDown";case"home":return"Home";case"end":return"End";default:return X}}function l(X){return X.map(hQ).join(" ")}function BV(X){let Q=[];for(let V of X)for(let[Z,Y]of Object.entries(V.bindings))Q.push({chord:yQ(Z),action:Y,context:V.context});return Q}var qQ=()=>{};function LQ(X,Q,V){let Z=V.findLast((Y)=>Y.action===X&&Y.context===Q);return Z?l(Z.chord):void 0}function gQ(X,Q){let V=ZQ(X,Q);if(!V)return null;let Z=Q.escape?!1:Q.meta;return{key:V,ctrl:Q.ctrl,alt:Z,shift:Q.shift,meta:Z,super:Q.super}}function HQ(X,Q){return X.key===Q.key&&X.ctrl===Q.ctrl&&X.shift===Q.shift&&(X.alt||X.meta)===(Q.alt||Q.meta)&&X.super===Q.super}function lQ(X,Q){if(X.length>=Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function cQ(X,Q){if(X.length!==Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function zQ(X,Q,V,Z,Y){if(Q.escape&&Y!==null)return{type:"chord_cancelled"};let J=gQ(X,Q);if(!J){if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}let G=Y?[...Y,J]:[J],q=new Set(V),B=Z.filter((L)=>q.has(L.context)),z=new Map;for(let L of B)if(L.chord.length>G.length&&lQ(G,L))z.set(l(L.chord),L.action);let N=!1;for(let L of z.values())if(L!==null){N=!0;break}if(N)return{type:"chord_started",pending:G};let H;for(let L of B)if(cQ(G,L))H=L;if(H){if(H.action===null)return{type:"unbound"};return{type:"match",action:H.action}}if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}var BQ=F(()=>{JQ();qQ()});function MV(X){let Q=c.c(24),{bindings:V,pendingChordRef:Z,pendingChord:Y,setPendingChord:J,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,handlerRegistryRef:z,children:N}=X,H;if(Q[0]!==V)H=(U,O)=>LQ(U,O,V),Q[0]=V,Q[1]=H;else H=Q[1];let L=H,_;if(Q[2]!==z)_=(U)=>{let O=z.current;if(!O)return dQ;if(!O.has(U.action))O.set(U.action,new Set);return O.get(U.action).add(U),()=>{let I=O.get(U.action);if(I){if(I.delete(U),I.size===0)O.delete(U.action)}}},Q[2]=z,Q[3]=_;else _=Q[3];let b=_,E;if(Q[4]!==G||Q[5]!==z)E=(U)=>{let O=z.current;if(!O)return!1;let I=O.get(U);if(!I||I.size===0)return!1;for(let e of I)if(G.has(e.context))return e.handler(),!0;return!1},Q[4]=G,Q[5]=z,Q[6]=E;else E=Q[6];let K=E,j;if(Q[7]!==V||Q[8]!==Z)j=(U,O,I)=>zQ(U,O,I,V,Z.current),Q[7]=V,Q[8]=Z,Q[9]=j;else j=Q[9];let A;if(Q[10]!==G||Q[11]!==V||Q[12]!==L||Q[13]!==K||Q[14]!==Y||Q[15]!==q||Q[16]!==b||Q[17]!==J||Q[18]!==j||Q[19]!==B)A={resolve:j,setPendingChord:J,getDisplayText:L,bindings:V,pendingChord:Y,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,registerHandler:b,invokeAction:K},Q[10]=G,Q[11]=V,Q[12]=L,Q[13]=K,Q[14]=Y,Q[15]=q,Q[16]=b,Q[17]=J,Q[18]=j,Q[19]=B,Q[20]=A;else A=Q[20];let w=A,W;if(Q[21]!==N||Q[22]!==w)W=S(NQ.Provider,{value:w,children:N}),Q[21]=N,Q[22]=w,Q[23]=W;else W=Q[23];return W}function dQ(){}function y(){return m.useContext(NQ)}function SV(X,Q){let V=c.c(5),Z=Q===void 0?!0:Q,Y=y(),J,G;if(V[0]!==X||V[1]!==Z||V[2]!==Y)J=()=>{if(!Y||!Z)return;return Y.registerActiveContext(X),()=>{Y.unregisterActiveContext(X)}},G=[X,Y,Z],V[0]=X,V[1]=Z,V[2]=Y,V[3]=J,V[4]=G;else J=V[3],G=V[4];m.useLayoutEffect(J,G)}var c,m,NQ;var UQ=F(()=>{BQ();f();c=M(u(),1),m=M(v(),1),NQ=m.createContext(null)});function TV(X,Q,V={}){let{context:Z="Global",isActive:Y=!0}=V,J=y();C.useEffect(()=>{if(!J||!Y)return;return J.registerHandler({action:X,context:Z,handler:Q})},[X,Z,Q,J,Y]);let G=C.useCallback((q,B,z)=>{if(!J)return;let N=[...J.activeContexts,Z,"Global"],H=[...new Set(N)],L=J.resolve(q,B,H);switch(L.type){case"match":if(J.setPendingChord(null),L.action===X){if(Q()!==!1)z.stopImmediatePropagation()}break;case"chord_started":J.setPendingChord(L.pending),z.stopImmediatePropagation();break;case"chord_cancelled":J.setPendingChord(null);break;case"unbound":J.setPendingChord(null),z.stopImmediatePropagation();break;case"none":break}},[X,Z,Q,J]);d(G,{isActive:Y})}function OQ(X,Q={}){let{context:V="Global",isActive:Z=!0}=Q,Y=y();C.useEffect(()=>{if(!Y||!Z)return;let G=[];for(let[q,B]of Object.entries(X))G.push(Y.registerHandler({action:q,context:V,handler:B}));return()=>{for(let q of G)q()}},[V,X,Y,Z]);let J=C.useCallback((G,q,B)=>{if(!Y)return;let z=[...Y.activeContexts,V,"Global"],N=[...new Set(z)],H=Y.resolve(G,q,N);switch(H.type){case"match":if(Y.setPendingChord(null),H.action in X){let L=X[H.action];if(L&&L()!==!1)B.stopImmediatePropagation()}break;case"chord_started":Y.setPendingChord(H.pending),B.stopImmediatePropagation();break;case"chord_cancelled":Y.setPendingChord(null);break;case"unbound":Y.setPendingChord(null),B.stopImmediatePropagation();break;case"none":break}},[V,X,Y]);d(J,{isActive:Z})}var C;var _Q=F(()=>{a();UQ();C=M(v(),1)});function o(X,Q,V){let Z=R.useRef(0),Y=R.useRef(void 0),J=R.useCallback(()=>{if(Y.current)clearTimeout(Y.current),Y.current=void 0},[]);return R.useEffect(()=>{return()=>{J()}},[J]),R.useCallback(()=>{let G=Date.now();if(G-Z.current<=FQ&&Y.current!==void 0)J(),X(!1),Q();else V?.(),X(!0),J(),Y.current=setTimeout((z,N)=>{z(!1),N.current=void 0},FQ,X,Y);Z.current=G},[X,Q,V,J])}var R,FQ=800;var WQ=F(()=>{R=M(v(),1)});function wQ(X,Q,V,Z=!0){let{exit:Y}=jQ(),[J,G]=T.useState({pending:!1,keyName:null}),q=T.useMemo(()=>V??Y,[V,Y]),B=o((_)=>G({pending:_,keyName:"Ctrl-C"}),q),z=o((_)=>G({pending:_,keyName:"Ctrl-D"}),q),N=T.useCallback(()=>{if(Q?.())return;B()},[B,Q]),H=T.useCallback(()=>{z()},[z]),L=T.useMemo(()=>({"app:interrupt":N,"app:exit":H}),[N,H]);return X(L,{context:"Global",isActive:Z}),J}var T;var MQ=F(()=>{aQ();WQ();T=M(v(),1)});function $V(X,Q,V){return wQ(OQ,Q,X,V)}var oQ=F(()=>{_Q();MQ()});function IQ(){return $.useContext(s)!==null}function pV(X){let Q=SQ.c(3),V=$.useContext(s),Z;if(Q[0]!==V||Q[1]!==X)Z=V?{rows:V.rows,columns:V.columns}:X,Q[0]=V,Q[1]=X,Q[2]=Z;else Z=Q[2];return Z}function xV(){return $.useContext(s)?.scrollRef??null}var SQ,$,s;var KQ=F(()=>{SQ=M(u(),1),$=M(v(),1),s=$.createContext(null)});function EQ(X){let Q=TQ.c(21),{width:V,color:Z,char:Y,padding:J,title:G}=X,q=Y===void 0?"─":Y,B=J===void 0?0:J,{columns:z}=XQ(),N=Math.max(0,(V??z)-B);if(G){let b=AQ(G)+2,E=Math.max(0,N-b),K=Math.floor(E/2),j=E-K,A=!Z,w;if(Q[0]!==q||Q[1]!==K)w=q.repeat(K),Q[0]=q,Q[1]=K,Q[2]=w;else w=Q[2];let W;if(Q[3]!==G)W=S(h,{dimColor:!0,children:S(RQ,{children:G})}),Q[3]=G,Q[4]=W;else W=Q[4];let U;if(Q[5]!==q||Q[6]!==j)U=q.repeat(j),Q[5]=q,Q[6]=j,Q[7]=U;else U=Q[7];let O;if(Q[8]!==Z||Q[9]!==A||Q[10]!==w||Q[11]!==W||Q[12]!==U)O=k(h,{color:Z,dimColor:A,children:[w," ",W," ",U]}),Q[8]=Z,Q[9]=A,Q[10]=w,Q[11]=W,Q[12]=U,Q[13]=O;else O=Q[13];return O}let H=!Z,L;if(Q[14]!==q||Q[15]!==N)L=q.repeat(N),Q[14]=q,Q[15]=N,Q[16]=L;else L=Q[16];let _;if(Q[17]!==Z||Q[18]!==H||Q[19]!==L)_=S(h,{color:Z,dimColor:H,children:L}),Q[17]=Z,Q[18]=H,Q[19]=L,Q[20]=_;else _=Q[20];return _}var TQ;var DQ=F(()=>{YQ();sQ();a();f();TQ=M(u(),1)});function oV(X){let Q=PQ.c(9),{children:V,color:Z}=X;if(IQ()){let q;if(Q[0]!==V)q=S(g,{flexDirection:"column",paddingX:1,flexShrink:0,children:V}),Q[0]=V,Q[1]=q;else q=Q[1];return q}let Y;if(Q[2]!==Z)Y=S(EQ,{color:Z}),Q[2]=Z,Q[3]=Y;else Y=Q[3];let J;if(Q[4]!==V)J=S(g,{flexDirection:"column",paddingX:2,children:V}),Q[4]=V,Q[5]=J;else J=Q[5];let G;if(Q[6]!==Y||Q[7]!==J)G=k(g,{flexDirection:"column",paddingTop:1,children:[Y,J]}),Q[6]=Y,Q[7]=J,Q[8]=G;else G=Q[8];return G}var PQ;var rQ=F(()=>{KQ();a();DQ();f();PQ=M(u(),1)});async function ZV(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/eligibility`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:5000})).data}async function ZX(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/redemptions`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:1e4})).data}function xQ(){return!!(P()?.organizationUuid&&$Q()&&bQ()==="max")}function JX(){if(!xQ())return{eligible:!1,needsRefresh:!1,hasCache:!1};let X=P()?.organizationUuid;if(!X)return{eligible:!1,needsRefresh:!1,hasCache:!1};let V=x().passesEligibilityCache?.[X];if(!V)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Z,timestamp:Y}=V,G=Date.now()-Y>pQ;return{eligible:Z,needsRefresh:G,hasCache:!0}}function GX(X){let Q=JV[X.currency]??`${X.currency} `,V=X.amount_minor_units/100,Z=V%1===0?V.toString():V.toFixed(2);return`${Q}${Z}`}function qX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.referrer_reward??null}function LX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.remaining_passes??null}async function vQ(){if(p)return D("Passes: Reusing in-flight eligibility fetch"),p;let X=P()?.organizationUuid;if(!X)return null;return p=(async()=>{try{let Q=await ZV(),V={...Q,timestamp:Date.now()};return mQ((Z)=>({...Z,passesEligibilityCache:{...Z.passesEligibilityCache,[X]:V}})),D(`Passes eligibility cached for org ${X}: ${Q.eligible}`),Q}catch(Q){return D("Failed to fetch and cache passes eligibility"),CQ(Q),null}finally{p=null}})(),p}async function GV(){if(!xQ())return null;let X=P()?.organizationUuid;if(!X)return null;let V=x().passesEligibilityCache?.[X],Z=Date.now();if(!V)return D("Passes: No cache, fetching eligibility in background (command unavailable this session)"),vQ(),null;if(Z-V.timestamp>pQ){D("Passes: Cache stale, returning cached data and refreshing in background"),vQ();let{timestamp:G,...q}=V;return q}D("Passes: Using fresh cached eligibility data");let{timestamp:Y,...J}=V;return J}async function HX(){if(fQ())return;GV()}var pQ=86400000,p=null,JV;var qV=F(()=>{tQ();nQ();XV();QV();iQ();VV();eQ();YV();JV={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
|
|
2
|
+
export{XQ as nW,YQ as oW,GQ as pW,yQ as qW,l as rW,BV as sW,qQ as tW,LQ as uW,zQ as vW,BQ as wW,MV as xW,y as yW,SV as zW,UQ as AW,TV as BW,OQ as CW,_Q as DW,o as EW,WQ as FW,$V as GW,oQ as HW,s as IW,IQ as JW,pV as KW,xV as LW,KQ as MW,EQ as NW,DQ as OW,oV as PW,rQ as QW,ZX as RW,JX as SW,GX as TW,qX as UW,LX as VW,GV as WW,HX as XW,qV as YW};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lpa as P}from"./cli-0.6.8-259kprym.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
|
|
2
|
+
export{k as $U,w as aV,H as bV,g as cV,V as dV,W as eV,L as fV,Y as gV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Dh as Vq,Eh as fq}from"./cli-0.6.8-wnjmpcsm.mjs";import{CW as o,DW as pq,JW as Qq,LW as Uq,MW as Hq,nW as Pq,oW as mq}from"./cli-0.6.8-34gwg749.mjs";import{DX as Sq,DZ as Wq,YY as M,_Y as g}from"./cli-0.6.8-vf9cagcj.mjs";import{J1 as Z,K1 as F,L1 as Jq}from"./cli-0.6.8-jx1wvs6x.mjs";import{M1 as _q}from"./cli-0.6.8-gmzxyn2t.mjs";import{qea as s,rea as jq}from"./cli-0.6.8-gscmwgeh.mjs";import{Hpa as Lq,Lpa as wq}from"./cli-0.6.8-259kprym.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
|
|
2
|
+
export{lq as bh,oq as ch,sq as dh,aq as eh,Tq as fh};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{t as G0}from"./cli-0.6.8-wfy4hqb2.mjs";import{M as p0}from"./cli-0.6.8-gcnabbk4.mjs";import{Jb as E0}from"./cli-0.6.8-gtwt16bp.mjs";import{Ob as k0}from"./cli-0.6.8-tewmm6rt.mjs";import{vc as P0,xc as Fc}from"./cli-0.6.8-6050y1gw.mjs";import{Ac as N,Bc as uc}from"./cli-0.6.8-wh069qak.mjs";import{Dc as Q0,Ec as hc}from"./cli-0.6.8-25he0rqv.mjs";import{Zc as n0,_c as x0}from"./cli-0.6.8-rw4y8s92.mjs";import{PK as _0,XR as O0,ZK as j0,bG as y0,cG as _c,fS as b0,gE as Y0,gQ as d,hS as B0,iQ as W0,jF as m0,jv as X,kE as lc,kF as g0,kQ as Ic,kS as ac,lF as r,lL as u0,nF as A0,nL as r0,nS as D0,nv as l0,pS as Tc,qn as p,rn as K0,sF as Y,sn as f0,tF as M0,tn as N0,uF as Z0,un as i0,vF as Mc,vn as d0,yn as W,zn as j}from"./cli-0.6.8-883y3p0j.mjs";import{DX as G,DZ as x,UX as X0,YX as oc,YY as c0,_Y as y,cZ as g}from"./cli-0.6.8-vf9cagcj.mjs";import{I1 as e,J1 as m,K1 as U,L1 as C}from"./cli-0.6.8-jx1wvs6x.mjs";import{C2 as H0,G2 as mc,i3 as J0,j3 as nc}from"./cli-0.6.8-tb4rrntr.mjs";import{Hca as I0,Qda as z0,Tda as ic,dca as V0,jba as V,jca as s,mca as t,nba as J,oca as q0,qba as w0,sba as U0,wba as k}from"./cli-0.6.8-vpaw67v2.mjs";import{Nea as R,Sea as cc}from"./cli-0.6.8-gscmwgeh.mjs";import{jfa as C0,rfa as L0,xfa as fc}from"./cli-0.6.8-hj3j54vb.mjs";import{Lga as q,Oga as E}from"./cli-0.6.8-dxtyt1wg.mjs";import{Rha as $0}from"./cli-0.6.8-4avmxq80.mjs";import{Aia as R0,Dia as e0,tia as K}from"./cli-0.6.8-4jh3r7br.mjs";import{Qka as a0,Wma as T0,eoa as v0}from"./cli-0.6.8-dwwx58n6.mjs";import{Hpa as D,Mpa as L}from"./cli-0.6.8-259kprym.mjs";E();Ic();v0();import{appendFileSync as Rc}from"fs";Tc();oc();M0();fc();ic();lc();E();k();A0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}x0();E();x();k();N0();g0();d0();j();K0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},s0=Z.enabledMcpjsonServers||[],t0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...s0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...t0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(S0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function S0(f){return{label:f,value:f}}M0();l0();j0();r0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();uc();nc();ac();I0();Fc();I0();$0();e0();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();mc();Mc();_c();k();cc();C();function Cc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Lc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function Gf(f,c,i){return wc(f,c,{color:"error",beforeExit:i})}async function wc(f,c,i){let{Text:n}=await import("./ink-0.6.8-cts7p4b7.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Lc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function Ef(f,c){f.render(c),G0(),await f.waitUntilExit(),await W0(0)}async function kf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(P0()){let{MigrationDialog:o}=await import("./MigrationDialog-0.6.8-fndbdavr.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-0.6.8-p9c1cvpj.mjs");await z(f,(h)=>m(o,{onDone:()=>{Cc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-0.6.8-9xfzmsa4.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),D0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await B0();if(R("setupScreens_after_claudemd_check"),h){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-0.6.8-bmx62ftg.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}E0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>p0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-0.6.8-c6v8rps5.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-0.6.8-z559z4n4.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-0.6.8-9vwjqk2g.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-0.6.8-hmgphwsn.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function pf(f){let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=k0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
+
`;Rc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
|
|
3
|
+
export{Cc as l,Lc as m,Gf as n,wc as o,z as p,Ef as q,kf as r,pf as s};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Qd as c,Wd as Eq}from"./cli-0.6.8-0hn9sy42.mjs";import{AK as Yq,BK as $q,CK as d,Co as t,Eo as Mq,FK as Dq,Io as i,Ko as Rq,Oo as A,Qo as D,Ro as Aq,SJ as n,So as h,To as S,Uo as Fq,YJ as e,ZJ as P,bK as jq,cK as O,dK as qq,fK as I,gK as Gq,mK as Cq,pK as b,qK as Lq,rs as l,ss as wq,tK as Hq,uK as Jq,wJ as v,wK as vq,xJ as m,xK as y,yK as Qq,yo as s,zJ as Oq,zK as Xq,zo as Tq}from"./cli-0.6.8-883y3p0j.mjs";import{Eaa as V,Maa as Kq,dea as a,hba as F,jba as L,lea as Bq,wba as _q}from"./cli-0.6.8-vpaw67v2.mjs";import{Aha as p,Eha as Wq}from"./cli-0.6.8-4avmxq80.mjs";import{fia as o,iia as N,nia as Uq}from"./cli-0.6.8-cv73s4x5.mjs";import{eoa as xq,nka as f}from"./cli-0.6.8-dwwx58n6.mjs";import{Lpa as Zq}from"./cli-0.6.8-259kprym.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
|
|
2
|
+
${G.join(`
|
|
3
|
+
`)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Rq();Uq();Wq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
|
|
4
|
+
export{k as Dd,HG as Ed,JG as Fd,QG as Gd,kq as Hd,XG as Id,YG as Jd,$G as Kd,zG as Ld,ZG as Md,xG as Nd,hq as Od};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lpa as b}from"./cli-0.6.8-259kprym.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
|
|
2
|
+
export{j as Ve,k as We,q as Xe,w as Ye,g as Ze};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lpa as $}from"./cli-0.6.8-259kprym.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function o(){return J("K")}function y(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function a(z=1){return z===0?"":J(z,"S")}function n(z=1){return z===0?"":J(z,"T")}function c(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,E,t,r,i,e,s,zz,Jz,Qz,Vz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u");F=J(2,"K"),K=J(2,"J"),E=J(3,"J");t=J("r"),r=J("200~"),i=J("201~"),e=J("I"),s=J("O"),zz=J(">1u"),Jz=J("<u"),Qz=J(">4;2m"),Vz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,Bz;var f=$(()=>{v();P=J(0,"f");Bz=T()});
|
|
2
|
+
export{d as LZ,Y as MZ,h as NZ,j as OZ,H as PZ,w as QZ,L as RZ,x as SZ,A as TZ,N as UZ,J as VZ,g as WZ,I as XZ,_ as YZ,u as ZZ,R as _Z,C as $Z,q as a0,S as b0,o as c0,K as d0,y as e0,a as f0,n as g0,c as h0,t as i0,r as j0,i as k0,e as l0,s as m0,zz as n0,Jz as o0,Qz as p0,Vz as q0,v as r0,T as s0,Bz as t0,f as u0};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{Uha as ZX,Xha as y8}from"./cli-0.6.8-q3txjpb9.mjs";import{hia as r,nia as R8}from"./cli-0.6.8-cv73s4x5.mjs";import{Dia as j8,qia as $X,tia as NJ}from"./cli-0.6.8-4jh3r7br.mjs";import{$ia as LQ,Aja as O,Bja as GJ,Eia as dQ,Fia as P6,Kia as qJ,Lia as oX,Oia as eJ,Pia as fX,Qia as fQ,Ria as T6,Sia as $Q,Tia as cX,Wia as JQ,Xia as pX,Yia as g,Zia as oJ,_ia as n,cja as pQ,dja as v6,eoa as sQ,gja as l,hja as wQ,hka as XX,ija as w,jja as kQ,mja as yJ,nja as OX,oja as h,pja as vJ,qja as tJ,rja as hX,sja as hJ,tja as wX,uja as y,vja as OJ,wja as gQ,xja as m6}from"./cli-0.6.8-dwwx58n6.mjs";import{Doa as V,Eoa as xJ,foa as SJ,goa as CX,loa as cJ,moa as TX,noa as HJ,ooa as J6,roa as L,soa as XJ,xoa as LJ,yoa as zX}from"./cli-0.6.8-8ezmkwsw.mjs";import{Kpa as uJ,Lpa as U,Npa as N,Opa as W}from"./cli-0.6.8-259kprym.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
|
|
2
|
+
`)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
|
|
3
|
+
`);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
|
|
4
|
+
`))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
|
|
5
|
+
`;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
|
|
6
|
+
export{zJ as Pga,BJ as Qga,IJ as Rga,r8 as Sga,CJ as Tga,e as Uga,_J as Vga,m as Wga,JJ as Xga,j as Yga,QJ as Zga,R as _ga,k as $ga,_ as aha,d as bha,$J as cha,lJ as dha,iJ as eha,rJ as fha,b as gha,ZJ as hha,ZQ as iha,YQ as jha,BQ as kha,IQ as lha,RQ as mha,AQ as nha,nQ as oha,lQ as pha,E as qha,KJ as rha,I8 as sha,C8 as tha,F8 as uha,V8 as vha,UJ as wha,JX as xha,H1 as yha,G1 as zha,s as Aha,K1 as Bha,U1 as Cha,N1 as Dha,QX as Eha,g8 as Fha,T as Gha,L1 as Hha,b8 as Iha,GX as Jha,KX as Kha,_1 as Lha,S1 as Mha,O1 as Nha,D8 as Oha,UX as Pha,w1 as Qha,aQ as Rha};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{WT as k,XT as f,lU as u}from"./cli-0.6.8-6ccg5qmp.mjs";import{ZV as C,jW as d}from"./cli-0.6.8-1bmxpdky.mjs";import{d2 as A,f2 as F}from"./cli-0.6.8-g3yp49rz.mjs";import{B2 as q,G2 as i}from"./cli-0.6.8-tb4rrntr.mjs";import{E6 as j,F6 as w,K6 as I,u6 as W,x6 as _}from"./cli-0.6.8-cbvnsxaa.mjs";import{dea as V,lea as U}from"./cli-0.6.8-vpaw67v2.mjs";import{Jga as M,Kga as v}from"./cli-0.6.8-5gstf2n7.mjs";import{Oha as J,Rha as x,rha as X,sha as R,wha as p}from"./cli-0.6.8-4avmxq80.mjs";import{gia as P,nia as T}from"./cli-0.6.8-cv73s4x5.mjs";import{Mpa as O}from"./cli-0.6.8-259kprym.mjs";x();U();F();v();x();T();U();_();I();p();import{randomUUID as E}from"crypto";var h=2000,y=5,S=30000,Y=3,c=new Set([4003]);function D(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class L{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,H){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=H}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${M().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let H={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:H,proxy:w(z),tls:W()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let K=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(K)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");V(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-0.6.8-r1wx821t.mjs"),Z=new $(z,{headers:H,agent:j(z),...W()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(K)=>{this.handleMessage(K.toString())}),Z.on("error",(K)=>{V(Error(`[SessionsWebSocket] Error: ${K.message}`)),this.callbacks.onError?.(K)}),Z.on("close",(K,G)=>{J(`[SessionsWebSocket] Closed: code=${K} reason=${G.toString()}`),this.handleClose(K)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=R(B);if(D(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){V(Error(`[SessionsWebSocket] Failed to parse message: ${P(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",c.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(h*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<y)this.reconnectAttempts++,this.scheduleReconnect(h,`attempt ${this.reconnectAttempts}/${y}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},S)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:E(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function N(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class b{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{V(z),this.callbacks.onError?.(z)}};this.websocket=new L(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(N(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let H={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(H)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await A(this.config.sessionId,B,z);if(!Q)V(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){V(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let H={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(H)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,H=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:H,viewerOnly:$}}x();U();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:H}=B,$=f(z);if(!$){V(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=k(z),K=!Q;return J(`[Reconnection] Computed initial team context for ${K?"leader":`teammate ${H}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:H,isLeader:K,teammates:{}}}function Wz(B,z,Q){let H=f(z);if(!H){V(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=H.members.find((G)=>G.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,K=k(z);B((G)=>({...G,teamContext:{teamName:z,teamFilePath:K,leadAgentId:H.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=q();for(let[H,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(H)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Lz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
|
|
2
|
+
export{b as T,$z as U,Xz as V,Wz as W,Lz as X};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Doa as M,Eoa as Y}from"./cli-0.6.8-8ezmkwsw.mjs";import{Lpa as W}from"./cli-0.6.8-259kprym.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
+
export{$ as oia,N as pia,X as qia,_ as ria,j as sia,U as tia,I as uia,S as via,T as wia,c as xia,L as yia,w as zia,z as Aia,O as Bia,x as Cia,k as Dia};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DX as Z,DZ as k,_Y as K}from"./cli-0.6.8-vf9cagcj.mjs";import{K1 as J,L1 as H}from"./cli-0.6.8-jx1wvs6x.mjs";import{Y7 as v,Z7 as Y}from"./cli-0.6.8-vpaw67v2.mjs";import{Hpa as V,Lpa as X}from"./cli-0.6.8-259kprym.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
|
|
2
|
+
export{N as gh,C as hh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lpa as f}from"./cli-0.6.8-259kprym.mjs";function j(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function V(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function k(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(x);if(K){let W=Number(K[1]),$=Number(K[2]);if(W===10)return!0;if(W===172&&$>=16&&$<=31)return!0;if(W===192&&$===168)return!0;if(W===127)return!0;if(W===169&&$===254)return!0;if(W===100&&$>=64&&$<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||L.test(B)||Y.test(B))return!0;return!1}function C(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(k(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function A(q){if(!q||typeof q!=="object")return 0;let z=q,B=j(z.cache_read_input_tokens);if(B>0)return B;let K=j(V(q,["input_tokens_details","cached_tokens"]))||j(V(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=j(z.cached_tokens);if(W>0)return W;let $=j(z.prompt_cache_hit_tokens);if($>0)return $;let Q=j(z.cached_content_token_count);if(Q>0)return Q;return 0}function M(q){let z=A(q),B=q??{},K=j(B.input_tokens)||j(B.prompt_tokens),W=K>=z?K-z:K,$=j(B.output_tokens)||j(B.completion_tokens);return{input_tokens:W,output_tokens:$,cache_creation_input_tokens:0,cache_read_input_tokens:z}}function U(q,z){if(!q||typeof q!=="object")return G;let B=q,K=j(B.cache_read_input_tokens),W=j(B.cache_creation_input_tokens),$=j(B.input_tokens);if(z==="copilot"||z==="ollama")return G;if(z==="self-hosted"&&K===0&&W===0)return G;let Q=K+W+$;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function w(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${H(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${H(q.read)}`,`created=${H(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function H(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(F,"")}k`;return`${(q/1e6).toFixed(1).replace(F,"")}m`}function Z(q,z){if(!q.supported&&!z.supported)return G;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var G,x,L,Y,F;var y=f(()=>{G={read:0,created:0,total:0,hitRate:null,supported:!1};x=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,L=/^fc[0-9a-f]{0,2}:/,Y=/^fd[0-9a-f]{0,2}:/,F=/\.0$/});function O(q){return{currentTurn:X,session:X,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function _(q,z){J.currentTurn=Z(J.currentTurn,q),J.session=Z(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function E(){J.currentTurn=X}function g(){J.currentTurn=X,J.session=X,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function N(){return J.currentTurn}function R(){return J.session}function b(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var D=500,X,J;var S=f(()=>{y();X={read:0,created:0,total:0,hitRate:null,supported:!1};J=O(D)});
|
|
2
|
+
export{C as V0,M as W0,U as X0,w as Y0,I as Z0,y as _0,_ as $0,E as a1,g as b1,N as c1,R as d1,b as e1,S as f1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lpa as M}from"./cli-0.6.8-259kprym.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
|
|
2
|
+
export{W as Bga,Q as Cga,K as Dga,X as Ega,Y as Fga,Z as Gga,y as Hga,G as Iga,h as Jga,w as Kga};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{f2 as m}from"./cli-0.6.8-g3yp49rz.mjs";import{_5 as K,q6 as $}from"./cli-0.6.8-tb4rrntr.mjs";import{Hca as Y,Jba as X,jca as Q,lea as Z,mca as J}from"./cli-0.6.8-vpaw67v2.mjs";import{Kga as W}from"./cli-0.6.8-5gstf2n7.mjs";import{Lpa as V}from"./cli-0.6.8-259kprym.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
|
|
2
|
+
export{y as xi,G as yi,U as zi,w as Ai};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Hca as R,mca as P,n8 as Q,p8 as M}from"./cli-0.6.8-vpaw67v2.mjs";import{Oha as G,Rha as C}from"./cli-0.6.8-4avmxq80.mjs";import{Lpa as j}from"./cli-0.6.8-259kprym.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
|
|
2
|
+
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
+
export{g as g2,w as h2,f as i2};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Dpa as n}from"./cli-0.6.8-0zdwjw7h.mjs";import{Jpa as r}from"./cli-0.6.8-259kprym.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
|
|
2
|
+
export{i as I7};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gca as G,Hca as h,Lca as v,Mca as P,Tca as k,dda as f,jca as M,mca as L}from"./cli-0.6.8-vpaw67v2.mjs";import{Bga as E,Kga as x}from"./cli-0.6.8-5gstf2n7.mjs";import{Dia as u,qia as T}from"./cli-0.6.8-4jh3r7br.mjs";import{Lpa as C}from"./cli-0.6.8-259kprym.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudinMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudinMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudinMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
|
|
2
|
+
export{Vj as sc,Wj as tc,e as uc,Xj as vc,Yj as wc,jj as xc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{R8 as Y,l9 as x,v8 as X,z8 as k}from"./cli-0.6.8-vpaw67v2.mjs";import{Iea as $}from"./cli-0.6.8-gscmwgeh.mjs";import{Lpa as Z}from"./cli-0.6.8-259kprym.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
|
|
2
|
+
export{H as Hb,M as Ib};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{aH as U,bH as w}from"./cli-0.6.8-883y3p0j.mjs";import{DX as f,DZ as k,YY as N,_Y as O}from"./cli-0.6.8-vf9cagcj.mjs";import{J1 as M,K1 as H,L1 as R}from"./cli-0.6.8-jx1wvs6x.mjs";import{Hpa as Y,Lpa as Z}from"./cli-0.6.8-259kprym.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
|
|
2
|
+
export{_ as xg,A as yg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$V as vJ,TV as YJ,XV as DJ,aW as c,bW as SJ,jW as ZJ}from"./cli-0.6.8-1bmxpdky.mjs";import{G1 as TJ,z1 as CJ}from"./cli-0.6.8-9pkhxd6z.mjs";import{Fba as S,Hba as yJ,P8 as xJ,U9 as jJ,dea as p,l9 as NJ,lea as wJ,o8 as OJ,p8 as FJ}from"./cli-0.6.8-vpaw67v2.mjs";import{Qfa as R,Sfa as VJ,Tfa as w,Ufa as XJ}from"./cli-0.6.8-2nda5zxh.mjs";import{Oha as G,Rha as QJ,rha as v,sha as y,wha as JJ}from"./cli-0.6.8-4avmxq80.mjs";import{gia as W,hia as C,nia as e}from"./cli-0.6.8-cv73s4x5.mjs";import{Dia as a,qia as s,ria as I,tia as t}from"./cli-0.6.8-4jh3r7br.mjs";import{Wla as i,dka as r,eka as MJ,eoa as m,hka as d,ona as L}from"./cli-0.6.8-dwwx58n6.mjs";import{Lpa as T,Mpa as BJ}from"./cli-0.6.8-259kprym.mjs";import{mkdir as PJ,readdir as l,readFile as $J,unlink as qJ,writeFile as b}from"fs/promises";import{join as D}from"path";function HQ(J){if(M===J)return;M=J,U()}function UQ(){if(M===void 0)return;M=void 0,U()}function U(){try{GJ.emit()}catch{}}function KJ(J){return D(E(J),cJ)}async function g(J){let Q=KJ(J);try{let V=(await $J(Q,"utf-8")).trim(),X=parseInt(V,10);return isNaN(X)?0:X}catch{return 0}}async function RJ(J,Q){let V=KJ(J);await b(V,String(Q))}function OQ(){if(t(process.env.CLAUDE_CODE_ENABLE_TASKS))return!0;return!i()}async function xQ(J){let Q=E(J),V=await o(J),X;try{X=await S(V,P);let Z=await WJ(J);if(Z>0){let $=await g(J);if(Z>$)await RJ(J,Z)}let Y;try{Y=await l(Q)}catch{Y=[]}for(let $ of Y)if($.endsWith(".json")&&!$.startsWith(".")){let q=D(Q,$);try{await qJ(q)}catch{}}U()}finally{if(X)await X()}}function CQ(){if(process.env.CLAUDE_CODE_TASK_LIST_ID)return process.env.CLAUDE_CODE_TASK_LIST_ID;let J=YJ();if(J)return J.teamName;return c()||M||d()}function _J(J){return J.replace(/[^a-zA-Z0-9_-]/g,"-")}function E(J){return D(s(),"tasks",_J(J))}function A(J,Q){return D(E(J),`${_J(Q)}.json`)}async function bJ(J){let Q=E(J);try{await PJ(Q,{recursive:!0})}catch{}}async function WJ(J){let Q=E(J),V;try{V=await l(Q)}catch{return 0}let X=0;for(let Z of V){if(!Z.endsWith(".json"))continue;let Y=parseInt(Z.replace(".json",""),10);if(!isNaN(Y)&&Y>X)X=Y}return X}async function hJ(J){let[Q,V]=await Promise.all([WJ(J),g(J)]);return Math.max(Q,V)}async function vQ(J,Q){let V=await o(J),X;try{X=await S(V,P);let Z=await hJ(J),Y=String(Z+1),$={id:Y,...Q},q=A(J,Y);return await b(q,v($,null,2)),U(),Y}finally{if(X)await X()}}async function O(J,Q){let V=A(J,Q);try{let X=await $J(V,"utf-8"),Z=y(X),Y=pJ().safeParse(Z);if(!Y.success)return G(`[Tasks] Task ${Q} failed schema validation: ${Y.error.message}`),null;return Y.data}catch(X){if(C(X)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${Q}: ${W(X)}`),p(X),null}}async function EJ(J,Q,V){let X=await O(J,Q);if(!X)return null;let Z={...X,...V,id:Q},Y=A(J,Q);return await b(Y,v(Z,null,2)),U(),Z}async function j(J,Q,V){let X=A(J,Q);if(!await O(J,Q))return null;let Y;try{return Y=await S(X,P),await EJ(J,Q,V)}finally{await Y?.()}}async function SQ(J,Q){let V=A(J,Q);try{let X=parseInt(Q,10);if(!isNaN(X)){let Y=await g(J);if(X>Y)await RJ(J,X)}try{await qJ(V)}catch(Y){if(C(Y)==="ENOENT")return!1;throw Y}let Z=await h(J);for(let Y of Z){let $=Y.blocks.filter((K)=>K!==Q),q=Y.blockedBy.filter((K)=>K!==Q);if($.length!==Y.blocks.length||q.length!==Y.blockedBy.length)await j(J,Y.id,{blocks:$,blockedBy:q})}return U(),!0}catch{return!1}}async function h(J){let Q=E(J),V;try{V=await l(Q)}catch{return[]}let X=V.filter((Y)=>Y.endsWith(".json")).map((Y)=>Y.replace(".json",""));return(await Promise.all(X.map((Y)=>O(J,Y)))).filter((Y)=>Y!==null)}async function AQ(J,Q,V){let[X,Z]=await Promise.all([O(J,Q),O(J,V)]);if(!X||!Z)return!1;if(!X.blocks.includes(V))await j(J,Q,{blocks:[...X.blocks,V]});if(!Z.blockedBy.includes(Q))await j(J,V,{blockedBy:[...Z.blockedBy,Q]});return!0}function LJ(J){return D(E(J),".lock")}async function o(J){await bJ(J);let Q=LJ(J);try{await b(Q,"",{flag:"wx"})}catch{}return Q}async function zQ(J,Q,V,X={}){let Z=A(J,Q);if(!await O(J,Q))return{success:!1,reason:"task_not_found"};if(X.checkAgentBusy)return uJ(J,Q,V);let $;try{$=await S(Z,P);let q=await O(J,Q);if(!q)return{success:!1,reason:"task_not_found"};if(q.owner&&q.owner!==V)return{success:!1,reason:"already_claimed",task:q};if(q.status==="completed")return{success:!1,reason:"already_resolved",task:q};let K=await h(J),B=new Set(K.filter((z)=>z.status!=="completed").map((z)=>z.id)),N=q.blockedBy.filter((z)=>B.has(z));if(N.length>0)return{success:!1,reason:"blocked",task:q,blockedByTasks:N};return{success:!0,task:await EJ(J,Q,{owner:V})}}catch(q){return G(`[Tasks] Failed to claim task ${Q}: ${W(q)}`),p(q),{success:!1,reason:"task_not_found"}}finally{if($)await $()}}async function uJ(J,Q,V){let X=await o(J),Z;try{Z=await S(X,P);let Y=await h(J),$=Y.find((_)=>_.id===Q);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==V)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let q=new Set(Y.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=$.blockedBy.filter((_)=>q.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:K};let B=Y.filter((_)=>_.status!=="completed"&&_.owner===V&&_.id!==Q);if(B.length>0)return{success:!1,reason:"agent_busy",task:$,busyWithTasks:B.map((_)=>_.id)};return{success:!0,task:await j(J,Q,{owner:V})}}catch(Y){return G(`[Tasks] Failed to claim task ${Q} with busy check: ${W(Y)}`),p(Y),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function MQ(J,Q,V,X){let Y=(await h(J)).filter((K)=>K.status!=="completed"&&(K.owner===Q||K.owner===V));for(let K of Y)await j(J,K.id,{owner:void 0,status:"pending"});if(Y.length>0)G(`[Tasks] Unassigned ${Y.length} task(s) from ${V}`);let q=`${V} ${X==="terminated"?"was terminated":"has shut down"}.`;if(Y.length>0){let K=Y.map((B)=>`#${B.id} "${B.subject}"`).join(", ");q+=` ${Y.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:Y.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:q}}var GJ,M,BQ,fJ,pJ,cJ=".highwatermark",P;var HJ=T(()=>{VJ();m();jJ();QJ();a();e();XJ();yJ();wJ();MJ();JJ();ZJ();DJ();GJ=r();BQ=GJ.subscribe;fJ=w(()=>R.enum(["pending","in_progress","completed"])),pJ=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:fJ(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),P={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function n(J){return J==="tmux"||J==="iterm2"}var UJ=()=>{};import{mkdirSync as IJ,readFileSync as lJ,writeFileSync as gJ}from"fs";import{mkdir as oJ,readFile as AJ,rm as k,writeFile as nJ}from"fs/promises";import{join as f}from"path";function zJ(J){return J.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function nQ(J){return J.replace(/@/g,"-")}function u(J){return f(I(),zJ(J))}function F(J){return f(u(J),"config.json")}function H(J){try{let Q=lJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}async function kJ(J){try{let Q=await AJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}function x(J,Q){let V=u(J);IJ(V,{recursive:!0}),gJ(F(J),v(Q,null,2))}async function rJ(J,Q){let V=u(J);await oJ(V,{recursive:!0}),await nJ(F(J),v(Q,null,2))}function kQ(J,Q){let V=Q.agentId||Q.name;if(!V)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let X=H(J);if(!X)return G(`[TeammateTool] Cannot remove teammate ${V}: failed to read team file for "${J}"`),!1;let Z=X.members.length;if(X.members=X.members.filter((Y)=>{if(Q.agentId&&Y.agentId===Q.agentId)return!1;if(Q.name&&Y.name===Q.name)return!1;return!0}),X.members.length===Z)return G(`[TeammateTool] Teammate ${V} not found in team file for "${J}"`),!1;return x(J,X),G(`[TeammateTool] Removed teammate from team file: ${V}`),!0}function rQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[];if(!X.includes(Q))X.push(Q),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Added ${Q} to hidden panes for team ${J}`);return!0}function dQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[],Z=X.indexOf(Q);if(Z!==-1)X.splice(Z,1),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Removed ${Q} from hidden panes for team ${J}`);return!0}function iQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.tmuxPaneId===Q);if(X===-1)return!1;if(V.members.splice(X,1),V.hiddenPaneIds){let Z=V.hiddenPaneIds.indexOf(Q);if(Z!==-1)V.hiddenPaneIds.splice(Z,1)}return x(J,V),G(`[TeammateTool] Removed member with pane ${Q} from team ${J}`),!0}function mQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.agentId===Q);if(X===-1)return!1;return V.members.splice(X,1),x(J,V),G(`[TeammateTool] Removed member ${Q} from team ${J}`),!0}function dJ(J,Q,V){let X=H(J);if(!X)return!1;let Z=X.members.find(($)=>$.name===Q);if(!Z)return G(`[TeammateTool] Cannot set member mode: member ${Q} not found in team ${J}`),!1;if(Z.mode===V)return!0;let Y=X.members.map(($)=>$.name===Q?{...$,mode:V}:$);return x(J,{...X,members:Y}),G(`[TeammateTool] Set member ${Q} in team ${J} to mode: ${V}`),!0}function sQ(J,Q){if(!SJ())return;let V=Q??c(),X=vJ();if(V&&X)dJ(V,X,J)}function tQ(J,Q){let V=H(J);if(!V)return!1;let X=new Map(Q.map(($)=>[$.memberName,$.mode])),Z=!1,Y=V.members.map(($)=>{let q=X.get($.name);if(q!==void 0&&$.mode!==q)return Z=!0,{...$,mode:q};return $});if(Z)x(J,{...V,members:Y}),G(`[TeammateTool] Set ${Q.length} member modes in team ${J}`);return!0}async function aQ(J,Q,V){let X=await kJ(J);if(!X){G(`[TeammateTool] Cannot set member active: team ${J} not found`);return}let Z=X.members.find((Y)=>Y.name===Q);if(!Z){G(`[TeammateTool] Cannot set member active: member ${Q} not found in team ${J}`);return}if(Z.isActive===V)return;Z.isActive=V,await rJ(J,X),G(`[TeammateTool] Set member ${Q} in team ${J} to ${V?"active":"idle"}`)}async function iJ(J){let Q=f(J,".git"),V=null;try{let Z=(await AJ(Q,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Z&&Z[1]){let Y=Z[1],$=f(Y,"..","..");V=f($,"..")}}catch{}if(V){let X=await OJ(xJ(),["worktree","remove","--force",J],{cwd:V});if(X.code===0){G(`[TeammateTool] Removed worktree via git: ${J}`);return}if(X.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${J}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${X.stderr}`)}try{await k(J,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${J}`)}catch(X){G(`[TeammateTool] Failed to remove worktree ${J}: ${W(X)}`)}}function eQ(J){L().add(J)}function JV(J){L().delete(J)}async function QV(){let J=L();if(J.size===0)return;let Q=Array.from(J);G(`cleanupSessionTeams: removing ${Q.length} orphan team dir(s): ${Q.join(", ")}`),await Promise.allSettled(Q.map((V)=>mJ(V))),await Promise.allSettled(Q.map((V)=>sJ(V))),J.clear()}async function mJ(J){let Q=H(J);if(!Q)return;let V=Q.members.filter((q)=>q.name!==CJ&&q.tmuxPaneId&&q.backendType&&n(q.backendType));if(V.length===0)return;let[{ensureBackendsRegistered:X,getBackendByType:Z},{isInsideTmux:Y}]=await Promise.all([import("./registry-0.6.8-v7m02nk2.mjs"),import("./detection-0.6.8-pdrw5y2x.mjs")]);await X();let $=!await Y();await Promise.allSettled(V.map(async(q)=>{if(!q.tmuxPaneId||!q.backendType||!n(q.backendType))return;let K=await Z(q.backendType).killPane(q.tmuxPaneId,$);G(`cleanupSessionTeams: killPane ${q.name} (${q.backendType} ${q.tmuxPaneId}) → ${K}`)}))}async function sJ(J){let Q=zJ(J),V=H(J),X=[];if(V){for(let $ of V.members)if($.worktreePath)X.push($.worktreePath)}for(let $ of X)await iJ($);let Z=u(J);try{await k(Z,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Z}`)}catch($){G(`[TeammateTool] Failed to clean up team directory ${Z}: ${W($)}`)}let Y=E(Q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${Y}`),U()}catch($){G(`[TeammateTool] Failed to clean up tasks directory ${Y}: ${W($)}`)}}var oQ;var tJ=T(()=>{VJ();m();QJ();a();e();FJ();NJ();XJ();JJ();HJ();ZJ();UJ();TJ();oQ=w(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
|
|
2
|
+
export{HQ as xT,UQ as yT,BQ as zT,fJ as AT,OQ as BT,xQ as CT,CQ as DT,_J as ET,E as FT,bJ as GT,vQ as HT,O as IT,j as JT,SQ as KT,h as LT,AQ as MT,zQ as NT,MQ as OT,HJ as PT,n as QT,UJ as RT,oQ as ST,zJ as TT,nQ as UT,u as VT,F as WT,H as XT,kJ as YT,rJ as ZT,kQ as _T,rQ as $T,dQ as aU,iQ as bU,mQ as cU,dJ as dU,sQ as eU,tQ as fU,aQ as gU,eQ as hU,JV as iU,QV as jU,sJ as kU,tJ as lU};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{lF as h,nF as I,yn as g,zn as k}from"./cli-0.6.8-883y3p0j.mjs";import{DX as S,DZ as _,_Y as s}from"./cli-0.6.8-vf9cagcj.mjs";import{J1 as c,K1 as m,L1 as T}from"./cli-0.6.8-jx1wvs6x.mjs";import{Hca as P,jca as b}from"./cli-0.6.8-vpaw67v2.mjs";import{Hpa as D}from"./cli-0.6.8-259kprym.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
|
|
2
|
+
export{E as N};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{Lpa as j}from"./cli-0.6.8-259kprym.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
|
|
2
|
+
`:`
|
|
3
|
+
`)+z,H=D+1,D=q.indexOf(`
|
|
4
|
+
`,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
|
|
5
|
+
`);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
|
|
6
|
+
export{o as L6,O1 as M6,e as N6};
|