@opencode/core 0.0.0-dev-442 → 0.0.0-dev-445
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/account/sql.js +1 -1
- package/dist/agent.js +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +240 -240
- package/dist/bus.js +84 -84
- package/dist/chunks/{repository-cache-034tev2y.js → tool-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-zqbv3gar.js → tool-04hrbnke.js} +22 -22
- package/dist/chunks/{repository-cache-cawz4cxe.js → tool-058p9g98.js} +19 -19
- package/dist/chunks/{repository-cache-0j7gp832.js → tool-0j7gp832.js} +1 -1
- package/dist/chunks/{repository-cache-4pw98qd4.js → tool-0m9q59s6.js} +4 -4
- package/dist/chunks/{repository-cache-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
- package/dist/chunks/{repository-cache-4dg124c5.js → tool-0nde5ztd.js} +5 -5
- package/dist/chunks/{repository-cache-yav33qdh.js → tool-0qzsd7h4.js} +14 -14
- package/dist/chunks/{repository-cache-3g08hg2f.js → tool-0r9rxd8b.js} +25 -25
- package/dist/chunks/{repository-cache-prdpr5kc.js → tool-0ybp4qnq.js} +12 -12
- package/dist/chunks/{repository-cache-hy8c1z76.js → tool-160yv0cs.js} +8 -8
- package/dist/chunks/{repository-cache-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-cache-mvb2pkyv.js → tool-1e5yc0yj.js} +11 -11
- package/dist/chunks/{repository-cache-1ep2p91f.js → tool-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-xh3hzwmr.js → tool-1q4j3vt9.js} +20 -20
- package/dist/chunks/{repository-cache-3fsaky9c.js → tool-1scpnkam.js} +12 -12
- package/dist/chunks/{repository-cache-cxz2fhw5.js → tool-1vcr586d.js} +10 -10
- package/dist/chunks/{repository-cache-zz1fbq3g.js → tool-1wyzen4g.js} +48 -48
- package/dist/chunks/{repository-cache-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-k7j4356s.js → tool-1yrt9mfc.js} +6 -6
- package/dist/chunks/{repository-cache-qxga34ac.js → tool-1z80j9s6.js} +24 -24
- package/dist/chunks/{repository-cache-vpwbrwqk.js → tool-290jyxrn.js} +39 -39
- package/dist/chunks/{repository-cache-52gwzjjv.js → tool-29smdr3c.js} +21 -21
- package/dist/chunks/{repository-cache-68hqcxr6.js → tool-2b08w8wg.js} +15 -15
- package/dist/chunks/{repository-cache-0gyzmnp3.js → tool-2b7p4jrd.js} +5 -5
- package/dist/chunks/{repository-cache-0hgar71m.js → tool-2j56ds13.js} +18 -18
- package/dist/chunks/{repository-cache-xmx7xj34.js → tool-2kj7f5bg.js} +7 -7
- package/dist/chunks/{repository-cache-zez9874q.js → tool-2m3wp1kk.js} +5 -5
- package/dist/chunks/{repository-cache-ad21tgm2.js → tool-2p60zmnr.js} +4 -4
- package/dist/chunks/tool-2t0varmf.js +26 -0
- package/dist/chunks/{repository-cache-vwj0z6sg.js → tool-2y7n45nv.js} +20 -20
- package/dist/chunks/{repository-cache-nbvtxs6e.js → tool-37hg9b8g.js} +59 -59
- package/dist/chunks/{repository-cache-0x0dw6ca.js → tool-3etgmwdh.js} +18 -18
- package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-jh6r09h5.js → tool-3n0w1hcj.js} +8 -8
- package/dist/chunks/{repository-cache-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-bbn0gsv3.js → tool-3scsgznq.js} +26 -26
- package/dist/chunks/{repository-cache-e049sp69.js → tool-3smz2ab8.js} +32 -32
- package/dist/chunks/{repository-cache-vb8z5b0v.js → tool-3wz7pzfc.js} +6 -6
- package/dist/chunks/{repository-cache-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
- package/dist/chunks/tool-447e52ps.js +555 -0
- package/dist/chunks/{repository-cache-twhtcdx9.js → tool-44pmzq9c.js} +4 -4
- package/dist/chunks/{repository-cache-qk4mrd8m.js → tool-4cdp6f63.js} +4 -4
- package/dist/chunks/{repository-cache-hjab8tmw.js → tool-4dtk0t2m.js} +13 -13
- package/dist/chunks/{repository-cache-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-cache-4f25tdd0.js → tool-4f25tdd0.js} +1 -1
- package/dist/chunks/{repository-cache-7rrfv9s3.js → tool-4jd043gh.js} +15 -15
- package/dist/chunks/{repository-cache-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-cache-wtr3736h.js → tool-4smfr4z1.js} +17 -17
- package/dist/chunks/{repository-cache-4v008n1t.js → tool-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-qt2z3a0z.js → tool-4wsaayw1.js} +7 -7
- package/dist/chunks/{repository-cache-2jf9w73g.js → tool-4z3kjcpx.js} +12 -12
- package/dist/chunks/{repository-cache-h060p2hk.js → tool-52nze26m.js} +46 -46
- package/dist/chunks/{repository-cache-9y98b3v5.js → tool-53qxhngr.js} +4 -4
- package/dist/chunks/{repository-cache-xy38xmvm.js → tool-555cqe3y.js} +9 -9
- package/dist/chunks/{repository-cache-rx1f5s7v.js → tool-57fs3qve.js} +31 -31
- package/dist/chunks/{repository-cache-3dempbt2.js → tool-5j89vnby.js} +8 -8
- package/dist/chunks/{repository-cache-c3drhxjj.js → tool-5kexb1yv.js} +60 -60
- package/dist/chunks/{repository-cache-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-3s9d6j15.js → tool-5nzp4atq.js} +12 -12
- package/dist/chunks/{repository-cache-zcnch7vt.js → tool-62b0mtf4.js} +11 -11
- package/dist/chunks/{repository-cache-jkjd442p.js → tool-65531gnt.js} +18 -18
- package/dist/chunks/{repository-cache-67xca3db.js → tool-67xca3db.js} +3 -3
- package/dist/chunks/{repository-cache-q4m8323c.js → tool-68yz8wc5.js} +3 -3
- package/dist/chunks/{repository-cache-mavfbhde.js → tool-6cda7skz.js} +1 -1
- package/dist/chunks/{repository-cache-est5w5t7.js → tool-6d0d1q6g.js} +4 -4
- package/dist/chunks/{repository-cache-wwy9zr36.js → tool-6m7kkc6m.js} +12 -12
- package/dist/chunks/{repository-cache-2c6sxtb9.js → tool-6sg7v011.js} +2 -2
- package/dist/chunks/{repository-cache-9987b4hv.js → tool-6t99sjh8.js} +31 -31
- package/dist/chunks/{repository-cache-rwf8drt1.js → tool-6xvz3m61.js} +19 -19
- package/dist/chunks/{repository-cache-96137s5q.js → tool-6ybchgnd.js} +3 -3
- package/dist/chunks/{repository-cache-289tt5w7.js → tool-737qxf4j.js} +10 -10
- package/dist/chunks/{repository-cache-s42kcc5g.js → tool-73aa81yw.js} +15 -15
- package/dist/chunks/{repository-cache-pfv09rma.js → tool-78xkbf55.js} +15 -15
- package/dist/chunks/{repository-cache-4rx7jpwk.js → tool-79sfw1xt.js} +22 -22
- package/dist/chunks/{repository-cache-sr4yt9k3.js → tool-7bfv676c.js} +91 -91
- package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-1sg5dvqw.js → tool-7cs3xdpe.js} +5 -5
- package/dist/chunks/{repository-cache-z75nd8wb.js → tool-7gba69t1.js} +10 -10
- package/dist/chunks/{repository-cache-jm6whcwz.js → tool-7hk62ckt.js} +35 -35
- package/dist/chunks/{repository-cache-7kr66rt3.js → tool-7kr66rt3.js} +1 -1
- package/dist/chunks/{repository-cache-1ap8nk4y.js → tool-7mv4edyq.js} +27 -27
- package/dist/chunks/{repository-cache-0j3vgrzm.js → tool-7n98e5dz.js} +3 -3
- package/dist/chunks/{repository-cache-7amawddc.js → tool-7t3apcn0.js} +12 -12
- package/dist/chunks/{repository-cache-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-7weczvnd.js → tool-7weczvnd.js} +1 -1
- package/dist/chunks/{repository-cache-3e73c9p6.js → tool-7wx6r3ca.js} +10 -10
- package/dist/chunks/{repository-cache-ydwj82v4.js → tool-7zev22rg.js} +1 -1
- package/dist/chunks/{repository-cache-775hqbnd.js → tool-80mg3ag8.js} +3 -3
- package/dist/chunks/{repository-cache-pjexw8hq.js → tool-825z9ch3.js} +13 -13
- package/dist/chunks/{repository-cache-pd4m7bts.js → tool-832bdyzy.js} +11 -11
- package/dist/chunks/{repository-cache-8azmfwdk.js → tool-83qakqap.js} +35 -35
- package/dist/chunks/{repository-cache-89287pr7.js → tool-89287pr7.js} +1 -1
- package/dist/chunks/{repository-cache-8b3vzgkx.js → tool-8b3vzgkx.js} +1 -1
- package/dist/chunks/{repository-cache-b2armg7w.js → tool-8cg7mtm3.js} +4 -4
- package/dist/chunks/{repository-cache-p9j2z5m0.js → tool-8dfptpqb.js} +4 -4
- package/dist/chunks/{repository-cache-pwpvfwx2.js → tool-8etydfns.js} +23 -23
- package/dist/chunks/{repository-cache-ega415az.js → tool-8hfqzg5m.js} +9 -9
- package/dist/chunks/{repository-cache-a52zaz86.js → tool-8jkte0s5.js} +29 -29
- package/dist/chunks/{repository-cache-crfddmzc.js → tool-8n09hdvs.js} +8 -8
- package/dist/chunks/{repository-cache-rmv7fhs4.js → tool-8wjgamp7.js} +3 -3
- package/dist/chunks/{repository-cache-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-6cbzbqkd.js → tool-8zzaerw3.js} +11 -11
- package/dist/chunks/{repository-cache-90zstvax.js → tool-90zstvax.js} +1 -1
- package/dist/chunks/{repository-cache-94s5f2xb.js → tool-94s5f2xb.js} +1 -1
- package/dist/chunks/{repository-cache-a0fq0pbv.js → tool-963hk181.js} +9 -9
- package/dist/chunks/{repository-cache-ag06drps.js → tool-9e82rw41.js} +8 -8
- package/dist/chunks/{repository-cache-49rfwdh8.js → tool-9gf1atxf.js} +43 -43
- package/dist/chunks/{repository-cache-2p2ngww5.js → tool-9pfjt3e4.js} +14 -14
- package/dist/chunks/{repository-cache-rnsjpp0v.js → tool-9wy3h6q7.js} +15 -15
- package/dist/chunks/{repository-cache-fn5v6rn7.js → tool-9x0zyyhc.js} +56 -56
- package/dist/chunks/{repository-cache-pfwm222d.js → tool-a1qh0yc6.js} +21 -21
- package/dist/chunks/{repository-cache-4w17k448.js → tool-a237czk6.js} +9 -9
- package/dist/chunks/{repository-cache-q85rya1m.js → tool-a4ww6fpm.js} +6 -6
- package/dist/chunks/{repository-cache-7nqkf5r1.js → tool-a5fx33f2.js} +6 -6
- package/dist/chunks/{repository-cache-wpfagg7q.js → tool-a784801j.js} +30 -30
- package/dist/chunks/{repository-cache-anaenpns.js → tool-amcjzf78.js} +17 -17
- package/dist/chunks/{repository-cache-ayjs7tqn.js → tool-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-d5rganww.js → tool-ayrp2r0n.js} +17 -17
- package/dist/chunks/{repository-cache-gbkhbwft.js → tool-b1wr2abc.js} +23 -23
- package/dist/chunks/{repository-cache-gkkfeabc.js → tool-b4st0wny.js} +49 -49
- package/dist/chunks/{repository-cache-v1evv7rr.js → tool-b64wsfyg.js} +8 -8
- package/dist/chunks/{repository-cache-5nnwax6m.js → tool-b6vsg801.js} +5 -5
- package/dist/chunks/{repository-cache-zewg1mz5.js → tool-b7tb94b1.js} +30 -29
- package/dist/chunks/{repository-cache-wjbv9knt.js → tool-bcqqg7ry.js} +11 -11
- package/dist/chunks/{repository-cache-cb6pr36r.js → tool-bgd4zz6g.js} +23 -23
- package/dist/chunks/{repository-cache-bhfd478d.js → tool-bhfd478d.js} +1 -1
- package/dist/chunks/{repository-cache-1xj78a1d.js → tool-bs9sdagx.js} +40 -40
- package/dist/chunks/{repository-cache-jqsw4n81.js → tool-bsek2bbw.js} +5 -5
- package/dist/chunks/{repository-cache-82q75xp6.js → tool-bsfkzme1.js} +9 -9
- package/dist/chunks/{repository-cache-bstexjd6.js → tool-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-89hwzfe6.js → tool-c291rzpy.js} +23 -23
- package/dist/chunks/{repository-cache-6x9fp5f4.js → tool-c32zfq3f.js} +8 -8
- package/dist/chunks/{repository-cache-35edbg34.js → tool-cbs4h58g.js} +31 -31
- package/dist/chunks/{repository-cache-0mfja933.js → tool-ckykdpc8.js} +58 -58
- package/dist/chunks/{repository-cache-xq55bs10.js → tool-cr2zpvyx.js} +82 -82
- package/dist/chunks/{repository-cache-0bx5gdyx.js → tool-cv5az1t0.js} +21 -21
- package/dist/chunks/{repository-cache-xkgrgrva.js → tool-cvtbhvpz.js} +45 -45
- package/dist/chunks/{repository-cache-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-cache-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-e1bmcdag.js → tool-d80yaymc.js} +4 -4
- package/dist/chunks/{repository-cache-ybvsasn0.js → tool-db7wnpf4.js} +18 -18
- package/dist/chunks/{repository-cache-dgvyj81v.js → tool-dbfaamx1.js} +23 -23
- package/dist/chunks/{repository-cache-7stb81gk.js → tool-dbht28n9.js} +10 -13
- package/dist/chunks/{repository-cache-gtwncx8g.js → tool-dbvhy92c.js} +29 -29
- package/dist/chunks/{repository-cache-f59g66b7.js → tool-dcwp1qph.js} +28 -28
- package/dist/chunks/{repository-cache-q42sg809.js → tool-dkwky0e9.js} +1 -1
- package/dist/chunks/{repository-cache-qtwp1x96.js → tool-ds7k7p4f.js} +53 -53
- package/dist/chunks/{repository-cache-dt77769w.js → tool-dt77769w.js} +1 -1
- package/dist/chunks/{repository-cache-dv96216k.js → tool-dxsywhez.js} +6 -5
- package/dist/chunks/{repository-cache-bz6hdee9.js → tool-e354rcns.js} +12 -12
- package/dist/chunks/{repository-cache-epxy24xv.js → tool-e6dhz8k8.js} +2 -2
- package/dist/chunks/{repository-cache-e834z07m.js → tool-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-e5jpawtk.js → tool-eavck919.js} +6 -6
- package/dist/chunks/{repository-cache-dqhrmf7j.js → tool-ejk6sxm0.js} +13 -13
- package/dist/chunks/{repository-cache-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-cache-5ajs5fv3.js → tool-erqa4ym4.js} +17 -17
- package/dist/chunks/{repository-cache-w3r8pvyd.js → tool-eyjfkt33.js} +22 -22
- package/dist/chunks/tool-ezna1kdx.js +18 -0
- package/dist/chunks/{repository-cache-49fetqk2.js → tool-fb609nat.js} +31 -31
- package/dist/chunks/{repository-cache-vt801hez.js → tool-fbywdd3x.js} +18 -18
- package/dist/chunks/{repository-cache-fg0mp2nh.js → tool-fdjq7h4v.js} +9 -9
- package/dist/chunks/{repository-cache-n4de5rt9.js → tool-ff0yba6y.js} +12 -12
- package/dist/chunks/{repository-cache-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-e2pvbaw5.js → tool-ffmpd7vv.js} +5 -5
- package/dist/chunks/{repository-cache-fg9p65nk.js → tool-fg9p65nk.js} +2 -2
- package/dist/chunks/{repository-cache-jvkzgxpb.js → tool-fmrn1hft.js} +5 -5
- package/dist/chunks/{repository-cache-vsnnaxjq.js → tool-fwp9mfc9.js} +4 -4
- package/dist/chunks/{repository-cache-ax1ejevv.js → tool-g1j6mga3.js} +26 -26
- package/dist/chunks/{repository-cache-x3h2bqkh.js → tool-g2b8th34.js} +26 -26
- package/dist/chunks/{repository-cache-6f6jm3cp.js → tool-g6axq7c8.js} +8 -8
- package/dist/chunks/{repository-cache-jmg7y0j6.js → tool-g8088phe.js} +11 -11
- package/dist/chunks/{repository-cache-vn5mpp1y.js → tool-g8v7jdav.js} +4 -4
- package/dist/chunks/{repository-cache-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-cache-11zs7ceg.js → tool-gp2v4fwm.js} +50 -50
- package/dist/chunks/{repository-cache-vk84a1qz.js → tool-gt5pd5rr.js} +12 -12
- package/dist/chunks/{repository-cache-9010571t.js → tool-h0sr4r5j.js} +9 -9
- package/dist/chunks/{repository-cache-pzqn12hg.js → tool-h34azzt3.js} +17 -17
- package/dist/chunks/{repository-cache-yrsk760m.js → tool-h4ydtgpm.js} +32 -32
- package/dist/chunks/{repository-cache-mwh0kypr.js → tool-h6p8j4j4.js} +27 -27
- package/dist/chunks/{repository-cache-031xjkpy.js → tool-h7ggae4k.js} +7 -7
- package/dist/chunks/{repository-cache-n83rrxve.js → tool-hdssvm4n.js} +11 -11
- package/dist/chunks/{repository-cache-pzx81v4b.js → tool-hhfn9b2w.js} +14 -14
- package/dist/chunks/{repository-cache-hpg1pkwy.js → tool-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-cache-tp6jxtjv.js → tool-htk595z3.js} +22 -22
- package/dist/chunks/{repository-cache-1atc1ew8.js → tool-jpb17t0e.js} +32 -32
- package/dist/chunks/{repository-cache-jtnps1zs.js → tool-jtnps1zs.js} +2 -2
- package/dist/chunks/{repository-cache-g8tbqp6f.js → tool-jzx7em37.js} +22 -22
- package/dist/chunks/{repository-cache-zqbe7jzz.js → tool-k0epm85s.js} +7 -7
- package/dist/chunks/{repository-cache-9mm8k45w.js → tool-k3mdht1r.js} +16 -16
- package/dist/chunks/{repository-cache-cf3f13z6.js → tool-k5027ak4.js} +8 -8
- package/dist/chunks/{repository-cache-2gw5j43h.js → tool-kenm8tf1.js} +7 -7
- package/dist/chunks/{repository-cache-6wjqvx4f.js → tool-kfs9y5dj.js} +15 -15
- package/dist/chunks/{repository-cache-kt3bjfbg.js → tool-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-cache-ke9ajvg5.js → tool-kynaxm5r.js} +81 -81
- package/dist/chunks/{repository-cache-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-cache-m1714858.js → tool-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-5wzzagzn.js → tool-m45z9njj.js} +43 -43
- package/dist/chunks/{repository-cache-c3ce7cxf.js → tool-m4h69yn9.js} +6 -6
- package/dist/chunks/{repository-cache-vgt9qsck.js → tool-m58h2mss.js} +26 -26
- package/dist/chunks/{repository-cache-8nf6shhp.js → tool-m5db3969.js} +8 -8
- package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-mb7mbhnz.js → tool-mb7mbhnz.js} +3 -3
- package/dist/chunks/{repository-cache-fttgx5bx.js → tool-mfmx1eew.js} +1 -1
- package/dist/chunks/{repository-cache-bcwyzmh3.js → tool-mn5c993e.js} +11 -11
- package/dist/chunks/{repository-cache-4tnarq1t.js → tool-msd2a3qm.js} +6 -6
- package/dist/chunks/{repository-cache-xyxz2bdy.js → tool-mtbbaj7x.js} +3 -3
- package/dist/chunks/{repository-cache-3xwqryxq.js → tool-mxqsamga.js} +23 -23
- package/dist/chunks/{repository-cache-bjnwfd5d.js → tool-n0jb8c2e.js} +43 -43
- package/dist/chunks/{repository-cache-xhtv64v8.js → tool-n6dz78md.js} +6 -6
- package/dist/chunks/{repository-cache-pefks0an.js → tool-n9y93s8c.js} +11 -11
- package/dist/chunks/{repository-cache-a5e3yv5v.js → tool-nn1wv3tr.js} +32 -32
- package/dist/chunks/{repository-cache-kj9n5bvh.js → tool-nr915jn7.js} +4 -4
- package/dist/chunks/{repository-cache-hsnq1va6.js → tool-p55ejza0.js} +5 -5
- package/dist/chunks/{repository-cache-1yq9hg58.js → tool-p7vhpwh8.js} +5 -5
- package/dist/chunks/{repository-cache-hdcneay5.js → tool-pdjdgfy6.js} +36 -36
- package/dist/chunks/{repository-cache-sm3wp3c9.js → tool-pe5efk4e.js} +24 -24
- package/dist/chunks/{repository-cache-v5bt1qpq.js → tool-pehkm274.js} +17 -17
- package/dist/chunks/{repository-cache-fxq8aqd2.js → tool-pgdk3wa7.js} +8 -8
- package/dist/chunks/{repository-cache-rz8thg42.js → tool-pjgv8mag.js} +14 -14
- package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-hnqwc8w0.js → tool-pqg96c18.js} +48 -48
- package/dist/chunks/{repository-cache-zqjd7nbm.js → tool-psae579h.js} +6 -6
- package/dist/chunks/{repository-cache-fhczekzs.js → tool-q23ydmn6.js} +21 -21
- package/dist/chunks/{repository-cache-2sqajb4m.js → tool-q5kjt1w2.js} +45 -45
- package/dist/chunks/{repository-cache-xbnjv5gq.js → tool-q8f5p1vv.js} +20 -20
- package/dist/chunks/{repository-cache-602q2zhr.js → tool-q9v326zp.js} +7 -7
- package/dist/chunks/{repository-cache-j3qkssg1.js → tool-qbcc8k40.js} +27 -27
- package/dist/chunks/{repository-cache-x9v0acas.js → tool-qgv65c24.js} +14 -14
- package/dist/chunks/{repository-cache-awzfe97c.js → tool-qhnnvwnt.js} +5 -5
- package/dist/chunks/{repository-cache-c32j6rj9.js → tool-qj97zj8m.js} +11 -11
- package/dist/chunks/{repository-cache-qk5sk9d1.js → tool-qk5sk9d1.js} +2 -2
- package/dist/chunks/{repository-cache-b9tgh6dx.js → tool-qmre421v.js} +43 -43
- package/dist/chunks/{repository-cache-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-cache-qqvy8y24.js → tool-qqvy8y24.js} +1 -1
- package/dist/chunks/{repository-cache-eyx805n4.js → tool-qrct5xj0.js} +5 -5
- package/dist/chunks/{repository-cache-qsdghx1p.js → tool-qsdghx1p.js} +1 -1
- package/dist/chunks/{repository-cache-8et7qpna.js → tool-r0dnx8s7.js} +9 -9
- package/dist/chunks/{repository-cache-w2eysc6j.js → tool-r41sfy63.js} +6 -6
- package/dist/chunks/{repository-cache-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-be5kz4xp.js → tool-rbt3gx7m.js} +27 -27
- package/dist/chunks/{repository-cache-qz95d27t.js → tool-rc7cmy01.js} +9 -9
- package/dist/chunks/{repository-cache-e32ybkv4.js → tool-re139r5f.js} +24 -24
- package/dist/chunks/{repository-cache-men5760m.js → tool-rhtjkvex.js} +6 -6
- package/dist/chunks/{repository-cache-px7qpgcn.js → tool-rj7j5fvs.js} +4 -4
- package/dist/chunks/tool-rks6qm78.js +261 -0
- package/dist/chunks/{repository-cache-t31x65z6.js → tool-rn9y9nwd.js} +28 -28
- package/dist/chunks/{repository-cache-6qk1bgz2.js → tool-rsb624gb.js} +11 -11
- package/dist/chunks/{repository-cache-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-12fg3f5q.js → tool-s780xm4q.js} +11 -11
- package/dist/chunks/{repository-cache-zdnc43b0.js → tool-s79dcpfj.js} +31 -31
- package/dist/chunks/{repository-cache-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-cache-sbya78hr.js → tool-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-cache-sbz71ybr.js → tool-sbz71ybr.js} +1 -1
- package/dist/chunks/{repository-cache-ghs03ebf.js → tool-sg3kcgds.js} +31 -31
- package/dist/chunks/{repository-cache-nt907s04.js → tool-sv909n4y.js} +3 -3
- package/dist/chunks/{repository-cache-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-cache-21evxy92.js → tool-sxbmj56q.js} +9 -9
- package/dist/chunks/{repository-cache-n4z1q12f.js → tool-szwm4crx.js} +7 -7
- package/dist/chunks/{repository-cache-eccy49gq.js → tool-t5fyb1pe.js} +19 -19
- package/dist/chunks/{repository-cache-mza2f58d.js → tool-t7ymes5c.js} +27 -27
- package/dist/chunks/{repository-cache-a8vh61nm.js → tool-t885gawg.js} +3 -3
- package/dist/chunks/{repository-cache-78p2h4ex.js → tool-t8erkws8.js} +5 -5
- package/dist/chunks/{repository-cache-msw5c1mm.js → tool-t8ndxv1j.js} +15 -15
- package/dist/chunks/{repository-cache-tb2mrvc9.js → tool-tb2mrvc9.js} +1 -1
- package/dist/chunks/{repository-cache-p7xbj0p1.js → tool-tbw8x9kh.js} +37 -37
- package/dist/chunks/{repository-cache-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-t4r86xne.js → tool-te79g26x.js} +16 -16
- package/dist/chunks/{repository-cache-tg7s7b5t.js → tool-tg7s7b5t.js} +1 -1
- package/dist/chunks/{repository-cache-cx61cqrc.js → tool-tkq69f88.js} +9 -9
- package/dist/chunks/{repository-cache-h4681ke1.js → tool-tp9ny8ts.js} +17 -17
- package/dist/chunks/{repository-cache-jht64jd1.js → tool-tr8x705m.js} +4 -4
- package/dist/chunks/{repository-cache-ekyq4vzh.js → tool-tv3k6abg.js} +25 -25
- package/dist/chunks/{repository-cache-twssxy5n.js → tool-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cache-w79nt68w.js → tool-v0t96s7a.js} +4 -4
- package/dist/chunks/{repository-cache-7vgs2abw.js → tool-v15137jy.js} +19 -19
- package/dist/chunks/{repository-cache-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-3beq3wdw.js → tool-v37bc009.js} +3 -3
- package/dist/chunks/{repository-cache-qf05fjbm.js → tool-v4ecg2k6.js} +9 -9
- package/dist/chunks/{repository-cache-rbsynrdk.js → tool-v7cge4gd.js} +12 -12
- package/dist/chunks/{repository-cache-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-cache-pc7cxy0a.js → tool-vkh42pcj.js} +21 -21
- package/dist/chunks/{repository-cache-vrcsa8qx.js → tool-vrcsa8qx.js} +2 -2
- package/dist/chunks/{repository-cache-vt4r9rmy.js → tool-vt4r9rmy.js} +2 -2
- package/dist/chunks/{repository-cache-58jqnd8c.js → tool-vv55e3d6.js} +10 -10
- package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-hv10taw4.js → tool-w5v2pv5a.js} +6 -6
- package/dist/chunks/{repository-cache-76cb1hcw.js → tool-w8qtt4th.js} +4 -4
- package/dist/chunks/{repository-cache-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-wegkxhrn.js → tool-wegkxhrn.js} +2 -2
- package/dist/chunks/{repository-cache-zernnfch.js → tool-wfd7zevv.js} +15 -15
- package/dist/chunks/{repository-cache-8t99kr38.js → tool-wfs84ra6.js} +4 -4
- package/dist/chunks/{repository-cache-qsv15wez.js → tool-wgbdfxvd.js} +2 -2
- package/dist/chunks/{repository-cache-0jk5z70p.js → tool-wjet1gt7.js} +21 -21
- package/dist/chunks/{repository-cache-ve6517wg.js → tool-wjmtt3sa.js} +12 -12
- package/dist/chunks/{repository-cache-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-cache-wr3re1en.js → tool-wr3re1en.js} +1 -1
- package/dist/chunks/{repository-cache-wvr8xscb.js → tool-wvr8xscb.js} +1 -1
- package/dist/chunks/{repository-cache-xk2zn0cv.js → tool-wws03c5r.js} +4 -4
- package/dist/chunks/{repository-cache-jfphy7h7.js → tool-x7z34gyb.js} +15 -15
- package/dist/chunks/{repository-cache-m15ha2ry.js → tool-xbc6qp68.js} +6 -6
- package/dist/chunks/{repository-cache-n5aej1f0.js → tool-xct3fz6j.js} +25 -25
- package/dist/chunks/{repository-cache-mfp0246b.js → tool-xhhsv7mw.js} +16 -16
- package/dist/chunks/{repository-cache-0fn91hv4.js → tool-xkgdstsx.js} +17 -17
- package/dist/chunks/{repository-cache-8xz27cp9.js → tool-xksw6ev0.js} +4 -4
- package/dist/chunks/{repository-cache-g1kn1j67.js → tool-xy2adanr.js} +11 -11
- package/dist/chunks/{repository-cache-kwzdg89x.js → tool-xywpwjrw.js} +20 -20
- package/dist/chunks/{repository-cache-4fhmhmr6.js → tool-y5dj6wdq.js} +35 -35
- package/dist/chunks/{repository-cache-175211nj.js → tool-y6vvtwtt.js} +25 -25
- package/dist/chunks/{repository-cache-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-6x15x9ww.js → tool-yh6977xb.js} +5 -5
- package/dist/chunks/{repository-cache-9ha9v93m.js → tool-yn59mty3.js} +21 -21
- package/dist/chunks/{repository-cache-ad76pa0e.js → tool-yp73enjn.js} +5 -5
- package/dist/chunks/{repository-cache-t3zzabwd.js → tool-ypsgcf07.js} +33 -33
- package/dist/chunks/{repository-cache-yr705xyq.js → tool-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-cache-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
- package/dist/chunks/{repository-cache-gyg1jafw.js → tool-ywh3xphk.js} +4 -4
- package/dist/chunks/{repository-cache-paq6k2z6.js → tool-yx0pjcef.js} +35 -35
- package/dist/chunks/{repository-cache-nwadgmv1.js → tool-z075a5s0.js} +34 -34
- package/dist/chunks/{repository-cache-90ct6wq4.js → tool-z080rjh6.js} +4 -4
- package/dist/chunks/{repository-cache-1pk9kqsa.js → tool-z4jb0rsa.js} +16 -16
- package/dist/chunks/{repository-cache-22hcmjv3.js → tool-z5rxwr3j.js} +5 -5
- package/dist/chunks/{repository-cache-jd51mnhp.js → tool-z88rdk3t.js} +9 -9
- package/dist/chunks/{repository-cache-nzd0ryw2.js → tool-zb6s5z6p.js} +12 -12
- package/dist/chunks/{repository-cache-nbc9912s.js → tool-zc0xxg4w.js} +21 -21
- package/dist/chunks/{repository-cache-p8x08v0y.js → tool-zcacabc5.js} +31 -31
- package/dist/chunks/{repository-cache-j9nxzz3g.js → tool-ze75qvmd.js} +3 -3
- package/dist/chunks/{repository-cache-3dbnmnyb.js → tool-zf1j68yb.js} +204 -204
- package/dist/chunks/{repository-cache-zm27gg57.js → tool-zm27gg57.js} +2 -2
- package/dist/chunks/{repository-cache-zzht5m2h.js → tool-zp1akbf2.js} +29 -29
- package/dist/chunks/{repository-cache-3hns5yw3.js → tool-zr0ks51n.js} +38 -38
- package/dist/chunks/{repository-cache-hfksw2yx.js → tool-zzm7r7mg.js} +9 -9
- package/dist/chunks/{repository-cache-4x5tmy1n.js → tool-zztbgrz9.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +239 -239
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +106 -106
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +130 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +137 -137
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +137 -137
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +137 -137
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +241 -241
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +231 -231
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +162 -162
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +163 -163
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +153 -153
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +162 -162
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/instructions/index.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/repository-cache-awcrk201.js +0 -261
- package/dist/chunks/repository-cache-f8ma18fn.js +0 -18
- package/dist/chunks/repository-cache-h2qmm28k.js +0 -555
- package/dist/chunks/repository-cache-yk088mje.js +0 -26
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kah00gy.js → tool-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-cache-1pevy3nx.js → tool-1pevy3nx.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-cache-6agm2x70.js → tool-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-beh6qq61.js → tool-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-syrav9an.js → tool-syrav9an.js} +0 -0
- /package/dist/chunks/{repository-cache-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-cache-ty7weeps.js → tool-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-vtarvj67.js → tool-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-qj97zj8m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service89
|
|
6
|
+
} from "./tool-ff0yba6y.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./tool-57fs3qve.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID18,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-s79dcpfj.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID17,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-fb609nat.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-1yrt9mfc.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID18.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID18.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -165,10 +165,10 @@ var headless = (app) => ({
|
|
|
165
165
|
}),
|
|
166
166
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
167
167
|
});
|
|
168
|
-
var
|
|
168
|
+
var OpenAIPlugin3 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const bus = yield*
|
|
171
|
+
const bus = yield* Service89;
|
|
172
172
|
const loading = Semaphore.makeUnsafe(1);
|
|
173
173
|
let chatgpt;
|
|
174
174
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -185,9 +185,9 @@ var OpenAIPlugin2 = define({
|
|
|
185
185
|
editor.method.update(headless(ctx.app));
|
|
186
186
|
});
|
|
187
187
|
yield* load();
|
|
188
|
-
const configured = yield* configuredSettings2(
|
|
188
|
+
const configured = yield* configuredSettings2(ID17.openai);
|
|
189
189
|
yield* ctx.provider.transform((providers) => {
|
|
190
|
-
const item = providers.get(
|
|
190
|
+
const item = providers.get(ID17.openai);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -207,7 +207,7 @@ var OpenAIPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
for (const model of models.list(
|
|
210
|
+
for (const model of models.list(ID17.openai)) {
|
|
211
211
|
models.update(model.providerID, model.id, (draft) => {
|
|
212
212
|
if (!chatgpt)
|
|
213
213
|
return;
|
|
@@ -244,14 +244,14 @@ var OpenAIPlugin2 = define({
|
|
|
244
244
|
}));
|
|
245
245
|
evt.headers.originator = "opencode";
|
|
246
246
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
247
|
-
}), { providerID:
|
|
247
|
+
}), { providerID: ID17.openai });
|
|
248
248
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
249
249
|
delete evt.options.maxTokens;
|
|
250
250
|
});
|
|
251
251
|
for (const name of ["context", "compaction"])
|
|
252
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
252
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
|
|
253
253
|
const refresh = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
|
|
254
|
-
yield* bus.subscribe(
|
|
254
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
255
255
|
})
|
|
256
256
|
});
|
|
257
257
|
function headers(contentType, app) {
|
|
@@ -342,4 +342,4 @@ function claim(token) {
|
|
|
342
342
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
-
export {
|
|
345
|
+
export { OpenAIPlugin3 };
|
|
@@ -2,20 +2,17 @@
|
|
|
2
2
|
import { emptyInputJsonSchema } from "@opencode/ai/effect";
|
|
3
3
|
import { isRecord } from "@opencode/util/record";
|
|
4
4
|
import { Tool } from "@opencode/schema/tool";
|
|
5
|
-
import {
|
|
5
|
+
import { Effect, JsonPointer, JsonSchema, Result, Schema, SchemaIssue, SchemaRepresentation } from "effect";
|
|
6
6
|
import { $ZodType, toJSONSchema } from "zod/v4/core";
|
|
7
7
|
var formatEffectIssues = SchemaIssue.makeFormatterStandardSchemaV1();
|
|
8
|
-
var jsonSchemas =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return;
|
|
17
|
-
}))
|
|
18
|
-
}));
|
|
8
|
+
var jsonSchemas = new WeakMap;
|
|
9
|
+
var codecFor = (schema) => {
|
|
10
|
+
if (jsonSchemas.has(schema))
|
|
11
|
+
return jsonSchemas.get(schema);
|
|
12
|
+
const codec = Result.try(() => jsonSchema(schema)).pipe(Result.getOrUndefined);
|
|
13
|
+
jsonSchemas.set(schema, codec);
|
|
14
|
+
return codec;
|
|
15
|
+
};
|
|
19
16
|
var definition2 = (tool) => ({
|
|
20
17
|
type: "tool",
|
|
21
18
|
name: effectiveName2(tool),
|
|
@@ -56,7 +53,7 @@ var validateInput = (schema, value) => {
|
|
|
56
53
|
if (isStandardSchema(schema))
|
|
57
54
|
return validateStandard(schema, value);
|
|
58
55
|
return Effect.gen(function* () {
|
|
59
|
-
const codec = Schema.isSchema(schema) ? schema :
|
|
56
|
+
const codec = Schema.isSchema(schema) ? schema : codecFor(schema);
|
|
60
57
|
if (codec === undefined)
|
|
61
58
|
return { value };
|
|
62
59
|
return yield* Schema.decodeUnknownEffect(codec)(value, { errors: "all" }).pipe(Effect.match({
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
match3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-1aqsckx4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service66,
|
|
9
|
+
node67
|
|
10
|
+
} from "./tool-k5027ak4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service62,
|
|
13
|
+
node63
|
|
14
|
+
} from "./tool-1wyzen4g.js";
|
|
15
15
|
import {
|
|
16
16
|
definition2,
|
|
17
17
|
execute3,
|
|
18
18
|
normalizeContent2,
|
|
19
19
|
normalizedName2,
|
|
20
20
|
effectiveName2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-dbht28n9.js";
|
|
22
22
|
import {
|
|
23
23
|
create3,
|
|
24
24
|
catalog2,
|
|
25
25
|
check2,
|
|
26
26
|
qualifiedName2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-sxbmj56q.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service61,
|
|
30
|
+
node62
|
|
31
|
+
} from "./tool-bsfkzme1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool.ts
|
|
37
37
|
var exports_tool = {};
|
|
38
38
|
__export(exports_tool, {
|
|
39
39
|
CallID: () => CallID2,
|
|
40
|
-
Content: () =>
|
|
41
|
-
Error: () =>
|
|
40
|
+
Content: () => Content3,
|
|
41
|
+
Error: () => Error3,
|
|
42
42
|
FileContent: () => FileContent3,
|
|
43
43
|
RegistrationError: () => RegistrationError2,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service58,
|
|
45
45
|
TextContent: () => TextContent2,
|
|
46
46
|
Tool: () => exports_tool,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node60
|
|
48
48
|
});
|
|
49
|
-
import { CallID as CallID2, Content as
|
|
49
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
50
50
|
import { ToolDefinition } from "@opencode/ai/effect";
|
|
51
51
|
import { Tool } from "@opencode/schema/tool";
|
|
52
52
|
import { Context, Effect, Layer, Ref, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -57,12 +57,12 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service58 extends Context.Service()("@opencode/Tool") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const hooks = yield*
|
|
64
|
-
const image = yield*
|
|
65
|
-
const permission = yield*
|
|
62
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
63
|
+
const hooks = yield* Service66;
|
|
64
|
+
const image = yield* Service61;
|
|
65
|
+
const permission = yield* Service62;
|
|
66
66
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
67
67
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
68
68
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
205
205
|
}), { discard: true });
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
|
-
return
|
|
208
|
+
return Service58.of({
|
|
209
209
|
transform: state.transform,
|
|
210
210
|
reload: state.reload,
|
|
211
211
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -322,10 +322,10 @@ function namespaceError(name) {
|
|
|
322
322
|
return;
|
|
323
323
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
325
|
+
var node60 = makeLocationNode({
|
|
326
|
+
service: Service58,
|
|
327
327
|
layer,
|
|
328
|
-
deps: [
|
|
328
|
+
deps: [node67, node62, node63]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { RegistrationError2,
|
|
331
|
+
export { RegistrationError2, Service58, node60, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service65
|
|
4
|
+
} from "./tool-eyjfkt33.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service86
|
|
7
|
+
} from "./tool-tp9ny8ts.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service67
|
|
10
|
+
} from "./tool-ckykdpc8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service54,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-zc0xxg4w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./tool-7bfv676c.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./tool-058p9g98.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin52
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin52 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service67;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -52,12 +52,12 @@ var Plugin11 = define({
|
|
|
52
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
53
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
54
54
|
});
|
|
55
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service86;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
60
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service54;
|
|
58
|
+
const sessions = yield* Service26;
|
|
59
|
+
const agents = yield* Service65;
|
|
60
|
+
const subagents = yield* Service9;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
63
63
|
});
|
|
@@ -78,7 +78,7 @@ var Plugin11 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID13.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -204,4 +204,4 @@ var argumentRegex = /\$(?:ARGUMENTS|([1-9]\d*))/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin52, exports_command2 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service89,
|
|
6
|
+
node92
|
|
7
|
+
} from "./tool-ff0yba6y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service84,
|
|
11
|
+
node87
|
|
12
|
+
} from "./tool-57fs3qve.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service86,
|
|
15
|
+
node89
|
|
16
|
+
} from "./tool-tp9ny8ts.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node75
|
|
20
|
+
} from "./tool-1z80j9s6.js";
|
|
21
21
|
import {
|
|
22
22
|
ID20,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service85,
|
|
24
|
+
node88
|
|
25
|
+
} from "./tool-erqa4ym4.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID18,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service83,
|
|
34
|
+
node86
|
|
35
|
+
} from "./tool-s79dcpfj.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError6,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service39,
|
|
53
53
|
Status: () => Status3,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node42
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -85,7 +85,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
85
85
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
86
86
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
89
89
|
server: ServerName2
|
|
90
90
|
}) {
|
|
91
91
|
get message() {
|
|
@@ -118,21 +118,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
118
118
|
var endpointLoads = makeUnsafe2();
|
|
119
119
|
var cloneConfig = (config) => structuredClone(config);
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
122
122
|
}
|
|
123
|
-
var
|
|
123
|
+
var Options3 = Schema.Struct({
|
|
124
124
|
clientInfo: Schema.optional(Schema.Struct({
|
|
125
125
|
name: Schema.String,
|
|
126
126
|
version: Schema.String
|
|
127
127
|
}))
|
|
128
128
|
});
|
|
129
|
-
var
|
|
130
|
-
const location = yield*
|
|
131
|
-
const environment = yield*
|
|
132
|
-
const bus = yield*
|
|
133
|
-
const forms = yield*
|
|
134
|
-
const integration = yield*
|
|
135
|
-
const credentials = yield*
|
|
129
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
130
|
+
const location = yield* Service86;
|
|
131
|
+
const environment = yield* Service74;
|
|
132
|
+
const bus = yield* Service89;
|
|
133
|
+
const forms = yield* Service85;
|
|
134
|
+
const integration = yield* Service83;
|
|
135
|
+
const credentials = yield* Service84;
|
|
136
136
|
const root = yield* Effect.scope;
|
|
137
137
|
const fork = yield* FiberSet.makeRuntime();
|
|
138
138
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -148,7 +148,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
148
148
|
return;
|
|
149
149
|
const remote = entry.config;
|
|
150
150
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
151
|
-
const integrationID =
|
|
151
|
+
const integrationID = ID18.make(suffix);
|
|
152
152
|
entry.integrationID = integrationID;
|
|
153
153
|
owned.add(integrationID);
|
|
154
154
|
const methodID = MethodID2.make(suffix);
|
|
@@ -164,7 +164,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
164
164
|
method: { id: methodID, type: "oauth", label: name },
|
|
165
165
|
authorize: () => Effect.gen(function* () {
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service84, credentials));
|
|
168
168
|
})
|
|
169
169
|
});
|
|
170
170
|
}).pipe(Scope.provide(scope));
|
|
@@ -172,14 +172,14 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
172
172
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
173
173
|
const entry = entries.get(name);
|
|
174
174
|
if (!entry)
|
|
175
|
-
return yield* new
|
|
175
|
+
return yield* new NotFoundError6({ server: name });
|
|
176
176
|
return { name, entry };
|
|
177
177
|
});
|
|
178
178
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
179
179
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
180
180
|
return;
|
|
181
181
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
182
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
182
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service84, credentials));
|
|
183
183
|
});
|
|
184
184
|
const elicitation = {
|
|
185
185
|
create: (input) => Effect.gen(function* () {
|
|
@@ -289,7 +289,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
289
289
|
entry.scope = scope;
|
|
290
290
|
const authProvider = yield* connectProvider(entry);
|
|
291
291
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
292
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
292
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope));
|
|
293
293
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
294
294
|
if (Exit.isSuccess(result)) {
|
|
295
295
|
entry.client = result.value.connection;
|
|
@@ -395,7 +395,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
395
395
|
let closed = false;
|
|
396
396
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
397
397
|
closed = true;
|
|
398
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
398
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
399
399
|
const register = Effect.gen(function* () {
|
|
400
400
|
if (closed) {
|
|
401
401
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -476,7 +476,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
476
476
|
yield* startServer(name, entry);
|
|
477
477
|
}).pipe(locks.withLock(name));
|
|
478
478
|
});
|
|
479
|
-
fork(bus.subscribe(
|
|
479
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
480
480
|
const state = create4({
|
|
481
481
|
name: "mcp",
|
|
482
482
|
initial: () => ({
|
|
@@ -502,7 +502,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
502
502
|
}),
|
|
503
503
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
504
504
|
});
|
|
505
|
-
return
|
|
505
|
+
return Service39.of({
|
|
506
506
|
transform: state.transform,
|
|
507
507
|
reload: state.reload,
|
|
508
508
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -644,14 +644,14 @@ function mergeCatalogs(catalogs) {
|
|
|
644
644
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function configured3(options) {
|
|
648
648
|
return makeLocationNode({
|
|
649
|
-
service:
|
|
650
|
-
layer:
|
|
651
|
-
deps: [
|
|
649
|
+
service: Service39,
|
|
650
|
+
layer: layer16(options),
|
|
651
|
+
deps: [node89, node75, node92, node88, node86, node87]
|
|
652
652
|
});
|
|
653
653
|
}
|
|
654
|
-
var
|
|
654
|
+
var node42 = configured3();
|
|
655
655
|
function toElicitationField(key, property, required) {
|
|
656
656
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
657
657
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -702,4 +702,4 @@ function toElicitationField(key, property, required) {
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
705
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service39, Options3, layer16, configured3, node42, exports_mcp4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions7 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_instructions7, {
|
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
21
|
join: () => join2,
|
|
22
|
-
make: () =>
|
|
22
|
+
make: () => make29,
|
|
23
23
|
read: () => read4,
|
|
24
24
|
removed: () => removed2,
|
|
25
25
|
renderInitial: () => renderInitial2,
|
|
@@ -51,7 +51,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
var empty3 = [];
|
|
54
|
-
function
|
|
54
|
+
function make29(source) {
|
|
55
55
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
56
56
|
const encode = Schema.encodeSync(source.codec);
|
|
57
57
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -77,7 +77,8 @@ function make30(source) {
|
|
|
77
77
|
return;
|
|
78
78
|
if (before === undefined)
|
|
79
79
|
return initial(after);
|
|
80
|
-
|
|
80
|
+
const text = source.render.changed(before, after);
|
|
81
|
+
return text === undefined ? undefined : requireText(source.key, "changed", text);
|
|
81
82
|
},
|
|
82
83
|
removed: (previous) => {
|
|
83
84
|
const decoded = decodeValue(previous);
|
|
@@ -197,4 +198,4 @@ function requireText(key, kind, text) {
|
|
|
197
198
|
return text;
|
|
198
199
|
}
|
|
199
200
|
|
|
200
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
201
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make29, combine2, read4, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions7 };
|