@opencode/core 0.0.0-dev-20987 → 0.0.0-dev-21002
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{plugin-9arzq6ja.js → vcs-04gb909q.js} +7 -7
- package/dist/chunks/{plugin-4dh7xncv.js → vcs-0f1tk7nc.js} +7 -7
- package/dist/chunks/{plugin-sd5f6jdk.js → vcs-0hf9g8pg.js} +6 -6
- package/dist/chunks/{plugin-2k8khapm.js → vcs-0jwsre1p.js} +5 -5
- package/dist/chunks/{plugin-krks7zng.js → vcs-0nrt08cy.js} +43 -43
- package/dist/chunks/{plugin-g1mqf7m7.js → vcs-0pavs806.js} +5 -5
- package/dist/chunks/{plugin-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-rx3cs4hp.js → vcs-0y9178sh.js} +23 -23
- package/dist/chunks/{plugin-sm9gc2jd.js → vcs-1578bcx0.js} +19 -19
- package/dist/chunks/{plugin-zcx9axj5.js → vcs-160vbk35.js} +6 -6
- package/dist/chunks/{plugin-r8xr0va3.js → vcs-1acjjqhc.js} +4 -4
- package/dist/chunks/{plugin-1qd0evgj.js → vcs-1bpgfjg6.js} +14 -14
- package/dist/chunks/{plugin-8d5k0j9g.js → vcs-1cyzrn9t.js} +5 -5
- package/dist/chunks/{plugin-6d6xcght.js → vcs-1fmrbde1.js} +4 -4
- package/dist/chunks/{plugin-7gra0nqm.js → vcs-1jpbcgyh.js} +12 -12
- package/dist/chunks/{plugin-dssbfrwz.js → vcs-1pxz8ven.js} +5 -5
- package/dist/chunks/{plugin-ve45bn9x.js → vcs-1tb1v5ev.js} +6 -6
- package/dist/chunks/{plugin-70hsqc2y.js → vcs-1tbax5fx.js} +3 -3
- package/dist/chunks/{plugin-2k71kv7p.js → vcs-1y283654.js} +4 -4
- package/dist/chunks/{plugin-mbmw0fzc.js → vcs-21f3b3bt.js} +8 -8
- package/dist/chunks/{plugin-ea86jchq.js → vcs-24he9v5v.js} +36 -36
- package/dist/chunks/{plugin-cwm7gddp.js → vcs-25krrqea.js} +15 -15
- package/dist/chunks/{plugin-ryd39m9g.js → vcs-2a1faant.js} +27 -27
- package/dist/chunks/{plugin-5t18yj4d.js → vcs-2k1h8dtt.js} +20 -20
- package/dist/chunks/{plugin-38qkyyzj.js → vcs-355z8nep.js} +20 -20
- package/dist/chunks/{plugin-n61013np.js → vcs-3cqwnyj9.js} +8 -8
- package/dist/chunks/{plugin-c4nmgq50.js → vcs-3d0ff5fp.js} +20 -20
- package/dist/chunks/{plugin-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-2c5f8jc9.js → vcs-3h28gq8t.js} +11 -11
- package/dist/chunks/{plugin-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
- package/dist/chunks/{plugin-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-e4kxckzv.js → vcs-40pbfvyp.js} +5 -5
- package/dist/chunks/{plugin-fkx5jj97.js → vcs-463mk8vn.js} +17 -17
- package/dist/chunks/{plugin-x36x4dn3.js → vcs-48ene32n.js} +4 -4
- package/dist/chunks/{plugin-vay5vsk0.js → vcs-4bamcyxc.js} +32 -32
- package/dist/chunks/{plugin-49jfgwq4.js → vcs-4tp410qx.js} +9 -9
- package/dist/chunks/{plugin-2ktf0ed2.js → vcs-4w5f3qm5.js} +8 -8
- package/dist/chunks/{plugin-c8c33vcy.js → vcs-4yc8p7kb.js} +13 -13
- package/dist/chunks/{plugin-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-yyeg9sqj.js → vcs-5f99jg87.js} +32 -32
- package/dist/chunks/{plugin-mr9gr0dw.js → vcs-5g4rv73e.js} +85 -85
- package/dist/chunks/{plugin-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-05g88y6a.js → vcs-5n53gnyw.js} +5 -5
- package/dist/chunks/{plugin-63db42yp.js → vcs-5pyjqqve.js} +2 -2
- package/dist/chunks/{plugin-trdj4ww0.js → vcs-5zmbjzdj.js} +9 -9
- package/dist/chunks/vcs-619r8v3y.js +18 -0
- package/dist/chunks/{plugin-rc4509ep.js → vcs-61bk2h8h.js} +28 -28
- package/dist/chunks/{plugin-tgwxt44d.js → vcs-668ztq2j.js} +13 -13
- package/dist/chunks/{plugin-e9sk57r0.js → vcs-6be83pym.js} +10 -10
- package/dist/chunks/{plugin-m6h2js40.js → vcs-6gmz5a5h.js} +8 -8
- package/dist/chunks/{plugin-srthdmpb.js → vcs-6j6s0xdp.js} +5 -5
- package/dist/chunks/{plugin-6z61g4ae.js → vcs-6r24rnsz.js} +30 -30
- package/dist/chunks/{plugin-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-775gj3j1.js → vcs-775gj3j1.js} +2 -2
- package/dist/chunks/{plugin-jgcf9eez.js → vcs-7914kyvb.js} +18 -18
- package/dist/chunks/{plugin-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-gdy8j7r5.js → vcs-7ktkhff1.js} +33 -33
- package/dist/chunks/{plugin-6mr4qq3f.js → vcs-7my99p8s.js} +4 -4
- package/dist/chunks/{plugin-dx0ahrbs.js → vcs-7zkbhs7g.js} +11 -11
- package/dist/chunks/vcs-83jvwe6t.js +123 -0
- package/dist/chunks/{plugin-w1eejvng.js → vcs-84txncab.js} +5 -5
- package/dist/chunks/{plugin-ceyj3j96.js → vcs-88gzfjcr.js} +15 -15
- package/dist/chunks/{plugin-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{plugin-s95shv0s.js → vcs-8b2wme7z.js} +11 -11
- package/dist/chunks/{plugin-3mb0heve.js → vcs-8gcentdn.js} +5 -5
- package/dist/chunks/{plugin-zyzzesw9.js → vcs-8gt7cws4.js} +1 -1
- package/dist/chunks/{plugin-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-w92k2e0p.js → vcs-8sze2n9a.js} +4 -4
- package/dist/chunks/{plugin-j09zfasm.js → vcs-91qna3x0.js} +3 -3
- package/dist/chunks/{plugin-hyay7qq8.js → vcs-96kj8cwg.js} +8 -8
- package/dist/chunks/{plugin-ybh2csg6.js → vcs-9cyjs5rw.js} +25 -25
- package/dist/chunks/{plugin-tzvh2gs3.js → vcs-9sp61vrq.js} +26 -26
- package/dist/chunks/{plugin-xc5gvvts.js → vcs-9tjft692.js} +36 -36
- package/dist/chunks/{plugin-m2hjyvdx.js → vcs-9vjjhptz.js} +9 -9
- package/dist/chunks/{plugin-hvgcezwv.js → vcs-9zk4wsj7.js} +13 -13
- package/dist/chunks/{plugin-bfawj8q0.js → vcs-a7k6dqkw.js} +25 -25
- package/dist/chunks/{plugin-1tfayqc2.js → vcs-ac9h05bq.js} +32 -32
- package/dist/chunks/{plugin-zw2hpfmh.js → vcs-addxnjmp.js} +4 -4
- package/dist/chunks/{plugin-c8p7dyh3.js → vcs-af56v9fc.js} +13 -13
- package/dist/chunks/{plugin-vj84ws7f.js → vcs-ah8rvg4c.js} +4 -4
- package/dist/chunks/{plugin-jwezxdpn.js → vcs-am4ws78j.js} +18 -18
- package/dist/chunks/{plugin-bwh8ny1a.js → vcs-avm6ejk6.js} +30 -30
- package/dist/chunks/vcs-b35pq53q.js +26 -0
- package/dist/chunks/{plugin-a0dypht8.js → vcs-bpwpdmp6.js} +33 -33
- package/dist/chunks/{plugin-gh413yer.js → vcs-bqtfkyfr.js} +21 -21
- package/dist/chunks/{plugin-0th41499.js → vcs-by48qtem.js} +3 -3
- package/dist/chunks/{plugin-c1fqxshp.js → vcs-c1fqxshp.js} +3 -3
- package/dist/chunks/{plugin-xavayxxs.js → vcs-c4p0ejxz.js} +9 -9
- package/dist/chunks/{plugin-fs38a6q6.js → vcs-c4zj21p5.js} +3 -3
- package/dist/chunks/{plugin-q2a5psr3.js → vcs-c58szjs1.js} +25 -25
- package/dist/chunks/{plugin-v3a7a683.js → vcs-cbgrb52t.js} +90 -90
- package/dist/chunks/{plugin-fyzjewjj.js → vcs-cqr7kh8r.js} +20 -20
- package/dist/chunks/{plugin-ge3s0wg3.js → vcs-csz055n1.js} +45 -45
- package/dist/chunks/{plugin-v5dkyp31.js → vcs-d216944b.js} +7 -7
- package/dist/chunks/{plugin-dtper4kw.js → vcs-ddjjpas1.js} +32 -32
- package/dist/chunks/{plugin-7qgqj6h9.js → vcs-dek3yszd.js} +18 -18
- package/dist/chunks/{plugin-s3ygsj4w.js → vcs-dffwzhx3.js} +14 -14
- package/dist/chunks/{plugin-6bbspn9t.js → vcs-dgp81j3t.js} +2 -2
- package/dist/chunks/{plugin-qmqgtz8f.js → vcs-djszqvmq.js} +9 -9
- package/dist/chunks/{plugin-0d9qa2tf.js → vcs-djtt3s3s.js} +4 -4
- package/dist/chunks/{plugin-6z8hc3gt.js → vcs-djxw1hj9.js} +15 -15
- package/dist/chunks/{plugin-dqxsqydv.js → vcs-dqxsqydv.js} +1 -1
- package/dist/chunks/{plugin-99hkrf0s.js → vcs-dss74jhr.js} +11 -11
- package/dist/chunks/{plugin-1s12kdka.js → vcs-ebv5d12z.js} +8 -8
- package/dist/chunks/{plugin-e80seqcp.js → vcs-ed1g29hy.js} +3 -3
- package/dist/chunks/{plugin-tjcyaeh1.js → vcs-edq05rv2.js} +18 -18
- package/dist/chunks/{plugin-9ex8f1cq.js → vcs-eeaf82dq.js} +8 -8
- package/dist/chunks/{plugin-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
- package/dist/chunks/{plugin-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-6k3ch7pf.js → vcs-ej2rm2ej.js} +13 -13
- package/dist/chunks/{plugin-scth1bsp.js → vcs-evsjv0a1.js} +4 -4
- package/dist/chunks/{plugin-kwrw5b4w.js → vcs-ez5ycv5n.js} +32 -32
- package/dist/chunks/{plugin-v3m4sgma.js → vcs-f9eadqnm.js} +37 -37
- package/dist/chunks/{plugin-j03b9j45.js → vcs-fgpmrr18.js} +45 -45
- package/dist/chunks/{plugin-em0vfqkc.js → vcs-fkc59c5t.js} +17 -17
- package/dist/chunks/{plugin-z1n9w882.js → vcs-fkkypdmj.js} +47 -47
- package/dist/chunks/{plugin-k761rqdn.js → vcs-fpwpwt2j.js} +15 -15
- package/dist/chunks/{plugin-kb7d7e2j.js → vcs-frmg48nv.js} +4 -4
- package/dist/chunks/{plugin-1tc691j3.js → vcs-fs46k7ky.js} +9 -9
- package/dist/chunks/{plugin-gxs96pen.js → vcs-fz44abvp.js} +14 -14
- package/dist/chunks/{plugin-wyvaje2d.js → vcs-fz68r6p6.js} +9 -9
- package/dist/chunks/{plugin-g686f6pq.js → vcs-g686f6pq.js} +2 -2
- package/dist/chunks/{plugin-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-5rdhx2xc.js → vcs-gher5wzq.js} +19 -19
- package/dist/chunks/{plugin-0jd8sj79.js → vcs-grp94e1z.js} +5 -5
- package/dist/chunks/{plugin-3cd0gcz5.js → vcs-gwecef78.js} +32 -32
- package/dist/chunks/{plugin-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-6hjx5zpb.js → vcs-h71w788e.js} +9 -9
- package/dist/chunks/{plugin-h7s7r6s9.js → vcs-h7s7r6s9.js} +2 -2
- package/dist/chunks/{plugin-by0zv8e8.js → vcs-h8xcjdck.js} +24 -24
- package/dist/chunks/{plugin-x12m7dcs.js → vcs-hbs8g1ay.js} +15 -15
- package/dist/chunks/{plugin-scgrse2b.js → vcs-hdkng2sj.js} +5 -5
- package/dist/chunks/{plugin-7zt5x37y.js → vcs-he27pt63.js} +1 -1
- package/dist/chunks/{plugin-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
- package/dist/chunks/{plugin-nj2ezgpq.js → vcs-hk8a3prq.js} +1 -1
- package/dist/chunks/{plugin-6r8k8crv.js → vcs-hpav9v7j.js} +10 -10
- package/dist/chunks/{plugin-bjt99bzb.js → vcs-htg2se70.js} +23 -23
- package/dist/chunks/{plugin-bzv9p62c.js → vcs-j23bpn8n.js} +12 -12
- package/dist/chunks/{plugin-vp09je9j.js → vcs-jdydegya.js} +11 -11
- package/dist/chunks/{plugin-jk540des.js → vcs-jk540des.js} +2 -2
- package/dist/chunks/{plugin-1jmdn8am.js → vcs-jkf2fp4f.js} +18 -18
- package/dist/chunks/{plugin-1zc547w2.js → vcs-jpk4djz3.js} +35 -35
- package/dist/chunks/{plugin-fscpr29m.js → vcs-jqvkw7r1.js} +54 -54
- package/dist/chunks/{plugin-ffdmfgpd.js → vcs-jvpnvmvq.js} +16 -16
- package/dist/chunks/vcs-k1gaen1k.js +253 -0
- package/dist/chunks/{plugin-t4hb561r.js → vcs-k497z0vf.js} +34 -34
- package/dist/chunks/{plugin-89dc0cna.js → vcs-k5k3dna5.js} +18 -18
- package/dist/chunks/{plugin-rpg9c19m.js → vcs-k76fn4kw.js} +4 -4
- package/dist/chunks/{plugin-hq3c8me3.js → vcs-khmqacep.js} +4 -4
- package/dist/chunks/{plugin-z20qjtc6.js → vcs-kpfmcdxe.js} +11 -11
- package/dist/chunks/{plugin-5w2xphe4.js → vcs-m9ddf5g9.js} +25 -25
- package/dist/chunks/{plugin-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-maspj1v3.js → vcs-maspj1v3.js} +1 -1
- package/dist/chunks/{plugin-e3t259rg.js → vcs-mbe1eyf2.js} +43 -43
- package/dist/chunks/{plugin-q7fmfyb6.js → vcs-md7fw8q5.js} +20 -20
- package/dist/chunks/{plugin-v9hs2t89.js → vcs-mdyw7nvd.js} +23 -23
- package/dist/chunks/{plugin-78xfqfc0.js → vcs-mmcd3y25.js} +12 -12
- package/dist/chunks/{plugin-xxqja81c.js → vcs-mqbt890h.js} +8 -8
- package/dist/chunks/{plugin-7b8ab80m.js → vcs-ms053xne.js} +50 -50
- package/dist/chunks/{plugin-xqrjpkhz.js → vcs-n1t890sy.js} +36 -36
- package/dist/chunks/{plugin-sp1b1nr5.js → vcs-n2n4nd65.js} +10 -10
- package/dist/chunks/{plugin-3vtps2rz.js → vcs-n82j69hc.js} +3 -3
- package/dist/chunks/{plugin-cdbp1kfq.js → vcs-nd1r567p.js} +6 -6
- package/dist/chunks/{plugin-9e57h4wj.js → vcs-neeg6wsf.js} +19 -19
- package/dist/chunks/{plugin-qd3ws2s7.js → vcs-nfkwcmre.js} +11 -11
- package/dist/chunks/{plugin-rpv61pk1.js → vcs-nh4kxwt0.js} +11 -11
- package/dist/chunks/{plugin-s3mwfbqp.js → vcs-nj1prxx4.js} +10 -10
- package/dist/chunks/{plugin-bbdjrh4a.js → vcs-nsfmz8tt.js} +25 -25
- package/dist/chunks/{plugin-hfwqrdm3.js → vcs-p8c9e5me.js} +8 -8
- package/dist/chunks/{plugin-a217p0cg.js → vcs-pcyhycxt.js} +32 -32
- package/dist/chunks/{plugin-t81k1mn3.js → vcs-pjg2w144.js} +14 -14
- package/dist/chunks/{plugin-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-38b0zhzj.js → vcs-pp2en8g7.js} +24 -24
- package/dist/chunks/{plugin-1xsagsv9.js → vcs-pvk9h7ye.js} +7 -7
- package/dist/chunks/{plugin-qen1rk3p.js → vcs-pwjkxr2p.js} +19 -19
- package/dist/chunks/{plugin-q0xm7vwc.js → vcs-q0xm7vwc.js} +2 -2
- package/dist/chunks/{plugin-cnwqvbhr.js → vcs-q4f67jkn.js} +3 -3
- package/dist/chunks/{plugin-wdzdhp05.js → vcs-q59b6c1g.js} +23 -23
- package/dist/chunks/{plugin-h6fyjg0r.js → vcs-q7ws7jse.js} +45 -45
- package/dist/chunks/{plugin-cnhry24e.js → vcs-q97gq07c.js} +21 -21
- package/dist/chunks/{plugin-bmkxrsv0.js → vcs-qgnky12e.js} +29 -29
- package/dist/chunks/{plugin-fx2px4q7.js → vcs-qmfsx01y.js} +11 -11
- package/dist/chunks/{plugin-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-v6q0tf7w.js → vcs-r4x4sr0r.js} +4 -4
- package/dist/chunks/{plugin-pvvwf6ns.js → vcs-r7p6qdsv.js} +15 -15
- package/dist/chunks/{plugin-r9e0ec4k.js → vcs-ragh3dks.js} +11 -11
- package/dist/chunks/{plugin-kvve2c2e.js → vcs-rbf82wfg.js} +3 -3
- package/dist/chunks/{plugin-k8w2mwx2.js → vcs-rbhwerj0.js} +23 -23
- package/dist/chunks/{plugin-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-n9dxnm7s.js → vcs-re73r274.js} +53 -53
- package/dist/chunks/{plugin-rert0e01.js → vcs-rert0e01.js} +2 -2
- package/dist/chunks/{plugin-rj3eygr5.js → vcs-rj3eygr5.js} +2 -2
- package/dist/chunks/{plugin-4xm5g7v4.js → vcs-rm3jnwwg.js} +31 -31
- package/dist/chunks/{plugin-97aeaand.js → vcs-s2z0d44b.js} +4 -4
- package/dist/chunks/{plugin-s4pcn8n2.js → vcs-s43x1grm.js} +4 -4
- package/dist/chunks/{plugin-a1gf1d4c.js → vcs-s7bft2a2.js} +25 -25
- package/dist/chunks/{plugin-eaj1djv9.js → vcs-s8d7rejh.js} +6 -6
- package/dist/chunks/{plugin-sa8ekw3f.js → vcs-sa8ekw3f.js} +2 -2
- package/dist/chunks/{plugin-bcqw1z7t.js → vcs-shg4d3s3.js} +15 -15
- package/dist/chunks/{plugin-gkha1jv8.js → vcs-sjds2abp.js} +17 -17
- package/dist/chunks/{plugin-wxkxg7pe.js → vcs-sjzt1pp5.js} +35 -35
- package/dist/chunks/{plugin-kzdcqyn1.js → vcs-sykc9y4a.js} +5 -5
- package/dist/chunks/{plugin-syv4x271.js → vcs-syv4x271.js} +1 -1
- package/dist/chunks/{plugin-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-c8tg4zqz.js → vcs-tbwe2c9a.js} +179 -179
- package/dist/chunks/{plugin-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-a924s04s.js → vcs-tg53gppx.js} +32 -32
- package/dist/chunks/{plugin-zp9fj1k8.js → vcs-th6tgexx.js} +19 -19
- package/dist/chunks/{plugin-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
- package/dist/chunks/{plugin-9hn6k4tm.js → vcs-tpw6cwsb.js} +8 -8
- package/dist/chunks/{plugin-c7p469fg.js → vcs-twk45vqh.js} +5 -5
- package/dist/chunks/{plugin-drhqfmd7.js → vcs-twy8zm6z.js} +14 -14
- package/dist/chunks/{plugin-tyytaxap.js → vcs-tyytaxap.js} +1 -1
- package/dist/chunks/{plugin-k7anq8pt.js → vcs-tzj08y6r.js} +18 -18
- package/dist/chunks/{plugin-v0es1rhs.js → vcs-v0es1rhs.js} +2 -2
- package/dist/chunks/{plugin-f969mz9s.js → vcs-v0n06dx3.js} +327 -327
- package/dist/chunks/{plugin-ea52er9y.js → vcs-v63z3jcx.js} +6 -6
- package/dist/chunks/{plugin-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
- package/dist/chunks/{plugin-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-w9ksqg8k.js → vcs-vg9s5fc7.js} +13 -13
- package/dist/chunks/{plugin-edk74nrp.js → vcs-vnew7dg2.js} +24 -24
- package/dist/chunks/{plugin-ss358qx3.js → vcs-vx3jgdek.js} +3 -3
- package/dist/chunks/{plugin-1nfnr1zf.js → vcs-vxj5642t.js} +4 -4
- package/dist/chunks/{plugin-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-kdekk8dj.js → vcs-wd0x0wcx.js} +51 -51
- package/dist/chunks/{plugin-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-k9rzzrck.js → vcs-whpwsaa5.js} +24 -24
- package/dist/chunks/{plugin-arrsq6mc.js → vcs-wkybzx6c.js} +70 -70
- package/dist/chunks/{plugin-xrbyaemf.js → vcs-x1ydr56b.js} +16 -16
- package/dist/chunks/{plugin-8wbxkt1z.js → vcs-x3gqap9d.js} +4 -4
- package/dist/chunks/{plugin-6ezj741r.js → vcs-x4qxakd8.js} +14 -14
- package/dist/chunks/{plugin-nvcb2me1.js → vcs-x8y695va.js} +11 -11
- package/dist/chunks/{plugin-57b9ws8p.js → vcs-xfkkasph.js} +7 -7
- package/dist/chunks/{plugin-fsym37ny.js → vcs-xjph4n23.js} +17 -17
- package/dist/chunks/{plugin-y4tnthzg.js → vcs-xna3ex39.js} +11 -11
- package/dist/chunks/{plugin-44jfc2xj.js → vcs-xxbenbth.js} +11 -11
- package/dist/chunks/{plugin-8s8evkng.js → vcs-xyf2nmx4.js} +47 -47
- package/dist/chunks/{plugin-dmw4eekk.js → vcs-y12qzxr1.js} +28 -28
- package/dist/chunks/{plugin-3b9qt4hj.js → vcs-y16p1w2y.js} +9 -9
- package/dist/chunks/{plugin-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-7kp82rcy.js → vcs-y668eja4.js} +9 -9
- package/dist/chunks/{plugin-y71avatq.js → vcs-y71avatq.js} +1 -1
- package/dist/chunks/{plugin-wg81ww38.js → vcs-y88c22bj.js} +4 -4
- package/dist/chunks/{plugin-9251t4jt.js → vcs-y8k0zd8p.js} +17 -17
- package/dist/chunks/{plugin-yd4bzqjj.js → vcs-ydkvqwzr.js} +5 -5
- package/dist/chunks/{plugin-edk4kg4w.js → vcs-yf6j18bb.js} +13 -13
- package/dist/chunks/{plugin-0q39gc6a.js → vcs-yfx3py7k.js} +21 -21
- package/dist/chunks/{plugin-6s0m3qhq.js → vcs-yg6fz6yh.js} +11 -11
- package/dist/chunks/{plugin-9hwaqfsw.js → vcs-ygdna4kr.js} +5 -5
- package/dist/chunks/{plugin-e8vwfchq.js → vcs-yhq47pcp.js} +6 -6
- package/dist/chunks/{plugin-pghr0e6b.js → vcs-yn8db219.js} +22 -22
- package/dist/chunks/{plugin-agy2y8sp.js → vcs-ysjjvdxz.js} +10 -10
- package/dist/chunks/{plugin-bjx1sjef.js → vcs-ywt8jp22.js} +9 -9
- package/dist/chunks/{plugin-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-cp17y4jc.js → vcs-z1hjjtmz.js} +14 -14
- package/dist/chunks/{plugin-5p1mvtk9.js → vcs-z2nkd1pg.js} +21 -21
- package/dist/chunks/{plugin-jp8nadq0.js → vcs-z3q900tv.js} +16 -16
- package/dist/chunks/{plugin-btxxe8kp.js → vcs-z3yra0za.js} +26 -26
- package/dist/chunks/{plugin-xsh6ezrg.js → vcs-z5xtbmpj.js} +13 -13
- package/dist/chunks/{plugin-00baw62t.js → vcs-z6bhmn1n.js} +7 -7
- package/dist/chunks/{plugin-a3p85wzn.js → vcs-z6gjdbzs.js} +20 -20
- package/dist/chunks/{plugin-9f1ve9k3.js → vcs-zezt0m7y.js} +37 -37
- package/dist/chunks/{plugin-mv87pcae.js → vcs-zjcy1aag.js} +28 -28
- package/dist/chunks/{plugin-tbv0jd26.js → vcs-zn34g9bn.js} +8 -8
- package/dist/chunks/{plugin-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-p97g2b6e.js → vcs-zsfebgt3.js} +5 -5
- package/dist/chunks/{plugin-gw7cjrad.js → vcs-zsr4wwhv.js} +4 -4
- package/dist/chunks/{plugin-t009z71z.js → vcs-ztfgfgr6.js} +15 -15
- package/dist/chunks/{plugin-zgqd9n5q.js → vcs-zw3g3g1x.js} +18 -18
- package/dist/chunks/{plugin-h6m7tbpw.js → vcs-zw8422t3.js} +21 -21
- package/dist/chunks/{plugin-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +116 -116
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -96
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +1 -1
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/plugin-996h7373.js +0 -76
- package/dist/chunks/plugin-9zdhvgqs.js +0 -18
- package/dist/chunks/plugin-fns117cr.js +0 -253
- package/dist/chunks/plugin-nc1sf92k.js +0 -26
- /package/dist/chunks/{plugin-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{plugin-pyv0edze.js → vcs-pyv0edze.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9sp61vrq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID5.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node62
|
|
7
|
+
} from "./vcs-vnew7dg2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service59;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node62] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service79,
|
|
18
|
+
node83
|
|
19
|
+
} from "./vcs-x4qxakd8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service66,
|
|
22
|
+
node69
|
|
23
|
+
} from "./vcs-y12qzxr1.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service59,
|
|
33
|
+
node: () => node62
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service59,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node62,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service59 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
|
+
const workspace = yield* Service66;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service59.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node62 = makeLocationNode({
|
|
71
|
+
service: Service59,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node83, node69]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service59, node62, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info20 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info20, SessionSchema2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./vcs-vnew7dg2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service59;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-ah8rvg4c.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./vcs-6r24rnsz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./vcs-x4qxakd8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node62
|
|
20
|
+
} from "./vcs-vnew7dg2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./vcs-9cyjs5rw.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./vcs-avm6ejk6.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./vcs-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service34,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node38
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const environment = yield* Service59;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service78;
|
|
119
|
+
const integration = yield* Service76;
|
|
120
|
+
const credentials = yield* Service77;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError3({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID16.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service34.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service34,
|
|
536
|
+
layer: layer16(options),
|
|
537
|
+
deps: [node83, node62, node88, node82, node80, node81]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node38 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options3, layer16, configured3, node38, exports_mcp4 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-6gmz5a5h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-ah8rvg4c.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./vcs-6r24rnsz.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-avm6ejk6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service19
|
|
21
|
+
} from "./vcs-9vjjhptz.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-ddjjpas1.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-pcyhycxt.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID3,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-c58szjs1.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
57
57
|
var RemoteResponse = Schema.Struct({
|
|
58
58
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
59
59
|
websearch: Schema.Struct({
|
|
60
|
-
providerID:
|
|
60
|
+
providerID: ID3
|
|
61
61
|
}).pipe(Schema.optional),
|
|
62
62
|
mcp: Schema.Struct({
|
|
63
63
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -108,7 +108,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
108
108
|
}
|
|
109
109
|
function oauth(http) {
|
|
110
110
|
return {
|
|
111
|
-
integrationID:
|
|
111
|
+
integrationID: ID14.make("opencode"),
|
|
112
112
|
method: {
|
|
113
113
|
id: methodID,
|
|
114
114
|
type: "oauth",
|
|
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
|
|
|
175
175
|
const bus = yield* Service84;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service19;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
providers.update(providerID, (provider) => {
|
|
228
228
|
if (source && source.provider !== provider)
|
|
229
229
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
230
|
-
provider.integrationID =
|
|
230
|
+
provider.integrationID = ID14.make("opencode");
|
|
231
231
|
if (item.canonical !== undefined)
|
|
232
232
|
provider.canonical = item.canonical;
|
|
233
233
|
if (item.name !== undefined)
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
sourceConnection: snapshot.connection
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
|
-
const item = providers.get(
|
|
296
|
+
const item = providers.get(ID13.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -305,7 +305,7 @@ var OpencodePlugin2 = define({
|
|
|
305
305
|
});
|
|
306
306
|
});
|
|
307
307
|
yield* ctx.model.transform((models) => {
|
|
308
|
-
const item = models.provider.get(
|
|
308
|
+
const item = models.provider.get(ID13.opencode);
|
|
309
309
|
if (!item)
|
|
310
310
|
return;
|
|
311
311
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -339,7 +339,7 @@ var OpencodePlugin2 = define({
|
|
|
339
339
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
340
340
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
341
341
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
342
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
342
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
343
343
|
query: input.query,
|
|
344
344
|
providerID: descriptor.providerID
|
|
345
345
|
}));
|
|
@@ -394,10 +394,10 @@ var OpencodePlugin2 = define({
|
|
|
394
394
|
});
|
|
395
395
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
396
396
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
397
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
397
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|