@opencode/core 0.0.0-dev-21366 → 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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{form-9j7zhwfa.js → file-mutation-083bb7kr.js} +1 -1
- package/dist/chunks/{form-c2sed5cq.js → file-mutation-08rawchj.js} +3 -3
- package/dist/chunks/{form-2b3trp23.js → file-mutation-0eymxkpr.js} +49 -49
- package/dist/chunks/{form-8ja30ehw.js → file-mutation-0fn2v7vk.js} +8 -8
- package/dist/chunks/{form-bkt2f8yx.js → file-mutation-0nqg4kny.js} +10 -10
- package/dist/chunks/{form-zj70vn69.js → file-mutation-0r2cw8fn.js} +8 -8
- package/dist/chunks/{form-1271r34y.js → file-mutation-0ryx4cv5.js} +36 -36
- package/dist/chunks/{form-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-5c3vxfh0.js → file-mutation-0xz2mzgc.js} +24 -24
- package/dist/chunks/{form-bzeyqsqd.js → file-mutation-1ep4rre3.js} +4 -4
- package/dist/chunks/{form-2e698tw2.js → file-mutation-1f7m535t.js} +16 -16
- package/dist/chunks/{form-9eh2b9tz.js → file-mutation-1rabqv72.js} +26 -26
- package/dist/chunks/{form-n2vqhefj.js → file-mutation-1rmqtx3n.js} +6 -6
- package/dist/chunks/{form-h39nf5em.js → file-mutation-21xx9xc6.js} +18 -18
- package/dist/chunks/{form-q55rfppt.js → file-mutation-27p00kw8.js} +17 -17
- package/dist/chunks/{form-5nw2wzf9.js → file-mutation-2ccjc77m.js} +22 -22
- package/dist/chunks/{form-0mpb2594.js → file-mutation-2f26zb5h.js} +32 -32
- package/dist/chunks/file-mutation-2g1qnqk3.js +257 -0
- package/dist/chunks/{form-fcrkznn8.js → file-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{form-qne3fa44.js → file-mutation-2k9fjx65.js} +5 -5
- package/dist/chunks/{form-hded69yb.js → file-mutation-2kjrre30.js} +20 -20
- package/dist/chunks/{form-5gt9nc9t.js → file-mutation-2nb55xn8.js} +25 -25
- package/dist/chunks/{form-877ypse5.js → file-mutation-3179ttex.js} +14 -14
- package/dist/chunks/{form-3he49gvd.js → file-mutation-322qbvpa.js} +14 -14
- package/dist/chunks/{form-gh89cy2x.js → file-mutation-3e2gnrvk.js} +24 -24
- package/dist/chunks/{form-gqqjwrr4.js → file-mutation-3hefbbgh.js} +7 -7
- package/dist/chunks/{form-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-2gpvr3g3.js → file-mutation-3k72abas.js} +12 -12
- package/dist/chunks/{form-6ss6brbq.js → file-mutation-3p8nb07v.js} +3 -3
- package/dist/chunks/{form-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-12d1ewzw.js → file-mutation-3xymvwyv.js} +12 -12
- package/dist/chunks/{form-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-9nxktn4c.js → file-mutation-49ma6pwq.js} +13 -13
- package/dist/chunks/{form-btxgmbmp.js → file-mutation-4b4em5d4.js} +28 -28
- package/dist/chunks/{form-17116gfm.js → file-mutation-4f5ezzxr.js} +8 -8
- package/dist/chunks/{form-r3ndx3a2.js → file-mutation-4fm3tq8e.js} +20 -20
- package/dist/chunks/{form-eqkxs06z.js → file-mutation-4mwpykj0.js} +6 -6
- package/dist/chunks/{form-mjx4d27a.js → file-mutation-4xfddg59.js} +28 -28
- package/dist/chunks/{form-e4svjp07.js → file-mutation-4yb17086.js} +47 -47
- package/dist/chunks/{form-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{form-c6wjmv7c.js → file-mutation-56byzq03.js} +9 -9
- package/dist/chunks/{form-kcgvbftg.js → file-mutation-59b3s74c.js} +11 -11
- package/dist/chunks/{form-sgpss9b5.js → file-mutation-5e1pzs32.js} +9 -9
- package/dist/chunks/{form-86fpx1fw.js → file-mutation-5e2h11rs.js} +4 -4
- package/dist/chunks/{form-e7gxy7fd.js → file-mutation-5g57z1ma.js} +4 -4
- package/dist/chunks/{form-w32a45cq.js → file-mutation-5g9pfety.js} +23 -23
- package/dist/chunks/{form-z5gmjsqz.js → file-mutation-5gxex9x8.js} +11 -11
- package/dist/chunks/{form-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-3t117dar.js → file-mutation-5q7ksgvn.js} +13 -13
- package/dist/chunks/{form-833me25k.js → file-mutation-5tew088c.js} +13 -13
- package/dist/chunks/{form-g36kca0s.js → file-mutation-5tnh3egr.js} +4 -4
- package/dist/chunks/{form-0q6bzv9j.js → file-mutation-5xa5t8mt.js} +16 -16
- package/dist/chunks/{form-gwszmx42.js → file-mutation-5yc3gv1m.js} +13 -13
- package/dist/chunks/{form-e3m5h7z7.js → file-mutation-5zbwkh3w.js} +6 -6
- package/dist/chunks/{form-8pxgwx02.js → file-mutation-6614sc7r.js} +17 -17
- package/dist/chunks/{form-6827pfxn.js → file-mutation-6827pfxn.js} +1 -1
- package/dist/chunks/{form-x830gk0v.js → file-mutation-6gbkbwjk.js} +23 -23
- package/dist/chunks/{form-pbq40pk4.js → file-mutation-6k294dg0.js} +18 -18
- package/dist/chunks/{form-4nscrjds.js → file-mutation-6p9h6rqd.js} +86 -86
- package/dist/chunks/{form-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-3enf7134.js → file-mutation-70ake3ft.js} +15 -15
- package/dist/chunks/{form-eqgdfs9h.js → file-mutation-72vb8ye8.js} +12 -12
- package/dist/chunks/{form-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{form-gatqkby9.js → file-mutation-7bm0e0dp.js} +24 -24
- package/dist/chunks/{form-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/file-mutation-7fj5dwt0.js +18 -0
- package/dist/chunks/{form-hhfx60p8.js → file-mutation-7k4yx5jm.js} +13 -13
- package/dist/chunks/{form-4tbmbj09.js → file-mutation-7q1btr1k.js} +18 -18
- package/dist/chunks/{form-mmne1w82.js → file-mutation-7rakk0e1.js} +39 -39
- package/dist/chunks/{form-e0z0jdq6.js → file-mutation-7tppg67e.js} +9 -9
- package/dist/chunks/{form-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{form-fwedgtee.js → file-mutation-882c6a2f.js} +20 -20
- package/dist/chunks/{form-ssk7czj1.js → file-mutation-89a6x4zk.js} +22 -22
- package/dist/chunks/{form-52fpbh6z.js → file-mutation-8aaqm6qj.js} +7 -7
- package/dist/chunks/{form-n64j14rh.js → file-mutation-8b58bdns.js} +35 -35
- package/dist/chunks/{form-38pf4p3g.js → file-mutation-8f461wgz.js} +40 -40
- package/dist/chunks/{form-nysx7nj2.js → file-mutation-8g01qe2v.js} +36 -36
- package/dist/chunks/{form-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-wbg02h9n.js → file-mutation-8m71mjfm.js} +5 -5
- package/dist/chunks/{form-8mywswrd.js → file-mutation-8mywswrd.js} +1 -1
- package/dist/chunks/{form-t9x7ks3k.js → file-mutation-8rddq889.js} +28 -28
- package/dist/chunks/{form-xkdqbgma.js → file-mutation-8sq4gyz7.js} +9 -9
- package/dist/chunks/{form-6pc27hjz.js → file-mutation-8sze2n9a.js} +2 -2
- package/dist/chunks/{form-ck1zs89s.js → file-mutation-8xxydye1.js} +13 -13
- package/dist/chunks/{form-n0tq777j.js → file-mutation-92swnv4m.js} +8 -8
- package/dist/chunks/{form-3cy6ygha.js → file-mutation-92waa1rm.js} +7 -7
- package/dist/chunks/{form-16bthr3t.js → file-mutation-94apha83.js} +8 -8
- package/dist/chunks/{form-ghwdn9we.js → file-mutation-94kdqvgb.js} +9 -9
- package/dist/chunks/{form-ynmknp8q.js → file-mutation-967benbv.js} +8 -8
- package/dist/chunks/{form-k42evvpj.js → file-mutation-9mnf2aaj.js} +9 -9
- package/dist/chunks/{form-bpzz8sk3.js → file-mutation-9q2hdfp3.js} +22 -22
- package/dist/chunks/{form-xyjecrh1.js → file-mutation-9qkvvyqp.js} +32 -32
- package/dist/chunks/{form-pmykfp9p.js → file-mutation-9vkqjddw.js} +11 -11
- package/dist/chunks/{form-e8c8zgaf.js → file-mutation-9wqkfqmh.js} +72 -72
- package/dist/chunks/{form-a20pjse5.js → file-mutation-a20pjse5.js} +3 -3
- package/dist/chunks/{form-thg1vn1a.js → file-mutation-a6gf0ppz.js} +3 -3
- package/dist/chunks/{form-6ayhefjg.js → file-mutation-a9km70y1.js} +3 -3
- package/dist/chunks/{form-hp22rb7y.js → file-mutation-ac5hykxd.js} +17 -17
- package/dist/chunks/{form-mxvxcxwy.js → file-mutation-addxnjmp.js} +4 -4
- package/dist/chunks/{form-dsxc0gdn.js → file-mutation-anhf8h1n.js} +3 -3
- package/dist/chunks/{form-2em56rg1.js → file-mutation-av3f13xe.js} +11 -11
- package/dist/chunks/{form-sxz6gkc3.js → file-mutation-b27vhd2z.js} +7 -7
- package/dist/chunks/{form-fhn4ym0h.js → file-mutation-b4ragnr9.js} +23 -23
- package/dist/chunks/{form-0thw0tvr.js → file-mutation-b6ag07rz.js} +6 -6
- package/dist/chunks/{form-r8jgt09m.js → file-mutation-b8d7xm3m.js} +13 -13
- package/dist/chunks/{form-v7z2bvyd.js → file-mutation-bgc5ggmx.js} +4 -4
- package/dist/chunks/{form-xryw55cn.js → file-mutation-brdz51fb.js} +9 -9
- package/dist/chunks/{form-8y2xcxay.js → file-mutation-bvefa49m.js} +18 -18
- package/dist/chunks/{form-9man8zct.js → file-mutation-bwpes1j3.js} +20 -20
- package/dist/chunks/{form-04gde0z7.js → file-mutation-bz5hym84.js} +21 -21
- package/dist/chunks/{form-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-g2pewrzk.js → file-mutation-cafkpj5t.js} +28 -28
- package/dist/chunks/{form-cefkz2r6.js → file-mutation-cefkz2r6.js} +4 -4
- package/dist/chunks/{form-n5csmyza.js → file-mutation-cj2gcgr0.js} +10 -10
- package/dist/chunks/{form-dv4gps5g.js → file-mutation-cjj3vnjk.js} +2 -2
- package/dist/chunks/{form-3zbx3h7w.js → file-mutation-cmftrgtq.js} +35 -35
- package/dist/chunks/{form-3f7eexd0.js → file-mutation-cmkgjnh5.js} +10 -10
- package/dist/chunks/{form-dg24z682.js → file-mutation-cpewaxbb.js} +22 -22
- package/dist/chunks/{form-kedsnqtc.js → file-mutation-ctkvxx28.js} +26 -26
- package/dist/chunks/{form-ft3hqk2c.js → file-mutation-cwa6csj7.js} +9 -9
- package/dist/chunks/{form-q2r8gbdf.js → file-mutation-d06kvh6k.js} +47 -47
- package/dist/chunks/{form-wbppzfdy.js → file-mutation-d7q21r69.js} +9 -9
- package/dist/chunks/{form-08e8839p.js → file-mutation-d9a4qpg5.js} +32 -32
- package/dist/chunks/{form-g4fh54as.js → file-mutation-dccm8yky.js} +16 -16
- package/dist/chunks/{form-b8spkqz0.js → file-mutation-df9339xm.js} +13 -13
- package/dist/chunks/{form-bq2jgg1t.js → file-mutation-dqj1zep9.js} +3 -3
- package/dist/chunks/{form-5w8megq2.js → file-mutation-dr99d0ac.js} +3 -3
- package/dist/chunks/{form-21b5jaqs.js → file-mutation-dtgy4jeb.js} +7 -7
- package/dist/chunks/{form-snx4nqk9.js → file-mutation-e27v7yqk.js} +7 -7
- package/dist/chunks/{form-q0p071b0.js → file-mutation-ea6pkrn3.js} +2 -2
- package/dist/chunks/{form-e80seqcp.js → file-mutation-ed1g29hy.js} +3 -3
- package/dist/chunks/{form-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-tn1wh4ar.js → file-mutation-eftecqvh.js} +28 -28
- package/dist/chunks/{form-dhb2hta4.js → file-mutation-eh6ej367.js} +5 -5
- package/dist/chunks/{form-0dmhk06n.js → file-mutation-f0y10khq.js} +32 -32
- package/dist/chunks/{form-9d5n2cav.js → file-mutation-f8fzv2x1.js} +3 -3
- package/dist/chunks/{form-4z0jytq9.js → file-mutation-fa4te4zq.js} +25 -25
- package/dist/chunks/{form-y1paeth2.js → file-mutation-fcs05vrx.js} +27 -27
- package/dist/chunks/{form-fcy631f0.js → file-mutation-fcy631f0.js} +1 -1
- package/dist/chunks/{form-sq0tjeh0.js → file-mutation-g18yemqx.js} +22 -22
- package/dist/chunks/{form-k4a4z99s.js → file-mutation-gc69w8x5.js} +50 -50
- package/dist/chunks/{form-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-04zqcv5b.js → file-mutation-gdgy10dy.js} +32 -32
- package/dist/chunks/{form-8ejckeyx.js → file-mutation-gk5p4syv.js} +26 -26
- package/dist/chunks/{form-7bwgwstm.js → file-mutation-gkm6v4vd.js} +43 -43
- package/dist/chunks/{form-x6h5gppg.js → file-mutation-gnhr360k.js} +14 -14
- package/dist/chunks/{form-e7vcsn0z.js → file-mutation-gqagkb1x.js} +11 -11
- package/dist/chunks/{form-ewexpb9k.js → file-mutation-gtndzxs8.js} +6 -6
- package/dist/chunks/{form-19d68r03.js → file-mutation-h6mg8ssc.js} +11 -11
- package/dist/chunks/{form-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-0jq9fyba.js → file-mutation-h71w788e.js} +9 -9
- package/dist/chunks/{form-9qbkfy8j.js → file-mutation-h7vxqxg2.js} +30 -30
- package/dist/chunks/{form-v210v162.js → file-mutation-h8bq8y5a.js} +9 -9
- package/dist/chunks/{form-xes13cec.js → file-mutation-hebc8qwk.js} +15 -15
- package/dist/chunks/{form-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-3wh0fnkb.js → file-mutation-hh1mvxn6.js} +51 -51
- package/dist/chunks/{form-hbfzz612.js → file-mutation-hry64yvt.js} +15 -15
- package/dist/chunks/{form-rnaqt492.js → file-mutation-hzm5xem3.js} +22 -22
- package/dist/chunks/{form-edgrr010.js → file-mutation-j228j2n8.js} +2 -2
- package/dist/chunks/{form-x0b6dsea.js → file-mutation-j8143y8a.js} +16 -16
- package/dist/chunks/{form-d5sedwsn.js → file-mutation-jh0cf3gy.js} +12 -12
- package/dist/chunks/{form-kamqz7n1.js → file-mutation-jspydjgs.js} +9 -9
- package/dist/chunks/{form-vqkwn4tj.js → file-mutation-jws504fy.js} +18 -18
- package/dist/chunks/{form-p30t7e37.js → file-mutation-k2r06wff.js} +4 -4
- package/dist/chunks/{form-ymrej2er.js → file-mutation-ke9g58qf.js} +13 -13
- package/dist/chunks/{form-0sdf0qey.js → file-mutation-kf0ydnx7.js} +15 -15
- package/dist/chunks/{form-8vzk4gb7.js → file-mutation-khcab136.js} +21 -21
- package/dist/chunks/{form-khmqacep.js → file-mutation-khmqacep.js} +1 -1
- package/dist/chunks/{form-57myy5jh.js → file-mutation-kjdm35cs.js} +5 -5
- package/dist/chunks/{form-5fec3t3w.js → file-mutation-kqv3x6rj.js} +4 -4
- package/dist/chunks/{form-r17zqvjw.js → file-mutation-ktb21g4v.js} +14 -14
- package/dist/chunks/{form-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-br9ffvj3.js → file-mutation-kz7145yv.js} +6 -6
- package/dist/chunks/{form-r2v4c7r0.js → file-mutation-m1z5ek08.js} +8 -8
- package/dist/chunks/{form-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{form-jqebagr2.js → file-mutation-mhg37pmq.js} +50 -50
- package/dist/chunks/{form-b6d3184h.js → file-mutation-mrcqdzkn.js} +12 -12
- package/dist/chunks/{form-74d9v2fc.js → file-mutation-mrv22f7s.js} +11 -11
- package/dist/chunks/{form-19k05nxq.js → file-mutation-mwahwpcs.js} +21 -21
- package/dist/chunks/{form-5mb9cf55.js → file-mutation-n5sg9n8b.js} +21 -21
- package/dist/chunks/{form-8a2q96p4.js → file-mutation-n7c99d35.js} +18 -18
- package/dist/chunks/{form-q9177bt4.js → file-mutation-nn5t8xjm.js} +45 -45
- package/dist/chunks/{form-djp577me.js → file-mutation-nwsypg2h.js} +8 -8
- package/dist/chunks/{form-5yzzbxa7.js → file-mutation-p4mj4rdp.js} +8 -8
- package/dist/chunks/{form-56gyssj8.js → file-mutation-phk9d88z.js} +26 -26
- package/dist/chunks/{form-x2xyd8bp.js → file-mutation-pjhesq7k.js} +6 -6
- package/dist/chunks/{form-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{form-nyretmae.js → file-mutation-pkpp0jng.js} +2 -2
- package/dist/chunks/{form-bgg9avxn.js → file-mutation-ps2trwbq.js} +1 -1
- package/dist/chunks/{form-xn9d5d7a.js → file-mutation-py2d2bhf.js} +12 -12
- package/dist/chunks/{form-ctkmsz73.js → file-mutation-pzz5tmzm.js} +17 -17
- package/dist/chunks/{form-zhpzfnnm.js → file-mutation-q2j64v3h.js} +6 -6
- package/dist/chunks/{form-a8nkje97.js → file-mutation-qaf3te0r.js} +11 -11
- package/dist/chunks/{form-23qegrxz.js → file-mutation-qb9hezfc.js} +27 -27
- package/dist/chunks/{form-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qve897jx.js → file-mutation-qnq8mqeg.js} +28 -28
- package/dist/chunks/{form-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{form-t4rshbjx.js → file-mutation-qxns1yyr.js} +15 -15
- package/dist/chunks/{form-49091bzx.js → file-mutation-qz0pc5j5.js} +18 -18
- package/dist/chunks/{form-e2efsa8y.js → file-mutation-r5z9qnpm.js} +11 -11
- package/dist/chunks/{form-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-1f52gq3m.js → file-mutation-re4gtx8j.js} +24 -24
- package/dist/chunks/{form-rert0e01.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-jypyv8j2.js → file-mutation-rp8hjwgz.js} +14 -14
- package/dist/chunks/{form-ebdsrbwd.js → file-mutation-rpnfjj5z.js} +29 -29
- package/dist/chunks/{form-yebkwvs3.js → file-mutation-rqbas9ax.js} +20 -20
- package/dist/chunks/{form-herw6cax.js → file-mutation-rqhevtjr.js} +14 -14
- package/dist/chunks/{form-wy70kt51.js → file-mutation-rrb9pz5a.js} +1 -1
- package/dist/chunks/{form-pz51kqst.js → file-mutation-s5qxm7c2.js} +9 -9
- package/dist/chunks/{form-d7fb65k9.js → file-mutation-s8yypaqy.js} +49 -49
- package/dist/chunks/{form-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-b7277dxx.js → file-mutation-sadarxxx.js} +35 -35
- package/dist/chunks/{form-x5bj7jd8.js → file-mutation-sbr2r95b.js} +25 -25
- package/dist/chunks/{form-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{form-wxp1snbt.js → file-mutation-szyc73at.js} +10 -10
- package/dist/chunks/{form-zghqh9m4.js → file-mutation-t4bhgeye.js} +5 -5
- package/dist/chunks/{form-t550f9t1.js → file-mutation-t550f9t1.js} +1 -1
- package/dist/chunks/{form-2qwajngy.js → file-mutation-t80p7bv8.js} +9 -9
- package/dist/chunks/{form-v8fz4mt5.js → file-mutation-ta0tc5c9.js} +26 -26
- package/dist/chunks/{form-sngg5jzg.js → file-mutation-taz2ghkg.js} +14 -14
- package/dist/chunks/{form-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-277eer69.js → file-mutation-tbmac1c7.js} +4 -4
- package/dist/chunks/{form-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-zpr2q4qf.js → file-mutation-td1fm6rg.js} +21 -21
- package/dist/chunks/{form-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{form-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-2sfa3baz.js → file-mutation-ts412n3k.js} +34 -34
- package/dist/chunks/{form-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{form-dy50jp3n.js → file-mutation-v08krjdw.js} +15 -15
- package/dist/chunks/{form-v13b12ef.js → file-mutation-v13b12ef.js} +2 -2
- package/dist/chunks/file-mutation-v1yvzs5v.js +517 -0
- package/dist/chunks/{form-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{form-4jx3bwb8.js → file-mutation-vt9q9evw.js} +10 -10
- package/dist/chunks/{form-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-km89rq23.js → file-mutation-w3g2sjny.js} +14 -14
- package/dist/chunks/{form-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{form-mg46656p.js → file-mutation-wdasqx75.js} +4 -4
- package/dist/chunks/{form-mmq9wxfe.js → file-mutation-wnyvz4dk.js} +48 -48
- package/dist/chunks/{form-76wqcf0a.js → file-mutation-wpys2vyv.js} +2 -2
- package/dist/chunks/{form-t3nryzzt.js → file-mutation-wqabm0nw.js} +16 -16
- package/dist/chunks/{form-pb4fd284.js → file-mutation-ws0ez784.js} +14 -14
- package/dist/chunks/{form-5xda5hqs.js → file-mutation-x0k3z69x.js} +16 -16
- package/dist/chunks/{form-v29px2ne.js → file-mutation-x5dktsa5.js} +17 -17
- package/dist/chunks/{form-rkdvqggb.js → file-mutation-x6pyv2yz.js} +5 -5
- package/dist/chunks/{form-hgp8ga1w.js → file-mutation-xcevffwp.js} +83 -83
- package/dist/chunks/{form-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
- package/dist/chunks/{form-hbb7npd7.js → file-mutation-xfktpdj6.js} +6 -6
- package/dist/chunks/{form-cgceftma.js → file-mutation-xgrstn99.js} +14 -14
- package/dist/chunks/{form-7q7tdt9r.js → file-mutation-xmb5688y.js} +35 -35
- package/dist/chunks/{form-mnqkv3ke.js → file-mutation-xp80041t.js} +5 -5
- package/dist/chunks/{form-az5hjsz4.js → file-mutation-xs3kgst9.js} +20 -20
- package/dist/chunks/{form-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-6jjecsmt.js → file-mutation-y59fqsw4.js} +29 -29
- package/dist/chunks/{form-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{form-nd4tfyg0.js → file-mutation-y7nndgyc.js} +9 -9
- package/dist/chunks/{form-3gkmwhhy.js → file-mutation-ydjhy7jp.js} +4 -4
- package/dist/chunks/{form-ffm3byn0.js → file-mutation-ye93bcpk.js} +15 -15
- package/dist/chunks/{form-92swtbh8.js → file-mutation-yebssw6b.js} +3 -3
- package/dist/chunks/{form-t1ydd63c.js → file-mutation-yr4z1qtt.js} +45 -45
- package/dist/chunks/{form-bjx1sjef.js → file-mutation-ywt8jp22.js} +9 -9
- package/dist/chunks/{form-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-ty2f8d57.js → file-mutation-z0hcq1xj.js} +31 -31
- package/dist/chunks/{form-z18fegx4.js → file-mutation-z18fegx4.js} +1 -1
- package/dist/chunks/{form-jcmaxbq8.js → file-mutation-zak5s96v.js} +4 -4
- package/dist/chunks/{form-xvdstdyg.js → file-mutation-zcepehk0.js} +1 -1
- package/dist/chunks/file-mutation-zcrrhp36.js +26 -0
- package/dist/chunks/{form-q5asdkn4.js → file-mutation-zcrspsvn.js} +4 -4
- package/dist/chunks/{form-d1p465nq.js → file-mutation-zh98cvta.js} +8 -8
- package/dist/chunks/{form-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-k22705tg.js → file-mutation-zr8t0btn.js} +148 -148
- package/dist/chunks/{form-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-vmfvcz6g.js → file-mutation-zz19y5js.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +136 -136
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- 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 +84 -84
- 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 +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +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 +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +7 -7
- 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 +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- 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 +127 -127
- package/dist/session/projector.js +89 -89
- 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 +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 +214 -214
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- 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 +211 -211
- 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 +5 -5
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-8d77zc71.js +0 -257
- package/dist/chunks/form-d6a0dzba.js +0 -26
- package/dist/chunks/form-rap9a73h.js +0 -18
- package/dist/chunks/form-vg8a1yvs.js +0 -517
- /package/dist/chunks/{form-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e3qxr5gk.js → file-mutation-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./file-mutation-3e2gnrvk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service70,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-8xxydye1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service20
|
|
11
|
+
} from "./file-mutation-v08krjdw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./file-mutation-hh1mvxn6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./file-mutation-bvefa49m.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin6,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin6 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service21;
|
|
56
|
+
const fileMutation = yield* Service70;
|
|
57
|
+
const environment = yield* Service71;
|
|
58
|
+
const formatter = yield* Service20;
|
|
59
|
+
const permission = yield* Service56;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output4, toModelContent2, Plugin6, exports_write };
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node61
|
|
3
|
+
} from "./file-mutation-9q2hdfp3.js";
|
|
4
|
+
import {
|
|
5
|
+
node88
|
|
6
|
+
} from "./file-mutation-fcs05vrx.js";
|
|
7
|
+
import {
|
|
8
|
+
node83
|
|
9
|
+
} from "./file-mutation-ta0tc5c9.js";
|
|
10
|
+
import {
|
|
11
|
+
node84,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./file-mutation-j8143y8a.js";
|
|
14
|
+
import {
|
|
15
|
+
node82
|
|
16
|
+
} from "./file-mutation-rpnfjj5z.js";
|
|
17
|
+
import {
|
|
18
|
+
node81
|
|
19
|
+
} from "./file-mutation-9mnf2aaj.js";
|
|
20
|
+
import {
|
|
21
|
+
node80
|
|
22
|
+
} from "./file-mutation-4b4em5d4.js";
|
|
23
|
+
import {
|
|
24
|
+
node48
|
|
25
|
+
} from "./file-mutation-8rddq889.js";
|
|
26
|
+
import {
|
|
27
|
+
configured6,
|
|
28
|
+
node65
|
|
29
|
+
} from "./file-mutation-mhg37pmq.js";
|
|
30
|
+
import {
|
|
31
|
+
node73
|
|
32
|
+
} from "./file-mutation-3e2gnrvk.js";
|
|
33
|
+
import {
|
|
34
|
+
node72
|
|
35
|
+
} from "./file-mutation-8xxydye1.js";
|
|
36
|
+
import {
|
|
37
|
+
node22
|
|
38
|
+
} from "./file-mutation-v08krjdw.js";
|
|
39
|
+
import {
|
|
40
|
+
node19
|
|
41
|
+
} from "./file-mutation-h7vxqxg2.js";
|
|
42
|
+
import {
|
|
43
|
+
DirectoryNotFoundError2,
|
|
44
|
+
node18
|
|
45
|
+
} from "./file-mutation-n5sg9n8b.js";
|
|
46
|
+
import {
|
|
47
|
+
node69
|
|
48
|
+
} from "./file-mutation-phk9d88z.js";
|
|
49
|
+
import {
|
|
50
|
+
node68
|
|
51
|
+
} from "./file-mutation-1rabqv72.js";
|
|
52
|
+
import {
|
|
53
|
+
node20
|
|
54
|
+
} from "./file-mutation-6614sc7r.js";
|
|
55
|
+
import {
|
|
56
|
+
node57
|
|
57
|
+
} from "./file-mutation-5e1pzs32.js";
|
|
58
|
+
import {
|
|
59
|
+
node42
|
|
60
|
+
} from "./file-mutation-0eymxkpr.js";
|
|
61
|
+
import {
|
|
62
|
+
Service43,
|
|
63
|
+
node45
|
|
64
|
+
} from "./file-mutation-4mwpykj0.js";
|
|
65
|
+
import {
|
|
66
|
+
node36
|
|
67
|
+
} from "./file-mutation-e27v7yqk.js";
|
|
68
|
+
import {
|
|
69
|
+
node62
|
|
70
|
+
} from "./file-mutation-92swnv4m.js";
|
|
71
|
+
import {
|
|
72
|
+
node58
|
|
73
|
+
} from "./file-mutation-hh1mvxn6.js";
|
|
74
|
+
import {
|
|
75
|
+
node46
|
|
76
|
+
} from "./file-mutation-5tew088c.js";
|
|
77
|
+
import {
|
|
78
|
+
configured8,
|
|
79
|
+
node70
|
|
80
|
+
} from "./file-mutation-5g9pfety.js";
|
|
81
|
+
import {
|
|
82
|
+
node37
|
|
83
|
+
} from "./file-mutation-49ma6pwq.js";
|
|
84
|
+
import {
|
|
85
|
+
node56
|
|
86
|
+
} from "./file-mutation-re4gtx8j.js";
|
|
87
|
+
import {
|
|
88
|
+
node39
|
|
89
|
+
} from "./file-mutation-f0y10khq.js";
|
|
90
|
+
import {
|
|
91
|
+
node47
|
|
92
|
+
} from "./file-mutation-2nb55xn8.js";
|
|
93
|
+
import {
|
|
94
|
+
node32
|
|
95
|
+
} from "./file-mutation-7k4yx5jm.js";
|
|
96
|
+
import {
|
|
97
|
+
node54
|
|
98
|
+
} from "./file-mutation-gk5p4syv.js";
|
|
99
|
+
import {
|
|
100
|
+
node33
|
|
101
|
+
} from "./file-mutation-hebc8qwk.js";
|
|
102
|
+
import {
|
|
103
|
+
node31
|
|
104
|
+
} from "./file-mutation-xcevffwp.js";
|
|
105
|
+
import {
|
|
106
|
+
node53
|
|
107
|
+
} from "./file-mutation-fa4te4zq.js";
|
|
108
|
+
import {
|
|
109
|
+
node51
|
|
110
|
+
} from "./file-mutation-mwahwpcs.js";
|
|
111
|
+
import {
|
|
112
|
+
node52
|
|
113
|
+
} from "./file-mutation-s5qxm7c2.js";
|
|
114
|
+
import {
|
|
115
|
+
node49
|
|
116
|
+
} from "./file-mutation-nn5t8xjm.js";
|
|
117
|
+
import {
|
|
118
|
+
node29
|
|
119
|
+
} from "./file-mutation-6k294dg0.js";
|
|
120
|
+
import {
|
|
121
|
+
node26
|
|
122
|
+
} from "./file-mutation-khcab136.js";
|
|
123
|
+
import {
|
|
124
|
+
node76
|
|
125
|
+
} from "./file-mutation-xs3kgst9.js";
|
|
126
|
+
import {
|
|
127
|
+
node28
|
|
128
|
+
} from "./file-mutation-bz5hym84.js";
|
|
129
|
+
import {
|
|
130
|
+
node24
|
|
131
|
+
} from "./file-mutation-2kjrre30.js";
|
|
132
|
+
import {
|
|
133
|
+
node4
|
|
134
|
+
} from "./file-mutation-8g01qe2v.js";
|
|
135
|
+
import {
|
|
136
|
+
Service15,
|
|
137
|
+
node17
|
|
138
|
+
} from "./file-mutation-cmftrgtq.js";
|
|
139
|
+
import {
|
|
140
|
+
node23
|
|
141
|
+
} from "./file-mutation-bvefa49m.js";
|
|
142
|
+
import {
|
|
143
|
+
node15,
|
|
144
|
+
bound2
|
|
145
|
+
} from "./file-mutation-p4mj4rdp.js";
|
|
146
|
+
import {
|
|
147
|
+
node13
|
|
148
|
+
} from "./file-mutation-yr4z1qtt.js";
|
|
149
|
+
import {
|
|
150
|
+
node10
|
|
151
|
+
} from "./file-mutation-qxns1yyr.js";
|
|
152
|
+
import {
|
|
153
|
+
node9
|
|
154
|
+
} from "./file-mutation-70ake3ft.js";
|
|
155
|
+
import {
|
|
156
|
+
node5
|
|
157
|
+
} from "./file-mutation-4yb17086.js";
|
|
158
|
+
import {
|
|
159
|
+
node16
|
|
160
|
+
} from "./file-mutation-7bm0e0dp.js";
|
|
161
|
+
import {
|
|
162
|
+
node3
|
|
163
|
+
} from "./file-mutation-y59fqsw4.js";
|
|
164
|
+
import {
|
|
165
|
+
node2
|
|
166
|
+
} from "./file-mutation-9wqkfqmh.js";
|
|
167
|
+
import {
|
|
168
|
+
__export
|
|
169
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
170
|
+
|
|
171
|
+
// src/instance.ts
|
|
172
|
+
var exports_instance = {};
|
|
173
|
+
__export(exports_instance, {
|
|
174
|
+
Instance: () => exports_instance,
|
|
175
|
+
Service: () => Service43,
|
|
176
|
+
graph: () => graph2,
|
|
177
|
+
layer: () => layer2,
|
|
178
|
+
node: () => node45
|
|
179
|
+
});
|
|
180
|
+
import { Context, Effect, Layer } from "effect";
|
|
181
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
182
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
183
|
+
var nodes = [
|
|
184
|
+
node84,
|
|
185
|
+
node17,
|
|
186
|
+
node73,
|
|
187
|
+
node65,
|
|
188
|
+
node61,
|
|
189
|
+
node48,
|
|
190
|
+
node47,
|
|
191
|
+
node29,
|
|
192
|
+
node76,
|
|
193
|
+
node83,
|
|
194
|
+
node82,
|
|
195
|
+
node80,
|
|
196
|
+
node69,
|
|
197
|
+
node81,
|
|
198
|
+
node24,
|
|
199
|
+
node62,
|
|
200
|
+
node15,
|
|
201
|
+
node5,
|
|
202
|
+
node28,
|
|
203
|
+
node19,
|
|
204
|
+
node18,
|
|
205
|
+
node51,
|
|
206
|
+
node16,
|
|
207
|
+
node49,
|
|
208
|
+
node54,
|
|
209
|
+
node37,
|
|
210
|
+
node70,
|
|
211
|
+
node23,
|
|
212
|
+
node72,
|
|
213
|
+
node22,
|
|
214
|
+
node42,
|
|
215
|
+
node58,
|
|
216
|
+
node56,
|
|
217
|
+
node52,
|
|
218
|
+
node57,
|
|
219
|
+
node33,
|
|
220
|
+
node32,
|
|
221
|
+
node36,
|
|
222
|
+
node88,
|
|
223
|
+
node68,
|
|
224
|
+
node20,
|
|
225
|
+
node9,
|
|
226
|
+
node39,
|
|
227
|
+
node10,
|
|
228
|
+
node46,
|
|
229
|
+
node13,
|
|
230
|
+
node3,
|
|
231
|
+
node31,
|
|
232
|
+
node53,
|
|
233
|
+
node2,
|
|
234
|
+
node26,
|
|
235
|
+
node4
|
|
236
|
+
];
|
|
237
|
+
var graph2 = LayerNode.group(nodes);
|
|
238
|
+
var vanillaReplacements = [
|
|
239
|
+
node65.replace(configured6({ project: false, global: false })),
|
|
240
|
+
node70.replace(configured8({ project: false, global: false }))
|
|
241
|
+
];
|
|
242
|
+
function layer2(ref, options = {}) {
|
|
243
|
+
const startedAt = performance.now();
|
|
244
|
+
const replacements = [
|
|
245
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
246
|
+
...options.replacements ?? [],
|
|
247
|
+
node84.replace(boundNode2(ref)),
|
|
248
|
+
node15.replace(bound2(options.plugins ?? []))
|
|
249
|
+
];
|
|
250
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service15).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
251
|
+
directory: ref.directory,
|
|
252
|
+
workspaceID: ref.workspaceID,
|
|
253
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
254
|
+
})));
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info19 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info17 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info19, exports_provider2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84
|
|
3
|
-
} from "./form-xn9d5d7a.js";
|
|
4
1
|
import {
|
|
5
2
|
Service85
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-py2d2bhf.js";
|
|
4
|
+
import {
|
|
5
|
+
Service75
|
|
6
|
+
} from "./file-mutation-0nqg4kny.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service38,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-7fj5dwt0.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-zr8t0btn.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info4,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service38,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service85;
|
|
45
|
+
const kv = yield* Service75;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service38.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node24 = Node.makeLocationNode({
|
|
226
|
+
service: Service38,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node24, exports_plugin2, Event4, ID3, Info4, Source2, State2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-mutation-py2d2bhf.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service53,
|
|
17
|
+
node55
|
|
18
|
+
} from "./file-mutation-rqbas9ax.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
29
|
Event: () => Event6,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node47
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -43,14 +43,14 @@ import { Event as Event6 } from "@opencode/schema/reference";
|
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, 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* Service53;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.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(Service41, 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 Service45.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(Service41, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node47 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node89, node55]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service45, node47, exports_reference2, Event6 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./file-mutation-bwpes1j3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./file-mutation-mhg37pmq.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-b6ag07rz.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
scan3
|
|
13
|
+
} from "./file-mutation-1ep4rre3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-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: () => Plugin30
|
|
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 Plugin30 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service63;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service64;
|
|
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 Plugin28 = 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 Plugin28 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin30, exports_compatibility };
|