@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,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./permission-29dqn0y6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node74
|
|
8
|
+
} from "./permission-mz4kmcba.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event17,
|
|
21
|
+
ID: () => ID11,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service69,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node73
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event17 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID11 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID11, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID11
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID11,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service69 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service81;
|
|
70
|
+
const kv = yield* Service70;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service69.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node73 = makeLocationNode({
|
|
188
|
+
service: Service69,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node85, node74]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID11, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service69, node73, exports_websearch3, Event17 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./permission-hf5dqg4e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service53,
|
|
12
|
+
node55
|
|
13
|
+
} from "./permission-73zhznt1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry4,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event9,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
|
|
|
31
31
|
Match: () => Match2,
|
|
32
32
|
NotFoundError: () => NotFoundError6,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service52,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node54
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -55,7 +55,7 @@ class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event9 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service52 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service78;
|
|
95
|
+
const search = yield* Service53;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service52.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
109
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node54 = makeLocationNode({
|
|
144
|
+
service: Service52,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node82, node55]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service52, node54, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./permission-08nwsgbb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service29 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make21({
|
|
65
|
-
key:
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service82;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service29.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node32, exports_instruction_entry };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./permission-hf5dqg4e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./permission-4vyg6ytn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service16,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-f2k13p5x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./permission-3bh2hs5e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service74
|
|
17
|
+
} from "./permission-md2fxt01.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service15,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-kqqbj3xh.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./permission-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input2,
|
|
34
|
+
Output: () => Output2,
|
|
35
|
+
Plugin: () => Plugin34,
|
|
36
|
+
name: () => name2
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name2 = "edit";
|
|
43
|
+
var Input2 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output2 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin34 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service15;
|
|
110
|
+
const fileMutation = yield* Service16;
|
|
111
|
+
const environment = yield* Service55;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
|
+
const location = yield* Service78;
|
|
114
|
+
const permission = yield* Service74;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name2,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input2,
|
|
120
|
+
output: Output2,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin20 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name2, Input2, Output2, Plugin34, exports_edit };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./permission-08nwsgbb.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service81,
|
|
10
|
+
node85
|
|
11
|
+
} from "./permission-29dqn0y6.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-5cmxdwv8.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./permission-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service38,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer17,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node40,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service38 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service82;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service81;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer17 = Layer.effect(Service38, make16());
|
|
231
|
+
var node40 = makeGlobalNode({ service: Service38, layer: layer17, deps: [node86, node85] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service38, make16, layer17, node40, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* ()
|
|
|
360
360
|
}, { discard: true });
|
|
361
361
|
});
|
|
362
362
|
yield* Effect.addFinalizer(() => closeAll);
|
|
363
|
-
return
|
|
363
|
+
return Service28.of({ bind, close, closeAll });
|
|
364
364
|
}));
|
|
365
|
-
var
|
|
365
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
366
366
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
367
367
|
})));
|
|
368
|
-
var
|
|
368
|
+
var node31 = makeGlobalNode({ service: Service28, layer: layer12, deps: [webSocketConstructor2] });
|
|
369
369
|
|
|
370
|
-
export {
|
|
370
|
+
export { Service28, makeLayer2, layer12, node31, exports_model_transport };
|