@claudiolabs/claudin 1.0.5 → 1.0.7
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.0.7-syk5wnkb.mjs +1 -0
- package/dist/chunks/App-1.0.7-9xht4gsa.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.7-dnv7dmn7.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.7-q24ws7x8.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.7-e3kma94j.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.7-2m1y9b7f.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.7-1gpcb873.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.7-pyrnmhtt.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.7-whkynyby.mjs +7 -0
- package/dist/chunks/Doctor-1.0.7-3yedapcw.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.7-99ytgtp8.mjs +6 -0
- package/dist/chunks/Grove-1.0.7-c6wygjxb.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.7-a8a42yx1.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.7-0e1f33ss.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.7-141f7djg.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.7-scbcqde5.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.7-9f7rpy9p.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.7-6mjnccee.mjs +1 -0
- package/dist/chunks/REPL-1.0.7-3xhews8d.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.7-qq2sfpfr.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.7-x9djv2x5.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.7-f6caprdb.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.7-b511561j.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.7-9twx384a.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.7-x3j2hxpn.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.7-1y7h6yxr.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.7-na359dm9.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.7-2vx6krky.mjs +1 -0
- package/dist/chunks/add-dir-1.0.7-r9eb0fmb.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.7-v46w2p6e.mjs +1 -0
- package/dist/chunks/agents-1.0.7-ekjscjc4.mjs +3 -0
- package/dist/chunks/agents-1.0.7-v22jz68n.mjs +110 -0
- package/dist/chunks/api-1.0.7-v520kz7p.mjs +1 -0
- package/dist/chunks/asciicast-1.0.7-r61pgxmk.mjs +1 -0
- package/dist/chunks/assistant-1.0.7-c12zzeyg.mjs +1 -0
- package/dist/chunks/auth-1.0.7-gv0th62c.mjs +1 -0
- package/dist/chunks/auth-1.0.7-y9sxvs6e.mjs +1 -0
- package/dist/chunks/autoMode-1.0.7-yq0m3sf6.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.7-6fqzjxwg.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.7-7mzhb52b.mjs +1 -0
- package/dist/chunks/branch-1.0.7-66ms82bv.mjs +4 -0
- package/dist/chunks/bridge-1.0.7-cd3w20b9.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.7-wztmwmxc.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.7-046e65f0.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.7-knt8h92j.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.7-v2crbecf.mjs +1 -0
- package/dist/chunks/btw-1.0.7-eg973xg5.mjs +1 -0
- package/dist/chunks/buddy-1.0.7-ypvr18ck.mjs +3 -0
- package/dist/chunks/cacache-1.0.7-0tzh2dcw.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.7-hhfr94gj.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.7-51t2bh05.mjs +4 -0
- package/dist/chunks/caches-1.0.7-mvqghhkx.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.7-1mrhcxq6.mjs +1 -0
- package/dist/chunks/claudemd-1.0.7-kgynnx5a.mjs +1 -0
- package/dist/chunks/clear-1.0.7-08jf28zt.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.7-z4gkskcj.mjs +1 -0
- package/dist/chunks/cli-1.0.7-01cbaw74.mjs +2 -0
- package/dist/chunks/cli-1.0.7-05enwpnp.mjs +2 -0
- package/dist/chunks/cli-1.0.7-073ekpkk.mjs +21 -0
- package/dist/chunks/cli-1.0.7-0dmnsy4c.mjs +2 -0
- package/dist/chunks/cli-1.0.7-0qbp0ac0.mjs +17 -0
- package/dist/chunks/cli-1.0.7-15qvkn0q.mjs +15 -0
- package/dist/chunks/cli-1.0.7-16wdg8r0.mjs +18 -0
- package/dist/chunks/cli-1.0.7-1fwxyw8s.mjs +2 -0
- package/dist/chunks/cli-1.0.7-1j68v2d8.mjs +3 -0
- package/dist/chunks/cli-1.0.7-1mkaw3aw.mjs +2 -0
- package/dist/chunks/cli-1.0.7-1r1y3a1c.mjs +2 -0
- package/dist/chunks/cli-1.0.7-1rw3xdy0.mjs +58 -0
- package/dist/chunks/cli-1.0.7-1s12ckef.mjs +2 -0
- package/dist/chunks/cli-1.0.7-1sgef4sw.mjs +2 -0
- package/dist/chunks/cli-1.0.7-1ty38mre.mjs +2 -0
- package/dist/chunks/cli-1.0.7-1xe7m9s1.mjs +4 -0
- package/dist/chunks/cli-1.0.7-1y8xdp9n.mjs +2 -0
- package/dist/chunks/cli-1.0.7-2438cvr1.mjs +3 -0
- package/dist/chunks/cli-1.0.7-2cajdt14.mjs +2 -0
- package/dist/chunks/cli-1.0.7-2csh6jt3.mjs +2 -0
- package/dist/chunks/cli-1.0.7-2k1bt916.mjs +2 -0
- package/dist/chunks/cli-1.0.7-2pyjzmpq.mjs +2 -0
- package/dist/chunks/cli-1.0.7-2wm3s497.mjs +2 -0
- package/dist/chunks/cli-1.0.7-2xw882yk.mjs +2 -0
- package/dist/chunks/cli-1.0.7-39nnxy0p.mjs +2 -0
- package/dist/chunks/cli-1.0.7-3arv8y4s.mjs +12 -0
- package/dist/chunks/cli-1.0.7-3fx5xqzq.mjs +2 -0
- package/dist/chunks/cli-1.0.7-3ke0fbeq.mjs +6 -0
- package/dist/chunks/cli-1.0.7-3kmf6s21.mjs +67 -0
- package/dist/chunks/cli-1.0.7-3p608q44.mjs +2 -0
- package/dist/chunks/cli-1.0.7-3pqhf5bj.mjs +4 -0
- package/dist/chunks/cli-1.0.7-3qnpcgyc.mjs +2 -0
- package/dist/chunks/cli-1.0.7-3s41c41h.mjs +20 -0
- package/dist/chunks/cli-1.0.7-3s4ccas2.mjs +2 -0
- package/dist/chunks/cli-1.0.7-3xrc45nn.mjs +2 -0
- package/dist/chunks/cli-1.0.7-3z1z90gf.mjs +4 -0
- package/dist/chunks/cli-1.0.7-41jm6paw.mjs +2 -0
- package/dist/chunks/cli-1.0.7-45px4q2q.mjs +12 -0
- package/dist/chunks/cli-1.0.7-4a67zfe7.mjs +2 -0
- package/dist/chunks/cli-1.0.7-4qwjg996.mjs +2 -0
- package/dist/chunks/cli-1.0.7-538yatrk.mjs +2 -0
- package/dist/chunks/cli-1.0.7-5f0y2nxn.mjs +2 -0
- package/dist/chunks/cli-1.0.7-5h2vgm7b.mjs +2 -0
- package/dist/chunks/cli-1.0.7-5kc9g0m9.mjs +3 -0
- package/dist/chunks/cli-1.0.7-5rxjz9r1.mjs +2 -0
- package/dist/chunks/cli-1.0.7-65xw81pn.mjs +7 -0
- package/dist/chunks/cli-1.0.7-67z7m1zx.mjs +15 -0
- package/dist/chunks/cli-1.0.7-6ncp8ban.mjs +2 -0
- package/dist/chunks/cli-1.0.7-6r3vkkzw.mjs +2 -0
- package/dist/chunks/cli-1.0.7-6wm7jzey.mjs +2 -0
- package/dist/chunks/cli-1.0.7-6yr2e385.mjs +2 -0
- package/dist/chunks/cli-1.0.7-73e5dz55.mjs +2 -0
- package/dist/chunks/cli-1.0.7-757ex32c.mjs +199 -0
- package/dist/chunks/cli-1.0.7-7egbzjdg.mjs +12 -0
- package/dist/chunks/cli-1.0.7-7gmv86pv.mjs +25 -0
- package/dist/chunks/cli-1.0.7-7qm9503t.mjs +4 -0
- package/dist/chunks/cli-1.0.7-7xhry9cz.mjs +8 -0
- package/dist/chunks/cli-1.0.7-7yrvwwdb.mjs +2 -0
- package/dist/chunks/cli-1.0.7-84dx5y2m.mjs +2 -0
- package/dist/chunks/cli-1.0.7-8fj15s8a.mjs +2 -0
- package/dist/chunks/cli-1.0.7-8hepstgz.mjs +2 -0
- package/dist/chunks/cli-1.0.7-8pfh7aha.mjs +2 -0
- package/dist/chunks/cli-1.0.7-96mb1gmj.mjs +2 -0
- package/dist/chunks/cli-1.0.7-96qpk0ct.mjs +2 -0
- package/dist/chunks/cli-1.0.7-97fqbfff.mjs +2 -0
- package/dist/chunks/cli-1.0.7-9p7hfa00.mjs +2 -0
- package/dist/chunks/cli-1.0.7-9pc6jb5f.mjs +2 -0
- package/dist/chunks/cli-1.0.7-9ws1j17m.mjs +2 -0
- package/dist/chunks/cli-1.0.7-a32vv8nk.mjs +2 -0
- package/dist/chunks/cli-1.0.7-a78rj0kd.mjs +9 -0
- package/dist/chunks/cli-1.0.7-a7fahcda.mjs +2 -0
- package/dist/chunks/cli-1.0.7-a808xdj3.mjs +3 -0
- package/dist/chunks/cli-1.0.7-aa7vfbxa.mjs +2 -0
- package/dist/chunks/cli-1.0.7-af1m1akw.mjs +2 -0
- package/dist/chunks/cli-1.0.7-akbc4ch3.mjs +2 -0
- package/dist/chunks/cli-1.0.7-an2jwvew.mjs +9 -0
- package/dist/chunks/cli-1.0.7-anrcmph3.mjs +3 -0
- package/dist/chunks/cli-1.0.7-av93xde0.mjs +2 -0
- package/dist/chunks/cli-1.0.7-b16t7f1a.mjs +2 -0
- package/dist/chunks/cli-1.0.7-b2pf78c9.mjs +2 -0
- package/dist/chunks/cli-1.0.7-b778v1dh.mjs +2 -0
- package/dist/chunks/cli-1.0.7-baqj15a8.mjs +2 -0
- package/dist/chunks/cli-1.0.7-bfe6f9c6.mjs +2 -0
- package/dist/chunks/cli-1.0.7-bkm2xek7.mjs +2 -0
- package/dist/chunks/cli-1.0.7-bn0sb2w7.mjs +2 -0
- package/dist/chunks/cli-1.0.7-c8kxp6h0.mjs +2 -0
- package/dist/chunks/cli-1.0.7-cb42m3ff.mjs +2 -0
- package/dist/chunks/cli-1.0.7-cf47wta1.mjs +2 -0
- package/dist/chunks/cli-1.0.7-cs7epg9a.mjs +2 -0
- package/dist/chunks/cli-1.0.7-d1zc020r.mjs +133 -0
- package/dist/chunks/cli-1.0.7-d3txxwh5.mjs +2 -0
- package/dist/chunks/cli-1.0.7-dbyr517p.mjs +4 -0
- package/dist/chunks/cli-1.0.7-ddhhvx60.mjs +2 -0
- package/dist/chunks/cli-1.0.7-df9p9tj8.mjs +24 -0
- package/dist/chunks/cli-1.0.7-dhdv7vtc.mjs +50 -0
- package/dist/chunks/cli-1.0.7-dnn18rgf.mjs +2 -0
- package/dist/chunks/cli-1.0.7-dr2dca7n.mjs +2 -0
- package/dist/chunks/cli-1.0.7-f43w1f9g.mjs +42 -0
- package/dist/chunks/cli-1.0.7-f6490vr3.mjs +2 -0
- package/dist/chunks/cli-1.0.7-fcfrsawp.mjs +2 -0
- package/dist/chunks/cli-1.0.7-fckzct0z.mjs +2 -0
- package/dist/chunks/cli-1.0.7-ff6dfmp3.mjs +2 -0
- package/dist/chunks/cli-1.0.7-fmdws8pg.mjs +2 -0
- package/dist/chunks/cli-1.0.7-fvr9xx0m.mjs +2 -0
- package/dist/chunks/cli-1.0.7-g1hrx2r5.mjs +18 -0
- package/dist/chunks/cli-1.0.7-g42rsvs5.mjs +2 -0
- package/dist/chunks/cli-1.0.7-g6d9snde.mjs +3 -0
- package/dist/chunks/cli-1.0.7-ga6hk3n2.mjs +3 -0
- package/dist/chunks/cli-1.0.7-ghxmw318.mjs +2 -0
- package/dist/chunks/cli-1.0.7-gj1806bk.mjs +2 -0
- package/dist/chunks/cli-1.0.7-gk53nva2.mjs +2 -0
- package/dist/chunks/cli-1.0.7-gnwjbdch.mjs +2 -0
- package/dist/chunks/cli-1.0.7-gp71tfwe.mjs +2 -0
- package/dist/chunks/cli-1.0.7-gq9fp39n.mjs +2 -0
- package/dist/chunks/cli-1.0.7-gqf40mqk.mjs +24 -0
- package/dist/chunks/cli-1.0.7-h1g9rk4g.mjs +4 -0
- package/dist/chunks/cli-1.0.7-hd6xn6rt.mjs +2 -0
- package/dist/chunks/cli-1.0.7-hfcehnx9.mjs +3 -0
- package/dist/chunks/cli-1.0.7-hw8dxgj2.mjs +2 -0
- package/dist/chunks/cli-1.0.7-j31m0f1y.mjs +2 -0
- package/dist/chunks/cli-1.0.7-j6hxvf4r.mjs +2 -0
- package/dist/chunks/cli-1.0.7-j6ndkfy3.mjs +2 -0
- package/dist/chunks/cli-1.0.7-jn7nay2r.mjs +2 -0
- package/dist/chunks/cli-1.0.7-jz4phmb3.mjs +3 -0
- package/dist/chunks/cli-1.0.7-k38j6sgc.mjs +2 -0
- package/dist/chunks/cli-1.0.7-k3nnbdbv.mjs +2 -0
- package/dist/chunks/cli-1.0.7-kegj01e5.mjs +133 -0
- package/dist/chunks/cli-1.0.7-kf237s65.mjs +2 -0
- package/dist/chunks/cli-1.0.7-kgbv7bt5.mjs +17 -0
- package/dist/chunks/cli-1.0.7-khd0yqhk.mjs +2 -0
- package/dist/chunks/cli-1.0.7-m17d94h8.mjs +2 -0
- package/dist/chunks/cli-1.0.7-mcmpb4cd.mjs +2 -0
- package/dist/chunks/cli-1.0.7-mv7ptsre.mjs +2 -0
- package/dist/chunks/cli-1.0.7-mwj9f8rw.mjs +59 -0
- package/dist/chunks/cli-1.0.7-mznh91ce.mjs +2 -0
- package/dist/chunks/cli-1.0.7-n5hf2vsh.mjs +2 -0
- package/dist/chunks/cli-1.0.7-na7ksfyj.mjs +2 -0
- package/dist/chunks/cli-1.0.7-nhg85avf.mjs +2 -0
- package/dist/chunks/cli-1.0.7-nnd4za11.mjs +3 -0
- package/dist/chunks/cli-1.0.7-p4p38dky.mjs +3 -0
- package/dist/chunks/cli-1.0.7-p5setvdk.mjs +2 -0
- package/dist/chunks/cli-1.0.7-ph9qjcjb.mjs +2 -0
- package/dist/chunks/cli-1.0.7-pxmf9kyf.mjs +2 -0
- package/dist/chunks/cli-1.0.7-pyacw9kn.mjs +5 -0
- package/dist/chunks/cli-1.0.7-q3ezj6q3.mjs +2 -0
- package/dist/chunks/cli-1.0.7-q7w0ex1x.mjs +2 -0
- package/dist/chunks/cli-1.0.7-qdtt526e.mjs +2 -0
- package/dist/chunks/cli-1.0.7-qjtqaam0.mjs +2 -0
- package/dist/chunks/cli-1.0.7-qknq8k3p.mjs +2 -0
- package/dist/chunks/cli-1.0.7-qmm35cv2.mjs +39 -0
- package/dist/chunks/cli-1.0.7-qxjpkptr.mjs +2 -0
- package/dist/chunks/cli-1.0.7-r4h75bn4.mjs +2 -0
- package/dist/chunks/cli-1.0.7-rbrr75z2.mjs +2 -0
- package/dist/chunks/cli-1.0.7-rz8h7nks.mjs +2 -0
- package/dist/chunks/cli-1.0.7-s11nkveb.mjs +24 -0
- package/dist/chunks/cli-1.0.7-s27f8y4p.mjs +2 -0
- package/dist/chunks/cli-1.0.7-s5mhxbhn.mjs +5476 -0
- package/dist/chunks/cli-1.0.7-s6jjnyxd.mjs +2 -0
- package/dist/chunks/cli-1.0.7-s8e8tq3y.mjs +2 -0
- package/dist/chunks/cli-1.0.7-sjpx2md1.mjs +2 -0
- package/dist/chunks/cli-1.0.7-skm59maw.mjs +2 -0
- package/dist/chunks/cli-1.0.7-sv4vj25b.mjs +2 -0
- package/dist/chunks/cli-1.0.7-t8m8vafg.mjs +4 -0
- package/dist/chunks/cli-1.0.7-tf8b1vhx.mjs +2 -0
- package/dist/chunks/cli-1.0.7-tvz0kwb6.mjs +25 -0
- package/dist/chunks/cli-1.0.7-txhggtd1.mjs +16 -0
- package/dist/chunks/cli-1.0.7-tz22r50p.mjs +2 -0
- package/dist/chunks/cli-1.0.7-vcsdnmc0.mjs +2 -0
- package/dist/chunks/cli-1.0.7-veqj11zy.mjs +3 -0
- package/dist/chunks/cli-1.0.7-vjgedfc4.mjs +2 -0
- package/dist/chunks/cli-1.0.7-vtd2sbnq.mjs +3 -0
- package/dist/chunks/cli-1.0.7-vw4n13wr.mjs +2 -0
- package/dist/chunks/cli-1.0.7-vx0rcgfm.mjs +2 -0
- package/dist/chunks/cli-1.0.7-w3g8c9m3.mjs +18 -0
- package/dist/chunks/cli-1.0.7-wahp9jjm.mjs +5 -0
- package/dist/chunks/cli-1.0.7-wc28nq81.mjs +6 -0
- package/dist/chunks/cli-1.0.7-wc4y0k3e.mjs +12 -0
- package/dist/chunks/cli-1.0.7-wgt5ay2x.mjs +6 -0
- package/dist/chunks/cli-1.0.7-wk9hs648.mjs +2 -0
- package/dist/chunks/cli-1.0.7-wmrv4paj.mjs +45 -0
- package/dist/chunks/cli-1.0.7-wqrgw4kw.mjs +2 -0
- package/dist/chunks/cli-1.0.7-ws7404wd.mjs +2 -0
- package/dist/chunks/cli-1.0.7-wwy64zs8.mjs +4 -0
- package/dist/chunks/cli-1.0.7-xdt2g9p7.mjs +2 -0
- package/dist/chunks/cli-1.0.7-xga48xv7.mjs +2 -0
- package/dist/chunks/cli-1.0.7-xh0afj9p.mjs +2 -0
- package/dist/chunks/cli-1.0.7-xhb3g1xh.mjs +2 -0
- package/dist/chunks/cli-1.0.7-xtj9j6ha.mjs +15 -0
- package/dist/chunks/cli-1.0.7-xvhkprcw.mjs +2 -0
- package/dist/chunks/cli-1.0.7-xxa9e3we.mjs +4 -0
- package/dist/chunks/cli-1.0.7-y8sq6jh3.mjs +4 -0
- package/dist/chunks/cli-1.0.7-y94dd4yd.mjs +2 -0
- package/dist/chunks/cli-1.0.7-yatztvfp.mjs +2 -0
- package/dist/chunks/cli-1.0.7-yb9sxq0k.mjs +2 -0
- package/dist/chunks/cli-1.0.7-ybcht1kp.mjs +2 -0
- package/dist/chunks/cli-1.0.7-yc90byps.mjs +34 -0
- package/dist/chunks/cli-1.0.7-yyqg2waz.mjs +2 -0
- package/dist/chunks/cli-1.0.7-z53gtmpk.mjs +6 -0
- package/dist/chunks/cli-1.0.7-z5vgrn57.mjs +2 -0
- package/dist/chunks/cli-1.0.7-z9fvy0d8.mjs +2 -0
- package/dist/chunks/cli-1.0.7-zjapdrt8.mjs +6 -0
- package/dist/chunks/cli-1.0.7-zmqm6p6t.mjs +2 -0
- package/dist/chunks/cli-1.0.7-zsbst1mq.mjs +1 -0
- package/dist/chunks/cli-1.0.7-zwr4ga8c.mjs +2 -0
- package/dist/chunks/client-1.0.7-n8414pey.mjs +1 -0
- package/dist/chunks/color-1.0.7-99fmrmyq.mjs +1 -0
- package/dist/chunks/compact-1.0.7-91sa41px.mjs +3 -0
- package/dist/chunks/config-1.0.7-bjt981nd.mjs +1 -0
- package/dist/chunks/config-1.0.7-vfbd76cq.mjs +1 -0
- package/dist/chunks/constants-1.0.7-fj97y7dq.mjs +1 -0
- package/dist/chunks/context-1.0.7-qmktq4pg.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.7-w9828p3h.mjs +1 -0
- package/dist/chunks/conversation-1.0.7-d5q8rrwx.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.7-mhsm6qwp.mjs +1 -0
- package/dist/chunks/copy-1.0.7-hznd9dqf.mjs +9 -0
- package/dist/chunks/cost-1.0.7-hbpz16jx.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.7-5s4sy0qv.mjs +1 -0
- package/dist/chunks/createSession-1.0.7-mha5sscw.mjs +1 -0
- package/dist/chunks/debug-1.0.7-6kcgjwgp.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.7-5x2a3qnr.mjs +1446 -0
- package/dist/chunks/desktop-1.0.7-37m19pef.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.7-3ffa7wfs.mjs +1 -0
- package/dist/chunks/detection-1.0.7-bcwz3kz9.mjs +1 -0
- package/dist/chunks/diff-1.0.7-60vwaapm.mjs +1 -0
- package/dist/chunks/doctor-1.0.7-bc3r1p04.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.7-qe18rzqr.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.7-51cxad4b.mjs +1 -0
- package/dist/chunks/effort-1.0.7-mckjwtdk.mjs +10 -0
- package/dist/chunks/engine-1.0.7-1kqhk6mc.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.7-hbpge4a8.mjs +1 -0
- package/dist/chunks/envUtils-1.0.7-m63cpkg3.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.7-kg2xnt7t.mjs +1 -0
- package/dist/chunks/environments-1.0.7-jcrcam7e.mjs +1 -0
- package/dist/chunks/errors-1.0.7-vhtw6kg6.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.7-f254y3tf.mjs +1 -0
- package/dist/chunks/exit-1.0.7-f5s73g22.mjs +1 -0
- package/dist/chunks/explorer-1.0.7-yjpphptq.mjs +1 -0
- package/dist/chunks/export-1.0.7-7kn40p9m.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.7-xwb7xfe4.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.7-0dpsjjh0.mjs +1 -0
- package/dist/chunks/fast-1.0.7-9eg9g1mf.mjs +1 -0
- package/dist/chunks/feedback-1.0.7-kkw4fdj8.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.7-yaekw6be.mjs +1 -0
- package/dist/chunks/git-1.0.7-t3824xkx.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.7-m79e1ga1.mjs +1 -0
- package/dist/chunks/goal-1.0.7-jkmcdmm1.mjs +4 -0
- package/dist/chunks/grove-1.0.7-th5kn0n5.mjs +1 -0
- package/dist/chunks/growthbook-1.0.7-hnr2hv9t.mjs +1 -0
- package/dist/chunks/headless-1.0.7-2w17kqac.mjs +2 -0
- package/dist/chunks/heapdump-1.0.7-1qvsds14.mjs +6 -0
- package/dist/chunks/help-1.0.7-33ennxwb.mjs +1 -0
- package/dist/chunks/hookChains-1.0.7-8gt4r1qg.mjs +3 -0
- package/dist/chunks/hooks-1.0.7-970fsrks.mjs +1 -0
- package/dist/chunks/hooks-1.0.7-xyrevnk8.mjs +79 -0
- package/dist/chunks/ide-1.0.7-knfed9xe.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.7-5c1fwxwf.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.7-5p98j8m2.mjs +1 -0
- package/dist/chunks/index-1.0.7-0ce2q3me.mjs +17 -0
- package/dist/chunks/index-1.0.7-3tbze0ns.mjs +1 -0
- package/dist/chunks/index-1.0.7-3z09rqyx.mjs +1 -0
- package/dist/chunks/index-1.0.7-4g6596jt.mjs +1 -0
- package/dist/chunks/index-1.0.7-59cvfmen.mjs +1 -0
- package/dist/chunks/index-1.0.7-63vq5fws.mjs +1 -0
- package/dist/chunks/index-1.0.7-6wcbk6ve.mjs +5 -0
- package/dist/chunks/index-1.0.7-84wm5p43.mjs +1 -0
- package/dist/chunks/index-1.0.7-c0jfw97a.mjs +9 -0
- package/dist/chunks/index-1.0.7-dds9fcry.mjs +1 -0
- package/dist/chunks/index-1.0.7-ecq1qwpq.mjs +1 -0
- package/dist/chunks/index-1.0.7-gm6exxqq.mjs +30 -0
- package/dist/chunks/index-1.0.7-jh8savg9.mjs +9 -0
- package/dist/chunks/index-1.0.7-k8k38nbt.mjs +1 -0
- package/dist/chunks/index-1.0.7-kyyfrf6j.mjs +1 -0
- package/dist/chunks/index-1.0.7-m23r2bmv.mjs +1 -0
- package/dist/chunks/index-1.0.7-mmm10tac.mjs +2 -0
- package/dist/chunks/index-1.0.7-p82yhqst.mjs +1 -0
- package/dist/chunks/index-1.0.7-vyafwe23.mjs +1 -0
- package/dist/chunks/index-1.0.7-wazwyjm7.mjs +1 -0
- package/dist/chunks/index-1.0.7-wd33rv5q.mjs +1 -0
- package/dist/chunks/index-1.0.7-yhxty6kz.mjs +1 -0
- package/dist/chunks/index-1.0.7-zp3vs07b.mjs +2 -0
- package/dist/chunks/init-1.0.7-y29e6mb3.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.7-14rmpkte.mjs +1 -0
- package/dist/chunks/ink-1.0.7-gf3qdamf.mjs +1 -0
- package/dist/chunks/insights-1.0.7-hd6460mk.mjs +870 -0
- package/dist/chunks/install-1.0.7-antesxaa.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.7-0asc4ajr.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.7-zwna6gq3.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.7-wvv85h9t.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.7-pkmbfs0b.mjs +1 -0
- package/dist/chunks/keybindings-1.0.7-emp8m2vr.mjs +2 -0
- package/dist/chunks/knowledge-1.0.7-6hv6538k.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.7-t1gtsxte.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.7-j5mq4f5x.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.7-6tbrq15z.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.7-k2zgqtye.mjs +1 -0
- package/dist/chunks/log-1.0.7-pmgzzdy7.mjs +1 -0
- package/dist/chunks/main-1.0.7-esamqda3.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.7-6mz7vwyt.mjs +1 -0
- package/dist/chunks/mcp-1.0.7-d4941tnp.mjs +17 -0
- package/dist/chunks/mcp-1.0.7-hjjdsn53.mjs +4 -0
- package/dist/chunks/mcp-1.0.7-skfyfspe.mjs +1 -0
- package/dist/chunks/mcpb-1.0.7-twwnd1ct.mjs +1 -0
- package/dist/chunks/memory-1.0.7-0r8q4re7.mjs +3 -0
- package/dist/chunks/model-1.0.7-d82p81ne.mjs +2 -0
- package/dist/chunks/model-1.0.7-xt8c58fg.mjs +1 -0
- package/dist/chunks/node-1.0.7-5h6w60zy.mjs +12 -0
- package/dist/chunks/oauth-1.0.7-gveatjqe.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.7-q8aqfz40.mjs +14 -0
- package/dist/chunks/output-style-1.0.7-xnamzpre.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-1.0.7-y8bvx3y5.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.7-we9ebc0h.mjs +1 -0
- package/dist/chunks/parser-1.0.7-20zgf2mq.mjs +1 -0
- package/dist/chunks/passes-1.0.7-gcnj20c4.mjs +1 -0
- package/dist/chunks/permissions-1.0.7-43y27rj9.mjs +3 -0
- package/dist/chunks/permissions-1.0.7-kw8fw9gd.mjs +1 -0
- package/dist/chunks/plan-1.0.7-z1k9hfr8.mjs +1 -0
- package/dist/chunks/plist-1.0.7-daxqmwqx.mjs +1 -0
- package/dist/chunks/plugin-1.0.7-66bqymg3.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.7-w5krqm0w.mjs +1 -0
- package/dist/chunks/plugins-1.0.7-8njx3c0z.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.7-a1hhphah.mjs +2 -0
- package/dist/chunks/print-1.0.7-xnncgmye.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.7-7gfaexn9.mjs +1 -0
- package/dist/chunks/process-1.0.7-9sx5xgpe.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.7-32dm20nc.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.7-am0rnn44.mjs +9 -0
- package/dist/chunks/prompt-1.0.7-0yt5k7pt.mjs +1 -0
- package/dist/chunks/prompt-1.0.7-hfv56awc.mjs +1 -0
- package/dist/chunks/prompts-1.0.7-1p5km2m0.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.7-geqttcpz.mjs +13 -0
- package/dist/chunks/provider-1.0.7-y0j7q32j.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.7-s0zs9q1r.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.7-aexhx4ft.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.7-r4b2s2hk.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.7-qmvr4jj4.mjs +34 -0
- package/dist/chunks/registry-1.0.7-be1gn584.mjs +1 -0
- package/dist/chunks/release-notes-1.0.7-tcr3xzz7.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.7-psfk2m91.mjs +2 -0
- package/dist/chunks/remote-env-1.0.7-xn5b9vx7.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.7-hvnh9bv2.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.7-870w4tbq.mjs +1 -0
- package/dist/chunks/rename-1.0.7-53emj8yj.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.7-cbrh6d8b.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.7-zs2c9f7n.mjs +1 -0
- package/dist/chunks/resume-1.0.7-b5e8840g.mjs +2 -0
- package/dist/chunks/rewind-1.0.7-15a43rp5.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.7-84t0zbkm.mjs +1 -0
- package/dist/chunks/sandbox-adapter-1.0.7-rs0gse4a.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.7-benxjznf.mjs +1 -0
- package/dist/chunks/session-1.0.7-9kyk2x4p.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.7-3z1nttw5.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.7-wha0618t.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.7-tdsf7h6t.mjs +1 -0
- package/dist/chunks/settings-1.0.7-ew9b4r78.mjs +1 -0
- package/dist/chunks/setup-1.0.7-tnm7hbmj.mjs +5 -0
- package/dist/chunks/sinks-1.0.7-bw23nvqf.mjs +1 -0
- package/dist/chunks/skills-1.0.7-z5a8v4xg.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.7-fqfzm5cc.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.7-enpb315n.mjs +1 -0
- package/dist/chunks/state-1.0.7-anf50tyt.mjs +1 -0
- package/dist/chunks/stats-1.0.7-xgb8h40k.mjs +6 -0
- package/dist/chunks/status-1.0.7-f7s47750.mjs +1 -0
- package/dist/chunks/stickers-1.0.7-z1wec6v6.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.7-838hrdpy.mjs +1 -0
- package/dist/chunks/tasks-1.0.7-gnsbny7t.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.7-b952rdkv.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.7-kp8hzkhr.mjs +1 -0
- package/dist/chunks/teleport-1.0.7-0z0g10ms.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.7-fgc3myw4.mjs +1 -0
- package/dist/chunks/theme-1.0.7-a88j7tjj.mjs +1 -0
- package/dist/chunks/thinkback-1.0.7-yzkgrf3q.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.7-jz896tvv.mjs +1 -0
- package/dist/chunks/toolPool-1.0.7-zc6vp20v.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.7-ym8fk2b2.mjs +1 -0
- package/dist/chunks/tools-1.0.7-612s0tqy.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.7-vjbr81qz.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.7-gz5y243z.mjs +69 -0
- package/dist/chunks/types-1.0.7-16q04281.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.7-v65pd88x.mjs +4 -0
- package/dist/chunks/update-1.0.7-z4et749c.mjs +88 -0
- package/dist/chunks/upgrade-1.0.7-hbdmpet7.mjs +1 -0
- package/dist/chunks/upload-1.0.7-xgyk75yh.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.7-vb939aaw.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.7-nfw64r47.mjs +1 -0
- package/dist/chunks/usage-1.0.7-kpakcv0m.mjs +1 -0
- package/dist/chunks/util-1.0.7-52gcb8n1.mjs +1 -0
- package/dist/chunks/utils-1.0.7-ckre2ymb.mjs +1 -0
- package/dist/chunks/vim-1.0.7-10bew4qn.mjs +1 -0
- package/dist/chunks/watcher-1.0.7-85c73j65.mjs +1 -0
- package/dist/chunks/wiki-1.0.7-yw93y8cn.mjs +132 -0
- package/dist/chunks/workflows-1.0.7-yatxf71n.mjs +1 -0
- package/dist/chunks/worktree-1.0.7-dp2np4vz.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.7-m222ja7h.mjs +1 -0
- package/dist/chunks/wrapper-1.0.7-sqtjm0k7.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/install.cjs +6 -2
- package/package.json +10 -10
- package/dist/chunks/AgentTool-1.0.5-bve72qn3.mjs +0 -1
- package/dist/chunks/App-1.0.5-b1ptk818.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.5-d73v27vk.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.5-m4g9ve5w.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.5-1fhw47s3.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.5-2ftcd34q.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.5-vvt3qmd3.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.5-5tbav27h.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.5-wfmfaq5y.mjs +0 -7
- package/dist/chunks/Doctor-1.0.5-aqtamd4t.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.5-fcek5ayb.mjs +0 -6
- package/dist/chunks/Grove-1.0.5-s0g6h4ad.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.5-8mefb31y.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.5-yg1pp4kj.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.5-ehfvv8xr.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.5-3g1wgttr.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.5-5xmfzaxp.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.5-js8agmz4.mjs +0 -1
- package/dist/chunks/REPL-1.0.5-cbty14yx.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.5-tk06qwet.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.5-dw798fgm.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.5-e9ecn6bv.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.5-73c21yk8.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.5-5z8kf91x.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.5-ymwpv5sa.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.5-sr892kpq.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.5-m1cpcqn6.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.5-472zrw1v.mjs +0 -1
- package/dist/chunks/add-dir-1.0.5-ge50ybwk.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.5-3zacry7t.mjs +0 -1
- package/dist/chunks/agents-1.0.5-v6mp2y4s.mjs +0 -3
- package/dist/chunks/agents-1.0.5-wv6r8bz8.mjs +0 -110
- package/dist/chunks/api-1.0.5-7ycxccha.mjs +0 -1
- package/dist/chunks/asciicast-1.0.5-hekxdzwx.mjs +0 -1
- package/dist/chunks/assistant-1.0.5-z18w3et3.mjs +0 -1
- package/dist/chunks/auth-1.0.5-2m7h1jf6.mjs +0 -1
- package/dist/chunks/auth-1.0.5-dpr47wdh.mjs +0 -1
- package/dist/chunks/autoMode-1.0.5-ydsnyr10.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.5-qk4kweea.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.5-m33sas71.mjs +0 -1
- package/dist/chunks/branch-1.0.5-e7g32mca.mjs +0 -4
- package/dist/chunks/bridge-1.0.5-vw1vdqpn.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.5-ws0123wb.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.5-319ckfdw.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.5-9s4j62gn.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.5-tmrgtd3x.mjs +0 -1
- package/dist/chunks/btw-1.0.5-vx6jpr7g.mjs +0 -1
- package/dist/chunks/buddy-1.0.5-1p0vvmht.mjs +0 -3
- package/dist/chunks/cacache-1.0.5-wjkzfh58.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.5-5nq882mh.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.5-wrrdeke5.mjs +0 -4
- package/dist/chunks/caches-1.0.5-v8k4exyq.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.5-gvxyj4xd.mjs +0 -1
- package/dist/chunks/claudemd-1.0.5-3jqbm6dg.mjs +0 -1
- package/dist/chunks/clear-1.0.5-ydrbv5sa.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.5-2xv2cmn3.mjs +0 -1
- package/dist/chunks/cli-1.0.5-03wgbmm2.mjs +0 -20
- package/dist/chunks/cli-1.0.5-0k6kyvrp.mjs +0 -4
- package/dist/chunks/cli-1.0.5-0qaqmxjt.mjs +0 -24
- package/dist/chunks/cli-1.0.5-0qw6t36m.mjs +0 -2
- package/dist/chunks/cli-1.0.5-0rec9csa.mjs +0 -2
- package/dist/chunks/cli-1.0.5-0s0v1gg0.mjs +0 -2
- package/dist/chunks/cli-1.0.5-0sq2vybw.mjs +0 -2
- package/dist/chunks/cli-1.0.5-0trf2gsb.mjs +0 -3
- package/dist/chunks/cli-1.0.5-0ye9svdt.mjs +0 -2
- package/dist/chunks/cli-1.0.5-0zrj33nk.mjs +0 -4
- package/dist/chunks/cli-1.0.5-123rr4tv.mjs +0 -17
- package/dist/chunks/cli-1.0.5-13h520vn.mjs +0 -2
- package/dist/chunks/cli-1.0.5-15332510.mjs +0 -18
- package/dist/chunks/cli-1.0.5-15xp9y4j.mjs +0 -2
- package/dist/chunks/cli-1.0.5-1b29x90m.mjs +0 -2
- package/dist/chunks/cli-1.0.5-1ca2a1kb.mjs +0 -2
- package/dist/chunks/cli-1.0.5-1ngdnte5.mjs +0 -2
- package/dist/chunks/cli-1.0.5-1z04v9fp.mjs +0 -2
- package/dist/chunks/cli-1.0.5-229sbfzz.mjs +0 -15
- package/dist/chunks/cli-1.0.5-29rk70p9.mjs +0 -2
- package/dist/chunks/cli-1.0.5-2aw9s99e.mjs +0 -6
- package/dist/chunks/cli-1.0.5-2hp8c4re.mjs +0 -2
- package/dist/chunks/cli-1.0.5-2j3w0k8p.mjs +0 -3
- package/dist/chunks/cli-1.0.5-2s6yzh9g.mjs +0 -2
- package/dist/chunks/cli-1.0.5-2x0kgr9z.mjs +0 -2
- package/dist/chunks/cli-1.0.5-39mk3dk2.mjs +0 -9
- package/dist/chunks/cli-1.0.5-39veaqd7.mjs +0 -2
- package/dist/chunks/cli-1.0.5-3c8dt3cc.mjs +0 -12
- package/dist/chunks/cli-1.0.5-3dcw9ffw.mjs +0 -2
- package/dist/chunks/cli-1.0.5-3mmky5x7.mjs +0 -67
- package/dist/chunks/cli-1.0.5-3qaq54xf.mjs +0 -2
- package/dist/chunks/cli-1.0.5-41vyz0qd.mjs +0 -18
- package/dist/chunks/cli-1.0.5-45wvp02j.mjs +0 -2
- package/dist/chunks/cli-1.0.5-46363jdw.mjs +0 -34
- package/dist/chunks/cli-1.0.5-4az3eg5n.mjs +0 -2
- package/dist/chunks/cli-1.0.5-4cf0c00c.mjs +0 -2
- package/dist/chunks/cli-1.0.5-4h3763ep.mjs +0 -2
- package/dist/chunks/cli-1.0.5-4xvkzkh8.mjs +0 -2
- package/dist/chunks/cli-1.0.5-4zswwdgs.mjs +0 -2
- package/dist/chunks/cli-1.0.5-53d6wywt.mjs +0 -2
- package/dist/chunks/cli-1.0.5-57axxb5t.mjs +0 -9
- package/dist/chunks/cli-1.0.5-57w7a5bs.mjs +0 -3
- package/dist/chunks/cli-1.0.5-5bxyzsp6.mjs +0 -2
- package/dist/chunks/cli-1.0.5-5d3y804x.mjs +0 -2
- package/dist/chunks/cli-1.0.5-5j8nqcrs.mjs +0 -2
- package/dist/chunks/cli-1.0.5-5mk9wvxw.mjs +0 -4
- package/dist/chunks/cli-1.0.5-5mnf7pdd.mjs +0 -2
- package/dist/chunks/cli-1.0.5-5r2pnj92.mjs +0 -2
- package/dist/chunks/cli-1.0.5-5r37hkj4.mjs +0 -2
- package/dist/chunks/cli-1.0.5-5zqq0zy7.mjs +0 -2
- package/dist/chunks/cli-1.0.5-6bbza4by.mjs +0 -2
- package/dist/chunks/cli-1.0.5-6dxc5313.mjs +0 -2
- package/dist/chunks/cli-1.0.5-6shb2frf.mjs +0 -2
- package/dist/chunks/cli-1.0.5-73mr16hn.mjs +0 -2
- package/dist/chunks/cli-1.0.5-77gpdsqr.mjs +0 -2
- package/dist/chunks/cli-1.0.5-7b347m92.mjs +0 -59
- package/dist/chunks/cli-1.0.5-7vf1pr3c.mjs +0 -2
- package/dist/chunks/cli-1.0.5-84039hcz.mjs +0 -2
- package/dist/chunks/cli-1.0.5-8arg550h.mjs +0 -2
- package/dist/chunks/cli-1.0.5-8b04xvpj.mjs +0 -15
- package/dist/chunks/cli-1.0.5-8d1k2x24.mjs +0 -3
- package/dist/chunks/cli-1.0.5-8dg2y6tg.mjs +0 -3
- package/dist/chunks/cli-1.0.5-8mfjh9vw.mjs +0 -2
- package/dist/chunks/cli-1.0.5-8rzb2qem.mjs +0 -17
- package/dist/chunks/cli-1.0.5-8vatjwa7.mjs +0 -5
- package/dist/chunks/cli-1.0.5-8xf656w6.mjs +0 -2
- package/dist/chunks/cli-1.0.5-96fnr7xq.mjs +0 -2
- package/dist/chunks/cli-1.0.5-9c0hvxqx.mjs +0 -2
- package/dist/chunks/cli-1.0.5-9m4a2113.mjs +0 -199
- package/dist/chunks/cli-1.0.5-9n44f77w.mjs +0 -2
- package/dist/chunks/cli-1.0.5-9p4aamqf.mjs +0 -2
- package/dist/chunks/cli-1.0.5-9q1kjzxh.mjs +0 -50
- package/dist/chunks/cli-1.0.5-a09d7qpj.mjs +0 -2
- package/dist/chunks/cli-1.0.5-a0zsx9k5.mjs +0 -6
- package/dist/chunks/cli-1.0.5-a1fg3j9y.mjs +0 -4
- package/dist/chunks/cli-1.0.5-a3w7xpt0.mjs +0 -2
- package/dist/chunks/cli-1.0.5-a4weds6b.mjs +0 -12
- package/dist/chunks/cli-1.0.5-a9bz757z.mjs +0 -2
- package/dist/chunks/cli-1.0.5-ackn9tdr.mjs +0 -12
- package/dist/chunks/cli-1.0.5-ax3758yk.mjs +0 -2
- package/dist/chunks/cli-1.0.5-axhexev2.mjs +0 -4
- package/dist/chunks/cli-1.0.5-b1qrxf5t.mjs +0 -2
- package/dist/chunks/cli-1.0.5-b9bacpp4.mjs +0 -2
- package/dist/chunks/cli-1.0.5-bbvr04n3.mjs +0 -2
- package/dist/chunks/cli-1.0.5-bbwvchab.mjs +0 -3
- package/dist/chunks/cli-1.0.5-bdad6ney.mjs +0 -2
- package/dist/chunks/cli-1.0.5-br28xg7b.mjs +0 -2
- package/dist/chunks/cli-1.0.5-br7w7ze2.mjs +0 -2
- package/dist/chunks/cli-1.0.5-c7k0f8wp.mjs +0 -3
- package/dist/chunks/cli-1.0.5-c91dt7xk.mjs +0 -2
- package/dist/chunks/cli-1.0.5-c96fh05p.mjs +0 -3
- package/dist/chunks/cli-1.0.5-cqyc6p8s.mjs +0 -2
- package/dist/chunks/cli-1.0.5-d2f5wztt.mjs +0 -2
- package/dist/chunks/cli-1.0.5-d6yzpr8m.mjs +0 -2
- package/dist/chunks/cli-1.0.5-d8mbbnv3.mjs +0 -2
- package/dist/chunks/cli-1.0.5-d94fzt0m.mjs +0 -1
- package/dist/chunks/cli-1.0.5-das3386n.mjs +0 -2
- package/dist/chunks/cli-1.0.5-dcqw85vj.mjs +0 -2
- package/dist/chunks/cli-1.0.5-des22ges.mjs +0 -15
- package/dist/chunks/cli-1.0.5-dvcx4amk.mjs +0 -2
- package/dist/chunks/cli-1.0.5-dxz3143j.mjs +0 -2
- package/dist/chunks/cli-1.0.5-ea6p97zd.mjs +0 -2
- package/dist/chunks/cli-1.0.5-edajpjmg.mjs +0 -2
- package/dist/chunks/cli-1.0.5-en031fdr.mjs +0 -2
- package/dist/chunks/cli-1.0.5-ezk8ma1j.mjs +0 -2
- package/dist/chunks/cli-1.0.5-f27mhrw6.mjs +0 -45
- package/dist/chunks/cli-1.0.5-f6bn3jxz.mjs +0 -2
- package/dist/chunks/cli-1.0.5-f7xkakb1.mjs +0 -18
- package/dist/chunks/cli-1.0.5-fa0mqzrq.mjs +0 -133
- package/dist/chunks/cli-1.0.5-fa2wnwya.mjs +0 -2
- package/dist/chunks/cli-1.0.5-fag58qwa.mjs +0 -2
- package/dist/chunks/cli-1.0.5-g21rt29j.mjs +0 -2
- package/dist/chunks/cli-1.0.5-g9s591pn.mjs +0 -2
- package/dist/chunks/cli-1.0.5-gdb1jgqb.mjs +0 -2
- package/dist/chunks/cli-1.0.5-gkss5w7t.mjs +0 -2
- package/dist/chunks/cli-1.0.5-gw52qb5c.mjs +0 -2
- package/dist/chunks/cli-1.0.5-ha9p17yw.mjs +0 -24
- package/dist/chunks/cli-1.0.5-hgadanc5.mjs +0 -2
- package/dist/chunks/cli-1.0.5-hq3f080w.mjs +0 -5471
- package/dist/chunks/cli-1.0.5-hz1nj3xh.mjs +0 -2
- package/dist/chunks/cli-1.0.5-j2w9p7gf.mjs +0 -6
- package/dist/chunks/cli-1.0.5-j4hpefm6.mjs +0 -25
- package/dist/chunks/cli-1.0.5-jaf04yn4.mjs +0 -2
- package/dist/chunks/cli-1.0.5-jcd8tadh.mjs +0 -2
- package/dist/chunks/cli-1.0.5-jewqmvp6.mjs +0 -2
- package/dist/chunks/cli-1.0.5-jmw0tc8t.mjs +0 -2
- package/dist/chunks/cli-1.0.5-jqnmxwxw.mjs +0 -2
- package/dist/chunks/cli-1.0.5-k0gvkh49.mjs +0 -2
- package/dist/chunks/cli-1.0.5-k8de6zdd.mjs +0 -4
- package/dist/chunks/cli-1.0.5-k9jqdbmm.mjs +0 -2
- package/dist/chunks/cli-1.0.5-kcp28c4h.mjs +0 -2
- package/dist/chunks/cli-1.0.5-kjy5f3kr.mjs +0 -2
- package/dist/chunks/cli-1.0.5-kv00w626.mjs +0 -2
- package/dist/chunks/cli-1.0.5-m5af0s7r.mjs +0 -2
- package/dist/chunks/cli-1.0.5-mekqm9qg.mjs +0 -133
- package/dist/chunks/cli-1.0.5-mffe7dsb.mjs +0 -2
- package/dist/chunks/cli-1.0.5-mmdqsfz9.mjs +0 -2
- package/dist/chunks/cli-1.0.5-mnqb7gd5.mjs +0 -2
- package/dist/chunks/cli-1.0.5-mq33s4f9.mjs +0 -2
- package/dist/chunks/cli-1.0.5-mt5e9at7.mjs +0 -2
- package/dist/chunks/cli-1.0.5-n37mkdyd.mjs +0 -2
- package/dist/chunks/cli-1.0.5-nc61pjy8.mjs +0 -2
- package/dist/chunks/cli-1.0.5-nfbvan59.mjs +0 -25
- package/dist/chunks/cli-1.0.5-nhdp3yej.mjs +0 -24
- package/dist/chunks/cli-1.0.5-nmdv34f7.mjs +0 -3
- package/dist/chunks/cli-1.0.5-nzt3xk1m.mjs +0 -2
- package/dist/chunks/cli-1.0.5-pbm5zpv9.mjs +0 -2
- package/dist/chunks/cli-1.0.5-pj7yrrt0.mjs +0 -39
- package/dist/chunks/cli-1.0.5-pnn57nb8.mjs +0 -2
- package/dist/chunks/cli-1.0.5-q2fxy9jm.mjs +0 -2
- package/dist/chunks/cli-1.0.5-q8fmarwj.mjs +0 -2
- package/dist/chunks/cli-1.0.5-qj14h4d5.mjs +0 -2
- package/dist/chunks/cli-1.0.5-qmzb3pc8.mjs +0 -2
- package/dist/chunks/cli-1.0.5-qsbpj1m9.mjs +0 -2
- package/dist/chunks/cli-1.0.5-qxw23b51.mjs +0 -2
- package/dist/chunks/cli-1.0.5-qy05mbzq.mjs +0 -2
- package/dist/chunks/cli-1.0.5-rh55zzfg.mjs +0 -3
- package/dist/chunks/cli-1.0.5-rky5xqh5.mjs +0 -2
- package/dist/chunks/cli-1.0.5-rva2hgpp.mjs +0 -2
- package/dist/chunks/cli-1.0.5-rzs07ec3.mjs +0 -16
- package/dist/chunks/cli-1.0.5-serj5ewd.mjs +0 -2
- package/dist/chunks/cli-1.0.5-sfkkcf3p.mjs +0 -5
- package/dist/chunks/cli-1.0.5-sj2231f1.mjs +0 -2
- package/dist/chunks/cli-1.0.5-snbkdqfy.mjs +0 -12
- package/dist/chunks/cli-1.0.5-ssayw5dp.mjs +0 -2
- package/dist/chunks/cli-1.0.5-ssx4mcjx.mjs +0 -2
- package/dist/chunks/cli-1.0.5-stpcz7ba.mjs +0 -2
- package/dist/chunks/cli-1.0.5-t1pv236j.mjs +0 -2
- package/dist/chunks/cli-1.0.5-t25yws3j.mjs +0 -3
- package/dist/chunks/cli-1.0.5-t5wec35j.mjs +0 -2
- package/dist/chunks/cli-1.0.5-t8qp4fth.mjs +0 -2
- package/dist/chunks/cli-1.0.5-taz16hsd.mjs +0 -2
- package/dist/chunks/cli-1.0.5-tdwgmc3m.mjs +0 -2
- package/dist/chunks/cli-1.0.5-tek59n3h.mjs +0 -4
- package/dist/chunks/cli-1.0.5-tk21thw2.mjs +0 -2
- package/dist/chunks/cli-1.0.5-tmwsjg05.mjs +0 -3
- package/dist/chunks/cli-1.0.5-tw2jj3xn.mjs +0 -4
- package/dist/chunks/cli-1.0.5-tx7namj9.mjs +0 -2
- package/dist/chunks/cli-1.0.5-v5nyz2nh.mjs +0 -7
- package/dist/chunks/cli-1.0.5-vgd5ajrc.mjs +0 -2
- package/dist/chunks/cli-1.0.5-vh4hke14.mjs +0 -2
- package/dist/chunks/cli-1.0.5-vr3tqxgz.mjs +0 -6
- package/dist/chunks/cli-1.0.5-vtt9zkqz.mjs +0 -6
- package/dist/chunks/cli-1.0.5-waf9kawe.mjs +0 -2
- package/dist/chunks/cli-1.0.5-war5e8jj.mjs +0 -58
- package/dist/chunks/cli-1.0.5-wp9990nf.mjs +0 -8
- package/dist/chunks/cli-1.0.5-wpdpq47d.mjs +0 -2
- package/dist/chunks/cli-1.0.5-wzmh1e3n.mjs +0 -21
- package/dist/chunks/cli-1.0.5-x4aspz9g.mjs +0 -2
- package/dist/chunks/cli-1.0.5-xmnks1wk.mjs +0 -2
- package/dist/chunks/cli-1.0.5-xy058mns.mjs +0 -2
- package/dist/chunks/cli-1.0.5-xzx7ww5a.mjs +0 -2
- package/dist/chunks/cli-1.0.5-y4j32yy1.mjs +0 -2
- package/dist/chunks/cli-1.0.5-y8q3qk2n.mjs +0 -4
- package/dist/chunks/cli-1.0.5-y9379vp6.mjs +0 -42
- package/dist/chunks/cli-1.0.5-yaaee8wg.mjs +0 -2
- package/dist/chunks/cli-1.0.5-yfjm1eph.mjs +0 -2
- package/dist/chunks/cli-1.0.5-yq73wx8x.mjs +0 -2
- package/dist/chunks/cli-1.0.5-yt947a9v.mjs +0 -2
- package/dist/chunks/cli-1.0.5-yxd38q26.mjs +0 -2
- package/dist/chunks/cli-1.0.5-z06twq6c.mjs +0 -2
- package/dist/chunks/cli-1.0.5-zdrbe6rt.mjs +0 -2
- package/dist/chunks/cli-1.0.5-zp32zjhm.mjs +0 -4
- package/dist/chunks/cli-1.0.5-zs2strnh.mjs +0 -3
- package/dist/chunks/client-1.0.5-rd1mh2vy.mjs +0 -1
- package/dist/chunks/color-1.0.5-hjzv1n2a.mjs +0 -1
- package/dist/chunks/compact-1.0.5-81vnpv7d.mjs +0 -3
- package/dist/chunks/config-1.0.5-9db05sjq.mjs +0 -1
- package/dist/chunks/config-1.0.5-pcp10a6q.mjs +0 -1
- package/dist/chunks/constants-1.0.5-f4c4qr3a.mjs +0 -1
- package/dist/chunks/context-1.0.5-qxhhzswn.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.5-w3wzde6f.mjs +0 -1
- package/dist/chunks/conversation-1.0.5-gwye53an.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.5-qte7542r.mjs +0 -1
- package/dist/chunks/copy-1.0.5-n3qtexaa.mjs +0 -9
- package/dist/chunks/cost-1.0.5-pmt9ayyg.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.5-5sb3bnzy.mjs +0 -1
- package/dist/chunks/createSession-1.0.5-dfm8hhfc.mjs +0 -1
- package/dist/chunks/debug-1.0.5-xgx7qarm.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.5-e8gvpvpb.mjs +0 -1446
- package/dist/chunks/desktop-1.0.5-rcebn8xa.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.5-majzdhqr.mjs +0 -1
- package/dist/chunks/detection-1.0.5-nwd2wdt1.mjs +0 -1
- package/dist/chunks/diff-1.0.5-qkbawtb9.mjs +0 -1
- package/dist/chunks/doctor-1.0.5-7c7dfkyd.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.5-6dhpn9ad.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.5-m307gdk2.mjs +0 -1
- package/dist/chunks/effort-1.0.5-mmb54xfb.mjs +0 -10
- package/dist/chunks/engine-1.0.5-21jbdq4a.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.5-thartncn.mjs +0 -1
- package/dist/chunks/envUtils-1.0.5-6h3fhr7p.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.5-73gtendd.mjs +0 -1
- package/dist/chunks/environments-1.0.5-8xw6d6j8.mjs +0 -1
- package/dist/chunks/errors-1.0.5-rh227te7.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.5-vc1bjjfa.mjs +0 -1
- package/dist/chunks/exit-1.0.5-8bmam0gp.mjs +0 -1
- package/dist/chunks/explorer-1.0.5-27hbdb4y.mjs +0 -1
- package/dist/chunks/export-1.0.5-qb4e6wgw.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.5-qf4ys9xa.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.5-01h4dw8s.mjs +0 -1
- package/dist/chunks/fast-1.0.5-z6da3emr.mjs +0 -1
- package/dist/chunks/feedback-1.0.5-8h41wppb.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.5-ejz7gbmd.mjs +0 -1
- package/dist/chunks/git-1.0.5-gd77z9dj.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.5-pycfj4ra.mjs +0 -1
- package/dist/chunks/goal-1.0.5-597qt6ck.mjs +0 -4
- package/dist/chunks/grove-1.0.5-dmprx7yf.mjs +0 -1
- package/dist/chunks/growthbook-1.0.5-jykx4r6s.mjs +0 -1
- package/dist/chunks/headless-1.0.5-sp1ag189.mjs +0 -2
- package/dist/chunks/heapdump-1.0.5-ppawz5xc.mjs +0 -6
- package/dist/chunks/help-1.0.5-ssa4dsqb.mjs +0 -1
- package/dist/chunks/hookChains-1.0.5-fanx5gyv.mjs +0 -3
- package/dist/chunks/hooks-1.0.5-nesxgy40.mjs +0 -79
- package/dist/chunks/hooks-1.0.5-xxmgpdqs.mjs +0 -1
- package/dist/chunks/ide-1.0.5-t8pjrph1.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.5-vj7jxp0t.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.5-mj36hm3y.mjs +0 -1
- package/dist/chunks/index-1.0.5-0s2793w0.mjs +0 -1
- package/dist/chunks/index-1.0.5-17ma05he.mjs +0 -9
- package/dist/chunks/index-1.0.5-2qwz1g69.mjs +0 -1
- package/dist/chunks/index-1.0.5-6c1zzb3s.mjs +0 -2
- package/dist/chunks/index-1.0.5-6cyrja0k.mjs +0 -17
- package/dist/chunks/index-1.0.5-a1mdxka4.mjs +0 -1
- package/dist/chunks/index-1.0.5-b4yxa4hz.mjs +0 -1
- package/dist/chunks/index-1.0.5-bcjvf75y.mjs +0 -5
- package/dist/chunks/index-1.0.5-bkbqdz2d.mjs +0 -1
- package/dist/chunks/index-1.0.5-fv7vmb9s.mjs +0 -1
- package/dist/chunks/index-1.0.5-fzevsz2p.mjs +0 -1
- package/dist/chunks/index-1.0.5-jyat0nmw.mjs +0 -30
- package/dist/chunks/index-1.0.5-k8ytwfn6.mjs +0 -1
- package/dist/chunks/index-1.0.5-m2qg60zx.mjs +0 -9
- package/dist/chunks/index-1.0.5-mb1e2tw0.mjs +0 -1
- package/dist/chunks/index-1.0.5-pr0vcv57.mjs +0 -1
- package/dist/chunks/index-1.0.5-q15hb5x2.mjs +0 -1
- package/dist/chunks/index-1.0.5-v6svrtrp.mjs +0 -2
- package/dist/chunks/index-1.0.5-wqb3fxw6.mjs +0 -1
- package/dist/chunks/index-1.0.5-wr2ed66w.mjs +0 -1
- package/dist/chunks/index-1.0.5-xv2c1a8h.mjs +0 -1
- package/dist/chunks/index-1.0.5-ybth5k4d.mjs +0 -1
- package/dist/chunks/index-1.0.5-zq60qv39.mjs +0 -1
- package/dist/chunks/init-1.0.5-rw3dzwk6.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.5-2p0aksez.mjs +0 -1
- package/dist/chunks/ink-1.0.5-w7yrpcsr.mjs +0 -1
- package/dist/chunks/insights-1.0.5-tqe68js7.mjs +0 -870
- package/dist/chunks/install-1.0.5-kmfenneg.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.5-5pn3prw1.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.5-t743pzep.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.5-gefw0bqs.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.5-t5jn3wtn.mjs +0 -1
- package/dist/chunks/keybindings-1.0.5-ve8shte3.mjs +0 -2
- package/dist/chunks/knowledge-1.0.5-v0ccyfkh.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.5-dpky86fy.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.5-e49hf38y.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.5-47cekn3c.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.5-myfzepet.mjs +0 -1
- package/dist/chunks/log-1.0.5-7rz3pg37.mjs +0 -1
- package/dist/chunks/main-1.0.5-z3ezh5sk.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.5-ne8x2gq4.mjs +0 -1
- package/dist/chunks/mcp-1.0.5-42xrpvz4.mjs +0 -1
- package/dist/chunks/mcp-1.0.5-79tkap1k.mjs +0 -17
- package/dist/chunks/mcp-1.0.5-q5ah99mh.mjs +0 -4
- package/dist/chunks/mcpb-1.0.5-kkp095ks.mjs +0 -1
- package/dist/chunks/memory-1.0.5-hkrp659t.mjs +0 -3
- package/dist/chunks/model-1.0.5-9e6c5g1q.mjs +0 -1
- package/dist/chunks/model-1.0.5-wd9fxg66.mjs +0 -2
- package/dist/chunks/node-1.0.5-3veffyfp.mjs +0 -12
- package/dist/chunks/oauth-1.0.5-9fx2fya6.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.5-08gya990.mjs +0 -14
- package/dist/chunks/output-style-1.0.5-9xkmhcdq.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.5-gxfc7sy3.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.5-krsghz4a.mjs +0 -1
- package/dist/chunks/parser-1.0.5-7t9d9wzc.mjs +0 -1
- package/dist/chunks/passes-1.0.5-rwpd568s.mjs +0 -1
- package/dist/chunks/permissions-1.0.5-fshr608a.mjs +0 -1
- package/dist/chunks/permissions-1.0.5-k96fm9x7.mjs +0 -3
- package/dist/chunks/plan-1.0.5-r5w68ara.mjs +0 -1
- package/dist/chunks/plist-1.0.5-24f4gwnf.mjs +0 -1
- package/dist/chunks/plugin-1.0.5-y6pp7kx3.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.5-8nh5hbt9.mjs +0 -1
- package/dist/chunks/plugins-1.0.5-v258fznm.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.5-v8k5485v.mjs +0 -2
- package/dist/chunks/print-1.0.5-f2xwn7zm.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.5-pt9ca6xm.mjs +0 -1
- package/dist/chunks/process-1.0.5-w2r6hpk2.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.5-p9zzmpbz.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.5-zq638t0f.mjs +0 -9
- package/dist/chunks/prompt-1.0.5-022q69g7.mjs +0 -1
- package/dist/chunks/prompt-1.0.5-w6bzght3.mjs +0 -1
- package/dist/chunks/prompts-1.0.5-2jd8x52w.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.5-9dj5ttvz.mjs +0 -13
- package/dist/chunks/provider-1.0.5-asz70246.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.5-fmjm6rmc.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.5-vjf0w50r.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.5-anb80s86.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.5-np4qg7pc.mjs +0 -34
- package/dist/chunks/registry-1.0.5-a71bk5mm.mjs +0 -1
- package/dist/chunks/release-notes-1.0.5-zja63x3b.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.5-hy5tmbm4.mjs +0 -2
- package/dist/chunks/remote-env-1.0.5-v6v39266.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.5-v63qwqmd.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.5-vkfszpj3.mjs +0 -1
- package/dist/chunks/rename-1.0.5-25sfvv9d.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.5-ygv6rga6.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.5-dg2xcz4s.mjs +0 -1
- package/dist/chunks/resume-1.0.5-d2qc9f4c.mjs +0 -2
- package/dist/chunks/rewind-1.0.5-0217cv78.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.5-g7ks8eqz.mjs +0 -1
- package/dist/chunks/sandbox-adapter-1.0.5-ccxp12rr.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.5-nwdw5616.mjs +0 -1
- package/dist/chunks/session-1.0.5-q5797h37.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.5-0xp7x0xt.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.5-h3c95s74.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.5-hdjx72aj.mjs +0 -1
- package/dist/chunks/settings-1.0.5-s1p6gvx3.mjs +0 -1
- package/dist/chunks/setup-1.0.5-wgvjraw0.mjs +0 -5
- package/dist/chunks/sinks-1.0.5-a1w5a6t0.mjs +0 -1
- package/dist/chunks/skills-1.0.5-mpx8e6j0.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.5-gk3c4m36.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.5-7h9whg0v.mjs +0 -1
- package/dist/chunks/state-1.0.5-nxqyqbt7.mjs +0 -1
- package/dist/chunks/stats-1.0.5-ybfs5e01.mjs +0 -6
- package/dist/chunks/status-1.0.5-4b21a8e7.mjs +0 -1
- package/dist/chunks/stickers-1.0.5-6zfbgzqv.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.5-9s2b5kcv.mjs +0 -1
- package/dist/chunks/tasks-1.0.5-w4yd35x4.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.5-nzbm1gz9.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.5-x3mxd173.mjs +0 -1
- package/dist/chunks/teleport-1.0.5-7qdheca5.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.5-djj61vc3.mjs +0 -1
- package/dist/chunks/theme-1.0.5-e6df6c8c.mjs +0 -1
- package/dist/chunks/thinkback-1.0.5-9kdkqxre.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.5-4e9s86bt.mjs +0 -1
- package/dist/chunks/toolPool-1.0.5-7jpezecz.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.5-7sy8x8xa.mjs +0 -1
- package/dist/chunks/tools-1.0.5-6e5kvcns.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.5-mwdq4ek8.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.5-b9pa0x3a.mjs +0 -69
- package/dist/chunks/types-1.0.5-4bz2q6qd.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.5-1qqxxn0s.mjs +0 -4
- package/dist/chunks/update-1.0.5-ayakya21.mjs +0 -88
- package/dist/chunks/upgrade-1.0.5-hykkyrmf.mjs +0 -1
- package/dist/chunks/upload-1.0.5-3385nhw4.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.5-mhns1vq6.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.5-2r7rh6c4.mjs +0 -1
- package/dist/chunks/usage-1.0.5-vdj6w59v.mjs +0 -1
- package/dist/chunks/util-1.0.5-ygactfqm.mjs +0 -1
- package/dist/chunks/utils-1.0.5-wnkavpty.mjs +0 -1
- package/dist/chunks/vim-1.0.5-410rh6vr.mjs +0 -1
- package/dist/chunks/watcher-1.0.5-99dvd0dj.mjs +0 -1
- package/dist/chunks/wiki-1.0.5-3mvgvxc5.mjs +0 -132
- package/dist/chunks/workflows-1.0.5-zcs9n7bt.mjs +0 -1
- package/dist/chunks/worktree-1.0.5-1v2pb5xs.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.5-s5fw9pgq.mjs +0 -1
- package/dist/chunks/wrapper-1.0.5-k624rfy1.mjs +0 -7
- /package/dist/chunks/{cli-1.0.5-sszjr8x2.mjs → cli-1.0.7-5qss5m61.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.5-8344sc95.mjs → cli-1.0.7-6rt1agkh.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.5-1awwev3c.mjs → cli-1.0.7-bc3sxk1j.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.5-dhjms3v7.mjs → cli-1.0.7-pscxy55m.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xra as j}from"./cli-1.0.5-73mr16hn.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.7"});
|
|
2
|
-
export{Lt as t3};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{aV as k,bV as f,rV as u}from"./cli-1.0.5-y4j32yy1.mjs";import{gX as C,sX as d}from"./cli-1.0.5-qxw23b51.mjs";import{M3 as A,O3 as F}from"./cli-1.0.5-4h3763ep.mjs";import{i4 as q,n4 as i}from"./cli-1.0.5-rzs07ec3.mjs";import{b8 as W,e8 as _,l8 as j,m8 as w,r8 as I}from"./cli-1.0.5-ackn9tdr.mjs";import{Kfa as V,Sfa as U}from"./cli-1.0.5-9m4a2113.mjs";import{nia as M,oia as v}from"./cli-1.0.5-8xf656w6.mjs";import{Xia as X,Yia as R,aja as p,sja as J,vja as x}from"./cli-1.0.5-a0zsx9k5.mjs";import{Sja as P,Zja as T}from"./cli-1.0.5-k8de6zdd.mjs";import{Ara as O}from"./cli-1.0.5-73mr16hn.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.0.5-k624rfy1.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 Aa,$z as Ba,Xz as Ca,Wz as Da,Lz as Ea};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{O3 as m}from"./cli-1.0.5-4h3763ep.mjs";import{H7 as K,Z7 as $}from"./cli-1.0.5-rzs07ec3.mjs";import{Qda as Q,Sfa as Z,Tda as J,mea as Y,nda as X}from"./cli-1.0.5-9m4a2113.mjs";import{oia as W}from"./cli-1.0.5-8xf656w6.mjs";import{zra as V}from"./cli-1.0.5-73mr16hn.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
|
|
2
|
-
export{y as Ii,G as Ji,U as Ki,w as Li};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{ura as Z}from"./cli-1.0.5-123rr4tv.mjs";import{Ara as O,xra as Y}from"./cli-1.0.5-73mr16hn.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
|
|
2
|
-
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
-
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
|
|
4
|
-
export{ye as nra};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{I2 as y,M2 as V}from"./cli-1.0.5-qj14h4d5.mjs";import{Baa as q,Daa as Q,R9 as p,T9 as K}from"./cli-1.0.5-9m4a2113.mjs";import{zra as J}from"./cli-1.0.5-73mr16hn.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
|
|
2
|
-
export{j as w2,D as x2,P as y2,w as z2,E as A2,Y as B2,F as C2,G as D2,Z as E2};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{R9 as Q,T9 as M,Tda as P,mea as R}from"./cli-1.0.5-9m4a2113.mjs";import{sja as G,vja as C}from"./cli-1.0.5-a0zsx9k5.mjs";import{zra as j}from"./cli-1.0.5-73mr16hn.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
|
|
2
|
-
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
-
export{g as P3,w as Q3,f as R3};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Fg as s,Gg as Sy}from"./cli-1.0.5-c96fh05p.mjs";import{Og as wy,Qg as kG}from"./cli-1.0.5-wpdpq47d.mjs";import{Ii as Zy,Ki as Ky,Li as ny}from"./cli-1.0.5-tdwgmc3m.mjs";import{AS as Vy,Ar as Wy,BL as by,FL as GG,Ir as ly,Ms as C,OF as i,PF as Ly,Rx as X,Sx as oy,TF as g,UF as My,Us as _y,VS as zG,bL as j,bo as yy,cL as ey,do as Gy,fo as ky,io as qy,jS as Hy,jo as zy,kL as Oy,kl as e,ko as Iy,kv as Xy,mo as Jy,nv as ay,ol as sy,pr as Qy,so as xy,uL as yG}from"./cli-1.0.5-hq3f080w.mjs";import{WW as Ny,XW as ty}from"./cli-1.0.5-0qaqmxjt.mjs";import{YX as Py,ZX as Uy,_X as jy,cY as qG}from"./cli-1.0.5-ax3758yk.mjs";import{iY as Ry,oY as cy}from"./cli-1.0.5-46363jdw.mjs";import{J0 as ry,JY as hy,a0 as Q,b0 as $y,c0 as L,e0 as d}from"./cli-1.0.5-7b347m92.mjs";import{q3 as O,r3 as E,s3 as p}from"./cli-1.0.5-jcd8tadh.mjs";import{t3 as Yy}from"./cli-1.0.5-t8qp4fth.mjs";import{G7 as h,S5 as c,T5 as t,Z7 as gy,q6 as iy}from"./cli-1.0.5-rzs07ec3.mjs";import{t8 as a,u8 as fy}from"./cli-1.0.5-vr3tqxgz.mjs";import{Baa as J,Daa as Ey,I_ as o,Nca as n,P_ as Ay,Qda as P,R_ as U,S_ as uy,Sca as r,Tca as v,Tda as q,ada as dy,mea as M,s_ as T}from"./cli-1.0.5-9m4a2113.mjs";import{Sga as K,bha as A,cha as u}from"./cli-1.0.5-pnn57nb8.mjs";import{pia as f,sia as Fy}from"./cli-1.0.5-t1pv236j.mjs";import{sja as _,vja as Dy}from"./cli-1.0.5-a0zsx9k5.mjs";import{vra as D}from"./cli-1.0.5-73mr16hn.mjs";ry();u();Fy();M();Ly();Sy();My();p();var $=D(hy(),1),F=D(Yy(),1),Ty={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return A("tengu_desktop_upsell",Ty)}function vy(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function wG(){if(!vy())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function PG(y){let G=$.c(14),{onDone:k}=y,[z,Z]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(py,W),z){let w;if(G[1]!==k)w=O(s,{onDone:()=>k()}),G[1]=k,G[2]=w;else w=G[2];return w}let b;if(G[3]!==k)b=function(By){switch(By){case"try":{Z(!0);return}case"never":{P(Cy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=b;else b=G[4];let I=b,R;if(G[5]===Symbol.for("react.memo_cache_sentinel"))R={label:"Open in Claude Code Desktop",value:"try"},G[5]=R;else R=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[R,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let my=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=O(L,{marginBottom:1,children:O(d,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let N;if(G[9]!==I)N=()=>I("not-now"),G[9]=I,G[10]=N;else N=G[10];let B;if(G[11]!==I||G[12]!==N)B=O(g,{title:"Try Claude Code Desktop",children:E(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,O(i,{options:my,onChange:I,onCancel:N})]})}),G[11]=I,G[12]=N,G[13]=B;else B=G[13];return B}function Cy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function py(){let y=(q().desktopUpsellSeenCount??0)+1;P((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),f("tengu_desktop_upsell_shown",{seen_count:y})}M();function VG(y){let G=q().numStartups;P((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function x(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}fy();Dy();_y();dy();cy();$y();kG();oy();sy();gy();ty();M();ly();Ey();ay();Ay();xy();iy();uy();GG();yG();ey();zG();u();ny();qG();var Y;async function IG(){if(Y!==void 0)return Y;let y=await Oy();return Y=j in y,Y}async function l(y,G,k){if(!await IG())return!1;if(by(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((Z)=>z.has(Z)))return!0}if(k.filePath&&G?.readFileState){if(Xy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var JG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=v(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return _(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await o()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${X("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${X("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${X("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(Hy())return!1;return await Ny()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ry())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&a.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>U()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>v().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!yy())return!1;if(U()!=="macos")return!1;switch(J.terminal){case"vscode":return!await Iy();case"cursor":return!await qy();case"windsurf":return!await zy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Gy())return!1;if((await ky()).length!==0)return!1;return(await Jy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>U()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!C()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>C()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Vy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${X("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${X("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>U()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=c()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
-
${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
-
${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return K("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Qy(t()))return!1;if(n("policySettings")?.effortLevel!==void 0)return!1;if(Wy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return K("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return K("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!e())return!1;return K("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=jy();return k?`Share Claude Code and earn ${G(Uy(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=Py();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Zy(),z=k?Ky(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>wy()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],QG=[];function WG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function cG(y){let k=r().spinnerTipsOverride,z=WG();if(k?.excludeDefault&&z.length>0)return z;let Z=[...JG,...QG],W=await Promise.all(Z.map((I)=>I.isRelevant(y)));return[...Z.filter((I,R)=>W[R]).filter((I)=>x(I.id)>=I.cooldownSessions),...z]}
|
|
4
|
-
export{wG as Xa,PG as Ya,VG as Za,x as _a,cG as $a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Q3 as M,R3 as E}from"./cli-1.0.5-tmwsjg05.mjs";import{Kea as l,Nea as L,Oea as c,rea as _,vfa as S,yfa as p,zea as F}from"./cli-1.0.5-9m4a2113.mjs";import{fka as Y,nka as m}from"./cli-1.0.5-1z04v9fp.mjs";import{zra as B}from"./cli-1.0.5-73mr16hn.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:g}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||T}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,y=J?.scope?.trim()||C,$=y===C?[y]:[y,C],j="Device code request failed.",z=b(R(J?.domain));for(let V of $){let W=await Z(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let w=await W.text().catch(()=>"");j=`Device code request failed: ${W.status} ${w}`;let D=/invalid_scope/i.test(w);if(V!==C&&D)continue;throw new q(j)}let X=await W.json(),N=X.device_code,K=X.user_code,x=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof x!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:x,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(j)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let y=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,j=Q?.fetchImpl??fetch,z=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await j(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(y*1000);continue}if(N==="slow_down"){y=typeof X.interval==="number"?X.interval:y+5,await P(y*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},y=Z.fetchImpl??fetch,$=h(R(Z.domain)),j=await y($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!j.ok){let K=await j.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${j.status} ${K}`)}let z=await j.json(),V=z.token,W=z.expires_at,X=z.refresh_in,N=z.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var T="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{E();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function k(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),j=$+"=".repeat((4-$.length%4)%4),z=Buffer.from(j,"base64").toString("utf8"),V=JSON.parse(z);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function yJ(){if(!k())return;if(Y())return;if(a())return}async function zJ(){if(!k())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,y=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!y&&!$)return!1;if((y?d(y):"expired")==="valid")return!1;if(!$)return!1;let z=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:z});if(!n(V.token,$,z).success)return!1;let X=_().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)F(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let y=J.trim();if(!y)return{success:!1,warning:"Token is empty."};let $=L(),j=$.read()||{},z=j[U],V=Q?.trim(),W={accessToken:y};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(z?.oauthAccessToken?.trim())W.oauthAccessToken=z.oauthAccessToken.trim();let N=Z?.trim()||z?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...j,[U]:W};return $.update(X)}function jJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
|
|
2
|
-
export{R as M1,r as N1,o as O1,e as P1,I as Q1,O as R1,U as S1,VJ as T1,a as U1,WJ as V1,yJ as W1,zJ as X1,n as Y1,jJ as Z1,s as _1};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{Rb as d}from"./cli-1.0.5-d8mbbnv3.mjs";import{OV as y,PV as U,RV as f,SV as h,TV as c,YV as i}from"./cli-1.0.5-gw52qb5c.mjs";import{A3 as O,C3 as b}from"./cli-1.0.5-n37mkdyd.mjs";import{T6 as B,U6 as M}from"./cli-1.0.5-rzs07ec3.mjs";import{k8 as I,r8 as u}from"./cli-1.0.5-ackn9tdr.mjs";import{N9 as V,P9 as v}from"./cli-1.0.5-9m4a2113.mjs";import{Xia as H,Yia as m,aja as T,sja as G,vja as D}from"./cli-1.0.5-a0zsx9k5.mjs";import{Sja as q,Tja as S,Zja as F}from"./cli-1.0.5-k8de6zdd.mjs";import{Kqa as p,ara as s}from"./cli-1.0.5-41vyz0qd.mjs";import{randomUUID as N}from"crypto";D();v();F();u();i();f();M();b();T();class j extends Error{retryAfterMs;constructor(J,K){super(J);this.retryAfterMs=K}}class R{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(J){this.config=J}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(J){if(this.closed)return;let K=Array.isArray(J)?J:[J];if(K.length===0)return;while(this.pending.length+K.length>this.config.maxQueueSize&&!this.closed)await new Promise((W)=>{this.backpressureResolvers.push(W)});if(this.closed)return;this.pending.push(...K),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((J)=>{this.flushResolvers.push(J)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let J of this.backpressureResolvers)J();this.backpressureResolvers=[];for(let J of this.flushResolvers)J();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let J=0;try{while(this.pending.length>0&&!this.closed){let K=this.takeBatch();if(K.length===0)continue;try{await this.config.send(K),J=0}catch(W){if(J++,this.config.maxConsecutiveFailures!==void 0&&J>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(K.length,J),J=0,this.releaseBackpressure();continue}this.pending=K.concat(this.pending);let Z=W instanceof j?W.retryAfterMs:void 0;await this.sleep(this.retryDelay(J,Z));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let K of this.flushResolvers)K();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:J,maxBatchBytes:K}=this.config;if(K===void 0)return this.pending.splice(0,J);let W=0,Z=0;while(Z<this.pending.length&&Z<J){let Q;try{Q=Buffer.byteLength(H(this.pending[Z]))}catch{this.pending.splice(Z,1);continue}if(Z>0&&W+Q>K)break;W+=Q,Z++}return this.pending.splice(0,Z)}retryDelay(J,K){let W=Math.random()*this.config.jitterMs;if(K!==void 0)return Math.max(this.config.baseDelayMs,Math.min(K,this.config.maxDelayMs))+W;return Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs)+W}releaseBackpressure(){let J=this.backpressureResolvers;this.backpressureResolvers=[];for(let K of J)K()}sleep(J){return new Promise((K)=>{this.sleepResolve=K,setTimeout((W,Z)=>{W.sleepResolve=null,Z()},J,this,K)})}}M();class A{inflight=null;pending=null;closed=!1;config;constructor(J){this.config=J}enqueue(J){if(this.closed)return;this.pending=this.pending?P(this.pending,J):J,this.drain()}close(){this.closed=!0,this.pending=null}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let J=this.pending;this.pending=null,this.inflight=this.sendWithRetry(J).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(J){let K=J,W=0;while(!this.closed){if(await this.config.send(K))return;if(W++,await B(this.retryDelay(W)),this.pending&&!this.closed)K=P(K,this.pending),this.pending=null}}retryDelay(J){let K=Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs),W=Math.random()*this.config.jitterMs;return K+W}}function P(J,K){let W={...J};for(let[Z,Q]of Object.entries(K))if((Z==="external_metadata"||Z==="internal_metadata")&&W[Z]&&typeof W[Z]==="object"&&typeof Q==="object"&&Q!==null)W[Z]={...W[Z],...Q};else W[Z]=Q;return W}var g=20000,n=100;function E(){return!0}class k extends Error{reason;constructor(J){super(`CCRClient init failed: ${J}`);this.reason=J}}var l=10;function o(){return{byMessage:new Map,scopeToMessage:new Map}}function C(J){return`${J.session_id}:${J.parent_tool_use_id??""}`}function r(J,K){let W=[],Z=new Map;for(let Q of J)switch(Q.event.type){case"message_start":{let $=Q.event.message.id,z=K.scopeToMessage.get(C(Q));if(z)K.byMessage.delete(z);K.scopeToMessage.set(C(Q),$),K.byMessage.set($,[]),W.push(Q);break}case"content_block_delta":{if(Q.event.delta.type!=="text_delta"){W.push(Q);break}let $=K.scopeToMessage.get(C(Q)),z=$?K.byMessage.get($):void 0;if(!z){W.push(Q);break}let L=z[Q.event.index]??=[];L.push(Q.event.delta.text);let Y=Z.get(L);if(Y){Y.event.delta.text=L.join("");break}let X={type:"stream_event",uuid:Q.uuid,session_id:Q.session_id,parent_tool_use_id:Q.parent_tool_use_id,event:{type:"content_block_delta",index:Q.event.index,delta:{type:"text_delta",text:L.join("")}}};Z.set(L,X),W.push(X);break}default:W.push(Q)}return W}function t(J,K){J.byMessage.delete(K.message.id);let W=C(K);if(J.scopeToMessage.get(W)===K.message.id)J.scopeToMessage.delete(W)}class a{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;currentState=null;sessionBaseUrl;sessionId;http=I({keepAlive:!0});streamEventBuffer=[];streamEventTimer=null;streamTextAccumulator=o();workerState;eventUploader;internalEventUploader;deliveryUploader;onEpochMismatch;getAuthHeaders;constructor(J,K,W){if(this.onEpochMismatch=W?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=W?.heartbeatIntervalMs??g,this.heartbeatJitterFraction=W?.heartbeatJitterFraction??0,this.getAuthHeaders=W?.getAuthHeaders??U,K.protocol!=="http:"&&K.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${K.protocol}`);let Z=K.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${K.protocol}//${K.host}${Z}`,this.sessionId=Z.split("/").pop()||"",this.workerState=new A({send:(Q)=>this.request("put","/worker",{worker_epoch:this.workerEpoch,...Q},"PUT worker").then(($)=>$.ok),baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async(Q)=>{let $=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:Q},"client events");if(!$.ok)throw new j("client event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async(Q)=>{let $=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:Q},"internal events");if(!$.ok)throw new j("internal event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new R({maxBatchSize:64,maxQueueSize:64,send:async(Q)=>{let $=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:Q.map((z)=>({event_id:z.eventId,status:z.status}))},"delivery batch");if(!$.ok)throw new j("delivery POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),J.setOnEvent((Q)=>{this.reportDelivery(Q.event_id,"received")})}async initialize(J){let K=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new k("no_auth_headers");if(J===void 0){let z=process.env.CLAUDE_CODE_WORKER_EPOCH;J=z?parseInt(z,10):NaN}if(isNaN(J))throw new k("missing_epoch");this.workerEpoch=J;let W=this.getWorkerState();if(!(await this.request("put","/worker",{worker_status:"idle",worker_epoch:this.workerEpoch,external_metadata:{pending_action:null,task_summary:null}},"PUT worker (init)")).ok)throw new k("worker_register_failed");this.currentState="idle",this.startHeartbeat(),h(()=>{this.writeEvent({type:"keep_alive"})}),G(`CCRClient: initialized, epoch=${this.workerEpoch}`),V("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-K});let{metadata:Q,durationMs:$}=await W;if(!this.closed)V("info","cli_worker_state_restored",{duration_ms:$,had_state:Q!==null});return Q}async getWorkerState(){let J=Date.now(),K=this.getAuthHeaders();if(Object.keys(K).length===0)return{metadata:null,durationMs:0};return{metadata:(await this.getWithRetry(`${this.sessionBaseUrl}/worker`,K,"worker_state"))?.worker?.external_metadata??null,durationMs:Date.now()-J}}async request(J,K,W,Z,{timeout:Q=1e4}={}){let $=this.getAuthHeaders();if(Object.keys($).length===0)return{ok:!1};try{let z=await this.http[J](`${this.sessionBaseUrl}${K}`,W,{headers:{...$,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:Q});if(z.status>=200&&z.status<300)return this.consecutiveAuthFailures=0,{ok:!0};if(z.status===409)this.handleEpochMismatch();if(z.status===401||z.status===403){let L=y(),Y=L?d(L):null;if(Y!==null&&Y*1000<Date.now())G(`CCRClient: session_token expired (exp=${new Date(Y*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),V("error","cli_worker_token_expired_no_refresh"),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=l)G(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),V("error","cli_worker_auth_failures_exhausted"),this.onEpochMismatch()}if(G(`CCRClient: ${Z} returned ${z.status}`,{level:"warn"}),V("warn","cli_worker_request_failed",{method:J,path:K,status:z.status}),z.status===429){let L=z.headers?.["retry-after"],Y=typeof L==="string"?parseInt(L,10):NaN;if(!isNaN(Y)&&Y>=0)return{ok:!1,retryAfterMs:Y*1000}}return{ok:!1}}catch(z){return G(`CCRClient: ${Z} failed: ${q(z)}`,{level:"warn"}),V("warn","cli_worker_request_error",{method:J,path:K,error_code:S(z)}),{ok:!1}}}reportState(J,K){if(J===this.currentState&&!K)return;this.currentState=J,this.workerState.enqueue({worker_status:J,requires_action_details:K?{tool_name:K.tool_name,action_description:K.action_description,request_id:K.request_id}:null})}reportMetadata(J){this.workerState.enqueue({external_metadata:J})}handleEpochMismatch(){G("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),V("error","cli_worker_epoch_mismatch"),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let J=()=>{let W=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(K,this.heartbeatIntervalMs+W)},K=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;J()};J()}stopHeartbeat(){if(this.heartbeatTimer)clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null}async sendHeartbeat(){if(this.heartbeatInFlight)return;this.heartbeatInFlight=!0;try{if((await this.request("post","/worker/heartbeat",{session_id:this.sessionId,worker_epoch:this.workerEpoch},"Heartbeat",{timeout:5000})).ok)G("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),n);return}if(await this.flushStreamEventBuffer(),J.type==="assistant")t(this.streamTextAccumulator,J);await this.eventUploader.enqueue(this.toClientEvent(J))}toClientEvent(J){let K=J;return{payload:{...K,uuid:typeof K.uuid==="string"?K.uuid:N()}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let J=this.streamEventBuffer;this.streamEventBuffer=[];let K=r(J,this.streamTextAccumulator);await this.eventUploader.enqueue(K.map((W)=>({payload:W,ephemeral:!0})))}async writeInternalEvent(J,K,{isCompaction:W=!1,agentId:Z}={}){let Q={payload:{type:J,...K,uuid:typeof K.uuid==="string"?K.uuid:N()},...W&&{is_compaction:!0},...Z&&{agent_id:Z}};await this.internalEventUploader.enqueue(Q)}flushInternalEvents(){return this.internalEventUploader.flush()}async flush(){return await this.flushStreamEventBuffer(),this.eventUploader.flush()}async readInternalEvents(){return this.paginatedGet("/worker/internal-events",{},"internal_events")}async readSubagentInternalEvents(){return this.paginatedGet("/worker/internal-events",{subagents:"true"},"subagent_events")}async paginatedGet(J,K,W){let Z=this.getAuthHeaders();if(Object.keys(Z).length===0)return null;let Q=[],$;do{let z=new URL(`${this.sessionBaseUrl}${J}`);for(let[Y,X]of Object.entries(K))z.searchParams.set(Y,X);if($)z.searchParams.set("cursor",$);let L=await this.getWithRetry(z.toString(),Z,W);if(!L)return null;Q.push(...L.data??[]),$=L.next_cursor}while($);return G(`CCRClient: Read ${Q.length} internal events from ${J}${K.subagents?" (subagents)":""}`),Q}async getWithRetry(J,K,W){for(let Z=1;Z<=10;Z++){let Q;try{Q=await this.http.get(J,{headers:{...K,"anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:30000})}catch($){if(G(`CCRClient: GET ${J} failed (attempt ${Z}/10): ${q($)}`,{level:"warn"}),Z<10){let z=Math.min(500*2**(Z-1),30000)+Math.random()*500;await B(z)}continue}if(Q.status>=200&&Q.status<300)return Q.data;if(Q.status===409)this.handleEpochMismatch();if(G(`CCRClient: GET ${J} returned ${Q.status} (attempt ${Z}/10)`,{level:"warn"}),Z<10){let $=Math.min(500*2**(Z-1),30000)+Math.random()*500;await B($)}}return G("CCRClient: GET retries exhausted",{level:"error"}),V("error","cli_worker_get_retries_exhausted",{context:W}),null}reportDelivery(J,K){this.deliveryUploader.enqueue({eventId:J,status:K})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),c(),this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[],this.streamTextAccumulator.byMessage.clear(),this.streamTextAccumulator.scopeToMessage.clear(),this.workerState.close(),this.eventUploader.close(),this.internalEventUploader.close(),this.deliveryUploader.close()}}s();D();v();F();f();M();T();b();var e=1000,JJ=30000,KJ=600000,QJ=45000,WJ=new Set([401,403,404]),x=10,ZJ=500,$J=8000,GJ={stream:!0};function zJ(){return!0}function VJ(J){let K=[],W=0,Z;while((Z=J.indexOf(`
|
|
2
|
-
|
|
3
|
-
`,W))!==-1){let Q=J.slice(W,Z);if(W=Z+2,!Q.trim())continue;let $={},z=!1;for(let L of Q.split(`
|
|
4
|
-
`)){if(L.startsWith(":")){z=!0;continue}let Y=L.indexOf(":");if(Y===-1)continue;let X=L.slice(0,Y),w=L[Y+1]===" "?L.slice(Y+2):L.slice(Y+1);switch(X){case"event":$.event=w;break;case"id":$.id=w;break;case"data":$.data=$.data?$.data+`
|
|
5
|
-
`+w:w;break}}if($.data||z)K.push($)}return{frames:K,remaining:J.slice(W)}}class YJ{url;state="idle";onData;onCloseCallback;onEventCallback;headers;sessionId;refreshHeaders;getAuthHeaders;abortController=null;lastSequenceNum=0;seenSequenceNums=new Set;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;livenessTimer=null;postUrl;constructor(J,K={},W,Z,Q,$){this.url=J;if(this.headers=K,this.sessionId=W,this.refreshHeaders=Z,this.getAuthHeaders=$??U,this.postUrl=LJ(J),Q!==void 0&&Q>0)this.lastSequenceNum=Q;G(`SSETransport: SSE URL = ${J.href}`),G(`SSETransport: POST URL = ${this.postUrl}`),V("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){G(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),V("error","cli_sse_connect_failed");return}this.state="reconnecting";let J=Date.now(),K=new URL(this.url.href);if(this.lastSequenceNum>0)K.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let W=this.getAuthHeaders(),Z={...this.headers,...W,Accept:"text/event-stream","anthropic-version":"2023-06-01","User-Agent":O()};if(W.Cookie)delete Z.Authorization;if(this.lastSequenceNum>0)Z["Last-Event-ID"]=String(this.lastSequenceNum);G(`SSETransport: Opening ${K.href}`),V("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let Q=await fetch(K.href,{headers:Z,signal:this.abortController.signal});if(!Q.ok){let z=WJ.has(Q.status);if(G(`SSETransport: HTTP ${Q.status}${z?" (permanent)":""}`,{level:"error"}),V("error","cli_sse_connect_http_error",{status:Q.status}),z){this.state="closed",this.onCloseCallback?.(Q.status);return}this.handleConnectionError();return}if(!Q.body){G("SSETransport: No response body"),this.handleConnectionError();return}let $=Date.now()-J;G("SSETransport: Connected"),V("info","cli_sse_connect_connected",{duration_ms:$}),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream(Q.body)}catch(Q){if(this.abortController?.signal.aborted)return;G(`SSETransport: Connection error: ${q(Q)}`,{level:"error"}),V("error","cli_sse_connect_error"),this.handleConnectionError()}}async readStream(J){let K=J.getReader(),W=new TextDecoder,Z="";try{while(!0){let{done:Q,value:$}=await K.read();if(Q)break;Z+=W.decode($,GJ);let{frames:z,remaining:L}=VJ(Z);Z=L;for(let Y of z){if(this.resetLivenessTimer(),Y.id){let X=parseInt(Y.id,10);if(!isNaN(X)){if(this.seenSequenceNums.has(X))G(`SSETransport: DUPLICATE frame seq=${X} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),V("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(X),this.seenSequenceNums.size>1000){let w=this.lastSequenceNum-200;for(let _ of this.seenSequenceNums)if(_<w)this.seenSequenceNums.delete(_)}if(X>this.lastSequenceNum)this.lastSequenceNum=X}}if(Y.event&&Y.data)this.handleSSEFrame(Y.event,Y.data);else if(Y.data)G("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),V("warn","cli_sse_frame_missing_event_field")}}}catch(Q){if(this.abortController?.signal.aborted)return;G(`SSETransport: Stream read error: ${q(Q)}`,{level:"error"}),V("error","cli_sse_stream_read_error")}finally{K.releaseLock()}if(this.state!=="closing"&&this.state!=="closed")G("SSETransport: Stream ended, reconnecting"),this.handleConnectionError()}handleSSEFrame(J,K){if(J!=="client_event"){G(`SSETransport: Unexpected SSE event type '${J}' on worker stream`,{level:"warn"}),V("warn","cli_sse_unexpected_event_type",{event_type:J});return}let W;try{W=m(K)}catch(Q){G(`SSETransport: Failed to parse client_event data: ${q(Q)}`,{level:"error"});return}let Z=W.payload;if(Z&&typeof Z==="object"&&"type"in Z){let Q=this.sessionId?` session=${this.sessionId}`:"";G(`SSETransport: Event seq=${W.sequence_num} event_id=${W.event_id} event_type=${W.event_type} payload_type=${String(Z.type)}${Q}`),V("info","cli_sse_message_received"),this.onData?.(H(Z)+`
|
|
6
|
-
`)}else G(`SSETransport: Ignoring client_event with no type in payload: event_id=${W.event_id}`);this.onEventCallback?.(W)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let J=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=J;let K=J-this.reconnectStartTime;if(K<KJ){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let Q=this.refreshHeaders();Object.assign(this.headers,Q),G("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let W=Math.min(e*Math.pow(2,this.reconnectAttempts-1),JJ),Z=Math.max(0,W+W*0.25*(2*Math.random()-1));G(`SSETransport: Reconnecting in ${Math.round(Z)}ms (attempt ${this.reconnectAttempts}, ${Math.round(K/1000)}s elapsed)`),V("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},Z)}else G(`SSETransport: Reconnection time budget exhausted after ${Math.round(K/1000)}s`,{level:"error"}),V("error","cli_sse_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:K}),this.state="closed",this.onCloseCallback?.()}onLivenessTimeout=()=>{this.livenessTimer=null,G("SSETransport: Liveness timeout, reconnecting",{level:"error"}),V("error","cli_sse_liveness_timeout"),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,QJ)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(J){let K=this.getAuthHeaders();if(Object.keys(K).length===0){G("SSETransport: No session token available for POST"),V("warn","cli_sse_post_no_token");return}let W={...K,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()};G(`SSETransport: POST body keys=${Object.keys(J).join(",")}`);for(let Z=1;Z<=x;Z++){try{let $=await p.post(this.postUrl,J,{headers:W,validateStatus:zJ});if($.status===200||$.status===201){G(`SSETransport: POST success type=${J.type}`);return}if(G(`SSETransport: POST ${$.status} body=${H($.data).slice(0,200)}`),$.status>=400&&$.status<500&&$.status!==429){G(`SSETransport: POST returned ${$.status} (client error), not retrying`),V("warn","cli_sse_post_client_error",{status:$.status});return}G(`SSETransport: POST returned ${$.status}, attempt ${Z}/${x}`),V("warn","cli_sse_post_retryable_error",{status:$.status,attempt:Z})}catch($){G(`SSETransport: POST error: ${$.message}, attempt ${Z}/${x}`),V("warn","cli_sse_post_network_error",{attempt:Z})}if(Z===x){G(`SSETransport: POST failed after ${x} attempts, continuing`),V("warn","cli_sse_post_retries_exhausted");return}let Q=Math.min(ZJ*Math.pow(2,Z-1),$J);await B(Q)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnClose(J){this.onCloseCallback=J}setOnEvent(J){this.onEventCallback=J}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}}function LJ(J){let K=J.pathname;if(K.endsWith("/stream"))K=K.slice(0,-7);return`${J.protocol}//${J.host}${K}`}
|
|
7
|
-
export{R as Ib,k as Jb,a as Kb,YJ as Lb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Z7 as D,z7 as q}from"./cli-1.0.5-rzs07ec3.mjs";import{nia as m,oia as z}from"./cli-1.0.5-8xf656w6.mjs";import{zra as x}from"./cli-1.0.5-73mr16hn.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
|
|
2
|
-
export{E as mi,F as ni,K as oi,M as pi,G as qi};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{P_ as _,z_ as Q}from"./cli-1.0.5-9m4a2113.mjs";import{Cha as I,Dha as X}from"./cli-1.0.5-br28xg7b.mjs";import{sja as B,vja as V}from"./cli-1.0.5-a0zsx9k5.mjs";import{zra as T}from"./cli-1.0.5-73mr16hn.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
|
|
2
|
-
export{j as l9,P as m9,Y as n9,S as o9,O as p9,D as q9,Z as r9};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{zra as j}from"./cli-1.0.5-73mr16hn.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
|
|
2
|
-
`:`
|
|
3
|
-
`)+z,H=D+1,D=q.indexOf(`
|
|
4
|
-
`,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
|
|
5
|
-
`);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
|
|
6
|
-
export{o as s8,O1 as t8,e as u8};
|