@opencode/core 0.0.0-dev-21453 → 0.0.0-dev-21460
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{command-m28354wd.js → repository-cache-01p087vs.js} +8 -8
- package/dist/chunks/{command-mk379379.js → repository-cache-03vjgxp8.js} +3 -3
- package/dist/chunks/{command-am1vdybj.js → repository-cache-09ypmjbv.js} +4 -4
- package/dist/chunks/{command-b7eb9p8b.js → repository-cache-0b36yc2a.js} +45 -45
- package/dist/chunks/{command-37txpjr1.js → repository-cache-0e8pwxm1.js} +10 -10
- package/dist/chunks/{command-461nxmbv.js → repository-cache-0fhevdjt.js} +5 -5
- package/dist/chunks/{command-s8d7rejh.js → repository-cache-0gdmqesm.js} +4 -4
- package/dist/chunks/{command-wp5fex1h.js → repository-cache-0krdeasz.js} +4 -4
- package/dist/chunks/{command-frsbz4zz.js → repository-cache-0q346xwt.js} +7 -7
- package/dist/chunks/{command-47jkzegy.js → repository-cache-0r3c1bmw.js} +5 -5
- package/dist/chunks/{command-8s1fj8xg.js → repository-cache-0tzy42a9.js} +8 -8
- package/dist/chunks/{command-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-sbdjwzg5.js → repository-cache-0xxnzx42.js} +19 -19
- package/dist/chunks/{command-vkdxcejq.js → repository-cache-0zxm2zaw.js} +10 -10
- package/dist/chunks/{command-3se1dkn2.js → repository-cache-1kccv5dj.js} +9 -9
- package/dist/chunks/{command-bc4d43x0.js → repository-cache-1n547s99.js} +35 -35
- package/dist/chunks/{command-mr3qe865.js → repository-cache-1p6gkt63.js} +51 -51
- package/dist/chunks/{command-4xpgt2w9.js → repository-cache-1pxz8ven.js} +5 -5
- package/dist/chunks/{command-b3eecbxp.js → repository-cache-1rft7swv.js} +4 -4
- package/dist/chunks/{command-1ep2p91f.js → repository-cache-27w5k9zf.js} +2 -2
- package/dist/chunks/{command-byat028d.js → repository-cache-2fpbmj4a.js} +23 -23
- package/dist/chunks/{command-7dqw4kz8.js → repository-cache-2k8khapm.js} +5 -5
- package/dist/chunks/{command-y02z6wf6.js → repository-cache-2vwvyx2g.js} +35 -35
- package/dist/chunks/{command-26v53g8c.js → repository-cache-2wt8nezh.js} +17 -17
- package/dist/chunks/{command-5thbj1d7.js → repository-cache-31g1jsst.js} +11 -11
- package/dist/chunks/{command-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
- package/dist/chunks/{command-z5kwvp43.js → repository-cache-3m1qjwf2.js} +10 -10
- package/dist/chunks/{command-rscrykr4.js → repository-cache-3mypk436.js} +37 -37
- package/dist/chunks/{command-53tqp3se.js → repository-cache-3n5vhy7z.js} +29 -29
- package/dist/chunks/{command-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-5hy62t2w.js → repository-cache-3wsyhczt.js} +26 -26
- package/dist/chunks/{command-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-ma9kyv73.js → repository-cache-42q84ag7.js} +54 -54
- package/dist/chunks/{command-hgr5fehx.js → repository-cache-450x4k77.js} +3 -3
- package/dist/chunks/{command-amznas3s.js → repository-cache-46xapkgq.js} +36 -36
- package/dist/chunks/{command-zbqtqq82.js → repository-cache-4n1wqqn5.js} +2 -2
- package/dist/chunks/{command-abhakzek.js → repository-cache-4pka7j6v.js} +5 -5
- package/dist/chunks/{command-rcas954y.js → repository-cache-4r758bxz.js} +29 -29
- package/dist/chunks/{command-s5ng6h1y.js → repository-cache-4tjj4m8n.js} +11 -11
- package/dist/chunks/{command-48pg14e9.js → repository-cache-4tsdpayj.js} +31 -31
- package/dist/chunks/{command-w0n6gnt9.js → repository-cache-4zjv7vh9.js} +11 -11
- package/dist/chunks/{command-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{command-6snphvfm.js → repository-cache-5ky00pdm.js} +33 -33
- package/dist/chunks/{command-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-r2z489rp.js → repository-cache-5rzwp8tz.js} +3 -3
- package/dist/chunks/{command-cqhbfnr1.js → repository-cache-5zn069ks.js} +30 -30
- package/dist/chunks/{command-v8cs5gsq.js → repository-cache-63rqhaqj.js} +23 -23
- package/dist/chunks/{command-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
- package/dist/chunks/{command-1j8r0rfw.js → repository-cache-6ac9zck1.js} +2 -2
- package/dist/chunks/{command-1p07q0wb.js → repository-cache-6pc27hjz.js} +8 -8
- package/dist/chunks/{command-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-87g5j40b.js → repository-cache-6yncxzed.js} +11 -11
- package/dist/chunks/{command-tdyk1y3q.js → repository-cache-6ypv3jsn.js} +37 -37
- package/dist/chunks/{command-dfse8kb6.js → repository-cache-70q6x9sh.js} +21 -21
- package/dist/chunks/{command-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
- package/dist/chunks/{command-34a37mbe.js → repository-cache-7amepzc8.js} +14 -14
- package/dist/chunks/{command-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-ejndb8vb.js → repository-cache-7c5qva4r.js} +5 -5
- package/dist/chunks/{command-8ybx9dv8.js → repository-cache-7nm86vqr.js} +1 -1
- package/dist/chunks/{command-gf0da6cn.js → repository-cache-7q1pjkp3.js} +22 -22
- package/dist/chunks/{command-d9xzyqvc.js → repository-cache-7q5zkc9a.js} +18 -18
- package/dist/chunks/{command-qmmgpbwc.js → repository-cache-7q7gc744.js} +28 -28
- package/dist/chunks/{command-zej84cff.js → repository-cache-7yn4yp07.js} +16 -16
- package/dist/chunks/{command-etttfj1t.js → repository-cache-80scg3y3.js} +4 -4
- package/dist/chunks/{command-tcezcvh9.js → repository-cache-89znhe33.js} +4 -4
- package/dist/chunks/{command-ej25e5st.js → repository-cache-8cgdxtst.js} +26 -26
- package/dist/chunks/{command-gws60q17.js → repository-cache-8hr3x0db.js} +2 -2
- package/dist/chunks/{command-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
- package/dist/chunks/{command-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
- package/dist/chunks/{command-xw9fg8fb.js → repository-cache-8vcf4cwr.js} +2 -2
- package/dist/chunks/{command-tzv31cm4.js → repository-cache-8wejdmph.js} +13 -13
- package/dist/chunks/{command-2eegacq4.js → repository-cache-92swnv4m.js} +8 -8
- package/dist/chunks/{command-vzrdb6x9.js → repository-cache-98m99f87.js} +6 -6
- package/dist/chunks/{command-jksyzxb8.js → repository-cache-9gbxqhfr.js} +5 -5
- package/dist/chunks/{command-h69hk4jg.js → repository-cache-9n3ec7dh.js} +48 -48
- package/dist/chunks/{command-rpnyj0cb.js → repository-cache-9nw2rpfz.js} +87 -87
- package/dist/chunks/{command-z2vhj21h.js → repository-cache-9rmnry6z.js} +5 -5
- package/dist/chunks/{command-vvx0ahez.js → repository-cache-9t8688mm.js} +16 -16
- package/dist/chunks/{command-jj5bew2e.js → repository-cache-9ts5gs6y.js} +50 -50
- package/dist/chunks/{command-9wev2pgg.js → repository-cache-9wev2pgg.js} +1 -1
- package/dist/chunks/{command-7v6vae4w.js → repository-cache-a20pjse5.js} +3 -3
- package/dist/chunks/{command-3xzwacgq.js → repository-cache-a2abd7c8.js} +15 -15
- package/dist/chunks/{command-khehvdjk.js → repository-cache-a7fmgszc.js} +18 -18
- package/dist/chunks/{command-jr1c3etd.js → repository-cache-a7rvq0vj.js} +11 -11
- package/dist/chunks/{command-4q8stq7x.js → repository-cache-aa3p0grs.js} +20 -20
- package/dist/chunks/{command-3q9enysw.js → repository-cache-acpej7js.js} +32 -32
- package/dist/chunks/{command-034tev2y.js → repository-cache-aj7mw0zk.js} +2 -2
- package/dist/chunks/{command-r0etpgas.js → repository-cache-ar1cg2aj.js} +34 -34
- package/dist/chunks/{command-axp4ehpq.js → repository-cache-awbtvej0.js} +6 -6
- package/dist/chunks/{command-tz35mf6x.js → repository-cache-axfvp7va.js} +8 -8
- package/dist/chunks/{command-qrtwq0eh.js → repository-cache-b0nz1egw.js} +8 -8
- package/dist/chunks/{command-j89nzgjf.js → repository-cache-b5cvzhy7.js} +32 -32
- package/dist/chunks/{command-bh5ww8rh.js → repository-cache-b5pzk1w6.js} +44 -44
- package/dist/chunks/{command-p84vce2c.js → repository-cache-b97d4gnm.js} +11 -11
- package/dist/chunks/{command-cywftvdx.js → repository-cache-bcsnmsfv.js} +72 -72
- package/dist/chunks/{command-4a84bgxb.js → repository-cache-begd6zth.js} +38 -38
- package/dist/chunks/{command-jnwbf985.js → repository-cache-bfnqc4d0.js} +15 -15
- package/dist/chunks/{command-22pq31c6.js → repository-cache-bfvhqt57.js} +6 -6
- package/dist/chunks/{command-nyzqtb2y.js → repository-cache-bh8xtp3j.js} +27 -27
- package/dist/chunks/{command-3gq0bdpp.js → repository-cache-bhdq219t.js} +11 -11
- package/dist/chunks/{command-4pmb27zq.js → repository-cache-bk7cr9nn.js} +9 -9
- package/dist/chunks/{command-1ep4rre3.js → repository-cache-bzeyqsqd.js} +4 -4
- package/dist/chunks/{command-mfp0neqk.js → repository-cache-c1p87g8p.js} +26 -26
- package/dist/chunks/{command-vmyf36rx.js → repository-cache-c2qmhs8t.js} +54 -54
- package/dist/chunks/{command-b9dbntts.js → repository-cache-c2stk2mm.js} +22 -22
- package/dist/chunks/{command-s3k0j0zg.js → repository-cache-c39s302y.js} +4 -4
- package/dist/chunks/{command-sp9nn688.js → repository-cache-cg54xxwj.js} +12 -12
- package/dist/chunks/{command-06x1kmm3.js → repository-cache-cj61rx2c.js} +16 -16
- package/dist/chunks/{command-1fdxsekg.js → repository-cache-cmvvh89a.js} +17 -17
- package/dist/chunks/{command-y9pep639.js → repository-cache-cq0ra0jh.js} +24 -24
- package/dist/chunks/{command-53fvhgkr.js → repository-cache-cqe88zww.js} +5 -5
- package/dist/chunks/{command-5f9rj60p.js → repository-cache-d26ntzqk.js} +14 -14
- package/dist/chunks/{command-cr1mssy2.js → repository-cache-d7fp9s3w.js} +49 -49
- package/dist/chunks/{command-mkhd10ty.js → repository-cache-day0cpb0.js} +14 -14
- package/dist/chunks/{command-vsm45mx7.js → repository-cache-djg74ehg.js} +11 -11
- package/dist/chunks/{command-dpkg50ah.js → repository-cache-dpkg50ah.js} +1 -1
- package/dist/chunks/{command-1vge1skc.js → repository-cache-dpt9takt.js} +98 -98
- package/dist/chunks/{command-57b9ws8p.js → repository-cache-drwq78ky.js} +5 -5
- package/dist/chunks/{command-zj8bmmts.js → repository-cache-dtnbwmg7.js} +15 -15
- package/dist/chunks/{command-3at1kaya.js → repository-cache-e0hwqygg.js} +190 -190
- package/dist/chunks/{command-rf7bhes0.js → repository-cache-e4514827.js} +36 -36
- package/dist/chunks/{command-2sq9cs44.js → repository-cache-e6xd5sk6.js} +15 -15
- package/dist/chunks/{command-76p14g35.js → repository-cache-e7gxy7fd.js} +4 -4
- package/dist/chunks/{command-86jr8x5y.js → repository-cache-ecj0sxev.js} +13 -13
- package/dist/chunks/{command-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
- package/dist/chunks/{command-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-k2xckaw8.js → repository-cache-eh4p6hf5.js} +29 -29
- package/dist/chunks/{command-a8q1nc8j.js → repository-cache-erjn3gam.js} +13 -13
- package/dist/chunks/{command-vty708x5.js → repository-cache-es79jehb.js} +14 -14
- package/dist/chunks/{command-yetrppan.js → repository-cache-etbdxt5c.js} +16 -16
- package/dist/chunks/{command-3db954pa.js → repository-cache-f9056yzv.js} +11 -11
- package/dist/chunks/{command-6p77gfgj.js → repository-cache-f9h0bmn8.js} +11 -11
- package/dist/chunks/{command-jn4zdy1z.js → repository-cache-faasdkpb.js} +18 -18
- package/dist/chunks/{command-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
- package/dist/chunks/{command-jy9jz103.js → repository-cache-fdrztmbp.js} +21 -21
- package/dist/chunks/{command-kbznsqxf.js → repository-cache-fk6x8bjb.js} +14 -14
- package/dist/chunks/{command-3ycmgy45.js → repository-cache-fmsvjh24.js} +25 -25
- package/dist/chunks/{command-hztdnym9.js → repository-cache-fn3caeej.js} +17 -17
- package/dist/chunks/{command-cp7wvvqd.js → repository-cache-fr5g4ae7.js} +11 -11
- package/dist/chunks/{command-31dmbqtz.js → repository-cache-g5wgwq6x.js} +5 -5
- package/dist/chunks/{command-9h10jqva.js → repository-cache-g8bf95t1.js} +23 -23
- package/dist/chunks/{command-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-tyk0w0pd.js → repository-cache-gf5160ad.js} +15 -15
- package/dist/chunks/{command-hqct51j7.js → repository-cache-ghnq0868.js} +18 -18
- package/dist/chunks/{command-g1bk0rvk.js → repository-cache-gn85dn78.js} +13 -13
- package/dist/chunks/{command-2xdwzbmw.js → repository-cache-gne8f8zx.js} +8 -8
- package/dist/chunks/{command-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-kks8wa7e.js → repository-cache-h9hmxamh.js} +19 -19
- package/dist/chunks/{command-dqqwr2kk.js → repository-cache-hcbxgsym.js} +11 -11
- package/dist/chunks/{command-x1ge9cxs.js → repository-cache-hcv80w8f.js} +8 -8
- package/dist/chunks/{command-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
- package/dist/chunks/{command-69thrbjb.js → repository-cache-hsgb4j0v.js} +9 -9
- package/dist/chunks/{command-syv31cvt.js → repository-cache-hwjkc1fd.js} +9 -9
- package/dist/chunks/{command-n7er3eab.js → repository-cache-hxnv0h4d.js} +29 -29
- package/dist/chunks/{command-yppjc11p.js → repository-cache-j4xwnxxe.js} +22 -22
- package/dist/chunks/{command-z07xh9t5.js → repository-cache-j7e7jnf7.js} +47 -47
- package/dist/chunks/{command-xzb6sdgh.js → repository-cache-jgfm49py.js} +93 -39
- package/dist/chunks/{command-hkk11q6k.js → repository-cache-jknb9njf.js} +40 -40
- package/dist/chunks/{command-wedt70z2.js → repository-cache-jp7rf1q7.js} +32 -32
- package/dist/chunks/{command-15k3sgvy.js → repository-cache-jsdm87ms.js} +22 -22
- package/dist/chunks/{command-497kckq0.js → repository-cache-k0xvjywy.js} +61 -61
- package/dist/chunks/{command-q99gfpgg.js → repository-cache-k332vpf5.js} +3 -3
- package/dist/chunks/{command-xfwyxa0r.js → repository-cache-k7frbprm.js} +14 -14
- package/dist/chunks/{command-hqcwm3sg.js → repository-cache-ka6d3s58.js} +23 -23
- package/dist/chunks/{command-gcyw4s3t.js → repository-cache-kaa2ns5k.js} +26 -26
- package/dist/chunks/{command-9pkkzrmj.js → repository-cache-kerhshr9.js} +5 -5
- package/dist/chunks/{command-14e2z5dd.js → repository-cache-khan5c8r.js} +21 -21
- package/dist/chunks/{command-khmqacep.js → repository-cache-khmqacep.js} +1 -1
- package/dist/chunks/{command-tt8gc4fv.js → repository-cache-kmj26603.js} +6 -6
- package/dist/chunks/{command-zvt5dnpc.js → repository-cache-kne8f3cn.js} +4 -4
- package/dist/chunks/{command-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
- package/dist/chunks/repository-cache-ky0e2j5w.js +523 -0
- package/dist/chunks/{command-xvc40k3r.js → repository-cache-m2r0nwr4.js} +35 -35
- package/dist/chunks/{command-58072hz9.js → repository-cache-m5jcjszt.js} +3 -3
- package/dist/chunks/{command-4ppxeyv4.js → repository-cache-m8r31wvh.js} +14 -14
- package/dist/chunks/{command-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{command-0g0zhkr3.js → repository-cache-maxwxnrc.js} +22 -22
- package/dist/chunks/{command-bhz4wbbx.js → repository-cache-mktar7aj.js} +6 -6
- package/dist/chunks/{command-x084xcqe.js → repository-cache-mre6e2bz.js} +26 -26
- package/dist/chunks/{command-xkpx58x0.js → repository-cache-mt8bq6wm.js} +3 -3
- package/dist/chunks/{command-cyqt27pd.js → repository-cache-mv2tdfz1.js} +5 -5
- package/dist/chunks/{command-vvccsdf3.js → repository-cache-mx9vqzsb.js} +6 -6
- package/dist/chunks/{command-k1nwc2sn.js → repository-cache-n42ws626.js} +12 -12
- package/dist/chunks/{command-ns3jj6y3.js → repository-cache-n89rhept.js} +18 -18
- package/dist/chunks/{command-njwf2h5j.js → repository-cache-na2qt776.js} +11 -11
- package/dist/chunks/{command-0akze81x.js → repository-cache-neter18e.js} +17 -17
- package/dist/chunks/{command-nhsdda1g.js → repository-cache-njn7svrx.js} +14 -14
- package/dist/chunks/{command-nz56sr1f.js → repository-cache-nz56sr1f.js} +2 -2
- package/dist/chunks/{command-ppqq8y70.js → repository-cache-p4ev34c6.js} +5 -5
- package/dist/chunks/{command-dgzq35zb.js → repository-cache-p50c7myx.js} +3 -3
- package/dist/chunks/{command-p37cw4rj.js → repository-cache-pa8pe2x7.js} +8 -8
- package/dist/chunks/{command-nq0h700v.js → repository-cache-pjrd54q9.js} +13 -13
- package/dist/chunks/{command-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/repository-cache-q3q02nra.js +107 -0
- package/dist/chunks/repository-cache-q509s3k3.js +18 -0
- package/dist/chunks/{command-6x8zv1ga.js → repository-cache-q9nxkgyw.js} +18 -18
- package/dist/chunks/{command-5kxh3622.js → repository-cache-qaejpsje.js} +31 -31
- package/dist/chunks/{command-cwa6csj7.js → repository-cache-qmqgtz8f.js} +9 -9
- package/dist/chunks/{command-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{command-xebswx6q.js → repository-cache-qwwrvzk6.js} +9 -9
- package/dist/chunks/{command-q5vfa25v.js → repository-cache-r5mam93n.js} +20 -20
- package/dist/chunks/{command-anffd6jp.js → repository-cache-rb3bf4ta.js} +24 -24
- package/dist/chunks/repository-cache-rdknsxcs.js +26 -0
- package/dist/chunks/{command-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-xfjms2yf.js → repository-cache-re7drvpd.js} +28 -28
- package/dist/chunks/{command-v20a42cg.js → repository-cache-rhgbdkcw.js} +4 -4
- package/dist/chunks/{command-bx2c7yn7.js → repository-cache-rs7cjgc2.js} +11 -11
- package/dist/chunks/{command-d53g1a3y.js → repository-cache-rzvtppca.js} +9 -9
- package/dist/chunks/{command-wazpdbd3.js → repository-cache-s3s0e237.js} +16 -16
- package/dist/chunks/{command-85bd81md.js → repository-cache-s441vsqw.js} +45 -45
- package/dist/chunks/{command-w5xp9r00.js → repository-cache-s5q4smqk.js} +23 -23
- package/dist/chunks/{command-avnbws58.js → repository-cache-s8764fh1.js} +22 -22
- package/dist/chunks/{command-3c1qz3w8.js → repository-cache-shgfme6y.js} +9 -9
- package/dist/chunks/{command-m89j5wza.js → repository-cache-sk60w5yp.js} +4 -4
- package/dist/chunks/{command-nr352xqj.js → repository-cache-stgww97k.js} +1 -1
- package/dist/chunks/{command-wy4tkx13.js → repository-cache-sy8aafnh.js} +13 -13
- package/dist/chunks/{command-syv4x271.js → repository-cache-syv4x271.js} +1 -1
- package/dist/chunks/{command-y0t9c3b8.js → repository-cache-t445km54.js} +32 -32
- package/dist/chunks/{command-ratrq7cm.js → repository-cache-t6vsspdg.js} +7 -7
- package/dist/chunks/{command-y28amm4t.js → repository-cache-t9gapptp.js} +14 -14
- package/dist/chunks/{command-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{command-nxq8z62t.js → repository-cache-thdw9z92.js} +14 -14
- package/dist/chunks/{command-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
- package/dist/chunks/{command-yy6cvr68.js → repository-cache-tq6mjjtf.js} +41 -41
- package/dist/chunks/{command-81f7vt2z.js → repository-cache-txm3e8qz.js} +4 -4
- package/dist/chunks/{command-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
- package/dist/chunks/repository-cache-v19kdf3f.js +257 -0
- package/dist/chunks/{command-tx0gtb9m.js → repository-cache-v210v162.js} +9 -9
- package/dist/chunks/{command-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
- package/dist/chunks/{command-k0vsesgg.js → repository-cache-vca9tefh.js} +20 -20
- package/dist/chunks/{command-fvvr5s83.js → repository-cache-ve45bn9x.js} +6 -6
- package/dist/chunks/{command-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{command-a3c7ahw6.js → repository-cache-vfjhn2wd.js} +4 -4
- package/dist/chunks/{command-86br03e3.js → repository-cache-vws1dc27.js} +8 -8
- package/dist/chunks/{command-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-pz7h80dq.js → repository-cache-vzvdzsp8.js} +19 -19
- package/dist/chunks/{command-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{command-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-gc8554r3.js → repository-cache-w5v1nc2x.js} +45 -45
- package/dist/chunks/{command-zf2st5d0.js → repository-cache-w95yk9fa.js} +12 -12
- package/dist/chunks/{command-y8b4jftr.js → repository-cache-w97r3myk.js} +7 -7
- package/dist/chunks/{command-9tjr5tfj.js → repository-cache-waj948mc.js} +13 -13
- package/dist/chunks/{command-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-xmhs9py1.js → repository-cache-wb3npxmx.js} +24 -24
- package/dist/chunks/{command-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{command-87gdc6tq.js → repository-cache-wdj21rq2.js} +3 -3
- package/dist/chunks/{command-rvmmw9hn.js → repository-cache-wg8mj883.js} +4 -4
- package/dist/chunks/{command-bjx1sjef.js → repository-cache-wjr9rjd7.js} +6 -6
- package/dist/chunks/{command-qes6m8vb.js → repository-cache-x5n6rhaq.js} +28 -28
- package/dist/chunks/{command-3y377wv9.js → repository-cache-x661k3y3.js} +4 -4
- package/dist/chunks/{command-p6ern3p6.js → repository-cache-x99b0ndd.js} +33 -33
- package/dist/chunks/{command-6n4b0dsb.js → repository-cache-xdx7acry.js} +8 -8
- package/dist/chunks/{command-4bw5k2yb.js → repository-cache-xsd5t8ts.js} +7 -7
- package/dist/chunks/{command-wgzgvsr8.js → repository-cache-xvpfz61x.js} +17 -17
- package/dist/chunks/{command-f6znfd8x.js → repository-cache-xwvq48yb.js} +53 -53
- package/dist/chunks/{command-dshe5yp9.js → repository-cache-xzcw8fss.js} +35 -35
- package/dist/chunks/{command-zsd94d5t.js → repository-cache-xzmr40r3.js} +20 -20
- package/dist/chunks/{command-54ckgp8f.js → repository-cache-xzyddccp.js} +11 -11
- package/dist/chunks/{command-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-hx1srwd5.js → repository-cache-y1seeq9p.js} +19 -19
- package/dist/chunks/{command-ravky6v4.js → repository-cache-y2vmg8pj.js} +27 -27
- package/dist/chunks/{command-61bp3nch.js → repository-cache-y35aym2w.js} +4 -4
- package/dist/chunks/{command-prq7hedt.js → repository-cache-y56ehv6b.js} +9 -9
- package/dist/chunks/{command-y7nndgyc.js → repository-cache-y7nndgyc.js} +2 -2
- package/dist/chunks/{command-bn5wyt58.js → repository-cache-y7wkqyfh.js} +23 -23
- package/dist/chunks/{command-bh36nkqs.js → repository-cache-yhyj8seq.js} +23 -23
- package/dist/chunks/{command-s5r7j2ea.js → repository-cache-ypjr4kpw.js} +4 -4
- package/dist/chunks/{command-a37705eh.js → repository-cache-yyj6wd33.js} +23 -23
- package/dist/chunks/{command-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
- package/dist/chunks/{command-gjs4gkbj.js → repository-cache-z7e4qa79.js} +28 -28
- package/dist/chunks/{command-dd1wce65.js → repository-cache-z8b9xacy.js} +50 -50
- package/dist/chunks/{command-xhw0dpzq.js → repository-cache-zkbbq4dt.js} +16 -16
- package/dist/chunks/{command-mf528kyb.js → repository-cache-zmtrh7z6.js} +27 -27
- package/dist/chunks/{command-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +101 -101
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +10 -10
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/types/voice.d.ts +30 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/command-gknwg3d3.js +0 -82
- package/dist/chunks/command-kbyad70m.js +0 -517
- package/dist/chunks/command-m1grcskh.js +0 -257
- package/dist/chunks/command-mr3dex66.js +0 -26
- package/dist/chunks/command-rap9a73h.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service73,
|
|
15
|
+
node77,
|
|
16
|
+
Event16
|
|
17
|
+
} from "./repository-cache-qaejpsje.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -40,12 +40,12 @@ __export(exports_provider3, {
|
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
42
|
Event: () => Event15,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID13,
|
|
44
|
+
Info: () => Info21,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
|
-
Request: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Request: () => Request3,
|
|
48
|
+
Service: () => Service72,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node76,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -72,7 +72,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
74
|
import { Event as Event15 } from "@opencode/schema/provider";
|
|
75
|
-
var
|
|
75
|
+
var ID13 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
279
279
|
return result;
|
|
280
280
|
}, new Map).values());
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var Request3 = Provider.Request;
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info21 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service72 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
301
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service84;
|
|
303
|
+
const integrations = yield* Service73;
|
|
304
|
+
const location = yield* Service82;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service72.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node88, node77, node86] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service72, node76, exports_provider3, Event15 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make6(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make6 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service50,
|
|
12
|
+
node52
|
|
13
|
+
} from "./repository-cache-acpej7js.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event8,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput3,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError6,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service49,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node51
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event8 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service49 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service82;
|
|
115
|
+
const search = yield* Service50;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service49.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError6({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node51 = makeLocationNode({
|
|
175
|
+
service: Service49,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node86, node52]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service49, node51, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref4,
|
|
11
|
+
Service82,
|
|
12
|
+
node86
|
|
13
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service77,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node81
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service77 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
42
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service84;
|
|
44
|
+
const location = yield* Service82;
|
|
45
|
+
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service77.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node88, node86] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref4)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service77, node81, exports_rpc, define2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-m5jcjszt.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./repository-cache-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service24,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node28
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service24 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service24.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node28 = makeGlobalNode({ service: Service24, layer: layer11, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service24, makeLayer2, layer11, node28, exports_model_transport };
|