@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
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Pra as Q,Qra as V,Rra as W,Sra as X,Tra as Y,Ura as Z,dsa as w}from"./cli-1.1.9-6kcc57kb.mjs";import{Ysa as v}from"./cli-1.1.9-fws7k6ak.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
-
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
-
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
-
export{B as Wka,L as Xka,_ as Yka,S as Zka,k as _ka,F as $ka,D as ala,P as bla,x as cla,y as dla,T as ela,O as fla,R as gla,U as hla,f as ila,N as jla,I as kla,$ as lla,A as mla,p as nla,C as ola,h as pla,E as qla,b as rla};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{rb as d}from"./cli-1.1.9-gpmbky2h.mjs";import{$S as m,$l as s,Bt as qj,DC as I,Dv as Gj,EC as Hj,FE as Jj,Fm as E,Gk as $,Gl as P,Gm as e,HT as Vj,Hk as n,Hl as R,Ok as v,Pk as r,Pu as k,ST as F,Su as V,Uj as O,Wj as o,Yu as zj,Zu as w,_u as Bj,aT as S,bT as A,cS as Qj,dU as Xj,mT as c,mm as y,qK as f,rm as t,tT as p,uT as X,xv as C,yv as D,zt as h}from"./cli-1.1.9-bftwnbgn.mjs";import{LV as jj,wV as W}from"./cli-1.1.9-xn1fx31s.mjs";import{MX as x,PX as Kj}from"./cli-1.1.9-kdgc8zvn.mjs";import{d7 as T,k7 as u}from"./cli-1.1.9-914mh2gv.mjs";import{Via as Z,Xia as i}from"./cli-1.1.9-zy71vgyg.mjs";import{Mka as b,Pka as l}from"./cli-1.1.9-1b1mw6v2.mjs";import{Aoa as N,Gqa as K,kra as g,lna as U,ona as _,tna as Y,yoa as M}from"./cli-1.1.9-gttthtg1.mjs";g();e();Gj();zj();r();o();import{dirname as Yj}from"path";Xj();Jj();Kj();i();l();qj();Qj();u();t();n();Hj();Vj();jj();Bj();s();function Zj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===v);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=w().safeParse(G.todos);return H.success?H.data:[]}return[]}function aj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)h(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!W()&&j.messages&&j.messages.length>0){let B=Zj(j.messages);if(B.length>0){let z=U();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function $j(j){return}function Pj(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function Rj(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return b(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!M()&&z.model&&z.model!=="inherit")N(T(z.model));return{agentDefinition:z,agentType:z.agentType}}async function yj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:k(H)}}function Ej(j){let q=P();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}I(j.worktreePath),Y(Z()),R(j),F(),E(),y.cache.clear?.(),$()}function gj(){let j=P();if(!j)return;R(null),F(),E(),y.cache.clear?.(),$();try{process.chdir(j.originalCwd)}catch{return}I(j.originalCwd),Y(Z())}async function lj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(f(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(_(O(Q),q.transcriptPath?Yj(q.transcriptPath):null),await d(),await S(),!C(Q))D(j.messages)}}else if(j.contentReplacements?.length)await m(j.contentReplacements);if(c(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)Ej(j.worktreeSession),A();let{agentDefinition:G,agentType:H}=Rj(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);p(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?$j(j):void 0,L=Pj(j.agentName,j.agentColor);x(j.agentName);let a=await yj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...L&&{standaloneAgentContext:L},agentDefinitions:a}}}
|
|
2
|
-
export{aj as Qa,Pj as Ra,Rj as Sa,Ej as Ta,gj as Ua,lj as Va};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{ig as eq,jg as sq,kg as aJ}from"./cli-1.1.9-md4ratv1.mjs";import{lg as IJ,mg as AQ}from"./cli-1.1.9-fdzgypr3.mjs";import{ng as bJ,og as OQ}from"./cli-1.1.9-6mwsk9z2.mjs";import{pg as vJ,qg as bQ}from"./cli-1.1.9-97jvvqrz.mjs";import{rg as nq,sg as rJ}from"./cli-1.1.9-1ydmnrp6.mjs";import{tg as wq,ug as tq,vg as oJ}from"./cli-1.1.9-aqbj20gg.mjs";import{wg as AJ,xg as WQ}from"./cli-1.1.9-c6nqtzv9.mjs";import{$x as g,Kt as BJ,Lt as UQ,Mt as UJ,Nt as wJ,OT as Fq,Ot as wQ,RT as ZJ,UT as zJ,Uo as W,VG as kq,Vo as lq,WG as RQ,XG as hJ,YG as LJ,ZG as PJ,_G as LQ,_Q as QJ,aR as qQ,cy as FQ,dU as QQ,ky as pq,ly as jq,ny as _q,oR as Iq,oy as jJ,rR as JQ,sJ as WJ,tJ as OJ,uJ as PQ,xo as NJ,yo as BQ}from"./cli-1.1.9-bftwnbgn.mjs";import{OU as FJ,QU as HJ,TU as HQ}from"./cli-1.1.9-kyn85fwa.mjs";import{AW as hQ,wW as RJ}from"./cli-1.1.9-6a8pdm8s.mjs";import{AY as XJ,BY as XQ,EY as yJ,FY as yQ,NY as Cq,OY as NQ}from"./cli-1.1.9-ezkc7ag5.mjs";import{BZ as Oq,F1 as Aq,_0 as N,a1 as Q}from"./cli-1.1.9-txs7wza6.mjs";import{h4 as R,i4 as K,j4 as Z,k4 as c}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as VQ}from"./cli-1.1.9-ax8tkq65.mjs";import{A7 as VJ,B7 as KQ,M6 as oq,T6 as KJ,k7 as iq}from"./cli-1.1.9-914mh2gv.mjs";import{Oda as GJ,Raa as YQ,Xda as GQ,ada as aq,bda as gJ,eda as bq,mda as xJ,uaa as Mq,v_ as $,w_ as zQ}from"./cli-1.1.9-8gkjdbxs.mjs";import{Hla as ZQ,ula as YJ}from"./cli-1.1.9-jmwr69v2.mjs";import{kra as rq,rna as Hq}from"./cli-1.1.9-gttthtg1.mjs";import{Usa as Bq,Ysa as Uq}from"./cli-1.1.9-fws7k6ak.mjs";function Tq(){let J=dq.c(2);if(!pq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=_q();if(G.length===0){V=null;break q}let Y=G.filter(cJ),X=G.filter(TJ);q=Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,color:Y.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(N,{children:[K(Q,{dimColor:!0,children:"Location: "}),K(Q,{dimColor:!0,children:jq()})]}),Z(N,{marginLeft:1,flexDirection:"column",marginTop:1,children:[Y.map(dJ),X.map(_J)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function _J(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function dJ(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function TJ(J){return J.severity==="warning"}function cJ(J){return J.severity==="error"}var dq;var cq=Uq(()=>{Aq();jJ();c();dq=Bq(Oq(),1)});function gq(){let J=$q.c(2);if(!W.isSupportedPlatform())return null;if(!W.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=W.checkDependencies(),Y=G.errors.length>0,X=G.warnings.length>0;if(!Y&&!X){V=null;break q}q=Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",K(Q,{color:Y?"error":"warning",children:Y?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map($J),G.warnings.map(lJ),Y&&K(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function lJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function $J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var $q;var xq=Uq(()=>{Aq();lq();c();$q=Bq(Oq(),1)});async function iJ(){let J=zJ(await ZJ());if(J.length===0)return null;let q=J.sort((G,Y)=>Y.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${Fq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${Fq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:Fq}}async function nJ(J){if(!J)return null;let q=tq(J);if(q<=wq)return null;let V=J.activeAgents.filter((Y)=>Y.source!=="built-in").map((Y)=>{let X=`${Y.agentType}: ${Y.whenToUse}`;return{name:Y.agentType,tokens:Iq(X)}}).sort((Y,X)=>X.tokens-Y.tokens),G=V.slice(0,5).map((Y)=>`${Y.name}: ~${Y.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${wq.toLocaleString()})`,details:G,currentValue:q,threshold:wq}}async function eJ(J,q,V){let G=J.filter((Y)=>Y.isMcp);if(G.length===0)return null;try{let Y=oq(),{mcpToolTokens:X,mcpToolDetails:U}=await QJ(J,q,V,Y);if(X<=l)return null;let B=new Map;for(let h of U){let x=h.name.split("__")[1]||"unknown",y=B.get(x)||{count:0,tokens:0};B.set(x,{count:y.count+1,tokens:y.tokens+h.tokens})}let H=Array.from(B.entries()).sort((h,w)=>w[1].tokens-h[1].tokens),z=H.slice(0,5).map(([h,w])=>`${h}: ${w.count} tools (~${w.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(Y){let X=G.reduce((U,B)=>{let H=(B.name?.length||0)+B.description.length;return U+Iq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function sJ(J){let q=await J(),V=W.isSandboxingEnabled()&&W.isAutoAllowBashIfSandboxedEnabled(),G=nq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let Y=G.flatMap((X)=>[`${aq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${bq(G.length,"unreachable permission rule")} detected`,details:Y,currentValue:G.length,threshold:0}}async function tJ(){let J=Hq(),{findings:q}=await eq({root:J});if(q.length===0)return null;let V=q.filter((Y)=>Y.severity==="error"),G=q.map((Y)=>`${sq(J,Y.file)}: ${Y.message}`);return{type:"rule_files",severity:V.length>0?"error":"warning",message:`${q.length} rule ${bq(q.length,"file problem")} detected`,details:G,currentValue:q.length,threshold:0}}async function qJ(J,q,V){let[G,Y,X,U,B]=await Promise.all([iJ(),nJ(q),eJ(J,V,q),sJ(V),tJ()]);return{claudeMdWarning:G,agentWarning:Y,mcpWarning:X,unreachableRulesWarning:U,ruleFilesWarning:B}}var l=25000;var JJ=Uq(()=>{rq();JQ();qQ();QQ();iq();gJ();rJ();aJ();lq();oJ();xJ()});import{join as vq}from"path";function IQ(J){let q=Sq.c(8),{promise:V}=J,G=F.use(V);if(!G.latest){let B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=K(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=B;else B=q[0];return B}let Y;if(q[1]!==G.stable)Y=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=Y;else Y=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let U;if(q[5]!==Y||q[6]!==X)U=Z(R,{children:[Y,X]}),q[5]=Y,q[6]=X,q[7]=U;else U=q[7];return U}function xZ(J){let q=Sq.c(84),{onDone:V}=J,G=g(rQ),Y=g(xQ),X=g(gQ),U=g($Q);yJ();let B;if(q[0]!==Y)B=Y||[],q[0]=Y,q[1]=B;else B=q[1];let H=B,[z,h]=F.useState(null),[w,x]=F.useState(null),[y,MJ]=F.useState(null),[P,Dq]=F.useState(null),Rq=vJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=kq().then(cQ),q[2]=r;else r=q[2];let CJ=r,kJ=GJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Rq)a=Rq.filter(TQ),q[3]=Rq,q[4]=a;else a=q[4];let o=a,i;if(q[5]===Symbol.for("react.memo_cache_sentinel"))i=[{name:"BASH_MAX_OUTPUT_LENGTH",default:wJ,upperLimit:UJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:OJ,upperLimit:WJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...VJ(KJ())}].map(dQ).filter(_Q),q[5]=i;else i=q[5];let Eq=i,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{kq().then(h),(async()=>{let L=vq(YJ(),"agents"),fq=vq(Hq(),".claudin","agents"),{activeAgents:uq,allAgents:SJ,failedFiles:mq}=G,[DJ,EJ]=await Promise.all([Mq(L),Mq(fq)]),fJ={activeAgents:uq.map(jQ),userAgentsDir:L,projectAgentsDir:fq,userDirExists:DJ,projectDirExists:EJ,failedFiles:mq};x(fJ);let uJ=await qJ(H,{activeAgents:uq,allAgents:SJ,failedFiles:mq},async()=>X);if(MJ(uJ),hJ()){let Wq=vq(RJ(),"claude","locks"),mJ=PJ(Wq),pJ=LJ(Wq);Dq({enabled:!0,locks:pJ,locksDir:Wq,staleLocksCleaned:mJ})}else Dq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];F.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(XJ(qq,Jq),!z){let L;if(q[16]===Symbol.for("react.memo_cache_sentinel"))L=K(Cq,{children:K(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=L;else L=q[16];return L}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=K(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let v;if(q[27]!==z.configInstallMethod)v=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=v;else v=q[28];let hq=z.ripgrepStatus.working?"OK":"Not working",Lq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",M;if(q[29]!==hq||q[30]!==Lq)M=Z(Q,{children:["└ Search: ",hq," (",Lq,")"]}),q[29]=hq,q[30]=Lq,q[31]=M;else M=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(R,{children:[K(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
|
|
2
|
-
`)[0]]}),K(Q,{dimColor:!0,children:z.recommendation.split(`
|
|
3
|
-
`)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(R,{children:[K(Q,{}),K(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(pQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let S;if(q[36]!==z.warnings)S=z.warnings.length>0&&Z(R,{children:[K(Q,{}),z.warnings.map(mQ)]}),q[36]=z.warnings,q[37]=S;else S=q[37];let D;if(q[38]!==o)D=o.length>0&&Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,children:"Invalid Settings"}),K(IJ,{errors:o})]}),q[38]=o,q[39]=D;else D=q[39];let E;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==v||q[45]!==M||q[46]!==C||q[47]!==k||q[48]!==S||q[49]!==D)E=Z(N,{flexDirection:"column",children:[Qq,O,A,b,I,v,M,C,k,S,D]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=v,q[45]=M,q[46]=C,q[47]=k,q[48]=S,q[49]=D,q[50]=E;else E=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=K(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let Pq=z.packageManager?"Managed by package manager":z.autoUpdates,f;if(q[52]!==Pq)f=Z(Q,{children:["└ Auto-updates:"," ",Pq]}),q[52]=Pq,q[53]=f;else f=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",kJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=K(F.Suspense,{fallback:null,children:K(IQ,{promise:CJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==f||q[59]!==u)m=Z(N,{flexDirection:"column",children:[Zq,f,u,zq,Yq]}),q[58]=f,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=K(gq,{}),Kq=K(AJ,{}),Vq=K(Tq,{}),Xq=Eq.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Environment Variables"}),Eq.map(uQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==P)p=P?.enabled&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Version Locks"}),P.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",P.staleLocksCleaned," stale lock(s)"]}),P.locks.length===0?K(Q,{dimColor:!0,children:"└ No active version locks"}):P.locks.map(fQ)]}),q[65]=P,q[66]=p;else p=q[66];let j;if(q[67]!==w)j=w?.failedFiles&&w.failedFiles.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",w.failedFiles.length," agent file(s):"]}),w.failedFiles.map(EQ)]}),q[67]=w,q[68]=j;else j=q[68];let _;if(q[69]!==U)_=U.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",U.length," plugin error(s) detected:"]}),U.map(DQ)]}),q[69]=U,q[70]=_;else _=q[70];let d;if(q[71]!==y)d=y?.unreachableRulesWarning&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.unreachableRulesWarning.message]})]}),y.unreachableRulesWarning.details.map(SQ)]}),q[71]=y,q[72]=d;else d=q[72];let T;if(q[73]!==y)T=y&&(y.claudeMdWarning||y.agentWarning||y.mcpWarning||y.ruleFilesWarning)&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Context Usage Warnings"}),y.claudeMdWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),y.claudeMdWarning.details.map(kQ)]}),y.agentWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),y.agentWarning.details.map(CQ)]}),y.mcpWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),y.mcpWarning.details.map(MQ)]}),y.ruleFilesWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:y.ruleFilesWarning.severity==="error"?"error":"warning",children:[$.warning," ",y.ruleFilesWarning.message]})]}),Z(Q,{children:[" ","└ Rules:"]}),y.ruleFilesWarning.details.map(vQ)]})]}),q[73]=y,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=K(N,{children:K(bJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==E||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Cq,{children:[E,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=E,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function vQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function CQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function kQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function SQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function DQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",NJ(J)]},q)}function EQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function fQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?K(Q,{children:"(running)"}):K(Q,{color:"warning",children:"(stale)"})]},q)}function uQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",K(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function mQ(J,q){return Z(N,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function pQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function jQ(J){return{agentType:J.agentType,source:J.source}}function _Q(J){return J.status!=="valid"}function dQ(J){let q=process.env[J.name],V=BJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function TQ(J){return J.mcpErrorMetadata===void 0}function cQ(J){return(J.installationType==="native"?HJ:FJ)().catch(lQ)}function lQ(){return{latest:null,stable:null}}function $Q(J){return J.plugins.errors}function gQ(J){return J.toolPermissionContext}function xQ(J){return J.mcp.tools}function rQ(J){return J.agentDefinitions}var Sq,F;var aQ=Uq(()=>{zQ();cq();WQ();KQ();iq();ZQ();rq();NQ();OQ();xq();AQ();bQ();yQ();Aq();XQ();FQ();BQ();HQ();JJ();RQ();UQ();YQ();LQ();GQ();wQ();PQ();hQ();c();Sq=Bq(Oq(),1),F=Bq(VQ(),1)});
|
|
4
|
-
export{xZ as gg,aQ as hg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xa as c}from"./cli-1.1.9-kdpv38ab.mjs";import{vd as v,zd as Wq}from"./cli-1.1.9-0evqvwgb.mjs";import{Dd as I,Ed as S,Fd as $,Gd as Xq}from"./cli-1.1.9-gv5x5e8a.mjs";import{$x as L,AF as Qq,CM as P,FM as Vq,ay as h,cy as qq,fp as C,hD as M,hp as r,kL as f,lL as Tq,nD as Jq,sz as A,tz as Bq,xu as N,xz as _,yu as e,zF as E,zz as Gq}from"./cli-1.1.9-bftwnbgn.mjs";import{l4 as s}from"./cli-1.1.9-ax8tkq65.mjs";import{H_ as D,Hga as F,J_ as n,Pga as a,paa as w,raa as t}from"./cli-1.1.9-8gkjdbxs.mjs";import{Jja as x,Mja as d}from"./cli-1.1.9-573zndr8.mjs";import{Mka as j,Pka as o}from"./cli-1.1.9-1b1mw6v2.mjs";import{jla as y,rla as l}from"./cli-1.1.9-tze0002b.mjs";import{Usa as p}from"./cli-1.1.9-fws7k6ak.mjs";Qq();d();Gq();qq();Xq();t();o();n();l();a();e();Tq();Jq();Bq();r();var V=p(s(),1);Wq();Vq();function hq({enabled:W=!0}={}){let b=V.useSyncExternalStore(S,I,I),H=h(),O=L((J)=>J.plugins.needsRefresh),{addNotification:z}=E(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await P();await c();let X=v();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await f(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await M()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await A(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);_(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
-
export{hq as Wa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Oha as G,Zha as K}from"./cli-1.1.9-fzh3d8n1.mjs";import{Oia as j,Qia as M,Ria as J,Sia as N}from"./cli-1.1.9-0h7f33hw.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};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ZL as _,bM as S,eM as w,kM as M,lp as L,mM as P,mp as j,np as C,qp as O,rM as f,rp as b,sM as m,wM as c}from"./cli-1.1.9-bftwnbgn.mjs";import{Fca as E,Hga as k,Jda as N,Lda as x,Oda as A,Pga as D,Xda as T,xca as U}from"./cli-1.1.9-8gkjdbxs.mjs";import{Via as R,Xia as v}from"./cli-1.1.9-zy71vgyg.mjs";import{Mka as G,Pka as F}from"./cli-1.1.9-1b1mw6v2.mjs";import{Ysa as y}from"./cli-1.1.9-fws7k6ak.mjs";import{join as I}from"path";async function e(){let q=A(),J=[],Q=L();for(let[z,K]of Object.entries(Q))if(z.includes("@")&&K)J.push(z);if(q.enabledPlugins)for(let[z,K]of Object.entries(q.enabledPlugins)){if(!z.includes("@"))continue;let W=J.indexOf(z);if(K){if(W===-1)J.push(z)}else if(W!==-1)J.splice(W,1)}return J}function qq(){let q=new Map,J=L();for(let[z,K]of Object.entries(J)){if(!z.includes("@"))continue;if(K===!0)q.set(z,"flag");else if(K===!1)q.delete(z)}let Q=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:z,source:K}of Q){let W=N(K);if(!W?.enabledPlugins)continue;for(let[V,Y]of Object.entries(W.enabledPlugins)){if(!V.includes("@"))continue;if(V in J&&J[V]!==Y)G(`Plugin ${V} from --add-dir (${J[V]}) overridden by ${K} (${Y})`);if(Y===!0)q.set(V,z);else if(Y===!1)q.delete(V)}}return G(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([z,K])=>`${z}(${K})`).join(", ")}`),q}function zq(q){return C[q]}async function Jq(){M().catch((Q)=>{k(Q)});let q=w(),J=Object.keys(q.plugins);return G(`Found ${J.length} installed plugins`),J}async function Kq(q,J,Q="user"){let z=Q!=="user"?R():void 0,K=O(Q),W=N(K),V={...W?.enabledPlugins},Y=[],H=[];for(let B=0;B<q.length;B++){let X=q[B];if(!X)continue;if(J)J(X,B+1,q.length);try{let Z=await _(X);if(!Z){H.push({name:X,error:"Plugin not found in any marketplace"});continue}let{entry:$,marketplaceInstallLocation:h}=Z;if(!U($.source))await f(X,$,Q,z);else m({pluginId:X,installPath:I(h,$.source),version:$.version},Q,z);V[X]=!0,Y.push(X)}catch(Z){let $=Z instanceof Error?Z.message:String(Z);H.push({name:X,error:$}),k(Z)}}return x(K,{...W,enabledPlugins:V}),{installed:Y,failed:H}}var p=y(()=>{v();F();D();T();j();P();S();b();c();E()});
|
|
2
|
-
export{e as Wd,qq as Xd,zq as Yd,Jq as Zd,Kq as _d,p as $d};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Nsa as x,Psa as y,Tsa as C}from"./cli-1.1.9-xxwf95xq.mjs";import{Wsa as k}from"./cli-1.1.9-fws7k6ak.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
-
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
-
export{MF as e_};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i4 as v,k4 as D}from"./cli-1.1.9-5cr2dpgf.mjs";import{Zsa as B}from"./cli-1.1.9-fws7k6ak.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-1.1.9-xgs7khyz.mjs"),J=z??import("./REPL-1.1.9-ds8mvm64.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
|
|
2
|
-
export{N as db,O as eb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ch as fq,zh as e}from"./cli-1.1.9-mk4nfh2a.mjs";import{Dh as t,Fh as Hq}from"./cli-1.1.9-0dcyhvk3.mjs";import{$n as Yq,RO as o,SO as s,Sn as S,TO as Oq,Tn as Nq,Un as g,Vn as Vq,Wn as $,Xn as Wq,_n as i,hG as r,iG as kq,rG as n,sG as Mq}from"./cli-1.1.9-bftwnbgn.mjs";import{BY as Zq,zY as u}from"./cli-1.1.9-ezkc7ag5.mjs";import{BZ as Qq,F1 as Xq,_0 as M,a1 as F,s1 as c,t1 as Uq}from"./cli-1.1.9-txs7wza6.mjs";import{i4 as L,j4 as R,k4 as l}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as Lq}from"./cli-1.1.9-ax8tkq65.mjs";import{v_ as d,w_ as Jq}from"./cli-1.1.9-8gkjdbxs.mjs";import{Usa as a,Ysa as Gq}from"./cli-1.1.9-fws7k6ak.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
|
|
2
|
-
export{lq as xh,Fq as yh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Li as H,Ni as C}from"./cli-1.1.9-fygnj03b.mjs";import{Oi as k,Pi as y}from"./cli-1.1.9-kaxffmz4.mjs";import{t4 as G,u4 as m}from"./cli-1.1.9-0da4szeq.mjs";import{B4 as X,D4 as Y,I4 as R}from"./cli-1.1.9-cwtcnyyj.mjs";import{K4 as B,L4 as f}from"./cli-1.1.9-se5tezpj.mjs";import{G8 as w,V8 as E}from"./cli-1.1.9-914mh2gv.mjs";import{Hga as Q,Lea as S,Oea as j,Pga as D,hfa as x}from"./cli-1.1.9-8gkjdbxs.mjs";import{Hja as V,Ija as b}from"./cli-1.1.9-9yrwnzf6.mjs";import{esa as W,wsa as I}from"./cli-1.1.9-mp2pqq66.mjs";import{Ysa as Z}from"./cli-1.1.9-fws7k6ak.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=w(),N=L==="team"||L==="enterprise";if(!G()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await B(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();E();m();f();x();D()});
|
|
2
|
-
export{i as Ii,A as Ji};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Kf as N0,Lf as U0,Nf as VP}from"./cli-1.1.9-mt1mshmr.mjs";import{$n as EP,$x as J0,IN as ZP,JN as m0,LN as qP,QM as WP,QN as CP,Sn as h,Tn as c0,Un as p,Vn as w0,Wn as r,Xn as W0,ZM as cP,_M as fP,_n as O0,aN as M0,ay as QP,bN as h0,cN as T0,cy as j0,dN as d0,eI as G0,fI as YP,fO as C0,gN as R0,hG as XP,iG as mP,jO as pP,nN as u0,rG as L0,tG as i0}from"./cli-1.1.9-bftwnbgn.mjs";import{BY as TP,EY as D0,FY as LP,lY as JP,mY as hP,zY as z0}from"./cli-1.1.9-ezkc7ag5.mjs";import{AZ as AP,BZ as I0,F1 as q0,KZ as k0,Y0 as C,_0 as X,a1 as L,e1 as F0,u1 as GP,vZ as PP}from"./cli-1.1.9-txs7wza6.mjs";import{h4 as n,i4 as J,j4 as Q,k4 as a}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as $0}from"./cli-1.1.9-ax8tkq65.mjs";import{K4 as A0,L4 as dP}from"./cli-1.1.9-se5tezpj.mjs";import{D8 as e0,V8 as gP}from"./cli-1.1.9-914mh2gv.mjs";import{Mga as s0,Nca as y0,Oca as B0,Pca as KP,Pga as SP,dda as H0,eda as zP,mda as p0,v_ as _,w_ as r0}from"./cli-1.1.9-8gkjdbxs.mjs";import{Hja as g0,Ija as _P}from"./cli-1.1.9-9yrwnzf6.mjs";import{Jja as m,Mja as IP}from"./cli-1.1.9-573zndr8.mjs";import{kla as f0,rla as t0}from"./cli-1.1.9-tze0002b.mjs";import{Usa as e,Ysa as P0}from"./cli-1.1.9-fws7k6ak.mjs";function K0(G){let P=o0.c(9),{serverToolsCount:Y,serverPromptsCount:z,serverResourcesCount:Z}=G,f;if(P[0]!==z||P[1]!==Z||P[2]!==Y){if(f=[],Y>0)f.push("tools");if(Z>0)f.push("resources");if(z>0)f.push("prompts");P[0]=z,P[1]=Z,P[2]=Y,P[3]=f}else f=P[3];let H;if(P[4]===Symbol.for("react.memo_cache_sentinel"))H=J(L,{bold:!0,children:"Capabilities: "}),P[4]=H;else H=P[4];let W;if(P[5]!==f)W=f.length>0?J(r,{children:f}):"none",P[5]=f,P[6]=W;else W=P[6];let k;if(P[7]!==W)k=Q(X,{children:[H,J(L,{color:"text",children:W})]}),P[7]=W,P[8]=k;else k=P[8];return k}var o0;var _0=P0(()=>{q0();W0();a();o0=e(I0(),1)});function E0(G,P){switch(G.client.type){case"connected":return{message:`Reconnected to ${P}.`,success:!0};case"needs-auth":return{message:`${P} requires authentication. Use the 'Authenticate' option.`,success:!1};case"failed":return{message:`Failed to reconnect to ${P}.`,success:!1};default:return{message:`Unknown result when reconnecting to ${P}.`,success:!1}}}function V0(G,P){let Y=G instanceof Error?G.message:String(G);return`Error reconnecting to ${P}: ${Y}`}var S0=()=>{};function bG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),{columns:k}=JP(),[B,N]=E.default.useState(!1),[$,U]=E.default.useState(null),S=J0((q)=>q.mcp),M=QP(),[b,K]=E.default.useState(null),[V,D]=E.useState(!1),R=E.useRef(null),[g,c]=E.useState(!1),[j,T]=E.useState(null),[A,y]=E.useState(!1),[i,u]=E.useState(null),[l,v]=E.useState(!1),[o,s]=E.useState(!1),x=E.useRef(void 0),O=E.useRef(!1),[x0,Q0]=E.useState(""),[kP,DP]=E.useState(0),[a0,n0]=E.useState(null);E.useEffect(()=>()=>{if(O.current=!0,R.current?.abort(),x.current!==void 0)clearTimeout(x.current)},[]);let X0=G.isAuthenticated||G.client.type==="connected"&&P>0,Y0=N0(),wP=E.default.useCallback(async()=>{c(!1),T(null),D(!0);try{let q=await Y0(G.name),F=q.client.type==="connected";if(m("tengu_claudeai_mcp_auth_completed",{success:F}),F)Z?.(`Authentication successful. Connected to ${G.name}.`);else if(q.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}catch(q){m("tengu_claudeai_mcp_auth_completed",{success:!1}),Z?.(V0(q,G.name))}finally{D(!1)}},[Y0,G.name,Z]),MP=E.default.useCallback(async()=>{await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"needs-auth"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),m("tengu_claudeai_mcp_clear_auth_completed",{}),Z?.(`Disconnected from ${G.name}.`),y(!1),u(null),v(!1)},[G.name,G.config,G.scope,M,Z]);z0("confirm:no",()=>{R.current?.abort(),R.current=null,N(!1),K(null)},{context:"Confirmation",isActive:B}),z0("confirm:no",()=>{c(!1),T(null)},{context:"Confirmation",isActive:g}),z0("confirm:no",()=>{y(!1),u(null),v(!1)},{context:"Confirmation",isActive:A}),GP((q,F)=>{if(F.return&&g)wP();if(F.return&&A)if(l)MP();else{let w=`${g0().CLAUDE_AI_ORIGIN}/settings/connectors`;u(w),v(!0),A0(w)}if(q==="c"&&!o){let w=b||j||i;if(w)PP(w).then((d)=>{if(O.current)return;if(d)process.stdout.write(d);if(s(!0),x.current!==void 0)clearTimeout(x.current);x.current=setTimeout(s,2000,!1)})}});let RP=H0(String(G.name)),NP=M0(S.commands,G.name).length,l0=U0(),UP=E.default.useCallback(async()=>{let q=g0().CLAUDE_AI_ORIGIN,w=e0()?.organizationUuid,d;if(w&&G.config.type==="claudeai-proxy"&&G.config.id){let Z0=G.config.id.startsWith("mcprs")?"mcpsrv"+G.config.id.slice(5):G.config.id,t=encodeURIComponent(process.env.CLAUDE_CODE_ENTRYPOINT||"cli");d=`${q}/api/organizations/${w}/mcp/start-auth/${Z0}?product_surface=${t}`}else d=`${q}/settings/connectors`;T(d),c(!0),m("tengu_claudeai_mcp_auth_started",{}),await A0(d)},[G.config]),bP=E.default.useCallback(()=>{y(!0),m("tengu_claudeai_mcp_clear_auth_started",{})},[]),yP=E.default.useCallback(async()=>{let q=G.client.type!=="disabled";try{if(await l0(G.name),G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_toggle",{new_state:q?"disabled":"enabled"});z()}catch(F){Z?.(`Failed to ${q?"disable":"enable"} MCP server '${G.name}': ${f0(F)}`)}},[G.client.type,G.config.type,G.name,l0,z,Z]),BP=E.default.useCallback(async()=>{if(G.config.type==="claudeai-proxy")return;N(!0),U(null);let q=new AbortController;R.current=q;try{if(G.isAuthenticated&&G.config)await m0(G.name,G.config,{preserveStepUpState:!0});if(G.config){await qP(G.name,G.config,K,q.signal,{onWaitingForCallback:(w)=>{n0(()=>w)}}),m("tengu_mcp_auth_config_authenticate",{wasAuthenticated:G.isAuthenticated});let F=await Y0(G.name);if(F.client.type==="connected"){let w=X0?`Authentication successful. Reconnected to ${G.name}.`:`Authentication successful. Connected to ${G.name}.`;Z?.(w)}else if(F.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else s0(G.name,"Reconnection failed after authentication"),Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}}catch(F){if(F instanceof Error&&!(F instanceof ZP))U(F.message)}finally{N(!1),R.current=null,n0(null),Q0("")}},[G.isAuthenticated,G.config,G.name,Z,Y0,X0]),OP=async()=>{if(G.config.type==="claudeai-proxy")return;if(G.config)await m0(G.name,G.config),m("tengu_mcp_auth_config_clear",{}),await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"failed"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),Z?.(`Authentication cleared for ${G.name}.`)};if(B){let q=G.config.type!=="claudeai-proxy"&&G.config.oauth?.xaa?" Authenticating via your identity provider":" A browser window will open for authentication";return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:q})]}),b&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:b})]}),B&&b&&a0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{dimColor:!0,children:"If the redirect page shows a connection error, paste the URL from your browser's address bar:"}),Q(X,{children:[Q(L,{dimColor:!0,children:["URL ",">"," "]}),J(XP,{value:x0,onChange:Q0,onSubmit:(F)=>{a0(F.trim()),Q0("")},cursorOffset:kP,onChangeCursorOffset:DP,columns:k-8})]})]}),J(X,{marginLeft:3,children:J(L,{dimColor:!0,children:"Return here after authenticating in your browser. Press Esc to go back."})})]})}if(g)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" A browser window will open for authentication"})]}),j&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:j})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," after authenticating in your browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]});if(A)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Clear authentication for ",G.name]}),l?Q(n,{children:[J(L,{children:'Find the MCP server in the browser and click "Disconnect".'}),i&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser didn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:i})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," when done."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]}):Q(n,{children:[J(L,{children:'This will open claude.ai in the browser. Find the MCP server in the list and click "Disconnect".'}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," to open the browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]})]});if(V)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Connecting to ",J(L,{bold:!0,children:G.name}),"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" Establishing connection to MCP server"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});let I=[];if(G.client.type==="disabled")I.push({label:"Enable",value:"toggle-enabled"});if(G.client.type==="connected"&&P>0)I.push({label:"View tools",value:"tools"});if(G.config.type==="claudeai-proxy"){if(G.client.type==="connected")I.push({label:"Clear authentication",value:"claudeai-clear-auth"});else if(G.client.type!=="disabled")I.push({label:"Authenticate",value:"claudeai-auth"})}else{if(X0)I.push({label:"Re-authenticate",value:"reauth"}),I.push({label:"Clear authentication",value:"clear-auth"});if(!X0)I.push({label:"Authenticate",value:"auth"})}if(G.client.type!=="disabled"){if(G.client.type!=="needs-auth")I.push({label:"Reconnect",value:"reconnectMcpServer"});I.push({label:"Disable",value:"toggle-enabled"})}if(I.length===0)I.push({label:"Back",value:"back"});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[RP," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):G.client.type==="needs-auth"?Q(L,{children:[C("warning",H)(_.triangleUpOutline)," needs authentication"]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),G.transport!=="claudeai-proxy"&&Q(X,{children:[J(L,{bold:!0,children:"Auth: "}),X0?Q(L,{children:[C("success",H)(_.tick)," authenticated"]}):Q(L,{children:[C("error",H)(_.cross)," not authenticated"]})]}),Q(X,{children:[J(L,{bold:!0,children:"URL: "}),J(L,{dimColor:!0,children:G.config.url})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(G.scope)})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:NP,serverResourcesCount:S.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),$&&J(X,{marginTop:1,children:Q(L,{color:"error",children:["Error: ",$]})}),I.length>0&&J(X,{marginTop:1,children:J(L0,{options:I,onChange:async(q)=>{switch(q){case"tools":Y();break;case"auth":case"reauth":await BP();break;case"clear-auth":await OP();break;case"claudeai-auth":await UP();break;case"claudeai-clear-auth":bP();break;case"reconnectMcpServer":D(!0);try{let F=await Y0(G.name);if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:F.client.type==="connected"});let{message:w}=E0(F,G.name);Z?.(w)}catch(F){if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:!1});Z?.(V0(F,G.name))}finally{D(!1)}break;case"toggle-enabled":await yP();break;case"back":z();break}},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var E;var $P=P0(()=>{r0();IP();_P();LP();hP();AP();q0();TP();CP();pP();VP();u0();j0();gP();dP();t0();SP();p0();w0();i0();W0();c0();YP();mP();_0();S0();a();E=e($0(),1)});function uG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),k=J0((V)=>V.mcp),B=N0(),N=U0(),[$,U]=b0.useState(!1),S=b0.default.useCallback(async()=>{let V=G.client.type!=="disabled";try{await N(G.name),z()}catch(D){Z(`Failed to ${V?"disable":"enable"} MCP server '${G.name}': ${f0(D)}`)}},[G.client.type,G.name,N,z,Z]),M=H0(String(G.name)),b=M0(k.commands,G.name).length,K=[];if(G.client.type!=="disabled"&&P>0)K.push({label:"View tools",value:"tools"});if(G.client.type!=="disabled")K.push({label:"Reconnect",value:"reconnectMcpServer"});if(K.push({label:G.client.type!=="disabled"?"Disable":"Enable",value:"toggle-enabled"}),K.length===0)K.push({label:"Back",value:"back"});if($)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Reconnecting to ",J(L,{bold:!0,children:G.name})]}),Q(X,{children:[J(G0,{}),J(L,{children:" Restarting MCP server process"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[M," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),Q(X,{children:[J(L,{bold:!0,children:"Command: "}),J(L,{dimColor:!0,children:G.config.command})]}),G.config.args&&G.config.args.length>0&&Q(X,{children:[J(L,{bold:!0,children:"Args: "}),J(L,{dimColor:!0,children:G.config.args.join(" ")})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(WP(G.name)?.scope??"dynamic")})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:b,serverResourcesCount:k.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),K.length>0&&J(X,{marginTop:1,children:J(L0,{options:K,onChange:async(V)=>{if(V==="tools")Y();else if(V==="reconnectMcpServer"){U(!0);try{let D=await B(G.name),{message:R}=E0(D,G.name);Z?.(R)}catch(D){Z?.(V0(D,G.name))}finally{U(!1)}}else if(V==="toggle-enabled")await S();else if(V==="back")z()},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var b0;var jP=P0(()=>{r0();LP();q0();cP();VP();u0();j0();t0();p0();w0();i0();W0();c0();YP();_0();S0();a();b0=e($0(),1)});function tG(G){let P=FP.c(44),{tool:Y,server:z,onBack:Z}=G,[f,H]=v0.default.useState(""),W,k;if(P[0]!==z.name||P[1]!==Y){k=y0(Y.name,z.name);let s=Y.userFacingName?Y.userFacingName({}):k;W=B0(s),P[0]=z.name,P[1]=Y,P[2]=W,P[3]=k}else W=P[2],k=P[3];let B=W,N;if(P[4]!==Y)N=Y.isReadOnly?.({})??!1,P[4]=Y,P[5]=N;else N=P[5];let $=N,U;if(P[6]!==Y)U=Y.isDestructive?.({})??!1,P[6]=Y,P[7]=U;else U=P[7];let S=U,M;if(P[8]!==Y)M=Y.isOpenWorld?.({})??!1,P[8]=Y,P[9]=M;else M=P[9];let b=M,K,V;if(P[10]!==Y)K=()=>{(async function(){try{let O=await Y.description({},{isNonInteractiveSession:!1,toolPermissionContext:{mode:"default",additionalWorkingDirectories:new Map,alwaysAllowRules:{},alwaysDenyRules:{},alwaysAskRules:{},isBypassPermissionsModeAvailable:!1},tools:[]});H(O)}catch{H("Failed to load description")}})()},V=[Y],P[10]=Y,P[11]=K,P[12]=V;else K=P[11],V=P[12];v0.default.useEffect(K,V);let D;if(P[13]!==$)D=$&&J(L,{color:"success",children:" [read-only]"}),P[13]=$,P[14]=D;else D=P[14];let R;if(P[15]!==S)R=S&&J(L,{color:"error",children:" [destructive]"}),P[15]=S,P[16]=R;else R=P[16];let g;if(P[17]!==b)g=b&&J(L,{dimColor:!0,children:" [open-world]"}),P[17]=b,P[18]=g;else g=P[18];let c;if(P[19]!==B||P[20]!==D||P[21]!==R||P[22]!==g)c=Q(n,{children:[B,D,R,g]}),P[19]=B,P[20]=D,P[21]=R,P[22]=g,P[23]=c;else c=P[23];let j=c,T;if(P[24]===Symbol.for("react.memo_cache_sentinel"))T=J(L,{bold:!0,children:"Tool name: "}),P[24]=T;else T=P[24];let A;if(P[25]!==k)A=Q(X,{children:[T,J(L,{dimColor:!0,children:k})]}),P[25]=k,P[26]=A;else A=P[26];let y;if(P[27]===Symbol.for("react.memo_cache_sentinel"))y=J(L,{bold:!0,children:"Full name: "}),P[27]=y;else y=P[27];let i;if(P[28]!==Y.name)i=Q(X,{children:[y,J(L,{dimColor:!0,children:Y.name})]}),P[28]=Y.name,P[29]=i;else i=P[29];let u;if(P[30]!==f)u=f&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Description:"}),J(L,{wrap:"wrap",children:f})]}),P[30]=f,P[31]=u;else u=P[31];let l;if(P[32]!==Y.inputJSONSchema)l=Y.inputJSONSchema&&Y.inputJSONSchema.properties&&Object.keys(Y.inputJSONSchema.properties).length>0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Parameters:"}),J(X,{marginLeft:2,flexDirection:"column",children:Object.entries(Y.inputJSONSchema.properties).map((s)=>{let[x,O]=s,Q0=Y.inputJSONSchema?.required?.includes(x);return Q(L,{children:["• ",x,Q0&&J(L,{dimColor:!0,children:" (required)"}),":"," ",J(L,{dimColor:!0,children:typeof O==="object"&&O&&"type"in O?String(O.type):"unknown"}),typeof O==="object"&&O&&"description"in O&&Q(L,{dimColor:!0,children:[" - ",String(O.description)]})]},x)})})]}),P[32]=Y.inputJSONSchema,P[33]=l;else l=P[33];let v;if(P[34]!==A||P[35]!==i||P[36]!==u||P[37]!==l)v=Q(X,{flexDirection:"column",children:[A,i,u,l]}),P[34]=A,P[35]=i,P[36]=u,P[37]=l,P[38]=v;else v=P[38];let o;if(P[39]!==Z||P[40]!==z.name||P[41]!==v||P[42]!==j)o=J(O0,{title:j,subtitle:z.name,onCancel:Z,inputGuide:iP,children:v}),P[39]=Z,P[40]=z.name,P[41]=v,P[42]=j,P[43]=o;else o=P[43];return o}function iP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})}var FP,v0;var uP=P0(()=>{q0();KP();w0();EP();a();FP=e(I0(),1),v0=e($0(),1)});function VJ(G){let P=HP.c(21),{server:Y,onSelectTool:z,onBack:Z}=G,f=J0(xP),H;P:{if(Y.client.type!=="connected"){let V;if(P[0]===Symbol.for("react.memo_cache_sentinel"))V=[],P[0]=V;else V=P[0];H=V;break P}let K;if(P[1]!==f||P[2]!==Y.name)K=fP(f,Y.name),P[1]=f,P[2]=Y.name,P[3]=K;else K=P[3];H=K}let W=H,k;if(P[4]!==Y.name||P[5]!==W){let K;if(P[7]!==Y.name)K=(V,D)=>{let R=y0(V.name,Y.name),g=V.userFacingName?V.userFacingName({}):R,c=B0(g),j=V.isReadOnly?.({})??!1,T=V.isDestructive?.({})??!1,A=V.isOpenWorld?.({})??!1,y=[];if(j)y.push("read-only");if(T)y.push("destructive");if(A)y.push("open-world");return{label:c,value:D.toString(),description:y.length>0?y.join(", "):void 0,descriptionColor:T?"error":j?"success":void 0}},P[7]=Y.name,P[8]=K;else K=P[8];k=W.map(K),P[4]=Y.name,P[5]=W,P[6]=k}else k=P[6];let B=k,N=`Tools for ${Y.name}`,$=W.length,U;if(P[9]!==W.length)U=zP(W.length,"tool"),P[9]=W.length,P[10]=U;else U=P[10];let S=`${$} ${U}`,M;if(P[11]!==Z||P[12]!==z||P[13]!==W||P[14]!==B)M=W.length===0?J(L,{dimColor:!0,children:"No tools available"}):J(L0,{options:B,onChange:(K)=>{let V=parseInt(K),D=W[V];if(D)z(D,V)},onCancel:Z}),P[11]=Z,P[12]=z,P[13]=W,P[14]=B,P[15]=M;else M=P[15];let b;if(P[16]!==Z||P[17]!==N||P[18]!==S||P[19]!==M)b=J(O0,{title:N,subtitle:S,onCancel:Z,inputGuide:vP,children:M}),P[16]=Z,P[17]=N,P[18]=S,P[19]=M,P[20]=b;else b=P[20];return b}function vP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})}function xP(G){return G.mcp.tools}var HP;var aP=P0(()=>{q0();KP();u0();j0();p0();w0();i0();W0();EP();c0();a();HP=e(I0(),1)});
|
|
2
|
-
export{bG as Bf,$P as Cf,uG as Df,jP as Ef,tG as Ff,uP as Gf,VJ as Hf,aP as If};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{A2 as N,v2 as d,w2 as X}from"./cli-1.1.9-e6x7cyw4.mjs";import{Hga as B,Lea as U,Oea as G,Pga as p,hea as O,hfa as y,iea as f}from"./cli-1.1.9-8gkjdbxs.mjs";import{jla as x,rla as b}from"./cli-1.1.9-tze0002b.mjs";import{Hla as E,ula as H}from"./cli-1.1.9-jmwr69v2.mjs";import{apa as w,kra as P}from"./cli-1.1.9-gttthtg1.mjs";import{esa as k,wsa as S}from"./cli-1.1.9-mp2pqq66.mjs";import{Usa as M,Ysa as R}from"./cli-1.1.9-fws7k6ak.mjs";import{mkdir as _,readFile as V,writeFile as A}from"fs/promises";import{dirname as L,join as m}from"path";function W(){return m(H(),"cache","changelog.md")}async function Jq(){let J=G();if(!J.cachedChangelog)return;let q=W();try{await _(L(q),{recursive:!0}),await A(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}U(({cachedChangelog:Y,...z})=>z)}async function C(){if(w())return;if(O())return;let J=await k.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=W();await _(L(Y),{recursive:!0}),await A(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();U((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=W();try{let q=await V(J,"utf-8");return $=q,q}catch{return $="",""}}function j(){return $??""}function F(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
|
|
2
|
-
`);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let D=K.slice(1).filter((I)=>I.trim().startsWith("- ")).map((I)=>I.trim().substring(2).trim()).filter(Boolean);if(D.length>0)q[Z]=D}return q}catch(q){return B(x(q)),{}}}function l(J,q,Y=j()){try{let z=F(Y),K=T.coerce(J),Q=q?T.coerce(q):null;if(!Q||K&&X(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||X(Z,Q.version)).sort(([Z],[D])=>X(Z,D)?-1:1).flatMap(([Z,D])=>D).filter(Boolean).slice(0,u)}catch(z){return B(x(z)),[]}return[]}function Kq(J=j()){try{let q=F(J);return Object.keys(q).sort((z,K)=>X(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return B(x(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>B(x(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var T,u=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var g=R(()=>{S();P();y();E();b();p();f();N();T=M(d(),1)});
|
|
3
|
-
export{zq as df,Jq as ef,C as ff,h as gf,Kq as hf,Qq as if,g as jf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ksa as p,Lsa as a}from"./cli-1.1.9-2wrs8key.mjs";import{Wsa as i}from"./cli-1.1.9-fws7k6ak.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
|
|
2
|
-
export{u as D9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ed as K,fd as Y}from"./cli-1.1.9-jah1vcdm.mjs";import{Al as V,Fp as H,Gp as W,fN as J,nN as X,ul as G,vl as B,zl as U}from"./cli-1.1.9-bftwnbgn.mjs";import{Vsa as q,Ysa as v}from"./cli-1.1.9-fws7k6ak.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>G.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(H([...h,...g],"name"),J),k=($,j)=>$.name.localeCompare(j.name),w=[...Z.sort(k),...Q.sort(k)];if(z){if(z.isCoordinatorMode())return C(w)}return w}var x,z;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(V(),q(U))});
|
|
2
|
-
export{P as ad,C as bd,A as cd,D as dd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{SV as k,TV as f,hW as u}from"./cli-1.1.9-xn1fx31s.mjs";import{_X as C,kY as d}from"./cli-1.1.9-1q40zcz0.mjs";import{G4 as A,I4 as F}from"./cli-1.1.9-cwtcnyyj.mjs";import{c5 as q,i5 as i}from"./cli-1.1.9-914mh2gv.mjs";import{Z8 as W,a9 as _,h9 as j,i9 as w,n9 as I}from"./cli-1.1.9-e1ak8jhn.mjs";import{Hga as V,Pga as U}from"./cli-1.1.9-8gkjdbxs.mjs";import{Hja as M,Ija as v}from"./cli-1.1.9-9yrwnzf6.mjs";import{Mka as J,Pka as x,pka as X,qka as R,uka as p}from"./cli-1.1.9-1b1mw6v2.mjs";import{kla as P,rla as T}from"./cli-1.1.9-tze0002b.mjs";import{Zsa as O}from"./cli-1.1.9-fws7k6ak.mjs";x();U();F();v();x();T();U();_();I();p();import{randomUUID as E}from"crypto";var h=2000,y=5,S=30000,Y=3,c=new Set([4003]);function D(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class L{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,H){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=H}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${M().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let H={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:H,proxy:w(z),tls:W()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let K=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(K)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");V(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-1.1.9-8kjvkg3x.mjs"),Z=new $(z,{headers:H,agent:j(z),...W()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(K)=>{this.handleMessage(K.toString())}),Z.on("error",(K)=>{V(Error(`[SessionsWebSocket] Error: ${K.message}`)),this.callbacks.onError?.(K)}),Z.on("close",(K,G)=>{J(`[SessionsWebSocket] Closed: code=${K} reason=${G.toString()}`),this.handleClose(K)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=R(B);if(D(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){V(Error(`[SessionsWebSocket] Failed to parse message: ${P(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",c.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(h*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<y)this.reconnectAttempts++,this.scheduleReconnect(h,`attempt ${this.reconnectAttempts}/${y}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},S)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:E(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function N(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class b{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{V(z),this.callbacks.onError?.(z)}};this.websocket=new L(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(N(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let H={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(H)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await A(this.config.sessionId,B,z);if(!Q)V(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){V(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let H={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(H)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,H=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:H,viewerOnly:$}}x();U();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:H}=B,$=f(z);if(!$){V(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=k(z),K=!Q;return J(`[Reconnection] Computed initial team context for ${K?"leader":`teammate ${H}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:H,isLeader:K,teammates:{}}}function Wz(B,z,Q){let H=f(z);if(!H){V(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=H.members.find((G)=>G.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,K=k(z);B((G)=>({...G,teamContext:{teamName:z,teamFilePath:K,leadAgentId:H.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=q();for(let[H,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(H)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Lz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
|
|
2
|
-
export{b as La,$z as Ma,Xz as Na,Wz as Oa,Lz as Pa};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Ysa as I}from"./cli-1.1.9-fws7k6ak.mjs";function R($,q,H){let J=$.indexOf(q);if(J===-1)return $;let K=q.length,Z=0,Q="";do Q+=$.slice(Z,J)+q+H,Z=J+K,J=$.indexOf(q,Z);while(J!==-1);return Q+=$.slice(Z),Q}function T($,q,H,J){let K=0,Z="";do{let Q=$[J-1]==="\r";Z+=$.slice(K,Q?J-1:J)+q+(Q?`\r
|
|
2
|
-
`:`
|
|
3
|
-
`)+H,K=J+1,J=$.indexOf(`
|
|
4
|
-
`,K)}while(J!==-1);return Z+=$.slice(K),Z}var _=()=>{};function a(){let $=new Map;for(let[q,H]of Object.entries(X)){for(let[J,K]of Object.entries(H))X[J]={open:`\x1B[${K[0]}m`,close:`\x1B[${K[1]}m`},H[J]=X[J],$.set(Number.parseInt(K[0],10),K[1]);Object.defineProperty(X,q,{value:H,enumerable:!1})}return Object.defineProperty(X,"codes",{value:$,enumerable:!1}),X.color.close="\x1B[39m",X.bgColor.close="\x1B[49m",X.underlineColor.close="\x1B[59m",X.color.ansi=A(),X.color.ansi256=Y(),X.color.ansi16m=k(),X.bgColor.ansi=A(10),X.bgColor.ansi256=Y(10),X.bgColor.ansi16m=k(10),X.underlineColor.ansi=g,X.underlineColor.ansi256=Y(20),X.underlineColor.ansi16m=k(20),Object.defineProperties(X,{rgbToAnsi256:{value(q,H,J){if(q===H&&H===J){if(q<8)return 16;if(q>248)return 231;return Math.round((q-8)/247*24)+232}return 16+36*Math.round(q/255*5)+6*Math.round(H/255*5)+Math.round(J/255*5)},enumerable:!1},hexToRgb:{value(q){let H=/[\da-f]{6}|[\da-f]{3}/i.exec(q.toString(16));if(!H)return[0,0,0];let[J]=H;if(J.length===3)J=[...J].map((Z)=>Z+Z).join("");let K=Number.parseInt(J,16);return[K>>16&255,K>>8&255,K&255]},enumerable:!1},hexToAnsi256:{value:(q)=>X.rgbToAnsi256(...X.hexToRgb(q)),enumerable:!1},ansi256ToAnsi:{value(q){if(q<8)return 30+q;if(q<16)return 90+(q-8);let H,J,K;if(q>=232)H=((q-232)*10+8)/255,J=H,K=H;else{q-=16;let D=q%36;H=Math.floor(q/36)/5,J=Math.floor(D/6)/5,K=D%6/5}let Z=Math.max(H,J,K)*2;if(Z===0)return 30;let Q=30+(Math.round(K)<<2|Math.round(J)<<1|Math.round(H));if(Z===2)Q+=60;return Q},enumerable:!1},rgbToAnsi:{value:(q,H,J)=>X.ansi256ToAnsi(X.rgbToAnsi256(q,H,J)),enumerable:!1},hexToAnsi:{value:(q)=>X.ansi256ToAnsi(X.hexToAnsi256(q)),enumerable:!1}}),X}var A=($=0)=>(q)=>`\x1B[${q+$}m`,Y=($=0)=>(q)=>`\x1B[${38+$};5;${q}m`,k=($=0)=>(q,H,J)=>`\x1B[${38+$};2;${q};${H};${J}m`,g=($)=>`\x1B[58;5;${$<90?$-30:$-90+8}m`,X,U1,d,i,W1,z1,n,z;var E=I(()=>{X={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],underlineDouble:["4:2",24],underlineCurly:["4:3",24],underlineDotted:["4:4",24],underlineDashed:["4:5",24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},underlineColor:{underlineBlack:["58;5;0",59],underlineRed:["58;5;1",59],underlineGreen:["58;5;2",59],underlineYellow:["58;5;3",59],underlineBlue:["58;5;4",59],underlineMagenta:["58;5;5",59],underlineCyan:["58;5;6",59],underlineWhite:["58;5;7",59],underlineBlackBright:["58;5;8",59],underlineGray:["58;5;8",59],underlineGrey:["58;5;8",59],underlineRedBright:["58;5;9",59],underlineGreenBright:["58;5;10",59],underlineYellowBright:["58;5;11",59],underlineBlueBright:["58;5;12",59],underlineMagentaBright:["58;5;13",59],underlineCyanBright:["58;5;14",59],underlineWhiteBright:["58;5;15",59]}},U1=Object.keys(X.modifier),d=Object.keys(X.color),i=Object.keys(X.bgColor),W1=Object.keys(X.underlineColor),z1=[...d,...i];n=a(),z=n});import x from"node:process";import t from"node:os";import S from"node:tty";function W($,q=globalThis.Deno?globalThis.Deno.args:x.argv){let H=$.startsWith("-")?"":$.length===1?"-":"--",J=q.indexOf(H+$),K=q.indexOf("--");return J!==-1&&(K===-1||J<K)}function b(){return/^\d+$/.test(U.FORCE_COLOR)}function o(){if(!("FORCE_COLOR"in U))return;if(U.FORCE_COLOR==="false")return 0;if(U.FORCE_COLOR==="true"||U.FORCE_COLOR.length===0)return 1;if(!b())return;return Math.min(Number.parseInt(U.FORCE_COLOR,10),3)}function r($){if($===0)return!1;return{level:$,hasBasic:!0,has256:$>=2,has16m:$>=3}}function l($,{streamIsTTY:q,sniffFlags:H=!0}={}){let J=o();if(J!==void 0)P=J;let K=H?P:J;if(K===0)return 0;if(H){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if(K!==void 0&&b())return K;if("TF_BUILD"in U&&"AGENT_NAME"in U)return 1;if($&&!q&&K===void 0)return 0;let Z=K||0;if(U.TERM==="dumb")return Z;if(x.platform==="win32"){let Q=t.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in U){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Q)=>(Q in U)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in U))||U.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in U)return/^(?:9\.0*[1-9]\d*\.|\d{2,}\.)/.test(U.TEAMCITY_VERSION)?1:0;if(U.COLORTERM==="truecolor")return 3;if(U.TERM==="xterm-kitty")return 3;if(U.TERM==="xterm-ghostty")return 3;if(U.TERM==="wezterm")return 3;if("TERM_PROGRAM"in U){let Q=Number.parseInt((U.TERM_PROGRAM_VERSION||"").split(".",1)[0],10);switch(U.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(?:color)?$/i.test(U.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(U.TERM))return 1;if("COLORTERM"in U)return 1;return Z}function F($,q={}){let H=l($,{streamIsTTY:$&&$.isTTY,...q});return r(H)}var U,P,s,C;var h=I(()=>{({env:U}=x);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))P=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))P=1;s={stdout:F({isTTY:S.isatty(1)}),stderr:F({isTTY:S.isatty(2)})},C=s});class q1{constructor($){return v($)}}function O($){return v($)}var f,m,G,V,M,w,j,u=($)=>{if(!Number.isSafeInteger($)||$<0||$>3)throw Error("The `level` should be an integer from 0 to 3")},e,$1=($,q={})=>{if(q.level!==void 0)u(q.level);let H=f?f.level:0;$[w]=q.level===void 0?H:q.level},v=($)=>{let q=(...H)=>H.join(" ");return $1(q,$),Object.setPrototypeOf(q,O.prototype),q},H1=($,q)=>{let H=z[q];if($==="rgb"){let K=(Q,D,B)=>H.ansi(z.rgbToAnsi(Q,D,B));return[K,K,(Q,D,B)=>H.ansi256(z.rgbToAnsi256(Q,D,B)),H.ansi16m]}if($==="hex"){let K=(Q)=>H.ansi(z.hexToAnsi(Q));return[K,K,(Q)=>H.ansi256(z.hexToAnsi256(Q)),(Q)=>H.ansi16m(...z.hexToRgb(Q))]}let J=(K)=>H.ansi(z.ansi256ToAnsi(K));return[J,J,H.ansi256,H.ansi256]},J1,K1,p=($,q,H)=>{let J,K;if(H===void 0)J=$,K=q;else J=H.openAll+$,K=q+H.closeAll;return{open:$,close:q,openAll:J,closeAll:K,parent:H}},N=($,q,H)=>{let J=(...K)=>{if(K.length===1)return L(J,""+K[0]);if(K.length===2)return L(J,K[0]+" "+K[1]);return L(J,K.join(" "))};return Object.setPrototypeOf(J,K1),J[G]=$[G]??$,J[V]=q,J[M]=H,J},L=($,q)=>{if($[G][w]<=0||!q)return $[M]?"":q;let H=$[V];if(H===void 0)return q;let{openAll:J,closeAll:K}=H;if(q.includes("\x1B"))while(H!==void 0)q=R(q,H.close,H.open),H=H.parent;let Z=q.indexOf(`
|
|
5
|
-
`);if(Z!==-1)q=T(q,K,J,Z);return J+q+K},Q1,w1,Y1;var X1=I(()=>{_();E();h();({stdout:f,stderr:m}=C),G=Symbol("GENERATOR"),V=Symbol("STYLER"),M=Symbol("IS_EMPTY"),w=Symbol("LEVEL"),j=Object.create(null),e={enumerable:!0,get(){return this[w]},set($){u($),this[w]=$}};Object.setPrototypeOf(O.prototype,Function.prototype);for(let[$,q]of Object.entries(z))j[$]={get(){let H=N(this,p(q.open,q.close,this[V]),this[M]);return Object.defineProperty(this,$,{value:H}),H}};j.visible={get(){let $=N(this,this[V],!0);return Object.defineProperty(this,"visible",{value:$}),$}};J1=["rgb","hex","ansi256"];for(let $ of J1){let q=$[0].toUpperCase()+$.slice(1);for(let[H,J]of[[$,"color"],["bg"+q,"bgColor"],["underline"+q,"underlineColor"]]){let{close:K}=z[J],Z=H1($,J);j[H]={get(){let Q=function(D,B,c){let y=Z[this.level](D,B,c);return N(this,p(y,K,this[V]),this[M])};return Object.defineProperty(this,H,{value:Q}),Q}}}}K1=Object.defineProperties(()=>{},{...j,level:{enumerable:!0,get(){return this[G].level},set($){this[G].level=$}}});Object.defineProperties(O.prototype,{...j,level:e});Q1=O(),w1=O({level:m?m.level:0}),Y1=Q1});
|
|
6
|
-
export{q1 as o9,Y1 as p9,X1 as q9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$o as Zq,Ao as m,Ap as l,Bo as Xq,Cp as Rq,Dp as i,Ep as Aq,Wo as S,zo as E}from"./cli-1.1.9-bftwnbgn.mjs";import{Aca as n,Fca as vq,Hga as D,Pga as Qq,uca as u,wca as g,zca as h}from"./cli-1.1.9-8gkjdbxs.mjs";import{Oia as d,Qia as Uq}from"./cli-1.1.9-0h7f33hw.mjs";import{Cka as y,Mka as V,Pka as e,pka as P,qka as v,uka as f,yka as M}from"./cli-1.1.9-1b1mw6v2.mjs";import{kla as W,lla as O,mla as C,rla as _}from"./cli-1.1.9-tze0002b.mjs";import{esa as p,wsa as qq}from"./cli-1.1.9-mp2pqq66.mjs";import{Ysa as N}from"./cli-1.1.9-fws7k6ak.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};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Qn as T,Rn as Cq,ky as Pq,oy as cq}from"./cli-1.1.9-bftwnbgn.mjs";import{cZ as Uq,dZ as Iq,gZ as kq}from"./cli-1.1.9-kzqqvms6.mjs";import{BZ as aq,F1 as hq,_0 as L,a1 as O}from"./cli-1.1.9-txs7wza6.mjs";import{i4 as J,j4 as Q,k4 as vq}from"./cli-1.1.9-5cr2dpgf.mjs";import{a6 as bq,b6 as Mq,u6 as Sq}from"./cli-1.1.9-914mh2gv.mjs";import{M$ as Xq,N$ as jq,Oea as Rq,hfa as Bq,xba as Nq,zba as fq}from"./cli-1.1.9-8gkjdbxs.mjs";import{Zha as nq}from"./cli-1.1.9-fzh3d8n1.mjs";import{Usa as yq,Ysa as Gq}from"./cli-1.1.9-fws7k6ak.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
|
|
2
|
-
export{dq as wf,eq as xf,Wq as yf,LH as zf,uq as Af};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{UX as Xq,YX as wq,aY as vq,bY as c,cY as Sq,kY as Yq}from"./cli-1.1.9-1q40zcz0.mjs";import{E3 as Nq,x3 as Cq}from"./cli-1.1.9-8zhwfv3p.mjs";import{Hga as p,K$ as Fq,N_ as Oq,O_ as Lq,Pga as jq,eea as z,gea as yq,m$ as xq}from"./cli-1.1.9-8gkjdbxs.mjs";import{Oia as R,Qia as Qq,Ria as w,Sia as Vq}from"./cli-1.1.9-0h7f33hw.mjs";import{Mka as G,Pka as Jq,pka as S,qka as j,uka as qq}from"./cli-1.1.9-1b1mw6v2.mjs";import{kla as W,lla as v,rla as e}from"./cli-1.1.9-tze0002b.mjs";import{Hla as a,ula as s,vla as I,xla as t}from"./cli-1.1.9-jmwr69v2.mjs";import{apa as i,hna as r,ina as Mq,kra as m,lna as d,uqa as h}from"./cli-1.1.9-gttthtg1.mjs";import{Ysa as T,Zsa as Uq}from"./cli-1.1.9-fws7k6ak.mjs";import{mkdir as Dq,readdir as l,readFile as Zq,unlink as $q,writeFile as u}from"fs/promises";import{join as D}from"path";function _J(q){if(y===q)return;y=q,B()}function WJ(){if(y===void 0)return;y=void 0,B()}function B(){try{Gq.emit()}catch{}}function Kq(q){return D(E(q),bq)}async function g(q){let J=Kq(q);try{let Q=(await Zq(J,"utf-8")).trim(),V=parseInt(Q,10);return isNaN(V)?0:V}catch{return 0}}async function Rq(q,J){let Q=Kq(q);await u(Q,String(J))}function HJ(){if(t(process.env.CLAUDE_CODE_ENABLE_TASKS))return!0;return!i()}async function BJ(q){let J=E(q),Q=await o(q),V;try{V=await z(Q,P);let Y=await Wq(q);if(Y>0){let Z=await g(q);if(Y>Z)await Rq(q,Y)}let X;try{X=await l(J)}catch{X=[]}for(let Z of X)if(Z.endsWith(".json")&&!Z.startsWith(".")){let $=D(J,Z);try{await $q($)}catch{}}B()}finally{if(V)await V()}}async function UJ(q){let J=await f(q),Q=0;for(let V of J){if(V.status!=="completed"||V.metadata?._internal)continue;if(await C(q,V.id,{metadata:{...V.metadata,_internal:!0}}))Q++}return Q}function OJ(){if(process.env.CLAUDE_CODE_TASK_LIST_ID)return process.env.CLAUDE_CODE_TASK_LIST_ID;let q=Xq();if(q)return q.teamName;return c()||y||d()}function _q(q){return q.replace(/[^a-zA-Z0-9_-]/g,"-")}function E(q){return D(s(),"tasks",_q(q))}function A(q,J){return D(E(q),`${_q(J)}.json`)}async function pq(q){let J=E(q);try{await Dq(J,{recursive:!0})}catch{}}async function Wq(q){let J=E(q),Q;try{Q=await l(J)}catch{return 0}let V=0;for(let Y of Q){if(!Y.endsWith(".json"))continue;let X=parseInt(Y.replace(".json",""),10);if(!isNaN(X)&&X>V)V=X}return V}async function cq(q){let[J,Q]=await Promise.all([Wq(q),g(q)]);return Math.max(J,Q)}async function xJ(q,J){let Q=await o(q),V;try{V=await z(Q,P);let Y=await cq(q),X=String(Y+1),Z={id:X,...J},$=A(q,X);return await u($,S(Z,null,2)),B(),X}finally{if(V)await V()}}async function O(q,J){let Q=A(q,J);try{let V=await Zq(Q,"utf-8"),Y=j(V),X=fq().safeParse(Y);if(!X.success)return G(`[Tasks] Task ${J} failed schema validation: ${X.error.message}`),null;return X.data}catch(V){if(v(V)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${J}: ${W(V)}`),p(V),null}}async function Eq(q,J,Q){let V=await O(q,J);if(!V)return null;let Y={...V,...Q,id:J},X=A(q,J);return await u(X,S(Y,null,2)),B(),Y}async function C(q,J,Q){let V=A(q,J);if(!await O(q,J))return null;let X;try{return X=await z(V,P),await Eq(q,J,Q)}finally{await X?.()}}async function CJ(q,J){let Q=A(q,J);try{let V=parseInt(J,10);if(!isNaN(V)){let X=await g(q);if(V>X)await Rq(q,V)}try{await $q(Q)}catch(X){if(v(X)==="ENOENT")return!1;throw X}let Y=await f(q);for(let X of Y){let Z=X.blocks.filter((K)=>K!==J),$=X.blockedBy.filter((K)=>K!==J);if(Z.length!==X.blocks.length||$.length!==X.blockedBy.length)await C(q,X.id,{blocks:Z,blockedBy:$})}return B(),!0}catch{return!1}}async function f(q){let J=E(q),Q;try{Q=await l(J)}catch{return[]}let V=Q.filter((X)=>X.endsWith(".json")).map((X)=>X.replace(".json",""));return(await Promise.all(V.map((X)=>O(q,X)))).filter((X)=>X!==null)}async function vJ(q,J,Q){let[V,Y]=await Promise.all([O(q,J),O(q,Q)]);if(!V||!Y)return!1;if(!V.blocks.includes(Q))await C(q,J,{blocks:[...V.blocks,Q]});if(!Y.blockedBy.includes(J))await C(q,Q,{blockedBy:[...Y.blockedBy,J]});return!0}function uq(q){return D(E(q),".lock")}async function o(q){await pq(q);let J=uq(q);try{await u(J,"",{flag:"wx"})}catch{}return J}async function SJ(q,J,Q,V={}){let Y=A(q,J);if(!await O(q,J))return{success:!1,reason:"task_not_found"};if(V.checkAgentBusy)return hq(q,J,Q);let Z;try{Z=await z(Y,P);let $=await O(q,J);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==Q)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let K=await f(q),U=new Set(K.filter((M)=>M.status!=="completed").map((M)=>M.id)),N=$.blockedBy.filter((M)=>U.has(M));if(N.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:N};return{success:!0,task:await Eq(q,J,{owner:Q})}}catch($){return G(`[Tasks] Failed to claim task ${J}: ${W($)}`),p($),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function hq(q,J,Q){let V=await o(q),Y;try{Y=await z(V,P);let X=await f(q),Z=X.find((_)=>_.id===J);if(!Z)return{success:!1,reason:"task_not_found"};if(Z.owner&&Z.owner!==Q)return{success:!1,reason:"already_claimed",task:Z};if(Z.status==="completed")return{success:!1,reason:"already_resolved",task:Z};let $=new Set(X.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=Z.blockedBy.filter((_)=>$.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:Z,blockedByTasks:K};let U=X.filter((_)=>_.status!=="completed"&&_.owner===Q&&_.id!==J);if(U.length>0)return{success:!1,reason:"agent_busy",task:Z,busyWithTasks:U.map((_)=>_.id)};return{success:!0,task:await C(q,J,{owner:Q})}}catch(X){return G(`[Tasks] Failed to claim task ${J} with busy check: ${W(X)}`),p(X),{success:!1,reason:"task_not_found"}}finally{if(Y)await Y()}}async function zJ(q,J,Q,V){let X=(await f(q)).filter((K)=>K.status!=="completed"&&(K.owner===J||K.owner===Q));for(let K of X)await C(q,K.id,{owner:void 0,status:"pending"});if(X.length>0)G(`[Tasks] Unassigned ${X.length} task(s) from ${Q}`);let $=`${Q} ${V==="terminated"?"was terminated":"has shut down"}.`;if(X.length>0){let K=X.map((U)=>`#${U.id} "${U.subject}"`).join(", ");$+=` ${X.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:X.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:$}}var Gq,y,EJ,Pq,fq,bq=".highwatermark",P;var Hq=T(()=>{Qq();m();Jq();a();e();Vq();yq();jq();Mq();qq();Yq();wq();Gq=r();EJ=Gq.subscribe;Pq=w(()=>R.enum(["pending","in_progress","completed"])),fq=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:Pq(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),P={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function n(q){return q==="tmux"||q==="iterm2"}var Bq=()=>{};import{mkdirSync as Tq,readFileSync as Iq,writeFileSync as lq}from"fs";import{mkdir as gq,readFile as zq,rm as k,writeFile as oq}from"fs/promises";import{join as b}from"path";function Aq(q){return q.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function gJ(q){return q.replace(/@/g,"-")}function L(q){return b(I(),Aq(q))}function F(q){return b(L(q),"config.json")}function H(q){try{let J=Iq(F(q),"utf-8");return j(J)}catch(J){if(v(J)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${q}: ${W(J)}`),null}}async function nq(q){try{let J=await zq(F(q),"utf-8");return j(J)}catch(J){if(v(J)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${q}: ${W(J)}`),null}}function x(q,J){let Q=L(q);Tq(Q,{recursive:!0}),lq(F(q),S(J,null,2))}async function kq(q,J){let Q=L(q);await gq(Q,{recursive:!0}),await oq(F(q),S(J,null,2))}function oJ(q,J){let Q=J.agentId||J.name;if(!Q)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let V=H(q);if(!V)return G(`[TeammateTool] Cannot remove teammate ${Q}: failed to read team file for "${q}"`),!1;let Y=V.members.length;if(V.members=V.members.filter((X)=>{if(J.agentId&&X.agentId===J.agentId)return!1;if(J.name&&X.name===J.name)return!1;return!0}),V.members.length===Y)return G(`[TeammateTool] Teammate ${Q} not found in team file for "${q}"`),!1;return x(q,V),G(`[TeammateTool] Removed teammate from team file: ${Q}`),!0}function nJ(q,J){let Q=H(q);if(!Q)return!1;let V=Q.hiddenPaneIds??[];if(!V.includes(J))V.push(J),Q.hiddenPaneIds=V,x(q,Q),G(`[TeammateTool] Added ${J} to hidden panes for team ${q}`);return!0}function kJ(q,J){let Q=H(q);if(!Q)return!1;let V=Q.hiddenPaneIds??[],Y=V.indexOf(J);if(Y!==-1)V.splice(Y,1),Q.hiddenPaneIds=V,x(q,Q),G(`[TeammateTool] Removed ${J} from hidden panes for team ${q}`);return!0}function rJ(q,J){let Q=H(q);if(!Q)return!1;let V=Q.members.findIndex((Y)=>Y.tmuxPaneId===J);if(V===-1)return!1;if(Q.members.splice(V,1),Q.hiddenPaneIds){let Y=Q.hiddenPaneIds.indexOf(J);if(Y!==-1)Q.hiddenPaneIds.splice(Y,1)}return x(q,Q),G(`[TeammateTool] Removed member with pane ${J} from team ${q}`),!0}function dJ(q,J){let Q=H(q);if(!Q)return!1;let V=Q.members.findIndex((Y)=>Y.agentId===J);if(V===-1)return!1;return Q.members.splice(V,1),x(q,Q),G(`[TeammateTool] Removed member ${J} from team ${q}`),!0}function rq(q,J,Q){let V=H(q);if(!V)return!1;let Y=V.members.find((Z)=>Z.name===J);if(!Y)return G(`[TeammateTool] Cannot set member mode: member ${J} not found in team ${q}`),!1;if(Y.mode===Q)return!0;let X=V.members.map((Z)=>Z.name===J?{...Z,mode:Q}:Z);return x(q,{...V,members:X}),G(`[TeammateTool] Set member ${J} in team ${q} to mode: ${Q}`),!0}function iJ(q,J){if(!Sq())return;let Q=J??c(),V=vq();if(Q&&V)rq(Q,V,q)}function mJ(q,J){let Q=H(q);if(!Q)return!1;let V=new Map(J.map((Z)=>[Z.memberName,Z.mode])),Y=!1,X=Q.members.map((Z)=>{let $=V.get(Z.name);if($!==void 0&&Z.mode!==$)return Y=!0,{...Z,mode:$};return Z});if(Y)x(q,{...Q,members:X}),G(`[TeammateTool] Set ${J.length} member modes in team ${q}`);return!0}async function sJ(q,J,Q){let V=await nq(q);if(!V){G(`[TeammateTool] Cannot set member active: team ${q} not found`);return}let Y=V.members.find((X)=>X.name===J);if(!Y){G(`[TeammateTool] Cannot set member active: member ${J} not found in team ${q}`);return}if(Y.isActive===Q)return;Y.isActive=Q,await kq(q,V),G(`[TeammateTool] Set member ${J} in team ${q} to ${Q?"active":"idle"}`)}async function dq(q){let J=b(q,".git"),Q=null;try{let Y=(await zq(J,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Y&&Y[1]){let X=Y[1],Z=b(X,"..","..");Q=b(Z,"..")}}catch{}if(Q){let V=await Oq(xq(),["worktree","remove","--force",q],{cwd:Q});if(V.code===0){G(`[TeammateTool] Removed worktree via git: ${q}`);return}if(V.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${q}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${V.stderr}`)}try{await k(q,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${q}`)}catch(V){G(`[TeammateTool] Failed to remove worktree ${q}: ${W(V)}`)}}function tJ(q){h().add(q)}function aJ(q){h().delete(q)}async function eJ(){let q=h();if(q.size===0)return;let J=Array.from(q);G(`cleanupSessionTeams: removing ${J.length} orphan team dir(s): ${J.join(", ")}`),await Promise.allSettled(J.map((Q)=>iq(Q))),await Promise.allSettled(J.map((Q)=>mq(Q))),q.clear()}async function iq(q){let J=H(q);if(!J)return;let Q=J.members.filter(($)=>$.name!==Cq&&$.tmuxPaneId&&$.backendType&&n($.backendType));if(Q.length===0)return;let[{ensureBackendsRegistered:V,getBackendByType:Y},{isInsideTmux:X}]=await Promise.all([import("./registry-1.1.9-nhs76azt.mjs"),import("./detection-1.1.9-2vb502cf.mjs")]);await V();let Z=!await X();await Promise.allSettled(Q.map(async($)=>{if(!$.tmuxPaneId||!$.backendType||!n($.backendType))return;let K=await Y($.backendType).killPane($.tmuxPaneId,Z);G(`cleanupSessionTeams: killPane ${$.name} (${$.backendType} ${$.tmuxPaneId}) → ${K}`)}))}async function mq(q){let J=Aq(q),Q=H(q),V=[];if(Q){for(let Z of Q.members)if(Z.worktreePath)V.push(Z.worktreePath)}for(let Z of V)await dq(Z);let Y=L(q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Y}`)}catch(Z){G(`[TeammateTool] Failed to clean up team directory ${Y}: ${W(Z)}`)}let X=E(J);try{await k(X,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${X}`),B()}catch(Z){G(`[TeammateTool] Failed to clean up tasks directory ${X}: ${W(Z)}`)}}var lJ;var sq=T(()=>{Qq();m();Jq();a();e();Lq();Fq();Vq();qq();Hq();Yq();Bq();Nq();lJ=w(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
|
|
2
|
-
export{_J as sV,WJ as tV,EJ as uV,Pq as vV,HJ as wV,BJ as xV,UJ as yV,OJ as zV,_q as AV,E as BV,pq as CV,xJ as DV,O as EV,C as FV,CJ as GV,f as HV,vJ as IV,SJ as JV,zJ as KV,Hq as LV,n as MV,Bq as NV,lJ as OV,Aq as PV,gJ as QV,L as RV,F as SV,H as TV,nq as UV,kq as VV,oJ as WV,nJ as XV,kJ as YV,rJ as ZV,dJ as _V,rq as $V,iJ as aW,mJ as bW,sJ as cW,tJ as dW,aJ as eW,eJ as fW,mq as gW,sq as hW};
|