@claudiolabs/claudin 1.1.9 → 1.1.11
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-1.1.11-k2q6nh9x.mjs +1 -0
- package/dist/chunks/App-1.1.11-krv6wwgp.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.11-9s811hbz.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.11-basm4sc7.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.11-aejfbb8x.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.11-3wxr3fz9.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.11-b4v59b23.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.11-e3abm4me.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.11-aswpafrn.mjs +6 -0
- package/dist/chunks/Doctor-1.1.11-jfetmc28.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.11-sn8jmt3x.mjs +6 -0
- package/dist/chunks/Grove-1.1.11-f2zsmd4t.mjs +1 -0
- package/dist/chunks/ITermBackend-1.1.11-7ga25209.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.11-vcp6js2b.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.11-qqr3ve61.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.11-z6eadsg8.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.11-16z484ph.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.11-tv77qzrq.mjs +1 -0
- package/dist/chunks/REPL-1.1.11-eft2tx7z.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.11-hc55dc65.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.11-j4b72t5c.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.11-d2ata0wm.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.11-3gr88x6n.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.11-xf144qy6.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.11-76y2a4zz.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.11-sxwd1d13.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.11-pbh6yxxm.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.11-saggs5cv.mjs +1 -0
- package/dist/chunks/add-dir-1.1.11-4tgfptar.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.11-af225gtm.mjs +1 -0
- package/dist/chunks/agents-1.1.11-0wy5khvz.mjs +3 -0
- package/dist/chunks/agents-1.1.11-40dk22tt.mjs +110 -0
- package/dist/chunks/api-1.1.11-pxj1yw19.mjs +1 -0
- package/dist/chunks/asciicast-1.1.11-wmt09xhy.mjs +1 -0
- package/dist/chunks/assistant-1.1.11-tqk05t61.mjs +1 -0
- package/dist/chunks/auth-1.1.11-nvrxv4q4.mjs +1 -0
- package/dist/chunks/auth-1.1.11-pbwjnx30.mjs +1 -0
- package/dist/chunks/autoMode-1.1.11-22v33wd4.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.11-pqjz5g38.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.11-9xjtajrq.mjs +1 -0
- package/dist/chunks/branch-1.1.11-76tya9ft.mjs +4 -0
- package/dist/chunks/bridge-1.1.11-1m3v2n3k.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.11-fp43q2e3.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.11-tqm667fa.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.11-hg46g911.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.11-1yn4135t.mjs +1 -0
- package/dist/chunks/btw-1.1.11-1m97zkn4.mjs +1 -0
- package/dist/chunks/buddy-1.1.11-ymv78npp.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.11-zyrqae8j.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.11-xq2pyhs3.mjs +4 -0
- package/dist/chunks/caches-1.1.11-rx01cbpj.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.11-hcxt0dw3.mjs +1 -0
- package/dist/chunks/claudemd-1.1.11-8xr3pty5.mjs +1 -0
- package/dist/chunks/clear-1.1.11-bj5qfbw4.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.11-5ttzjadf.mjs +1 -0
- package/dist/chunks/cli-1.1.11-00rqxf9s.mjs +2 -0
- package/dist/chunks/cli-1.1.11-0djzxjkz.mjs +2 -0
- package/dist/chunks/cli-1.1.11-0e0p0ywy.mjs +2 -0
- package/dist/chunks/cli-1.1.11-0mhwtkaa.mjs +3 -0
- package/dist/chunks/cli-1.1.11-0vywa3gz.mjs +3 -0
- package/dist/chunks/cli-1.1.11-0x3jb16g.mjs +2 -0
- package/dist/chunks/cli-1.1.11-0zmfx6fs.mjs +2 -0
- package/dist/chunks/cli-1.1.11-1425gpc8.mjs +2 -0
- package/dist/chunks/cli-1.1.11-1515mm11.mjs +21 -0
- package/dist/chunks/cli-1.1.11-178h39tz.mjs +24 -0
- package/dist/chunks/cli-1.1.11-17j0yz1c.mjs +2 -0
- package/dist/chunks/cli-1.1.11-1fkcr5gp.mjs +2 -0
- package/dist/chunks/cli-1.1.11-1he1em03.mjs +2 -0
- package/dist/chunks/cli-1.1.11-1jp85542.mjs +6 -0
- package/dist/chunks/cli-1.1.11-23hz9e80.mjs +59 -0
- package/dist/chunks/cli-1.1.11-2480c28s.mjs +42 -0
- package/dist/chunks/cli-1.1.11-2m78tg8p.mjs +2 -0
- package/dist/chunks/cli-1.1.11-333vj9h0.mjs +6 -0
- package/dist/chunks/cli-1.1.11-3gv2s1c0.mjs +3 -0
- package/dist/chunks/cli-1.1.11-3jw12y1k.mjs +6 -0
- package/dist/chunks/cli-1.1.11-3n6xajnz.mjs +2 -0
- package/dist/chunks/cli-1.1.11-3p62a4zk.mjs +2 -0
- package/dist/chunks/cli-1.1.11-3p6nmjzx.mjs +4 -0
- package/dist/chunks/cli-1.1.11-3re050dw.mjs +2 -0
- package/dist/chunks/cli-1.1.11-3y3ak28a.mjs +2 -0
- package/dist/chunks/cli-1.1.11-47crfax7.mjs +2 -0
- package/dist/chunks/cli-1.1.11-4a192z90.mjs +2 -0
- package/dist/chunks/cli-1.1.11-4a4wbqs3.mjs +2 -0
- package/dist/chunks/cli-1.1.11-4h9jnkae.mjs +2 -0
- package/dist/chunks/cli-1.1.11-4hkr6h2p.mjs +2 -0
- package/dist/chunks/cli-1.1.11-4m87wr6c.mjs +45 -0
- package/dist/chunks/cli-1.1.11-4pqmwv4k.mjs +9 -0
- package/dist/chunks/cli-1.1.11-4x7gdf33.mjs +2 -0
- package/dist/chunks/cli-1.1.11-4yg477hw.mjs +2 -0
- package/dist/chunks/cli-1.1.11-54kmn08f.mjs +2 -0
- package/dist/chunks/cli-1.1.11-5716x6c7.mjs +2 -0
- package/dist/chunks/cli-1.1.11-57kjeck2.mjs +2 -0
- package/dist/chunks/cli-1.1.11-5ee40chc.mjs +2 -0
- package/dist/chunks/cli-1.1.11-5evw05k8.mjs +2 -0
- package/dist/chunks/cli-1.1.11-5mcr3f8x.mjs +2 -0
- package/dist/chunks/cli-1.1.11-6ancr21h.mjs +2 -0
- package/dist/chunks/cli-1.1.11-6kk88f11.mjs +4 -0
- package/dist/chunks/cli-1.1.11-6kp3wff0.mjs +3 -0
- package/dist/chunks/cli-1.1.11-6pgzp38k.mjs +2 -0
- package/dist/chunks/cli-1.1.11-6tyfa5hn.mjs +2 -0
- package/dist/chunks/cli-1.1.11-754rwfhh.mjs +2 -0
- package/dist/chunks/cli-1.1.11-7c5dnjyh.mjs +2 -0
- package/dist/chunks/cli-1.1.11-7fqzppxh.mjs +2 -0
- package/dist/chunks/cli-1.1.11-7h7exk8z.mjs +39 -0
- package/dist/chunks/cli-1.1.11-7ns0vhby.mjs +2 -0
- package/dist/chunks/cli-1.1.11-7vtjz4fp.mjs +2 -0
- package/dist/chunks/cli-1.1.11-80jnvwd3.mjs +2 -0
- package/dist/chunks/cli-1.1.11-80y1y33h.mjs +2 -0
- package/dist/chunks/cli-1.1.11-88pynw50.mjs +2 -0
- package/dist/chunks/cli-1.1.11-8j1jeg3y.mjs +2 -0
- package/dist/chunks/cli-1.1.11-8t6wwjcf.mjs +2 -0
- package/dist/chunks/cli-1.1.11-8vmf6185.mjs +2 -0
- package/dist/chunks/cli-1.1.11-99dgyvn6.mjs +5 -0
- package/dist/chunks/cli-1.1.11-9gtaqe5z.mjs +2 -0
- package/dist/chunks/cli-1.1.11-9q076mg1.mjs +2 -0
- package/dist/chunks/cli-1.1.11-9v76e0nn.mjs +3 -0
- package/dist/chunks/cli-1.1.11-9xepp7cw.mjs +2 -0
- package/dist/chunks/cli-1.1.11-9yb6m13t.mjs +2 -0
- package/dist/chunks/cli-1.1.11-a4we9vgp.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ay57kj7t.mjs +2 -0
- package/dist/chunks/cli-1.1.11-aydwe9xx.mjs +8 -0
- package/dist/chunks/cli-1.1.11-azaecepr.mjs +2 -0
- package/dist/chunks/cli-1.1.11-b0bsxy6e.mjs +2 -0
- package/dist/chunks/cli-1.1.11-brfrsyj3.mjs +2 -0
- package/dist/chunks/cli-1.1.11-c2kpn3fs.mjs +2 -0
- package/dist/chunks/cli-1.1.11-c566maxh.mjs +6 -0
- package/dist/chunks/cli-1.1.11-c8yn2sy4.mjs +12 -0
- package/dist/chunks/cli-1.1.11-c9mw7vaf.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ceb5eb1e.mjs +4 -0
- package/dist/chunks/cli-1.1.11-cetgmfd3.mjs +2 -0
- package/dist/chunks/cli-1.1.11-cfd7wcsr.mjs +2 -0
- package/dist/chunks/cli-1.1.11-cj1nzqdk.mjs +6 -0
- package/dist/chunks/cli-1.1.11-ctd6he1r.mjs +2 -0
- package/dist/chunks/cli-1.1.11-cyt97t1g.mjs +2 -0
- package/dist/chunks/cli-1.1.11-d8vrh841.mjs +2 -0
- package/dist/chunks/cli-1.1.11-dcv6a2kq.mjs +2 -0
- package/dist/chunks/cli-1.1.11-dfssr6vt.mjs +2 -0
- package/dist/chunks/cli-1.1.11-dfx7qnxc.mjs +2 -0
- package/dist/chunks/cli-1.1.11-dnp18qxm.mjs +2 -0
- package/dist/chunks/cli-1.1.11-dygnwf66.mjs +2 -0
- package/dist/chunks/cli-1.1.11-dzq0mt2q.mjs +2 -0
- package/dist/chunks/cli-1.1.11-e1nmsb3e.mjs +2 -0
- package/dist/chunks/cli-1.1.11-e5yvpr5d.mjs +133 -0
- package/dist/chunks/cli-1.1.11-e8f5j5pp.mjs +20 -0
- package/dist/chunks/cli-1.1.11-e9h0r9s8.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ecfegt2j.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ef7cg4xt.mjs +2 -0
- package/dist/chunks/cli-1.1.11-en4s7zr1.mjs +2 -0
- package/dist/chunks/cli-1.1.11-epajg619.mjs +2 -0
- package/dist/chunks/cli-1.1.11-erfvptpc.mjs +2 -0
- package/dist/chunks/cli-1.1.11-et6r8n19.mjs +12 -0
- package/dist/chunks/cli-1.1.11-ex37fv7p.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ezt5j484.mjs +7 -0
- package/dist/chunks/cli-1.1.11-fcxz5772.mjs +4 -0
- package/dist/chunks/cli-1.1.11-fmb9eedn.mjs +2 -0
- package/dist/chunks/cli-1.1.11-fmy9jwdc.mjs +3 -0
- package/dist/chunks/cli-1.1.11-g0shs4yx.mjs +17 -0
- package/dist/chunks/cli-1.1.11-g38vgb2g.mjs +2 -0
- package/dist/chunks/cli-1.1.11-g9cesn9x.mjs +2 -0
- package/dist/chunks/cli-1.1.11-gnbty7hn.mjs +9 -0
- package/dist/chunks/cli-1.1.11-gnws5v1r.mjs +15 -0
- package/dist/chunks/cli-1.1.11-gyvneb2n.mjs +2 -0
- package/dist/chunks/cli-1.1.11-hazm6rky.mjs +17 -0
- package/dist/chunks/cli-1.1.11-hbvz2ngt.mjs +2 -0
- package/dist/chunks/cli-1.1.11-j4ym4b26.mjs +2 -0
- package/dist/chunks/cli-1.1.11-jc61pe1h.mjs +15 -0
- package/dist/chunks/cli-1.1.11-jejkqxzx.mjs +2 -0
- package/dist/chunks/cli-1.1.11-js75fbb2.mjs +2 -0
- package/dist/chunks/cli-1.1.11-jt8v99mz.mjs +2 -0
- package/dist/chunks/cli-1.1.11-jvyac5ts.mjs +2 -0
- package/dist/chunks/cli-1.1.11-jzhj2z0q.mjs +4 -0
- package/dist/chunks/cli-1.1.11-jzmj7yys.mjs +18 -0
- package/dist/chunks/cli-1.1.11-k3691mq1.mjs +1 -0
- package/dist/chunks/cli-1.1.11-k7pcdfgm.mjs +2 -0
- package/dist/chunks/cli-1.1.11-k8shpmad.mjs +2 -0
- package/dist/chunks/cli-1.1.11-kj2dg4vg.mjs +2 -0
- package/dist/chunks/cli-1.1.11-kwbasdd3.mjs +2 -0
- package/dist/chunks/cli-1.1.11-m117ak01.mjs +58 -0
- package/dist/chunks/cli-1.1.11-m3mwsg1h.mjs +5 -0
- package/dist/chunks/cli-1.1.11-m4kdt922.mjs +3 -0
- package/dist/chunks/cli-1.1.11-m79xp4zw.mjs +50 -0
- package/dist/chunks/cli-1.1.11-m7dz7jb4.mjs +2 -0
- package/dist/chunks/cli-1.1.11-mjhzsr8x.mjs +2 -0
- package/dist/chunks/cli-1.1.11-mpr8grgt.mjs +6 -0
- package/dist/chunks/cli-1.1.11-n797shcy.mjs +24 -0
- package/dist/chunks/cli-1.1.11-n9eddt48.mjs +133 -0
- package/dist/chunks/cli-1.1.11-na2dfshq.mjs +4 -0
- package/dist/chunks/cli-1.1.11-nbdb2har.mjs +15 -0
- package/dist/chunks/cli-1.1.11-nfcb5zpv.mjs +24 -0
- package/dist/chunks/cli-1.1.11-ng71jh69.mjs +2 -0
- package/dist/chunks/cli-1.1.11-nnxrj2y7.mjs +2 -0
- package/dist/chunks/cli-1.1.11-nqrzeek1.mjs +2 -0
- package/dist/chunks/cli-1.1.11-nsf7da8p.mjs +25 -0
- package/dist/chunks/cli-1.1.11-p0gdcdg7.mjs +2 -0
- package/dist/chunks/cli-1.1.11-p99a0wsg.mjs +2 -0
- package/dist/chunks/cli-1.1.11-pfnjpp3j.mjs +2 -0
- package/dist/chunks/cli-1.1.11-qd78ng67.mjs +2 -0
- package/dist/chunks/cli-1.1.11-qe68985c.mjs +2 -0
- package/dist/chunks/cli-1.1.11-qxqfwjt2.mjs +12 -0
- package/dist/chunks/cli-1.1.11-qy572ahv.mjs +2 -0
- package/dist/chunks/cli-1.1.11-r6pat8w9.mjs +2 -0
- package/dist/chunks/cli-1.1.11-r6zppx5e.mjs +2 -0
- package/dist/chunks/cli-1.1.11-r737sg77.mjs +2 -0
- package/dist/chunks/cli-1.1.11-re35m5b2.mjs +3 -0
- package/dist/chunks/cli-1.1.11-rm1ytz6k.mjs +2 -0
- package/dist/chunks/cli-1.1.11-s3x93993.mjs +2 -0
- package/dist/chunks/cli-1.1.11-s5fsvj2a.mjs +2 -0
- package/dist/chunks/cli-1.1.11-sby4j4da.mjs +3 -0
- package/dist/chunks/cli-1.1.11-se1r4vmz.mjs +2 -0
- package/dist/chunks/cli-1.1.11-sen20m7k.mjs +2 -0
- package/dist/chunks/cli-1.1.11-smfhs04w.mjs +3 -0
- package/dist/chunks/cli-1.1.11-sph0eaqc.mjs +4 -0
- package/dist/chunks/cli-1.1.11-sptbkfhb.mjs +2 -0
- package/dist/chunks/cli-1.1.11-sxe5a6ht.mjs +2 -0
- package/dist/chunks/cli-1.1.11-sycyfbqa.mjs +2 -0
- package/dist/chunks/cli-1.1.11-t4vzh54z.mjs +2 -0
- package/dist/chunks/cli-1.1.11-t6xvy5kh.mjs +2 -0
- package/dist/chunks/cli-1.1.11-t95hn521.mjs +2 -0
- package/dist/chunks/cli-1.1.11-tg2x8my7.mjs +4 -0
- package/dist/chunks/cli-1.1.11-th7d92cz.mjs +2 -0
- package/dist/chunks/cli-1.1.11-tqtf5qtz.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ty1grp21.mjs +2 -0
- package/dist/chunks/cli-1.1.11-tzw8k1nw.mjs +2 -0
- package/dist/chunks/cli-1.1.11-v0qc9e7x.mjs +2 -0
- package/dist/chunks/cli-1.1.11-v9gb0h1v.mjs +2 -0
- package/dist/chunks/cli-1.1.11-vcbj9ns4.mjs +2 -0
- package/dist/chunks/cli-1.1.11-vdh094gb.mjs +2 -0
- package/dist/chunks/cli-1.1.11-vkw5s1rv.mjs +4 -0
- package/dist/chunks/cli-1.1.11-vqcm2p2k.mjs +3 -0
- package/dist/chunks/cli-1.1.11-vtj7f6xe.mjs +34 -0
- package/dist/chunks/cli-1.1.11-w50fh65p.mjs +2 -0
- package/dist/chunks/cli-1.1.11-wf1jrvag.mjs +2 -0
- package/dist/chunks/cli-1.1.11-wjhta14d.mjs +3 -0
- package/dist/chunks/cli-1.1.11-wkmpy3a6.mjs +2 -0
- package/dist/chunks/cli-1.1.11-wrvqk2kb.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ws3mhebq.mjs +2 -0
- package/dist/chunks/cli-1.1.11-wsr8n6yx.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ww3qs66m.mjs +2 -0
- package/dist/chunks/cli-1.1.11-wzd4xr4g.mjs +2 -0
- package/dist/chunks/cli-1.1.11-x1cwe9h2.mjs +2 -0
- package/dist/chunks/cli-1.1.11-x2px8b33.mjs +4 -0
- package/dist/chunks/cli-1.1.11-x3d1641w.mjs +66 -0
- package/dist/chunks/cli-1.1.11-x4yq8238.mjs +2 -0
- package/dist/chunks/cli-1.1.11-xa1ktjvc.mjs +18 -0
- package/dist/chunks/cli-1.1.11-xdf6ka1p.mjs +3 -0
- package/dist/chunks/cli-1.1.11-xmp31p4m.mjs +2 -0
- package/dist/chunks/cli-1.1.11-xw1gtf4q.mjs +2 -0
- package/dist/chunks/cli-1.1.11-y8jb9ka1.mjs +5382 -0
- package/dist/chunks/cli-1.1.11-ybqaxmsq.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ygstc2fh.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ys88pb52.mjs +2 -0
- package/dist/chunks/cli-1.1.11-ys8qbdxp.mjs +4 -0
- package/dist/chunks/cli-1.1.11-ytd49283.mjs +16 -0
- package/dist/chunks/cli-1.1.11-yv8jze8x.mjs +3 -0
- package/dist/chunks/cli-1.1.11-yx7hmc5y.mjs +24 -0
- package/dist/chunks/cli-1.1.11-yz3byxtx.mjs +202 -0
- package/dist/chunks/cli-1.1.11-z02dbt8v.mjs +25 -0
- package/dist/chunks/cli-1.1.11-z08c87k7.mjs +2 -0
- package/dist/chunks/cli-1.1.11-zmkfqsfj.mjs +2 -0
- package/dist/chunks/cli-1.1.11-zz43hz3c.mjs +2 -0
- package/dist/chunks/client-1.1.11-4fds5q8p.mjs +1 -0
- package/dist/chunks/color-1.1.11-1pjrfnnd.mjs +1 -0
- package/dist/chunks/compact-1.1.11-qvdk635a.mjs +3 -0
- package/dist/chunks/config-1.1.11-3yh6sp7r.mjs +1 -0
- package/dist/chunks/config-1.1.11-qs94ayha.mjs +1 -0
- package/dist/chunks/constants-1.1.11-6f5wtx0e.mjs +1 -0
- package/dist/chunks/context-1.1.11-v76cyrq1.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.11-59s91h4x.mjs +1 -0
- package/dist/chunks/conversation-1.1.11-ve2rcdbk.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.11-awc75paz.mjs +1 -0
- package/dist/chunks/copy-1.1.11-t2yhcnhs.mjs +9 -0
- package/dist/chunks/cost-1.1.11-3qfqxkmj.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.11-d1a5c6qx.mjs +1 -0
- package/dist/chunks/createSession-1.1.11-tepvp40s.mjs +1 -0
- package/dist/chunks/debug-1.1.11-2tghvx1n.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.11-35s0feaf.mjs +1526 -0
- package/dist/chunks/desktop-1.1.11-hwbpq9hq.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.11-1p7kjee0.mjs +1 -0
- package/dist/chunks/detection-1.1.11-96xrmjq1.mjs +1 -0
- package/dist/chunks/diff-1.1.11-13e093sy.mjs +1 -0
- package/dist/chunks/doctor-1.1.11-r1xwax5q.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.11-05h9mhbd.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.11-14kzyy0e.mjs +1 -0
- package/dist/chunks/effort-1.1.11-9avhwp0f.mjs +13 -0
- package/dist/chunks/engine-1.1.11-j24ha45k.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.11-3xh8n4ys.mjs +1 -0
- package/dist/chunks/envUtils-1.1.11-ef7e3q7c.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.11-hxdx739y.mjs +1 -0
- package/dist/chunks/environments-1.1.11-356znhvc.mjs +1 -0
- package/dist/chunks/errors-1.1.11-ev387w5m.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.11-pejs7gw9.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.11-4s6hv328.mjs +1 -0
- package/dist/chunks/exit-1.1.11-v9psfac6.mjs +1 -0
- package/dist/chunks/explorer-1.1.11-e3f0wt2q.mjs +1 -0
- package/dist/chunks/export-1.1.11-3jan1p2n.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.11-3zfk19wt.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.11-ye9dcmbd.mjs +1 -0
- package/dist/chunks/fast-1.1.11-q42apmz5.mjs +1 -0
- package/dist/chunks/feedback-1.1.11-dtj0sby7.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.11-jy7cazzp.mjs +1 -0
- package/dist/chunks/git-1.1.11-x9yx65c5.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.11-bqkgby97.mjs +1 -0
- package/dist/chunks/goal-1.1.11-q2hpatj3.mjs +4 -0
- package/dist/chunks/grove-1.1.11-qxybpwre.mjs +1 -0
- package/dist/chunks/growthbook-1.1.11-3vnmw48g.mjs +1 -0
- package/dist/chunks/headless-1.1.11-w0ppk4vt.mjs +2 -0
- package/dist/chunks/heapdump-1.1.11-vh3qr7jg.mjs +6 -0
- package/dist/chunks/help-1.1.11-p384dp1z.mjs +1 -0
- package/dist/chunks/hookChains-1.1.11-088ye0xc.mjs +3 -0
- package/dist/chunks/hooks-1.1.11-4kkgc487.mjs +79 -0
- package/dist/chunks/hooks-1.1.11-a7p1se3t.mjs +1 -0
- package/dist/chunks/ide-1.1.11-n0zzy5nx.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.11-5xcxbnxj.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.11-y9exjc82.mjs +1 -0
- package/dist/chunks/index-1.1.11-03mzh565.mjs +1 -0
- package/dist/chunks/index-1.1.11-2yms0cys.mjs +1 -0
- package/dist/chunks/index-1.1.11-40px18hy.mjs +2 -0
- package/dist/chunks/index-1.1.11-4nqea2zz.mjs +1 -0
- package/dist/chunks/index-1.1.11-5gttv5kf.mjs +1 -0
- package/dist/chunks/index-1.1.11-68ffeh9a.mjs +1 -0
- package/dist/chunks/index-1.1.11-804qa6by.mjs +1 -0
- package/dist/chunks/index-1.1.11-9pwqbn5r.mjs +1 -0
- package/dist/chunks/index-1.1.11-a3y2aekg.mjs +1 -0
- package/dist/chunks/index-1.1.11-a6z5v5rh.mjs +1 -0
- package/dist/chunks/index-1.1.11-drr89zt1.mjs +1 -0
- package/dist/chunks/index-1.1.11-es7vjyrm.mjs +1 -0
- package/dist/chunks/index-1.1.11-fb4zcaqa.mjs +9 -0
- package/dist/chunks/index-1.1.11-fe66h6cm.mjs +9 -0
- package/dist/chunks/index-1.1.11-fmj2fbg0.mjs +1 -0
- package/dist/chunks/index-1.1.11-ft8kdz1m.mjs +30 -0
- package/dist/chunks/index-1.1.11-g7s48r9e.mjs +1 -0
- package/dist/chunks/index-1.1.11-jg3wztnh.mjs +1 -0
- package/dist/chunks/index-1.1.11-k7y5wmy4.mjs +1 -0
- package/dist/chunks/index-1.1.11-qykdv19z.mjs +2 -0
- package/dist/chunks/index-1.1.11-v4wf2vaf.mjs +23 -0
- package/dist/chunks/index-1.1.11-v83fr53d.mjs +5 -0
- package/dist/chunks/index-1.1.11-wtdppc5t.mjs +1 -0
- package/dist/chunks/init-1.1.11-hmef4hjd.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.11-pwmx5fqy.mjs +1 -0
- package/dist/chunks/ink-1.1.11-jw026dnf.mjs +1 -0
- package/dist/chunks/insights-1.1.11-6dzm6fbk.mjs +870 -0
- package/dist/chunks/install-1.1.11-pmvq4tzr.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.11-6yraca1d.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.11-f7kv64nn.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.11-5vjxebja.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.11-7pncqt0h.mjs +1 -0
- package/dist/chunks/keybindings-1.1.11-t04nc417.mjs +2 -0
- package/dist/chunks/knowledge-1.1.11-14y01py7.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.11-0y248exe.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.11-281da8yy.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.11-smwnwfy1.mjs +1 -0
- package/dist/chunks/log-1.1.11-bg8ah9ag.mjs +1 -0
- package/dist/chunks/main-1.1.11-6myv71xs.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.11-g7a35vm9.mjs +1 -0
- package/dist/chunks/mcp-1.1.11-4pdz9q1w.mjs +17 -0
- package/dist/chunks/mcp-1.1.11-63cbatj7.mjs +1 -0
- package/dist/chunks/mcp-1.1.11-jr7ccm2q.mjs +4 -0
- package/dist/chunks/mcpb-1.1.11-w2vyza13.mjs +1 -0
- package/dist/chunks/memory-1.1.11-hfwa4d07.mjs +72 -0
- package/dist/chunks/model-1.1.11-m73f7dnk.mjs +1 -0
- package/dist/chunks/model-1.1.11-s35tcbyz.mjs +2 -0
- package/dist/chunks/node-1.1.11-h3t9a7m9.mjs +12 -0
- package/dist/chunks/oauth-1.1.11-z19rt783.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.11-hw1h9m6b.mjs +14 -0
- package/dist/chunks/output-style-1.1.11-9wars2zm.mjs +1 -0
- package/dist/chunks/package-L37ZVTF4-1.1.11-xdrqg8t2.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.11-1xctyq5g.mjs +1 -0
- package/dist/chunks/parser-1.1.11-hdctc99h.mjs +1 -0
- package/dist/chunks/passes-1.1.11-cyfzrm0v.mjs +1 -0
- package/dist/chunks/permissions-1.1.11-gmeavwga.mjs +1 -0
- package/dist/chunks/permissions-1.1.11-k82nchw7.mjs +3 -0
- package/dist/chunks/plan-1.1.11-113qc4m4.mjs +1 -0
- package/dist/chunks/plist-1.1.11-tn2gma22.mjs +1 -0
- package/dist/chunks/plugin-1.1.11-v8jsy700.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.11-ak2j3gqk.mjs +1 -0
- package/dist/chunks/plugins-1.1.11-ne541702.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.11-trzavag7.mjs +2 -0
- package/dist/chunks/print-1.1.11-438pp8v9.mjs +57 -0
- package/dist/chunks/privacy-settings-1.1.11-mn1z3vsm.mjs +1 -0
- package/dist/chunks/process-1.1.11-eyv3rsh3.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.11-mmp13p2q.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.11-0q3vxz7d.mjs +9 -0
- package/dist/chunks/prompt-1.1.11-r4p751ar.mjs +1 -0
- package/dist/chunks/prompt-1.1.11-yrfr0vn1.mjs +1 -0
- package/dist/chunks/prompts-1.1.11-qxywq1b7.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.11-h9k096sf.mjs +13 -0
- package/dist/chunks/provider-1.1.11-xwrj8dzx.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.11-dwy6je4r.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.11-5x71hcx3.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.11-cex3vev6.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.11-pa8cx5ka.mjs +34 -0
- package/dist/chunks/registry-1.1.11-3s5s5x2w.mjs +1 -0
- package/dist/chunks/release-notes-1.1.11-dcephgep.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.11-06znv97n.mjs +2 -0
- package/dist/chunks/remote-env-1.1.11-ycaxf826.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.11-3f2qdc67.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.11-yr9z4qxr.mjs +1 -0
- package/dist/chunks/rename-1.1.11-cjn09qj8.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.11-ym5wskq3.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.11-b5w7tmfr.mjs +1 -0
- package/dist/chunks/resume-1.1.11-nth616a4.mjs +2 -0
- package/dist/chunks/rewind-1.1.11-57ydss59.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.11-j9g626rf.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.11-pj37xkbn.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.11-ke832djs.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.11-fybgyn3j.mjs +1 -0
- package/dist/chunks/session-1.1.11-85hpfa2y.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.11-wkjk4q5q.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.11-9rq4xh7v.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.11-bmy7c4ce.mjs +1 -0
- package/dist/chunks/settings-1.1.11-x92a7782.mjs +1 -0
- package/dist/chunks/setup-1.1.11-ft54z574.mjs +5 -0
- package/dist/chunks/sinks-1.1.11-qj6hh6fq.mjs +1 -0
- package/dist/chunks/skills-1.1.11-yb1h8f1p.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.11-aymsv2q9.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.11-q539pk5f.mjs +1 -0
- package/dist/chunks/state-1.1.11-z5q89e5v.mjs +1 -0
- package/dist/chunks/stats-1.1.11-5tdk8rvw.mjs +6 -0
- package/dist/chunks/status-1.1.11-xnqp4j47.mjs +1 -0
- package/dist/chunks/stickers-1.1.11-qj2z8gxy.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.11-p65stpt5.mjs +1 -0
- package/dist/chunks/tasks-1.1.11-wxw0xx0j.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.11-60crs4z7.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.11-s3btrevg.mjs +1 -0
- package/dist/chunks/teleport-1.1.11-0xf6aa7g.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.11-pfz13me0.mjs +1 -0
- package/dist/chunks/theme-1.1.11-2p323zvq.mjs +1 -0
- package/dist/chunks/thinkback-1.1.11-s0m1n5ww.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.11-2sq4jkjt.mjs +1 -0
- package/dist/chunks/toolPool-1.1.11-je8wzeg0.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.11-w74d8xmb.mjs +1 -0
- package/dist/chunks/tools-1.1.11-y36gvdes.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.11-x8dc07e5.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.11-sr4p4fht.mjs +69 -0
- package/dist/chunks/types-1.1.11-hmv5s58r.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.11-k569tjhq.mjs +4 -0
- package/dist/chunks/update-1.1.11-p39vapmz.mjs +72 -0
- package/dist/chunks/upgrade-1.1.11-tbgxp1ct.mjs +1 -0
- package/dist/chunks/upload-1.1.11-2ww1n0bh.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.11-1y1aettm.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.11-6g43s7vc.mjs +1 -0
- package/dist/chunks/usage-1.1.11-q123k500.mjs +1 -0
- package/dist/chunks/util-1.1.11-vtdjcaqr.mjs +1 -0
- package/dist/chunks/utils-1.1.11-tratqgvk.mjs +1 -0
- package/dist/chunks/vim-1.1.11-07nhad2c.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.11-w662caa3.mjs +13 -0
- package/dist/chunks/watcher-1.1.11-jjk2rcc6.mjs +1 -0
- package/dist/chunks/wiki-1.1.11-kdevp06r.mjs +132 -0
- package/dist/chunks/workflows-1.1.11-s711sqq1.mjs +1 -0
- package/dist/chunks/worktree-1.1.11-y6c7aw7x.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.11-afx643vn.mjs +1 -0
- package/dist/chunks/wrapper-1.1.11-yx4yqang.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.9-wkz9sjmc.mjs +0 -1
- package/dist/chunks/App-1.1.9-xgs7khyz.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.9-7gfmxnyz.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.9-pf08j23x.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.9-4ze1tfxe.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.9-ztaz7kpc.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.9-hzpy5qvh.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.9-ajjzhfrp.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.9-m3n0bamd.mjs +0 -7
- package/dist/chunks/Doctor-1.1.9-74y6nka7.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.9-9av1q0k2.mjs +0 -6
- package/dist/chunks/Grove-1.1.9-me7gmbqp.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.9-776dpey8.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.9-gzyybqqn.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.9-e71y6pr4.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.9-4bkckq3q.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.9-d6c3hrvj.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.9-2dk7z5b6.mjs +0 -1
- package/dist/chunks/REPL-1.1.9-ds8mvm64.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.9-2z1ye829.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.9-68k8x7yf.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.9-anh2z73y.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.9-tedma9q3.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.9-3n1b2vrf.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.9-63awezwe.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.9-msa503cz.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.9-w058z417.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.9-t27aw1nb.mjs +0 -1
- package/dist/chunks/add-dir-1.1.9-dxvbnrfa.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.9-3kevh6af.mjs +0 -1
- package/dist/chunks/agents-1.1.9-eabf2wdc.mjs +0 -3
- package/dist/chunks/agents-1.1.9-nj93ac5m.mjs +0 -110
- package/dist/chunks/api-1.1.9-m1mrnd2p.mjs +0 -1
- package/dist/chunks/asciicast-1.1.9-d0kjtphm.mjs +0 -1
- package/dist/chunks/assistant-1.1.9-e3zkxz2m.mjs +0 -1
- package/dist/chunks/auth-1.1.9-8qm9p05y.mjs +0 -1
- package/dist/chunks/auth-1.1.9-gm4sybx1.mjs +0 -1
- package/dist/chunks/autoMode-1.1.9-p9fppced.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.9-m6etj2pr.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.9-4hvzygqr.mjs +0 -1
- package/dist/chunks/branch-1.1.9-wqszm8z2.mjs +0 -4
- package/dist/chunks/bridge-1.1.9-h886wtcd.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.9-ehv4dp42.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.9-8qkc9feq.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.9-1sdw2z47.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.9-bvwdykpj.mjs +0 -1
- package/dist/chunks/btw-1.1.9-sm4j5bt8.mjs +0 -1
- package/dist/chunks/buddy-1.1.9-fesnzyh6.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.9-6kzb7z5q.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.9-9j06fcrx.mjs +0 -4
- package/dist/chunks/caches-1.1.9-4g38wyxp.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.9-gd3bgkhe.mjs +0 -1
- package/dist/chunks/claudemd-1.1.9-7xr0h7qv.mjs +0 -1
- package/dist/chunks/clear-1.1.9-nadfsynk.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.9-48k9fftx.mjs +0 -1
- package/dist/chunks/cli-1.1.9-06k8vem7.mjs +0 -3
- package/dist/chunks/cli-1.1.9-0da4szeq.mjs +0 -2
- package/dist/chunks/cli-1.1.9-0dcyhvk3.mjs +0 -2
- package/dist/chunks/cli-1.1.9-0evqvwgb.mjs +0 -2
- package/dist/chunks/cli-1.1.9-0h7f33hw.mjs +0 -66
- package/dist/chunks/cli-1.1.9-0s7kmsaa.mjs +0 -6
- package/dist/chunks/cli-1.1.9-0w9c82qd.mjs +0 -2
- package/dist/chunks/cli-1.1.9-1932rbs7.mjs +0 -2
- package/dist/chunks/cli-1.1.9-1b1mw6v2.mjs +0 -6
- package/dist/chunks/cli-1.1.9-1ganj1qj.mjs +0 -1
- package/dist/chunks/cli-1.1.9-1gg4qe92.mjs +0 -4
- package/dist/chunks/cli-1.1.9-1q40zcz0.mjs +0 -2
- package/dist/chunks/cli-1.1.9-1ydmnrp6.mjs +0 -2
- package/dist/chunks/cli-1.1.9-223enqdr.mjs +0 -2
- package/dist/chunks/cli-1.1.9-22gp283h.mjs +0 -2
- package/dist/chunks/cli-1.1.9-260z6ry3.mjs +0 -3
- package/dist/chunks/cli-1.1.9-2t4pp98q.mjs +0 -133
- package/dist/chunks/cli-1.1.9-2wrs8key.mjs +0 -9
- package/dist/chunks/cli-1.1.9-2zeypqcv.mjs +0 -3
- package/dist/chunks/cli-1.1.9-3ajc04xt.mjs +0 -4
- package/dist/chunks/cli-1.1.9-3mgd7wkd.mjs +0 -20
- package/dist/chunks/cli-1.1.9-3nfhvvzw.mjs +0 -3
- package/dist/chunks/cli-1.1.9-3t9by3gn.mjs +0 -2
- package/dist/chunks/cli-1.1.9-4eqcxefk.mjs +0 -4
- package/dist/chunks/cli-1.1.9-4k5khbp0.mjs +0 -5
- package/dist/chunks/cli-1.1.9-4p8zymhf.mjs +0 -2
- package/dist/chunks/cli-1.1.9-4qctf8p1.mjs +0 -2
- package/dist/chunks/cli-1.1.9-4ygmyvas.mjs +0 -2
- package/dist/chunks/cli-1.1.9-4z0nxn7p.mjs +0 -3
- package/dist/chunks/cli-1.1.9-4z7ddbsc.mjs +0 -3
- package/dist/chunks/cli-1.1.9-573zndr8.mjs +0 -2
- package/dist/chunks/cli-1.1.9-5cr2dpgf.mjs +0 -2
- package/dist/chunks/cli-1.1.9-5hzaexj9.mjs +0 -2
- package/dist/chunks/cli-1.1.9-5v03p4xq.mjs +0 -2
- package/dist/chunks/cli-1.1.9-6a8pdm8s.mjs +0 -2
- package/dist/chunks/cli-1.1.9-6h5nwsn1.mjs +0 -18
- package/dist/chunks/cli-1.1.9-6kcc57kb.mjs +0 -42
- package/dist/chunks/cli-1.1.9-6mwsk9z2.mjs +0 -2
- package/dist/chunks/cli-1.1.9-6sv92w0b.mjs +0 -2
- package/dist/chunks/cli-1.1.9-79wdzxep.mjs +0 -4
- package/dist/chunks/cli-1.1.9-7y42yxmj.mjs +0 -2
- package/dist/chunks/cli-1.1.9-840ckwq8.mjs +0 -2
- package/dist/chunks/cli-1.1.9-890aswmq.mjs +0 -2
- package/dist/chunks/cli-1.1.9-8f0a6ved.mjs +0 -2
- package/dist/chunks/cli-1.1.9-8gkjdbxs.mjs +0 -202
- package/dist/chunks/cli-1.1.9-8gypdqm2.mjs +0 -2
- package/dist/chunks/cli-1.1.9-8sktt26v.mjs +0 -2
- package/dist/chunks/cli-1.1.9-8vfhjyxn.mjs +0 -2
- package/dist/chunks/cli-1.1.9-8xy2498p.mjs +0 -2
- package/dist/chunks/cli-1.1.9-8zhwfv3p.mjs +0 -2
- package/dist/chunks/cli-1.1.9-914mh2gv.mjs +0 -16
- package/dist/chunks/cli-1.1.9-97jvvqrz.mjs +0 -2
- package/dist/chunks/cli-1.1.9-98ypzgj0.mjs +0 -25
- package/dist/chunks/cli-1.1.9-9bqrz8qn.mjs +0 -2
- package/dist/chunks/cli-1.1.9-9f1te59e.mjs +0 -2
- package/dist/chunks/cli-1.1.9-9t7xx2r9.mjs +0 -2
- package/dist/chunks/cli-1.1.9-9yrwnzf6.mjs +0 -2
- package/dist/chunks/cli-1.1.9-a4c57zxm.mjs +0 -21
- package/dist/chunks/cli-1.1.9-a5z84t63.mjs +0 -2
- package/dist/chunks/cli-1.1.9-a6yyaw1d.mjs +0 -2
- package/dist/chunks/cli-1.1.9-a7x6qt7v.mjs +0 -6
- package/dist/chunks/cli-1.1.9-agbzpv77.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ajr585mm.mjs +0 -4
- package/dist/chunks/cli-1.1.9-aqbj20gg.mjs +0 -2
- package/dist/chunks/cli-1.1.9-atdcgnab.mjs +0 -2
- package/dist/chunks/cli-1.1.9-atge24ab.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ax8tkq65.mjs +0 -2
- package/dist/chunks/cli-1.1.9-b353901w.mjs +0 -2
- package/dist/chunks/cli-1.1.9-b78c2fws.mjs +0 -8
- package/dist/chunks/cli-1.1.9-b9ykbj6y.mjs +0 -17
- package/dist/chunks/cli-1.1.9-bc22evty.mjs +0 -2
- package/dist/chunks/cli-1.1.9-bftwnbgn.mjs +0 -5390
- package/dist/chunks/cli-1.1.9-bfyz4xjz.mjs +0 -2
- package/dist/chunks/cli-1.1.9-bwhdpxw6.mjs +0 -12
- package/dist/chunks/cli-1.1.9-c27gt3w1.mjs +0 -2
- package/dist/chunks/cli-1.1.9-c5wsttrd.mjs +0 -2
- package/dist/chunks/cli-1.1.9-c6nqtzv9.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ckr5mgw1.mjs +0 -25
- package/dist/chunks/cli-1.1.9-ct1yqfqn.mjs +0 -2
- package/dist/chunks/cli-1.1.9-cwtcnyyj.mjs +0 -2
- package/dist/chunks/cli-1.1.9-d9wz5g8s.mjs +0 -2
- package/dist/chunks/cli-1.1.9-de902mzz.mjs +0 -2
- package/dist/chunks/cli-1.1.9-dh5213n0.mjs +0 -2
- package/dist/chunks/cli-1.1.9-dxt1d7jm.mjs +0 -2
- package/dist/chunks/cli-1.1.9-e0bejpfk.mjs +0 -2
- package/dist/chunks/cli-1.1.9-e1ak8jhn.mjs +0 -12
- package/dist/chunks/cli-1.1.9-e2ny87k0.mjs +0 -15
- package/dist/chunks/cli-1.1.9-e4jhw8xj.mjs +0 -2
- package/dist/chunks/cli-1.1.9-e5xq1msp.mjs +0 -58
- package/dist/chunks/cli-1.1.9-e6x7cyw4.mjs +0 -2
- package/dist/chunks/cli-1.1.9-egv4z3tf.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ena9w4sg.mjs +0 -24
- package/dist/chunks/cli-1.1.9-etmwe3pd.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ewst4gvt.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ezkc7ag5.mjs +0 -2
- package/dist/chunks/cli-1.1.9-fcqz89mq.mjs +0 -2
- package/dist/chunks/cli-1.1.9-fdzgypr3.mjs +0 -3
- package/dist/chunks/cli-1.1.9-fqk44arm.mjs +0 -45
- package/dist/chunks/cli-1.1.9-frwdaeyw.mjs +0 -2
- package/dist/chunks/cli-1.1.9-fws7k6ak.mjs +0 -2
- package/dist/chunks/cli-1.1.9-fxyfgpjj.mjs +0 -2
- package/dist/chunks/cli-1.1.9-fy9kv0hx.mjs +0 -2
- package/dist/chunks/cli-1.1.9-fygnj03b.mjs +0 -2
- package/dist/chunks/cli-1.1.9-fzh3d8n1.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ga16e8rd.mjs +0 -3
- package/dist/chunks/cli-1.1.9-gbtz45hn.mjs +0 -3
- package/dist/chunks/cli-1.1.9-gmb2wpqf.mjs +0 -2
- package/dist/chunks/cli-1.1.9-grhcdmgm.mjs +0 -2
- package/dist/chunks/cli-1.1.9-gttthtg1.mjs +0 -2
- package/dist/chunks/cli-1.1.9-gv5x5e8a.mjs +0 -2
- package/dist/chunks/cli-1.1.9-h45gam34.mjs +0 -2
- package/dist/chunks/cli-1.1.9-h66p9ghw.mjs +0 -2
- package/dist/chunks/cli-1.1.9-hq4kcpxc.mjs +0 -2
- package/dist/chunks/cli-1.1.9-j1bj4zfy.mjs +0 -2
- package/dist/chunks/cli-1.1.9-jah1vcdm.mjs +0 -2
- package/dist/chunks/cli-1.1.9-jaq6r6ba.mjs +0 -2
- package/dist/chunks/cli-1.1.9-jfyv5vb1.mjs +0 -7
- package/dist/chunks/cli-1.1.9-jmwr69v2.mjs +0 -2
- package/dist/chunks/cli-1.1.9-jn9kh16z.mjs +0 -39
- package/dist/chunks/cli-1.1.9-jqs0ktme.mjs +0 -2
- package/dist/chunks/cli-1.1.9-jqz75k6h.mjs +0 -4
- package/dist/chunks/cli-1.1.9-k0b62q76.mjs +0 -2
- package/dist/chunks/cli-1.1.9-k3tzdef2.mjs +0 -50
- package/dist/chunks/cli-1.1.9-k4gthvh4.mjs +0 -4
- package/dist/chunks/cli-1.1.9-k8kz8k9t.mjs +0 -2
- package/dist/chunks/cli-1.1.9-k9bbqwgs.mjs +0 -2
- package/dist/chunks/cli-1.1.9-kaxffmz4.mjs +0 -2
- package/dist/chunks/cli-1.1.9-kdavw6zm.mjs +0 -2
- package/dist/chunks/cli-1.1.9-kdgc8zvn.mjs +0 -24
- package/dist/chunks/cli-1.1.9-kdpv38ab.mjs +0 -2
- package/dist/chunks/cli-1.1.9-kgtexer1.mjs +0 -2
- package/dist/chunks/cli-1.1.9-khhnt4hq.mjs +0 -2
- package/dist/chunks/cli-1.1.9-khskdxps.mjs +0 -6
- package/dist/chunks/cli-1.1.9-kvk6ba28.mjs +0 -2
- package/dist/chunks/cli-1.1.9-kyn85fwa.mjs +0 -15
- package/dist/chunks/cli-1.1.9-kzqqvms6.mjs +0 -34
- package/dist/chunks/cli-1.1.9-m2x94hxw.mjs +0 -5
- package/dist/chunks/cli-1.1.9-md4ratv1.mjs +0 -4
- package/dist/chunks/cli-1.1.9-mdd84pmt.mjs +0 -2
- package/dist/chunks/cli-1.1.9-mgm6zdpx.mjs +0 -2
- package/dist/chunks/cli-1.1.9-mk4nfh2a.mjs +0 -2
- package/dist/chunks/cli-1.1.9-mp2pqq66.mjs +0 -24
- package/dist/chunks/cli-1.1.9-mt1mshmr.mjs +0 -2
- package/dist/chunks/cli-1.1.9-mw0y14ny.mjs +0 -133
- package/dist/chunks/cli-1.1.9-mz91g55f.mjs +0 -4
- package/dist/chunks/cli-1.1.9-n2qz0enm.mjs +0 -2
- package/dist/chunks/cli-1.1.9-n886v2tr.mjs +0 -2
- package/dist/chunks/cli-1.1.9-nacg7asv.mjs +0 -2
- package/dist/chunks/cli-1.1.9-nadf4arq.mjs +0 -2
- package/dist/chunks/cli-1.1.9-nbdn95s0.mjs +0 -2
- package/dist/chunks/cli-1.1.9-nbtds7y5.mjs +0 -2
- package/dist/chunks/cli-1.1.9-p24jbscq.mjs +0 -2
- package/dist/chunks/cli-1.1.9-pdcfc5y5.mjs +0 -3
- package/dist/chunks/cli-1.1.9-pjfvmwr9.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ppnsbsqg.mjs +0 -2
- package/dist/chunks/cli-1.1.9-pr2kkmf8.mjs +0 -15
- package/dist/chunks/cli-1.1.9-pxbfakmz.mjs +0 -2
- package/dist/chunks/cli-1.1.9-qc93tafw.mjs +0 -2
- package/dist/chunks/cli-1.1.9-qr51aqsa.mjs +0 -2
- package/dist/chunks/cli-1.1.9-r5gk3nve.mjs +0 -2
- package/dist/chunks/cli-1.1.9-r7g33857.mjs +0 -2
- package/dist/chunks/cli-1.1.9-r7gng5fx.mjs +0 -2
- package/dist/chunks/cli-1.1.9-rawga9ty.mjs +0 -2
- package/dist/chunks/cli-1.1.9-rh6wjwvg.mjs +0 -2
- package/dist/chunks/cli-1.1.9-rjztj1ez.mjs +0 -9
- package/dist/chunks/cli-1.1.9-rmd68sfp.mjs +0 -2
- package/dist/chunks/cli-1.1.9-rvmgrj4q.mjs +0 -2
- package/dist/chunks/cli-1.1.9-s52npgq0.mjs +0 -2
- package/dist/chunks/cli-1.1.9-s5b8svr6.mjs +0 -3
- package/dist/chunks/cli-1.1.9-sbmesghv.mjs +0 -2
- package/dist/chunks/cli-1.1.9-se5tezpj.mjs +0 -3
- package/dist/chunks/cli-1.1.9-spn11xgr.mjs +0 -2
- package/dist/chunks/cli-1.1.9-sqfgvaz9.mjs +0 -2
- package/dist/chunks/cli-1.1.9-sxsgvz9x.mjs +0 -2
- package/dist/chunks/cli-1.1.9-tcx9qwzz.mjs +0 -18
- package/dist/chunks/cli-1.1.9-tt85wfyx.mjs +0 -2
- package/dist/chunks/cli-1.1.9-txs7wza6.mjs +0 -59
- package/dist/chunks/cli-1.1.9-tze0002b.mjs +0 -4
- package/dist/chunks/cli-1.1.9-v4hh4r8g.mjs +0 -2
- package/dist/chunks/cli-1.1.9-v6dh85e0.mjs +0 -4
- package/dist/chunks/cli-1.1.9-vhsgp7b5.mjs +0 -2
- package/dist/chunks/cli-1.1.9-vmggmsba.mjs +0 -2
- package/dist/chunks/cli-1.1.9-w3xqbxyp.mjs +0 -2
- package/dist/chunks/cli-1.1.9-w462299v.mjs +0 -3
- package/dist/chunks/cli-1.1.9-w4yjadk7.mjs +0 -2
- package/dist/chunks/cli-1.1.9-wg00txsx.mjs +0 -2
- package/dist/chunks/cli-1.1.9-wscqghf9.mjs +0 -2
- package/dist/chunks/cli-1.1.9-wsqhh56s.mjs +0 -2
- package/dist/chunks/cli-1.1.9-wx0fgtgp.mjs +0 -3
- package/dist/chunks/cli-1.1.9-wydc25pa.mjs +0 -2
- package/dist/chunks/cli-1.1.9-x1ame9j0.mjs +0 -2
- package/dist/chunks/cli-1.1.9-x9jz46tx.mjs +0 -2
- package/dist/chunks/cli-1.1.9-xa48sv5y.mjs +0 -6
- package/dist/chunks/cli-1.1.9-xccq68bp.mjs +0 -2
- package/dist/chunks/cli-1.1.9-xmqye6j6.mjs +0 -2
- package/dist/chunks/cli-1.1.9-xn1fx31s.mjs +0 -2
- package/dist/chunks/cli-1.1.9-xxwf95xq.mjs +0 -17
- package/dist/chunks/cli-1.1.9-ygp7jfm9.mjs +0 -2
- package/dist/chunks/cli-1.1.9-ytgc0me8.mjs +0 -2
- package/dist/chunks/cli-1.1.9-yw9403an.mjs +0 -24
- package/dist/chunks/cli-1.1.9-z0wenj5y.mjs +0 -6
- package/dist/chunks/cli-1.1.9-zhyjqy1b.mjs +0 -2
- package/dist/chunks/cli-1.1.9-zp9cpxw5.mjs +0 -12
- package/dist/chunks/cli-1.1.9-zv6e4k6z.mjs +0 -2
- package/dist/chunks/cli-1.1.9-zy71vgyg.mjs +0 -2
- package/dist/chunks/client-1.1.9-ew20apkg.mjs +0 -1
- package/dist/chunks/color-1.1.9-r9fb3e7k.mjs +0 -1
- package/dist/chunks/compact-1.1.9-ea493ntb.mjs +0 -3
- package/dist/chunks/config-1.1.9-6fxf7dj2.mjs +0 -1
- package/dist/chunks/config-1.1.9-snnk2z79.mjs +0 -1
- package/dist/chunks/constants-1.1.9-adx0a3k9.mjs +0 -1
- package/dist/chunks/context-1.1.9-nxs61bmq.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.9-cppfq9pr.mjs +0 -1
- package/dist/chunks/conversation-1.1.9-3x6s0c83.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.9-vvy4jfh7.mjs +0 -1
- package/dist/chunks/copy-1.1.9-sx84nhzr.mjs +0 -9
- package/dist/chunks/cost-1.1.9-msc3677c.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.9-cpa9c11q.mjs +0 -1
- package/dist/chunks/createSession-1.1.9-kapv4jes.mjs +0 -1
- package/dist/chunks/debug-1.1.9-h57648ft.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.9-j6kdarmk.mjs +0 -1526
- package/dist/chunks/desktop-1.1.9-4z5p38ma.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.9-9c8ws2cg.mjs +0 -1
- package/dist/chunks/detection-1.1.9-2vb502cf.mjs +0 -1
- package/dist/chunks/diff-1.1.9-8m7str6k.mjs +0 -1
- package/dist/chunks/doctor-1.1.9-0f6jzgas.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.9-w983dv1c.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.9-c047s7qm.mjs +0 -1
- package/dist/chunks/effort-1.1.9-5qnffzr4.mjs +0 -13
- package/dist/chunks/engine-1.1.9-5jjj151c.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.9-jex25t6e.mjs +0 -1
- package/dist/chunks/envUtils-1.1.9-krdbmbwa.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.9-nbbgerx3.mjs +0 -1
- package/dist/chunks/environments-1.1.9-1t7bdxn2.mjs +0 -1
- package/dist/chunks/errors-1.1.9-e3vc9p8s.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.9-xazstg5e.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.9-c14n54h8.mjs +0 -1
- package/dist/chunks/exit-1.1.9-r4x4th0b.mjs +0 -1
- package/dist/chunks/explorer-1.1.9-wdzp1dsf.mjs +0 -1
- package/dist/chunks/export-1.1.9-0zmn3m1m.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.9-v3cypezj.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.9-1b722pj8.mjs +0 -1
- package/dist/chunks/fast-1.1.9-ys3bnnx1.mjs +0 -1
- package/dist/chunks/feedback-1.1.9-xtbxr07t.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.9-anc9n41n.mjs +0 -1
- package/dist/chunks/git-1.1.9-9dmxfhs7.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.9-tyw52d6k.mjs +0 -1
- package/dist/chunks/goal-1.1.9-64kdsaz8.mjs +0 -4
- package/dist/chunks/grove-1.1.9-feqpprte.mjs +0 -1
- package/dist/chunks/growthbook-1.1.9-5haradn1.mjs +0 -1
- package/dist/chunks/headless-1.1.9-x413dfed.mjs +0 -2
- package/dist/chunks/heapdump-1.1.9-z0mn192y.mjs +0 -6
- package/dist/chunks/help-1.1.9-fsng3h1g.mjs +0 -1
- package/dist/chunks/hookChains-1.1.9-h0b5hx6z.mjs +0 -3
- package/dist/chunks/hooks-1.1.9-gsjxxhxg.mjs +0 -79
- package/dist/chunks/hooks-1.1.9-hhydka88.mjs +0 -1
- package/dist/chunks/ide-1.1.9-ke6a38yk.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.9-0cf7sh4j.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.9-j5vez7jv.mjs +0 -1
- package/dist/chunks/index-1.1.9-1cqvjp5p.mjs +0 -1
- package/dist/chunks/index-1.1.9-1pambxgy.mjs +0 -1
- package/dist/chunks/index-1.1.9-2gb6syse.mjs +0 -1
- package/dist/chunks/index-1.1.9-2sk8q3x9.mjs +0 -30
- package/dist/chunks/index-1.1.9-3wevfp37.mjs +0 -1
- package/dist/chunks/index-1.1.9-3xm5j58t.mjs +0 -1
- package/dist/chunks/index-1.1.9-66dcm0v8.mjs +0 -1
- package/dist/chunks/index-1.1.9-6skqhhzf.mjs +0 -1
- package/dist/chunks/index-1.1.9-97yrmssd.mjs +0 -1
- package/dist/chunks/index-1.1.9-a0nf5r6f.mjs +0 -1
- package/dist/chunks/index-1.1.9-a6c1xz4e.mjs +0 -2
- package/dist/chunks/index-1.1.9-ad1rhnqp.mjs +0 -9
- package/dist/chunks/index-1.1.9-bw0cax5s.mjs +0 -2
- package/dist/chunks/index-1.1.9-h341k1xk.mjs +0 -1
- package/dist/chunks/index-1.1.9-jneayavn.mjs +0 -23
- package/dist/chunks/index-1.1.9-nc3014dy.mjs +0 -1
- package/dist/chunks/index-1.1.9-r1qk4xvr.mjs +0 -1
- package/dist/chunks/index-1.1.9-sfyz5cb7.mjs +0 -9
- package/dist/chunks/index-1.1.9-sg4e7zkb.mjs +0 -5
- package/dist/chunks/index-1.1.9-wkj78xgk.mjs +0 -1
- package/dist/chunks/index-1.1.9-wqjwb4zm.mjs +0 -1
- package/dist/chunks/index-1.1.9-x3yr70wm.mjs +0 -1
- package/dist/chunks/index-1.1.9-yznkq9s3.mjs +0 -1
- package/dist/chunks/init-1.1.9-0pss5n1w.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.9-xn4x74kj.mjs +0 -1
- package/dist/chunks/ink-1.1.9-zwhy78y6.mjs +0 -1
- package/dist/chunks/insights-1.1.9-hgpde32q.mjs +0 -870
- package/dist/chunks/install-1.1.9-34x0hj9y.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.9-9sw6tr8d.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.9-sddcp9xd.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.9-b52jmsm9.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.9-9d7d8js5.mjs +0 -1
- package/dist/chunks/keybindings-1.1.9-8amnba42.mjs +0 -2
- package/dist/chunks/knowledge-1.1.9-kz84fs8v.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.9-d4kwr00h.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.9-smk51q1t.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.9-a8ny49aa.mjs +0 -1
- package/dist/chunks/log-1.1.9-e9py7g1v.mjs +0 -1
- package/dist/chunks/main-1.1.9-vx43js6g.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.9-zdhg1zfw.mjs +0 -1
- package/dist/chunks/mcp-1.1.9-66xztk7e.mjs +0 -4
- package/dist/chunks/mcp-1.1.9-6q4s5vpd.mjs +0 -1
- package/dist/chunks/mcp-1.1.9-sgvnwe73.mjs +0 -17
- package/dist/chunks/mcpb-1.1.9-67ew9jzm.mjs +0 -1
- package/dist/chunks/memory-1.1.9-d580fc8g.mjs +0 -72
- package/dist/chunks/model-1.1.9-n7gjmzqe.mjs +0 -2
- package/dist/chunks/model-1.1.9-r24h6ebx.mjs +0 -1
- package/dist/chunks/node-1.1.9-kx2wx79w.mjs +0 -12
- package/dist/chunks/oauth-1.1.9-mb03cbrk.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.9-7n9g3sj8.mjs +0 -14
- package/dist/chunks/output-style-1.1.9-eb07k735.mjs +0 -1
- package/dist/chunks/package-L37ZVTF4-1.1.9-s5ve90jq.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.9-zdgekp41.mjs +0 -1
- package/dist/chunks/parser-1.1.9-v7w400w6.mjs +0 -1
- package/dist/chunks/passes-1.1.9-eq2gaejx.mjs +0 -1
- package/dist/chunks/permissions-1.1.9-e410dndk.mjs +0 -1
- package/dist/chunks/permissions-1.1.9-qdtk36nc.mjs +0 -3
- package/dist/chunks/plan-1.1.9-fz63v9vy.mjs +0 -1
- package/dist/chunks/plist-1.1.9-vvf1dmeh.mjs +0 -1
- package/dist/chunks/plugin-1.1.9-5wgxw7e5.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.9-wsqp215d.mjs +0 -1
- package/dist/chunks/plugins-1.1.9-gn7vrvsn.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.9-hk5p06zk.mjs +0 -2
- package/dist/chunks/print-1.1.9-ccqx25s0.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.9-53703vc6.mjs +0 -1
- package/dist/chunks/process-1.1.9-6e5jfgee.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.9-q27mqh31.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.9-pmx45pst.mjs +0 -9
- package/dist/chunks/prompt-1.1.9-2374kg79.mjs +0 -1
- package/dist/chunks/prompt-1.1.9-rmzk76ja.mjs +0 -1
- package/dist/chunks/prompts-1.1.9-vw2cgjmn.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.9-5qy2tmvh.mjs +0 -13
- package/dist/chunks/provider-1.1.9-a55a0767.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.9-0qf6737w.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.9-xy0peh3y.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.9-3mv4vcm2.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.9-xwrrc93y.mjs +0 -34
- package/dist/chunks/registry-1.1.9-nhs76azt.mjs +0 -1
- package/dist/chunks/release-notes-1.1.9-evdvm41n.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.9-nsan544v.mjs +0 -2
- package/dist/chunks/remote-env-1.1.9-wqd0jdhv.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.9-epxhjpaw.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.9-80pvqseg.mjs +0 -1
- package/dist/chunks/rename-1.1.9-t6q4frnz.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.9-fhcz3nmf.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.9-k6bt66pp.mjs +0 -1
- package/dist/chunks/resume-1.1.9-f8pqevkb.mjs +0 -2
- package/dist/chunks/rewind-1.1.9-mqnvjgnw.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.9-hm3xq5ew.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.9-yzzt2wgy.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.9-djbmdqmh.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.9-ca1f9nar.mjs +0 -1
- package/dist/chunks/session-1.1.9-1h4w7jv2.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.9-4xav26hz.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.9-76sy9frv.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.9-054r3b21.mjs +0 -1
- package/dist/chunks/settings-1.1.9-6xnvy3wf.mjs +0 -1
- package/dist/chunks/setup-1.1.9-ryytyyyq.mjs +0 -5
- package/dist/chunks/sinks-1.1.9-1tmn5q67.mjs +0 -1
- package/dist/chunks/skills-1.1.9-21b3ema9.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.9-4cynjbh6.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.9-0zeaaev8.mjs +0 -1
- package/dist/chunks/state-1.1.9-4vnhh3s5.mjs +0 -1
- package/dist/chunks/stats-1.1.9-n37acpyb.mjs +0 -6
- package/dist/chunks/status-1.1.9-e7fgh9na.mjs +0 -1
- package/dist/chunks/stickers-1.1.9-vpzantjb.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.9-qja4apm2.mjs +0 -1
- package/dist/chunks/tasks-1.1.9-xvrvpcpf.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.9-kc45263x.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.9-5jf6f8yz.mjs +0 -1
- package/dist/chunks/teleport-1.1.9-f1mzkj3j.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.9-7xczc9pg.mjs +0 -1
- package/dist/chunks/theme-1.1.9-xnntw39r.mjs +0 -1
- package/dist/chunks/thinkback-1.1.9-2agv1je1.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.9-0f61agae.mjs +0 -1
- package/dist/chunks/toolPool-1.1.9-x4dvej7a.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.9-2n3qz8m6.mjs +0 -1
- package/dist/chunks/tools-1.1.9-2st9wxya.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.9-24j13chh.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.9-6a2bdbmc.mjs +0 -69
- package/dist/chunks/types-1.1.9-hx767c40.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.9-1d65a9qv.mjs +0 -4
- package/dist/chunks/update-1.1.9-2qs71qk6.mjs +0 -72
- package/dist/chunks/upgrade-1.1.9-4m89wfqh.mjs +0 -1
- package/dist/chunks/upload-1.1.9-141vg13j.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.9-1hh4dkwb.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.9-awan17cf.mjs +0 -1
- package/dist/chunks/usage-1.1.9-3e6gg2kg.mjs +0 -1
- package/dist/chunks/util-1.1.9-jy80stt8.mjs +0 -1
- package/dist/chunks/utils-1.1.9-k4q7cea1.mjs +0 -1
- package/dist/chunks/vim-1.1.9-s13xmm4h.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.9-cbww8p0b.mjs +0 -13
- package/dist/chunks/watcher-1.1.9-2mym56cs.mjs +0 -1
- package/dist/chunks/wiki-1.1.9-yyjrhwn4.mjs +0 -132
- package/dist/chunks/workflows-1.1.9-4jccerzk.mjs +0 -1
- package/dist/chunks/worktree-1.1.9-fq2ry5d2.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.9-42k3m5c3.mjs +0 -1
- package/dist/chunks/wrapper-1.1.9-8kjvkg3x.mjs +0 -7
- /package/dist/chunks/{cli-1.1.9-gpmbky2h.mjs → cli-1.1.11-53htvfkn.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.9-bk3tqt6v.mjs → cli-1.1.11-58y8zhtr.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.9-q384fwfa.mjs → cli-1.1.11-p1g4cbqp.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.9-jew2xd4p.mjs → cli-1.1.11-qx2jtemb.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.9-s66nvzb4.mjs → cli-1.1.11-vaqp2v88.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.9-b3za9cts.mjs → cli-1.1.11-xjejq6gc.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{rka as E,ska as F,wka as M}from"./cli-1.1.11-1jp85542.mjs";import{gsa as H,ysa as N}from"./cli-1.1.11-yx7hmc5y.mjs";N();M();function V(z){let C=Buffer.from(z,"base64url").toString("utf-8"),q=F(C);if(!q||typeof q!=="object"||!("version"in q)||q.version!==1)throw Error(`Unsupported work secret version: ${q&&typeof q==="object"&&"version"in q?q.version:"unknown"}`);let A=q;if(typeof A.session_ingress_token!=="string"||A.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof A.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return q}function W(z,C){let q=new URL(z).hostname,A=q==="localhost"||q==="127.0.0.1",D=A?"ws":"wss",J=A?"v2":"v1",K=z.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${D}://${K}/${J}/session_ingress/ws/${C}`}function X(z,C){if(z===C)return!0;let q=z.slice(z.lastIndexOf("_")+1),A=C.slice(C.lastIndexOf("_")+1);return q.length>=4&&q===A}function Y(z,C){return`${z.replace(/\/+$/,"")}/v1/code/sessions/${C}`}async function Z(z,C){let q=await H.post(`${z}/worker/register`,{},{headers:{Authorization:`Bearer ${C}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),A=q.data?.worker_epoch,D=typeof A==="string"?Number(A):A;if(typeof D!=="number"||!Number.isFinite(D)||!Number.isSafeInteger(D))throw Error(`registerWorker: invalid worker_epoch in response: ${E(q.data)}`);return D}
|
|
2
|
+
export{V as Jb,W as Kb,X as Lb,Y as Mb,Z as Nb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Fu as R,Gu as T,Hu as $,tx as U,ux as V,xx as f}from"./cli-1.1.11-y8jb9ka1.mjs";import{I6 as Q,J6 as _}from"./cli-1.1.11-ytd49283.mjs";import{Jga as G,Rga as Z,dba as L,kba as Y}from"./cli-1.1.11-yz3byxtx.mjs";import{_sa as X}from"./cli-1.1.11-s5fsvj2a.mjs";function S(q,j){let z=new Map;for(let x of j)z.set(x.agentType,x);let H=new Set,J=[];for(let x of q){let K=`${x.agentType}:${x.source}`;if(H.has(K))continue;H.add(K);let E=z.get(x.agentType),W=E&&E.source!==x.source?E.source:void 0;J.push({...x,overriddenBy:W})}return J}function I(q){let j=q.model||U();if(!j)return;if(j==="inherit")return"inherit";if(j==="haiku"||j==="sonnet"||j==="opus"){try{if(!V())return"inherit";if(!Q(j))return"inherit"}catch(z){G(z)}return j}return T(j,`agent:${q.agentType}`,{getAvailableModelIds:R,logDebug:()=>{},logErr:G})??j}function N(q){return L(q).toLowerCase()}function P(q,j){return q.agentType.localeCompare(j.agentType,void 0,{sensitivity:"base"})}var O;var h=X(()=>{f();_();Z();Y();$();O=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
|
|
2
|
+
export{O as Uc,S as Vc,I as Wc,N as Xc,P as Yc,h as Zc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ud as Z,vd as _,wd as $,zd as O}from"./cli-1.1.11-jejkqxzx.mjs";import{Qd as Y,Vd as x}from"./cli-1.1.11-vkw5s1rv.mjs";import{VL as U,_L as W,dM as S,eM as X,oM as V}from"./cli-1.1.11-y8jb9ka1.mjs";import{Oka as R,Rka as K}from"./cli-1.1.11-1jp85542.mjs";import{mla as Q,tla as C}from"./cli-1.1.11-sph0eaqc.mjs";x();K();C();V();S();O();function b(G,J,L){let H=new Set(J.plugins.map((z)=>z.name)),A=`@${L}`,q=[];for(let z of Object.keys(G.plugins)){if(!z.endsWith(A))continue;let h=z.slice(0,-A.length);if(!H.has(h))q.push(z)}return q}async function F(){await Z();let G=X(),J=_(),L=await U(),H=[];for(let A of Object.keys(L))try{let q=await W(A);if(!q.forceRemoveDeletedPlugins)continue;let z=b(G,q,A);for(let h of z){if(h in J)continue;let T=G.plugins[h]??[];if(!T.some((B)=>B.scope==="user"||B.scope==="project"||B.scope==="local"))continue;for(let B of T){let{scope:E}=B;if(E!=="user"&&E!=="project"&&E!=="local")continue;try{await Y(h,E)}catch(v){R(`Failed to auto-uninstall delisted plugin ${h} from ${E}: ${Q(v)}`,{level:"error"})}}await $(h),H.push(h)}}catch(q){R(`Failed to check for delisted plugins in "${A}": ${Q(q)}`,{level:"warn"})}return H}
|
|
2
|
+
export{F as Xa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$ha as K,Qha as G}from"./cli-1.1.11-4x7gdf33.mjs";import{Qia as j,Sia as M,Tia as J,Uia as N}from"./cli-1.1.11-x3d1641w.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
|
|
2
|
+
export{q as Ab,$ as Bb};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{GS as jJ,HS as $V,No as IJ,Po as pJ,Zi as cJ,fL as DJ,gL as BJ,hL as lJ,hS as UJ}from"./cli-1.1.11-y8jb9ka1.mjs";import{Jga as G,M$ as mJ,P_ as p,Q_ as fJ,Qda as m,Qea as YJ,Rga as dJ,V$ as qJ,Z$ as gJ,Zda as uJ,j$ as WJ,jfa as hJ,o$ as l}from"./cli-1.1.11-yz3byxtx.mjs";import{Xia as U,Zia as PJ}from"./cli-1.1.11-ww3qs66m.mjs";import{Lja as f,Oja as SJ}from"./cli-1.1.11-nnxrj2y7.mjs";import{Aka as VJ,Eka as bJ,Oka as Q,Rka as kJ}from"./cli-1.1.11-1jp85542.mjs";import{mla as JJ,tla as yJ}from"./cli-1.1.11-sph0eaqc.mjs";import{jna as AJ,kna as zJ}from"./cli-1.1.11-9q076mg1.mjs";import{Wsa as wJ,_sa as _J}from"./cli-1.1.11-s5fsvj2a.mjs";class c{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let X=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,X)W(),X=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let X=W.charCodeAt(Y);if(X>=97&&X<=122)V|=1<<X-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),X=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);X[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,H=[],q=-1/0,{paths:I,lowerPaths:A,charBits:F,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((F[M]&$)!==$)continue;let B=Z?I[M]:A[M],E=B.indexOf(X[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let N=1;N<Y;N++){if(E=B.indexOf(X[N],h+1),E===-1)continue J;y[N]=E;let K=E-h-1;if(K===0)u+=4;else C+=3+K*1;h=E}if(H.length===W&&_+u-C<=q)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let N=1;N<Y;N++)T+=HJ(S,y[N],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((N,K)=>N.fuzzScore-K.fuzzScore),q=H[0].fuzzScore}else if(T>q){let N=0,K=H.length;while(N<K){let d=N+K>>1;if(H[d].fuzzScore<T)N=d+1;else K=d}H.splice(N,0,{path:S,fuzzScore:T}),H.shift(),q=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let X=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){X=_;break}}let $=Y.slice(0,X);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,X)=>{let $=Y.length-X.length;if($!==0)return $;return Y<X?-1:Y>X?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!x)x=new c;return x}function vV(){x=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function FJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let X=J[Y];for(let $=0;$<X.length;$++)V=(V^X.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let X=0;X<Y.length;X++)V=(V^Y.charCodeAt(X))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!x||L.length===0)return;let W=await KJ(J),Z=[...L,...$J,...XJ,...J,...W],V=FJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await x.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],X=[...new Set([J,W])],$=xJ.default(),_=!1,H=X.flatMap((A)=>Y.map((F)=>O.join(A,F))),q=await Promise.all(H.map((A)=>V.readFile(A,{encoding:"utf8"}).catch(()=>null)));for(let[A,F]of q.entries()){if(F===null)continue;$.add(F),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[A]}`)}let I=_?$:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),X=Date.now(),$=await p(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-X}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
|
|
2
|
+
`).filter(Boolean),H=OJ(_,V,Y),q=await EJ(V,Y);if(q){let A=H.length;H=q.filter(H),Q(`[FileIndex] applied ignore patterns: ${A} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let A=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],F=R;k=p(l(),A,{timeout:1e4,cwd:V}).then(async(j)=>{if(F!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
|
|
3
|
+
`).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function KJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let X=O.dirname(J[Y]);while(X!=="."&&!V.has(X)){let $=O.dirname(X);if($===X)break;V.add(X),X=$}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let Y=U(),$=(await IJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,X=U(),[$,_]=await Promise.all([tJ(J,Y),rJ(X)]);$J=_;let H=[...$,..._],q=await KJ(H);XJ=q;let I=[...q,...H],A=FJ(I);if(A!==r)await W.loadFromFileListAsync(I).done,r=A,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function NJ(){if(v)return;let J=sJ();if(x){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let X=V.isDirectory(),$=Y.isDirectory();if(X!==$)return X?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),X=O.relative(W,Y);return V.isDirectory()?X+O.sep:X})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return NJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;NJ();let Y=J,X="."+O.sep;if(J.startsWith(X))Y=J.substring(2);if(Y.startsWith("~"))Y=qJ(Y);let $=x?VV(x,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,X){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let H=V+$.length;X(H)}var xJ,x=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();pJ();uJ();zJ();xJ=wJ(cJ(),1);ZJ=AJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
|
|
4
|
+
export{c as di,MJ as ei,jV as fi,vV as gi,RV as hi,GV as ii,NJ as ji,CV as ki,LV as li,ZV as mi};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{A2 as k,C2 as w}from"./cli-1.1.11-azaecepr.mjs";import{D8 as j,X8 as v}from"./cli-1.1.11-ytd49283.mjs";import{$ha as s,Pha as d,_ha as h}from"./cli-1.1.11-4x7gdf33.mjs";import{Jla as q}from"./cli-1.1.11-8vmf6185.mjs";import{_sa as p}from"./cli-1.1.11-s5fsvj2a.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
+
Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
|
|
3
|
+
export{x as _W,O as $W,P as aX,Q as bX,R as cX,U as dX,W as eX,X as fX,z as gX};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Li as J,Ni as K,Oi as M}from"./cli-1.1.11-qy572ahv.mjs";import{DZ as P,H1 as X}from"./cli-1.1.11-23hz9e80.mjs";import{m4 as q}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as N}from"./cli-1.1.11-d8vrh841.mjs";import{Qea as H,jfa as Z}from"./cli-1.1.11-yz3byxtx.mjs";import{mha as Y}from"./cli-1.1.11-x2px8b33.mjs";import{Oja as V}from"./cli-1.1.11-nnxrj2y7.mjs";import{Wsa as z,_sa as Q}from"./cli-1.1.11-s5fsvj2a.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function c(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
|
|
2
|
+
export{c as Rg,D as Sg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Jla as U,zla as q}from"./cli-1.1.11-8vmf6185.mjs";import{Zsa as L,_sa as X}from"./cli-1.1.11-s5fsvj2a.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
|
|
2
|
+
export{G as WX,Y as XX,Z as YX,$ as ZX,Q as _X,_ as $X,v as aY,E as bY,A as cY,h as dY,u as eY,f as fY,w as gY,S as hY,P as iY,I as jY,l as kY,y as lY,g as mY};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{LS as a,NS as Uq,Oz as c,Rn as S,Rz as T,Sn as Zq,Sz as _q,Tn as V,Un as $q,Vz as r,Wz as Vq,Xn as p,Yn as zq,ay as u,by as g,dy as Wq,tG as h,vG as Fq}from"./cli-1.1.11-y8jb9ka1.mjs";import{AY as Qq,BY as m,DY as Xq,GY as d,HY as Yq,nY as w,oY as Nq,zY as j}from"./cli-1.1.11-j4ym4b26.mjs";import{H1 as Lq,MZ as v,NZ as H,OZ as y,a1 as J,c1 as N}from"./cli-1.1.11-23hz9e80.mjs";import{j4 as _,k4 as q,l4 as G,m4 as B}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as Jq}from"./cli-1.1.11-d8vrh841.mjs";import{Nda as b,Zda as Gq}from"./cli-1.1.11-yz3byxtx.mjs";import{Wsa as e,_sa as qq}from"./cli-1.1.11-s5fsvj2a.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[U]=v(),k=H(),{columns:l}=w(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(U):null,{setPreviewTheme:K,savePreview:M,cancelPreview:R}=y(),z=u((L)=>L.settings.syntaxHighlightingDisabled??!1),E=g();j("ThemePicker",!0);let W=S("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),i=Q.useCallback(()=>{if(Y===null){let L=!z;b("userSettings",{syntaxHighlightingDisabled:L}),E((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,E]);m("theme:toggleSyntaxHighlighting",i,{context:"ThemePicker"});let f=d($?()=>{}:void 0),D=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"},{label:"Terminal default (inherit colors)",value:"terminal"},{label:"Dracula",value:"dracula"},{label:"Catppuccin Mocha (dark)",value:"catppuccin-mocha"},{label:"Catppuccin Latte (light)",value:"catppuccin-latte"},{label:"Tokyo Night",value:"tokyo-night"},{label:"Nord",value:"nord"},{label:"Gruvbox Dark",value:"gruvbox-dark"}],[]),o=Q.useCallback((L)=>{K(L)},[K]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else a(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDE_CODE_SYNTAX_HIGHLIGHT=${process.env.CLAUDE_CODE_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(h,{options:D,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:D.length,defaultValue:k,defaultFocusValue:k})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Iq,{patch:Oq,dim:!1,filePath:"demo.js",firstLine:null,width:l})},U),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:f.pending?G(_,{children:["Press ",f.keyName," again to exit"]}):G(p,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Iq,Oq;var Aq=qq(()=>{Yq();Nq();Lq();Qq();Xq();Zq();Wq();Uq();Gq();Fq();zq();$q();_q();Vq();B();Q=e(Jq(),1),Iq=r,Oq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
|
|
2
|
+
export{mq as ih,Aq as jh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Of as EG,Pf as iG,Vf as rG}from"./cli-1.1.11-na2dfshq.mjs";import{$M as lG,BF as KG,CF as mG,IM as LG,JM as BG,LM as pG,NM as WG,OM as qG,Rs as uG,TM as a,VN as bG,XM as DG,YN as sG,ZM as y,_M as o,aO as f,ay as l,bN as kG,bO as s,by as jG,cO as c,cy as HG,dO as v,dy as dG,eO as i,fn as FG,gN as _G,gn as OG,hO as u,kn as VG,lO as cG,pN as aG,ss as vG,un as fG,xN as $G,yN as oG}from"./cli-1.1.11-y8jb9ka1.mjs";import{DZ as QJ}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as wG,m4 as PG}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as YG}from"./cli-1.1.11-d8vrh841.mjs";import{Mca as zG,Nga as R,Oga as _,Rca as CG,Rga as gG}from"./cli-1.1.11-yz3byxtx.mjs";import{$ha as NG}from"./cli-1.1.11-4x7gdf33.mjs";import{Lja as A,Oja as MG}from"./cli-1.1.11-nnxrj2y7.mjs";import{Oka as ZG,Rka as SG,wka as yG}from"./cli-1.1.11-1jp85542.mjs";import{mla as h,tla as TG}from"./cli-1.1.11-sph0eaqc.mjs";import{mra as XG,nna as QG}from"./cli-1.1.11-9q076mg1.mjs";import{Wsa as r,_sa as p}from"./cli-1.1.11-s5fsvj2a.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
|
|
2
|
+
export{e as Jf,aJ as Kf,oJ as Lf,sJ as Mf,XJ as Nf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{F4 as N,K4 as $}from"./cli-1.1.11-4a4wbqs3.mjs";import{D5 as L,G5 as Y,X8 as Z,x8 as M}from"./cli-1.1.11-ytd49283.mjs";import{Jga as Q,Rga as X}from"./cli-1.1.11-yz3byxtx.mjs";import{Jja as J,Kja as V}from"./cli-1.1.11-17j0yz1c.mjs";import{lla as P,tla as S}from"./cli-1.1.11-sph0eaqc.mjs";import{gsa as K,ysa as W}from"./cli-1.1.11-yx7hmc5y.mjs";import{_sa as R}from"./cli-1.1.11-s5fsvj2a.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
|
|
2
|
+
export{C as hX,j as iX,b as jX};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{SR as N,bR as L,cR as w,dx as B,eS as d,fx as U}from"./cli-1.1.11-y8jb9ka1.mjs";import{dba as z,kba as F,oda as P}from"./cli-1.1.11-yz3byxtx.mjs";import{gha as H,mha as v}from"./cli-1.1.11-x2px8b33.mjs";import{_sa as j}from"./cli-1.1.11-s5fsvj2a.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
|
|
2
|
+
|
|
3
|
+
`;h+=`**Model:** ${Z}
|
|
4
|
+
`,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
|
|
5
|
+
`,h+=`
|
|
6
|
+
`;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
|
|
7
|
+
|
|
8
|
+
`,h+=`| Category | Tokens | Percentage |
|
|
9
|
+
`,h+=`|----------|--------|------------|
|
|
10
|
+
`;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
|
|
11
|
+
`}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
|
|
12
|
+
`}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
|
|
13
|
+
`}h+=`
|
|
14
|
+
`}if(X.length>0){h+=`### MCP Tools
|
|
15
|
+
|
|
16
|
+
`,h+=`| Tool | Server | Tokens |
|
|
17
|
+
`,h+=`|------|--------|--------|
|
|
18
|
+
`;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
|
|
19
|
+
`;h+=`
|
|
20
|
+
`}if(Q.length>0){h+=`### Custom Agents
|
|
21
|
+
|
|
22
|
+
`,h+=`| Agent Type | Source | Tokens |
|
|
23
|
+
`,h+=`|------------|--------|--------|
|
|
24
|
+
`;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
|
|
25
|
+
`}h+=`
|
|
26
|
+
`}if(W.length>0){h+=`### Memory Files
|
|
27
|
+
|
|
28
|
+
`,h+=`| Type | Path | Tokens |
|
|
29
|
+
`,h+=`|------|------|--------|
|
|
30
|
+
`;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
|
|
31
|
+
`;h+=`
|
|
32
|
+
`}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
|
|
33
|
+
|
|
34
|
+
`,h+=`| Skill | Source | Tokens |
|
|
35
|
+
`,h+=`|-------|--------|--------|
|
|
36
|
+
`;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
|
|
37
|
+
`;h+=`
|
|
38
|
+
`}return h}var A=j(()=>{U();w();v();d();F();P()});
|
|
39
|
+
export{V as vh,g as wh,A as xh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_sa as V}from"./cli-1.1.11-s5fsvj2a.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
|
|
2
|
+
export{U0 as nra,E0 as ora,I0 as pra,D0 as qra,b as rra,T as sra,K as tra,z as ura,B as vra,x as wra,k as xra,m as yra,G as zra,O as Ara,y as Bra,l as Cra,o as Dra,i as Era,D as Fra,R as Gra,x0 as Hra,O0 as Ira,M as Jra,p0 as Kra,j6 as Lra,nq as Mra};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Qh as Vq,Rh as fq}from"./cli-1.1.11-1425gpc8.mjs";import{CY as o,DY as pq,JY as Qq,LY as Uq,MY as Hq,nY as Pq,oY as mq}from"./cli-1.1.11-j4ym4b26.mjs";import{DZ as Sq,H1 as Wq,a1 as M,c1 as g}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as Z,l4 as F,m4 as Jq}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as _q}from"./cli-1.1.11-d8vrh841.mjs";import{Wga as s,Xga as jq}from"./cli-1.1.11-x2px8b33.mjs";import{Wsa as Lq,_sa as wq}from"./cli-1.1.11-s5fsvj2a.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 oh,oq as ph,sq as qh,aq as rh,Tq as sh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$n as Xf,ao as Uf,ay as g,by as Zf,dy as _f}from"./cli-1.1.11-y8jb9ka1.mjs";import{CY as Wf,DY as Tf}from"./cli-1.1.11-j4ym4b26.mjs";import{$0 as cf,DZ as n,H1 as a,JZ as s,KZ as If,_0 as F,a1 as r,c1 as q,g1 as Vf}from"./cli-1.1.11-23hz9e80.mjs";import{j4 as Qf,k4 as H,l4 as X,m4 as T}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as Rf}from"./cli-1.1.11-d8vrh841.mjs";import{B6 as M,E6 as p,F6 as Ef,c6 as Nf,e6 as b,f6 as _,g6 as Hf,i6 as j,l6 as qf,n6 as zf,v6 as Jf,w6 as hf}from"./cli-1.1.11-ytd49283.mjs";import{r9 as i,s9 as yf}from"./cli-1.1.11-3jw12y1k.mjs";import{Hba as w,Nda as Gf,Qea as l,Yba as Bf,Zda as Cf,jfa as Pf}from"./cli-1.1.11-yz3byxtx.mjs";import{eha as mf,mha as Of}from"./cli-1.1.11-x2px8b33.mjs";import{Lja as D,Oja as Lf}from"./cli-1.1.11-nnxrj2y7.mjs";import{Wsa as x,_sa as o}from"./cli-1.1.11-s5fsvj2a.mjs";function e(m){let f=t.c(2),{cooldown:G}=m;if(G){let z;if(f[0]===Symbol.for("react.memo_cache_sentinel"))z=H(q,{color:"promptBorder",dimColor:!0,children:w}),f[0]=z;else z=f[0];return z}let N;if(f[1]===Symbol.for("react.memo_cache_sentinel"))N=H(q,{color:"fastMode",children:w}),f[1]=N;else N=f[1];return N}function U(m=!0,f=!1){if(!m)return w;let G=s(l().theme);if(f)return i.dim(F("promptBorder",G)(w));return F("fastMode",G)(w)}var t;var ff=o(()=>{yf();Bf();a();Pf();If();cf();T();t=x(n(),1)});function S(m,f){if(zf(),Gf("userSettings",{fastMode:m?!0:void 0}),m)f((G)=>{let N=!j(G.mainLoopModel);return{...G,...N?{mainLoopModel:Hf(),mainLoopModelForSession:null}:{},fastMode:!0}});else f((G)=>({...G,fastMode:!1}))}function Df(m){let f=kf.c(30),{onDone:G,unavailableReason:N}=m,z=g(vf),V=g(Af),W=Zf(),[J,wf]=Kf.useState(V??!1),y;if(f[0]===Symbol.for("react.memo_cache_sentinel"))y=qf(),f[0]=y;else y=f[0];let B=y,$=B.status==="cooldown",Q=N!==null,P;if(f[1]===Symbol.for("react.memo_cache_sentinel"))P=p(M(!0)),f[1]=P;else P=f[1];let d=P,I;if(f[2]!==J||f[3]!==Q||f[4]!==z||f[5]!==G||f[6]!==W)I=function(){if(Q)return;if(S(J,W),D("tengu_fast_mode_toggled",{enabled:J,source:"picker"}),J){let v=U(J),rf=!j(z)?` · model set to ${_}`:"";G(`${v} Fast mode ON${rf} · ${d}`)}else W(uf),G("Fast mode OFF")},f[2]=J,f[3]=Q,f[4]=z,f[5]=G,f[6]=W,f[7]=I;else I=f[7];let u=I,c;if(f[8]!==V||f[9]!==Q||f[10]!==G||f[11]!==W)c=function(){if(Q){if(V)S(!1,W);G("Fast mode OFF",{display:"system"});return}let v=V?`${U()} Kept Fast mode ON`:"Kept Fast mode OFF";G(v,{display:"system"})},f[8]=V,f[9]=Q,f[10]=G,f[11]=W,f[12]=c;else c=f[12];let A=c,L;if(f[13]!==Q)L=function(){if(Q)return;wf(jf)},f[13]=Q,f[14]=L;else L=f[14];let Z=L,O;if(f[15]!==u||f[16]!==Z)O={"confirm:yes":u,"confirm:nextField":Z,"confirm:next":Z,"confirm:previous":Z,"confirm:cycleMode":Z,"confirm:toggle":Z},f[15]=u,f[16]=Z,f[17]=O;else O=f[17];let C;if(f[18]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},f[18]=C;else C=f[18];Wf(O,C);let h;if(f[19]===Symbol.for("react.memo_cache_sentinel"))h=X(q,{children:[H(e,{cooldown:$})," Fast mode (research preview)"]}),f[19]=h;else h=f[19];let Yf=h,k;if(f[20]!==Q)k=(Y)=>Y.pending?X(q,{children:["Press ",Y.keyName," again to exit"]}):Q?H(q,{children:"Esc to cancel"}):H(q,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),f[20]=Q,f[21]=k;else k=f[21];let K;if(f[22]!==J||f[23]!==N)K=N?H(r,{marginLeft:2,children:H(q,{color:"error",children:N})}):X(Qf,{children:[H(r,{flexDirection:"column",gap:0,marginLeft:2,children:X(r,{flexDirection:"row",gap:2,children:[H(q,{bold:!0,children:"Fast mode"}),H(q,{color:J?"fastMode":void 0,bold:J,children:J?"ON ":"OFF"}),H(q,{dimColor:!0,children:d})]})}),$&&B.status==="cooldown"&&H(r,{marginLeft:2,children:X(q,{color:"warning",children:[B.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",mf(B.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),f[22]=J,f[23]=N,f[24]=K;else K=f[24];let E;if(f[25]===Symbol.for("react.memo_cache_sentinel"))E=X(q,{dimColor:!0,children:["Learn more:"," ",H(Vf,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),f[25]=E;else E=f[25];let R;if(f[26]!==A||f[27]!==K||f[28]!==k)R=X(Xf,{title:Yf,subtitle:`High-speed mode for ${_}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:A,color:"fastMode",inputGuide:k,children:[K,E]}),f[26]=A,f[27]=K,f[28]=k,f[29]=R;else R=f[29];return R}function jf(m){return!m}function uf(m){return{...m,fastMode:!1}}function Af(m){return m.fastMode}function vf(m){return m.mainLoopModel}async function Ff(m,f,G){let N=b();if(N)return`Fast mode unavailable: ${N}`;let{mainLoopModel:z}=f();if(S(m,G),D("tengu_fast_mode_toggled",{enabled:m,source:"shortcut"}),m){let V=U(!0),W=!j(z)?` · model set to ${_}`:"",J=p(M(!0));return`${V} Fast mode ON${W} · ${J}`}else return"Fast mode OFF"}async function H0(m,f,G){if(!Nf())return null;await Jf();let N=G?.trim().toLowerCase();if(N==="on"||N==="off"){let V=await Ff(N==="on",f.getAppState,f.setAppState);return m(V),null}let z=b();return D("tengu_fast_mode_picker_shown",{unavailable_reason:z??""}),H(Df,{onDone:m,unavailableReason:z})}var kf,Kf;var xf=o(()=>{Uf();ff();a();Tf();Lf();_f();hf();Of();Ef();Cf();T();kf=x(n(),1),Kf=x(Rf(),1)});
|
|
2
|
+
export{U as ge,ff as he,Df as ie,H0 as je,xf as ke};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Jga as B,Qea as A,Rga as N,jfa as L}from"./cli-1.1.11-yz3byxtx.mjs";import{Oka as z,Rka as K}from"./cli-1.1.11-1jp85542.mjs";import{Zsa as I,_sa as J}from"./cli-1.1.11-s5fsvj2a.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
|
|
2
|
+
export{P as kV,Q as lV,R as mV,H as nV,U as oV,V as pV,W as qV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Jh as v,Kh as i}from"./cli-1.1.11-c2kpn3fs.mjs";import{Lh as E,Mh as t}from"./cli-1.1.11-ecfegt2j.mjs";import{nY as b,oY as s}from"./cli-1.1.11-j4ym4b26.mjs";import{H1 as m,a1 as L,c1 as X}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as $,m4 as F}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as d}from"./cli-1.1.11-d8vrh841.mjs";import{x_ as C,y_ as n}from"./cli-1.1.11-yz3byxtx.mjs";import{Wga as O,Xga as l,Yga as P,Zga as k,mha as o}from"./cli-1.1.11-x2px8b33.mjs";import{Wsa as g,_sa as a}from"./cli-1.1.11-s5fsvj2a.mjs";function Kq(J,q,H){if(J.startsWith("file-"))return H?v(q):"+";if(J.startsWith("mcp-resource-"))return"◇";if(J.startsWith("agent-"))return"*";return"+"}function Oq(J){return J.startsWith("file-")||J.startsWith("mcp-resource-")||J.startsWith("agent-")}function Qq(J){let q=J.metadata?.type;return q==="directory"||q==="file"}function Zq({suggestions:J,selectedSuggestion:q,maxColumnWidth:H,overlay:K}){let{rows:A}=b(),Y=A-2,G=Y>=e?Math.min(qq,Y):Math.max(1,Y);if(J.length===0)return null;let w=H??Math.max(...J.map((Q)=>O(Q.displayText)))+5,V=Math.max(0,Math.min(q-Math.floor(G/2),J.length-G)),U=Math.min(V+G,J.length),Z=J.slice(V,U);return $(L,{flexDirection:"column",justifyContent:K?void 0:"flex-end",children:Z.map((Q)=>$(Yq,{item:Q,maxColumnWidth:w,isSelected:Q.id===J[q]?.id},`${Q.id}:${Q.id===J[q]?.id?"selected":"idle"}`))})}var _,e=8,qq=15,y,Jq=" ",B,j,Yq,Mq;var $q=a(()=>{n();s();l();m();i();o();t();F();_=g(d(),1),y=`${C.pointer} `,B=O(y),j=E();Yq=_.memo(function({item:q,maxColumnWidth:H,isSelected:K}){let A=b().columns,Y=K?y:Jq,G=K?"suggestion":void 0,w=K?"inverseText":void 0;if(Oq(q.id)){let D=Kq(q.id,q.displayText,j),I=!K,x=q.id.startsWith("file-"),c=q.id.startsWith("mcp-resource-"),Aq=2,Gq=4,R=q.description?3:0,z;if(x){let N=q.description?Math.min(20,O(q.description)):0,r=A-B-2-4-R-N;z=P(q.displayText,r)}else if(c)z=k(q.displayText,30);else z=q.displayText;let u=A-B-2-O(z)-R-4,M;if(q.description){let N=k(q.description.replace(/\s+/g," "),Math.max(0,u));M=`${Y}${D} ${z} - ${N}`}else M=`${Y}${D} ${z}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:I,bold:K,wrap:"truncate",children:M})})}let V=Math.floor(A*0.4),U=Math.min(H??O(q.displayText)+5,V),Z=q.displayText;if(O(Z)>U-2)Z=k(Z,U-2);let Q=Qq(q)?`${j?v(q.displayText):"+"} `:"",W=Y+Q+Z+" ".repeat(Math.max(0,U-O(Z))),f=q.tag?`[${q.tag}] `:"",S=O(f),h=Math.max(0,A-B-U-S-4),p=q.description?k(q.description.replace(/\s+/g," "),h):"",T=`${W}${f}${p}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:!K,bold:K,wrap:"truncate",children:T})})});Mq=_.memo(Zq)});
|
|
2
|
+
export{Zq as Eh,Mq as Fh,$q as Gh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DZ as O}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as X,m4 as Q}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as b}from"./cli-1.1.11-d8vrh841.mjs";import{Xea as W,jfa as P}from"./cli-1.1.11-yz3byxtx.mjs";import{Wsa as U}from"./cli-1.1.11-s5fsvj2a.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function j(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
|
|
2
|
+
export{V as mb,j as nb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$n as M,ao as G,tG as A,vG as O}from"./cli-1.1.11-y8jb9ka1.mjs";import{DZ as U,H1 as W,a1 as w,c1 as d,g1 as v}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as i,l4 as a,m4 as S}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as N}from"./cli-1.1.11-d8vrh841.mjs";import{Xea as I,jfa as P}from"./cli-1.1.11-yz3byxtx.mjs";import{Lja as h,Oja as L}from"./cli-1.1.11-nnxrj2y7.mjs";import{Wsa as b,_sa as B}from"./cli-1.1.11-s5fsvj2a.mjs";function V(t){let e=T.c(18),{onDone:g,isStandaloneDialog:D,externalIncludes:r}=t,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect(q,s);let c;if(e[1]!==g)c=(E)=>{if(E==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),I($);else h("tengu_claude_md_external_includes_dialog_accepted",{}),I(Y);g()},e[1]=g,e[2]=c;else c=e[2];let l=c,u;if(e[3]!==l)u=()=>{l("no")},e[3]=l,e[4]=u;else u=e[4];let y=u,C=!D,x=!D,m;if(e[5]===Symbol.for("react.memo_cache_sentinel"))m=i(d,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),e[5]=m;else m=e[5];let o;if(e[6]!==r)o=r&&r.length>0&&a(w,{flexDirection:"column",children:[i(d,{dimColor:!0,children:"External imports:"}),r.map(R)]}),e[6]=r,e[7]=o;else o=e[7];let p;if(e[8]===Symbol.for("react.memo_cache_sentinel"))p=a(d,{dimColor:!0,children:["Important: Only use Claudin with files you trust. Accessing untrusted files may pose security risks"," ",i(v,{url:"https://code.claude.com/docs/en/security"})," "]}),e[8]=p;else p=e[8];let f;if(e[9]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=f;else f=e[9];let n;if(e[10]!==l)n=i(A,{options:f,onChange:(E)=>l(E)}),e[10]=l,e[11]=n;else n=e[11];let _;if(e[12]!==y||e[13]!==n||e[14]!==C||e[15]!==x||e[16]!==o)_=a(M,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[m,o,p,n]}),e[12]=y,e[13]=n,e[14]=C,e[15]=x,e[16]=o,e[17]=_;else _=e[17];return _}function R(t,e){return a(d,{dimColor:!0,children:[" ",t.path]},e)}function Y(t){return{...t,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function $(t){return{...t,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function q(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k;var z=B(()=>{L();W();P();O();G();S();T=b(U(),1),k=b(N(),1)});
|
|
2
|
+
export{V as Kg,z as Lg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lra as M,Mra as Y}from"./cli-1.1.11-7ns0vhby.mjs";import{_sa as W}from"./cli-1.1.11-s5fsvj2a.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-5","VERTEX_REGION_CLAUDE_5_OPUS"],["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 ula,N as vla,X as wla,_ as xla,j as yla,U as zla,I as Ala,S as Bla,T as Cla,c as Dla,L as Ela,w as Fla,z as Gla,O as Hla,x as Ila,k as Jla};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{HF as y,IF as S,LF as C,RF as s,ro as F,vo as o}from"./cli-1.1.11-y8jb9ka1.mjs";import{rZ as D,sZ as r,tZ as z,uZ as j}from"./cli-1.1.11-23hz9e80.mjs";import{e$ as R,f$ as l,h$ as b,i$ as u}from"./cli-1.1.11-yz3byxtx.mjs";import{Aka as L,Eka as d,Oka as N,Rka as g,uka as O,wka as c}from"./cli-1.1.11-1jp85542.mjs";import{Lra as T,Mra as I}from"./cli-1.1.11-7ns0vhby.mjs";import{_sa as _}from"./cli-1.1.11-s5fsvj2a.mjs";import{spawn as G,spawnSync as w}from"child_process";import{basename as k}from"path";function h(q){return!!b(q)}function V(q){let H=k(q.split(" ")[0]??"");return P.find((B)=>H.includes(B))}function p(q,H,B){if(!B)return[H];if(m.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=V(B);if(Q){let W=p(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>N(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&f.test(k(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=w(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=w(X,M,W)}if(Z.error)return N(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var P,f,m,v;var x=_(()=>{I();j();g();u();P=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],f=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,m=new Set(["code","cursor","windsurf","codium"]);v=T(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>h(H))})});function a(q){return V(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!a(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=Object.hasOwn(A,J)?A[J]:J;return R(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${F(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=y($),Z=S(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Vq(q,H){let B=L(),J=D();try{let X=H?C(q,H):q;O(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
|
|
2
|
+
`)&&!Q.endsWith(`
|
|
3
|
+
|
|
4
|
+
`))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var A;var t=_(()=>{s();j();x();l();d();o();c();r();A={code:"code -w",subl:"subl --wait"}});
|
|
5
|
+
export{Qq as yg,v as zg,x as Ag,i as Bg,Vq as Cg,t as Dg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Uh as g,Vh as Uf}from"./cli-1.1.11-9xepp7cw.mjs";import{ai as A,ci as Kf}from"./cli-1.1.11-jzmj7yys.mjs";import{Al as Bf,Am as L,Av as T,Bl as Gf,Ev as _f,FC as I,Fm as Vf,GC as $f,GE as u,HE as jf,HS as Ff,Hl as y,IT as Hf,JT as d,Jj as W,WE as v,Wj as w,Xj as zf,am as Jf,bF as Df,cT as S,fS as l,gt as h,ht as Yf,mm as N,pT as p,pv as m,qC as M,qv as Zf,rD as c,sm as Qf,uD as bf,wT as k,ws as E,wv as C,xs as P,ys as Xf}from"./cli-1.1.11-y8jb9ka1.mjs";import{Jga as R,Rga as ff}from"./cli-1.1.11-yz3byxtx.mjs";import{Lja as O,Oja as e}from"./cli-1.1.11-nnxrj2y7.mjs";import{bqa as H,mra as s,nna as U,ona as q,ooa as F,tna as x}from"./cli-1.1.11-9q076mg1.mjs";import{Xsa as K,_sa as t}from"./cli-1.1.11-s5fsvj2a.mjs";import{randomUUID as qf}from"crypto";async function lf({setMessages:V,readFileState:i,discoveredSkillNames:n,loadedNestedMemoryPaths:r,getAppState:G,setAppState:J,setConversationId:X}){let Y=l();await M("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(v(f))Q.add(f.agentId),_.push(f);else if(m(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(g(Q),I(x()),i.clear(),n?.clear(),r?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(a){R(a)}E(D)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),p(),H(),A(),T(),C();let o=U();q({setCurrentAsParent:!0}),L(o),await S();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(d(),K(Hf)),{isCoordinatorMode:B}=(Gf(),K(Bf));f(B()?"coordinator":"normal")}let b=y();if(b)k(b);let j=await c("clear");if(j.length>0)V(()=>j)}var xf=t(()=>{s();e();Zf();Df();Yf();zf();_f();jf();Ff();ff();Kf();Qf();$f();bf();d();Xf();Vf();Jf();Uf()});
|
|
2
|
+
export{lf as Sh,xf as Th};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ara as e8,Bra as R5,Cra as _8,Dra as E,Era as h8,Fra as P,Gra as x1,Hra as d,Ira as xQ,Jra as r,Kra as UQ,Lra as T5,Mra as UY,nra as _Q,ora as YJ,pra as v,qra as P1,rra as Y5,sra as w8,tra as D,ura as y,vra as m,wra as kQ,xra as L,yra as a,zra as n5}from"./cli-1.1.11-7ns0vhby.mjs";import{Zsa as aQ,_sa as X}from"./cli-1.1.11-s5fsvj2a.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var DQ;var qQ=X(()=>{DQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],q=J[z];if(Z)var f=x?Z(q,R,z,J,Q,W):Z(R,q,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!DQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===q||H(R,q,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();qQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=D.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=m?m.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function DJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=DJ});var qJ,w;var M=X(()=>{qJ=Array.isArray,w=qJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var mQ;var SQ=X(()=>{mQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{SQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),mQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var S=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();S();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();S();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,mJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?D.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,mJ=yJ||cQ,A=mJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?SJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var SJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();S();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||q8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var D8,q8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();D8=Object.prototype,q8=D8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var D5;var q5=X(()=>{_8();J1();D5=k8});function E8(Q){return D5(Q)?W5(Q):z5(Q)}var W1;var m1=X(()=>{x5();F5();q5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var S1;var O5=X(()=>{yQ();bQ();m1();S1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=S1(Q),B=U.length,K=S1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var q=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){q=!1;break}f||(f=N=="constructor")}if(q&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))q=!1}return W.delete(Q),W.delete(J),q}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var m8,U1;var L5=X(()=>{x1();y();m8=P(D,"DataView"),U1=m8});var S8,K1;var f5=X(()=>{x1();y();S8=P(D,"Promise"),K1=S8});var A8,G1;var P5=X(()=>{x1();y();A8=P(D,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(D,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var q=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(q,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,m5;var S5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;m5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return m5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{S5();S();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();m1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();S();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var D1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=m?m.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function DY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var q1;var b1=X(()=>{M();D1();s5();X$();q1=DY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-qY?"-0":J}var qY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=q1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=q1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();D1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var D$;var q$=X(()=>{D$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?D$(I(Q)):O$(Q)}var M$;var L$=X(()=>{q$();V$();D1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as mY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=mY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),activeDurationMs:0,turnActiveSince:null,lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,m$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,m$(Q)}function m$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function D9(){return $.directConnectServerUrl}function q9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function I9(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function C9(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function _9(){return $.totalAPIDurationWithoutRetries}function k9(){return $.totalToolDuration}function E9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function v9(){return $.turnHookDurationMs}function d9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function g9(){$.turnHookDurationMs=0,$.turnHookCount=0}function p9(){return $.turnHookCount}function y9(){return $.turnToolDurationMs}function m9(){$.turnToolDurationMs=0,$.turnToolCount=0}function S9(){return $.turnToolCount}function A9(){return $.turnClassifierDurationMs}function j9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function h9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function n9(){return $.turnClassifierCount}function b9(){return $.statsStore}function i9(Q){$.statsStore=Q}function u9(Q){if(Q)S$();else s1=!0}function l9(){if(s1)S$()}function S$(){$.lastInteractionTime=Date.now(),s1=!1}function T9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function c9(){return $.totalLinesAdded}function r9(){return $.totalLinesRemoved}function o9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function s9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function a9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function t9(){return b(Object.values($.modelUsage),"webSearchRequests")}function e9(){return A$()-a1}function QH(){return t1}function $H(Q){a1=A$(),t1=Q,f1=0}function JH(){return f1}function YH(){f1++}function ZH(){$.hasUnknownModelCost=!0}function XH(){return $.hasUnknownModelCost}function HH(){return $.lastMainRequestId}function WH(Q){$.lastMainRequestId=Q}function xH(){return $.lastApiCompletionTimestamp}function UH(Q){$.lastApiCompletionTimestamp=Q}function KH(){$.pendingPostCompaction=!0}function GH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function BH(){return $.lastInteractionTime}function NH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function wH(){return M1}async function zH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function FH(){return $.modelUsage}function RH(Q){return $.modelUsage[Q]}function DH(){return $.mainLoopModelOverride}function qH(){return $.initialMainLoopModel}function OH(Q){$.mainLoopModelOverride=Q}function VH(Q){$.initialMainLoopModel=Q}function MH(){return $.sdkBetas}function LH(Q){$.sdkBetas=Q}function fH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.activeDurationMs=0,$.turnActiveSince=null,$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function PH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;$.activeDurationMs=x??0,$.turnActiveSince=null}function IH(){throw Error("resetStateForTests can only be called in tests")}function CH(){return $.modelStrings}function _H(Q){$.modelStrings=Q}function kH(){$.modelStrings=null}function EH(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function vH(){return $.meter}function dH(){return $.sessionCounter}function gH(){return $.locCounter}function pH(){return $.prCounter}function yH(){return $.commitCounter}function mH(){return $.costCounter}function SH(){return $.tokenCounter}function AH(){return $.codeEditToolDecisionCounter}function jH(){return $.activeTimeCounter}function hH(){return $.loggerProvider}function nH(Q){$.loggerProvider=Q}function bH(){return $.eventLogger}function iH(Q){$.eventLogger=Q}function uH(){return $.meterProvider}function lH(Q){$.meterProvider=Q}function TH(){return $.tracerProvider}function cH(Q){$.tracerProvider=Q}function SY(){return!$.isInteractive}function rH(){return $.isInteractive}function oH(Q){$.isInteractive=Q}function sH(){return $.clientType}function aH(Q){$.clientType=Q}function tH(){return $.sdkAgentProgressSummariesEnabled}function eH(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q4(){return $.kairosActive}function $4(Q){$.kairosActive=Q,L1()}function J4(){return $.strictToolResultPairing}function Y4(Q){$.strictToolResultPairing=Q}function Z4(){return $.userMsgOptIn}function X4(Q){$.userMsgOptIn=Q,L1()}function H4(){return $.sessionSource}function W4(Q){$.sessionSource=Q}function x4(){return $.questionPreviewFormat}function U4(Q){$.questionPreviewFormat=Q}function K4(){return $.agentColorMap}function G4(){return $.flagSettingsPath}function B4(Q){$.flagSettingsPath=Q}function N4(){return $.flagSettingsInline}function w4(Q){$.flagSettingsInline=Q}function z4(){return $.sessionIngressToken}function F4(Q){$.sessionIngressToken=Q}function R4(){return $.oauthTokenFromFd}function D4(Q){$.oauthTokenFromFd=Q}function q4(){return $.apiKeyFromFd}function O4(Q){$.apiKeyFromFd=Q}function V4(Q){$.lastAPIRequest=Q}function M4(){return $.lastAPIRequest}function L4(Q){$.lastAPIRequestMessages=Q}function f4(){return $.lastAPIRequestMessages}function P4(Q){$.lastClassifierRequests=Q}function I4(){return $.lastClassifierRequests}function C4(Q){$.cachedClaudeMdContent=Q}function _4(){return $.cachedClaudeMdContent}function k4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function E4(){return $.allowedSettingSources}function v4(Q){$.allowedSettingSources=Q}function d4(){return SY()&&$.clientType!=="claude-vscode"}function g4(Q){$.inlinePlugins=Q}function p4(){return $.inlinePlugins}function y4(Q){$.useCoworkPlugins=Q,E$()}function m4(){return $.useCoworkPlugins}function S4(Q){$.sessionBypassPermissionsMode=Q}function A4(){return $.sessionBypassPermissionsMode}function j4(Q){$.scheduledTasksEnabled=Q}function h4(){return $.scheduledTasksEnabled}function n4(){return $.sessionCronTasks}function b4(Q){$.sessionCronTasks.push(Q)}function i4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function u4(){return $.pendingSessionWakeup}function l4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function T4(){$.pendingSessionWakeup=null}function c4(Q){$.sessionTrustAccepted=Q}function r4(){return $.sessionTrustAccepted}function o4(Q){$.sessionPersistenceDisabled=Q}function s4(){return $.sessionPersistenceDisabled}function a4(){return $.hasExitedPlanMode}function t4(Q){$.hasExitedPlanMode=Q}function e4(){return $.needsPlanModeExitAttachment}function Q3(Q){$.needsPlanModeExitAttachment=Q}function $3(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function J3(){return $.needsAutoModeExitAttachment}function Y3(Q){$.needsAutoModeExitAttachment=Q}function Z3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function D3(){return $.invokedSkills}function q3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function O3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function m3(Q){$.allowedChannels=Q,L1()}function S3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function r3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function o3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
|
|
2
|
+
export{p as Kla,I1 as Lla,FQ as Mla,RQ as Nla,OQ as Ola,VQ as Pla,_1 as Qla,MQ as Rla,PQ as Sla,IQ as Tla,dQ as Ula,gQ as Vla,w as Wla,M as Xla,pQ as Yla,yQ as Zla,mQ as _la,SQ as $la,AQ as ama,jQ as bma,nQ as cma,bQ as dma,O as ema,S as fma,t as gma,v1 as hma,A as ima,d1 as jma,$1 as kma,g1 as lma,$5 as mma,J5 as nma,X1 as oma,X5 as pma,H1 as qma,y1 as rma,W5 as sma,x5 as tma,U5 as uma,K5 as vma,G5 as wma,B5 as xma,D5 as yma,q5 as zma,W1 as Ama,m1 as Bma,S1 as Cma,O5 as Dma,G1 as Ema,P5 as Fma,A1 as Gma,d5 as Hma,w1 as Ima,j1 as Jma,h as Kma,R1 as Lma,a5 as Mma,t5 as Nma,Z$ as Oma,X$ as Pma,q1 as Qma,b1 as Rma,I as Sma,u as Tma,O1 as Uma,i1 as Vma,F$ as Wma,R$ as Xma,f$ as Yma,P$ as Zma,nX as _ma,bX as $ma,iX as ana,uX as bna,lX as cna,TX as dna,E$ as ena,cX as fna,rX as gna,oX as hna,v$ as ina,d$ as jna,g$ as kna,Z9 as lna,X9 as mna,H9 as nna,W9 as ona,x9 as pna,U9 as qna,K9 as rna,G9 as sna,B9 as tna,N9 as una,w9 as vna,z9 as wna,F9 as xna,R9 as yna,D9 as zna,q9 as Ana,O9 as Bna,V9 as Cna,M9 as Dna,L9 as Ena,f9 as Fna,P9 as Gna,I9 as Hna,C9 as Ina,_9 as Jna,k9 as Kna,E9 as Lna,v9 as Mna,d9 as Nna,g9 as Ona,p9 as Pna,y9 as Qna,m9 as Rna,S9 as Sna,A9 as Tna,j9 as Una,h9 as Vna,n9 as Wna,b9 as Xna,i9 as Yna,u9 as Zna,l9 as _na,T9 as $na,c9 as aoa,r9 as boa,o9 as coa,A$ as doa,s9 as eoa,a9 as foa,t9 as goa,e9 as hoa,QH as ioa,$H as joa,JH as koa,YH as loa,ZH as moa,XH as noa,HH as ooa,WH as poa,xH as qoa,UH as roa,KH as soa,GH as toa,BH as uoa,NH as voa,wH as woa,zH as xoa,FH as yoa,RH as zoa,DH as Aoa,qH as Boa,OH as Coa,VH as Doa,MH as Eoa,LH as Foa,fH as Goa,PH as Hoa,IH as Ioa,CH as Joa,_H as Koa,kH as Loa,EH as Moa,vH as Noa,dH as Ooa,gH as Poa,pH as Qoa,yH as Roa,mH as Soa,SH as Toa,AH as Uoa,jH as Voa,hH as Woa,nH as Xoa,bH as Yoa,iH as Zoa,uH as _oa,lH as $oa,TH as apa,cH as bpa,SY as cpa,rH as dpa,oH as epa,sH as fpa,aH as gpa,tH as hpa,eH as ipa,Q4 as jpa,$4 as kpa,J4 as lpa,Y4 as mpa,Z4 as npa,X4 as opa,H4 as ppa,W4 as qpa,x4 as rpa,U4 as spa,K4 as tpa,G4 as upa,B4 as vpa,N4 as wpa,w4 as xpa,z4 as ypa,F4 as zpa,R4 as Apa,D4 as Bpa,q4 as Cpa,O4 as Dpa,V4 as Epa,M4 as Fpa,L4 as Gpa,f4 as Hpa,P4 as Ipa,I4 as Jpa,C4 as Kpa,_4 as Lpa,k4 as Mpa,E4 as Npa,v4 as Opa,d4 as Ppa,g4 as Qpa,p4 as Rpa,y4 as Spa,m4 as Tpa,S4 as Upa,A4 as Vpa,j4 as Wpa,h4 as Xpa,n4 as Ypa,b4 as Zpa,i4 as _pa,u4 as $pa,l4 as aqa,T4 as bqa,c4 as cqa,r4 as dqa,o4 as eqa,s4 as fqa,a4 as gqa,t4 as hqa,e4 as iqa,Q3 as jqa,$3 as kqa,J3 as lqa,Y3 as mqa,Z3 as nqa,X3 as oqa,H3 as pqa,W3 as qqa,x3 as rqa,U3 as sqa,K3 as tqa,G3 as uqa,B3 as vqa,N3 as wqa,w3 as xqa,z3 as yqa,F3 as zqa,R3 as Aqa,D3 as Bqa,q3 as Cqa,O3 as Dqa,V3 as Eqa,M3 as Fqa,L3 as Gqa,f3 as Hqa,P3 as Iqa,I3 as Jqa,C3 as Kqa,_3 as Lqa,k3 as Mqa,E3 as Nqa,v3 as Oqa,d3 as Pqa,g3 as Qqa,p3 as Rqa,y3 as Sqa,m3 as Tqa,S3 as Uqa,A3 as Vqa,j3 as Wqa,h3 as Xqa,n3 as Yqa,b3 as Zqa,i3 as _qa,u3 as $qa,l3 as ara,T3 as bra,c3 as cra,r3 as dra,o3 as era,s3 as fra,jY as gra,a3 as hra,t3 as ira,e3 as jra,QW as kra,$W as lra,hY as mra};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{I as G0}from"./cli-1.1.11-v0qc9e7x.mjs";import{$ as s0}from"./cli-1.1.11-xdf6ka1p.mjs";import{hb as k0}from"./cli-1.1.11-z08c87k7.mjs";import{mb as p0}from"./cli-1.1.11-8j1jeg3y.mjs";import{Cc as W0,Ec as Tc}from"./cli-1.1.11-js75fbb2.mjs";import{Hc as t,Ic}from"./cli-1.1.11-m7dz7jb4.mjs";import{Kc as J0,Lc as hc}from"./cli-1.1.11-4hkr6h2p.mjs";import{ed as n0,fd as S0}from"./cli-1.1.11-t4vzh54z.mjs";import{Pg as y0,Qg as Fc}from"./cli-1.1.11-b0bsxy6e.mjs";import{$M as j0,$n as W,$x as Q,AG as X,BG as _0,CG as Y0,DG as Mc,JS as d,LS as D0,NS as ac,RM as M0,TT as O0,Tn as p,Un as t0,Vn as f0,Wn as d0,Xn as i0,Yn as g0,ao as r,bU as b0,dU as E0,dy as l0,fU as Rc,iU as B0,jH as Z0,kH as uc,kU as Cc,nN as u0,pN as $0,rG as m0,sF as X0,sG as x0,tG as j,vG as N0,wF as _c}from"./cli-1.1.11-y8jb9ka1.mjs";import{DZ as B,H1 as x,VZ as Q0,_Z as lc,a1 as c0,c1 as Z,g1 as g}from"./cli-1.1.11-23hz9e80.mjs";import{j4 as e,k4 as m,l4 as U,m4 as C}from"./cli-1.1.11-dzq0mt2q.mjs";import{L5 as H0,M5 as oc,f5 as z0,k5 as nc}from"./cli-1.1.11-ytd49283.mjs";import{Hea as V0,Nda as V,Nea as s,Qda as H,Qea as A,Sea as q0,Tda as w0,Vda as U0,Zda as k,jfa as I0,uga as P0,xga as mc}from"./cli-1.1.11-yz3byxtx.mjs";import{rha as R,vha as fc}from"./cli-1.1.11-x2px8b33.mjs";import{$ha as ic,Nha as C0,Vha as L0}from"./cli-1.1.11-4x7gdf33.mjs";import{Lja as q,Oja as G}from"./cli-1.1.11-nnxrj2y7.mjs";import{Rka as v0}from"./cli-1.1.11-1jp85542.mjs";import{Gla as R0,Jla as cc,zla as N}from"./cli-1.1.11-8vmf6185.mjs";import{Yna as T0,cqa as a0,mra as e0}from"./cli-1.1.11-9q076mg1.mjs";import{$sa as L,Wsa as E}from"./cli-1.1.11-s5fsvj2a.mjs";G();ac();e0();import{appendFileSync as Lc}from"fs";Cc();lc();_0();ic();mc();_c();G();k();N0();r();var $=E(B(),1);x();C();var S=E(B(),1);function y(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(Z,{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,M;if(c[0]!==n||c[1]!==i)M=function(a){q("tengu_mcp_dialog_choice",{choice:a});c:switch(a){case"yes":case"yes_all":{let z=(H()||{}).enabledMcpjsonServers||[];if(!z.includes(i))V("localSettings",{enabledMcpjsonServers:[...z,i]});if(a==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let z=(H()||{}).disabledMcpjsonServers||[];if(!z.includes(i))V("localSettings",{disabledMcpjsonServers:[...z,i]});n()}}},c[0]=n,c[1]=i,c[2]=M;else M=c[2];let l=M,u=`New MCP server found in .mcp.json: ${i}`,_;if(c[3]!==l)_=()=>l("no"),c[3]=l,c[4]=_;else _=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(y,{}),c[5]=I;else I=c[5];let h;if(c[6]===Symbol.for("react.memo_cache_sentinel"))h=[{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]=h;else h=c[6];let o;if(c[7]!==l)o=m(j,{options:h,onChange:(T)=>l(T),onCancel:()=>l("no")}),c[7]=l,c[8]=o;else o=c[8];let F;if(c[9]!==u||c[10]!==_||c[11]!==o)F=U(W,{title:u,color:"warning",onCancel:_,children:[I,o]}),c[9]=u,c[10]=_,c[11]=o,c[12]=F;else F=c[12];return F}S0();G();x();k();d0();x0();g0();r();t0();var o0=E(B(),1);C();function h0(f){let c=o0.c(21),{serverNames:i,onDone:n}=f,M;if(c[0]!==n||c[1]!==i)M=function(D){let Y=H()||{},A0=Y.enabledMcpjsonServers||[],K0=Y.disabledMcpjsonServers||[],[O,b]=n0(i,(J)=>D.includes(J));if(q("tengu_mcp_multidialog_choice",{approved:O.length,rejected:b.length}),O.length>0){let J=[...new Set([...A0,...O])];V("localSettings",{enabledMcpjsonServers:J})}if(b.length>0){let J=[...new Set([...K0,...b])];V("localSettings",{disabledMcpjsonServers:J})}n()},c[0]=n,c[1]=i,c[2]=M;else M=c[2];let l=M,u;if(c[3]!==n||c[4]!==i)u=()=>{let D=(H()||{}).disabledMcpjsonServers||[],Y=[...new Set([...D,...i])];V("localSettings",{disabledMcpjsonServers:Y}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let _=u,I=`${i.length} new MCP servers found in .mcp.json`,h;if(c[6]===Symbol.for("react.memo_cache_sentinel"))h=m(y,{}),c[6]=h;else h=c[6];let o;if(c[7]!==i)o=i.map(r0),c[7]=i,c[8]=o;else o=c[8];let F;if(c[9]!==_||c[10]!==l||c[11]!==i||c[12]!==o)F=m(m0,{options:o,defaultValue:i,onSubmit:l,onCancel:_,hideIndexes:!0}),c[9]=_,c[10]=l,c[11]=i,c[12]=o,c[13]=F;else F=c[13];let T;if(c[14]!==_||c[15]!==I||c[16]!==F)T=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:_,hideInputGuide:!0,children:[h,F]}),c[14]=_,c[15]=I,c[16]=F,c[17]=T;else T=c[17];let a;if(c[18]===Symbol.for("react.memo_cache_sentinel"))a=m(c0,{paddingX:1,children:m(Z,{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]=a;else a=c[18];let w;if(c[19]!==T)w=U(e,{children:[T,a]}),c[19]=T,c[20]=w;else w=c[20];return w}function r0(f){return{label:f,value:f}}_0();l0();j0();$0();C();async function F0(f){let{servers:c}=M0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let M=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(Q,{children:m(X,{children:m(v,{serverName:l,onDone:M})})}))}else f.render(m(Q,{children:m(X,{children:m(h0,{serverNames:i,onDone:M})})}))})}l0();Ic();oc();Rc();I0();Tc();I0();v0();cc();class K{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((_,I)=>I-_),M=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[M],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();nc();Mc();Fc();uc();k();fc();C();function wc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Uc(f,c){return new Promise((i)=>{let n=(M)=>void i(M);f.render(c(n))})}async function pf(f,c,i){return Vc(f,c,{color:"error",beforeExit:i})}async function Vc(f,c,i){let{Text:n}=await import("./ink-1.1.11-jw026dnf.mjs"),M=i?.color,l=i?.exitCode??1;f.render(M?m(n,{color:M,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function P(f,c,i){return Uc(f,(n)=>m(Q,{onChangeAppState:i?.onChangeAppState,children:m(X,{children:c(n)})}))}async function sf(f,c){f.render(c),G0(),await f.waitUntilExit(),await D0(0)}async function Af(f,c,i,n,M){if(N(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=z0(),u=!1;if(W0()){let{MigrationDialog:h}=await import("./MigrationDialog-1.1.11-z6eadsg8.mjs");await P(f,(o)=>m(h,{onDone:()=>void o()}))}let _=A();if(l&&(!_.theme||!_.hasCompletedOnboarding)){u=!0;let{Onboarding:h}=await import("./Onboarding-1.1.11-16z484ph.mjs");await P(f,(o)=>m(h,{onDone:()=>{wc(),o()}}),{onChangeAppState:t})}if(!N(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:h}=await import("./TrustDialog-1.1.11-pbh6yxxm.mjs");await P(f,(o)=>m(h,{commands:n,onDone:o}))}if(a0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),B0(),R("setupScreens_after_growthbook_kick"),l){let{errors:h}=Z0();if(h.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let o=await E0();if(R("setupScreens_after_claudemd_check"),o){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:T}=await import("./ClaudeMdExternalIncludesDialog-1.1.11-b4v59b23.mjs");await P(f,(a)=>m(T,{onDone:a,isStandaloneDialog:!0,externalIncludes:F}))}}}k0(),J0(),R("setupScreens_after_env_applied"),setImmediate(()=>s0());let I=await X0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:h}=await import("./Grove-1.1.11-f2zsmd4t.mjs");if(await P(f,(F)=>m(h,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let h=P0();R("setupScreens_after_tryGetActiveProvider");let o=h?.transport==="anthropic"?h.apiKey?.trim():void 0;if(o&&!R0()){let F=H0(o),T=q0(F);if(R("setupScreens_after_keyStatus"),T==="new"){let{ApproveApiKey:a}=await import("./ApproveApiKey-1.1.11-9s811hbz.mjs");await P(f,(w)=>m(a,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:t})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:h}=await import("./BypassPermissionsModeDialog-1.1.11-3wxr3fz9.mjs");await P(f,(o)=>m(h,{onAccept:o}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:h}=await import("./AutoModeOptInDialog-1.1.11-aejfbb8x.mjs");await P(f,(o)=>m(h,{onAccept:o,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function Kf(f){y0();let c=0,i=Y0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new K,M=p0();T0(M);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:M,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),M.observe("frame_duration_ms",u.durationMs),l&&u.phases){let _=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
+
`;Lc(l,_)}if(Q0())return;for(let _ of u.flickers){if(_.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:_.desiredHeight,actualHeight:_.availableHeight,reason:_.reason});c=I}}}}}
|
|
3
|
+
export{wc as A,Uc as B,pf as C,Vc as D,P as E,sf as F,Af as G,Kf as H};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Wh as j,Yh as l}from"./cli-1.1.11-m117ak01.mjs";import{gi as W,mi as i}from"./cli-1.1.11-6kk88f11.mjs";import{Dx as U,Ex as m,GQ as s,Pw as B,Tj as Z,Uj as P,Uv as $,Uw as p,VT as G,Vv as D,Xi as Y,Xw as N,YO as b,Yi as A,Yw as g,ZO as o,aD as L,bD as h,fC as d,fU as r,gU as R,hU as f,iU as F,jC as E,jU as u,kC as C,kU as t,ov as _,oz as V,qz as S,wQ as x,xO as M,zO as n}from"./cli-1.1.11-y8jb9ka1.mjs";import{i_ as Q,o_ as k}from"./cli-1.1.11-g38vgb2g.mjs";import{T_ as O,__ as I,uaa as X,vaa as v}from"./cli-1.1.11-yz3byxtx.mjs";import{Dqa as J,Pqa as K,mra as T}from"./cli-1.1.11-9q076mg1.mjs";import{$sa as w,_sa as y}from"./cli-1.1.11-s5fsvj2a.mjs";function Mq(H=new Set){let z=H.size>0;if(u.cache.clear?.(),F.cache.clear?.(),f.cache.clear?.(),Y.cache.clear?.(),W(),x(),!z)N();if(R(null),K(null),b(),_(),G("session_start"),V(),X.clear(),Z(),!z)B();if(Q(),M(),!z)U();J(H),O(),L(),$(),j(),E(),import("./utils-1.1.11-tratqgvk.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-1.1.11-sxwd1d13.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-1.1.11-281da8yy.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-1.1.11-yrfr0vn1.mjs").then(({clearPromptCache:q})=>q())}var c=y(()=>{T();s();A();t();i();p();m();g();P();o();D();l();h();d();n();r();k();I();v();S();C()});
|
|
2
|
+
export{Mq as Uh,c as Vh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ao as E,Bo as m,Bp as l,Co as Xq,Dp as Rq,Ep as i,Fp as Aq,Xo as S,ap as Zq}from"./cli-1.1.11-y8jb9ka1.mjs";import{Bca as h,Cca as n,Hca as vq,Jga as D,Rga as Qq,wca as u,yca as g}from"./cli-1.1.11-yz3byxtx.mjs";import{Qia as d,Sia as Uq}from"./cli-1.1.11-x3d1641w.mjs";import{Aka as M,Eka as y,Oka as V,Rka as e,rka as P,ska as v,wka as f}from"./cli-1.1.11-1jp85542.mjs";import{mla as W,nla as O,ola as C,tla as _}from"./cli-1.1.11-sph0eaqc.mjs";import{gsa as p,ysa as qq}from"./cli-1.1.11-yx7hmc5y.mjs";import{_sa as N}from"./cli-1.1.11-s5fsvj2a.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
|
+
export{Fq as id,r as jd,nq as kd,lq as ld,Oq as md,QQ as nd,XQ as od,Dq as pd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DZ as s,H1 as f,c1 as t}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as n,l4 as c,m4 as r}from"./cli-1.1.11-dzq0mt2q.mjs";import{Wsa as m,_sa as l}from"./cli-1.1.11-s5fsvj2a.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
+
export{T as ng,p as og};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{X8 as D,x8 as q}from"./cli-1.1.11-ytd49283.mjs";import{Jja as m,Kja as z}from"./cli-1.1.11-17j0yz1c.mjs";import{_sa as x}from"./cli-1.1.11-s5fsvj2a.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
|
|
2
|
+
export{E as pi,F as qi,K as ri,M as si,G as ti};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{cb as v}from"./cli-1.1.11-qx2jtemb.mjs";import{ef as QK,jf as gK}from"./cli-1.1.11-vqcm2p2k.mjs";import{FM as KK,GQ as yK,HM as uK,Sm as oz,Um as SK,Vo as M,Wo as fK,YK as kz,Yo as sz,ap as hK,dB as tz,eL as FK,fB as ez,gB as mK,gv as jz,iU as b,kJ as pK,kU as aK,lJ as cK,nv as wK,pM as zK,qM as dK,xQ as bz}from"./cli-1.1.11-y8jb9ka1.mjs";import{lZ as Kz,qZ as GK,rZ as Qz,sZ as OK}from"./cli-1.1.11-23hz9e80.mjs";import{D7 as vK,J8 as Fz,L8 as wz,M6 as Dz,N8 as R,Q6 as Iz,U6 as Az,V6 as rz,X8 as yz,a7 as Gz,e5 as U,f7 as G,h7 as Nz,k5 as T,m7 as k,z7 as iz}from"./cli-1.1.11-ytd49283.mjs";import{r9 as A,s9 as UK}from"./cli-1.1.11-3jw12y1k.mjs";import{B_ as Zz,C_ as xK,F$ as gz,Hea as lz,J_ as x,Jga as V,L_ as jK,Lda as H,M$ as bK,Nda as $,Nea as q,Pda as az,Qda as O,Qea as W,Rga as I,Tda as Jz,Wea as Wz,Xaa as t,Xea as Bz,Yea as nz,Zda as B,aba as DK,g$ as $z,gba as e,i$ as MK,jfa as N,kba as IK,p$ as uz,rba as zz,uba as AK}from"./cli-1.1.11-yz3byxtx.mjs";import{rha as j,vha as CK}from"./cli-1.1.11-x2px8b33.mjs";import{Xia as dz,Zia as EK}from"./cli-1.1.11-ww3qs66m.mjs";import{Lja as Z,Oja as L}from"./cli-1.1.11-nnxrj2y7.mjs";import{Aka as o,Eka as LK,uka as r,wka as _K,xka as i}from"./cli-1.1.11-1jp85542.mjs";import{Wka as s,Xka as NK}from"./cli-1.1.11-ygstc2fh.mjs";import{mla as P,ola as n,tla as BK}from"./cli-1.1.11-sph0eaqc.mjs";import{Bla as pz,Hla as cz,Jla as kK,yla as E,zla as S}from"./cli-1.1.11-8vmf6185.mjs";import{Aoa as Rz,Boa as Sz,Coa as xz,Eoa as fz,Opa as l,cpa as hz,ena as w,ina as WK,mra as y,opa as mz,vpa as a}from"./cli-1.1.11-9q076mg1.mjs";import{Xsa as PK}from"./cli-1.1.11-s5fsvj2a.mjs";UK();GK();y();AK();BK();LK();DK();I();NK();IK();WK();_K();OK();import{readFileSync as TK}from"node:fs";var RK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function qQ(){let z=zz()?RK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function HQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function JQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(A.red(`Error: Invalid JSON provided to --settings
|
|
2
|
+
`)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{TK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(A.red(`Error: Settings file not found: ${Y}
|
|
3
|
+
`)),process.exit(1);throw J}X=Y}a(X),w()}catch(z){if(z instanceof Error)V(z);process.stderr.write(A.red(`Error processing settings: ${P(z)}
|
|
4
|
+
`)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),w()}catch(z){if(z instanceof Error)V(z);process.stderr.write(A.red(`Error processing --setting-sources: ${P(z)}
|
|
5
|
+
`)),process.exit(1)}}async function VQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
+
`);return[K,Q].filter(Boolean).join(`
|
|
7
|
+
`)}return K}CK();aK();L();SK();N();vK();jK();kK();bK();xK();MK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}I();k();dK();hK();uK();L();N();I();B();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=H("userSettings")||{};$("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",q((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}L();N();I();B();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())$("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),q((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}L();N();I();B();function _z(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=H("localSettings")||{},J={},_=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,_.push("enableAllProjectMcpServers");else if(z)_.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],_.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],_.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)$("localSettings",J);if(_.includes("enableAllProjectMcpServers")||_.includes("enabledMcpjsonServers")||_.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...F}=D;return F});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:_.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}B();function Lz(){let z=H("userSettings")?.model;if(typeof z==="string"){if(z.startsWith("fennec-latest[1m]"))$("userSettings",{model:"opus[1m]"});else if(z.startsWith("fennec-latest"))$("userSettings",{model:"opus"});else if(z.startsWith("fennec-fast-latest")||z.startsWith("opus-4-5-fast"))$("userSettings",{model:"opus[1m]",fastMode:!0})}}L();N();k();T();B();function Uz(){if(U()!=="firstParty")return;if(!Nz())return;let K=H("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;$("userSettings",{model:"opus"}),q((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}L();k();B();function Oz(){if(!Gz())return;if(H("userSettings")?.model!=="opus")return;if(Dz(Iz()))return;let z="opus[1m]",Q=G(z)===G(Az())?void 0:z;$("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}N();function Tz(){q((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}y();N();T();B();function Mz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(H("userSettings")?.model==="sonnet[1m]")$("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Rz()==="sonnet[1m]")xz("sonnet-4-5-20250929[1m]");q((X)=>({...X,sonnet1m45MigrationComplete:!0}))}L();yz();N();T();B();function Pz(){if(U()!=="firstParty")return;if(!R()&&!Fz()&&!wz())return;let K=H("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if($("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)q((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}L();N();I();FK();B();function Cz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(kz()!=="enabled")return;try{let z=H("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")$("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});q((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}L();yz();N();T();B();function Ez(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){q((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(O()?.model===void 0){let X=Date.now();q((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else q((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}gK();fK();y();EK();B();yK();L();wK();async function vz(K,z){let Q=await bz(K),X=jz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}mK();function tX(){try{let K=H("policySettings");if(K){let z=az(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function eX(){let K=G(Sz()??rz());vz(dz(),iz(K,fz())),KK().then(({enabled:z,errors:Q})=>{let X=zK();tz(z,X,sz()),ez(Q,X)}).catch((z)=>V(z))}function lK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(E("--use-system-ca"))K.has_use_system_ca=!0;if(E("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function zY(){if(oz())return;let[K,z,Q]=await Promise.all([uz(),gz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:nz(),prefers_reduced_motion:O().prefersReducedMotion??!1,...lK()})}var C=12;function KY(){if(W().migrationVersion!==C)Hz(),Vz(),_z(),Ez(),Mz(),Uz(),Pz(),Lz(),Oz(),Tz(),Cz(),q((K)=>K.migrationVersion===C?K:{...K,migrationVersion:C});QK().catch(()=>{})}function QY(){if(hz()){x("info","prefetch_system_context_non_interactive"),b();return}if(lz())x("info","prefetch_system_context_has_trust"),b();else x("info","prefetch_system_context_skipped_no_trust")}function XY(){j("eagerLoadSettings_start");let K=v("--settings");if(K)Xz(K);let z=v("--setting-sources");if(z!==void 0)Yz(z);j("eagerLoadSettings_end")}function YY(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(S(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function ZY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:_,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:F,skipWebFetchPreflight:XK,githubActionInputs:p,dangerouslySkipPermissionsPassed:YK,permissionMode:ZK,modeIsBypass:$K,allowDangerouslySkipPermissionsPassed:qK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:HK,assistantActivationPath:u,isCoordinator:JK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:_,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:F,skipWebFetchPreflight:XK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:YK,permissionMode:ZK,modeIsBypass:$K,inProtectedNamespace:cz(),allowDangerouslySkipPermissionsPassed:qK,thinkingType:HK.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:pz()||void 0,is_coordinator:JK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:O().autoUpdatesChannel??"latest"})}catch(VK){V(VK)}}function $Y(K){}function qY(K){return}
|
|
8
|
+
export{qQ as J,HQ as K,JQ as L,VQ as M,tX as N,eX as O,zY as P,KY as Q,QY as R,XY as S,YY as T,ZY as U,$Y as V,qY as W};
|