@opencode/core 0.0.0-dev-19985 → 0.0.0-dev-19987
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +3 -3
- package/dist/bus.js +72 -72
- package/dist/chunks/{filesystem-rk88yvf9.js → state-07pd4vcj.js} +10 -10
- package/dist/chunks/{filesystem-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-3wss6xvz.js → state-12n9xz34.js} +7 -7
- package/dist/chunks/{filesystem-dhwr7h25.js → state-13ggeyh8.js} +11 -11
- package/dist/chunks/{filesystem-awe63se0.js → state-14xcjfaz.js} +23 -23
- package/dist/chunks/{filesystem-yp2x3t23.js → state-1acjjqhc.js} +4 -4
- package/dist/chunks/{filesystem-73tb2d7t.js → state-1bbkgx8g.js} +3 -3
- package/dist/chunks/{filesystem-b8wc72va.js → state-1chcdynj.js} +7 -7
- package/dist/chunks/{filesystem-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-cwfj27x7.js → state-1j9zc48m.js} +3 -3
- package/dist/chunks/state-1tm0r3ht.js +4 -0
- package/dist/chunks/{filesystem-33w4ejhs.js → state-1ygqh575.js} +6 -6
- package/dist/chunks/{filesystem-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-pnv527nz.js → state-24dd53tp.js} +9 -9
- package/dist/chunks/{filesystem-6evbdv63.js → state-24r7k6mc.js} +18 -18
- package/dist/chunks/{filesystem-8jmaqybk.js → state-256nx13v.js} +3 -3
- package/dist/chunks/{filesystem-07770t2t.js → state-258tza17.js} +6 -6
- package/dist/chunks/{filesystem-frxaaayt.js → state-26makf88.js} +34 -34
- package/dist/chunks/{filesystem-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-mx9vqzsb.js → state-2a6rn6yr.js} +6 -6
- package/dist/chunks/{filesystem-tamkpa3n.js → state-2cqnphx6.js} +11 -11
- package/dist/chunks/{filesystem-4b3pvx7e.js → state-2df1zbc2.js} +30 -30
- package/dist/chunks/{filesystem-76nv9rak.js → state-2e69wwha.js} +24 -24
- package/dist/chunks/{filesystem-wgw4srnb.js → state-2fmt93mx.js} +23 -23
- package/dist/chunks/{filesystem-0x2h520v.js → state-35k05k98.js} +28 -28
- package/dist/chunks/{filesystem-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-k8hpw67k.js → state-3j9bgvtg.js} +5 -5
- package/dist/chunks/{filesystem-vmz6a58x.js → state-3p323ymy.js} +5 -5
- package/dist/chunks/{filesystem-76j10fxw.js → state-3rgktn1y.js} +3 -3
- package/dist/chunks/{filesystem-hw0j4jfr.js → state-3sdc9e54.js} +11 -11
- package/dist/chunks/{filesystem-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-2v3pyxh6.js → state-40rc7ac6.js} +8 -8
- package/dist/chunks/{filesystem-9afpsfvx.js → state-43n7bj9p.js} +19 -19
- package/dist/chunks/{filesystem-k9kj6xed.js → state-44ke2mar.js} +6 -6
- package/dist/chunks/{filesystem-4dgbcxzg.js → state-4dgbcxzg.js} +1 -1
- package/dist/chunks/{filesystem-2d0h499m.js → state-4dyvnqdf.js} +4 -4
- package/dist/chunks/{filesystem-w533tarm.js → state-4jm74est.js} +23 -23
- package/dist/chunks/{filesystem-mbac1kct.js → state-4rzsfdgf.js} +10 -10
- package/dist/chunks/{filesystem-57ez7d0k.js → state-4sn99hha.js} +7 -7
- package/dist/chunks/{filesystem-kx9spr8q.js → state-4vpwrdft.js} +12 -12
- package/dist/chunks/{filesystem-tz5abwqk.js → state-4ysqm8zf.js} +14 -14
- package/dist/chunks/{filesystem-gvn55taw.js → state-54tz6as1.js} +9 -9
- package/dist/chunks/{filesystem-dn3c2qc4.js → state-567a7rs0.js} +30 -30
- package/dist/chunks/{filesystem-d5nq0r8d.js → state-589961pp.js} +35 -35
- package/dist/chunks/{filesystem-88sz8qcd.js → state-5c0f1prt.js} +4 -4
- package/dist/chunks/{filesystem-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-dzc2vx4y.js → state-5g1k2x2w.js} +19 -19
- package/dist/chunks/{filesystem-4r6ztwym.js → state-5gt7xfyw.js} +11 -11
- package/dist/chunks/{filesystem-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
- package/dist/chunks/{filesystem-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-abm0rsa5.js → state-5vyyk18a.js} +25 -25
- package/dist/chunks/{filesystem-5xtgfte3.js → state-5yzzbxa7.js} +8 -8
- package/dist/chunks/{filesystem-8xwhmszd.js → state-63xxrs1k.js} +11 -11
- package/dist/chunks/{filesystem-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-2xr15r6z.js → state-68bmj4r5.js} +30 -30
- package/dist/chunks/{filesystem-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-2449akcn.js → state-6wdhtwwf.js} +21 -21
- package/dist/chunks/{filesystem-2jbnthh3.js → state-774g8ja7.js} +14 -14
- package/dist/chunks/{filesystem-v35f087t.js → state-7a0djmqj.js} +3 -3
- package/dist/chunks/{filesystem-6nkz7cqz.js → state-7bazm11g.js} +41 -41
- package/dist/chunks/{filesystem-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-2dayh34n.js → state-7bx1s60a.js} +76 -76
- package/dist/chunks/{filesystem-sexgt17t.js → state-7e0d1mpp.js} +3 -3
- package/dist/chunks/{filesystem-a3zv9t7g.js → state-7hvzkmeb.js} +8 -8
- package/dist/chunks/{filesystem-23sxaqwc.js → state-7w3s9kd0.js} +6 -6
- package/dist/chunks/{filesystem-2cwnbxh6.js → state-82gwmp8p.js} +15 -15
- package/dist/chunks/{filesystem-v7zj3nz5.js → state-85e1v2sb.js} +7 -7
- package/dist/chunks/{filesystem-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{filesystem-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-rddmyqfq.js → state-8h1rar5v.js} +26 -26
- package/dist/chunks/{filesystem-4gabqsjb.js → state-8nar0chc.js} +18 -18
- package/dist/chunks/{filesystem-8p4f9s12.js → state-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-jgqqmzrc.js → state-8xz4k282.js} +7 -7
- package/dist/chunks/{filesystem-mx3p2n25.js → state-920akmr8.js} +13 -13
- package/dist/chunks/{filesystem-d1r5081s.js → state-94s48bjb.js} +5 -5
- package/dist/chunks/{filesystem-w446yvqy.js → state-969v6yxw.js} +4 -4
- package/dist/chunks/{filesystem-0dy0awfd.js → state-9a3ps1ng.js} +60 -60
- package/dist/chunks/{filesystem-zfyhmt8d.js → state-9a5q7tkv.js} +24 -24
- package/dist/chunks/{filesystem-f8vvpw96.js → state-9bt3zpnc.js} +49 -49
- package/dist/chunks/{filesystem-arm41a3t.js → state-9gsqbh9p.js} +15 -15
- package/dist/chunks/{filesystem-56yns3xt.js → state-9q1s0tyn.js} +15 -15
- package/dist/chunks/{filesystem-afgm61tm.js → state-9wev4xx9.js} +10 -10
- package/dist/chunks/{filesystem-eyvfapca.js → state-9x6v8nxw.js} +25 -25
- package/dist/chunks/{filesystem-a1bz86dw.js → state-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-0tvmtyg9.js → state-a549hgdk.js} +22 -22
- package/dist/chunks/{filesystem-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/state-aee32p22.js +252 -0
- package/dist/chunks/{filesystem-af04s6ss.js → state-af04s6ss.js} +2 -2
- package/dist/chunks/{filesystem-q0sfhvah.js → state-aj2z9raa.js} +1 -1
- package/dist/chunks/{filesystem-6fatt4mk.js → state-ajdjch6h.js} +9 -9
- package/dist/chunks/{filesystem-35m7c38y.js → state-ajvrh1yc.js} +4 -4
- package/dist/chunks/{filesystem-wh4ahp02.js → state-amgg2zvk.js} +10 -10
- package/dist/chunks/{filesystem-793adb1z.js → state-axpfp605.js} +37 -37
- package/dist/chunks/{filesystem-z5dr2f93.js → state-b25x8xnb.js} +2 -2
- package/dist/chunks/{filesystem-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-a5w0czkv.js → state-b7ew3pv2.js} +67 -67
- package/dist/chunks/{filesystem-rc50wbp4.js → state-bbfste2n.js} +13 -13
- package/dist/chunks/{filesystem-cx1qg717.js → state-beg6ypph.js} +18 -18
- package/dist/chunks/{filesystem-vds9m2vb.js → state-bxa5630a.js} +9 -9
- package/dist/chunks/{filesystem-q3hac6h7.js → state-bzbmf0ke.js} +22 -22
- package/dist/chunks/{filesystem-f9hy97hv.js → state-ccfnnbbv.js} +11 -11
- package/dist/chunks/{filesystem-nw7zy85b.js → state-cdzfnnfc.js} +9 -9
- package/dist/chunks/{filesystem-cfpkc3c9.js → state-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-cq37gk0t.js → state-cq37gk0t.js} +4 -4
- package/dist/chunks/{filesystem-23pqda6t.js → state-cqg8v4c7.js} +6 -6
- package/dist/chunks/{filesystem-msvsfnt3.js → state-cvfdeyxj.js} +17 -17
- package/dist/chunks/{filesystem-f09mvmr0.js → state-dedzzeqk.js} +9 -9
- package/dist/chunks/{filesystem-stsqwfg0.js → state-dfeghqnh.js} +15 -15
- package/dist/chunks/{filesystem-zptm4m77.js → state-dsambs2d.js} +1 -1
- package/dist/chunks/{filesystem-08n7z093.js → state-dsybc7nn.js} +23 -23
- package/dist/chunks/{filesystem-hd4ggg0f.js → state-dx8srcfp.js} +27 -27
- package/dist/chunks/{filesystem-e6zry6hq.js → state-e0j28ztz.js} +16 -16
- package/dist/chunks/{filesystem-afed7ext.js → state-e23w9d35.js} +12 -12
- package/dist/chunks/{filesystem-xst10gja.js → state-e2ntgy55.js} +10 -10
- package/dist/chunks/{filesystem-3bjt0azc.js → state-e2qnmkmv.js} +19 -19
- package/dist/chunks/{filesystem-896e5whc.js → state-e5fdxfkw.js} +13 -13
- package/dist/chunks/{filesystem-ga28zqw9.js → state-ec6wrcn5.js} +27 -27
- package/dist/chunks/{filesystem-keat3kjn.js → state-ec87kc5z.js} +4 -4
- package/dist/chunks/{filesystem-efpdwb6x.js → state-ecneytc0.js} +19 -19
- package/dist/chunks/{filesystem-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-czx28beh.js → state-ejwjq12k.js} +33 -33
- package/dist/chunks/{filesystem-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{filesystem-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-ja4wy4ee.js → state-f35htakt.js} +9 -9
- package/dist/chunks/{filesystem-vsp1fds9.js → state-f3ngv102.js} +21 -21
- package/dist/chunks/{filesystem-f828m53h.js → state-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-m8btp16q.js → state-fa2zpvfy.js} +77 -77
- package/dist/chunks/{filesystem-6ysrkrkr.js → state-fw2v9256.js} +4 -4
- package/dist/chunks/{filesystem-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-5d7brjha.js → state-g4dbe96p.js} +19 -19
- package/dist/chunks/{filesystem-frcr067y.js → state-g61g38x8.js} +12 -12
- package/dist/chunks/{filesystem-xxnqz17r.js → state-g6rzw7q6.js} +27 -27
- package/dist/chunks/{filesystem-yfrapfkp.js → state-g82jw6gg.js} +4 -4
- package/dist/chunks/{filesystem-hc1m44b4.js → state-gc4k3fky.js} +23 -23
- package/dist/chunks/{filesystem-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-6n2xac0h.js → state-ggcakazf.js} +11 -11
- package/dist/chunks/{filesystem-djszqvmq.js → state-gjwgx2c5.js} +9 -9
- package/dist/chunks/{filesystem-50mvj34d.js → state-gmgjpvnn.js} +24 -24
- package/dist/chunks/{filesystem-kcvtahyt.js → state-gnrsfd5m.js} +28 -28
- package/dist/chunks/{filesystem-961777zn.js → state-grehnhs0.js} +5 -5
- package/dist/chunks/{filesystem-636h0e3e.js → state-grp8hrc0.js} +5 -5
- package/dist/chunks/{filesystem-b03343t8.js → state-gsm7z1g1.js} +13 -13
- package/dist/chunks/{filesystem-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-kgwkn692.js → state-h3c9f1nz.js} +11 -11
- package/dist/chunks/{filesystem-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-fpz3mx6x.js → state-h7dhztqn.js} +30 -30
- package/dist/chunks/{filesystem-4da2pd5b.js → state-hcp58akx.js} +41 -41
- package/dist/chunks/{filesystem-5yj9qr1n.js → state-hk9vqsvv.js} +9 -9
- package/dist/chunks/{filesystem-9kyyj4mw.js → state-hkcwzywy.js} +29 -29
- package/dist/chunks/{filesystem-7t5b4y9r.js → state-j2e42xvh.js} +17 -17
- package/dist/chunks/{filesystem-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-983we7ba.js → state-jdwnx8pe.js} +39 -39
- package/dist/chunks/{filesystem-yzs7269r.js → state-jf72b1az.js} +19 -19
- package/dist/chunks/{filesystem-sfpgy6fa.js → state-jf8j6bh6.js} +10 -10
- package/dist/chunks/{filesystem-c9vj76y8.js → state-jjd79y98.js} +15 -15
- package/dist/chunks/{filesystem-m5nhsqcp.js → state-jmp1cgqn.js} +30 -30
- package/dist/chunks/state-jqh9b0xq.js +18 -0
- package/dist/chunks/{filesystem-za9m4y5n.js → state-jt5zqcnj.js} +27 -27
- package/dist/chunks/{filesystem-mgmaefw5.js → state-jv4eadh7.js} +5 -5
- package/dist/chunks/{filesystem-y71avatq.js → state-jwcy2c2z.js} +4 -4
- package/dist/chunks/{filesystem-3casrxqv.js → state-jxkpjs94.js} +47 -47
- package/dist/chunks/{filesystem-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-8we60ned.js → state-k5ecf9q0.js} +39 -39
- package/dist/chunks/{filesystem-8cy2627w.js → state-k9eqq2e9.js} +14 -14
- package/dist/chunks/{filesystem-jm1e84c6.js → state-kd9z5t9k.js} +56 -56
- package/dist/chunks/{filesystem-k5gd0tq9.js → state-khdh8nas.js} +26 -26
- package/dist/chunks/{filesystem-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-dpahde6h.js → state-m3zza4qd.js} +5 -5
- package/dist/chunks/{filesystem-x0600czv.js → state-m7va1g8x.js} +2 -2
- package/dist/chunks/{filesystem-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-5hp81q23.js → state-maj0r7ss.js} +19 -19
- package/dist/chunks/{filesystem-e6mn5jv8.js → state-mb0j4q21.js} +8 -8
- package/dist/chunks/{filesystem-s7ctwtcq.js → state-mgaev69e.js} +20 -20
- package/dist/chunks/{filesystem-gmrppb9j.js → state-mvbvb2ym.js} +4 -4
- package/dist/chunks/{filesystem-m4wqnv6z.js → state-n0h0amn2.js} +29 -29
- package/dist/chunks/{filesystem-6f2z4ez9.js → state-n3xehdaz.js} +10 -10
- package/dist/chunks/{filesystem-an5w92pz.js → state-nbhnp41v.js} +16 -16
- package/dist/chunks/{filesystem-70c5k9gj.js → state-ncvzejv0.js} +21 -21
- package/dist/chunks/{filesystem-738dabjt.js → state-nejw5358.js} +23 -23
- package/dist/chunks/{filesystem-gmtyk6kh.js → state-nfafr5xt.js} +9 -9
- package/dist/chunks/{filesystem-wkjja0pr.js → state-nj0t66hd.js} +9 -9
- package/dist/chunks/{filesystem-yq3qxe3q.js → state-p0smjn4a.js} +45 -45
- package/dist/chunks/{filesystem-tbz0fdvh.js → state-p28j5sbe.js} +5 -5
- package/dist/chunks/{filesystem-qx5d9ajw.js → state-p6hvzet5.js} +5 -5
- package/dist/chunks/{filesystem-7sykw5ek.js → state-p7kban1t.js} +22 -22
- package/dist/chunks/{filesystem-7m1b5r48.js → state-pdb37evm.js} +10 -10
- package/dist/chunks/{filesystem-kc6s93qx.js → state-phjaars8.js} +6 -6
- package/dist/chunks/{filesystem-hg14h15t.js → state-pjd8p6gf.js} +38 -38
- package/dist/chunks/{filesystem-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-4e8vs6eh.js → state-pnaxc6j9.js} +8 -8
- package/dist/chunks/{filesystem-97t23ph8.js → state-pnrmr4rz.js} +5 -5
- package/dist/chunks/{filesystem-px2be73x.js → state-pwr8kbjj.js} +12 -12
- package/dist/chunks/{filesystem-cqh9r0f6.js → state-q8m5at2c.js} +3 -3
- package/dist/chunks/{filesystem-z5614h9q.js → state-qbke3kgq.js} +22 -22
- package/dist/chunks/{filesystem-ws621yd9.js → state-qdjw24f7.js} +42 -42
- package/dist/chunks/{filesystem-jfxzdpts.js → state-qe2799nx.js} +27 -27
- package/dist/chunks/{filesystem-7dqw4kz8.js → state-qgn6gcr1.js} +5 -5
- package/dist/chunks/{filesystem-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-arssbyta.js → state-qt4daa5e.js} +37 -37
- package/dist/chunks/{filesystem-91p1v22t.js → state-qvb3nf84.js} +8 -8
- package/dist/chunks/{filesystem-w94kskkz.js → state-qvtz2jxg.js} +5 -5
- package/dist/chunks/state-r6zy1qmr.js +26 -0
- package/dist/chunks/{filesystem-0v53mg2y.js → state-r98e92ep.js} +4 -4
- package/dist/chunks/{filesystem-a2ew8a62.js → state-ratrq7cm.js} +4 -4
- package/dist/chunks/{filesystem-v8g5y6jd.js → state-rdvzw9t8.js} +15 -15
- package/dist/chunks/{filesystem-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-rhjbct0v.js → state-rhjbct0v.js} +1 -1
- package/dist/chunks/{filesystem-sds3e13g.js → state-rs95eanb.js} +25 -25
- package/dist/chunks/{filesystem-jyvd2mgh.js → state-rvaqgq0f.js} +6 -6
- package/dist/chunks/{filesystem-vvax6fjg.js → state-rzd4jsfj.js} +11 -11
- package/dist/chunks/{filesystem-hjxgxr48.js → state-s3qbv9e3.js} +12 -12
- package/dist/chunks/{filesystem-e0sna5fv.js → state-s418py6z.js} +44 -44
- package/dist/chunks/{filesystem-m4q3p37a.js → state-s8a6xw4k.js} +13 -13
- package/dist/chunks/{filesystem-asp0ht71.js → state-sat5e2rs.js} +4 -4
- package/dist/chunks/{filesystem-wxr37xc2.js → state-satmk7yw.js} +5 -5
- package/dist/chunks/{filesystem-1a3s12px.js → state-shqb7w7j.js} +11 -11
- package/dist/chunks/{filesystem-gex21hkg.js → state-stxdqzsk.js} +21 -21
- package/dist/chunks/{filesystem-36ckcbr5.js → state-t8rwn89y.js} +50 -50
- package/dist/chunks/{filesystem-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-ew7hwn7j.js → state-td6ehhd6.js} +11 -11
- package/dist/chunks/{filesystem-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-j5rxtxht.js → state-tjedn1bk.js} +4 -4
- package/dist/chunks/{filesystem-vvk3ve44.js → state-tkwnk4jh.js} +7 -7
- package/dist/chunks/{filesystem-ag9w8cw1.js → state-tn0aqsam.js} +5 -5
- package/dist/chunks/{filesystem-mt9bxwhn.js → state-tnwmy3fn.js} +3 -3
- package/dist/chunks/{filesystem-19a9vrq3.js → state-tpjhxhtx.js} +3 -3
- package/dist/chunks/{filesystem-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-zhm4m9p9.js → state-tz4g707y.js} +35 -35
- package/dist/chunks/{filesystem-8p6xzk0z.js → state-v51m7ygs.js} +8 -8
- package/dist/chunks/{filesystem-vh4qwyhx.js → state-vcb4zatg.js} +7 -7
- package/dist/chunks/{filesystem-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-2dp8p6n2.js → state-vfqx7caj.js} +11 -11
- package/dist/chunks/{filesystem-yad5pthg.js → state-vjbq76n5.js} +24 -24
- package/dist/chunks/{filesystem-dqnhf5ps.js → state-vmea8g6y.js} +13 -13
- package/dist/chunks/{filesystem-rdnhh455.js → state-vmvde4w9.js} +16 -16
- package/dist/chunks/{filesystem-1xgad0ca.js → state-vq0pq1hf.js} +10 -10
- package/dist/chunks/{filesystem-e85wkba2.js → state-vsgqqedx.js} +10 -10
- package/dist/chunks/{filesystem-bddt2pqj.js → state-vtt0yr3x.js} +12 -12
- package/dist/chunks/{filesystem-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-jkayeeaj.js → state-w1vgrpj6.js} +3 -3
- package/dist/chunks/{filesystem-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-gkxywbd8.js → state-w94gdkfg.js} +6 -6
- package/dist/chunks/{filesystem-04k65yr5.js → state-wavy99wc.js} +6 -6
- package/dist/chunks/{filesystem-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-0xr2qn80.js → state-wday4843.js} +11 -11
- package/dist/chunks/{filesystem-wxnh3zbj.js → state-ww9qvp54.js} +5 -5
- package/dist/chunks/{filesystem-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-tb6t8ms4.js → state-x392k3xw.js} +15 -15
- package/dist/chunks/{filesystem-enxmvdqw.js → state-x6zehq8q.js} +22 -22
- package/dist/chunks/{filesystem-s5kb3k8e.js → state-x704vwdd.js} +12 -12
- package/dist/chunks/{filesystem-xfkkasph.js → state-xfkkasph.js} +1 -1
- package/dist/chunks/{filesystem-4wgmm2fj.js → state-xgq75542.js} +4 -4
- package/dist/chunks/{filesystem-464d904a.js → state-xk69ahjq.js} +177 -177
- package/dist/chunks/{filesystem-w82fgawr.js → state-xns7fgqg.js} +3 -3
- package/dist/chunks/{filesystem-1r0xw8d8.js → state-xsjeyn3d.js} +22 -22
- package/dist/chunks/{filesystem-dwy07qr3.js → state-xxbqrttr.js} +24 -24
- package/dist/chunks/{filesystem-bb2n5bqw.js → state-xzx5fa3q.js} +50 -50
- package/dist/chunks/{filesystem-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-prryh28n.js → state-ydm596x3.js} +14 -14
- package/dist/chunks/{filesystem-zx5z6yb5.js → state-ye639aav.js} +19 -19
- package/dist/chunks/{filesystem-vmq7ehpy.js → state-yjptyezs.js} +5 -5
- package/dist/chunks/{filesystem-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-s4enseaf.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-dw1hb3qg.js → state-z24r31ms.js} +26 -26
- package/dist/chunks/{filesystem-vgrtq7ff.js → state-z2v46jm6.js} +18 -18
- package/dist/chunks/{filesystem-k7myrtme.js → state-z3nay82g.js} +9 -9
- package/dist/chunks/{filesystem-d9rbnbyj.js → state-z45g6xtg.js} +319 -319
- package/dist/chunks/{filesystem-29x78va6.js → state-z63w68vq.js} +6 -6
- package/dist/chunks/{filesystem-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-71k5223z.js → state-zepzj8t0.js} +28 -28
- package/dist/chunks/{filesystem-q7rwn2x2.js → state-zghndv56.js} +20 -20
- package/dist/chunks/{filesystem-ggq5dcm3.js → state-zh2phv9k.js} +5 -5
- package/dist/chunks/{filesystem-q3bxgjqn.js → state-zh7z2axx.js} +4 -4
- package/dist/chunks/{filesystem-scq4khx8.js → state-zhq6vg7a.js} +1 -1
- package/dist/chunks/{filesystem-rzfg7075.js → state-zj8f3y17.js} +26 -26
- package/dist/chunks/{filesystem-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-kne8f3cn.js → state-zvt5dnpc.js} +4 -4
- package/dist/chunks/{filesystem-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-2178wyr2.js → state-zz26p3g5.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +211 -211
- 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 +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +121 -121
- 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 +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +104 -104
- 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 +360 -360
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- 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 +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +97 -97
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- 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 +93 -93
- 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 +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +94 -94
- 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 +82 -82
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +83 -83
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- 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 +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +93 -93
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- 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 +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- 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 +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- 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 +5 -5
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/filesystem-0mesazry.js +0 -4
- package/dist/chunks/filesystem-by5v678g.js +0 -18
- package/dist/chunks/filesystem-tr8yqx4d.js +0 -252
- package/dist/chunks/filesystem-w3te818p.js +0 -26
- /package/dist/chunks/{filesystem-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-tnwmy3fn.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service81,
|
|
10
|
+
node85
|
|
11
|
+
} from "./state-s3qbv9e3.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-256nx13v.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_inbox, {
|
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service45,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -47,10 +47,10 @@ __export(exports_inbox, {
|
|
|
47
47
|
has: () => has2,
|
|
48
48
|
layer: () => layer18,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node47,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -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 Service45 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
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)
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer18 = Layer.effect(
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service45, make16());
|
|
231
|
+
var node47 = makeGlobalNode({ service: Service45, layer: layer18, deps: [node88, 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, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service45, make16, layer18, node47, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./state-zghndv56.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./state-2a6rn6yr.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service47;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./state-s3qbv9e3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./state-stxdqzsk.js";
|
|
7
7
|
import {
|
|
8
8
|
Error2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-p7kban1t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./state-x704vwdd.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-f35htakt.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-mvbvb2ym.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-xns7fgqg.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service81;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service48;
|
|
58
|
+
const toolOutput = yield* Service49;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
209
209
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
export { Outcome2,
|
|
212
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-f35htakt.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-9a3ps1ng.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-dsybc7nn.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-8xz4k282.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./state-s3qbv9e3.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./state-e0j28ztz.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service73,
|
|
20
|
+
node77,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-z24r31ms.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,15 +32,15 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node76,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
@@ -48,7 +48,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
50
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
-
var
|
|
51
|
+
var ID11 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info25 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service73;
|
|
65
|
+
const bus = yield* Service81;
|
|
66
|
+
const location = yield* Service78;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service72.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node77, node85, node82] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-n0h0amn2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./state-9bt3zpnc.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-rvaqgq0f.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service52;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID11.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make4();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make4, OllamaPlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./state-z3nay82g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./state-2a6rn6yr.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-jqh9b0xq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./state-pnaxc6j9.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-f35htakt.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service51
|
|
23
|
+
} from "./state-x6zehq8q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service47;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service70;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service51;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service55;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./state-s3qbv9e3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./state-jt5zqcnj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-dsybc7nn.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-4dgbcxzg.js";
|
|
15
15
|
import {
|
|
16
16
|
Service15
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-fw2v9256.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
mergeOverlay2,
|
|
21
21
|
mergeHeaders2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-z24r31ms.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
ID3,
|
|
25
|
+
Input13,
|
|
26
26
|
Response2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-qe2799nx.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/opencode.ts
|
|
30
30
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
|
|
|
39
39
|
var RemoteResponse = Schema.Struct({
|
|
40
40
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
41
41
|
websearch: Schema.Struct({
|
|
42
|
-
providerID:
|
|
42
|
+
providerID: ID3
|
|
43
43
|
}).pipe(Schema.optional),
|
|
44
44
|
experimental: Schema.Struct({
|
|
45
45
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
64
64
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
65
65
|
function oauth(http) {
|
|
66
66
|
return {
|
|
67
|
-
integrationID:
|
|
67
|
+
integrationID: ID13.make("opencode"),
|
|
68
68
|
method: {
|
|
69
69
|
id: methodID,
|
|
70
70
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ function oauth(http) {
|
|
|
118
118
|
var OpencodePlugin2 = define({
|
|
119
119
|
id: "opencode.provider.opencode",
|
|
120
120
|
effect: Effect.fn(function* (ctx) {
|
|
121
|
-
const bus = yield*
|
|
121
|
+
const bus = yield* Service81;
|
|
122
122
|
const http = yield* HttpClient.HttpClient;
|
|
123
123
|
const managed = yield* Service15;
|
|
124
124
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
|
|
|
153
153
|
providers.update(providerID, (provider) => {
|
|
154
154
|
if (source && source.provider !== provider)
|
|
155
155
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
156
|
-
provider.integrationID =
|
|
156
|
+
provider.integrationID = ID13.make("opencode");
|
|
157
157
|
if (item.canonical !== undefined)
|
|
158
158
|
provider.canonical = item.canonical;
|
|
159
159
|
if (item.name !== undefined)
|
|
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
|
|
|
223
223
|
sourceConnection: snapshot.connection
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
const item = providers.get(
|
|
226
|
+
const item = providers.get(ID12.opencode);
|
|
227
227
|
if (!item)
|
|
228
228
|
return;
|
|
229
229
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
|
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
const item = models.provider.get(
|
|
238
|
+
const item = models.provider.get(ID12.opencode);
|
|
239
239
|
if (!item)
|
|
240
240
|
return;
|
|
241
241
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
|
|
|
269
269
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
270
270
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
271
271
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
272
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
272
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
273
273
|
query: input.query,
|
|
274
274
|
providerID: descriptor.providerID
|
|
275
275
|
}));
|
|
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
|
|
|
291
291
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
292
292
|
});
|
|
293
293
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
294
|
-
yield* bus.subscribe(
|
|
294
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
295
295
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
296
296
|
})
|
|
297
297
|
});
|