@opencode/core 0.0.0-dev-20806 → 0.0.0-dev-20807
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 +7 -7
- package/dist/bus.js +70 -70
- package/dist/chunks/{location-lifecycle-z6379rrx.js → form-00rv01cy.js} +3 -3
- package/dist/chunks/{location-lifecycle-n1e733pt.js → form-0e3se835.js} +9 -9
- package/dist/chunks/{location-lifecycle-q0xm7vwc.js → form-0j77ygfz.js} +6 -6
- package/dist/chunks/form-0k5fr05e.js +26 -0
- package/dist/chunks/{location-lifecycle-7n72tp4h.js → form-0m4y979k.js} +4 -4
- package/dist/chunks/{location-lifecycle-28sbwtwg.js → form-0mfehv6g.js} +10 -10
- package/dist/chunks/{location-lifecycle-r39mgnjv.js → form-0p0qkxk2.js} +30 -30
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → form-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-qf29a4yj.js → form-0v4jh5wh.js} +26 -26
- package/dist/chunks/{location-lifecycle-r5dp6wge.js → form-0v7n9ydc.js} +9 -9
- package/dist/chunks/{location-lifecycle-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-lifecycle-wnd97rm8.js → form-0zjqdwpn.js} +25 -25
- package/dist/chunks/{location-lifecycle-ntjv7s1m.js → form-18nxemwk.js} +3 -3
- package/dist/chunks/{location-lifecycle-05pgskzd.js → form-1bewkv54.js} +18 -18
- package/dist/chunks/{location-lifecycle-p77ec4pm.js → form-1d6vvqtz.js} +24 -24
- package/dist/chunks/{location-lifecycle-84h8c373.js → form-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-lifecycle-e8vwfchq.js → form-1z18ck0n.js} +9 -9
- package/dist/chunks/{location-lifecycle-4ts7tf6z.js → form-2ccvkpx1.js} +2 -2
- package/dist/chunks/{location-lifecycle-q17z9dx8.js → form-2hg7qvzt.js} +5 -5
- package/dist/chunks/{location-lifecycle-ztjz61gh.js → form-2kgbfk35.js} +5 -5
- package/dist/chunks/{location-lifecycle-0ntvdsg8.js → form-2m8jawch.js} +4 -4
- package/dist/chunks/{location-lifecycle-970wqp6j.js → form-2tz229t4.js} +5 -5
- package/dist/chunks/{location-lifecycle-2vvh33eb.js → form-2vvh33eb.js} +2 -2
- package/dist/chunks/{location-lifecycle-xwaapbcw.js → form-2wyf4erf.js} +20 -20
- package/dist/chunks/{location-lifecycle-x6741p5x.js → form-346kzjtb.js} +4 -4
- package/dist/chunks/{location-lifecycle-mk5vzntt.js → form-34cd5hh2.js} +40 -40
- package/dist/chunks/{location-lifecycle-fgtd082p.js → form-37yqfbeb.js} +28 -28
- package/dist/chunks/{location-lifecycle-3fmt7znb.js → form-3dr95xgy.js} +60 -60
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-lifecycle-2zcp66xy.js → form-3nw81xsb.js} +32 -32
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-zjhy6y3h.js → form-3thkjdtf.js} +21 -21
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-lifecycle-dshybgh0.js → form-429sx3jw.js} +15 -15
- package/dist/chunks/{location-lifecycle-z3w7gkpk.js → form-452whvem.js} +18 -18
- package/dist/chunks/{location-lifecycle-av3carq6.js → form-4dh5ta86.js} +4 -4
- package/dist/chunks/{location-lifecycle-fykfh85q.js → form-4jk4fvfv.js} +32 -32
- package/dist/chunks/{location-lifecycle-cc0pwjz5.js → form-4zz8q1dy.js} +68 -68
- package/dist/chunks/{location-lifecycle-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{location-lifecycle-whem3n1c.js → form-56x8a31a.js} +5 -5
- package/dist/chunks/{location-lifecycle-ez3n2czz.js → form-5asn6ncy.js} +26 -26
- package/dist/chunks/{location-lifecycle-gw7cjrad.js → form-5dkn69vz.js} +4 -4
- package/dist/chunks/{location-lifecycle-y54x7rf9.js → form-5dyt76wc.js} +14 -14
- package/dist/chunks/{location-lifecycle-mv3hx7wz.js → form-5fec3t3w.js} +9 -9
- package/dist/chunks/{location-lifecycle-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-lifecycle-qcbftmw3.js → form-5me3ew8t.js} +33 -33
- package/dist/chunks/{location-lifecycle-728sb2n0.js → form-5prq62k1.js} +24 -24
- package/dist/chunks/{location-lifecycle-63db42yp.js → form-5pyjqqve.js} +2 -2
- package/dist/chunks/{location-lifecycle-5xtgfte3.js → form-5yzzbxa7.js} +8 -8
- package/dist/chunks/{location-lifecycle-8fbjyakg.js → form-62j05kx1.js} +23 -23
- package/dist/chunks/{location-lifecycle-h137t1tm.js → form-6a4apkvg.js} +4 -4
- package/dist/chunks/{location-lifecycle-sbpte7ah.js → form-6ar05cbm.js} +20 -20
- package/dist/chunks/{location-lifecycle-fn8ks8sk.js → form-6hjtb7g9.js} +4 -4
- package/dist/chunks/{location-lifecycle-73mdynaf.js → form-6qcetts1.js} +12 -12
- package/dist/chunks/{location-lifecycle-wbnahgca.js → form-6qmwbcde.js} +14 -14
- package/dist/chunks/{location-lifecycle-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-lifecycle-czvw4m05.js → form-6xnkjpvb.js} +11 -11
- package/dist/chunks/{location-lifecycle-f75zav2x.js → form-71az546q.js} +2 -2
- package/dist/chunks/{location-lifecycle-2eegacq4.js → form-73kdj4zj.js} +8 -8
- package/dist/chunks/{location-lifecycle-58hq3knj.js → form-76bfnege.js} +16 -16
- package/dist/chunks/{location-lifecycle-7x1rct0n.js → form-76ns3xxg.js} +6 -6
- package/dist/chunks/{location-lifecycle-tx4y1ez1.js → form-776eqtx9.js} +14 -14
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-qgn6gcr1.js → form-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-lifecycle-jws6fkes.js → form-7fkffz83.js} +6 -6
- package/dist/chunks/{location-lifecycle-rrg348nn.js → form-7g0z4cv8.js} +8 -8
- package/dist/chunks/{location-lifecycle-w0nwb4bd.js → form-7hhqs9ev.js} +11 -11
- package/dist/chunks/{location-lifecycle-q8r22k9v.js → form-7rwqf82v.js} +8 -8
- package/dist/chunks/{location-lifecycle-bvygydr0.js → form-7sfm1t78.js} +46 -46
- package/dist/chunks/{location-lifecycle-xh8062qc.js → form-7td7z3fp.js} +15 -15
- package/dist/chunks/{location-lifecycle-q9yaa1j3.js → form-7y3ej9my.js} +13 -13
- package/dist/chunks/{location-lifecycle-72sxpf59.js → form-82v73sw7.js} +3 -3
- package/dist/chunks/{location-lifecycle-w1eejvng.js → form-84txncab.js} +5 -5
- package/dist/chunks/{location-lifecycle-vya2br83.js → form-8g79a0vq.js} +8 -8
- package/dist/chunks/{location-lifecycle-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-lifecycle-tthyfpcc.js → form-8nx8bvz8.js} +16 -16
- package/dist/chunks/{location-lifecycle-hb66tvvt.js → form-8y2wjat6.js} +34 -34
- package/dist/chunks/{location-lifecycle-dpev6apn.js → form-907xmcwg.js} +30 -30
- package/dist/chunks/{location-lifecycle-vm49ar1m.js → form-90m8vajs.js} +178 -178
- package/dist/chunks/{location-lifecycle-ts17hsqe.js → form-9bfc4y5b.js} +32 -32
- package/dist/chunks/{location-lifecycle-qvee2413.js → form-9bwjtz2n.js} +32 -32
- package/dist/chunks/{location-lifecycle-q4mwdy11.js → form-9dr7s7bj.js} +13 -13
- package/dist/chunks/{location-lifecycle-kb9j3d72.js → form-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-lifecycle-24tete3f.js → form-9tv2jn71.js} +46 -46
- package/dist/chunks/{location-lifecycle-4eve0svh.js → form-a924ge7t.js} +32 -32
- package/dist/chunks/{location-lifecycle-2xm3p96n.js → form-aabqwq3c.js} +15 -15
- package/dist/chunks/{location-lifecycle-dq5qb3f8.js → form-abywgaa9.js} +20 -20
- package/dist/chunks/{location-lifecycle-204gxy34.js → form-ap1f89ae.js} +16 -16
- package/dist/chunks/{location-lifecycle-ra4gh194.js → form-awme6kvv.js} +30 -30
- package/dist/chunks/{location-lifecycle-6th8kdq1.js → form-azfhg348.js} +49 -49
- package/dist/chunks/{location-lifecycle-drw66kyn.js → form-azyewnfm.js} +2 -2
- package/dist/chunks/{location-lifecycle-c9rcqwb5.js → form-b3cwmgw3.js} +9 -9
- package/dist/chunks/{location-lifecycle-zyk1yjk8.js → form-b3f8fkhc.js} +5 -5
- package/dist/chunks/{location-lifecycle-6fc5fpn8.js → form-b49r4qmh.js} +6 -6
- package/dist/chunks/{location-lifecycle-jj8j6kw2.js → form-b4gj2w69.js} +18 -18
- package/dist/chunks/{location-lifecycle-baevpaj5.js → form-b6sscvmf.js} +51 -51
- package/dist/chunks/{location-lifecycle-38dyq0cw.js → form-b8q3avcz.js} +27 -27
- package/dist/chunks/{location-lifecycle-ywt8jp22.js → form-bjx1sjef.js} +9 -9
- package/dist/chunks/{location-lifecycle-34c0wdet.js → form-bpk5m3dg.js} +32 -32
- package/dist/chunks/{location-lifecycle-v2q4wbta.js → form-bw8hs0dd.js} +3 -3
- package/dist/chunks/{location-lifecycle-tmadjkjx.js → form-by968z8v.js} +9 -9
- package/dist/chunks/{location-lifecycle-5dbh8v4y.js → form-byxz4q2b.js} +6 -6
- package/dist/chunks/{location-lifecycle-ncg1811x.js → form-bz3n6346.js} +3 -3
- package/dist/chunks/{location-lifecycle-qt2jh699.js → form-c0swgjqp.js} +19 -19
- package/dist/chunks/{location-lifecycle-rx0sdv06.js → form-ck9627yz.js} +22 -22
- package/dist/chunks/{location-lifecycle-52r27r3y.js → form-cm3zn5gm.js} +36 -36
- package/dist/chunks/{location-lifecycle-emzwemy2.js → form-cps6211c.js} +7 -7
- package/dist/chunks/{location-lifecycle-mnq1hty6.js → form-d1sgd2rz.js} +32 -32
- package/dist/chunks/{location-lifecycle-ft3hqk2c.js → form-d4he2qe1.js} +9 -9
- package/dist/chunks/{location-lifecycle-nd4tfyg0.js → form-d7x0sh0y.js} +9 -9
- package/dist/chunks/{location-lifecycle-mcaxn7jw.js → form-dd3626pv.js} +17 -17
- package/dist/chunks/{location-lifecycle-gffqj91w.js → form-dda0p7y7.js} +9 -9
- package/dist/chunks/{location-lifecycle-br1t7y1q.js → form-dgbm9y3x.js} +18 -18
- package/dist/chunks/{location-lifecycle-gdek2aqx.js → form-djg17hnq.js} +1 -1
- package/dist/chunks/{location-lifecycle-7e8cyqab.js → form-dnfex989.js} +22 -22
- package/dist/chunks/{location-lifecycle-dpkg50ah.js → form-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-lifecycle-rxes2kd3.js → form-dta6ba7f.js} +15 -15
- package/dist/chunks/{location-lifecycle-a2pw2g3y.js → form-dz82ykz5.js} +29 -29
- package/dist/chunks/{location-lifecycle-j9p6vyxb.js → form-e2293ryn.js} +18 -18
- package/dist/chunks/{location-lifecycle-5z1cva2g.js → form-e2c4hctk.js} +13 -13
- package/dist/chunks/{location-lifecycle-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/form-e4aj21xj.js +513 -0
- package/dist/chunks/{location-lifecycle-6mjrghw9.js → form-ed0hxk4d.js} +24 -24
- package/dist/chunks/{location-lifecycle-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-2c7vrg4p.js → form-end0mr5f.js} +11 -11
- package/dist/chunks/{location-lifecycle-jrs0eswh.js → form-enrvf7r1.js} +23 -23
- package/dist/chunks/{location-lifecycle-a8zjhymg.js → form-eq1ww8dg.js} +4 -4
- package/dist/chunks/{location-lifecycle-f2n192rq.js → form-f2n192rq.js} +1 -1
- package/dist/chunks/{location-lifecycle-jyvkym62.js → form-fa87y3b2.js} +15 -15
- package/dist/chunks/{location-lifecycle-52vd1vrk.js → form-ff52ws4f.js} +21 -21
- package/dist/chunks/{location-lifecycle-4r1h5y3t.js → form-fgzgh5km.js} +30 -30
- package/dist/chunks/{location-lifecycle-ta4gdrp4.js → form-fh4ge1rm.js} +10 -10
- package/dist/chunks/{location-lifecycle-mkxbd7ag.js → form-fqk6jatp.js} +21 -21
- package/dist/chunks/{location-lifecycle-khmqacep.js → form-fxaymqdw.js} +4 -4
- package/dist/chunks/{location-lifecycle-qtm129c6.js → form-g0nr56tp.js} +15 -15
- package/dist/chunks/{location-lifecycle-kspgfatx.js → form-g32fphz4.js} +11 -11
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-rs2vby53.js → form-gdqc804d.js} +8 -8
- package/dist/chunks/{location-lifecycle-jbs8hkge.js → form-gdwygsj8.js} +5 -5
- package/dist/chunks/{location-lifecycle-z6vc72fy.js → form-gfxj4jwb.js} +11 -11
- package/dist/chunks/{location-lifecycle-gk8qb678.js → form-gk8qb678.js} +1 -1
- package/dist/chunks/{location-lifecycle-65z6vshz.js → form-gkbbrz3n.js} +9 -9
- package/dist/chunks/{location-lifecycle-y27q8fpd.js → form-gpc7sdbq.js} +11 -11
- package/dist/chunks/{location-lifecycle-7ah18n8m.js → form-gs3xh0nm.js} +29 -29
- package/dist/chunks/{location-lifecycle-6tvzbcgz.js → form-gyqy5ynx.js} +12 -12
- package/dist/chunks/{location-lifecycle-3cegwx68.js → form-h2b79v29.js} +2 -2
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-h7s7r6s9.js → form-h7s7r6s9.js} +2 -2
- package/dist/chunks/{location-lifecycle-y5rf7nzv.js → form-h9pnpq88.js} +4 -4
- package/dist/chunks/form-hbgvnztq.js +253 -0
- package/dist/chunks/{location-lifecycle-hm9706ak.js → form-hes7g59n.js} +31 -31
- package/dist/chunks/{location-lifecycle-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-lifecycle-1t0smfc2.js → form-hhyv66vq.js} +5 -5
- package/dist/chunks/{location-lifecycle-vapvv5jn.js → form-hnecbn5a.js} +10 -10
- package/dist/chunks/{location-lifecycle-aw4axk0j.js → form-hpvvz0t7.js} +11 -11
- package/dist/chunks/{location-lifecycle-28dbn1rd.js → form-hqs8cgch.js} +5 -5
- package/dist/chunks/{location-lifecycle-cfb0x8fw.js → form-hr579x6a.js} +86 -86
- package/dist/chunks/{location-lifecycle-5zt1sg8e.js → form-hsvj78er.js} +54 -54
- package/dist/chunks/{location-lifecycle-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-2myva995.js → form-j5w2yx54.js} +6 -6
- package/dist/chunks/{location-lifecycle-zf3t7jts.js → form-j7qrg605.js} +11 -11
- package/dist/chunks/{location-lifecycle-6qn3eqbv.js → form-j8pqw26r.js} +6 -6
- package/dist/chunks/{location-lifecycle-k6ht319t.js → form-jb9trc97.js} +19 -19
- package/dist/chunks/{location-lifecycle-cyf6zbv4.js → form-jbyejpvw.js} +15 -15
- package/dist/chunks/{location-lifecycle-7zt5x37y.js → form-jhdf29st.js} +1 -1
- package/dist/chunks/{location-lifecycle-ybg0vk9q.js → form-jvhddpw9.js} +3 -3
- package/dist/chunks/{location-lifecycle-xqvh8cyz.js → form-kffe7xqh.js} +18 -18
- package/dist/chunks/{location-lifecycle-wzdsgtqx.js → form-kgsn71zb.js} +89 -89
- package/dist/chunks/{location-lifecycle-vgt9wjat.js → form-kkpxd18v.js} +42 -42
- package/dist/chunks/{location-lifecycle-zvepxsaq.js → form-m21a3qzg.js} +37 -37
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → form-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-cxmh4q5b.js → form-m70sbz6t.js} +4 -4
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-q3mz62de.js → form-mcmsq1ma.js} +15 -15
- package/dist/chunks/{location-lifecycle-4cj4m838.js → form-mx0szq0w.js} +13 -13
- package/dist/chunks/{location-lifecycle-0r015vqz.js → form-n6tn6hrh.js} +32 -32
- package/dist/chunks/{location-lifecycle-nzd6vn8m.js → form-naa1sva5.js} +46 -46
- package/dist/chunks/{location-lifecycle-r49y4ggg.js → form-nc8ynfdm.js} +10 -10
- package/dist/chunks/{location-lifecycle-ta4z4kqm.js → form-nceb7tg2.js} +20 -20
- package/dist/chunks/{location-lifecycle-racqape9.js → form-nqa8btv9.js} +18 -18
- package/dist/chunks/{location-lifecycle-wfsh46a4.js → form-nreerqaq.js} +20 -20
- package/dist/chunks/{location-lifecycle-pw2w1cay.js → form-nswh99f5.js} +3 -3
- package/dist/chunks/{location-lifecycle-jkdevf2b.js → form-nz5a17rr.js} +43 -43
- package/dist/chunks/{location-lifecycle-e20nvahg.js → form-p6mefd3v.js} +20 -20
- package/dist/chunks/{location-lifecycle-8663xt68.js → form-pcz7nyx7.js} +24 -24
- package/dist/chunks/{location-lifecycle-9tq0xg7p.js → form-pe0qafpd.js} +9 -9
- package/dist/chunks/{location-lifecycle-jewzahs7.js → form-ph842b28.js} +4 -4
- package/dist/chunks/{location-lifecycle-phz3h32g.js → form-phz3h32g.js} +1 -1
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-n88mnmzv.js → form-ps9w4rmp.js} +5 -5
- package/dist/chunks/{location-lifecycle-c6fmn8wk.js → form-q0vhpe4t.js} +33 -33
- package/dist/chunks/{location-lifecycle-3d4ymmg4.js → form-q7cwvqv2.js} +11 -11
- package/dist/chunks/{location-lifecycle-k76krqzs.js → form-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-lifecycle-catjr96x.js → form-qabyx9xz.js} +6 -6
- package/dist/chunks/{location-lifecycle-mt61c86x.js → form-qehvaept.js} +20 -20
- package/dist/chunks/{location-lifecycle-se51mkp6.js → form-qhzmnskm.js} +13 -13
- package/dist/chunks/{location-lifecycle-649whvfn.js → form-qjr91pwy.js} +13 -13
- package/dist/chunks/{location-lifecycle-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-lifecycle-gj71zhbs.js → form-qne3fa44.js} +5 -5
- package/dist/chunks/{location-lifecycle-g50v604x.js → form-qpg4nhh5.js} +11 -11
- package/dist/chunks/{location-lifecycle-qqeeq2t9.js → form-qqeeq2t9.js} +1 -1
- package/dist/chunks/{location-lifecycle-x4xev0pa.js → form-qrvrewsy.js} +10 -10
- package/dist/chunks/{location-lifecycle-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-5y386vat.js → form-qxk5mzbz.js} +14 -14
- package/dist/chunks/{location-lifecycle-xh57mx9e.js → form-qzrp65ar.js} +17 -17
- package/dist/chunks/{location-lifecycle-5rzwp8tz.js → form-r2z489rp.js} +3 -3
- package/dist/chunks/{location-lifecycle-jz0442he.js → form-r939q9f2.js} +23 -23
- package/dist/chunks/{location-lifecycle-j58c5xyq.js → form-r9w3djhf.js} +9 -9
- package/dist/chunks/{location-lifecycle-66y13w5e.js → form-rc0w2xfj.js} +14 -14
- package/dist/chunks/{location-lifecycle-3a2tvshw.js → form-rd2n1npt.js} +27 -27
- package/dist/chunks/{location-lifecycle-wv0rwt0n.js → form-rdm3yed2.js} +39 -39
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-d7ww3xqa.js → form-re6xefaf.js} +14 -14
- package/dist/chunks/{location-lifecycle-nczxqmbc.js → form-repwdqvh.js} +10 -10
- package/dist/chunks/{location-lifecycle-xte6kcyc.js → form-rwvz118r.js} +18 -18
- package/dist/chunks/{location-lifecycle-qc13nv8d.js → form-s5nkw20k.js} +25 -25
- package/dist/chunks/{location-lifecycle-46wg8v1y.js → form-sa0etwzp.js} +34 -34
- package/dist/chunks/{location-lifecycle-pm7mfnvc.js → form-sfvmd51z.js} +32 -32
- package/dist/chunks/{location-lifecycle-d93whzxd.js → form-skwpzzw0.js} +10 -10
- package/dist/chunks/{location-lifecycle-zd5177c5.js → form-sr73km76.js} +19 -19
- package/dist/chunks/{location-lifecycle-60x674wm.js → form-sr781ga4.js} +16 -16
- package/dist/chunks/{location-lifecycle-nc8mrn0c.js → form-t0ewadmb.js} +27 -27
- package/dist/chunks/{location-lifecycle-02nrjc1r.js → form-t550f9t1.js} +8 -8
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-89znhe33.js → form-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-lifecycle-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-97t4ar9r.js → form-te7n14t2.js} +13 -13
- package/dist/chunks/{location-lifecycle-vrrq7v3g.js → form-tk14y25j.js} +5 -5
- package/dist/chunks/{location-lifecycle-7cn6hban.js → form-tk22tqem.js} +7 -7
- package/dist/chunks/{location-lifecycle-bajdcy3s.js → form-twhwxvpf.js} +5 -5
- package/dist/chunks/{location-lifecycle-ysjryspn.js → form-tx40bvt8.js} +4 -4
- package/dist/chunks/{location-lifecycle-188e5gmh.js → form-tydzfyyg.js} +28 -28
- package/dist/chunks/{location-lifecycle-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{location-lifecycle-tmamyrcv.js → form-tz1x93sf.js} +5 -5
- package/dist/chunks/{location-lifecycle-v0es1rhs.js → form-v0es1rhs.js} +2 -2
- package/dist/chunks/{location-lifecycle-n6n3gpt4.js → form-v2926xj5.js} +4 -4
- package/dist/chunks/{location-lifecycle-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-lifecycle-9rrnqe3f.js → form-vbvznpsc.js} +13 -13
- package/dist/chunks/{location-lifecycle-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-3y3gwpwa.js → form-vp0gkghg.js} +11 -11
- package/dist/chunks/{location-lifecycle-sp6kk48v.js → form-vrdveqzq.js} +45 -45
- package/dist/chunks/{location-lifecycle-bywta2qc.js → form-vreqx49f.js} +26 -26
- package/dist/chunks/{location-lifecycle-0cg871e2.js → form-vrzt526f.js} +5 -5
- package/dist/chunks/{location-lifecycle-wt09af1m.js → form-vvtt3r92.js} +15 -15
- package/dist/chunks/{location-lifecycle-fypwfj2h.js → form-vwzv7zsf.js} +8 -8
- package/dist/chunks/{location-lifecycle-ss358qx3.js → form-vx3jgdek.js} +3 -3
- package/dist/chunks/{location-lifecycle-ytvhpjjh.js → form-vxywbpnc.js} +11 -11
- package/dist/chunks/{location-lifecycle-xs85nqyr.js → form-vzjdnfs3.js} +1 -1
- package/dist/chunks/{location-lifecycle-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-lifecycle-js8269pr.js → form-w36wqzqr.js} +11 -11
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-3xbma361.js → form-wf4634q4.js} +11 -11
- package/dist/chunks/{location-lifecycle-n0fgdapb.js → form-wq47jxww.js} +4 -4
- package/dist/chunks/{location-lifecycle-kve97cj3.js → form-wrj7k67z.js} +15 -15
- package/dist/chunks/{location-lifecycle-bmbr1qe9.js → form-x3gx8603.js} +8 -8
- package/dist/chunks/{location-lifecycle-gqtdsdt7.js → form-x661k3y3.js} +4 -4
- package/dist/chunks/{location-lifecycle-n0bdd1ta.js → form-xsbkytk1.js} +7 -7
- package/dist/chunks/{location-lifecycle-26q3ce80.js → form-xsqdc333.js} +28 -28
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-hv6vc6rn.js → form-y78tw1r3.js} +7 -7
- package/dist/chunks/{location-lifecycle-1b14bx28.js → form-yd332jx1.js} +24 -24
- package/dist/chunks/{location-lifecycle-ntg2j34t.js → form-ydgy0jv4.js} +8 -8
- package/dist/chunks/{location-lifecycle-htx223fd.js → form-ykmg72ng.js} +35 -35
- package/dist/chunks/{location-lifecycle-1bmjn0qh.js → form-ynmknp8q.js} +11 -11
- package/dist/chunks/{location-lifecycle-dq53jhb3.js → form-ywwzatvd.js} +14 -14
- package/dist/chunks/{location-lifecycle-xr0gz6fs.js → form-yxr65j3v.js} +19 -19
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-zb153t9f.js → form-z4v10rbr.js} +11 -11
- package/dist/chunks/{location-lifecycle-58aztvgj.js → form-za1wwd1x.js} +13 -13
- package/dist/chunks/{location-lifecycle-nj0txakw.js → form-zpk4cdpr.js} +21 -21
- package/dist/chunks/{location-lifecycle-bn65hgva.js → form-zqzfpn6k.js} +25 -25
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- 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 +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- 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 +117 -117
- 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 +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- 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 +86 -86
- package/dist/database/database.js +69 -69
- 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 +77 -77
- 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 +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- 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 +92 -92
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- 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 +110 -110
- 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 +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- 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 +126 -126
- 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 +1 -1
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- 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 +1 -1
- 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 +163 -163
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +115 -115
- 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 +127 -127
- 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 +123 -123
- 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 +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- 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 +94 -94
- 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 +80 -80
- package/dist/workspace/driver.js +7 -7
- 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/location-lifecycle-1x5ztp1j.js +0 -253
- package/dist/chunks/location-lifecycle-8gkr3zdc.js +0 -513
- package/dist/chunks/location-lifecycle-ant6xbdj.js +0 -26
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-34c7v6d4.js → form-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bw78ga2c.js → form-bw78ga2c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-6a4apkvg.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-a924ge7t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service17,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./form-m21a3qzg.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
35
|
+
const modelsDev = yield* Service17;
|
|
36
36
|
const bus = yield* Service83;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-6a4apkvg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service50,
|
|
17
|
+
node53
|
|
18
|
+
} from "./form-r939q9f2.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service41,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node43
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service41 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service50;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service41.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node43 = makeLocationNode({
|
|
116
|
+
service: Service41,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node53]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info6, Service41, node43, exports_reference2, Event7 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-bw8hs0dd.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-jvhddpw9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -16,7 +16,7 @@ __export(exports_database, {
|
|
|
16
16
|
Service: () => Service84,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
|
-
layer: () =>
|
|
19
|
+
layer: () => layer27,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
21
|
node: () => node88
|
|
22
22
|
});
|
|
@@ -58,7 +58,7 @@ function lockFor(filename) {
|
|
|
58
58
|
locks.set(filename, lock);
|
|
59
59
|
return lock;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function layer27(options = { path: ":memory:" }) {
|
|
62
62
|
return Layer.unwrap(Effect.gen(function* () {
|
|
63
63
|
const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
|
|
64
64
|
const filename = options.path ?? ":memory:";
|
|
@@ -82,7 +82,7 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured13(options) {
|
|
85
|
-
return makeGlobalNode({ service: Service84, layer:
|
|
85
|
+
return makeGlobalNode({ service: Service84, layer: layer27(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
@@ -93,4 +93,4 @@ function configuredClient2(client) {
|
|
|
93
93
|
}
|
|
94
94
|
var node88 = configured13({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options11, Service84,
|
|
96
|
+
export { Options11, Service84, layer27, layerFromClient2, configured13, configuredClient2, node88, exports_database };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-82v73sw7.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service47,
|
|
17
|
+
node50
|
|
18
|
+
} from "./form-dda0p7y7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node73
|
|
22
|
+
} from "./form-73kdj4zj.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./form-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./form-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service46,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node49
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service46 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service70;
|
|
58
|
+
const image = yield* Service47;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service46.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node49 = makeLocationNode({
|
|
277
|
+
service: Service46,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node73, node50]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service46, node49, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node83,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node83 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node83, exports_driver };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./form-6qmwbcde.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service78
|
|
12
|
+
} from "./form-ed0hxk4d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service63
|
|
15
|
+
} from "./form-nqa8btv9.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-3nw81xsb.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service53
|
|
24
|
+
} from "./form-3dr95xgy.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service52
|
|
27
|
+
} from "./form-rwvz118r.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input11,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin48,
|
|
39
|
+
name: () => name11,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name11 = "glob";
|
|
46
|
+
var Input11 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input4 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin48 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service78;
|
|
70
|
+
const ripgrep = yield* Service63;
|
|
71
|
+
const location = yield* Service80;
|
|
72
|
+
const access = yield* Service52;
|
|
73
|
+
const permission = yield* Service53;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name11,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input11,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name11,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin22 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name11, Input11, Output8, toModelContent5, Plugin48, exports_glob };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info16
|
|
7
|
+
} from "./form-5fec3t3w.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info15
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info16)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info15, exports_agent4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./form-6qmwbcde.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID10,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-a924ge7t.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service66
|
|
10
|
+
} from "./form-9tv2jn71.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./form-ed0hxk4d.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-fxaymqdw.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-byxz4q2b.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service66;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service78);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service80);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID10.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|