@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,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-sd321mms.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-cxfezmj7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service77,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node80
|
|
13
|
+
} from "./tool-36sqq72v.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event7,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID4,
|
|
28
|
+
Info: () => Info5,
|
|
29
|
+
NotFoundError: () => NotFoundError4,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service28,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node31
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event7 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID4 = Pty.ID;
|
|
43
|
+
var Info5 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID4
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service28 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
61
|
const location = yield* Service80;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service77;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID4.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service28.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node31 = makeLocationNode({
|
|
273
|
+
service: Service28,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node87, node84,
|
|
275
|
+
deps: [node87, node84, node80]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID4, Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service28, node31, exports_pty, Event7 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./tool-9a22gx4j.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-2m1k0ztt.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service78;
|
|
335
|
+
return Service7.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node81] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin47,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin47 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin47, exports_tool_input_repair };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info12,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info12 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info12, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-sd321mms.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID13,
|
|
20
|
+
Info: () => Info28,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node77,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID13 = Form.ID;
|
|
39
|
+
var Info28 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID13
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID13
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID13
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID13,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID13.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node77 = makeLocationNode({ service: Service74, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID13, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node77, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-q3t37ft6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./tool-a7ntt1km.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./tool-391zmw43.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin6
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin6 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service38;
|
|
26
|
+
const permission = yield* Service56;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin31 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin6, exports_mcp_resource };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./tool-9a22gx4j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-tz4t78ya.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service21
|
|
11
|
+
} from "./tool-f4stfc8j.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./tool-391zmw43.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./tool-5avn8fxx.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
29
|
Output: () => Output5,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin5,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -48,24 +48,24 @@ var Output5 = Schema.Struct({
|
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin5 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service16;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service78;
|
|
58
|
+
const formatter = yield* Service21;
|
|
59
|
+
const permission = yield* Service56;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input5,
|
|
69
69
|
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output5, toModelContent4, Plugin5, exports_write };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service63,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node66
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service63 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service63.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service63, node66, exports_image2 };
|