@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./repository-cache-1p6gkt63.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node86,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service82 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node86 = LayerNode.unbound(Service82, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service83;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service82.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service82,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node87]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info27, Ref4, response2, Service82, node86, boundNode2, exports_location };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./repository-cache-x99b0ndd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service48,
|
|
12
|
+
node50
|
|
13
|
+
} from "./repository-cache-j4xwnxxe.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service82,
|
|
19
|
+
node86
|
|
20
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-kwb1v3vj.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-n89rhept.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-cache-0e8pwxm1.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-6827pfxn.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service75,
|
|
37
|
+
Event18,
|
|
38
|
+
node79
|
|
39
|
+
} from "./repository-cache-70q6x9sh.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options6,
|
|
49
|
+
Service: () => Service47,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured6,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer18,
|
|
54
|
+
node: () => node49,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options6 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options8 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service47 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service47, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
103
|
-
const bus = yield*
|
|
104
|
-
const credentials = yield*
|
|
101
|
+
const location = yield* Service82;
|
|
102
|
+
const watcher = yield* Service48;
|
|
103
|
+
const bus = yield* Service84;
|
|
104
|
+
const credentials = yield* Service74;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service75;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -186,7 +186,7 @@ var layer25 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
188
188
|
return [
|
|
189
|
-
...yield* Effect.forEach(
|
|
189
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
190
190
|
new Directory({ type: "directory", path: directory })
|
|
191
191
|
];
|
|
192
192
|
});
|
|
@@ -254,8 +254,8 @@ var layer25 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var layer25 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
268
268
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
269
269
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
270
270
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
271
|
-
const candidates =
|
|
271
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
272
272
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
273
273
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
274
274
|
`;
|
|
@@ -283,7 +283,7 @@ var layer25 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service47.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer25 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured6(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
301
|
-
layer:
|
|
300
|
+
service: Service47,
|
|
301
|
+
layer: layer18(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
node50,
|
|
304
|
+
node88,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
node86,
|
|
308
|
+
node78,
|
|
309
|
+
node79,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node49 = configured6();
|
|
315
315
|
|
|
316
|
-
export { latest2,
|
|
316
|
+
export { latest2, Options6, Service47, Test2, testLayer2, layer18, configured6, node49, exports_config };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./repository-cache-rb3bf4ta.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./repository-cache-ghnq0868.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-5zn069ks.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service57
|
|
26
|
+
} from "./repository-cache-42q84ag7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service14
|
|
29
|
+
} from "./repository-cache-a7fmgszc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin37,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input13 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin37 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service65;
|
|
90
|
+
const ripgrep = yield* Service51;
|
|
91
|
+
const location = yield* Service82;
|
|
92
|
+
const access = yield* Service14;
|
|
93
|
+
const permission = yield* Service57;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin31 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin31 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin37, exports_grep };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./repository-cache-cq0ra0jh.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./repository-cache-hcv80w8f.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-sk60w5yp.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service47
|
|
16
|
+
} from "./repository-cache-xwvq48yb.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin11
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin11 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service47;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin41 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID11.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID11.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin11, exports_agent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service33,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node36
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service33 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service33.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node36 = makeLocationNode({
|
|
143
|
+
service: Service33,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service33, node36, exports_tool_output2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-rs7cjgc2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./repository-cache-x99b0ndd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./repository-cache-qaejpsje.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./repository-cache-5ky00pdm.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-bfvhqt57.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service74;
|
|
57
|
+
const integrations = yield* Service73;
|
|
58
|
+
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|