@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{Ei as a,Fi as l}from"./cli-1.0.5-1ca2a1kb.mjs";import{Gi as m,Hi as c}from"./cli-1.0.5-77gpdsqr.mjs";import{q3 as e,s3 as n}from"./cli-1.0.5-jcd8tadh.mjs";import{zra as s}from"./cli-1.0.5-73mr16hn.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
|
|
2
|
-
export{f as Ci,g as Di};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Kea as f,Qda as M,Tda as L,lea as G,mea as h,qea as v,rea as P,yea as k}from"./cli-1.0.5-9m4a2113.mjs";import{fia as E,oia as x}from"./cli-1.0.5-8xf656w6.mjs";import{aka as T,nka as u}from"./cli-1.0.5-1z04v9fp.mjs";import{zra as C}from"./cli-1.0.5-73mr16hn.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudinMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudinMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudinMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
|
|
2
|
-
export{Vj as Cc,Wj as Dc,e as Ec,Xj as Fc,Yj as Gc,jj as Hc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Y7 as v,Z7 as C}from"./cli-1.0.5-rzs07ec3.mjs";import{Nea as x,Oea as Y,mda as Z,nda as V}from"./cli-1.0.5-9m4a2113.mjs";import{Sga as R,Wga as W,cha as O}from"./cli-1.0.5-pnn57nb8.mjs";import{nia as Q,oia as M}from"./cli-1.0.5-8xf656w6.mjs";import{Xia as P,aja as I,sja as f,vja as L}from"./cli-1.0.5-a0zsx9k5.mjs";import{Sja as w,Zja as H}from"./cli-1.0.5-k8de6zdd.mjs";import{nqa as N,oqa as F}from"./cli-1.0.5-7vf1pr3c.mjs";import{Kqa as X,ara as U}from"./cli-1.0.5-41vyz0qd.mjs";import{wra as h,zra as B}from"./cli-1.0.5-73mr16hn.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
|
|
2
|
-
export{u as $V,n as aW,o as bW,t as cW,d as dW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{zra as J}from"./cli-1.0.5-73mr16hn.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
|
|
2
|
-
export{K as Eh,Y as Fh,Z as Gh,V as Hh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{sb as d}from"./cli-1.0.5-d6yzpr8m.mjs";import{$B as Hj,$R as A,Dm as E,Ek as $,El as P,Em as e,Fk as n,Fl as R,IQ as Qj,MJ as f,Mk as v,Nk as r,Sj as O,Ss as h,Tu as C,Uj as o,Us as qj,Uu as D,VS as Vj,YD as Jj,ZR as m,Zl as s,Zu as Gj,_B as I,_R as S,bT as F,ju as k,kS as c,km as y,mu as V,pT as Xj,pm as t,rS as p,sS as X,su as zj,tu as w,uu as Bj}from"./cli-1.0.5-hq3f080w.mjs";import{HU as W,VU as jj}from"./cli-1.0.5-y4j32yy1.mjs";import{UW as x,XW as Kj}from"./cli-1.0.5-0qaqmxjt.mjs";import{j6 as T,q6 as u}from"./cli-1.0.5-rzs07ec3.mjs";import{Cha as Z,Dha as i}from"./cli-1.0.5-br28xg7b.mjs";import{sja as b,vja as l}from"./cli-1.0.5-a0zsx9k5.mjs";import{$la as Y,Qpa as g,Tla as U,Wla as _,cna as M,ena as N,kpa as K}from"./cli-1.0.5-q8fmarwj.mjs";g();e();Gj();zj();r();o();import{dirname as Yj}from"path";Xj();Jj();Kj();i();l();qj();Qj();u();t();n();Hj();Vj();jj();Bj();s();function Zj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===v);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=w().safeParse(G.todos);return H.success?H.data:[]}return[]}function aj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)h(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!W()&&j.messages&&j.messages.length>0){let B=Zj(j.messages);if(B.length>0){let z=U();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function $j(j){return}function Pj(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function Rj(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return b(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!M()&&z.model&&z.model!=="inherit")N(T(z.model));return{agentDefinition:z,agentType:z.agentType}}async function yj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:k(H)}}function Ej(j){let q=P();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}I(j.worktreePath),Y(Z()),R(j),F(),E(),y.cache.clear?.(),$()}function gj(){let j=P();if(!j)return;R(null),F(),E(),y.cache.clear?.(),$();try{process.chdir(j.originalCwd)}catch{return}I(j.originalCwd),Y(Z())}async function lj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(f(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(_(O(Q),q.transcriptPath?Yj(q.transcriptPath):null),await d(),await S(),!C(Q))D(j.messages)}}else if(j.contentReplacements?.length)await m(j.contentReplacements);if(c(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)Ej(j.worktreeSession),A();let{agentDefinition:G,agentType:H}=Rj(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);p(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?$j(j):void 0,L=Pj(j.agentName,j.agentColor);x(j.agentName);let a=await yj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...L&&{standaloneAgentContext:L},agentDefinitions:a}}}
|
|
2
|
-
export{aj as Fa,Pj as Ga,Rj as Ha,Ej as Ia,gj as Ja,lj as Ka};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{zra as P}from"./cli-1.0.5-73mr16hn.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
|
|
2
|
-
export{k as GV,w as HV,H as IV,g as JV,V as KV,W as LV,L as MV,Y as NV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{N4 as H,O4 as _,P4 as Y,Q4 as y}from"./cli-1.0.5-rzs07ec3.mjs";import{N9 as M,P9 as f}from"./cli-1.0.5-9m4a2113.mjs";import{eja as P,ija as p,sja as x,via as F,vja as S,xia as b}from"./cli-1.0.5-a0zsx9k5.mjs";import{Sja as V,Zja as R}from"./cli-1.0.5-k8de6zdd.mjs";import{dka as U,nka as g}from"./cli-1.0.5-1z04v9fp.mjs";import{Qpa as A,aoa as D,boa as W}from"./cli-1.0.5-q8fmarwj.mjs";import{zra as L}from"./cli-1.0.5-73mr16hn.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function Qq(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var h=L(()=>{b();f();g();Z=new Map});var $q;var m=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
|
|
2
|
-
export{k as OV,s as PV,o as QV,u as RV,e as SV,qq as TV,Gq as UV,Jq as VV,Kq as WV,Qq as XV,h as YV,$q as ZV,m as _V};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{Zb as DY}from"./cli-1.0.5-a9bz757z.mjs";import{Tc as LY,Wc as iQ}from"./cli-1.0.5-b1qrxf5t.mjs";import{Xh as V0,Yh as p6}from"./cli-1.0.5-15332510.mjs";import{Si as pY,Ti as A6}from"./cli-1.0.5-hgadanc5.mjs";import{$N as rQ,$k as z9,AB as O6,Av as x0,Bv as u0,Bx as I0,CK as J6,Cv as p0,DH as T0,Dv as pZ,EH as s9,Ev as cZ,Ex as i9,Ft as ZY,Fv as c0,GJ as s,Gt as xQ,Gv as m0,Ht as JY,Hv as g0,IQ as wZ,It as lQ,Iv as d0,Jt as kY,Jv as l0,Km as yZ,Kv as a0,Lv as n0,MJ as gY,Ms as M0,Mv as r0,Nm as $Z,Nv as i0,OF as C0,Om as e0,Ov as GQ,Oy as xY,PF as o9,Ps as b0,Qs as fZ,Ry as D6,TJ as dY,Us as r9,VQ as rY,ZC as HY,ZN as BY,ZO as lY,Zk as L9,_C as aQ,_j as KZ,_k as u6,al as q9,bk as E0,bl as bZ,bq as iZ,cR as iY,cl as Y0,cq as AY,dl as D9,dq as FZ,el as XZ,eq as _Y,fl as Q0,gP as aY,gR as zY,gk as hY,gl as v9,hL as P9,hl as A9,iP as nY,il as sY,jD as NY,jL as F9,jR as qY,kD as nQ,lD as RY,mP as w6,nD as z6,nL as M9,nQ as kZ,oA as uY,qA as v6,rD as n,rQ as xZ,tD as U6,uB as cY,uL as o6,vB as _6,wA as CY,wp as j9,xA as TY,xp as i6,xv as h0,yA as L6,yv as uZ,zB as mY,zK as PY,zv as k0}from"./cli-1.0.5-hq3f080w.mjs";import{OW as Q9,SW as R6}from"./cli-1.0.5-0qaqmxjt.mjs";import{HX as $0,IX as j0,JX as l9,MX as P0,NX as a9,TX as F0,UX as n9,tX as y0,uX as d9}from"./cli-1.0.5-ax3758yk.mjs";import{J0 as g9,JY as m9,c0 as p,e0 as M}from"./cli-1.0.5-7b347m92.mjs";import{p3 as a,q3 as E,r3 as b,s3 as J0}from"./cli-1.0.5-jcd8tadh.mjs";import{t3 as c9}from"./cli-1.0.5-t8qp4fth.mjs";import{C5 as K6,Z7 as G6,a7 as jY,y5 as $Y}from"./cli-1.0.5-rzs07ec3.mjs";import{A9 as _Z,B9 as k9,Cba as $9,Dfa as U0,Gfa as p9,Jba as r6,Kfa as e,N9 as GY,P9 as dQ,P_ as a6,Sfa as w0,Tca as yY,Uba as wY,Vba as EY,W$ as n6,Xba as V6,_$ as Y9,ada as W6,daa as T6,n_ as E9,u$ as TZ,w$ as x9,z$ as y9}from"./cli-1.0.5-9m4a2113.mjs";import{bga as B0,jga as L0,nga as h9}from"./cli-1.0.5-0k6kyvrp.mjs";import{Tga as oY,cha as $6}from"./cli-1.0.5-pnn57nb8.mjs";import{vha as Y,wha as h,xha as JZ,yha as q,zha as EZ}from"./cli-1.0.5-3mmky5x7.mjs";import{Cha as UY,Dha as X6,Fha as RZ,Iha as z0,Jha as q0,Kha as D0,Lha as v0,Nha as A0,Oha as _0,_ha as O0,eia as u9}from"./cli-1.0.5-br28xg7b.mjs";import{pia as g,sia as UZ}from"./cli-1.0.5-t1pv236j.mjs";import{Xia as ZZ,Yia as WY,aja as PZ,sja as I,via as Z9,vja as HZ,xia as C6}from"./cli-1.0.5-a0zsx9k5.mjs";import{Bja as gQ,xja as KY}from"./cli-1.0.5-qsbpj1m9.mjs";import{Eja as VY,Sja as w9,Tja as tZ,Zja as lZ}from"./cli-1.0.5-k8de6zdd.mjs";import{Aoa as H9,Coa as N9,Doa as X0,Foa as B9,Npa as IY,Qpa as BZ,Tla as NZ,Zla as W0,_la as eY,gna as OY,yoa as J9,zoa as DZ}from"./cli-1.0.5-q8fmarwj.mjs";import{Ara as rZ,vra as N0,yra as hZ,zra as OZ}from"./cli-1.0.5-73mr16hn.mjs";var WQ={};hZ(WQ,{selectableUserMessagesFilter:()=>S0,messagesAfterAreOnlySynthetic:()=>VQ,MessageSelector:()=>e9});import{randomUUID as t9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function SZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function e9({messages:Q,onPreRestore:Z,onRestoreMessage:X,onRestoreCode:V,onSummarize:W,onClose:H,preselectedMessage:G}){let K=I0((U)=>U.fileHistory),[B,z]=T.useState(void 0),J=M0(),L=T.useMemo(t9,[]),_=T.useMemo(()=>[...Q.filter(S0),{...s({content:""}),uuid:L}],[Q,L]),[w,v]=T.useState(_.length-1),P=Math.max(0,Math.min(w-Math.floor(CZ/2),_.length-CZ)),f=_.length>1,[D,F]=T.useState(G),[y,S]=T.useState(void 0);T.useEffect(()=>{if(!G||!J)return;let U=!1;return fZ(K,G.uuid).then((R)=>{if(!U)S(R)}),()=>{U=!0}},[G,J,K]);let[O,$]=T.useState(!1),[d,i]=T.useState(null),[o,C]=T.useState("both"),[k,x]=T.useState(""),[A,j]=T.useState("");function N(U){let R=U?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],c={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return R.push({value:"summarize",label:"Summarize from here",...c,onChange:x}),R.push({value:"nevermind",label:"Never mind"}),R}T.useEffect(()=>{g("tengu_message_selector_opened",{})},[]);async function u(U){Z(),$(!0);try{await X(U),$(!1),H()}catch(R){e(R),$(!1),z(`Failed to restore the conversation:
|
|
2
|
-
${R}`)}}async function l(U){let R=Q.indexOf(U),c=Q.length-1-R;if(g("tengu_message_selector_selected",{index_from_end:c,message_type:U.type,is_current_prompt:!1}),!Q.includes(U)){H();return}if(!J){await u(U);return}let m=await fZ(K,U.uuid);F(U),S(m)}async function VZ(U){if(g("tengu_message_selector_restore_option_selected",{option:U}),!D){z("Message not found.");return}if(U==="nevermind"){if(G)H();else F(void 0);return}if(SZ(U)){Z(),$(!0),i(U),z(void 0);try{let m=U==="summarize_up_to"?"up_to":"from",YZ=(m==="up_to"?A:k).trim()||void 0;await W(D,YZ,m),$(!1),i(null),F(void 0),H()}catch(m){e(m),$(!1),i(null),F(void 0),z(`Failed to summarize:
|
|
3
|
-
${m}`)}return}Z(),$(!0),z(void 0);let R=null,c=null;if(U==="code"||U==="both")try{await V(D)}catch(m){R=m,e(R)}if(U==="conversation"||U==="both")try{await X(D)}catch(m){c=m,e(c)}if($(!1),F(void 0),c&&R)z(`Failed to restore the conversation and code:
|
|
4
|
-
${c}
|
|
5
|
-
${R}`);else if(c)z(`Failed to restore the conversation:
|
|
6
|
-
${c}`);else if(R)z(`Failed to restore the code:
|
|
7
|
-
${R}`);else H()}let WZ=P0(),t=T.useCallback(()=>{if(D&&!G){F(void 0);return}g("tengu_message_selector_cancelled",{}),H()},[H,D,G]),I9=T.useCallback(()=>v((U)=>Math.max(0,U-1)),[]),C9=T.useCallback(()=>v((U)=>Math.min(_.length-1,U+1)),[_.length]),T9=T.useCallback(()=>v(0),[]),R9=T.useCallback(()=>v(_.length-1),[_.length]),f9=T.useCallback(()=>{let U=_[w];if(U)l(U)},[_,w,l]);$0("confirm:no",t,{context:"Confirmation",isActive:!D}),j0({"messageSelector:up":I9,"messageSelector:down":C9,"messageSelector:top":T9,"messageSelector:bottom":R9,"messageSelector:select":f9},{context:"MessageSelector",isActive:!O&&!B&&!D&&f});let[K0,G0]=T.useState({});T.useEffect(()=>{async function U(){if(!J)return;Promise.all(_.map(async(R,c)=>{if(R.uuid!==L){let m=b0(K,R.uuid),YZ=_.at(c+1),AZ=m?XQ(Q,R.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(AZ!==void 0)G0((r)=>({...r,[c]:AZ}));else G0((r)=>({...r,[c]:void 0}))}}))}U()},[_,Q,L,K,J]);let vZ=J&&y?.filesChanged&&y.filesChanged.length>0,S9=!B&&!D&&!G&&f;return b(p,{flexDirection:"column",width:"100%",children:[E(F0,{color:"suggestion"}),b(p,{flexDirection:"column",marginX:1,gap:1,children:[E(M,{bold:!0,color:"suggestion",children:"Rewind"}),B&&E(a,{children:b(M,{color:"error",children:["Error: ",B]})}),!f&&E(a,{children:E(M,{children:"Nothing to rewind to yet."})}),!B&&D&&f&&b(a,{children:[b(M,{children:["Confirm you want to restore"," ",!y&&"the conversation ","to the point before you sent this message:"]}),b(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[E(H0,{userMessage:D,color:"text",isCurrent:!1}),b(M,{dimColor:!0,children:["(",L0(new Date(D.timestamp)),")"]})]}),E(YQ,{selectedRestoreOption:o,canRestoreCode:!!vZ,diffStatsForRestore:y}),O&&SZ(d)?b(p,{flexDirection:"row",gap:1,children:[E(T0,{}),E(M,{children:"Summarizing…"})]}):E(C0,{isDisabled:O,options:N(!!vZ),defaultFocusValue:vZ?"both":"conversation",onFocus:(U)=>C(U),onChange:(U)=>VZ(U),onCancel:()=>G?H():F(void 0)}),vZ&&E(p,{marginBottom:1,children:b(M,{dimColor:!0,children:[_Z.warning," Rewinding does not affect files edited manually or via bash."]})})]}),S9&&b(a,{children:[J?E(M,{children:"Restore the code and/or conversation to the point before…"}):E(M,{children:"Restore and fork the conversation to the point before…"}),E(p,{width:"100%",flexDirection:"column",children:_.slice(P,P+CZ).map((U,R)=>{let c=P+R,m=c===w,YZ=U.uuid===L,AZ=c in K0,r=K0[c],IZ=r?.filesChanged&&r.filesChanged.length;return b(p,{height:J?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[E(p,{width:2,minWidth:2,children:m?b(M,{color:"permission",bold:!0,children:[_Z.pointer," "]}):E(M,{children:" "})}),b(p,{flexDirection:"column",children:[E(p,{flexShrink:1,height:1,overflow:"hidden",children:E(H0,{userMessage:U,color:m?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),J&&AZ&&E(p,{height:1,flexDirection:"row",children:r?E(a,{children:E(M,{dimColor:!m,color:"inactive",children:IZ?b(a,{children:[IZ===1&&r.filesChanged[0]?`${QZ.basename(r.filesChanged[0])} `:`${IZ} files changed `,E(f0,{diffStats:r})]}):E(a,{children:"No code changes"})})}):b(M,{dimColor:!0,color:"warning",children:[_Z.warning," No code restore"]})})]})]},U.uuid)})})]}),!D&&E(M,{dimColor:!0,italic:!0,children:WZ.pending?b(a,{children:["Press ",WZ.keyName," again to exit"]}):b(a,{children:[!B&&f&&"Enter to continue · ","Esc to exit"]})})]})]})}function ZQ(Q){switch(Q){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function YQ(Q){let Z=GZ.c(11),{selectedRestoreOption:X,canRestoreCode:V,diffStatsForRestore:W}=Q,H=V&&(X==="both"||X==="code"),G;if(Z[0]!==X)G=ZQ(X),Z[0]=X,Z[1]=G;else G=Z[1];let K;if(Z[2]!==G)K=E(M,{dimColor:!0,children:G}),Z[2]=G,Z[3]=K;else K=Z[3];let B;if(Z[4]!==W||Z[5]!==X||Z[6]!==H)B=!SZ(X)&&(H?E(QQ,{diffStatsForRestore:W}):E(M,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=W,Z[5]=X,Z[6]=H,Z[7]=B;else B=Z[7];let z;if(Z[8]!==K||Z[9]!==B)z=b(p,{flexDirection:"column",children:[K,B]}),Z[8]=K,Z[9]=B,Z[10]=z;else z=Z[10];return z}function QQ(Q){let Z=GZ.c(14),{diffStatsForRestore:X}=Q;if(X===void 0)return;if(!X.filesChanged||!X.filesChanged[0]){let K;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))K=E(M,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=K;else K=Z[0];return K}let V=X.filesChanged.length,W;if(V===1){let K;if(Z[1]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[1]=X.filesChanged[0],Z[2]=K;else K=Z[2];W=K}else if(V===2){let K;if(Z[3]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[3]=X.filesChanged[0],Z[4]=K;else K=Z[4];let B=K,z;if(Z[5]!==X.filesChanged[1])z=QZ.basename(X.filesChanged[1]||""),Z[5]=X.filesChanged[1],Z[6]=z;else z=Z[6];W=`${B} and ${z}`}else{let K;if(Z[7]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[7]=X.filesChanged[0],Z[8]=K;else K=Z[8];W=`${K} and ${X.filesChanged.length-1} other files`}let H;if(Z[9]!==X)H=E(f0,{diffStats:X}),Z[9]=X,Z[10]=H;else H=Z[10];let G;if(Z[11]!==W||Z[12]!==H)G=E(a,{children:b(M,{dimColor:!0,children:["The code will be restored"," ",H," in ",W,"."]})}),Z[11]=W,Z[12]=H,Z[13]=G;else G=Z[13];return G}function f0(Q){let Z=GZ.c(7),{diffStats:X}=Q;if(!X||!X.filesChanged)return;let V;if(Z[0]!==X.insertions)V=b(M,{color:"diffAddedWord",children:["+",X.insertions," "]}),Z[0]=X.insertions,Z[1]=V;else V=Z[1];let W;if(Z[2]!==X.deletions)W=b(M,{color:"diffRemovedWord",children:["-",X.deletions]}),Z[2]=X.deletions,Z[3]=W;else W=Z[3];let H;if(Z[4]!==V||Z[5]!==W)H=b(a,{children:[V,W]}),Z[4]=V,Z[5]=W,Z[6]=H;else H=Z[6];return H}function H0(Q){let Z=GZ.c(31),{userMessage:X,color:V,dimColor:W,isCurrent:H,paddingRight:G}=Q,{columns:K}=y0();if(H){let S;if(Z[0]!==V||Z[1]!==W)S=E(p,{width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"(current)"})}),Z[0]=V,Z[1]=W,Z[2]=S;else S=Z[2];return S}let B=X.message.content,z=typeof B==="string"?null:B[B.length-1],J,L,_,w,v,P,f,D;if(Z[3]!==V||Z[4]!==K||Z[5]!==B||Z[6]!==W||Z[7]!==z||Z[8]!==G){D=Symbol.for("react.early_return_sentinel");Z:{let S=typeof B==="string"?B.trim():z&&R0(z)?z.text.trim():"(no prompt)",O=U0(S);if(E0(O)){let $;if(Z[17]!==V||Z[18]!==W)$=E(p,{flexDirection:"row",width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"((empty message))"})}),Z[17]=V,Z[18]=W,Z[19]=$;else $=Z[19];D=$;break Z}if(O.includes("<bash-input>")){let $=KZ(O,"bash-input");if($){let d;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))d=E(M,{color:"bashBorder",children:"!"}),Z[20]=d;else d=Z[20];D=b(p,{flexDirection:"row",width:"100%",children:[d,b(M,{color:V,dimColor:W,children:[" ",$]})]});break Z}}if(O.includes(`<${RZ}>`)){let $=KZ(O,RZ),d=KZ(O,"command-args"),i=KZ(O,"skill-format")==="true";if($)if(i){D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["Skill(",$,")"]})});break Z}else{D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["/",$," ",d]})});break Z}}L=p,P="row",f="100%",J=M,_=V,w=W,v=G?B0(O,K-G,!0):O.slice(0,500).split(`
|
|
8
|
-
`).slice(0,4).join(`
|
|
9
|
-
`)}Z[3]=V,Z[4]=K,Z[5]=B,Z[6]=W,Z[7]=z,Z[8]=G,Z[9]=J,Z[10]=L,Z[11]=_,Z[12]=w,Z[13]=v,Z[14]=P,Z[15]=f,Z[16]=D}else J=Z[9],L=Z[10],_=Z[11],w=Z[12],v=Z[13],P=Z[14],f=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let F;if(Z[21]!==J||Z[22]!==_||Z[23]!==w||Z[24]!==v)F=E(J,{color:_,dimColor:w,children:v}),Z[21]=J,Z[22]=_,Z[23]=w,Z[24]=v,Z[25]=F;else F=Z[25];let y;if(Z[26]!==L||Z[27]!==P||Z[28]!==f||Z[29]!==F)y=E(L,{flexDirection:P,width:f,children:F}),Z[26]=L,Z[27]=P,Z[28]=f,Z[29]=F,Z[30]=y;else y=Z[30];return y}function XQ(Q,Z,X){let V=Q.findIndex((B)=>B.uuid===Z);if(V===-1)return;let W=X?Q.findIndex((B)=>B.uuid===X):Q.length;if(W===-1)W=Q.length;let H=[],G=0,K=0;for(let B=V+1;B<W;B++){let z=Q[B];if(!z||!xZ(z))continue;let J=z.toolUseResult;if(!J||!J.filePath||!J.structuredPatch)continue;if(!H.includes(J.filePath))H.push(J.filePath);try{if("type"in J&&J.type==="create")G+=J.content.split(/\r?\n/).length;else for(let L of J.structuredPatch){let _=TZ(L.lines,(v)=>v.startsWith("+")),w=TZ(L.lines,(v)=>v.startsWith("-"));G+=_,K+=w}}catch{continue}}return{filesChanged:H,insertions:G,deletions:K}}function S0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(kZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,X=typeof Z==="string"?null:Z[Z.length-1],V=typeof Z==="string"?Z.trim():X&&R0(X)?X.text.trim():"";if(V.indexOf(`<${D0}>`)!==-1||V.indexOf(`<${v0}>`)!==-1||V.indexOf(`<${z0}>`)!==-1||V.indexOf(`<${q0}>`)!==-1||V.indexOf(`<${_0}>`)!==-1||V.indexOf(`<${A0}>`)!==-1||V.indexOf(`<${O0}`)!==-1)return!1;return!0}function VQ(Q,Z){for(let X=Z+1;X<Q.length;X++){let V=Q[X];if(!V)continue;if(kZ(V))continue;if(xZ(V))continue;if(V.type==="progress")continue;if(V.type==="system")continue;if(V.type==="attachment")continue;if(V.type==="user"&&V.isMeta)continue;if(V.type==="assistant"){let W=V.message.content;if(Array.isArray(W)){if(W.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(V.type==="user")return!1}return!0}var GZ,T,CZ=7;var KQ=OZ(()=>{k9();UZ();i9();r9();w0();a9();g9();l9();p9();wZ();o9();s9();d9();u9();x9();h9();n9();J0();GZ=N0(m9(),1),T=N0(c9(),1)});var b6={};hZ(b6,{getCronJitterConfig:()=>M6});function M6(){let Q=oY("tengu_kairos_cron_config",XZ,j6),Z=F6().safeParse(Q);return Z.success?Z.data:XZ}var j6=60000,oZ=1800000,P6=2592000000,F6;var I6=OZ(()=>{JZ();$6();sY();EZ();F6=q(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(oZ),oneShotMaxMs:Y.number().int().min(0).max(oZ),oneShotFloorMs:Y.number().int().min(0).max(oZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(P6).default(XZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as f6,readFile as S6,unlink as X9,writeFile as eZ}from"fs/promises";import{dirname as h6,join as V9}from"path";function zZ(Q){return V9(Q??eY(),k6)}async function W9(Q){let Z;try{Z=await S6(zZ(Q),"utf8")}catch{return}let X=x6().safeParse(Y9(Z,!1));return X.success?X.data:void 0}async function tY(Q,Z){let X=zZ(Z),V=ZZ(Q);try{return await eZ(X,V,{flag:"wx"}),!0}catch(W){let H=tZ(W);if(H==="EEXIST")return!1;if(H==="ENOENT"){await f6(h6(X),{recursive:!0});try{return await eZ(X,V,{flag:"wx"}),!0}catch(G){if(tZ(G)==="EEXIST")return!1;throw G}}throw W}}function sZ(Q){MZ?.(),MZ=Z9(async()=>{await qZ(Q)})}async function Z0(Q){let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V={sessionId:X,pid:process.pid,acquiredAt:Date.now()};if(await tY(V,Z))return LZ=void 0,sZ(Q),I(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let W=await W9(Z);if(W?.sessionId===X){if(W.pid!==process.pid)await eZ(zZ(Z),ZZ(V)),sZ(Q);return!0}if(W&&Q9(W.pid)){if(LZ!==W.sessionId)LZ=W.sessionId,I(`[ScheduledTasks] scheduler lock held by session ${W.sessionId} (PID ${W.pid})`);return!1}if(W)I(`[ScheduledTasks] recovering stale scheduler lock from PID ${W.pid}`);if(await X9(zZ(Z)).catch(()=>{}),await tY(V,Z))return LZ=void 0,sZ(Q),!0;return!1}async function qZ(Q){MZ?.(),MZ=void 0,LZ=void 0;let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V=await W9(Z);if(!V||V.sessionId!==X)return;try{await X9(zZ(Z)),I("[ScheduledTasks] released scheduler lock")}catch{}}var k6,x6,MZ,LZ;var K9=OZ(()=>{JZ();BZ();C6();HZ();lZ();R6();T6();EZ();PZ();k6=V9(".claudin","scheduled_tasks.lock"),x6=q(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var d6={};hZ(d6,{takeDueSessionWakeup:()=>O9,isRecurringTaskAged:()=>_9,createCronScheduler:()=>g6,buildMissedTaskNotification:()=>U9});function _9(Q,Z,X){if(X===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=X)}function O9(Q){let Z=X0();if(!Z||Q<Z.fireAtMs)return null;return B9(),{prompt:V0(Z.prompt),reason:Z.reason}}function g6(Q){let{onFire:Z,isLoading:X,assistantMode:V=!1,onFireTask:W,onMissed:H,onWakeupFire:G,dir:K,lockIdentity:B,getJitterConfig:z,isKilled:J,filter:L}=Q,_=K||B?{dir:K,lockIdentity:B}:void 0,w=[],v=new Map,P=new Set,f=new Set,D=null,F=null,y=null,S=null,O=!1,$=!1;async function d(C){let k=await q9(K);if(O)return;if(w=k,!C)return;let x=Date.now(),A=A9(k,x).filter((j)=>!j.recurring&&!P.has(j.id)&&(!L||L(j)));if(A.length>0){for(let j of A)P.add(j.id),v.set(j.id,1/0);if(g("tengu_scheduled_task_missed",{count:A.length,taskIds:A.map((j)=>j.id).join(",")}),H)H(A);else Z(U9(A));Y0(A.map((j)=>j.id),K).catch((j)=>I(`[ScheduledTasks] failed to remove missed tasks: ${j}`)),I(`[ScheduledTasks] surfaced ${A.length} missed one-shot task(s)`)}}function i(){if(J?.())return;if(X()&&!V)return;let C=Date.now(),k=new Set,x=[],A=z?.()??XZ;function j(N,u){if(L&&!L(N))return;if(k.add(N.id),f.has(N.id))return;let l=v.get(N.id);if(l===void 0)l=N.recurring?Q0(N.cron,N.lastFiredAt??N.createdAt,N.id,A)??1/0:v9(N.cron,N.createdAt,N.id,A)??1/0,v.set(N.id,l),I(`[ScheduledTasks] scheduled ${N.id} for ${l===1/0?"never":new Date(l).toISOString()}`);if(C<l)return;I(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),g("tengu_scheduled_task_fire",{recurring:N.recurring??!1,taskId:N.id});let VZ=K===void 0?V0(N.prompt,void 0,N.agentId):N.prompt;if(W)W(VZ===N.prompt?N:{...N,prompt:VZ});else Z(VZ);let WZ=_9(N,C,A.recurringMaxAgeMs);if(WZ){let t=Math.floor((C-N.createdAt)/1000/60/60);I(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),g("tengu_scheduled_task_expired",{taskId:N.id,ageHours:t})}if(N.recurring&&!WZ){let t=Q0(N.cron,C,N.id,A)??1/0;if(v.set(N.id,t),!u)x.push(N.id)}else if(u)N9([N.id]),v.delete(N.id);else f.add(N.id),Y0([N.id],K).catch((t)=>I(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>f.delete(N.id)),v.delete(N.id)}if($){for(let N of w)j(N,!1);if(x.length>0){for(let N of x)f.add(N);D9(x,C,K).catch((N)=>I(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of x)f.delete(N)})}}if(K===void 0){for(let u of H9())j(u,!0);let N=O9(C);if(N!==null)if(I("[ScheduledTasks] firing pending ScheduleWakeup"),g("tengu_schedule_wakeup_fire",{}),G)G(N.prompt,N.reason);else Z(N.prompt)}if(k.size===0){v.clear();return}for(let N of v.keys())if(!k.has(N))v.delete(N)}async function o(){if(O)return;if(D)clearInterval(D),D=null;let{default:C}=await import("./index-1.0.5-wr2ed66w.mjs");if(O)return;if($=await Z0(_).catch(()=>!1),O){if($)$=!1,qZ(_);return}if(!$)y=setInterval(()=>{Z0(_).then((x)=>{if(O){if(x)qZ(_);return}if(x){if($=!0,y)clearInterval(y),y=null}}).catch((x)=>I(String(x),{level:"error"}))},m6),y.unref?.();d(!0);let k=z9(K);S=C.watch(k,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:c6},ignorePermissionErrors:!0}),S.on("add",()=>void d(!1)),S.on("change",()=>void d(!1)),S.on("unlink",()=>{if(!O)w=[],v.clear()}),F=setInterval(i,G9),F.unref?.()}return{start(){if(O=!1,K!==void 0){I(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${bZ(K)}`),o();return}if(I(`[ScheduledTasks] scheduler start() — enabled=${DZ()}, hasTasks=${bZ()}`),!DZ()&&(V||bZ()))J9(!0);if(DZ()){o();return}D=setInterval((C)=>{if(DZ())C()},G9,o),D.unref?.()},stop(){if(O=!0,D)clearInterval(D),D=null;if(F)clearInterval(F),F=null;if(y)clearInterval(y),y=null;if(S?.close(),S=null,$)$=!1,qZ(_)},getNextFireTime(){let C=1/0;for(let k of v.values())if(k<C)C=k;if(K===void 0){let k=X0();if(k&&k.fireAtMs<C)C=k.fireAtMs}return C===1/0?null:C}}}function U9(Q){let Z=Q.length>1,X=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudin/scheduled_tasks.json.
|
|
10
|
-
|
|
11
|
-
Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,V=Q.map((W)=>{let H=`[${L9(W.cron)}, created ${new Date(W.createdAt).toLocaleString()}]`,G=(W.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),K="`".repeat(Math.max(3,G+1));return`${H}
|
|
12
|
-
${K}
|
|
13
|
-
${W.prompt}
|
|
14
|
-
${K}`});return`${X}
|
|
15
|
-
|
|
16
|
-
${V.join(`
|
|
17
|
-
|
|
18
|
-
`)}`}var G9=1000,c6=300,m6=5000;var l6=OZ(()=>{BZ();UZ();u6();sY();K9();HZ();p6()});import{randomUUID as dZ}from"crypto";JZ();EZ();GQ();var JQ=q(()=>Y.unknown()),HQ=q(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),NQ=q(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(u0(),Y.array(HQ())).optional(),sdkMcpServers:Y.array(Y.string()).optional(),jsonSchema:Y.record(Y.string(),Y.unknown()).optional(),systemPrompt:Y.string().optional(),appendSystemPrompt:Y.string().optional(),agents:Y.record(Y.string(),g0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),EX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(c0()),account:m0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:i0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),BQ=q(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),LQ=q(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(k0()).optional(),blocked_path:Y.string().optional(),decision_reason:Y.string().optional(),title:Y.string().optional(),display_name:Y.string().optional(),tool_use_id:Y.string(),agent_id:Y.string().optional(),description:Y.string().optional()}).describe("Requests permission to use a tool with the given input.")),zQ=q(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:x0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),qQ=q(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),DQ=q(()=>Y.object({subtype:Y.literal("set_max_thinking_tokens"),max_thinking_tokens:Y.number().nullable()}).describe("Sets the maximum number of thinking tokens for extended thinking.")),vQ=q(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),yX=q(()=>Y.object({mcpServers:Y.array(uZ())}).describe("Response containing the current status of all MCP server connections.")),AQ=q(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),_Q=q(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),OQ=q(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),$X=q(()=>Y.object({categories:Y.array(_Q()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(OQ())),model:Y.string(),memoryFiles:Y.array(Y.object({path:Y.string(),type:Y.string(),tokens:Y.number()})),mcpTools:Y.array(Y.object({name:Y.string(),serverName:Y.string(),tokens:Y.number(),isLoaded:Y.boolean().optional()})),deferredBuiltinTools:Y.array(Y.object({name:Y.string(),tokens:Y.number(),isLoaded:Y.boolean()})).optional(),systemTools:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),systemPromptSections:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),agents:Y.array(Y.object({agentType:Y.string(),source:Y.string(),tokens:Y.number()})),slashCommands:Y.object({totalCommands:Y.number(),includedCommands:Y.number(),tokens:Y.number()}).optional(),skills:Y.object({totalSkills:Y.number(),includedSkills:Y.number(),tokens:Y.number(),skillFrontmatter:Y.array(Y.object({name:Y.string(),source:Y.string(),tokens:Y.number()}))}).optional(),autoCompactThreshold:Y.number().optional(),isAutoCompactEnabled:Y.boolean(),messageBreakdown:Y.object({toolCallTokens:Y.number(),toolResultTokens:Y.number(),attachmentTokens:Y.number(),assistantMessageTokens:Y.number(),userMessageTokens:Y.number(),toolCallsByType:Y.array(Y.object({name:Y.string(),callTokens:Y.number(),resultTokens:Y.number()})),attachmentsByType:Y.array(Y.object({name:Y.string(),tokens:Y.number()}))}).optional(),apiUsage:Y.object({input_tokens:Y.number(),output_tokens:Y.number(),cache_creation_input_tokens:Y.number(),cache_read_input_tokens:Y.number()}).nullable()}).describe("Breakdown of current context window usage by category (system prompt, tools, messages, etc.).")),UQ=q(()=>Y.object({subtype:Y.literal("rewind_files"),user_message_id:Y.string(),dry_run:Y.boolean().optional()}).describe("Rewinds file changes made since a specific user message.")),jX=q(()=>Y.object({canRewind:Y.boolean(),error:Y.string().optional(),filesChanged:Y.array(Y.string()).optional(),insertions:Y.number().optional(),deletions:Y.number().optional()}).describe("Result of a rewindFiles operation.")),wQ=q(()=>Y.object({subtype:Y.literal("cancel_async_message"),message_uuid:Y.string()}).describe("Drops a pending async user message from the command queue by uuid. No-op if already dequeued for execution.")),PX=q(()=>Y.object({cancelled:Y.boolean()}).describe("Result of a cancel_async_message operation. cancelled=false means the message was not in the queue (already dequeued or never enqueued).")),EQ=q(()=>Y.object({subtype:Y.literal("seed_read_state"),path:Y.string(),mtime:Y.number()}).describe("Seeds the readFileState cache with a path+mtime entry. Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read. The mtime lets the CLI detect if the file changed since the seeded Read — same staleness check as the normal path.")),yQ=q(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:p0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),$Q=q(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:JQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),jQ=q(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),h0())}).describe("Replaces the set of dynamically managed MCP servers.")),FX=q(()=>Y.object({added:Y.array(Y.string()),removed:Y.array(Y.string()),errors:Y.record(Y.string(),Y.string())}).describe("Result of replacing the set of dynamically managed MCP servers.")),PQ=q(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),MX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),plugins:Y.array(Y.object({name:Y.string(),path:Y.string(),source:Y.string().optional()})),mcpServers:Y.array(uZ()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),FQ=q(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),MQ=q(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),bQ=q(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),IQ=q(()=>Y.object({subtype:Y.literal("apply_flag_settings"),settings:Y.record(Y.string(),Y.unknown())}).describe("Merges the provided settings into the flag settings layer, updating the active configuration.")),CQ=q(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),bX=q(()=>Y.object({effective:Y.record(Y.string(),Y.unknown()),sources:Y.array(Y.object({source:Y.enum(["userSettings","projectSettings","localSettings","flagSettings","policySettings"]),settings:Y.record(Y.string(),Y.unknown())})).describe("Ordered low-to-high priority — later entries override earlier ones."),applied:Y.object({model:Y.string(),effort:Y.enum(["low","medium","high","max"]).nullable()}).optional().describe("Runtime-resolved values after env overrides, session state, and model-specific defaults are applied. Unlike `effective` (disk merge), these reflect what will actually be sent to the API.")}).describe("Effective merged settings plus raw per-source settings in merge order.")),TQ=q(()=>Y.object({subtype:Y.literal("elicitation"),mcp_server_name:Y.string(),message:Y.string(),mode:Y.enum(["form","url"]).optional(),url:Y.string().optional(),elicitation_id:Y.string().optional(),requested_schema:Y.record(Y.string(),Y.unknown()).optional()}).describe("Requests the SDK consumer to handle an MCP elicitation (user input request).")),o0=q(()=>Y.object({action:Y.enum(["accept","decline","cancel"]),content:Y.record(Y.string(),Y.unknown()).optional()}).describe("Response from the SDK consumer for an elicitation request.")),RQ=q(()=>Y.union([BQ(),LQ(),NQ(),zQ(),qQ(),DQ(),vQ(),AQ(),yQ(),$Q(),UQ(),wQ(),EQ(),jQ(),PQ(),FQ(),MQ(),bQ(),IQ(),CQ(),TQ()])),mZ=q(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:RQ()})),fQ=q(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),SQ=q(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>mZ())).optional()})),s0=q(()=>Y.object({type:Y.literal("control_response"),response:Y.union([fQ(),SQ()])})),hQ=q(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),t0=q(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),kQ=q(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),IX=q(()=>Y.union([r0(),l0(),a0(),n0(),s0(),mZ(),hQ(),t0()])),CX=q(()=>Y.union([d0(),mZ(),s0(),t0(),kQ()]));lQ();HZ();dQ();lZ();JZ();HZ();EZ();e0();xQ();var xX=q(()=>h.object({tool_name:h.string().describe("The name of the tool requesting permission"),input:h.record(h.string(),h.unknown()).describe("The input for the tool"),tool_use_id:h.string().optional().describe("The unique tool use request ID")})),YY=q(()=>h.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),uQ=q(()=>h.object({behavior:h.literal("allow"),updatedInput:h.record(h.string(),h.unknown()),updatedPermissions:h.array(ZY()).optional().catch((Q)=>{I(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:h.string().optional(),decisionClassification:YY()})),pQ=q(()=>h.object({behavior:h.literal("deny"),message:h.string(),interrupt:h.boolean().optional(),toolUseID:h.string().optional(),decisionClassification:YY()})),gZ=q(()=>h.union([uQ(),pQ()]));function jZ(Q,Z,X,V){let W={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let H=Q.updatedPermissions;if(H)V.setAppState((K)=>({...K,toolPermissionContext:yZ(K.toolPermissionContext,H)})),$Z(H);let G=Object.keys(Q.updatedInput).length>0?Q.updatedInput:X;return{...Q,updatedInput:G,decisionReason:W}}else if(Q.behavior==="deny"&&Q.interrupt)I(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),V.abortController.abort();return{...Q,decisionReason:W}}rQ();gQ();PZ();JZ();aQ();qY();e0();iQ();PZ();nQ();PZ();var cQ=/\u2028|\u2029/g;function mQ(Q){return Q.replace(cQ,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function QY(Q){return mQ(ZZ(Q))}var oQ="SandboxNetworkAccess";function sQ(Q){if(!Q)return;if(Q.type==="classifier")return Q.reason;switch(Q.type){case"rule":case"mode":case"subcommandResults":case"permissionPromptTool":return;case"hook":case"asyncAgent":case"sandboxOverride":case"workingDir":case"safetyCheck":case"other":return Q.reason}}function tQ(Q,Z,X,V){let W;try{W=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{W=Q.name}return{tool_name:Q.name,action_description:W,tool_use_id:X,request_id:V,input:Z}}var eQ=1000;class Z6{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new NY;constructor(Q,Z){this.input=Q;this.replayUserMessages=Z;this.input=Q,this.structuredInput=this.read()}trackResolvedToolUseId(Q){if(Q.request.subtype==="can_use_tool"){if(this.resolvedToolUseIds.add(Q.request.tool_use_id),this.resolvedToolUseIds.size>eQ){let Z=this.resolvedToolUseIds.values().next().value;if(Z!==void 0)this.resolvedToolUseIds.delete(Z)}}}flushInternalEvents(){return Promise.resolve()}get internalEventsPending(){return 0}prependUserMessage(Q){this.prependedLines.push(ZZ({type:"user",session_id:"",message:{role:"user",content:Q},parent_tool_use_id:null})+`
|
|
19
|
-
`)}async*read(){let Q="",Z=async function*(){for(;;){if(this.prependedLines.length>0)Q=this.prependedLines.join("")+Q,this.prependedLines=[];let X=Q.indexOf(`
|
|
20
|
-
`);if(X===-1)break;let V=Q.slice(0,X);Q=Q.slice(X+1);let W=await this.processLine(V);if(W)GY("info","cli_stdin_message_parsed",{type:W.type}),yield W}}.bind(this);yield*Z();for await(let X of this.input)Q+=X,yield*Z();if(Q){let X=await this.processLine(Q);if(X)yield X}this.inputClosed=!0;for(let X of this.pendingRequests.values())X.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Q)=>Q.request).filter((Q)=>Q.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Q){this.unexpectedResponseCallback=Q}injectControlResponse(Q){let Z=Q.response?.request_id;if(!Z)return;let X=this.pendingRequests.get(Z);if(!X)return;if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")X.reject(Error(Q.response.error));else{let V=Q.response.response;if(X.schema)try{X.resolve(X.schema.parse(V))}catch(W){X.reject(W)}else X.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=DY(WY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let X=Object.keys(Z.variables);for(let[V,W]of Object.entries(Z.variables))process.env[V]=W;I(`[structuredIO] applied update_environment_variables: ${X.join(", ")}`);return}if(Z.type==="control_response"){let X="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(X)HY(X,"completed");let V=this.pendingRequests.get(Z.response.request_id);if(!V){let G=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof G==="string"&&this.resolvedToolUseIds.has(G)){I(`Ignoring duplicate control_response for already-resolved toolUseID=${G} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(V.request),this.pendingRequests.delete(Z.response.request_id),V.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){V.reject(Error(Z.response.error));return}let W=Z.response.response;if(V.schema)try{V.resolve(V.schema.parse(W))}catch(H){V.reject(H)}else V.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){I(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)XY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;if(Z.message.role!=="user")XY(`Error: Expected message role 'user', got '${Z.message.role}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Q}: ${Z}`),process.exit(1)}}async write(Q){KY(QY(Q)+`
|
|
21
|
-
`)}async sendRequest(Q,Z,X,V=dZ()){let W={type:"control_request",request_id:V,request:Q};if(this.inputClosed)throw Error("Stream closed");if(X?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(W),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(W);let H=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:V});let G=this.pendingRequests.get(V);if(G)this.trackResolvedToolUseId(G.request),G.reject(new VY)};if(X)X.addEventListener("abort",H,{once:!0});try{return await new Promise((G,K)=>{this.pendingRequests.set(V,{request:{type:"control_request",request_id:V,request:Q},resolve:(B)=>{G(B)},reject:K,schema:Z})})}finally{if(X)X.removeEventListener("abort",H);this.pendingRequests.delete(V)}}createCanUseTool(Q){return async(Z,X,V,W,H,G)=>{let K=G??await BY(Z,X,V,W,H);if(K.behavior==="allow"||K.behavior==="deny")return K;let B=new AbortController,z=V.abortController.signal,J=()=>B.abort();z.addEventListener("abort",J,{once:!0});try{let L=Y6(Z.name,H,X,V,K.suggestions).then((P)=>({source:"hook",decision:P})),_=dZ();Q?.(tQ(Z,X,H,_));let w=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:X,permission_suggestions:K.suggestions,blocked_path:K.blockedPath,decision_reason:sQ(K.decisionReason),tool_use_id:H,agent_id:V.agentId},gZ(),B.signal,_).then((P)=>({source:"sdk",result:P})),v=await Promise.race([L,w]);if(v.source==="hook"){if(v.decision)return w.catch(()=>{}),B.abort(),v.decision;let P=await w;return jZ(P.result,Z,X,V)}return jZ(v.result,Z,X,V)}catch(L){return jZ({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:H},Z,X,V)}finally{if(this.getPendingPermissionRequests().length===0)LY("running");z.removeEventListener("abort",J)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(X,V,W)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:X,tool_use_id:V||void 0},JY(),W)}catch(H){return console.error(`Error in hook callback ${Q}:`,H),{}}}}}async handleElicitation(Q,Z,X,V,W,H,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:W,url:H,elicitation_id:G,requested_schema:X},o0(),V)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:oQ,input:{host:Q.host},tool_use_id:dZ(),description:`Allow network connection to ${Q.host}?`},gZ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Q,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Q,message:Z},Y.object({mcp_response:Y.any()}))).mcp_response}}function XY(Q){console.error(Q),process.exit(1)}async function Y6(Q,Z,X,V,W){let G=V.getAppState().toolPermissionContext.mode,K=zY(Q,Z,X,V,G,W,V.abortController.signal);for await(let B of K)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let J=z.updatedInput||X,L=z.updatedPermissions??[];if(L.length>0){$Z(L);let _=V.getAppState(),w=yZ(_.toolPermissionContext,L);V.setAppState((v)=>{if(v.toolPermissionContext===w)return v;return{...v,toolPermissionContext:w}})}return{behavior:"allow",updatedInput:J,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:z.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}_Y();function HV(Q){if(Q.type!=="user")return;let Z=Q.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let X="uuid"in Q&&typeof Q.uuid==="string"?Q.uuid:void 0;return{content:Array.isArray(Z)?Q6(Z):Z,uuid:X}}function Q6(Q){if(!Q.some(vY))return Q;return Q.map((Z)=>{if(!vY(Z))return Z;let X=Z.source,V=typeof X.mediaType==="string"&&X.mediaType?X.mediaType:AY(Z.source.data);return{...Z,source:{type:"base64",media_type:V,data:Z.source.data}}})}function vY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}BZ();J6();V6();G6();X6();K6();W6();import{randomUUID as H6}from"crypto";function N6(Q){return Q===wY?EY:Q}function OV(Q){let X=yY()?.outputStyle??PY,V={type:"system",subtype:"init",cwd:UY(),session_id:NZ(),tools:Q.tools.map((W)=>N6(W.name)),mcp_servers:Q.mcpClients.map((W)=>({name:W.name,status:W.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),apiKeySource:jY().source,betas:OY(),claude_code_version:"99.0.0",output_style:X,agents:Q.agents.map((W)=>W.agentType),skills:Q.skills.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),plugins:Q.plugins.map((W)=>({name:W.name,path:W.path,source:W.source})),uuid:H6()};return V.fast_mode_state=$Y(Q.model,Q.fastMode),V}var FY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function B6(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let V=[],W=null,H=0,G=(J)=>!!J&&/[\p{L}\p{N}_]/u.test(J);for(let J=0;J<Q.length;J++){let L=Q[J];if(W){if(W==="["&&L==="["){H=J;continue}if(L!==FY[W])continue;if(W==="'"&&G(Q[J+1]))continue;V.push({start:H,end:J+1}),W=null}else if(L==="<"&&J+1<Q.length&&/[a-zA-Z/]/.test(Q[J+1])||L==="'"&&!G(Q[J-1])||L!=="<"&&L!=="'"&&L in FY)W=L,H=J}let K=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let J of z){if(J.index===void 0)continue;let L=J.index,_=L+J[0].length;if(V.some((P)=>L>=P.start&&L<P.end))continue;let w=Q[L-1],v=Q[_];if(w==="/"||w==="\\"||w==="-")continue;if(v==="/"||v==="\\"||v==="-"||v==="?")continue;if(v==="."&&G(Q[_+1]))continue;K.push({word:J[0],start:L,end:_})}return K}function wV(Q){return B6(Q,"ultrareview")}UZ();wZ();w6();_6();O6();v6();qY();_Y();D6();wZ();U6();A6();import{randomUUID as E6}from"crypto";BZ();UZ();wZ();L6();z6();import{randomUUID as q6}from"crypto";function MY(Q){let Z=Q.toLowerCase();return/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/.test(Z)}function bY(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function fY(Q,Z,X,V,W,H,G){let K=q6();IY(K);let B=typeof Q==="string"?Q:Q.find((w)=>w.type==="text")?.text||"";RY(B);let z=typeof Q==="string"?Q:Q.findLast((w)=>w.type==="text")?.text||"";if(z)TY("user_prompt",{prompt_length:String(z.length),prompt:CY(z),"prompt.id":K});let J=MY(B),L=bY(B);if(g("tengu_input_prompt",{is_negative:J,is_keep_going:L}),Z.length>0){let w=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...w,...Z],uuid:W,imagePasteIds:X.length>0?X:void 0,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}return{messages:[s({content:Q,uuid:W,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}async function iV({input:Q,preExpansionInput:Z,mode:X,setToolJSX:V,context:W,pastedContents:H,ideSelection:G,messages:K,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:J,querySource:L,canUseTool:_,skipSlashCommands:w,bridgeOrigin:v,isMeta:P,skipAttachments:f}){let D=typeof Q==="string"?Q:null;if(X==="prompt"&&D!==null&&!P)B?.(D);n("query_process_user_input_base_start");let F=W.getAppState(),y=await y6(Q,X,V,W,H,G,K,z,J,L,_,F.toolPermissionContext.mode,w,v,P,f,Z);if(n("query_process_user_input_base_end"),!y.shouldQuery)return y;n("query_hooks_start");let S=hY(Q)||"";for await(let O of iY(S,F.toolPermissionContext.mode,W,W.requestPrompt)){if(O.message?.type==="progress")continue;if(O.blockingError){let $=rY(O.blockingError);return{messages:[gY(`${$}
|
|
22
|
-
|
|
23
|
-
Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:y.allowedTools}}if(O.preventContinuation){let $=O.stopReason?`Operation stopped by hook: ${O.stopReason}`:"Operation stopped by hook";return y.messages.push(s({content:$})),y.shouldQuery=!1,y}if(O.additionalContexts&&O.additionalContexts.length>0)y.messages.push(kY({type:"hook_additional_context",content:O.additionalContexts.map(SY),hookName:"UserPromptSubmit",toolUseID:`hook-${E6()}`,hookEvent:"UserPromptSubmit"}));if(O.message)switch(O.message.attachment.type){case"hook_success":if(!O.message.attachment.content)break;y.messages.push({...O.message,attachment:{...O.message.attachment,content:SY(O.message.attachment.content)}});break;default:y.messages.push(O.message);break}}return n("query_hooks_end"),y}var aZ=1e4;function SY(Q){if(Q.length>aZ)return`${Q.substring(0,aZ)}… [output truncated - exceeded ${aZ} characters]`;return Q}async function y6(Q,Z,X,V,W,H,G,K,B,z,J,L,_,w,v,P,f){let D=null,F=[],y=[],S=Q;if(typeof Q==="string")D=Q;else if(Q.length>0){n("query_image_processing_start");let A=[];for(let N of Q)if(N.type==="image"){let u=await iZ(N);if(u.dimensions){let l=FZ(u.dimensions);if(l)y.push(l)}A.push(u.block)}else A.push(N);S=A,n("query_image_processing_end");let j=A[A.length-1];if(j?.type==="text")D=j.text,F=A.slice(0,-1);else F=A}if(D===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let O=W?Object.values(W).filter(cY):[],$=O.map((A)=>A.id),d=W?await xY(W):new Map;n("query_pasted_image_processing_start");let i=await Promise.all(O.map(async(A)=>{let j={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return g("tengu_pasted_image_resize_attempt",{original_size_bytes:A.content.length}),{resized:await iZ(j),originalDimensions:A.dimensions,sourcePath:A.sourcePath??d.get(A.id)}})),o=[];for(let{resized:A,originalDimensions:j,sourcePath:N}of i){if(A.dimensions){let u=FZ(A.dimensions,N);if(u)y.push(u)}else if(j){let u=FZ(j,N);if(u)y.push(u)}else if(N)y.push(`[Image source: ${N}]`);o.push(A.block)}n("query_pasted_image_processing_end");let C=_;if(w&&D!==null&&D.startsWith("/")){let A=pY(D),j=A?nY(A.commandName,V.options.commands):void 0;if(j)if(aY(j))C=!1;else{let N=`/${lY(j)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:K}),dY(`<local-command-stdout>${N}</local-command-stdout>`)],shouldQuery:!1,resultText:N}}}let k=!P&&D!==null&&(Z!=="prompt"||C||!D.startsWith("/"));n("query_attachment_loading_start");let x=k?await uY(mY(D,V,H??null,[],G,z)):[];if(n("query_attachment_loading_end"),D!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-1.0.5-p9zzmpbz.mjs");return nZ(await A(D,F,x,V,X),y)}if(D!==null&&!C&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-1.0.5-zq638t0f.mjs"),j=await A(D,F,o,x,V,X,K,B,J);return nZ(j,y)}if(D!==null&&Z==="prompt"){let A=D.trim(),j=x.find((N)=>N.attachment.type==="agent_mention");if(j){let N=`@agent-${j.attachment.agentType}`,u=A===N,l=A.startsWith(N)&&!u;g("tengu_subagent_at_mention",{is_subagent_only:u,is_prefix:l})}}return nZ(fY(S,o,$,x,K,L,v),y)}function nZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((X)=>({type:"text",text:X})),isMeta:!0}));return Q}i6();BZ();HZ();lZ();n6();a6();w0();o6();r6();import{isAbsolute as s6,resolve as t6}from"path";function e6(Q,Z,X){let V=[],W=[],H=[];for(let[G,K]of Object.entries(Q)){let B=Z[G],z=b9(K.source,X?.projectRoot);if(!B)V.push(G);else if(K.sourceIsFallback)H.push(G);else if(!j9(z,B.source))W.push({name:G,declaredSource:z,materializedSource:B.source});else H.push(G)}return{missing:V,sourceChanged:W,upToDate:H}}async function IW(Q){let Z=P9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let X;try{X=await F9()}catch(J){e(J),X={}}let V=e6(Z,X,{projectRoot:W0()}),W=[...V.missing.map((J)=>({name:J,source:b9(Z[J].source),action:"install"})),...V.sourceChanged.map(({name:J,declaredSource:L})=>({name:J,source:L,action:"update"}))],H=[],G=[];for(let J of W){if(Q?.skip?.(J.name,J.source)){H.push(J.name);continue}if(J.action==="update"&&$9(J.source)&&!await y9(J.source.path)){I(`[reconcile] '${J.name}' declared path does not exist; keeping materialized entry`),H.push(J.name);continue}G.push(J)}if(G.length===0)return{installed:[],updated:[],failed:[],upToDate:V.upToDate,skipped:H};I(`[reconcile] ${G.length} marketplace(s): ${G.map((J)=>`${J.name}(${J.action})`).join(", ")}`);let K=[],B=[],z=[];for(let J=0;J<G.length;J++){let{name:L,source:_,action:w}=G[J];Q?.onProgress?.({type:"installing",name:L,action:w,index:J+1,total:G.length});try{let v=await M9(_);if(w==="install")K.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:v.alreadyMaterialized})}catch(v){let P=w9(v);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(v)}}return{installed:K,updated:B,failed:z,upToDate:V.upToDate,skipped:H}}function b9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!s6(Q.path)){let X=Z??W0(),V=E9(X);return{...Q,path:t6(V??X,Q.path)}}return Q}
|
|
24
|
-
export{HV as da,N6 as ea,OV as fa,e9 as ga,S0 as ha,VQ as ia,WQ as ja,KQ as ka,wV as la,iV as ma,gZ as na,jZ as oa,QY as pa,oQ as qa,Z6 as ra,e6 as sa,IW as ta,M6 as ua,b6 as va,I6 as wa,g6 as xa,d6 as ya,l6 as za};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{zra as B}from"./cli-1.0.5-73mr16hn.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
|
|
2
|
-
export{F as Si,C as Ti};
|