@opencode/core 0.0.0-dev-20251 → 0.0.0-dev-20257
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-cache-g56bqvsh.js → tool-01mtfcwf.js} +44 -44
- package/dist/chunks/{repository-cache-t984fh1y.js → tool-034466pj.js} +33 -33
- package/dist/chunks/{repository-cache-m76ak856.js → tool-0egx9fcg.js} +12 -12
- package/dist/chunks/{repository-cache-hre11n8q.js → tool-0n945rvh.js} +9 -9
- package/dist/chunks/{repository-cache-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-vjjxy6yb.js → tool-0v0g5gxd.js} +9 -9
- package/dist/chunks/{repository-cache-mcyyrr5k.js → tool-0vx053wa.js} +23 -23
- package/dist/chunks/{repository-cache-676jamrs.js → tool-0x54nnzp.js} +12 -12
- package/dist/chunks/{repository-cache-zx6r7hdw.js → tool-11tc0n79.js} +4 -4
- package/dist/chunks/{repository-cache-bc1drp7w.js → tool-175m3jx7.js} +18 -18
- package/dist/chunks/{repository-cache-7969rh3q.js → tool-18eb7gxs.js} +11 -11
- package/dist/chunks/{repository-cache-qmys0th1.js → tool-194bm8bb.js} +28 -28
- package/dist/chunks/{repository-cache-38mz08fy.js → tool-1976gz4t.js} +19 -19
- package/dist/chunks/{repository-cache-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-783mvqzv.js → tool-1dmvbadb.js} +17 -17
- package/dist/chunks/{repository-cache-3kjs2g8p.js → tool-1msf33w2.js} +8 -8
- package/dist/chunks/{repository-cache-fzytvzc7.js → tool-1r5rhfpg.js} +9 -9
- package/dist/chunks/{repository-cache-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-mmm9tkaz.js → tool-296y6fm3.js} +16 -16
- package/dist/chunks/{repository-cache-z63w68vq.js → tool-29x78va6.js} +6 -6
- package/dist/chunks/{repository-cache-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-rt54a6x5.js → tool-2c73s09s.js} +11 -11
- package/dist/chunks/{repository-cache-6446sh3b.js → tool-2dw8d83v.js} +25 -25
- package/dist/chunks/{repository-cache-7dqw4kz8.js → tool-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-cache-t2ctsxfp.js → tool-2m1k0ztt.js} +18 -18
- package/dist/chunks/{repository-cache-tn0aqsam.js → tool-2qp6y8xf.js} +5 -5
- package/dist/chunks/{repository-cache-wsb67xeh.js → tool-2tba787a.js} +11 -11
- package/dist/chunks/{repository-cache-q8ha9487.js → tool-2wby3dfy.js} +33 -33
- package/dist/chunks/{repository-cache-810dpybx.js → tool-35zcj8ny.js} +10 -10
- package/dist/chunks/{repository-cache-56pvw0gc.js → tool-36sqq72v.js} +19 -19
- package/dist/chunks/{repository-cache-q5862mkf.js → tool-391zmw43.js} +52 -52
- package/dist/chunks/{repository-cache-qy8njgtj.js → tool-3dtz6yx2.js} +3 -3
- package/dist/chunks/{repository-cache-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-4bw5k2yb.js → tool-3r7whzgv.js} +7 -7
- package/dist/chunks/{repository-cache-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-5k1wcgjw.js → tool-3wgsv8e5.js} +3 -3
- package/dist/chunks/{repository-cache-k8rhextm.js → tool-3y576xey.js} +46 -46
- package/dist/chunks/{repository-cache-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-de0jw3qm.js → tool-40grcexz.js} +23 -23
- package/dist/chunks/{repository-cache-ypx6w206.js → tool-41ykdtjg.js} +71 -71
- package/dist/chunks/{repository-cache-607q5haz.js → tool-424p9vrf.js} +5 -5
- package/dist/chunks/{repository-cache-8dbf0tjh.js → tool-4718644a.js} +17 -17
- package/dist/chunks/{repository-cache-fd1wgf4c.js → tool-4acqjqp7.js} +22 -22
- package/dist/chunks/{repository-cache-ydybzatt.js → tool-4b636nqp.js} +12 -12
- package/dist/chunks/{repository-cache-mae0jmk3.js → tool-4bbjkqbv.js} +15 -15
- package/dist/chunks/{repository-cache-0afkxwjn.js → tool-4bee6ad1.js} +11 -11
- package/dist/chunks/{repository-cache-9dxvb26p.js → tool-4eajfyk1.js} +11 -11
- package/dist/chunks/{repository-cache-8btz10n0.js → tool-4khtewc0.js} +43 -43
- package/dist/chunks/{repository-cache-ckecvw8r.js → tool-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-cache-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-cache-57ez7d0k.js → tool-57ez7d0k.js} +2 -2
- package/dist/chunks/{repository-cache-jjjjkqdk.js → tool-5avn8fxx.js} +15 -15
- package/dist/chunks/{repository-cache-gp490jqz.js → tool-5ck8tfnb.js} +8 -8
- package/dist/chunks/{repository-cache-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-5jkg60m6.js → tool-5dhv185w.js} +26 -26
- package/dist/chunks/{repository-cache-h6r3nrb9.js → tool-5mtzsd3b.js} +4 -4
- package/dist/chunks/{repository-cache-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-4jrabxkn.js → tool-5xnnt85z.js} +17 -17
- package/dist/chunks/{repository-cache-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-4nzedb29.js → tool-67582959.js} +7 -7
- package/dist/chunks/{repository-cache-711hbc5w.js → tool-67kbkrjb.js} +12 -12
- package/dist/chunks/{repository-cache-1sjktwpq.js → tool-6ab7jrdn.js} +13 -13
- package/dist/chunks/{repository-cache-mmvzmsg4.js → tool-6ha1y7f7.js} +10 -10
- package/dist/chunks/{repository-cache-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-mb5ynwt8.js → tool-6t6ktgh6.js} +18 -18
- package/dist/chunks/{repository-cache-m0vw8bcc.js → tool-6tb4xv4d.js} +11 -11
- package/dist/chunks/{repository-cache-2j284yp4.js → tool-6yf2w8yd.js} +10 -10
- package/dist/chunks/{repository-cache-ytvanp1b.js → tool-72cm32h1.js} +6 -6
- package/dist/chunks/{repository-cache-0thq5hk7.js → tool-75hmra9r.js} +10 -10
- package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-pbn1wd6z.js → tool-7k1k30bt.js} +1 -1
- package/dist/chunks/{repository-cache-2hr5nhwa.js → tool-7rwqf82v.js} +8 -8
- package/dist/chunks/{repository-cache-zprs8td4.js → tool-7v1rs999.js} +20 -20
- package/dist/chunks/{repository-cache-2dfz3822.js → tool-809ngxdw.js} +18 -18
- package/dist/chunks/{repository-cache-a2rma4s4.js → tool-80cfmxjf.js} +20 -20
- package/dist/chunks/{repository-cache-53nswxx3.js → tool-8265666q.js} +7 -7
- package/dist/chunks/{repository-cache-w1eejvng.js → tool-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-9zy2j2cw.js → tool-8az6wgtc.js} +18 -18
- package/dist/chunks/{repository-cache-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-ms63ke08.js → tool-8qx87br5.js} +23 -23
- package/dist/chunks/{repository-cache-3b681mbx.js → tool-8rn5fqsk.js} +78 -78
- package/dist/chunks/{repository-cache-py3kkmfq.js → tool-8sze2n9a.js} +6 -6
- package/dist/chunks/{repository-cache-z7nxtzsb.js → tool-946c90tq.js} +8 -8
- package/dist/chunks/{repository-cache-wd844a8w.js → tool-95yxn8sy.js} +3 -3
- package/dist/chunks/{repository-cache-frqnjdcx.js → tool-9a22gx4j.js} +21 -21
- package/dist/chunks/{repository-cache-3s2gfese.js → tool-9a55rck2.js} +16 -16
- package/dist/chunks/{repository-cache-tmvara0k.js → tool-9aqmr64f.js} +5 -5
- package/dist/chunks/{repository-cache-gqbzbbqn.js → tool-9dvrwmbd.js} +11 -11
- package/dist/chunks/{repository-cache-95rsh2yr.js → tool-9jcc4y49.js} +11 -11
- package/dist/chunks/{repository-cache-8tkd114c.js → tool-9jk221y9.js} +9 -9
- package/dist/chunks/{repository-cache-7gqwc1b4.js → tool-9y90g72n.js} +22 -22
- package/dist/chunks/{repository-cache-v5dkyp31.js → tool-a2ew8a62.js} +4 -4
- package/dist/chunks/{repository-cache-eh2mspr1.js → tool-a3j192et.js} +15 -15
- package/dist/chunks/{repository-cache-a2w1s5qp.js → tool-a7ntt1km.js} +41 -41
- package/dist/chunks/{repository-cache-74he466x.js → tool-a9rnddwt.js} +36 -36
- package/dist/chunks/{repository-cache-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-h4kyasgq.js → tool-aasthdk7.js} +25 -25
- package/dist/chunks/{repository-cache-vbdvtmb9.js → tool-afmxnawc.js} +41 -41
- package/dist/chunks/{repository-cache-zvxrxhcq.js → tool-amxsn76y.js} +9 -9
- package/dist/chunks/{repository-cache-j4jqcffg.js → tool-asmesk1c.js} +43 -43
- package/dist/chunks/{repository-cache-dvzrxbsj.js → tool-aw0zj34j.js} +7 -7
- package/dist/chunks/{repository-cache-g190xswt.js → tool-axmvebxj.js} +21 -21
- package/dist/chunks/tool-b4awgack.js +507 -0
- package/dist/chunks/{repository-cache-daxk1szt.js → tool-b4k87etx.js} +29 -29
- package/dist/chunks/{repository-cache-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-wqr5pdt5.js → tool-bbertzxx.js} +24 -24
- package/dist/chunks/{repository-cache-pmr4s4kc.js → tool-bct739vz.js} +4 -4
- package/dist/chunks/{repository-cache-5qkxfyep.js → tool-bdqrk2vk.js} +4 -4
- package/dist/chunks/{repository-cache-c80bcpkz.js → tool-bhz5rt2a.js} +3 -3
- package/dist/chunks/{repository-cache-z07pqspn.js → tool-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-cache-5xpznt2d.js → tool-bk7jaeqh.js} +4 -4
- package/dist/chunks/{repository-cache-2dxkyvt9.js → tool-bne83k22.js} +16 -16
- package/dist/chunks/{repository-cache-cd6bmxb7.js → tool-brbv3dp1.js} +35 -35
- package/dist/chunks/{repository-cache-j4mm37g8.js → tool-c8c0e7p2.js} +4 -4
- package/dist/chunks/tool-cmck6x1v.js +26 -0
- package/dist/chunks/{repository-cache-fdjyeynq.js → tool-cnvcdvk7.js} +6 -6
- package/dist/chunks/{repository-cache-33189bft.js → tool-csc4d3td.js} +9 -9
- package/dist/chunks/{repository-cache-vbq8pb5b.js → tool-cxfezmj7.js} +2 -2
- package/dist/chunks/{repository-cache-04ck8k4k.js → tool-cycpek8a.js} +8 -8
- package/dist/chunks/{repository-cache-kzeadhdf.js → tool-d45ca2b9.js} +11 -11
- package/dist/chunks/{repository-cache-g6q9qykm.js → tool-d4he2qe1.js} +9 -9
- package/dist/chunks/{repository-cache-qc3t3aka.js → tool-d7hv7zmm.js} +10 -10
- package/dist/chunks/{repository-cache-qfr8erz8.js → tool-dbnvakxz.js} +2 -2
- package/dist/chunks/{repository-cache-8rvetdvw.js → tool-df918xjf.js} +13 -13
- package/dist/chunks/{repository-cache-xkntkrq7.js → tool-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-cache-tpp3t0gy.js → tool-dsr5k85q.js} +26 -26
- package/dist/chunks/{repository-cache-nhwg6c1p.js → tool-dss8prcv.js} +5 -5
- package/dist/chunks/{repository-cache-ann71p2r.js → tool-dth0kp2g.js} +8 -8
- package/dist/chunks/{repository-cache-5qd3pb7m.js → tool-e3qxr5gk.js} +2 -2
- package/dist/chunks/{repository-cache-82m37mnf.js → tool-eacc2dt9.js} +11 -11
- package/dist/chunks/{repository-cache-ecfe7b91.js → tool-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-cenxd33d.js → tool-eg546c9f.js} +30 -30
- package/dist/chunks/{repository-cache-qj04qr5m.js → tool-eg73nz8j.js} +16 -16
- package/dist/chunks/{repository-cache-d5h09cnz.js → tool-ehjy287r.js} +3 -3
- package/dist/chunks/{repository-cache-8fscv17v.js → tool-ek9e68b4.js} +8 -8
- package/dist/chunks/{repository-cache-dbv05mm3.js → tool-em3h5ktn.js} +4 -4
- package/dist/chunks/{repository-cache-rk7s9xkn.js → tool-espax8zg.js} +4 -4
- package/dist/chunks/{repository-cache-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-p9r301nf.js → tool-ev6cj1t6.js} +4 -4
- package/dist/chunks/{repository-cache-m6t25yxw.js → tool-ewrs59eb.js} +45 -45
- package/dist/chunks/{repository-cache-vtvqn5z4.js → tool-ezfsjjcb.js} +17 -17
- package/dist/chunks/{repository-cache-818pfwc9.js → tool-f32czd11.js} +11 -11
- package/dist/chunks/{repository-cache-ccd57ky6.js → tool-f4stfc8j.js} +11 -11
- package/dist/chunks/{repository-cache-k1qrnqst.js → tool-f5gy8qwh.js} +8 -8
- package/dist/chunks/{repository-cache-cssfr7rf.js → tool-f5j4h519.js} +27 -27
- package/dist/chunks/{repository-cache-m90fhazv.js → tool-f9v45azf.js} +27 -27
- package/dist/chunks/{repository-cache-xs7kd0ff.js → tool-faz569s1.js} +4 -4
- package/dist/chunks/{repository-cache-2wq7vqp7.js → tool-fbk6jmjr.js} +11 -11
- package/dist/chunks/{repository-cache-4v283kbg.js → tool-fk1tprft.js} +3 -3
- package/dist/chunks/{repository-cache-7pr2hkwv.js → tool-g5agzp2h.js} +5 -5
- package/dist/chunks/{repository-cache-7sw46hvh.js → tool-g5mnhhzf.js} +5 -5
- package/dist/chunks/{repository-cache-pp9kfcev.js → tool-g6af17tj.js} +13 -13
- package/dist/chunks/{repository-cache-vkbpj0nk.js → tool-gbny3ebw.js} +5 -5
- package/dist/chunks/{repository-cache-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-94ek1h2f.js → tool-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-cache-y98nvmkd.js → tool-gjz1jd2j.js} +17 -17
- package/dist/chunks/{repository-cache-wzkj2gsv.js → tool-grfjx99d.js} +31 -31
- package/dist/chunks/{repository-cache-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-cache-q68kj198.js → tool-gy1z56yw.js} +15 -15
- package/dist/chunks/{repository-cache-b7b4ctej.js → tool-h4z1mxff.js} +5 -5
- package/dist/chunks/{repository-cache-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-f29mbr7f.js → tool-h9wp8z5w.js} +4 -4
- package/dist/chunks/{repository-cache-mp442rew.js → tool-hxxwhazt.js} +20 -20
- package/dist/chunks/{repository-cache-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-a3r4dcrj.js → tool-jca4demv.js} +2 -2
- package/dist/chunks/{repository-cache-8w20q39n.js → tool-jj4f2m0r.js} +10 -10
- package/dist/chunks/{repository-cache-v2907cfy.js → tool-jjhdrc4d.js} +29 -29
- package/dist/chunks/{repository-cache-scv7p57g.js → tool-jvvc3tfq.js} +9 -9
- package/dist/chunks/{repository-cache-njd2epf3.js → tool-jyzvwcc3.js} +83 -83
- package/dist/chunks/{repository-cache-k3c624dm.js → tool-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-cache-dsd739fb.js → tool-ka42hk6n.js} +17 -17
- package/dist/chunks/{repository-cache-ex6p1v7c.js → tool-kf4n8cem.js} +6 -6
- package/dist/chunks/{repository-cache-h4ps4sj8.js → tool-kftnayyw.js} +10 -10
- package/dist/chunks/{repository-cache-vsk39x9d.js → tool-ksz6c1e3.js} +22 -22
- package/dist/chunks/{repository-cache-jzy4k8ae.js → tool-ktwybt29.js} +20 -20
- package/dist/chunks/{repository-cache-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-mksgfzgs.js → tool-m5gtchbr.js} +3 -3
- package/dist/chunks/{repository-cache-naa9ps5d.js → tool-m82n3tcb.js} +11 -11
- package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
- package/dist/chunks/{repository-cache-0mwb83qr.js → tool-mxck01x7.js} +27 -27
- package/dist/chunks/{repository-cache-4e8vs6eh.js → tool-n0tq777j.js} +8 -8
- package/dist/chunks/{repository-cache-eypvmx01.js → tool-n2bwe27v.js} +17 -17
- package/dist/chunks/{repository-cache-54k930pp.js → tool-na3vr06v.js} +10 -10
- package/dist/chunks/{repository-cache-mzppa8ta.js → tool-nd981500.js} +33 -33
- package/dist/chunks/{repository-cache-mecya7nw.js → tool-ngr3dbwj.js} +9 -9
- package/dist/chunks/{repository-cache-j58c5xyq.js → tool-njhqdk9p.js} +9 -9
- package/dist/chunks/{repository-cache-d6tzdhy2.js → tool-nqhs97wk.js} +11 -11
- package/dist/chunks/{repository-cache-br0tr5aq.js → tool-p37cw4rj.js} +8 -8
- package/dist/chunks/{repository-cache-nb9cp8r9.js → tool-p7emx7qr.js} +14 -14
- package/dist/chunks/{repository-cache-5k7m0c6w.js → tool-p9njq13k.js} +23 -23
- package/dist/chunks/{repository-cache-engkf0xy.js → tool-pa719ayw.js} +3 -3
- package/dist/chunks/{repository-cache-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-xgacp4m0.js → tool-pmjcgjf6.js} +5 -5
- package/dist/chunks/{repository-cache-pnv527nz.js → tool-pnv527nz.js} +2 -2
- package/dist/chunks/{repository-cache-wd3x2cqz.js → tool-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-cache-7wf5zjhs.js → tool-psxwg2jt.js} +49 -49
- package/dist/chunks/{repository-cache-ger7gmny.js → tool-pwk60xzd.js} +29 -29
- package/dist/chunks/{repository-cache-21v4w11m.js → tool-pzmgz1kt.js} +20 -20
- package/dist/chunks/{repository-cache-jexxy024.js → tool-q3t37ft6.js} +3 -3
- package/dist/chunks/{repository-cache-624wfwgz.js → tool-q5dgj24k.js} +15 -15
- package/dist/chunks/{repository-cache-00gdp0v0.js → tool-q73ax3e3.js} +6 -6
- package/dist/chunks/{repository-cache-9z3rd8yt.js → tool-q9m41f22.js} +15 -15
- package/dist/chunks/{repository-cache-8tsdq50x.js → tool-qbqbaz6q.js} +4 -4
- package/dist/chunks/tool-qjxeh2jn.js +252 -0
- package/dist/chunks/{repository-cache-204cfetq.js → tool-qnshbhpz.js} +8 -8
- package/dist/chunks/{repository-cache-ednp5hmx.js → tool-qpbc7zwf.js} +8 -8
- package/dist/chunks/{repository-cache-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-cdf7n074.js → tool-qsgng9yw.js} +22 -22
- package/dist/chunks/{repository-cache-0r7yqxbf.js → tool-qte5z7bc.js} +5 -5
- package/dist/chunks/{repository-cache-1zdwmq57.js → tool-qthggnn3.js} +24 -24
- package/dist/chunks/{repository-cache-0zjqpmkz.js → tool-qvyqyy4a.js} +32 -32
- package/dist/chunks/{repository-cache-nqnxh7mc.js → tool-qz49fwgp.js} +4 -4
- package/dist/chunks/{repository-cache-b7evj62n.js → tool-qzzwmwsb.js} +24 -24
- package/dist/chunks/{repository-cache-9q2zkxzw.js → tool-rbedxwk0.js} +10 -10
- package/dist/chunks/{repository-cache-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-s8d7rejh.js → tool-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-cache-92azg307.js → tool-rmm45jmv.js} +5 -5
- package/dist/chunks/{repository-cache-kyabrh60.js → tool-rsmztf11.js} +20 -20
- package/dist/chunks/{repository-cache-wvjcvcce.js → tool-rwt25hr0.js} +11 -11
- package/dist/chunks/{repository-cache-yrznvahk.js → tool-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-cache-4hecv8b8.js → tool-s7va8ds3.js} +15 -15
- package/dist/chunks/{repository-cache-hpm09z4s.js → tool-s81k1a76.js} +15 -15
- package/dist/chunks/{repository-cache-3nxcgc5r.js → tool-sd321mms.js} +4 -4
- package/dist/chunks/{repository-cache-341masja.js → tool-sg7et9cp.js} +9 -9
- package/dist/chunks/{repository-cache-hv03xkvj.js → tool-ss1fsgxr.js} +14 -14
- package/dist/chunks/{repository-cache-qbf4b4ne.js → tool-syg1g1yq.js} +22 -22
- package/dist/chunks/{repository-cache-fbhw4wv7.js → tool-t5eds39s.js} +23 -23
- package/dist/chunks/{repository-cache-jvf3yq6v.js → tool-t7n9q6bq.js} +4 -4
- package/dist/chunks/{repository-cache-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-mx9vqzsb.js → tool-tcay1cqt.js} +6 -6
- package/dist/chunks/{repository-cache-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-42qtvhfk.js → tool-tg11ymz8.js} +5 -5
- package/dist/chunks/{repository-cache-q8a22tjh.js → tool-tnwevgky.js} +159 -159
- package/dist/chunks/{repository-cache-fqnfbc6e.js → tool-tpgzbb02.js} +20 -20
- package/dist/chunks/{repository-cache-16612zrn.js → tool-ttk3mwgy.js} +11 -11
- package/dist/chunks/{repository-cache-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-h4txc3jc.js → tool-txmctbw7.js} +5 -5
- package/dist/chunks/{repository-cache-gfj9m061.js → tool-tz4t78ya.js} +13 -13
- package/dist/chunks/{repository-cache-de5yg9f9.js → tool-vbv8dfnm.js} +18 -18
- package/dist/chunks/{repository-cache-t1ap8zfg.js → tool-vdtperbh.js} +5 -5
- package/dist/chunks/{repository-cache-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/tool-vsdyktar.js +18 -0
- package/dist/chunks/{repository-cache-6d5yn9z3.js → tool-vvaq8bb8.js} +7 -7
- package/dist/chunks/{repository-cache-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-zz56t2w7.js → tool-w1p328vv.js} +11 -11
- package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-xsm8rsnb.js → tool-w5tjdcqf.js} +20 -20
- package/dist/chunks/{repository-cache-wyy8ccsm.js → tool-w7jh0eam.js} +1 -1
- package/dist/chunks/{repository-cache-0hpw93d1.js → tool-w8n0e5aw.js} +9 -9
- package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-3gz738r3.js → tool-wk7hydj3.js} +11 -11
- package/dist/chunks/{repository-cache-xyq4pa26.js → tool-wkt2y4hc.js} +23 -23
- package/dist/chunks/{repository-cache-94js9ang.js → tool-wyr36rym.js} +26 -26
- package/dist/chunks/{repository-cache-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-4vqxrrhv.js → tool-x749c8ap.js} +20 -20
- package/dist/chunks/{repository-cache-whb4syhh.js → tool-xever9ax.js} +34 -34
- package/dist/chunks/{repository-cache-xfkkasph.js → tool-xfkkasph.js} +1 -1
- package/dist/chunks/{repository-cache-7esjthxw.js → tool-xh089592.js} +5 -5
- package/dist/chunks/{repository-cache-0s740jay.js → tool-xhs54hgc.js} +30 -30
- package/dist/chunks/{repository-cache-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-095hcjf8.js → tool-y4rjczph.js} +33 -33
- package/dist/chunks/{repository-cache-dpkg50ah.js → tool-y71avatq.js} +4 -4
- package/dist/chunks/{repository-cache-mqzwkyay.js → tool-ydgy0jv4.js} +6 -6
- package/dist/chunks/{repository-cache-5heeksrv.js → tool-yj0c5cmr.js} +26 -26
- package/dist/chunks/{repository-cache-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-cache-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-cr07tj7n.js → tool-yt0fqk68.js} +5 -5
- package/dist/chunks/{repository-cache-avz58b7a.js → tool-yt55jd1w.js} +14 -14
- package/dist/chunks/{repository-cache-5y5fcek4.js → tool-yv16hj29.js} +17 -17
- package/dist/chunks/{repository-cache-r6ryweq5.js → tool-yw7byxdn.js} +11 -11
- package/dist/chunks/{repository-cache-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-h62cd3wx.js → tool-zkx6mb6f.js} +6 -6
- package/dist/chunks/{repository-cache-rk1r2hx8.js → tool-znsx74x0.js} +1 -1
- package/dist/chunks/{repository-cache-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-vj03c95h.js → tool-zs59ffwg.js} +8 -8
- package/dist/chunks/{repository-cache-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-08fsgfkc.js → tool-zztd99f7.js} +48 -48
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +95 -95
- package/dist/git.js +6 -6
- 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 +99 -99
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +76 -76
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-cache-4jx8qdh8.js +0 -252
- package/dist/chunks/repository-cache-f2zhp4xq.js +0 -26
- package/dist/chunks/repository-cache-qc068m1q.js +0 -18
- package/dist/chunks/repository-cache-te7y3fhr.js +0 -507
- /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-1kg9ymc8.js → tool-1kg9ymc8.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-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → tool-34c7v6d4.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-3w5fmr99.js → tool-3w5fmr99.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-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-6prwharc.js → tool-6prwharc.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-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-922hggd3.js → tool-922hggd3.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-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-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-dajrwvna.js → tool-dajrwvna.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-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-fxgpk5d8.js → tool-fxgpk5d8.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-hjbc5kem.js → tool-hjbc5kem.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-jzg6c2d5.js → tool-jzg6c2d5.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-njntx4h6.js → tool-njntx4h6.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-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.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-y8cydn3q.js → tool-y8cydn3q.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-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./tool-a9rnddwt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./tool-d4he2qe1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin17
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service67;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin15 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin17, exports_location_watcher2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID9,
|
|
6
|
+
Service60
|
|
7
|
+
} from "./tool-5xnnt85z.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-q3t37ft6.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-0v0g5gxd.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service60;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID9.make(from),
|
|
91
|
+
to: ID9.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-1msf33w2.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin36 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin37 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin36, exports_firecrawl };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service63,
|
|
17
|
+
node66
|
|
18
|
+
} from "./tool-jvvc3tfq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service76,
|
|
21
|
+
node79
|
|
22
|
+
} from "./tool-n0tq777j.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service62,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node65
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service62 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service76;
|
|
58
|
+
const image = yield* Service63;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service62.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node65 = makeLocationNode({
|
|
277
|
+
service: Service62,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node79, node66]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service62, node65, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command5 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-fk1tprft.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service41,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node45,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service41 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service41.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node45 = makeLocationNode({ service: Service41, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service41, node45, exports_instruction_entry };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-sd321mms.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./tool-194bm8bb.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
Service59,
|
|
19
|
-
node62
|
|
20
|
-
} from "./repository-cache-frqnjdcx.js";
|
|
16
|
+
} from "./tool-cxfezmj7.js";
|
|
21
17
|
import {
|
|
22
|
-
ID16,
|
|
23
18
|
Service78,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
19
|
+
node81
|
|
20
|
+
} from "./tool-9a22gx4j.js";
|
|
21
|
+
import {
|
|
22
|
+
ID13,
|
|
23
|
+
Service74,
|
|
24
|
+
node77
|
|
25
|
+
} from "./tool-hxxwhazt.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service73,
|
|
34
|
+
node76
|
|
35
|
+
} from "./tool-wkt2y4hc.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 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service38,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured5,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node41
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -91,7 +91,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
96
|
var Options5 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -99,13 +99,13 @@ var Options5 = Schema.Struct({
|
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
103
103
|
const location = yield* Service80;
|
|
104
|
-
const environment = yield*
|
|
104
|
+
const environment = yield* Service78;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
106
|
+
const forms = yield* Service74;
|
|
107
|
+
const integration = yield* Service73;
|
|
108
|
+
const credentials = yield* Service75;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID12.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -149,12 +149,12 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID13.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
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(
|
|
260
|
+
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(Service78, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service38.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,12 +516,12 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
}
|
|
517
517
|
function configured5(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [node84,
|
|
519
|
+
service: Service38,
|
|
520
|
+
layer: layer14(options),
|
|
521
|
+
deps: [node84, node81, node87, node77, node76, node78]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node41 = configured5();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer14, configured5, node41, exports_mcp4 };
|