@opencode/core 0.0.0-dev-20655 → 0.0.0-dev-20657
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{app-4k4xw99j.js → vcs-02w6ye8w.js} +19 -19
- package/dist/chunks/{app-trfe10aq.js → vcs-03ympqey.js} +56 -56
- package/dist/chunks/{app-kt8356a3.js → vcs-040mzcjf.js} +34 -34
- package/dist/chunks/{app-eff940as.js → vcs-0a9mspw3.js} +32 -32
- package/dist/chunks/{app-1h0m70r1.js → vcs-0cpggsem.js} +20 -20
- package/dist/chunks/{app-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-9whkbvte.js → vcs-0t0msxhb.js} +5 -5
- package/dist/chunks/{app-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{app-2dcxqaf0.js → vcs-1590h75y.js} +47 -47
- package/dist/chunks/{app-rszvgpa6.js → vcs-15k0vgsm.js} +13 -13
- package/dist/chunks/{app-1acjjqhc.js → vcs-1acjjqhc.js} +1 -1
- package/dist/chunks/{app-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-cx5qjy2q.js → vcs-1tre5bhm.js} +20 -20
- package/dist/chunks/{app-6xrnn9ah.js → vcs-1vkabqvp.js} +18 -18
- package/dist/chunks/{app-b8rcbyp3.js → vcs-1y2xvmy6.js} +10 -10
- package/dist/chunks/{app-bj79fbq7.js → vcs-23w4mbjd.js} +27 -27
- package/dist/chunks/{app-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-rftk81m0.js → vcs-2m6aeqxr.js} +39 -39
- package/dist/chunks/{app-gmyrpb2t.js → vcs-35snxxt6.js} +21 -21
- package/dist/chunks/vcs-391agrz4.js +26 -0
- package/dist/chunks/{app-gfypdtgg.js → vcs-39y20kt5.js} +23 -23
- package/dist/chunks/{app-3cegwx68.js → vcs-3cegwx68.js} +2 -2
- package/dist/chunks/{app-q5bs9ych.js → vcs-3emwnsjx.js} +22 -22
- package/dist/chunks/{app-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-04jg6nm3.js → vcs-3vnnpbnc.js} +38 -38
- package/dist/chunks/{app-m8n8f8f1.js → vcs-3yrfahye.js} +24 -24
- package/dist/chunks/{app-6h1ernme.js → vcs-3zbwexce.js} +11 -11
- package/dist/chunks/{app-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{app-g945yz75.js → vcs-40t0es6d.js} +28 -28
- package/dist/chunks/{app-s9rfegk5.js → vcs-434r7hkm.js} +17 -17
- package/dist/chunks/{app-wbgabvvj.js → vcs-47jkzegy.js} +5 -5
- package/dist/chunks/{app-x1e01gbv.js → vcs-4859kmxm.js} +26 -26
- package/dist/chunks/{app-z9w0t9mp.js → vcs-4f6qpwp0.js} +11 -11
- package/dist/chunks/{app-16bxftmt.js → vcs-4ga52gzf.js} +9 -9
- package/dist/chunks/{app-0xymhvjv.js → vcs-4h8a4daf.js} +18 -18
- package/dist/chunks/{app-0p3t72g7.js → vcs-4j4sd5hg.js} +13 -13
- package/dist/chunks/{app-2ccvkpx1.js → vcs-4ts7tf6z.js} +2 -2
- package/dist/chunks/{app-xs53z2pm.js → vcs-4wwqnvbr.js} +4 -4
- package/dist/chunks/{app-d5513v78.js → vcs-51tpsak4.js} +19 -19
- package/dist/chunks/{app-b63vc8wa.js → vcs-52k3wwwq.js} +22 -22
- package/dist/chunks/{app-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{app-56gdpj1q.js → vcs-56gdpj1q.js} +2 -2
- package/dist/chunks/{app-dk3gfcvg.js → vcs-59en1s52.js} +321 -321
- package/dist/chunks/{app-2h8kq5g8.js → vcs-5b1pphrg.js} +4 -4
- package/dist/chunks/{app-aya0m2nn.js → vcs-5c7790se.js} +12 -28
- package/dist/chunks/{app-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{app-1gh24mt2.js → vcs-5g2kcr25.js} +39 -39
- package/dist/chunks/{app-pwzyebmy.js → vcs-5h6rhzqe.js} +9 -9
- package/dist/chunks/{app-w22hqb2b.js → vcs-5j2qe6ha.js} +11 -11
- package/dist/chunks/{app-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{app-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-fbfqd6t5.js → vcs-5vsxmgdg.js} +28 -28
- package/dist/chunks/{app-tpw6cwsb.js → vcs-5xtgfte3.js} +8 -8
- package/dist/chunks/{app-mzkxtmwj.js → vcs-5y297yh0.js} +60 -60
- package/dist/chunks/{app-jtgyfgpv.js → vcs-6kd7fbe5.js} +48 -48
- package/dist/chunks/{app-zqapp3sx.js → vcs-6s3gqasb.js} +9 -9
- package/dist/chunks/{app-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{app-hhjq2279.js → vcs-6xndz1be.js} +10 -10
- package/dist/chunks/{app-s9bkmqx5.js → vcs-77tmtz1b.js} +6 -6
- package/dist/chunks/{app-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-7dqw4kz8.js → vcs-7dqw4kz8.js} +1 -1
- package/dist/chunks/{app-mgh0wzph.js → vcs-7emjjf90.js} +20 -20
- package/dist/chunks/{app-v8djm3tk.js → vcs-7kgm8qst.js} +25 -25
- package/dist/chunks/{app-rq424w6d.js → vcs-7phmnex1.js} +8 -8
- package/dist/chunks/{app-84h8c373.js → vcs-84h8c373.js} +2 -2
- package/dist/chunks/{app-w1eejvng.js → vcs-84txncab.js} +5 -5
- package/dist/chunks/{app-a89j2j3v.js → vcs-86rc0f8f.js} +9 -9
- package/dist/chunks/{app-tv9y8cre.js → vcs-88gv5fem.js} +33 -33
- package/dist/chunks/{app-45p1457d.js → vcs-89yy5tk9.js} +42 -42
- package/dist/chunks/{app-wrdre0d4.js → vcs-8bmkym92.js} +40 -40
- package/dist/chunks/{app-3p3qdx74.js → vcs-8c9jk717.js} +3 -3
- package/dist/chunks/{app-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-4x7mprc7.js → vcs-8m5xe4tx.js} +9 -9
- package/dist/chunks/{app-amtff23s.js → vcs-8mza7131.js} +21 -21
- package/dist/chunks/{app-rjq8wmvv.js → vcs-8qyfkx8k.js} +13 -13
- package/dist/chunks/{app-jnvev7pc.js → vcs-8s8kj6rz.js} +30 -30
- package/dist/chunks/{app-dbkg7j5s.js → vcs-8wc7p2s7.js} +18 -18
- package/dist/chunks/{app-qsee9sfb.js → vcs-8whp40kv.js} +3 -3
- package/dist/chunks/{app-k7y9nwy7.js → vcs-91eqd9wz.js} +94 -94
- package/dist/chunks/{app-wbrpy97e.js → vcs-952fmzcg.js} +8 -8
- package/dist/chunks/{app-gvra8byy.js → vcs-99rqs349.js} +6 -6
- package/dist/chunks/{app-20k6bs8s.js → vcs-9dyqnwf5.js} +11 -11
- package/dist/chunks/{app-rrfvxgdj.js → vcs-9k3az8kg.js} +35 -35
- package/dist/chunks/{app-29fgs7mf.js → vcs-9rv6dz1e.js} +32 -32
- package/dist/chunks/{app-k5s0pr56.js → vcs-9vxdmk1q.js} +21 -21
- package/dist/chunks/{app-fe1pry9k.js → vcs-9zcvf4bt.js} +3 -3
- package/dist/chunks/{app-knevfgda.js → vcs-a2rpfkac.js} +4 -4
- package/dist/chunks/{app-vcx4y3fv.js → vcs-a6r6wkyr.js} +16 -16
- package/dist/chunks/{app-7w42a7vr.js → vcs-a71hppcw.js} +12 -12
- package/dist/chunks/{app-76tyfscq.js → vcs-a8f3mxkw.js} +11 -11
- package/dist/chunks/{app-xp199s9v.js → vcs-a9667v8g.js} +29 -29
- package/dist/chunks/{app-fyyxce3k.js → vcs-aa3n6jba.js} +12 -12
- package/dist/chunks/{app-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{app-ep2tbpq0.js → vcs-aas2x9xe.js} +11 -11
- package/dist/chunks/{app-xa67z4h8.js → vcs-ad2z09fz.js} +1 -1
- package/dist/chunks/{app-z52sz3cr.js → vcs-any5mnhp.js} +32 -32
- package/dist/chunks/{app-2awzhxm4.js → vcs-avmm2jg2.js} +11 -11
- package/dist/chunks/{app-ahket4sj.js → vcs-awwkxypx.js} +1 -1
- package/dist/chunks/{app-6myapkvy.js → vcs-az1ptj1b.js} +21 -21
- package/dist/chunks/{app-8sze2n9a.js → vcs-b4twkq7r.js} +2 -2
- package/dist/chunks/{app-j9vjkm8n.js → vcs-b51nkdwk.js} +13 -13
- package/dist/chunks/{app-xj54bchx.js → vcs-b60a26g6.js} +5 -5
- package/dist/chunks/{app-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-vpw5h8ff.js → vcs-bjr6y4mv.js} +3 -3
- package/dist/chunks/{app-t157y7h9.js → vcs-bygh5wce.js} +15 -15
- package/dist/chunks/{app-q66krdtm.js → vcs-c115zdge.js} +7 -7
- package/dist/chunks/{app-tjd55h1j.js → vcs-c73458ry.js} +3 -3
- package/dist/chunks/{app-p7a39gy5.js → vcs-c8bydgjz.js} +6 -6
- package/dist/chunks/{app-2pnhn36q.js → vcs-cavr175a.js} +21 -21
- package/dist/chunks/{app-gz06afsr.js → vcs-chsrfrth.js} +13 -13
- package/dist/chunks/{app-67p37xz4.js → vcs-ckk9cefh.js} +3 -3
- package/dist/chunks/{app-3pshrbxs.js → vcs-cn4z8cr5.js} +5 -5
- package/dist/chunks/{app-x9e148je.js → vcs-cq6phv5h.js} +19 -19
- package/dist/chunks/{app-s0y0yn56.js → vcs-cvaycvww.js} +8 -8
- package/dist/chunks/{app-2sejkfem.js → vcs-cwa6csj7.js} +9 -9
- package/dist/chunks/{app-5p8wf6j7.js → vcs-d7r1s2tx.js} +24 -24
- package/dist/chunks/{app-1mkt64e2.js → vcs-d8j5se8g.js} +6 -6
- package/dist/chunks/{app-addxnjmp.js → vcs-db2wf4at.js} +4 -4
- package/dist/chunks/{app-57e9z27j.js → vcs-dh75pk8w.js} +8 -8
- package/dist/chunks/{app-tz4n1mmd.js → vcs-dhmh7aw6.js} +4 -4
- package/dist/chunks/{app-srj2pvnr.js → vcs-dqbmw7q7.js} +18 -18
- package/dist/chunks/{app-1fe3twba.js → vcs-dvcamk0x.js} +44 -44
- package/dist/chunks/{app-af8m3dqx.js → vcs-dxh3sfmm.js} +4 -4
- package/dist/chunks/{app-7cxp1twe.js → vcs-e0yqd5jt.js} +27 -27
- package/dist/chunks/{app-rdh9syxk.js → vcs-e81r67k8.js} +11 -11
- package/dist/chunks/{app-d7gsy00f.js → vcs-ech2ak4d.js} +4 -4
- package/dist/chunks/{app-242d3xz3.js → vcs-ed3hy58t.js} +11 -11
- package/dist/chunks/{app-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-4b3qsvz5.js → vcs-ehcck58d.js} +11 -11
- package/dist/chunks/{app-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-4dhf6qr5.js → vcs-f0s8y0b6.js} +16 -16
- package/dist/chunks/{app-1b4m0bzf.js → vcs-f29mbr7f.js} +4 -4
- package/dist/chunks/{app-ngv8w6cp.js → vcs-f3vqqkbk.js} +21 -21
- package/dist/chunks/{app-f75zav2x.js → vcs-f75zav2x.js} +2 -2
- package/dist/chunks/{app-xf8yqmad.js → vcs-fd636bra.js} +9 -9
- package/dist/chunks/{app-qpg4an21.js → vcs-fgwpeqsz.js} +11 -11
- package/dist/chunks/{app-bkcfv8em.js → vcs-fns8a2gp.js} +11 -11
- package/dist/chunks/{app-b7v4cx43.js → vcs-fyjp43ss.js} +5 -5
- package/dist/chunks/{app-xfkkasph.js → vcs-g5w8qwbj.js} +4 -4
- package/dist/chunks/{app-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-sgy8ytrb.js → vcs-gwwh43n1.js} +4 -4
- package/dist/chunks/{app-68yqgpv3.js → vcs-h28nw4a5.js} +38 -38
- package/dist/chunks/{app-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-zy98sty6.js → vcs-hhvxj0xs.js} +2 -2
- package/dist/chunks/{app-6qtegkg3.js → vcs-hy1va3t8.js} +11 -11
- package/dist/chunks/{app-bae9fd7v.js → vcs-j1xbwn9c.js} +31 -31
- package/dist/chunks/{app-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{app-5w6eg69j.js → vcs-j93sw876.js} +21 -21
- package/dist/chunks/{app-4ghyx0ra.js → vcs-jbmy2zgb.js} +24 -24
- package/dist/chunks/{app-5bebnv6a.js → vcs-jr75wfmz.js} +64 -64
- package/dist/chunks/{app-pybq8189.js → vcs-js4cxn4z.js} +6 -6
- package/dist/chunks/{app-20y2srhq.js → vcs-jsz329ft.js} +8 -8
- package/dist/chunks/{app-yj324k3c.js → vcs-k90nywdg.js} +5 -5
- package/dist/chunks/{app-f2ymgd1y.js → vcs-k9z2jbvp.js} +14 -14
- package/dist/chunks/{app-kb9j3d72.js → vcs-kb9j3d72.js} +3 -3
- package/dist/chunks/{app-yt3hy1g9.js → vcs-kbqjp078.js} +5 -5
- package/dist/chunks/{app-t6jtyfth.js → vcs-kf9nwexv.js} +9 -9
- package/dist/chunks/{app-h83xjv7f.js → vcs-kjdm35cs.js} +5 -5
- package/dist/chunks/{app-d08g2ggt.js → vcs-kjtwtt38.js} +18 -18
- package/dist/chunks/{app-3322t3cd.js → vcs-knf8cp6t.js} +33 -33
- package/dist/chunks/{app-jcx1xx7s.js → vcs-kt0ehyka.js} +9 -9
- package/dist/chunks/{app-04e56h6g.js → vcs-ktsearan.js} +22 -22
- package/dist/chunks/{app-wp4df68x.js → vcs-ky1txe1r.js} +9 -9
- package/dist/chunks/{app-jc3azejp.js → vcs-m32z4m4g.js} +23 -23
- package/dist/chunks/{app-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-tdkczycq.js → vcs-mhpyta8y.js} +5 -5
- package/dist/chunks/{app-7gganw90.js → vcs-mjdy15x6.js} +5 -5
- package/dist/chunks/{app-hxnmxwjb.js → vcs-mjeah1s5.js} +22 -22
- package/dist/chunks/{app-ar6cqpvd.js → vcs-mjmzzvm2.js} +11 -11
- package/dist/chunks/{app-jhpaar4x.js → vcs-mp6d0dty.js} +8 -8
- package/dist/chunks/vcs-n95b3jav.js +18 -0
- package/dist/chunks/{app-tbmac1c7.js → vcs-n9arjmkd.js} +4 -4
- package/dist/chunks/{app-9014prnx.js → vcs-n9vqdcrq.js} +13 -13
- package/dist/chunks/{app-c74t9qz0.js → vcs-na5ey99x.js} +22 -22
- package/dist/chunks/{app-dr9djctk.js → vcs-ncbf19cf.js} +20 -20
- package/dist/chunks/{app-xccs5pvc.js → vcs-ncrxt7jx.js} +7 -7
- package/dist/chunks/{app-9w4vxw73.js → vcs-nebf000m.js} +23 -23
- package/dist/chunks/{app-td2q8pwv.js → vcs-nf7n9gv6.js} +30 -30
- package/dist/chunks/{app-7cjh5p1y.js → vcs-nj1j17x6.js} +8 -8
- package/dist/chunks/{app-yw1qgh4m.js → vcs-njffz7f6.js} +28 -28
- package/dist/chunks/{app-wxzwjz1v.js → vcs-nmk0dmpc.js} +29 -29
- package/dist/chunks/{app-5vgy46me.js → vcs-nsxganxa.js} +16 -16
- package/dist/chunks/{app-1m23n1zc.js → vcs-nvxfygz2.js} +11 -11
- package/dist/chunks/{app-dpkg50ah.js → vcs-nxm207yx.js} +4 -4
- package/dist/chunks/{app-sdzb5d81.js → vcs-p0n551fw.js} +35 -35
- package/dist/chunks/{app-5cwdzrbq.js → vcs-p3scmb76.js} +9 -9
- package/dist/chunks/{app-b0cc5wa1.js → vcs-p4h4rdzj.js} +21 -21
- package/dist/chunks/{app-r7jxkywv.js → vcs-p5erw4k4.js} +15 -15
- package/dist/chunks/{app-v3691hzd.js → vcs-p5p5kne1.js} +2 -2
- package/dist/chunks/{app-sssj1js0.js → vcs-pfme51df.js} +37 -37
- package/dist/chunks/{app-f597wsw6.js → vcs-ph3ewja6.js} +7 -7
- package/dist/chunks/{app-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{app-0c8a6nan.js → vcs-pwgqjq8n.js} +86 -86
- package/dist/chunks/{app-0j77ygfz.js → vcs-q0xm7vwc.js} +6 -6
- package/dist/chunks/{app-9706e9af.js → vcs-q8pak5b3.js} +16 -16
- package/dist/chunks/{app-va1aqcgj.js → vcs-qgv728j2.js} +11 -11
- package/dist/chunks/{app-q41gjxsv.js → vcs-qm62jy3z.js} +18 -18
- package/dist/chunks/{app-an481r60.js → vcs-qmtyv9xk.js} +25 -25
- package/dist/chunks/{app-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{app-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{app-m1mccnkp.js → vcs-qt3m7yst.js} +27 -42
- package/dist/chunks/{app-301dthfh.js → vcs-qvq3arps.js} +23 -23
- package/dist/chunks/{app-nwhb2xra.js → vcs-qxampeh8.js} +4 -4
- package/dist/chunks/{app-qxjc9qry.js → vcs-qxjc9qry.js} +3 -3
- package/dist/chunks/{app-nd6t1tpn.js → vcs-r4m1jrjc.js} +19 -19
- package/dist/chunks/{app-mvfsc1pv.js → vcs-r5x6zcsm.js} +3 -3
- package/dist/chunks/{app-dhgz4p5g.js → vcs-rbw4aktn.js} +22 -22
- package/dist/chunks/{app-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-rrpq0de9.js → vcs-ree5ev3t.js} +12 -12
- package/dist/chunks/{app-mwkrjy8y.js → vcs-rh6eqnc6.js} +12 -12
- package/dist/chunks/{app-325sge2s.js → vcs-rk1r2hx8.js} +1 -1
- package/dist/chunks/{app-7jqg3t26.js → vcs-rnngp69k.js} +8 -8
- package/dist/chunks/{app-b27vhd2z.js → vcs-ryr25ayn.js} +4 -4
- package/dist/chunks/{app-py8bz5dh.js → vcs-s0bwfe95.js} +19 -19
- package/dist/chunks/{app-w56bmt8q.js → vcs-s16b17t4.js} +3 -3
- package/dist/chunks/{app-ws2cps2z.js → vcs-s26kjmv5.js} +6 -6
- package/dist/chunks/{app-ne07e3sg.js → vcs-s2v7n1e5.js} +23 -23
- package/dist/chunks/{app-wkt2r7t8.js → vcs-s5k3q4pp.js} +5 -5
- package/dist/chunks/{app-s6fz7zhe.js → vcs-s91dha9r.js} +5 -5
- package/dist/chunks/{app-9h0hm6c7.js → vcs-sdn4xrar.js} +24 -24
- package/dist/chunks/{app-nxdkhax1.js → vcs-sppvmfbr.js} +13 -13
- package/dist/chunks/{app-rx9ava5n.js → vcs-sqvzcy4n.js} +4 -4
- package/dist/chunks/{app-7z20pvgb.js → vcs-sxqcyyt3.js} +19 -19
- package/dist/chunks/{app-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-jkv8g5mz.js → vcs-tchgbp8v.js} +7 -7
- package/dist/chunks/{app-4ayp82yx.js → vcs-tcwahqdd.js} +172 -172
- package/dist/chunks/{app-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{app-1jksvqp2.js → vcs-tpb188e6.js} +30 -30
- package/dist/chunks/{app-qby9dwvd.js → vcs-tx9w5tca.js} +8 -8
- package/dist/chunks/{app-z0k8ktqm.js → vcs-tz1g4r66.js} +4 -4
- package/dist/chunks/{app-v0es1rhs.js → vcs-v0es1rhs.js} +2 -2
- package/dist/chunks/{app-7b0bmdfp.js → vcs-v31ptvhs.js} +11 -11
- package/dist/chunks/{app-d9yqcqn2.js → vcs-v53gfhad.js} +7 -7
- package/dist/chunks/{app-mypwhdkk.js → vcs-v76by4bg.js} +6 -6
- package/dist/chunks/{app-k3kxt7h3.js → vcs-v7t1f1qx.js} +8 -8
- package/dist/chunks/{app-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{app-ebpd15x1.js → vcs-vnezwvq1.js} +2 -3
- package/dist/chunks/{app-k70p9jzb.js → vcs-vsr6dns1.js} +9 -9
- package/dist/chunks/{app-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-8phv1wh2.js → vcs-w5ssd7wj.js} +11 -11
- package/dist/chunks/{app-9g2bkc9w.js → vcs-w72117hz.js} +4 -4
- package/dist/chunks/{app-1rh4yqvv.js → vcs-w8djw5a7.js} +9 -9
- package/dist/chunks/{app-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{app-hdkng2sj.js → vcs-wecqtg5s.js} +5 -5
- package/dist/chunks/{app-fh6mwhcg.js → vcs-wk41chab.js} +2 -2
- package/dist/chunks/{app-apkykmcv.js → vcs-wmznkzn4.js} +15 -15
- package/dist/chunks/{app-y77syfze.js → vcs-wtm68b6z.js} +32 -32
- package/dist/chunks/{app-s8d7rejh.js → vcs-wv396vej.js} +8 -8
- package/dist/chunks/{app-9kdznkft.js → vcs-wwfr3fck.js} +149 -149
- package/dist/chunks/{app-bgb55b52.js → vcs-wzzqegvv.js} +32 -32
- package/dist/chunks/{app-7v13wked.js → vcs-x7jvg2gh.js} +8 -8
- package/dist/chunks/{app-0ejp3s31.js → vcs-x8g60tk1.js} +14 -14
- package/dist/chunks/{app-bzg3gwdp.js → vcs-xdqkfgq9.js} +43 -43
- package/dist/chunks/{app-xkntkrq7.js → vcs-xkntkrq7.js} +2 -2
- package/dist/chunks/{app-wygm2re9.js → vcs-xw3hzg3w.js} +19 -19
- package/dist/chunks/{app-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-5xnx6s0g.js → vcs-ydsmzj44.js} +4 -4
- package/dist/chunks/{app-hwwy1ym4.js → vcs-yed04tyc.js} +14 -14
- package/dist/chunks/{app-kdhmv3km.js → vcs-yfdhmhym.js} +17 -17
- package/dist/chunks/{app-j4tsbt5k.js → vcs-ym0x057v.js} +25 -25
- package/dist/chunks/{app-6s2ddzje.js → vcs-ynqzsecj.js} +48 -48
- package/dist/chunks/{app-reymgymz.js → vcs-yqgsyyq0.js} +18 -18
- package/dist/chunks/{app-nd6gy5bw.js → vcs-ytj3vg7d.js} +15 -15
- package/dist/chunks/{app-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-jat658e1.js → vcs-znz6qwjc.js} +11 -11
- package/dist/chunks/{app-35bmy1pq.js → vcs-zqg5j2wv.js} +20 -20
- package/dist/chunks/{app-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-9z3aytcr.js → vcs-zysg80a6.js} +28 -28
- package/dist/chunks/{app-791sstd7.js → vcs-zzhkqpgp.js} +20 -20
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +115 -115
- 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 +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- 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 +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +100 -100
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- 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/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- 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 +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- 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 +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- 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 +108 -108
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/app-4v7qdvcn.js +0 -18
- package/dist/chunks/app-h44meb81.js +0 -26
- /package/dist/chunks/{app-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service60,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node63,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service60 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service60.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service60, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node63 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service60, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node63, exports_select };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-k90nywdg.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./vcs-wtm68b6z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./vcs-h28nw4a5.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* Service67;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service61);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./vcs-qt3m7yst.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-wk41chab.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service61
|
|
10
|
+
} from "./vcs-h28nw4a5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service60,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-s0bwfe95.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service29
|
|
17
|
+
} from "./vcs-91eqd9wz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make6
|
|
20
|
+
} from "./vcs-mjmzzvm2.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin4
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin4 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service61;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin18 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service60;
|
|
60
|
+
const sessions = yield* Service29;
|
|
61
|
+
const agents = yield* Service77;
|
|
62
|
+
const subagents = yield* make6;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin18 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin4, exports_command };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./vcs-wtm68b6z.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-s26kjmv5.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID8.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9k3az8kg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID9,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-knf8cp6t.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID9.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-wv396vej.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-5y297yh0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node43
|
|
13
|
+
} from "./vcs-ynqzsecj.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./vcs-any5mnhp.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service33,
|
|
27
27
|
layer: () => layer12,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node37
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service33 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer12 = Layer.effect(
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service40;
|
|
68
|
+
return Service33.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make22({
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node37 = makeLocationNode({ service: Service33, layer: layer12, deps: [node43] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service33, layer12, node37, exports_instructions2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-aas2x9xe.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service64,
|
|
17
|
+
node: () => node67
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service64 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service83).db;
|
|
26
|
+
return Service64.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service64, node67, exports_kv };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-wv396vej.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-kb9j3d72.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ehcck58d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./vcs-nsxganxa.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./vcs-9k3az8kg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-knf8cp6t.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID8,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-wtm68b6z.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID9.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID9.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -165,7 +165,7 @@ var headless = (app) => ({
|
|
|
165
165
|
var OpenAIPlugin3 = define({
|
|
166
166
|
id: "opencode.provider.openai",
|
|
167
167
|
effect: Effect.fn(function* (ctx) {
|
|
168
|
-
const bus = yield*
|
|
168
|
+
const bus = yield* Service82;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
let chatgpt;
|
|
171
171
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin3 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID8.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin3 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID8.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin3 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID8.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID8.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-9rv6dz1e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./vcs-h28nw4a5.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-s26kjmv5.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/local.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -22,7 +22,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
22
22
|
id: input.id,
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
24
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
26
|
const source = { current: configured(yield* config.entries(), input.providerID, origin, suffix) };
|
|
27
27
|
const loaded = { models: [], hash: "[]" };
|
|
28
28
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -50,7 +50,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
50
50
|
for (const item of loaded.models) {
|
|
51
51
|
const spec = input.model(item);
|
|
52
52
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
53
|
-
model.modelID =
|
|
53
|
+
model.modelID = ID6.make(spec.id);
|
|
54
54
|
model.name = spec.name || spec.id;
|
|
55
55
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
56
56
|
model.capabilities = {
|