@opencode/core 0.0.0-dev-21441 → 0.0.0-dev-21453
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/{model-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{model-8f3yd2r3.js → command-06x1kmm3.js} +16 -16
- package/dist/chunks/{model-tsspjr8t.js → command-0akze81x.js} +17 -17
- package/dist/chunks/{model-8yj6gt86.js → command-0g0zhkr3.js} +19 -19
- package/dist/chunks/{model-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-c5kkdnkt.js → command-14e2z5dd.js} +21 -21
- package/dist/chunks/{model-q0qyqwgx.js → command-15k3sgvy.js} +20 -20
- package/dist/chunks/{model-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-bzeyqsqd.js → command-1ep4rre3.js} +4 -4
- package/dist/chunks/{model-q6ad194x.js → command-1fdxsekg.js} +17 -17
- package/dist/chunks/{model-6ac9zck1.js → command-1j8r0rfw.js} +2 -2
- package/dist/chunks/{model-rkprpv83.js → command-1p07q0wb.js} +4 -4
- package/dist/chunks/{model-ysh87z2r.js → command-1vge1skc.js} +95 -95
- package/dist/chunks/{model-kzfz4mgv.js → command-22pq31c6.js} +6 -6
- package/dist/chunks/{model-9zh18pxw.js → command-26v53g8c.js} +14 -14
- package/dist/chunks/{model-ngts6ef0.js → command-2eegacq4.js} +8 -8
- package/dist/chunks/{model-y72932aq.js → command-2sq9cs44.js} +15 -15
- package/dist/chunks/{model-w8tsas1h.js → command-2xdwzbmw.js} +8 -8
- package/dist/chunks/{model-pw8bav78.js → command-31dmbqtz.js} +8 -8
- package/dist/chunks/{model-pr0snp0j.js → command-34a37mbe.js} +14 -14
- package/dist/chunks/{model-7fhvptcd.js → command-37txpjr1.js} +10 -10
- package/dist/chunks/{model-jew53rqn.js → command-3at1kaya.js} +194 -194
- package/dist/chunks/{model-dbqzdb30.js → command-3c1qz3w8.js} +9 -9
- package/dist/chunks/{model-8f2rgp07.js → command-3db954pa.js} +11 -11
- package/dist/chunks/{model-4qx9rxvs.js → command-3gq0bdpp.js} +11 -11
- package/dist/chunks/{model-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-0ry3h72d.js → command-3q9enysw.js} +32 -32
- package/dist/chunks/{model-m8v7608e.js → command-3se1dkn2.js} +9 -9
- package/dist/chunks/{model-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-jy4cskw3.js → command-3xzwacgq.js} +15 -15
- package/dist/chunks/{model-azwe5p1w.js → command-3y377wv9.js} +4 -4
- package/dist/chunks/{model-wsw3qazc.js → command-3ycmgy45.js} +19 -19
- package/dist/chunks/{model-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-b4nzaj04.js → command-461nxmbv.js} +5 -5
- package/dist/chunks/{model-bx0gyb4h.js → command-47jkzegy.js} +5 -5
- package/dist/chunks/{model-phs6h013.js → command-48pg14e9.js} +29 -29
- package/dist/chunks/{model-m2t04kmm.js → command-497kckq0.js} +59 -59
- package/dist/chunks/{model-7428ym6e.js → command-4a84bgxb.js} +38 -38
- package/dist/chunks/{model-x9d5zs2r.js → command-4bw5k2yb.js} +7 -7
- package/dist/chunks/{model-t2vetksk.js → command-4pmb27zq.js} +9 -9
- package/dist/chunks/{model-xftgp53z.js → command-4ppxeyv4.js} +14 -14
- package/dist/chunks/{model-90vjyywb.js → command-4q8stq7x.js} +19 -19
- package/dist/chunks/{model-1pxz8ven.js → command-4xpgt2w9.js} +5 -5
- package/dist/chunks/{model-pew5zx78.js → command-53fvhgkr.js} +5 -5
- package/dist/chunks/{model-ftyq7w3n.js → command-53tqp3se.js} +27 -27
- package/dist/chunks/{model-ay72y2y9.js → command-54ckgp8f.js} +11 -11
- package/dist/chunks/{model-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{model-drwq78ky.js → command-57b9ws8p.js} +5 -5
- package/dist/chunks/{model-m5jcjszt.js → command-58072hz9.js} +3 -3
- package/dist/chunks/{model-7emsy3e5.js → command-5f9rj60p.js} +11 -11
- package/dist/chunks/{model-9s88q58m.js → command-5hy62t2w.js} +32 -32
- package/dist/chunks/{model-1xc2j506.js → command-5kxh3622.js} +31 -31
- package/dist/chunks/{model-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-yvhtzdrt.js → command-5thbj1d7.js} +11 -11
- package/dist/chunks/{model-dp7s877j.js → command-61bp3nch.js} +6 -6
- package/dist/chunks/{model-6827pfxn.js → command-6827pfxn.js} +1 -1
- package/dist/chunks/{model-pw60dnzh.js → command-69thrbjb.js} +9 -9
- package/dist/chunks/{model-3z0hjn58.js → command-6n4b0dsb.js} +9 -9
- package/dist/chunks/{model-4tv8d2yj.js → command-6p77gfgj.js} +3 -3
- package/dist/chunks/{model-2vtc1qv7.js → command-6snphvfm.js} +32 -32
- package/dist/chunks/{model-v7jr1a0f.js → command-6x8zv1ga.js} +18 -18
- package/dist/chunks/{model-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-vep9yay1.js → command-76p14g35.js} +4 -4
- package/dist/chunks/{model-775gj3j1.js → command-775gj3j1.js} +2 -2
- package/dist/chunks/{model-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-qgn6gcr1.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-a20pjse5.js → command-7v6vae4w.js} +3 -3
- package/dist/chunks/{model-bmr56wjg.js → command-81f7vt2z.js} +4 -4
- package/dist/chunks/{model-w1eejvng.js → command-84txncab.js} +5 -5
- package/dist/chunks/{model-wmsy6ejg.js → command-85bd81md.js} +45 -45
- package/dist/chunks/{model-njf7xda2.js → command-86br03e3.js} +8 -8
- package/dist/chunks/{model-nyz2bd3h.js → command-86jr8x5y.js} +10 -10
- package/dist/chunks/{model-b8gd3dkx.js → command-87g5j40b.js} +11 -11
- package/dist/chunks/{model-8faye2d5.js → command-87gdc6tq.js} +3 -3
- package/dist/chunks/{model-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-8mywswrd.js → command-8mywswrd.js} +1 -1
- package/dist/chunks/{model-fqhbsnr5.js → command-8s1fj8xg.js} +8 -8
- package/dist/chunks/{model-w234dzpk.js → command-8ybx9dv8.js} +1 -1
- package/dist/chunks/{model-z3qwewxj.js → command-9h10jqva.js} +21 -21
- package/dist/chunks/{model-7d2a7xbs.js → command-9pkkzrmj.js} +5 -5
- package/dist/chunks/{model-brrmpkdk.js → command-9tjr5tfj.js} +13 -13
- package/dist/chunks/{model-9wev2pgg.js → command-9wev2pgg.js} +1 -1
- package/dist/chunks/{model-y8hhzqsr.js → command-a37705eh.js} +20 -20
- package/dist/chunks/{model-v7z2bvyd.js → command-a3c7ahw6.js} +4 -4
- package/dist/chunks/{model-skg07gn4.js → command-a8q1nc8j.js} +18 -18
- package/dist/chunks/{model-jcdh4pz8.js → command-abhakzek.js} +5 -5
- package/dist/chunks/{model-avvce0kw.js → command-am1vdybj.js} +4 -4
- package/dist/chunks/{model-p6mr1rmw.js → command-amznas3s.js} +30 -30
- package/dist/chunks/{model-c6tn7fe1.js → command-anffd6jp.js} +24 -24
- package/dist/chunks/{model-s1qgsmy4.js → command-avnbws58.js} +21 -21
- package/dist/chunks/{model-r7nsrefv.js → command-axp4ehpq.js} +4 -4
- package/dist/chunks/{model-fh73kyk7.js → command-b3eecbxp.js} +1 -1
- package/dist/chunks/{model-f4bf12x2.js → command-b7eb9p8b.js} +43 -43
- package/dist/chunks/{model-qx1ath16.js → command-b9dbntts.js} +20 -20
- package/dist/chunks/{model-89bp7pxy.js → command-bc4d43x0.js} +34 -34
- package/dist/chunks/{model-nhf8j9q0.js → command-bh36nkqs.js} +20 -20
- package/dist/chunks/{model-1nxqr4r9.js → command-bh5ww8rh.js} +43 -43
- package/dist/chunks/{model-z6m6eyhw.js → command-bhz4wbbx.js} +6 -6
- package/dist/chunks/{model-bjx1sjef.js → command-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-a3azppd8.js → command-bn5wyt58.js} +25 -25
- package/dist/chunks/{model-v37eec1m.js → command-bx2c7yn7.js} +11 -11
- package/dist/chunks/{model-k4rzk3de.js → command-byat028d.js} +22 -22
- package/dist/chunks/{model-77yby8k2.js → command-cp7wvvqd.js} +13 -13
- package/dist/chunks/{model-hcmqm60a.js → command-cqhbfnr1.js} +34 -34
- package/dist/chunks/{model-m256j290.js → command-cr1mssy2.js} +39 -39
- package/dist/chunks/{model-r2m716tb.js → command-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-7rsrdkkd.js → command-cyqt27pd.js} +5 -5
- package/dist/chunks/{model-yjnk86sx.js → command-cywftvdx.js} +71 -71
- package/dist/chunks/{model-zxqf7zeg.js → command-d53g1a3y.js} +9 -9
- package/dist/chunks/{model-1xasrt0z.js → command-d9xzyqvc.js} +22 -22
- package/dist/chunks/{model-avhh8dq0.js → command-dd1wce65.js} +50 -50
- package/dist/chunks/{model-mwez8230.js → command-dfse8kb6.js} +19 -19
- package/dist/chunks/{model-dgzq35zb.js → command-dgzq35zb.js} +3 -3
- package/dist/chunks/{model-y71avatq.js → command-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-e9fdq14h.js → command-dqqwr2kk.js} +11 -11
- package/dist/chunks/{model-0dhmp2yd.js → command-dshe5yp9.js} +35 -35
- package/dist/chunks/{model-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-4zjt8g5w.js → command-ej25e5st.js} +27 -27
- package/dist/chunks/{model-dsbszv0b.js → command-ejndb8vb.js} +5 -5
- package/dist/chunks/{model-eahhehpg.js → command-etttfj1t.js} +4 -4
- package/dist/chunks/{model-br1q80at.js → command-f6znfd8x.js} +50 -50
- package/dist/chunks/{model-fcy631f0.js → command-fcy631f0.js} +1 -1
- package/dist/chunks/{model-5ja1d4ns.js → command-frsbz4zz.js} +7 -7
- package/dist/chunks/{model-n16tn8ct.js → command-fvvr5s83.js} +6 -6
- package/dist/chunks/{model-spzr18gk.js → command-g1bk0rvk.js} +10 -10
- package/dist/chunks/{model-qkxbdw2e.js → command-gc8554r3.js} +42 -42
- package/dist/chunks/{model-hwdjztbp.js → command-gcyw4s3t.js} +26 -26
- package/dist/chunks/{model-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-5kyqk3pq.js → command-gf0da6cn.js} +22 -22
- package/dist/chunks/{model-gqpz6z8g.js → command-gjs4gkbj.js} +28 -28
- package/dist/chunks/{model-0kpm6ny7.js → command-gknwg3d3.js} +19 -19
- package/dist/chunks/{model-4w56xpem.js → command-gws60q17.js} +2 -2
- package/dist/chunks/{model-ev10eca8.js → command-h69hk4jg.js} +48 -48
- package/dist/chunks/{model-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-81e2q9d2.js → command-hgr5fehx.js} +6 -6
- package/dist/chunks/{model-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-b66sbxdz.js → command-hkk11q6k.js} +39 -39
- package/dist/chunks/{model-f8ak2qw6.js → command-hqct51j7.js} +18 -18
- package/dist/chunks/{model-85wqss2v.js → command-hqcwm3sg.js} +23 -23
- package/dist/chunks/{model-86adn4hf.js → command-hx1srwd5.js} +19 -19
- package/dist/chunks/{model-v2naxce5.js → command-hztdnym9.js} +17 -17
- package/dist/chunks/{model-khvb0rwv.js → command-j89nzgjf.js} +21 -21
- package/dist/chunks/{model-xx1330xd.js → command-jj5bew2e.js} +50 -50
- package/dist/chunks/{model-8xb7wkp5.js → command-jksyzxb8.js} +5 -5
- package/dist/chunks/{model-m39x472g.js → command-jn4zdy1z.js} +16 -16
- package/dist/chunks/{model-54x82z2x.js → command-jnwbf985.js} +15 -15
- package/dist/chunks/{model-n58kta93.js → command-jr1c3etd.js} +8 -8
- package/dist/chunks/{model-te35nyvt.js → command-jy9jz103.js} +21 -21
- package/dist/chunks/{model-dwapqv7g.js → command-k0vsesgg.js} +28 -28
- package/dist/chunks/{model-8xxqt97s.js → command-k1nwc2sn.js} +10 -10
- package/dist/chunks/{model-p7rtpkhv.js → command-k2xckaw8.js} +28 -28
- package/dist/chunks/{model-3c7a270v.js → command-kbyad70m.js} +339 -339
- package/dist/chunks/{model-rnn7w1p4.js → command-kbznsqxf.js} +14 -14
- package/dist/chunks/{model-qb0nxf2n.js → command-khehvdjk.js} +18 -18
- package/dist/chunks/{model-ny8edt06.js → command-khmqacep.js} +4 -4
- package/dist/chunks/{model-87d4rxkd.js → command-kks8wa7e.js} +25 -25
- package/dist/chunks/{model-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
- package/dist/chunks/command-m1grcskh.js +257 -0
- package/dist/chunks/{model-6ytk35w5.js → command-m28354wd.js} +8 -8
- package/dist/chunks/{model-tg52m06j.js → command-m89j5wza.js} +4 -4
- package/dist/chunks/{model-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-exttmg6k.js → command-ma9kyv73.js} +55 -55
- package/dist/chunks/{model-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{model-rgdzsb23.js → command-mf528kyb.js} +26 -26
- package/dist/chunks/{model-08jnn3k2.js → command-mfp0neqk.js} +33 -33
- package/dist/chunks/{model-27b5n917.js → command-mk379379.js} +5 -5
- package/dist/chunks/{model-2n2s27fs.js → command-mkhd10ty.js} +21 -21
- package/dist/chunks/command-mr3dex66.js +26 -0
- package/dist/chunks/{model-rcepm1f5.js → command-mr3qe865.js} +48 -48
- package/dist/chunks/{model-ztysxpw9.js → command-n7er3eab.js} +38 -38
- package/dist/chunks/{model-pwfw76w7.js → command-nhsdda1g.js} +11 -11
- package/dist/chunks/{model-5w4y226k.js → command-njwf2h5j.js} +11 -11
- package/dist/chunks/{model-0dkhwkzm.js → command-nq0h700v.js} +13 -13
- package/dist/chunks/{model-2y6xfkhh.js → command-nr352xqj.js} +1 -1
- package/dist/chunks/{model-xqwg9xjb.js → command-ns3jj6y3.js} +18 -18
- package/dist/chunks/{model-tzbng3th.js → command-nxq8z62t.js} +11 -11
- package/dist/chunks/{model-ktx3g641.js → command-nyzqtb2y.js} +27 -27
- package/dist/chunks/{model-nz56sr1f.js → command-nz56sr1f.js} +2 -2
- package/dist/chunks/{model-9hn6k4tm.js → command-p37cw4rj.js} +8 -8
- package/dist/chunks/{model-kzr27bp7.js → command-p6ern3p6.js} +31 -31
- package/dist/chunks/{model-qn4zc13r.js → command-p84vce2c.js} +11 -11
- package/dist/chunks/{model-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{model-d8wdsj84.js → command-ppqq8y70.js} +5 -5
- package/dist/chunks/{model-fdms3n6w.js → command-prq7hedt.js} +9 -9
- package/dist/chunks/{model-5vj573xy.js → command-pz7h80dq.js} +19 -19
- package/dist/chunks/{model-jgm9yn5c.js → command-q5vfa25v.js} +20 -20
- package/dist/chunks/{model-z9xssfm8.js → command-q99gfpgg.js} +3 -3
- package/dist/chunks/{model-qrp2wwz7.js → command-qes6m8vb.js} +23 -23
- package/dist/chunks/{model-h9snv32e.js → command-qmmgpbwc.js} +25 -25
- package/dist/chunks/{model-f68rgk4v.js → command-qrtwq0eh.js} +8 -8
- package/dist/chunks/{model-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{model-15kwxkkw.js → command-r0etpgas.js} +32 -32
- package/dist/chunks/{model-e80seqcp.js → command-r2z489rp.js} +3 -3
- package/dist/chunks/command-rap9a73h.js +18 -0
- package/dist/chunks/{model-t6vsspdg.js → command-ratrq7cm.js} +7 -7
- package/dist/chunks/{model-te2qnrax.js → command-ravky6v4.js} +27 -27
- package/dist/chunks/{model-yqbdvskr.js → command-rcas954y.js} +24 -24
- package/dist/chunks/{model-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-b58xtxx6.js → command-rf7bhes0.js} +36 -36
- package/dist/chunks/{model-cxnntska.js → command-rpnyj0cb.js} +83 -83
- package/dist/chunks/{model-zbj3bdxr.js → command-rscrykr4.js} +35 -35
- package/dist/chunks/{model-30xa8m6v.js → command-rvmmw9hn.js} +4 -4
- package/dist/chunks/{model-gscfk59s.js → command-s3k0j0zg.js} +4 -4
- package/dist/chunks/{model-xx3qrjat.js → command-s5ng6h1y.js} +11 -11
- package/dist/chunks/{model-yk480cxy.js → command-s5r7j2ea.js} +4 -4
- package/dist/chunks/{model-t550f9t1.js → command-s8d7rejh.js} +4 -4
- package/dist/chunks/{model-cgbdwjd7.js → command-sbdjwzg5.js} +19 -19
- package/dist/chunks/{model-z8y91tz7.js → command-sp9nn688.js} +12 -12
- package/dist/chunks/{model-jn9d9ctp.js → command-syv31cvt.js} +6 -6
- package/dist/chunks/{model-syv4x271.js → command-syv4x271.js} +1 -1
- package/dist/chunks/{model-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{model-6bsfpg63.js → command-tdyk1y3q.js} +29 -29
- package/dist/chunks/{model-tm0kqsz3.js → command-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-hbb7npd7.js → command-tt8gc4fv.js} +6 -6
- package/dist/chunks/{model-v210v162.js → command-tx0gtb9m.js} +9 -9
- package/dist/chunks/{model-e23enc76.js → command-tyk0w0pd.js} +15 -15
- package/dist/chunks/{model-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{model-4rqs6yce.js → command-tz35mf6x.js} +8 -8
- package/dist/chunks/{model-k5rzg22z.js → command-tzv31cm4.js} +13 -13
- package/dist/chunks/{model-nckr5t4x.js → command-v20a42cg.js} +4 -4
- package/dist/chunks/{model-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-w77emq9p.js → command-v8cs5gsq.js} +23 -23
- package/dist/chunks/{model-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{model-am1tmpj5.js → command-vkdxcejq.js} +10 -10
- package/dist/chunks/{model-kknjmmkb.js → command-vmyf36rx.js} +52 -52
- package/dist/chunks/{model-5b8v8zrf.js → command-vsm45mx7.js} +11 -11
- package/dist/chunks/{model-rrb7xk1e.js → command-vty708x5.js} +14 -14
- package/dist/chunks/{model-j5w2yx54.js → command-vvccsdf3.js} +6 -6
- package/dist/chunks/{model-n9xrk5dn.js → command-vvx0ahez.js} +27 -27
- package/dist/chunks/{model-2akrk0qn.js → command-vzrdb6x9.js} +3 -3
- package/dist/chunks/{model-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-0xpx2h3j.js → command-w0n6gnt9.js} +11 -11
- package/dist/chunks/{model-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-d2e8srxd.js → command-w5xp9r00.js} +20 -20
- package/dist/chunks/{model-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-2amemk0s.js → command-wazpdbd3.js} +13 -13
- package/dist/chunks/{model-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{model-8ppdvrmr.js → command-wedt70z2.js} +32 -32
- package/dist/chunks/{model-awq6q12e.js → command-wgzgvsr8.js} +17 -17
- package/dist/chunks/{model-34596wkg.js → command-wp5fex1h.js} +4 -4
- package/dist/chunks/{model-2dk47r97.js → command-wy4tkx13.js} +13 -13
- package/dist/chunks/{model-mwbfd4d0.js → command-x084xcqe.js} +25 -25
- package/dist/chunks/{model-2395y7e1.js → command-x1ge9cxs.js} +8 -8
- package/dist/chunks/{model-wt7gg852.js → command-xebswx6q.js} +13 -13
- package/dist/chunks/{model-m5qzm2bd.js → command-xfjms2yf.js} +30 -30
- package/dist/chunks/{model-3m9ff5cy.js → command-xfwyxa0r.js} +14 -14
- package/dist/chunks/{model-tz64kvcc.js → command-xhw0dpzq.js} +15 -15
- package/dist/chunks/{model-dq6h6djq.js → command-xkpx58x0.js} +3 -3
- package/dist/chunks/{model-53b0axgb.js → command-xmhs9py1.js} +24 -24
- package/dist/chunks/{model-tbrkfg2j.js → command-xvc40k3r.js} +35 -35
- package/dist/chunks/{model-xw9fg8fb.js → command-xw9fg8fb.js} +2 -2
- package/dist/chunks/{model-gctjtgeh.js → command-xzb6sdgh.js} +25 -25
- package/dist/chunks/{model-c3rxg466.js → command-y02z6wf6.js} +37 -37
- package/dist/chunks/{model-svdetgap.js → command-y0t9c3b8.js} +29 -29
- package/dist/chunks/{model-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-py3gqn7c.js → command-y28amm4t.js} +16 -16
- package/dist/chunks/{model-ra67jj04.js → command-y7nndgyc.js} +9 -9
- package/dist/chunks/{model-2z6g8rew.js → command-y8b4jftr.js} +7 -7
- package/dist/chunks/{model-5a9tc6z0.js → command-y9pep639.js} +24 -24
- package/dist/chunks/{model-rdkdw8j4.js → command-yetrppan.js} +16 -16
- package/dist/chunks/{model-bpxfg8jv.js → command-yppjc11p.js} +22 -22
- package/dist/chunks/{model-n1vev70q.js → command-yy6cvr68.js} +40 -40
- package/dist/chunks/{model-fa88cff1.js → command-z07xh9t5.js} +47 -47
- package/dist/chunks/{model-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z18fegx4.js → command-z18fegx4.js} +1 -1
- package/dist/chunks/{model-e4w4kj9m.js → command-z2vhj21h.js} +5 -5
- package/dist/chunks/{model-1w8evpxr.js → command-z5kwvp43.js} +10 -10
- package/dist/chunks/{model-zye99vjm.js → command-zbqtqq82.js} +2 -2
- package/dist/chunks/{model-tevdrw4n.js → command-zej84cff.js} +12 -12
- package/dist/chunks/{model-xe4x800z.js → command-zf2st5d0.js} +12 -12
- package/dist/chunks/{model-6f4br6b4.js → command-zj8bmmts.js} +15 -15
- package/dist/chunks/{model-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-xqpjqq35.js → command-zsd94d5t.js} +17 -17
- package/dist/chunks/{model-ca7w653e.js → command-zvt5dnpc.js} +4 -4
- package/dist/chunks/{model-zxq2ej10.js → command-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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +78 -78
- 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 +3 -3
- 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 +3 -3
- 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 +225 -225
- 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 +108 -108
- package/dist/form.js +86 -86
- 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 +6 -6
- 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 +80 -80
- 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 +109 -109
- 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 +109 -109
- package/dist/mcp/instructions.js +138 -138
- 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 +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +332 -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 +2 -2
- 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 +123 -123
- 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 +116 -116
- package/dist/plugin/provider/opencode.js +100 -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 +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- 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 +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- 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 +129 -129
- 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 +81 -81
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- 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 +75 -75
- 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 +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +133 -133
- 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 +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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/model-1x11rq2a.js +0 -18
- package/dist/chunks/model-33hq420q.js +0 -257
- package/dist/chunks/model-3tt614cf.js +0 -26
- /package/dist/chunks/{model-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → command-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./command-zej84cff.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service59,
|
|
17
|
+
node62
|
|
18
|
+
} from "./command-hqcwm3sg.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info11,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service58,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node61
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event11 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info11 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service58 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service85;
|
|
53
|
+
const cache = yield* Service59;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info11.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info11.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service58.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node61 = makeLocationNode({
|
|
116
|
+
service: Service58,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node89, node62]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info11, Service58, node61, exports_reference2, Event11 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-6p77gfgj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./command-zej84cff.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service47,
|
|
11
|
+
node50
|
|
12
|
+
} from "./command-vvccsdf3.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
Service81,
|
|
19
|
-
node85
|
|
20
|
-
} from "./model-rcepm1f5.js";
|
|
21
|
-
import {
|
|
22
|
-
Ref4
|
|
23
|
-
} from "./model-awq6q12e.js";
|
|
16
|
+
} from "./command-z5v4ffb3.js";
|
|
24
17
|
import {
|
|
25
18
|
Service79,
|
|
26
19
|
node83
|
|
27
|
-
} from "./
|
|
20
|
+
} from "./command-mr3qe865.js";
|
|
21
|
+
import {
|
|
22
|
+
Ref3
|
|
23
|
+
} from "./command-wgzgvsr8.js";
|
|
24
|
+
import {
|
|
25
|
+
Service48,
|
|
26
|
+
node51
|
|
27
|
+
} from "./command-p84vce2c.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./command-bhz4wbbx.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service44
|
|
39
|
+
} from "./command-zvt5dnpc.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service75,
|
|
42
|
+
node79
|
|
43
|
+
} from "./command-26v53g8c.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service45,
|
|
48
|
+
node48,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./command-rcas954y.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service43,
|
|
53
|
+
node47
|
|
54
|
+
} from "./command-yy6cvr68.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node34
|
|
57
|
+
} from "./command-w5xp9r00.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./command-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service30,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node33
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service30 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service48;
|
|
93
|
+
const store = yield* Service75;
|
|
94
|
+
const execution = yield* Service43;
|
|
95
|
+
const instances = yield* Service47;
|
|
96
|
+
const admission = yield* Service45;
|
|
97
97
|
const database = yield* Service86;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service85;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref3.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service44.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service30.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node33 = makeGlobalNode({
|
|
167
|
+
service: Service30,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
node85,
|
|
173
172
|
node83,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
node51,
|
|
174
|
+
node79,
|
|
175
|
+
node47,
|
|
176
|
+
node50,
|
|
177
|
+
node48,
|
|
178
178
|
node90,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node89,
|
|
180
|
+
node34
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service30, node33, exports_move };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-3y377wv9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./command-zej84cff.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./command-p6ern3p6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-5kxh3622.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./command-6snphvfm.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./command-bc4d43x0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./command-b9dbntts.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-bx2c7yn7.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID12
|
|
33
|
+
} from "./command-y9pep639.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID16.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service70;
|
|
167
|
+
const bus = yield* Service85;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID9.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID9.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID12.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID9.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID9.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./command-zej84cff.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-bc4d43x0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service23,
|
|
9
|
+
Event6
|
|
10
|
+
} from "./command-hkk11q6k.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service23;
|
|
42
|
+
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event6.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./command-yppjc11p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./command-f6znfd8x.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-61bp3nch.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
scan3
|
|
13
|
+
} from "./command-1ep4rre3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin39
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin39 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service65;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service66;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -51,7 +51,7 @@ var Plugin30 = define({
|
|
|
51
51
|
if (!resolved)
|
|
52
52
|
continue;
|
|
53
53
|
yield* watch(resolved, "directory");
|
|
54
|
-
for (const filepath of yield*
|
|
54
|
+
for (const filepath of yield* scan3(resolved)) {
|
|
55
55
|
const content = yield* fs.readFileStringSafe(filepath).pipe(Effect.orElseSucceed(() => {
|
|
56
56
|
return;
|
|
57
57
|
}));
|
|
@@ -76,4 +76,4 @@ var Plugin30 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin39, exports_compatibility };
|