@opencode/core 0.0.0-dev-21368 → 0.0.0-dev-21382
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{schema-4a32pvx7.js → file-mutation-083bb7kr.js} +1 -1
- package/dist/chunks/{schema-48kw51zw.js → file-mutation-08rawchj.js} +3 -3
- package/dist/chunks/{schema-4teq5az6.js → file-mutation-0eymxkpr.js} +51 -51
- package/dist/chunks/{schema-yx0rmv9r.js → file-mutation-0fn2v7vk.js} +6 -6
- package/dist/chunks/{schema-vag86jwj.js → file-mutation-0nqg4kny.js} +9 -9
- package/dist/chunks/{schema-84kr3hab.js → file-mutation-0r2cw8fn.js} +8 -8
- package/dist/chunks/{schema-wg91gmf4.js → file-mutation-0ryx4cv5.js} +36 -36
- package/dist/chunks/{schema-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-d75x1326.js → file-mutation-0xz2mzgc.js} +26 -26
- package/dist/chunks/{schema-bzeyqsqd.js → file-mutation-1ep4rre3.js} +4 -4
- package/dist/chunks/{schema-9hhtrjbb.js → file-mutation-1f7m535t.js} +12 -12
- package/dist/chunks/{schema-j73na0aw.js → file-mutation-1rabqv72.js} +18 -18
- package/dist/chunks/{schema-1rmqtx3n.js → file-mutation-1rmqtx3n.js} +3 -3
- package/dist/chunks/{schema-74mhpw3w.js → file-mutation-21xx9xc6.js} +17 -17
- package/dist/chunks/{schema-mvg2napp.js → file-mutation-27p00kw8.js} +22 -22
- package/dist/chunks/{schema-e4771dax.js → file-mutation-2ccjc77m.js} +14 -14
- package/dist/chunks/{schema-42kfqa6a.js → file-mutation-2f26zb5h.js} +32 -32
- package/dist/chunks/file-mutation-2g1qnqk3.js +257 -0
- package/dist/chunks/{schema-7dqw4kz8.js → file-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{schema-47jkzegy.js → file-mutation-2k9fjx65.js} +5 -5
- package/dist/chunks/{schema-zdtbn3v6.js → file-mutation-2kjrre30.js} +20 -20
- package/dist/chunks/{schema-phse5vhf.js → file-mutation-2nb55xn8.js} +26 -26
- package/dist/chunks/{schema-xgmhetns.js → file-mutation-3179ttex.js} +14 -14
- package/dist/chunks/{schema-wcp8qb9k.js → file-mutation-322qbvpa.js} +18 -18
- package/dist/chunks/{schema-hp36aydz.js → file-mutation-3e2gnrvk.js} +24 -24
- package/dist/chunks/{schema-pcb8yjd0.js → file-mutation-3hefbbgh.js} +7 -7
- package/dist/chunks/{schema-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{schema-3cn8netw.js → file-mutation-3k72abas.js} +19 -19
- package/dist/chunks/{schema-zsep494j.js → file-mutation-3p8nb07v.js} +5 -5
- package/dist/chunks/{schema-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-ahdc3t4z.js → file-mutation-3xymvwyv.js} +8 -8
- package/dist/chunks/{schema-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-ke8th4a0.js → file-mutation-49ma6pwq.js} +13 -13
- package/dist/chunks/{schema-1skh4z6z.js → file-mutation-4b4em5d4.js} +31 -31
- package/dist/chunks/{schema-1bs8104e.js → file-mutation-4f5ezzxr.js} +8 -8
- package/dist/chunks/{schema-jm1wa9nf.js → file-mutation-4fm3tq8e.js} +20 -20
- package/dist/chunks/{schema-c8bydgjz.js → file-mutation-4mwpykj0.js} +6 -6
- package/dist/chunks/{schema-1knv165j.js → file-mutation-4xfddg59.js} +26 -26
- package/dist/chunks/{schema-1ffg5m5z.js → file-mutation-4yb17086.js} +45 -45
- package/dist/chunks/{schema-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-7pest08f.js → file-mutation-56byzq03.js} +9 -9
- package/dist/chunks/{schema-rkpm4y6y.js → file-mutation-59b3s74c.js} +11 -11
- package/dist/chunks/{schema-sqmzwr9m.js → file-mutation-5e1pzs32.js} +9 -9
- package/dist/chunks/{schema-bnn3p74r.js → file-mutation-5e2h11rs.js} +4 -4
- package/dist/chunks/{schema-5g57z1ma.js → file-mutation-5g57z1ma.js} +1 -1
- package/dist/chunks/{schema-a110k9h9.js → file-mutation-5g9pfety.js} +21 -21
- package/dist/chunks/{schema-v4b1xa27.js → file-mutation-5gxex9x8.js} +11 -11
- package/dist/chunks/{schema-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-yr7e010d.js → file-mutation-5q7ksgvn.js} +10 -10
- package/dist/chunks/{schema-nqcscwec.js → file-mutation-5tew088c.js} +13 -13
- package/dist/chunks/{schema-6fkw3p3r.js → file-mutation-5tnh3egr.js} +4 -4
- package/dist/chunks/{schema-kp7tszm4.js → file-mutation-5xa5t8mt.js} +20 -20
- package/dist/chunks/{schema-ccz6qt78.js → file-mutation-5yc3gv1m.js} +13 -13
- package/dist/chunks/{schema-g754c8fk.js → file-mutation-5zbwkh3w.js} +6 -6
- package/dist/chunks/{schema-fw9jjgyr.js → file-mutation-6614sc7r.js} +19 -19
- package/dist/chunks/{schema-6827pfxn.js → file-mutation-6827pfxn.js} +1 -1
- package/dist/chunks/{schema-j05q090x.js → file-mutation-6gbkbwjk.js} +20 -20
- package/dist/chunks/{schema-2yjh3x6q.js → file-mutation-6k294dg0.js} +15 -15
- package/dist/chunks/{schema-4j8ys442.js → file-mutation-6p9h6rqd.js} +92 -92
- package/dist/chunks/{schema-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-qa1bwf9y.js → file-mutation-70ake3ft.js} +17 -17
- package/dist/chunks/{schema-j6ktnsbj.js → file-mutation-72vb8ye8.js} +12 -12
- package/dist/chunks/{schema-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{schema-qhfwh6dg.js → file-mutation-7bm0e0dp.js} +34 -34
- package/dist/chunks/{schema-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/file-mutation-7fj5dwt0.js +18 -0
- package/dist/chunks/{schema-92zywa0s.js → file-mutation-7k4yx5jm.js} +11 -11
- package/dist/chunks/{schema-s15d9z4p.js → file-mutation-7q1btr1k.js} +27 -27
- package/dist/chunks/{schema-v20v5pjv.js → file-mutation-7rakk0e1.js} +33 -33
- package/dist/chunks/{schema-rhrxssrh.js → file-mutation-7tppg67e.js} +9 -9
- package/dist/chunks/{schema-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{schema-p1p7f544.js → file-mutation-882c6a2f.js} +24 -24
- package/dist/chunks/{schema-rtka9wvf.js → file-mutation-89a6x4zk.js} +20 -20
- package/dist/chunks/{schema-3rtxz4nr.js → file-mutation-8aaqm6qj.js} +8 -8
- package/dist/chunks/{schema-pwjp0qa3.js → file-mutation-8b58bdns.js} +35 -35
- package/dist/chunks/{schema-dhsdmd8f.js → file-mutation-8f461wgz.js} +34 -34
- package/dist/chunks/{schema-bzwj8dcr.js → file-mutation-8g01qe2v.js} +29 -29
- package/dist/chunks/{schema-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-yr2aghkb.js → file-mutation-8m71mjfm.js} +5 -5
- package/dist/chunks/{schema-8mywswrd.js → file-mutation-8mywswrd.js} +1 -1
- package/dist/chunks/{schema-bbcbabsp.js → file-mutation-8rddq889.js} +21 -21
- package/dist/chunks/{schema-w1ej9fkt.js → file-mutation-8sq4gyz7.js} +7 -7
- package/dist/chunks/{schema-6pc27hjz.js → file-mutation-8sze2n9a.js} +2 -2
- package/dist/chunks/{schema-z9c610pw.js → file-mutation-8xxydye1.js} +13 -13
- package/dist/chunks/{schema-30846h32.js → file-mutation-92swnv4m.js} +8 -8
- package/dist/chunks/{schema-d8j0mxkc.js → file-mutation-92waa1rm.js} +7 -7
- package/dist/chunks/{schema-rw5jw54j.js → file-mutation-94apha83.js} +8 -8
- package/dist/chunks/{schema-at94sxth.js → file-mutation-94kdqvgb.js} +9 -9
- package/dist/chunks/{schema-2ae0q92z.js → file-mutation-967benbv.js} +11 -11
- package/dist/chunks/{schema-scvzwabm.js → file-mutation-9mnf2aaj.js} +11 -11
- package/dist/chunks/{schema-qx53j35n.js → file-mutation-9q2hdfp3.js} +24 -24
- package/dist/chunks/{schema-87n3rrnw.js → file-mutation-9qkvvyqp.js} +32 -32
- package/dist/chunks/{schema-f4g83bm7.js → file-mutation-9vkqjddw.js} +11 -11
- package/dist/chunks/{schema-ek59gnbm.js → file-mutation-9wqkfqmh.js} +70 -70
- package/dist/chunks/{schema-a20pjse5.js → file-mutation-a20pjse5.js} +3 -3
- package/dist/chunks/{schema-9nexcd99.js → file-mutation-a6gf0ppz.js} +3 -3
- package/dist/chunks/{schema-3gasgs0k.js → file-mutation-a9km70y1.js} +5 -5
- package/dist/chunks/{schema-st4zt39s.js → file-mutation-ac5hykxd.js} +21 -21
- package/dist/chunks/{schema-mxvxcxwy.js → file-mutation-addxnjmp.js} +4 -4
- package/dist/chunks/{schema-qt44r66w.js → file-mutation-anhf8h1n.js} +3 -3
- package/dist/chunks/{schema-z41ahr7v.js → file-mutation-av3f13xe.js} +11 -11
- package/dist/chunks/{schema-v5dkyp31.js → file-mutation-b27vhd2z.js} +4 -4
- package/dist/chunks/{schema-6fyhx42r.js → file-mutation-b4ragnr9.js} +23 -23
- package/dist/chunks/{schema-wp1sg2es.js → file-mutation-b6ag07rz.js} +4 -4
- package/dist/chunks/{schema-5t1axb3v.js → file-mutation-b8d7xm3m.js} +13 -13
- package/dist/chunks/{schema-44ak30pa.js → file-mutation-bgc5ggmx.js} +4 -4
- package/dist/chunks/{schema-tsftnbvm.js → file-mutation-brdz51fb.js} +8 -8
- package/dist/chunks/{schema-pv4s4nxr.js → file-mutation-bvefa49m.js} +18 -18
- package/dist/chunks/{schema-kwr2em0p.js → file-mutation-bwpes1j3.js} +22 -22
- package/dist/chunks/{schema-rqkmn7me.js → file-mutation-bz5hym84.js} +21 -21
- package/dist/chunks/{schema-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/{schema-d5t26v95.js → file-mutation-cafkpj5t.js} +22 -22
- package/dist/chunks/{schema-cefkz2r6.js → file-mutation-cefkz2r6.js} +4 -4
- package/dist/chunks/{schema-zzmpqpc3.js → file-mutation-cj2gcgr0.js} +10 -10
- package/dist/chunks/{schema-mccws065.js → file-mutation-cjj3vnjk.js} +2 -2
- package/dist/chunks/{schema-hz7aezfr.js → file-mutation-cmftrgtq.js} +33 -33
- package/dist/chunks/{schema-nwwgs0kh.js → file-mutation-cmkgjnh5.js} +10 -10
- package/dist/chunks/{schema-0dzgkxam.js → file-mutation-cpewaxbb.js} +36 -36
- package/dist/chunks/{schema-825jjjdc.js → file-mutation-ctkvxx28.js} +26 -26
- package/dist/chunks/{schema-2sejkfem.js → file-mutation-cwa6csj7.js} +9 -9
- package/dist/chunks/{schema-gwj3kssr.js → file-mutation-d06kvh6k.js} +54 -54
- package/dist/chunks/{schema-e9vvnvyx.js → file-mutation-d7q21r69.js} +9 -9
- package/dist/chunks/{schema-q6chj63a.js → file-mutation-d9a4qpg5.js} +32 -32
- package/dist/chunks/{schema-fzz4ftgm.js → file-mutation-dccm8yky.js} +14 -14
- package/dist/chunks/{schema-jxda656q.js → file-mutation-df9339xm.js} +13 -13
- package/dist/chunks/{schema-nf3p155y.js → file-mutation-dqj1zep9.js} +5 -5
- package/dist/chunks/{schema-5zscwwge.js → file-mutation-dr99d0ac.js} +3 -3
- package/dist/chunks/{schema-2bep3sk1.js → file-mutation-dtgy4jeb.js} +7 -7
- package/dist/chunks/{schema-gjkbr6zc.js → file-mutation-e27v7yqk.js} +13 -13
- package/dist/chunks/{schema-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-txyw6bh0.js → file-mutation-ea6pkrn3.js} +2 -2
- package/dist/chunks/{schema-r2z489rp.js → file-mutation-ed1g29hy.js} +3 -3
- package/dist/chunks/{schema-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-6xkcg1y6.js → file-mutation-eftecqvh.js} +23 -23
- package/dist/chunks/{schema-kecqjjhm.js → file-mutation-eh6ej367.js} +5 -5
- package/dist/chunks/{schema-d0vc93hk.js → file-mutation-f0y10khq.js} +25 -25
- package/dist/chunks/{schema-htvezcsh.js → file-mutation-f8fzv2x1.js} +3 -3
- package/dist/chunks/{schema-5j21s5mr.js → file-mutation-fa4te4zq.js} +23 -23
- package/dist/chunks/{schema-rt2zj1s0.js → file-mutation-fcs05vrx.js} +24 -24
- package/dist/chunks/{schema-fcy631f0.js → file-mutation-fcy631f0.js} +1 -1
- package/dist/chunks/{schema-6pxm0met.js → file-mutation-g18yemqx.js} +45 -45
- package/dist/chunks/{schema-yhc4wv29.js → file-mutation-gc69w8x5.js} +50 -50
- package/dist/chunks/{schema-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-4176b2yk.js → file-mutation-gdgy10dy.js} +32 -32
- package/dist/chunks/{schema-6kp05j0h.js → file-mutation-gk5p4syv.js} +18 -18
- package/dist/chunks/{schema-fyzv33qs.js → file-mutation-gkm6v4vd.js} +43 -43
- package/dist/chunks/{schema-4j4wwavy.js → file-mutation-gnhr360k.js} +14 -14
- package/dist/chunks/{schema-nysxgq6d.js → file-mutation-gqagkb1x.js} +11 -11
- package/dist/chunks/{schema-dzyrc88t.js → file-mutation-gtndzxs8.js} +6 -6
- package/dist/chunks/{schema-p4p2ts1j.js → file-mutation-h6mg8ssc.js} +11 -11
- package/dist/chunks/{schema-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-fdms3n6w.js → file-mutation-h71w788e.js} +9 -9
- package/dist/chunks/{schema-8m22mfav.js → file-mutation-h7vxqxg2.js} +32 -32
- package/dist/chunks/{schema-v210v162.js → file-mutation-h8bq8y5a.js} +9 -9
- package/dist/chunks/{schema-tej7bjmy.js → file-mutation-hebc8qwk.js} +13 -13
- package/dist/chunks/{schema-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{schema-h6cpwytq.js → file-mutation-hh1mvxn6.js} +55 -55
- package/dist/chunks/{schema-66fgvbn3.js → file-mutation-hry64yvt.js} +17 -17
- package/dist/chunks/{schema-arypdymn.js → file-mutation-hzm5xem3.js} +30 -30
- package/dist/chunks/{schema-q9cqhrsb.js → file-mutation-j228j2n8.js} +2 -2
- package/dist/chunks/{schema-j9w080ad.js → file-mutation-j8143y8a.js} +16 -16
- package/dist/chunks/{schema-w4q7m0eq.js → file-mutation-jh0cf3gy.js} +18 -18
- package/dist/chunks/{schema-xqj10vmz.js → file-mutation-jspydjgs.js} +9 -9
- package/dist/chunks/{schema-rvbf7bre.js → file-mutation-jws504fy.js} +15 -15
- package/dist/chunks/{schema-ycc3121e.js → file-mutation-k2r06wff.js} +4 -4
- package/dist/chunks/{schema-chsnhwb3.js → file-mutation-ke9g58qf.js} +13 -13
- package/dist/chunks/{schema-8ngzfdb0.js → file-mutation-kf0ydnx7.js} +15 -15
- package/dist/chunks/{schema-man2x1hw.js → file-mutation-khcab136.js} +21 -21
- package/dist/chunks/{schema-hq3c8me3.js → file-mutation-khmqacep.js} +4 -4
- package/dist/chunks/{schema-4xpgt2w9.js → file-mutation-kjdm35cs.js} +5 -5
- package/dist/chunks/{schema-81f7vt2z.js → file-mutation-kqv3x6rj.js} +9 -9
- package/dist/chunks/{schema-rp73s9pz.js → file-mutation-ktb21g4v.js} +15 -15
- package/dist/chunks/{schema-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
- package/dist/chunks/{schema-0vfyfqrd.js → file-mutation-kz7145yv.js} +6 -6
- package/dist/chunks/{schema-hhyv66vq.js → file-mutation-m1z5ek08.js} +5 -5
- package/dist/chunks/{schema-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{schema-n4s909p2.js → file-mutation-mhg37pmq.js} +47 -47
- package/dist/chunks/{schema-hcgx9r92.js → file-mutation-mrcqdzkn.js} +14 -14
- package/dist/chunks/{schema-rk5y8ke4.js → file-mutation-mrv22f7s.js} +15 -15
- package/dist/chunks/{schema-exevrqmg.js → file-mutation-mwahwpcs.js} +18 -18
- package/dist/chunks/{schema-8td2p5q2.js → file-mutation-n5sg9n8b.js} +34 -34
- package/dist/chunks/{schema-s1y79ssk.js → file-mutation-n7c99d35.js} +18 -18
- package/dist/chunks/{schema-ydbf29gx.js → file-mutation-nn5t8xjm.js} +47 -47
- package/dist/chunks/{schema-9n0pq0p1.js → file-mutation-nwsypg2h.js} +11 -11
- package/dist/chunks/{schema-p37cw4rj.js → file-mutation-p4mj4rdp.js} +8 -8
- package/dist/chunks/{schema-3q4zrqsz.js → file-mutation-phk9d88z.js} +45 -45
- package/dist/chunks/{schema-cc9fn44q.js → file-mutation-pjhesq7k.js} +11 -11
- package/dist/chunks/{schema-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{schema-ghrfrbg4.js → file-mutation-pkpp0jng.js} +4 -4
- package/dist/chunks/{schema-r4mzk1xx.js → file-mutation-ps2trwbq.js} +3 -3
- package/dist/chunks/{schema-vwssb2rn.js → file-mutation-py2d2bhf.js} +4 -4
- package/dist/chunks/{schema-36gdk6sm.js → file-mutation-pzz5tmzm.js} +17 -17
- package/dist/chunks/{schema-ec5r24jz.js → file-mutation-q2j64v3h.js} +6 -6
- package/dist/chunks/{schema-7erbtyx3.js → file-mutation-qaf3te0r.js} +11 -11
- package/dist/chunks/{schema-yw7v3j12.js → file-mutation-qb9hezfc.js} +27 -27
- package/dist/chunks/{schema-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-4bgsdwgm.js → file-mutation-qnq8mqeg.js} +28 -28
- package/dist/chunks/{schema-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-phq9g6aj.js → file-mutation-qxns1yyr.js} +19 -19
- package/dist/chunks/{schema-3f75xvkg.js → file-mutation-qz0pc5j5.js} +19 -19
- package/dist/chunks/{schema-4d3127hb.js → file-mutation-r5z9qnpm.js} +11 -11
- package/dist/chunks/{schema-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-brgccpge.js → file-mutation-re4gtx8j.js} +25 -25
- package/dist/chunks/{schema-rert0e01.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{schema-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{schema-6w7d1qme.js → file-mutation-rp8hjwgz.js} +11 -11
- package/dist/chunks/{schema-dk1ym1bf.js → file-mutation-rpnfjj5z.js} +30 -30
- package/dist/chunks/{schema-csndn1v6.js → file-mutation-rqbas9ax.js} +19 -19
- package/dist/chunks/{schema-1f1kaem6.js → file-mutation-rqhevtjr.js} +14 -14
- package/dist/chunks/{schema-e5cghe60.js → file-mutation-rrb9pz5a.js} +1 -1
- package/dist/chunks/{schema-ejvnp2ks.js → file-mutation-s5qxm7c2.js} +11 -11
- package/dist/chunks/{schema-4459cj4r.js → file-mutation-s8yypaqy.js} +46 -46
- package/dist/chunks/{schema-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{schema-rz6yywgf.js → file-mutation-sadarxxx.js} +35 -35
- package/dist/chunks/{schema-vh1fw6yt.js → file-mutation-sbr2r95b.js} +27 -27
- package/dist/chunks/{schema-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{schema-xtpd89cm.js → file-mutation-szyc73at.js} +11 -11
- package/dist/chunks/{schema-ezc52dw2.js → file-mutation-t4bhgeye.js} +5 -5
- package/dist/chunks/{schema-t550f9t1.js → file-mutation-t550f9t1.js} +1 -1
- package/dist/chunks/{schema-js1t3555.js → file-mutation-t80p7bv8.js} +9 -9
- package/dist/chunks/{schema-hq279geq.js → file-mutation-ta0tc5c9.js} +26 -26
- package/dist/chunks/{schema-kcfh4jp8.js → file-mutation-taz2ghkg.js} +14 -14
- package/dist/chunks/{schema-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-d858xzj7.js → file-mutation-tbmac1c7.js} +4 -4
- package/dist/chunks/{schema-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-75ytgrqn.js → file-mutation-td1fm6rg.js} +21 -21
- package/dist/chunks/{schema-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{schema-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{schema-4c7g6ymp.js → file-mutation-ts412n3k.js} +37 -37
- package/dist/chunks/{schema-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{schema-zqr7hr21.js → file-mutation-v08krjdw.js} +15 -15
- package/dist/chunks/{schema-v13b12ef.js → file-mutation-v13b12ef.js} +2 -2
- package/dist/chunks/file-mutation-v1yvzs5v.js +517 -0
- package/dist/chunks/{schema-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{schema-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-5mbpffke.js → file-mutation-vt9q9evw.js} +10 -10
- package/dist/chunks/{schema-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-bygmh04z.js → file-mutation-w3g2sjny.js} +14 -14
- package/dist/chunks/{schema-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{schema-hwq6p19n.js → file-mutation-wdasqx75.js} +4 -4
- package/dist/chunks/{schema-mcxxahwh.js → file-mutation-wnyvz4dk.js} +45 -45
- package/dist/chunks/{schema-g4wty43c.js → file-mutation-wpys2vyv.js} +5 -5
- package/dist/chunks/{schema-y89gydzy.js → file-mutation-wqabm0nw.js} +17 -17
- package/dist/chunks/{schema-a7scjn5s.js → file-mutation-ws0ez784.js} +16 -16
- package/dist/chunks/{schema-5gydnkt7.js → file-mutation-x0k3z69x.js} +16 -16
- package/dist/chunks/{schema-ttacmzh5.js → file-mutation-x5dktsa5.js} +23 -23
- package/dist/chunks/{schema-ma48de29.js → file-mutation-x6pyv2yz.js} +5 -5
- package/dist/chunks/{schema-7vx8fxzm.js → file-mutation-xcevffwp.js} +82 -82
- package/dist/chunks/{schema-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
- package/dist/chunks/{schema-tt8gc4fv.js → file-mutation-xfktpdj6.js} +6 -6
- package/dist/chunks/{schema-2znnk454.js → file-mutation-xgrstn99.js} +11 -11
- package/dist/chunks/{schema-80jay3zv.js → file-mutation-xmb5688y.js} +33 -33
- package/dist/chunks/{schema-33srfa0b.js → file-mutation-xp80041t.js} +10 -10
- package/dist/chunks/{schema-vz2w9rtp.js → file-mutation-xs3kgst9.js} +23 -23
- package/dist/chunks/{schema-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-h9r6r1hy.js → file-mutation-y59fqsw4.js} +26 -26
- package/dist/chunks/{schema-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{schema-bacj9t34.js → file-mutation-y7nndgyc.js} +9 -9
- package/dist/chunks/{schema-gwaz9r47.js → file-mutation-ydjhy7jp.js} +4 -4
- package/dist/chunks/{schema-xekvc3d8.js → file-mutation-ye93bcpk.js} +13 -13
- package/dist/chunks/{schema-remtvbha.js → file-mutation-yebssw6b.js} +3 -3
- package/dist/chunks/{schema-9zj7wbnh.js → file-mutation-yr4z1qtt.js} +44 -44
- package/dist/chunks/{schema-bjx1sjef.js → file-mutation-ywt8jp22.js} +9 -9
- package/dist/chunks/{schema-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-gp3kkx05.js → file-mutation-z0hcq1xj.js} +28 -28
- package/dist/chunks/{schema-z18fegx4.js → file-mutation-z18fegx4.js} +1 -1
- package/dist/chunks/{schema-1323fv79.js → file-mutation-zak5s96v.js} +4 -4
- package/dist/chunks/{schema-n46s7c5f.js → file-mutation-zcepehk0.js} +5 -5
- package/dist/chunks/file-mutation-zcrrhp36.js +26 -0
- package/dist/chunks/{schema-embw8kgh.js → file-mutation-zcrspsvn.js} +4 -4
- package/dist/chunks/{schema-fvgp290g.js → file-mutation-zh98cvta.js} +8 -8
- package/dist/chunks/{schema-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-hh0a7fvf.js → file-mutation-zr8t0btn.js} +189 -189
- package/dist/chunks/{schema-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-gjgye92n.js → file-mutation-zz19y5js.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +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 +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 +116 -116
- 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 +115 -115
- 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 +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 +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 +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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- 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 +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- 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 +104 -104
- 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 +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +155 -155
- 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 +89 -89
- 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 +131 -131
- 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 +102 -102
- 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 +115 -115
- 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 +212 -212
- 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 +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 +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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- 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 +87 -87
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +155 -155
- 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 +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +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 +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 +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +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 +107 -107
- package/dist/skill.js +112 -112
- 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 +128 -128
- 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 +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- 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 +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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/schema-1xy3bbfj.js +0 -517
- package/dist/chunks/schema-ebe1aw40.js +0 -257
- package/dist/chunks/schema-hktg20kd.js +0 -26
- package/dist/chunks/schema-vnkjks7b.js +0 -18
- /package/dist/chunks/{schema-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{schema-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service51
|
|
7
|
+
} from "./file-mutation-fa4te4zq.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-08rawchj.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-q2j64v3h.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service51;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-py2d2bhf.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node7, exports_sdk };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node69
|
|
4
|
+
} from "./file-mutation-phk9d88z.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-08rawchj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service44,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node46,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service44 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service67;
|
|
59
|
+
return Service44.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node46 = makeLocationNode({ service: Service44, layer, deps: [node69] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service44, resolved2, node46, exports_model };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-mrcqdzkn.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make9 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make3 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make9();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make9, LMStudioPlugin2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-szyc73at.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-py2d2bhf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./file-mutation-z0hcq1xj.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-ta0tc5c9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service78
|
|
22
|
+
} from "./file-mutation-rpnfjj5z.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Info21
|
|
26
|
+
} from "./file-mutation-4b4em5d4.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID13.gitlab;
|
|
39
|
+
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service78;
|
|
61
61
|
const bus = yield* Service85;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID12.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./file-mutation-j8143y8a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./file-mutation-mhg37pmq.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-2nb55xn8.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin22
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin22 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service63;
|
|
35
|
+
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin22, exports_reference };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service78
|
|
4
|
+
} from "./file-mutation-rpnfjj5z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./file-mutation-mhg37pmq.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service78;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service63);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID14,
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-mutation-ta0tc5c9.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service18,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer10,
|
|
21
|
+
node: () => node20
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,16 +37,16 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service18 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service79;
|
|
45
45
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
46
46
|
const engine = Realtime.engine(input.model);
|
|
47
47
|
if (!engine)
|
|
48
48
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
49
|
-
const connection = (yield* integrations.get(
|
|
49
|
+
const connection = (yield* integrations.get(ID14.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
|
|
50
50
|
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
|
|
51
51
|
if (credential?.type !== "key")
|
|
52
52
|
return yield* new UnavailableError2({
|
|
@@ -55,12 +55,12 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
55
55
|
});
|
|
56
56
|
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service18.of({ session });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
62
|
-
layer:
|
|
63
|
-
deps: [
|
|
60
|
+
var node20 = makeLocationNode({
|
|
61
|
+
service: Service18,
|
|
62
|
+
layer: layer10,
|
|
63
|
+
deps: [node83, requestExecutor2]
|
|
64
64
|
});
|
|
65
65
|
var missingKeyMessage = {
|
|
66
66
|
openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
|
|
@@ -68,4 +68,4 @@ var missingKeyMessage = {
|
|
|
68
68
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
export { InvalidRequestError2, UnavailableError2,
|
|
71
|
+
export { InvalidRequestError2, UnavailableError2, Service18, layer10, node20, exports_voice };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-yebssw6b.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-py2d2bhf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./file-mutation-4mwpykj0.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service51
|
|
16
|
+
} from "./file-mutation-fa4te4zq.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
MessageNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-q2j64v3h.js";
|
|
23
23
|
import {
|
|
24
24
|
SessionMessageTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-c1fqxshp.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeMessageRowSync2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-nwsypg2h.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service43;
|
|
45
45
|
const database = yield* Service86;
|
|
46
46
|
const bus = yield* Service85;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service51;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service43;
|
|
77
77
|
const bus = yield* Service85;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service51;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -109,7 +109,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
109
109
|
continue;
|
|
110
110
|
for (const file of message.snapshot.files ?? [])
|
|
111
111
|
if (!files.has(file))
|
|
112
|
-
files.set(file,
|
|
112
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
113
113
|
}
|
|
114
114
|
return files;
|
|
115
115
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-py2d2bhf.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./file-mutation-j8143y8a.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service26,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node29
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service26 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service85;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service26.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [node89, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service26, node29, exports_rpc, define2 };
|