@opencode/core 0.0.0-dev-20807 → 0.0.0-dev-20810
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{form-wq47jxww.js → schema-01tebjt2.js} +4 -4
- package/dist/chunks/{form-vp0gkghg.js → schema-0cpa7f6c.js} +14 -14
- package/dist/chunks/{form-gdwygsj8.js → schema-0h1mm7qe.js} +5 -5
- package/dist/chunks/{form-8y2wjat6.js → schema-0hsd46jk.js} +42 -42
- package/dist/chunks/{form-azyewnfm.js → schema-0p1vh52y.js} +2 -2
- package/dist/chunks/{form-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-rwvz118r.js → schema-0r1cr89s.js} +18 -18
- package/dist/chunks/{form-qne3fa44.js → schema-0r3c1bmw.js} +5 -5
- package/dist/chunks/{form-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-429sx3jw.js → schema-0yttm9vb.js} +18 -18
- package/dist/chunks/{form-vreqx49f.js → schema-12ve6aey.js} +26 -26
- package/dist/chunks/{form-346kzjtb.js → schema-16dqk34s.js} +4 -4
- package/dist/chunks/{form-6qcetts1.js → schema-1ajmp50w.js} +23 -23
- package/dist/chunks/{form-bjx1sjef.js → schema-1ffvrpkg.js} +6 -6
- package/dist/chunks/{form-dta6ba7f.js → schema-1gqdmt0p.js} +15 -15
- package/dist/chunks/{form-tk14y25j.js → schema-1pxz8ven.js} +5 -5
- package/dist/chunks/{form-tz1x93sf.js → schema-1te6z1br.js} +8 -8
- package/dist/chunks/{form-0mfehv6g.js → schema-1z7pb0k6.js} +5 -5
- package/dist/chunks/{form-jvhddpw9.js → schema-1zf0w0mf.js} +3 -3
- package/dist/chunks/{form-ed0hxk4d.js → schema-24f8gbsn.js} +24 -24
- package/dist/chunks/{form-5dyt76wc.js → schema-24kngg5a.js} +11 -11
- package/dist/chunks/{form-6a4apkvg.js → schema-25tm57nk.js} +16 -16
- package/dist/chunks/{form-b3cwmgw3.js → schema-29bfqbba.js} +9 -9
- package/dist/chunks/{form-hes7g59n.js → schema-2c3mwd6h.js} +31 -31
- package/dist/chunks/{form-ck9627yz.js → schema-2jbq5rvd.js} +24 -24
- package/dist/chunks/{form-q0vhpe4t.js → schema-2s1tt141.js} +31 -31
- package/dist/chunks/{form-2vvh33eb.js → schema-2vvh33eb.js} +2 -2
- package/dist/chunks/{form-qxk5mzbz.js → schema-31b2zrgz.js} +13 -13
- package/dist/chunks/{form-h7s7r6s9.js → schema-31xfzrxg.js} +5 -5
- package/dist/chunks/{form-h2b79v29.js → schema-3cegwx68.js} +2 -2
- package/dist/chunks/{form-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-e2c4hctk.js → schema-3g5be3ey.js} +13 -13
- package/dist/chunks/{form-jhdf29st.js → schema-3g8j9he4.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → schema-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-aabqwq3c.js → schema-3n0nfbrk.js} +18 -18
- package/dist/chunks/{form-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-bpk5m3dg.js → schema-3xessxdn.js} +25 -25
- package/dist/chunks/{form-1d6vvqtz.js → schema-3xw42s60.js} +20 -20
- package/dist/chunks/{form-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-enrvf7r1.js → schema-41j8cbkr.js} +23 -23
- package/dist/chunks/{form-4zz8q1dy.js → schema-4p5m0t87.js} +76 -76
- package/dist/chunks/{form-2ccvkpx1.js → schema-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-sr73km76.js → schema-4vf6p7z8.js} +20 -20
- package/dist/chunks/{form-zqzfpn6k.js → schema-52jn4qxr.js} +17 -17
- package/dist/chunks/{form-j8pqw26r.js → schema-52vty0jw.js} +6 -6
- package/dist/chunks/{form-54ma36ye.js → schema-54ma36ye.js} +1 -1
- package/dist/chunks/{form-b49r4qmh.js → schema-5en7z6zr.js} +9 -9
- package/dist/chunks/{form-8g79a0vq.js → schema-5gbr5t7g.js} +8 -8
- package/dist/chunks/{form-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-sr781ga4.js → schema-5mw5s2rh.js} +14 -14
- package/dist/chunks/{form-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-sa0etwzp.js → schema-5s0vrszx.js} +34 -34
- package/dist/chunks/{form-m21a3qzg.js → schema-5sbkfk9m.js} +37 -37
- package/dist/chunks/{form-gs3xh0nm.js → schema-5t3z26v9.js} +32 -32
- package/dist/chunks/{form-end0mr5f.js → schema-5x6dv44x.js} +11 -11
- package/dist/chunks/{form-qrvrewsy.js → schema-616sprd3.js} +10 -10
- package/dist/chunks/schema-619r8v3y.js +18 -0
- package/dist/chunks/{form-xsqdc333.js → schema-63gxtxwv.js} +27 -27
- package/dist/chunks/{form-x3gx8603.js → schema-6ehx317m.js} +8 -8
- package/dist/chunks/{form-djg17hnq.js → schema-6nd16mgq.js} +1 -1
- package/dist/chunks/{form-7g0z4cv8.js → schema-6wrgwmsx.js} +6 -6
- package/dist/chunks/{form-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-7y3ej9my.js → schema-6y44ky4y.js} +13 -13
- package/dist/chunks/{form-hsvj78er.js → schema-70p67exa.js} +57 -57
- package/dist/chunks/{form-cps6211c.js → schema-751h4z3b.js} +7 -7
- package/dist/chunks/{form-n6tn6hrh.js → schema-7951xmcm.js} +29 -29
- package/dist/chunks/{form-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-skwpzzw0.js → schema-7d29djek.js} +10 -10
- package/dist/chunks/{form-1z18ck0n.js → schema-7dy85ahw.js} +7 -7
- package/dist/chunks/{form-nc8ynfdm.js → schema-7fbbp2qf.js} +10 -10
- package/dist/chunks/{form-sfvmd51z.js → schema-7wy9ttat.js} +35 -35
- package/dist/chunks/{form-82v73sw7.js → schema-82v73sw7.js} +3 -3
- package/dist/chunks/{form-56x8a31a.js → schema-84045amf.js} +5 -5
- package/dist/chunks/{form-fh4ge1rm.js → schema-842tzcmm.js} +12 -12
- package/dist/chunks/{form-1dvck2a7.js → schema-84h8c373.js} +2 -2
- package/dist/chunks/{form-84txncab.js → schema-84txncab.js} +1 -1
- package/dist/chunks/{form-qabyx9xz.js → schema-8hh8rms7.js} +6 -6
- package/dist/chunks/{form-0zjqdwpn.js → schema-8hk55ja4.js} +32 -32
- package/dist/chunks/{form-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-nreerqaq.js → schema-8paj7kd6.js} +18 -18
- package/dist/chunks/{form-bw8hs0dd.js → schema-8rt53k6z.js} +3 -3
- package/dist/chunks/{form-7fkffz83.js → schema-8sze2n9a.js} +8 -8
- package/dist/chunks/{form-tk22tqem.js → schema-8w4cj8nh.js} +7 -7
- package/dist/chunks/{form-bz3n6346.js → schema-91efdwy5.js} +3 -3
- package/dist/chunks/{form-vrdveqzq.js → schema-94kgfjtq.js} +45 -45
- package/dist/chunks/{form-jb9trc97.js → schema-9eq4r153.js} +19 -19
- package/dist/chunks/{form-8nx8bvz8.js → schema-9n19sj5j.js} +24 -24
- package/dist/chunks/{form-ff52ws4f.js → schema-9wjarjqh.js} +29 -29
- package/dist/chunks/{form-qehvaept.js → schema-9z48nynt.js} +25 -25
- package/dist/chunks/{form-x661k3y3.js → schema-addxnjmp.js} +4 -4
- package/dist/chunks/{form-6xnkjpvb.js → schema-ajdwry64.js} +11 -11
- package/dist/chunks/schema-anxvsj3j.js +26 -0
- package/dist/chunks/{form-repwdqvh.js → schema-asbbxgy3.js} +12 -12
- package/dist/chunks/{form-q7cwvqv2.js → schema-avae2qkj.js} +18 -18
- package/dist/chunks/{form-fqk6jatp.js → schema-avk0gjvb.js} +14 -14
- package/dist/chunks/{form-qpg4nhh5.js → schema-b07tzjw9.js} +11 -11
- package/dist/chunks/{form-6ar05cbm.js → schema-b0agzzj4.js} +22 -22
- package/dist/chunks/{form-9bfc4y5b.js → schema-b476brms.js} +30 -30
- package/dist/chunks/{form-2kgbfk35.js → schema-b5111p8f.js} +5 -5
- package/dist/chunks/{form-j7qrg605.js → schema-b5763n3s.js} +11 -11
- package/dist/chunks/{form-fa87y3b2.js → schema-b5kphdjs.js} +15 -15
- package/dist/chunks/{form-byxz4q2b.js → schema-b6nnf8m3.js} +6 -6
- package/dist/chunks/{form-y78tw1r3.js → schema-b7bdwx76.js} +13 -13
- package/dist/chunks/{form-3nw81xsb.js → schema-b8k8fdv1.js} +30 -30
- package/dist/chunks/{form-qhzmnskm.js → schema-b9fnkeff.js} +13 -13
- package/dist/chunks/{form-g32fphz4.js → schema-bbnjbm8a.js} +11 -11
- package/dist/chunks/{form-34cd5hh2.js → schema-bc1esb7h.js} +47 -47
- package/dist/chunks/{form-7sfm1t78.js → schema-bcw02e1j.js} +49 -49
- package/dist/chunks/{form-452whvem.js → schema-bj3d59b5.js} +22 -22
- package/dist/chunks/{form-gyqy5ynx.js → schema-bqxzme6r.js} +12 -12
- package/dist/chunks/{form-r9w3djhf.js → schema-bydnjh3t.js} +9 -9
- package/dist/chunks/{form-r939q9f2.js → schema-c23p4ys2.js} +19 -19
- package/dist/chunks/{form-yd332jx1.js → schema-c3pxc7te.js} +22 -22
- package/dist/chunks/{form-dz82ykz5.js → schema-cbwad64w.js} +26 -26
- package/dist/chunks/{form-tx40bvt8.js → schema-d7tt0p63.js} +4 -4
- package/dist/chunks/{form-naa1sva5.js → schema-dhr2qr8g.js} +47 -47
- package/dist/chunks/{form-d4he2qe1.js → schema-djszqvmq.js} +9 -9
- package/dist/chunks/{form-9tv2jn71.js → schema-dnk41676.js} +44 -44
- package/dist/chunks/{form-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{form-5pyjqqve.js → schema-drnf6xwf.js} +2 -2
- package/dist/chunks/{form-mx0szq0w.js → schema-dsaykm6h.js} +11 -11
- package/dist/chunks/{form-rc0w2xfj.js → schema-dsm6mk11.js} +14 -14
- package/dist/chunks/{form-e4aj21xj.js → schema-e2vgrz0c.js} +331 -331
- package/dist/chunks/{form-r2z489rp.js → schema-e80seqcp.js} +3 -3
- package/dist/chunks/{form-eej6y6fw.js → schema-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-jbyejpvw.js → schema-enmwmtrr.js} +20 -20
- package/dist/chunks/{form-00rv01cy.js → schema-etmbekfa.js} +3 -3
- package/dist/chunks/{form-37yqfbeb.js → schema-even8thr.js} +31 -31
- package/dist/chunks/{form-pe0qafpd.js → schema-exvgxj6x.js} +9 -9
- package/dist/chunks/{form-nqa8btv9.js → schema-f0q60j9h.js} +18 -18
- package/dist/chunks/{form-9dr7s7bj.js → schema-f1t98d39.js} +13 -13
- package/dist/chunks/{form-yxr65j3v.js → schema-f2kjzyx7.js} +16 -16
- package/dist/chunks/{form-71az546q.js → schema-f75zav2x.js} +2 -2
- package/dist/chunks/{form-dgbm9y3x.js → schema-fj06szgc.js} +18 -18
- package/dist/chunks/{form-t0ewadmb.js → schema-fmcjp1ve.js} +27 -27
- package/dist/chunks/{form-ps9w4rmp.js → schema-fnkxn25c.js} +5 -5
- package/dist/chunks/{form-7td7z3fp.js → schema-fqq9xsk7.js} +17 -17
- package/dist/chunks/{form-fxaymqdw.js → schema-fxaymqdw.js} +1 -1
- package/dist/chunks/{form-kffe7xqh.js → schema-fxrw3q79.js} +23 -23
- package/dist/chunks/{form-0v4jh5wh.js → schema-fz27cwe3.js} +22 -22
- package/dist/chunks/{form-zpk4cdpr.js → schema-g0ktjft2.js} +21 -21
- package/dist/chunks/{form-p6mefd3v.js → schema-g3gkqvbz.js} +20 -20
- package/dist/chunks/{form-vbvznpsc.js → schema-g441sed7.js} +13 -13
- package/dist/chunks/{form-6qmwbcde.js → schema-g4njwx0b.js} +14 -14
- package/dist/chunks/{form-d7x0sh0y.js → schema-g686f6pq.js} +9 -9
- package/dist/chunks/{form-nz5a17rr.js → schema-gbgdjg8y.js} +46 -46
- package/dist/chunks/{form-2hg7qvzt.js → schema-gcavn3wx.js} +5 -5
- package/dist/chunks/{form-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-vzjdnfs3.js → schema-gh19h2nq.js} +1 -1
- package/dist/chunks/{form-5prq62k1.js → schema-ghyrxap0.js} +26 -26
- package/dist/chunks/{form-gk8qb678.js → schema-gk8qb678.js} +1 -1
- package/dist/chunks/{form-tydzfyyg.js → schema-gw62fr37.js} +25 -25
- package/dist/chunks/{form-907xmcwg.js → schema-gzpc0ern.js} +25 -25
- package/dist/chunks/{form-0m4y979k.js → schema-h3kn1xt9.js} +1 -1
- package/dist/chunks/{form-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-wf4634q4.js → schema-hc5b8hrn.js} +11 -11
- package/dist/chunks/{form-76bfnege.js → schema-hdta74m5.js} +15 -15
- package/dist/chunks/{form-hgz4x7wa.js → schema-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-hqs8cgch.js → schema-hmb281w1.js} +5 -5
- package/dist/chunks/{form-vwzv7zsf.js → schema-hnbkedn6.js} +11 -11
- package/dist/chunks/{form-dd3626pv.js → schema-hrvqnyz4.js} +17 -17
- package/dist/chunks/{form-ydgy0jv4.js → schema-htjw9qza.js} +6 -6
- package/dist/chunks/{form-xsbkytk1.js → schema-hweb1ns6.js} +9 -9
- package/dist/chunks/{form-hpvvz0t7.js → schema-j0gzcsx3.js} +11 -11
- package/dist/chunks/{form-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{form-ykmg72ng.js → schema-j92nemg4.js} +35 -35
- package/dist/chunks/{form-90m8vajs.js → schema-j9jte45y.js} +175 -175
- package/dist/chunks/{form-b6sscvmf.js → schema-jab3hz16.js} +48 -48
- package/dist/chunks/{form-z4v10rbr.js → schema-jy9tvk3y.js} +22 -22
- package/dist/chunks/{form-rd2n1npt.js → schema-k0r7s5gk.js} +22 -22
- package/dist/chunks/{form-hhyv66vq.js → schema-k5qw4hft.js} +8 -8
- package/dist/chunks/{form-9e5bzkjp.js → schema-kb9j3d72.js} +3 -3
- package/dist/chunks/{form-re6xefaf.js → schema-kc6mcnvt.js} +19 -19
- package/dist/chunks/{form-vrzt526f.js → schema-kecqjjhm.js} +5 -5
- package/dist/chunks/{form-hr579x6a.js → schema-kjap7t58.js} +93 -93
- package/dist/chunks/{form-eq1ww8dg.js → schema-kn9hkvj3.js} +4 -4
- package/dist/chunks/{form-by968z8v.js → schema-kxx577b5.js} +9 -9
- package/dist/chunks/{form-awme6kvv.js → schema-kzqm322s.js} +35 -35
- package/dist/chunks/{form-ph842b28.js → schema-m0r31qfn.js} +4 -4
- package/dist/chunks/{form-w36wqzqr.js → schema-m1vt9403.js} +11 -11
- package/dist/chunks/{form-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-0v7n9ydc.js → schema-m4crda45.js} +9 -9
- package/dist/chunks/{form-wrj7k67z.js → schema-m95zc4xf.js} +15 -15
- package/dist/chunks/{form-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-9bwjtz2n.js → schema-mdjyr85s.js} +32 -32
- package/dist/chunks/{form-g0nr56tp.js → schema-mf82c6q7.js} +15 -15
- package/dist/chunks/{form-3dr95xgy.js → schema-mgn9s9vj.js} +51 -51
- package/dist/chunks/{form-5me3ew8t.js → schema-mh4sfpe3.js} +36 -36
- package/dist/chunks/{form-vx3jgdek.js → schema-my4zabxr.js} +3 -3
- package/dist/chunks/{form-rdm3yed2.js → schema-mz7kcatz.js} +39 -39
- package/dist/chunks/{form-5dkn69vz.js → schema-n1n192bv.js} +4 -4
- package/dist/chunks/{form-m70sbz6t.js → schema-n4r3xatb.js} +4 -4
- package/dist/chunks/{form-fgzgh5km.js → schema-npz2prbw.js} +35 -35
- package/dist/chunks/{form-gfxj4jwb.js → schema-p253t8me.js} +11 -11
- package/dist/chunks/{form-vvtt3r92.js → schema-p7jqzqxf.js} +15 -15
- package/dist/chunks/{form-cm3zn5gm.js → schema-page4y1m.js} +36 -36
- package/dist/chunks/{form-6hjtb7g9.js → schema-pe5zqv13.js} +4 -4
- package/dist/chunks/{form-h9pnpq88.js → schema-pgp1nwjn.js} +4 -4
- package/dist/chunks/{form-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-kkpxd18v.js → schema-pkb9436j.js} +47 -47
- package/dist/chunks/{form-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{form-73kdj4zj.js → schema-pnaxc6j9.js} +4 -4
- package/dist/chunks/{form-2tz229t4.js → schema-ppm6d4hz.js} +5 -5
- package/dist/chunks/{form-5asn6ncy.js → schema-pthxb9ry.js} +32 -32
- package/dist/chunks/{form-0j77ygfz.js → schema-q0xm7vwc.js} +6 -6
- package/dist/chunks/{form-azfhg348.js → schema-q84ymcsc.js} +49 -49
- package/dist/chunks/{form-7dqw4kz8.js → schema-qgn6gcr1.js} +5 -5
- package/dist/chunks/{form-abywgaa9.js → schema-qjbhc1am.js} +23 -23
- package/dist/chunks/{form-76ns3xxg.js → schema-qmdebz4g.js} +3 -3
- package/dist/chunks/{form-twhwxvpf.js → schema-qmmh0qgx.js} +5 -5
- package/dist/chunks/{form-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-dnfex989.js → schema-qqqyvqxz.js} +23 -23
- package/dist/chunks/{form-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{form-b4gj2w69.js → schema-r4e3mj9w.js} +18 -18
- package/dist/chunks/{form-gpc7sdbq.js → schema-r6d930kt.js} +11 -11
- package/dist/chunks/{form-f2n192rq.js → schema-r8xr0va3.js} +4 -4
- package/dist/chunks/{form-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-776eqtx9.js → schema-re5apsaa.js} +11 -11
- package/dist/chunks/{form-c0swgjqp.js → schema-rfrb0sty.js} +22 -22
- package/dist/chunks/{form-2m8jawch.js → schema-rx9ava5n.js} +4 -4
- package/dist/chunks/{form-qa3qhgw8.js → schema-ryr25ayn.js} +4 -4
- package/dist/chunks/schema-s0y99pez.js +253 -0
- package/dist/chunks/{form-t550f9t1.js → schema-s8d7rejh.js} +4 -4
- package/dist/chunks/{form-ywwzatvd.js → schema-s9z3c30a.js} +14 -14
- package/dist/chunks/{form-b3f8fkhc.js → schema-scgrse2b.js} +5 -5
- package/dist/chunks/{form-ap1f89ae.js → schema-scrwg3hs.js} +14 -14
- package/dist/chunks/{form-0p0qkxk2.js → schema-sjvzs7k3.js} +27 -27
- package/dist/chunks/{form-qzrp65ar.js → schema-skv1cymz.js} +17 -17
- package/dist/chunks/{form-za1wwd1x.js → schema-spj5hr4x.js} +10 -10
- package/dist/chunks/{form-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{form-d1sgd2rz.js → schema-tjy0w605.js} +37 -37
- package/dist/chunks/{form-2wyf4erf.js → schema-tpje4fnv.js} +17 -17
- package/dist/chunks/{form-5yzzbxa7.js → schema-tpw6cwsb.js} +8 -8
- package/dist/chunks/{form-0e3se835.js → schema-ttmwvqbw.js} +9 -9
- package/dist/chunks/{form-b8q3avcz.js → schema-txfbykqs.js} +25 -25
- package/dist/chunks/{form-5fec3t3w.js → schema-txm3e8qz.js} +9 -9
- package/dist/chunks/{form-tyytaxap.js → schema-tyytaxap.js} +1 -1
- package/dist/chunks/{form-v0es1rhs.js → schema-v0es1rhs.js} +2 -2
- package/dist/chunks/{form-v7p4zvkq.js → schema-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{form-3thkjdtf.js → schema-vhjvf1ns.js} +24 -24
- package/dist/chunks/{form-4jk4fvfv.js → schema-vmecfj1a.js} +47 -39
- package/dist/chunks/{form-e2293ryn.js → schema-vr8megq1.js} +26 -26
- package/dist/chunks/{form-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-7rwqf82v.js → schema-w3x9v1nk.js} +8 -8
- package/dist/chunks/{form-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{form-s5nkw20k.js → schema-we4ydj7w.js} +28 -28
- package/dist/chunks/{form-18nxemwk.js → schema-wx6xjdmh.js} +3 -3
- package/dist/chunks/{form-4dh5ta86.js → schema-x651es2g.js} +4 -4
- package/dist/chunks/{form-vxywbpnc.js → schema-x8181hqt.js} +11 -11
- package/dist/chunks/{form-7hhqs9ev.js → schema-xcmk6yw7.js} +11 -11
- package/dist/chunks/{form-qqeeq2t9.js → schema-xfkkasph.js} +7 -7
- package/dist/chunks/{form-gdqc804d.js → schema-xptvtjnp.js} +11 -11
- package/dist/chunks/{form-nceb7tg2.js → schema-xxg2cwm3.js} +20 -20
- package/dist/chunks/{form-62j05kx1.js → schema-y1346aqr.js} +23 -23
- package/dist/chunks/{form-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-mcmsq1ma.js → schema-y2seww6j.js} +15 -15
- package/dist/chunks/{form-dda0p7y7.js → schema-y54hr7f3.js} +9 -9
- package/dist/chunks/{form-j5w2yx54.js → schema-ycjb11n5.js} +6 -6
- package/dist/chunks/{form-kgsn71zb.js → schema-ye6fgm33.js} +94 -94
- package/dist/chunks/{form-gkbbrz3n.js → schema-yekg5bww.js} +9 -9
- package/dist/chunks/{form-te7n14t2.js → schema-ygbc3xn1.js} +18 -18
- package/dist/chunks/{form-v2926xj5.js → schema-ykk7pmdn.js} +4 -4
- package/dist/chunks/{form-nswh99f5.js → schema-ymg8axns.js} +3 -3
- package/dist/chunks/{form-1bewkv54.js → schema-yt1db69f.js} +18 -18
- package/dist/chunks/{form-pcz7nyx7.js → schema-yy8c48ah.js} +27 -27
- package/dist/chunks/{form-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-qjr91pwy.js → schema-zczs6yb2.js} +20 -20
- package/dist/chunks/{form-hnecbn5a.js → schema-zp79rdht.js} +13 -13
- package/dist/chunks/{form-ynmknp8q.js → schema-zq01xz8r.js} +11 -11
- package/dist/chunks/{form-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-a924ge7t.js → schema-zy4v1d78.js} +31 -31
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +76 -76
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +73 -73
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- 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 +100 -100
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +355 -355
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +126 -126
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +124 -124
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- 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 +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- 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 +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/form-0k5fr05e.js +0 -26
- package/dist/chunks/form-hbgvnztq.js +0 -253
- package/dist/chunks/form-phz3h32g.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-bw78ga2c.js → schema-bw78ga2c.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → schema-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service85,
|
|
6
|
+
node89
|
|
7
|
+
} from "./schema-b7bdwx76.js";
|
|
4
8
|
import {
|
|
5
9
|
Service84,
|
|
6
10
|
node88
|
|
7
|
-
} from "./
|
|
11
|
+
} from "./schema-25tm57nk.js";
|
|
8
12
|
import {
|
|
9
13
|
Service83,
|
|
10
14
|
node87
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service82,
|
|
14
|
-
node86
|
|
15
|
-
} from "./form-gyqy5ynx.js";
|
|
15
|
+
} from "./schema-bqxzme6r.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-3cegwx68.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-84h8c373.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node86,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,12 +95,12 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service83;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const db = (yield*
|
|
102
|
+
const bus = yield* Service84;
|
|
103
|
+
const db = (yield* Service85).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
106
106
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service82.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node86 = makeGlobalNode({
|
|
288
|
+
service: Service82,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node88, node89, FSUtil.node, node87, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2,
|
|
293
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, exports_project };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-7951xmcm.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-zy4v1d78.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./schema-sjvzs7k3.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service78;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-hnbkedn6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./schema-25tm57nk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-gzpc0ern.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-sjvzs7k3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service23
|
|
21
|
+
} from "./schema-7fbbp2qf.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-7951xmcm.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-zy4v1d78.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID4,
|
|
32
32
|
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-fxrw3q79.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID4
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -105,7 +105,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
105
105
|
}
|
|
106
106
|
function oauth(http) {
|
|
107
107
|
return {
|
|
108
|
-
integrationID:
|
|
108
|
+
integrationID: ID14.make("opencode"),
|
|
109
109
|
method: {
|
|
110
110
|
id: methodID,
|
|
111
111
|
type: "oauth",
|
|
@@ -169,10 +169,10 @@ function oauth(http) {
|
|
|
169
169
|
var OpencodePlugin2 = define({
|
|
170
170
|
id: "opencode.provider.opencode",
|
|
171
171
|
effect: Effect.fn(function* (ctx) {
|
|
172
|
-
const bus = yield*
|
|
172
|
+
const bus = yield* Service84;
|
|
173
173
|
const client = yield* HttpClient.HttpClient;
|
|
174
174
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
175
|
-
const managed = yield*
|
|
175
|
+
const managed = yield* Service23;
|
|
176
176
|
const scope = yield* Scope.Scope;
|
|
177
177
|
const loading = Semaphore.makeUnsafe(1);
|
|
178
178
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
providers.update(providerID, (provider) => {
|
|
222
222
|
if (source && source.provider !== provider)
|
|
223
223
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
224
|
-
provider.integrationID =
|
|
224
|
+
provider.integrationID = ID14.make("opencode");
|
|
225
225
|
if (item.canonical !== undefined)
|
|
226
226
|
provider.canonical = item.canonical;
|
|
227
227
|
if (item.name !== undefined)
|
|
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
|
|
|
287
287
|
sourceConnection: snapshot.connection
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
-
const item = providers.get(
|
|
290
|
+
const item = providers.get(ID13.opencode);
|
|
291
291
|
if (!item)
|
|
292
292
|
return;
|
|
293
293
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
|
|
|
299
299
|
});
|
|
300
300
|
});
|
|
301
301
|
yield* ctx.model.transform((models) => {
|
|
302
|
-
const item = models.provider.get(
|
|
302
|
+
const item = models.provider.get(ID13.opencode);
|
|
303
303
|
if (!item)
|
|
304
304
|
return;
|
|
305
305
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -388,10 +388,10 @@ var OpencodePlugin2 = define({
|
|
|
388
388
|
});
|
|
389
389
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
390
390
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
391
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
391
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
392
392
|
});
|
|
393
393
|
yield* guard(snapshot);
|
|
394
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
394
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
395
395
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
396
396
|
})
|
|
397
397
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-12ve6aey.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service47
|
|
11
|
+
} from "./schema-dnk41676.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin24,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin24 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info8.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info8.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service47;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin24, exports_skill2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-hnbkedn6.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./schema-gzpc0ern.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-sjvzs7k3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-7951xmcm.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service79;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./schema-dnk41676.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./schema-djszqvmq.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin36
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin36 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
|
+
const policy = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin36, exports_location_watcher2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./schema-25tm57nk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./schema-g4njwx0b.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service66,
|
|
14
|
+
node70
|
|
15
|
+
} from "./schema-kc6mcnvt.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service4,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node6
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service4 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service84;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service66;
|
|
41
|
+
const location = yield* Service81;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service4.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node6 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node88, FSUtil.node, node85, node70]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service4, node6, exports_instructions };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-kb9j3d72.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command5 };
|