@opencode/core 0.0.0-dev-19744 → 0.0.0-dev-19752
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{pty-6y05ew1d.js → permission-06fcmjmr.js} +23 -23
- package/dist/chunks/{pty-rqg791dd.js → permission-08nwsgbb.js} +11 -11
- package/dist/chunks/{pty-ntcc5ehh.js → permission-0d8h0w63.js} +20 -20
- package/dist/chunks/{pty-th6p44mh.js → permission-0f0m4yww.js} +11 -11
- package/dist/chunks/{pty-rh9ghw4z.js → permission-0jp8a8rx.js} +13 -13
- package/dist/chunks/{pty-qa81wdvn.js → permission-0m35hzsx.js} +308 -308
- package/dist/chunks/permission-0mesazry.js +4 -0
- package/dist/chunks/{pty-exfq5gv3.js → permission-0n68sp88.js} +8 -8
- package/dist/chunks/{pty-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → permission-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-5cjyhqcx.js → permission-1bv3n07a.js} +84 -84
- package/dist/chunks/{pty-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-5dkyq3w9.js → permission-1h066dv5.js} +11 -11
- package/dist/chunks/{pty-6vw4348z.js → permission-1xgrsnxm.js} +13 -13
- package/dist/chunks/{pty-0kk2g04a.js → permission-213jg20d.js} +21 -21
- package/dist/chunks/{pty-21r38tys.js → permission-21r38tys.js} +1 -1
- package/dist/chunks/{pty-3b1q5j1v.js → permission-23pqda6t.js} +5 -5
- package/dist/chunks/{pty-2402vzrj.js → permission-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-p3sqe4zf.js → permission-24r19mz0.js} +13 -13
- package/dist/chunks/{pty-77yaaytm.js → permission-25fxnrt3.js} +70 -70
- package/dist/chunks/{pty-06dxphr1.js → permission-26k5bknw.js} +4 -4
- package/dist/chunks/{pty-phrgc7s2.js → permission-29dqn0y6.js} +16 -16
- package/dist/chunks/{pty-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-mrhxfjgm.js → permission-2dae59jt.js} +9 -9
- package/dist/chunks/{pty-4b8tw1g7.js → permission-2hwxdyne.js} +8 -8
- package/dist/chunks/{pty-2sejkfem.js → permission-2sejkfem.js} +2 -2
- package/dist/chunks/{pty-zpmv2nmt.js → permission-2v8rms1t.js} +16 -16
- package/dist/chunks/{pty-k0xbpe31.js → permission-30jnt07w.js} +29 -29
- package/dist/chunks/{pty-v772zmrr.js → permission-31gr8g3y.js} +50 -50
- package/dist/chunks/{pty-b594zzbj.js → permission-31tr2586.js} +9 -9
- package/dist/chunks/{pty-dqa43dhg.js → permission-3bh2hs5e.js} +18 -18
- package/dist/chunks/{pty-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-zh0ytwzz.js → permission-3hvmy9kc.js} +11 -11
- package/dist/chunks/permission-3k25d1jn.js +252 -0
- package/dist/chunks/{pty-kbnfxfat.js → permission-3q18vfkb.js} +28 -28
- package/dist/chunks/{pty-6j9cmr93.js → permission-3sc7hnrh.js} +28 -28
- package/dist/chunks/{pty-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-ebxxyxge.js → permission-4583akqq.js} +23 -23
- package/dist/chunks/{pty-f6pbrr8w.js → permission-4ata613a.js} +16 -16
- package/dist/chunks/{pty-qc1pk71j.js → permission-4cv5ez35.js} +32 -32
- package/dist/chunks/{pty-qvrdgs7t.js → permission-4d3d5dnh.js} +26 -26
- package/dist/chunks/{pty-xe6cmgbq.js → permission-4pjf94tq.js} +11 -11
- package/dist/chunks/{pty-qyc8vy2s.js → permission-4ppk3asj.js} +15 -15
- package/dist/chunks/{pty-2acp3zpj.js → permission-4vyg6ytn.js} +24 -24
- package/dist/chunks/{pty-hfq267a7.js → permission-516er5bv.js} +177 -177
- package/dist/chunks/permission-51f1b14e.js +26 -0
- package/dist/chunks/{pty-57ez7d0k.js → permission-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-gdfvffmy.js → permission-59wg76sz.js} +5 -5
- package/dist/chunks/{pty-za55qz67.js → permission-5b7y9z58.js} +24 -24
- package/dist/chunks/{pty-wcr3727a.js → permission-5c3cp9w0.js} +29 -29
- package/dist/chunks/{pty-jexxy024.js → permission-5cmxdwv8.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → permission-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-qsr74hn5.js → permission-5g9k75kb.js} +27 -27
- package/dist/chunks/{pty-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-j7d1bz3z.js → permission-5ywdhybg.js} +13 -13
- package/dist/chunks/{pty-669tq793.js → permission-669tq793.js} +1 -1
- package/dist/chunks/{pty-jqmy57s0.js → permission-6bz791bh.js} +52 -52
- package/dist/chunks/{pty-6msgmcgs.js → permission-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-t031qe01.js → permission-6mtv4z71.js} +33 -33
- package/dist/chunks/{pty-m39c7hxd.js → permission-6yxz03bh.js} +12 -12
- package/dist/chunks/{pty-zvp4p5jk.js → permission-73zhznt1.js} +30 -30
- package/dist/chunks/{pty-p2ezm693.js → permission-75vmkchq.js} +26 -26
- package/dist/chunks/{pty-76mn2m8t.js → permission-79612mke.js} +19 -19
- package/dist/chunks/{pty-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-vj5dzvyh.js → permission-7d4tbxj8.js} +38 -38
- package/dist/chunks/{pty-k5jz2ghv.js → permission-7e7c6www.js} +17 -17
- package/dist/chunks/{pty-tja9b7zx.js → permission-7jd8f7y6.js} +36 -36
- package/dist/chunks/{pty-fkr83qb9.js → permission-7kgrp11a.js} +10 -10
- package/dist/chunks/{pty-xzzedvdq.js → permission-7v0nq500.js} +12 -12
- package/dist/chunks/{pty-zerzqssk.js → permission-80yzywcg.js} +1 -1
- package/dist/chunks/{pty-39dab3jh.js → permission-859rv9k1.js} +18 -18
- package/dist/chunks/{pty-dd95b6zp.js → permission-864agyax.js} +5 -5
- package/dist/chunks/{pty-0d61r9h4.js → permission-88e6yazr.js} +28 -28
- package/dist/chunks/{pty-89znhe33.js → permission-89znhe33.js} +1 -1
- package/dist/chunks/{pty-1f62kj91.js → permission-8bqq15hz.js} +6 -6
- package/dist/chunks/{pty-g7td5zdy.js → permission-8bs1297p.js} +17 -17
- package/dist/chunks/{pty-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-1as7yqy8.js → permission-8dvk0psf.js} +7 -7
- package/dist/chunks/{pty-ctrx9nnj.js → permission-8ep974pt.js} +8 -8
- package/dist/chunks/{pty-dj2t23y0.js → permission-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-3ddaden9.js → permission-8s8nckee.js} +4 -4
- package/dist/chunks/{pty-jh55ed6j.js → permission-8ykvs595.js} +5 -5
- package/dist/chunks/{pty-h5prvwy2.js → permission-8zets213.js} +15 -15
- package/dist/chunks/{pty-gfqx1e3t.js → permission-90wkmbmj.js} +33 -33
- package/dist/chunks/{pty-ypnspery.js → permission-91qjg98b.js} +17 -17
- package/dist/chunks/{pty-74rrnwt7.js → permission-9g3kc011.js} +12 -12
- package/dist/chunks/{pty-zth7qvys.js → permission-9jdpata9.js} +19 -19
- package/dist/chunks/{pty-b3ns9504.js → permission-9x1e5yw6.js} +24 -24
- package/dist/chunks/{pty-0f9afca0.js → permission-a1a50ys5.js} +5 -5
- package/dist/chunks/{pty-5c4hm403.js → permission-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-ph842b28.js → permission-a89e0tac.js} +4 -4
- package/dist/chunks/{pty-aaet6srn.js → permission-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-7t28gyx8.js → permission-ad87akya.js} +23 -23
- package/dist/chunks/{pty-xp7gxvaq.js → permission-ansdn0ap.js} +4 -4
- package/dist/chunks/{pty-yn01zngv.js → permission-aqnhtne5.js} +35 -35
- package/dist/chunks/{pty-3ad3156b.js → permission-arv089yb.js} +10 -10
- package/dist/chunks/{pty-pkgfky7d.js → permission-azfk5se2.js} +5 -5
- package/dist/chunks/{pty-6bh8btd9.js → permission-b3b41yj6.js} +37 -37
- package/dist/chunks/{pty-3fax0mp7.js → permission-b606z3x6.js} +8 -8
- package/dist/chunks/{pty-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-bz85s9hh.js → permission-b97cbvw3.js} +1 -1
- package/dist/chunks/{pty-51sk06m6.js → permission-bgn3krwm.js} +11 -11
- package/dist/chunks/{pty-7ac170kv.js → permission-bha4atvq.js} +4 -4
- package/dist/chunks/{pty-54qvpy9t.js → permission-brxst1wj.js} +11 -11
- package/dist/chunks/{pty-xbckpkdq.js → permission-bzmhxfjk.js} +20 -20
- package/dist/chunks/{pty-p3wwg9fw.js → permission-c57ss9zk.js} +20 -20
- package/dist/chunks/{pty-z6mhr53t.js → permission-c65xb1pg.js} +3 -3
- package/dist/chunks/{pty-m0jqrx5p.js → permission-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-shrcc9g3.js → permission-chnssm7d.js} +28 -28
- package/dist/chunks/{pty-nwyqkjv9.js → permission-cyat2y1a.js} +3 -3
- package/dist/chunks/{pty-5w8sdvf2.js → permission-cykfqhbf.js} +4 -4
- package/dist/chunks/{pty-hq8zt1th.js → permission-d1mtykxg.js} +6 -6
- package/dist/chunks/{pty-dby3ea06.js → permission-d5zc4w5k.js} +44 -44
- package/dist/chunks/{pty-5ge7b1s9.js → permission-dnkva13v.js} +17 -17
- package/dist/chunks/{pty-s8d7rejh.js → permission-eaj1djv9.js} +6 -6
- package/dist/chunks/{pty-2gw9te71.js → permission-edfdbxqm.js} +32 -32
- package/dist/chunks/{pty-j0d8kce8.js → permission-edrwpyyk.js} +46 -46
- package/dist/chunks/{pty-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-6sz4ttcn.js → permission-ercqhjnk.js} +12 -12
- package/dist/chunks/{pty-h03wrkyp.js → permission-erw5rpbs.js} +4 -3
- package/dist/chunks/{pty-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-ww94c77x.js → permission-exgc8y13.js} +10 -10
- package/dist/chunks/{pty-h66ycz74.js → permission-f2k13p5x.js} +13 -13
- package/dist/chunks/{pty-1acjjqhc.js → permission-f2n192rq.js} +4 -4
- package/dist/chunks/{pty-dprzeqmr.js → permission-f51r30n0.js} +12 -12
- package/dist/chunks/{pty-hdnk95c8.js → permission-f828m53h.js} +2 -2
- package/dist/chunks/{pty-f0v6spgv.js → permission-f9shwvv0.js} +5 -5
- package/dist/chunks/{pty-4v4zcyn8.js → permission-ffpbn0sw.js} +11 -11
- package/dist/chunks/{pty-j5g2921s.js → permission-fgr5gamk.js} +25 -25
- package/dist/chunks/{pty-xfkknnqv.js → permission-fq6rvpa6.js} +5 -5
- package/dist/chunks/{pty-15nepkqg.js → permission-fqhbsnr5.js} +8 -8
- package/dist/chunks/{pty-fxbjtjnd.js → permission-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-nrdmrqsx.js → permission-g190xswt.js} +4 -4
- package/dist/chunks/{pty-8hvspytd.js → permission-gbrtfntv.js} +63 -63
- package/dist/chunks/{pty-avh5jyvb.js → permission-gcs74jzx.js} +40 -40
- package/dist/chunks/{pty-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-50jcqkpg.js → permission-gjyfhpwg.js} +17 -17
- package/dist/chunks/{pty-jp67d8xq.js → permission-gmpwfzd7.js} +15 -15
- package/dist/chunks/{pty-embw8kgh.js → permission-gst7axd9.js} +4 -4
- package/dist/chunks/{pty-gv6a8nnw.js → permission-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-8fxgy4be.js → permission-h45bvytj.js} +28 -28
- package/dist/chunks/{pty-5hazr681.js → permission-h5r4kkc1.js} +2 -2
- package/dist/chunks/{pty-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-k5shenda.js → permission-h9rzreqp.js} +20 -20
- package/dist/chunks/{pty-t159kbzr.js → permission-hf5dqg4e.js} +14 -14
- package/dist/chunks/{pty-b6j8bg70.js → permission-hfn2zrgx.js} +1 -1
- package/dist/chunks/{pty-fkm9w8rt.js → permission-hn824591.js} +35 -35
- package/dist/chunks/{pty-k09h50av.js → permission-hryqx6np.js} +35 -35
- package/dist/chunks/{pty-z336gv68.js → permission-j34zbph1.js} +13 -13
- package/dist/chunks/{pty-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-861re95h.js → permission-j6qe3921.js} +27 -27
- package/dist/chunks/{pty-00z3vp5f.js → permission-j83byb14.js} +4 -4
- package/dist/chunks/{pty-beda3f75.js → permission-j8za9eer.js} +20 -20
- package/dist/chunks/{pty-zhp5m1zz.js → permission-jg4d40sv.js} +4 -4
- package/dist/chunks/{pty-2kbj14yf.js → permission-jm67vx9f.js} +43 -43
- package/dist/chunks/{pty-2k6s2zm4.js → permission-jrdmzp61.js} +15 -15
- package/dist/chunks/{pty-g8atgw3j.js → permission-jswts1sh.js} +8 -8
- package/dist/chunks/{pty-k3c624dm.js → permission-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-hqwcc1t8.js → permission-k5ts2t60.js} +16 -16
- package/dist/chunks/{pty-rtvxz8am.js → permission-k8ywm71w.js} +4 -4
- package/dist/chunks/{pty-ar88qa8v.js → permission-kbww7b3v.js} +7 -7
- package/dist/chunks/{pty-75ckhbr3.js → permission-kd159ksa.js} +20 -20
- package/dist/chunks/{pty-4kgnd0zh.js → permission-kfg3zc9e.js} +23 -23
- package/dist/chunks/{pty-rrkxzg4z.js → permission-kg2nghf4.js} +43 -43
- package/dist/chunks/{pty-5rbd4j62.js → permission-knrkpzn1.js} +14 -14
- package/dist/chunks/{pty-1rgevqwt.js → permission-knta4rdt.js} +22 -22
- package/dist/chunks/{pty-6ep9m4sq.js → permission-kqqbj3xh.js} +18 -18
- package/dist/chunks/{pty-fanw3jjr.js → permission-kt3g5jgv.js} +3 -3
- package/dist/chunks/{pty-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-x7vb65wd.js → permission-mcppnc3p.js} +21 -21
- package/dist/chunks/{pty-hht4hdr7.js → permission-md2fxt01.js} +58 -58
- package/dist/chunks/{pty-1ygqh575.js → permission-mfqp6xfm.js} +6 -6
- package/dist/chunks/{pty-mhkvc446.js → permission-mhkvc446.js} +1 -1
- package/dist/chunks/{pty-44ke2mar.js → permission-mmr7bq34.js} +8 -8
- package/dist/chunks/{pty-c86rf6nk.js → permission-mpvkt5wd.js} +13 -13
- package/dist/chunks/{pty-v2sqwdfa.js → permission-mty4n9q8.js} +24 -24
- package/dist/chunks/{pty-0rgpk1ds.js → permission-mx6ms3qb.js} +5 -5
- package/dist/chunks/{pty-6n9a7w7g.js → permission-mz4kmcba.js} +13 -13
- package/dist/chunks/{pty-0rd9v16n.js → permission-mzx6x42j.js} +4 -4
- package/dist/chunks/{pty-xp8zvqfe.js → permission-n13xy5gs.js} +20 -20
- package/dist/chunks/{pty-5dkz921g.js → permission-n46gggy7.js} +26 -26
- package/dist/chunks/{pty-h64tyvph.js → permission-n7embg6n.js} +3 -3
- package/dist/chunks/{pty-pdg35gy8.js → permission-ndpqedqn.js} +6 -6
- package/dist/chunks/{pty-11dqjexa.js → permission-njhqdk9p.js} +9 -9
- package/dist/chunks/{pty-856c6xfq.js → permission-npw43t42.js} +23 -23
- package/dist/chunks/{pty-nq7qbqzc.js → permission-nq7qbqzc.js} +2 -2
- package/dist/chunks/{pty-h6r3nrb9.js → permission-nzyhnfxz.js} +4 -4
- package/dist/chunks/{pty-xxpn3ren.js → permission-p0b2zqjw.js} +9 -9
- package/dist/chunks/{pty-qg5tx4hd.js → permission-p142c46b.js} +22 -22
- package/dist/chunks/{pty-jppvw2tx.js → permission-p28j5sbe.js} +4 -3
- package/dist/chunks/{pty-9hn6k4tm.js → permission-p37cw4rj.js} +8 -8
- package/dist/chunks/{pty-6e1261xp.js → permission-p37t57k6.js} +30 -30
- package/dist/chunks/{pty-51rpk3dg.js → permission-p59p7628.js} +50 -50
- package/dist/chunks/{pty-z8kyv3b2.js → permission-p9b684vp.js} +28 -28
- package/dist/chunks/{pty-phz3h32g.js → permission-phz3h32g.js} +1 -1
- package/dist/chunks/{pty-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{pty-63kpjth9.js → permission-q58mka6k.js} +9 -9
- package/dist/chunks/{pty-zwejzy2c.js → permission-q5f78nfd.js} +20 -20
- package/dist/chunks/{pty-q5rhn9x0.js → permission-q8ym26hm.js} +10 -10
- package/dist/chunks/{pty-wfex9hf5.js → permission-qa9q1t1p.js} +11 -11
- package/dist/chunks/{pty-0jwsre1p.js → permission-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-qnk3khrz.js → permission-qhdvq0hw.js} +15 -15
- package/dist/chunks/{pty-xfkkasph.js → permission-qqeeq2t9.js} +7 -7
- package/dist/chunks/{pty-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-ykyjdacj.js → permission-qtxdprvc.js} +5 -5
- package/dist/chunks/{pty-9p1nr3wb.js → permission-r1xk49fk.js} +12 -12
- package/dist/chunks/{pty-gaf2f4t8.js → permission-r625ap1a.js} +18 -18
- package/dist/chunks/{pty-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-207ajt2h.js → permission-rmk2c50f.js} +5 -5
- package/dist/chunks/{pty-ffc9mvrz.js → permission-sw1r8dnw.js} +40 -40
- package/dist/chunks/{pty-bnepd0n1.js → permission-sxhe0pgm.js} +44 -44
- package/dist/chunks/{pty-g8d3gcyj.js → permission-sxz6gkc3.js} +4 -4
- package/dist/chunks/{pty-9zct7zr5.js → permission-syzxh1k3.js} +37 -37
- package/dist/chunks/{pty-wndtrgrh.js → permission-szmwe7ed.js} +10 -10
- package/dist/chunks/{pty-jtr1btwa.js → permission-t78cchjs.js} +17 -17
- package/dist/chunks/{pty-9mjv2j5h.js → permission-ta7nbbm7.js} +9 -9
- package/dist/chunks/{pty-zncxtbv1.js → permission-tar81kad.js} +14 -14
- package/dist/chunks/{pty-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-0gq5ttfh.js → permission-tb8g5xe7.js} +11 -11
- package/dist/chunks/{pty-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{pty-12b8t429.js → permission-tevt2hwp.js} +17 -17
- package/dist/chunks/{pty-4w5f3qm5.js → permission-thjxzeng.js} +8 -8
- package/dist/chunks/{pty-wcy10hea.js → permission-tpdj9sck.js} +6 -6
- package/dist/chunks/{pty-1ajp4aa7.js → permission-tpxv5eqt.js} +6 -6
- package/dist/chunks/{pty-tvtrv512.js → permission-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-935t04zr.js → permission-twbrtgyh.js} +6 -6
- package/dist/chunks/{pty-t0fxg8b9.js → permission-tz2bjj40.js} +5 -5
- package/dist/chunks/{pty-e5menjtj.js → permission-v0thav0a.js} +19 -19
- package/dist/chunks/{pty-wv40thab.js → permission-v285gz14.js} +9 -9
- package/dist/chunks/{pty-km08fevc.js → permission-v2q51gh1.js} +9 -9
- package/dist/chunks/{pty-10f3mqse.js → permission-v3krke1w.js} +29 -29
- package/dist/chunks/{pty-tn5bgys5.js → permission-v5c5r86a.js} +5 -5
- package/dist/chunks/{pty-f9spf006.js → permission-vdqc3ek9.js} +32 -32
- package/dist/chunks/{pty-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-khny7pv9.js → permission-vjwzxdnh.js} +26 -26
- package/dist/chunks/{pty-a3r4dcrj.js → permission-vmgq4x8b.js} +2 -2
- package/dist/chunks/{pty-ybhbtxjg.js → permission-vmwh049b.js} +6 -6
- package/dist/chunks/{pty-5019jpyd.js → permission-vqhvjsk9.js} +16 -16
- package/dist/chunks/{pty-mgpyxjx6.js → permission-vqzqm7px.js} +11 -11
- package/dist/chunks/{pty-p9dw02ep.js → permission-vwa7vyvt.js} +22 -21
- package/dist/chunks/{pty-vzcthcp8.js → permission-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-marnn1hp.js → permission-waa9wdep.js} +9 -9
- package/dist/chunks/{pty-yjptyezs.js → permission-wbkyxrgf.js} +5 -5
- package/dist/chunks/{pty-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{pty-2c4g75ke.js → permission-we894vxs.js} +25 -25
- package/dist/chunks/{pty-p2vgnhh6.js → permission-wg07ty1b.js} +25 -25
- package/dist/chunks/{pty-8pmgwz46.js → permission-wkwqyyf5.js} +32 -32
- package/dist/chunks/{pty-mjyryqn6.js → permission-wm68x9x4.js} +9 -9
- package/dist/chunks/{pty-92aty353.js → permission-wp67pyg1.js} +6 -6
- package/dist/chunks/{pty-8rt8k92t.js → permission-ws29f804.js} +11 -11
- package/dist/chunks/{pty-x1ezjp6w.js → permission-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-b5ymaj20.js → permission-x3t5tycm.js} +9 -9
- package/dist/chunks/{pty-x1gfpc1p.js → permission-x6h4pr1d.js} +35 -35
- package/dist/chunks/{pty-p5m64j98.js → permission-xdx01fwx.js} +5 -5
- package/dist/chunks/{pty-svvemcs6.js → permission-xeb4646h.js} +8 -8
- package/dist/chunks/{pty-yjq1h8wq.js → permission-xfc78b52.js} +8 -8
- package/dist/chunks/{pty-f59eyknk.js → permission-xgwdmr5b.js} +4 -4
- package/dist/chunks/{pty-b4h1fdev.js → permission-xv2yt9n7.js} +47 -47
- package/dist/chunks/{pty-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-dpkg50ah.js → permission-y71avatq.js} +4 -4
- package/dist/chunks/{pty-zyyjv7w6.js → permission-yenmzpw4.js} +7 -7
- package/dist/chunks/{pty-yrhqyw5v.js → permission-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → permission-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-04h47jdz.js → permission-yyxpaty5.js} +18 -18
- package/dist/chunks/{pty-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-jnwk8z6k.js → permission-z0xds83t.js} +35 -35
- package/dist/chunks/{pty-z63w68vq.js → permission-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-3pszy94w.js → permission-zbh0y81c.js} +11 -11
- package/dist/chunks/{pty-apyk6ttn.js → permission-zbwdxxkq.js} +3 -3
- package/dist/chunks/{pty-nvv66n76.js → permission-zcqjyxv6.js} +15 -15
- package/dist/chunks/{pty-zeh9ct20.js → permission-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-8s8mxddj.js → permission-zj09a0ew.js} +4 -4
- package/dist/chunks/{pty-gwydwvmj.js → permission-zq6stcrg.js} +8 -8
- package/dist/chunks/{pty-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-56caj4g6.js → permission-zrefyrxc.js} +20 -20
- package/dist/chunks/{pty-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +119 -119
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +147 -147
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/pty-1tm0r3ht.js +0 -4
- package/dist/chunks/pty-pp2ytsmc.js +0 -252
- package/dist/chunks/pty-pysn9s93.js +0 -26
- /package/dist/chunks/{pty-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → permission-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → permission-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → permission-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → permission-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-md2fxt01.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service31,
|
|
13
|
+
node34
|
|
14
|
+
} from "./permission-6bz791bh.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./permission-n46gggy7.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions2 = {};
|
|
@@ -65,14 +65,14 @@ var update = (previous, current) => {
|
|
|
65
65
|
class Service25 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
67
|
var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
68
|
-
const mcp = yield*
|
|
68
|
+
const mcp = yield* Service31;
|
|
69
69
|
return Service25.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
74
|
const source = (value) => make21({
|
|
75
|
-
key:
|
|
75
|
+
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -90,7 +90,7 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var node28 = makeLocationNode({ service: Service25, layer: layer10, deps: [
|
|
103
|
+
var node28 = makeLocationNode({ service: Service25, layer: layer10, deps: [node34] });
|
|
104
104
|
|
|
105
105
|
export { Service25, layer10, node28, exports_instructions2 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
15
|
-
import {
|
|
16
|
-
Service45,
|
|
17
|
-
node49
|
|
18
|
-
} from "./pty-63kpjth9.js";
|
|
14
|
+
} from "./permission-rdw6cm16.js";
|
|
19
15
|
import {
|
|
20
16
|
Service72,
|
|
21
17
|
node76
|
|
22
|
-
} from "./
|
|
18
|
+
} from "./permission-q58mka6k.js";
|
|
19
|
+
import {
|
|
20
|
+
Service83,
|
|
21
|
+
node87
|
|
22
|
+
} from "./permission-thjxzeng.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service71,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node75
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service71 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(Service71, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service83;
|
|
58
|
+
const image = yield* Service72;
|
|
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(Service44, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service71.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -272,10 +272,10 @@ function namespaceError(name) {
|
|
|
272
272
|
return;
|
|
273
273
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
274
274
|
}
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node75 = makeLocationNode({
|
|
276
|
+
service: Service71,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node87, node76]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { RegistrationError2,
|
|
281
|
+
export { RegistrationError2, Service71, node75, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./permission-z0xds83t.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID7.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./permission-08nwsgbb.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service70,
|
|
17
|
+
node: () => node74
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service70 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service82).db;
|
|
26
|
+
return Service70.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node86] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service70, node74, exports_kv };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin36,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin36 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin18 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin36, exports_opencode };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./permission-4vyg6ytn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-f2k13p5x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./permission-3bh2hs5e.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./permission-md2fxt01.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./permission-kqqbj3xh.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
28
|
Input: () => Input3,
|
|
29
29
|
Output: () => Output3,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin35,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
32
|
name: () => name3,
|
|
33
33
|
toModelContent: () => toModelContent2
|
|
@@ -49,14 +49,14 @@ var Output3 = Schema.Struct({
|
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin35 = {
|
|
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* Service15;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service55;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service74;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
61
|
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export { name3, Input3, Output3, toModelContent2,
|
|
101
|
+
export { name3, Input3, Output3, toModelContent2, Plugin35, exports_write };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./permission-29dqn0y6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service31,
|
|
7
|
+
node34
|
|
8
|
+
} from "./permission-6bz791bh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node78
|
|
12
|
+
} from "./permission-md2fxt01.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service71,
|
|
15
|
+
node75
|
|
16
|
+
} from "./permission-mty4n9q8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
25
|
Service: () => Service30,
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
layer: () => layer13,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
29
|
node: () => node33
|
|
30
30
|
});
|
|
@@ -33,15 +33,15 @@ import { McpEvent } from "@opencode/schema/mcp-event";
|
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
38
|
class Service30 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service31;
|
|
42
|
+
const tools = yield* Service71;
|
|
43
|
+
const bus = yield* Service81;
|
|
44
|
+
const permission = yield* Service74;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -122,8 +122,8 @@ var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
var node33 = makeLocationNode({
|
|
124
124
|
service: Service30,
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
125
|
+
layer: layer13,
|
|
126
|
+
deps: [node75, node34, node85, node78]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service30, layer13, node33, exports_mcp3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-xv2yt9n7.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-vjwzxdnh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID12.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node6, exports_update };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./permission-29dqn0y6.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./permission-hf5dqg4e.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info17,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service49,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info17, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service49 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
|
+
const bus = yield* Service81;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info17));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service49.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node51 = makeLocationNode({
|
|
168
|
+
service: Service49,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node82, node85]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info17, Mode2, DiffError2, Service49, node51, exports_vcs };
|