@opencode/core 0.0.0-dev-20276 → 0.0.0-dev-20281
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-a44b6qvx.js → rpc-05x7j1j7.js} +14 -14
- package/dist/chunks/{location-4stzy43z.js → rpc-06j8v02r.js} +14 -14
- package/dist/chunks/{location-2a6rn6yr.js → rpc-0jkw1j53.js} +6 -6
- package/dist/chunks/{location-nwqf1d5h.js → rpc-0kvh2d7d.js} +21 -21
- package/dist/chunks/{location-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-5rwbqegk.js → rpc-0t2955jx.js} +25 -25
- package/dist/chunks/{location-jnz9m78q.js → rpc-0vf1tx4v.js} +32 -32
- package/dist/chunks/{location-0h3pt5nx.js → rpc-141hy0jj.js} +21 -21
- package/dist/chunks/{location-mzba7wnk.js → rpc-14h20gk9.js} +17 -17
- package/dist/chunks/{location-vmgq4x8b.js → rpc-182ks7j2.js} +2 -2
- package/dist/chunks/{location-aakk90ee.js → rpc-1866jdqb.js} +21 -21
- package/dist/chunks/{location-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-18a36fer.js → rpc-1j7wb12c.js} +13 -13
- package/dist/chunks/{location-56gdpj1q.js → rpc-1ygqh575.js} +9 -9
- package/dist/chunks/{location-x8ygcmws.js → rpc-1z5zt5kg.js} +10 -10
- package/dist/chunks/{location-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{location-5wfhmhr2.js → rpc-298xyahw.js} +8 -8
- package/dist/chunks/{location-6mxndphv.js → rpc-29ewe8af.js} +12 -12
- package/dist/chunks/{location-rk7s9xkn.js → rpc-29qym6xz.js} +4 -4
- package/dist/chunks/{location-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-dxkh69ct.js → rpc-2bbyca3v.js} +35 -35
- package/dist/chunks/{location-7v98fvm1.js → rpc-2ehxhhx0.js} +10 -10
- package/dist/chunks/{location-768gsh1v.js → rpc-2p8k3371.js} +3 -3
- package/dist/chunks/{location-kt9mpxjt.js → rpc-2sskxj6s.js} +26 -26
- package/dist/chunks/{location-6gph9127.js → rpc-3149w101.js} +3 -3
- package/dist/chunks/{location-wsvmp3ny.js → rpc-32gc6g6n.js} +15 -15
- package/dist/chunks/{location-gfq5dj1e.js → rpc-349p06hg.js} +13 -13
- package/dist/chunks/{location-ngc4nbq5.js → rpc-365rh5wb.js} +8 -8
- package/dist/chunks/{location-c78bbtc9.js → rpc-37s12vcn.js} +5 -5
- package/dist/chunks/{location-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-amb4vwg9.js → rpc-3s9hx8mg.js} +6 -6
- package/dist/chunks/{location-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-csytna75.js → rpc-3v1hba8n.js} +33 -33
- package/dist/chunks/{location-b4smrmcv.js → rpc-3v4byysy.js} +4 -4
- package/dist/chunks/{location-vqet09zx.js → rpc-3x4nas8y.js} +11 -11
- package/dist/chunks/{location-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-a2qe2ev9.js → rpc-4e8vs6eh.js} +8 -8
- package/dist/chunks/{location-z4h05mhr.js → rpc-4gc3neaj.js} +11 -11
- package/dist/chunks/{location-13ggeyh8.js → rpc-4k0xqdp1.js} +8 -8
- package/dist/chunks/{location-9tgtz3hc.js → rpc-4kmxbxdg.js} +16 -16
- package/dist/chunks/{location-0ryd0fps.js → rpc-4n607a2z.js} +5 -5
- package/dist/chunks/{location-x9ssgtdb.js → rpc-4zyrrfq5.js} +16 -16
- package/dist/chunks/{location-f3ngv102.js → rpc-50mzsvk4.js} +4 -4
- package/dist/chunks/{location-qn4ba14w.js → rpc-510m7gjw.js} +5 -5
- package/dist/chunks/{location-54ma36ye.js → rpc-54ma36ye.js} +1 -1
- package/dist/chunks/{location-54tcyq79.js → rpc-54tcyq79.js} +2 -2
- package/dist/chunks/{location-xfkkasph.js → rpc-57b9ws8p.js} +7 -7
- package/dist/chunks/{location-57ez7d0k.js → rpc-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-f5brv8eq.js → rpc-5964kreg.js} +8 -8
- package/dist/chunks/{location-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{location-qsawcycn.js → rpc-5j6r72e5.js} +1 -1
- package/dist/chunks/{location-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-tjca4006.js → rpc-5vhcwf2z.js} +40 -40
- package/dist/chunks/{location-9m41ce2e.js → rpc-5xfmbqkv.js} +6 -6
- package/dist/chunks/{location-qsjwzbna.js → rpc-5ypa2p6a.js} +20 -20
- package/dist/chunks/{location-8ssk0f6f.js → rpc-62f0kzmk.js} +22 -22
- package/dist/chunks/{location-4sk9wqmx.js → rpc-633ne18k.js} +27 -27
- package/dist/chunks/{location-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{location-kdpg6j2h.js → rpc-66d21r53.js} +316 -316
- package/dist/chunks/{location-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-0pb2tsr6.js → rpc-6s236mgx.js} +12 -12
- package/dist/chunks/{location-v1ryjrvj.js → rpc-6vz6grh2.js} +30 -30
- package/dist/chunks/{location-paw7gv03.js → rpc-6wxw79w5.js} +16 -16
- package/dist/chunks/{location-ydk8kw93.js → rpc-701yh738.js} +11 -11
- package/dist/chunks/{location-7yh4e7ss.js → rpc-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-1fw2a5v8.js → rpc-7860t2hb.js} +18 -18
- package/dist/chunks/{location-pgk5vny9.js → rpc-791sxkqm.js} +9 -9
- package/dist/chunks/{location-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-c3p8ecy6.js → rpc-7padzwyv.js} +5 -5
- package/dist/chunks/{location-2wnt8bbg.js → rpc-7rvkzce7.js} +13 -13
- package/dist/chunks/{location-vsm5skh5.js → rpc-7s8ttw7e.js} +24 -24
- package/dist/chunks/{location-zpc9w55b.js → rpc-7w4s0c2p.js} +33 -33
- package/dist/chunks/{location-697fm79x.js → rpc-7zpeh0yx.js} +4 -4
- package/dist/chunks/{location-gqayqhyj.js → rpc-83xp5e3e.js} +2 -2
- package/dist/chunks/{location-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-jtb1j844.js → rpc-8m6sn5gg.js} +13 -13
- package/dist/chunks/{location-mm5kxf07.js → rpc-8mfdap3f.js} +8 -8
- package/dist/chunks/{location-re7w4886.js → rpc-8q7zwx93.js} +160 -160
- package/dist/chunks/{location-x7993znb.js → rpc-8rhgz57t.js} +4 -4
- package/dist/chunks/rpc-8skgypty.js +252 -0
- package/dist/chunks/{location-5yqvxvd9.js → rpc-999vxy5h.js} +5 -5
- package/dist/chunks/{location-rweezmpe.js → rpc-9dvxtgw7.js} +19 -19
- package/dist/chunks/{location-fapqdhr6.js → rpc-9e1k052j.js} +11 -11
- package/dist/chunks/{location-q826ync2.js → rpc-9e4j78a5.js} +15 -15
- package/dist/chunks/{location-ggqz94d5.js → rpc-9gx13w9t.js} +24 -24
- package/dist/chunks/{location-19xkyn56.js → rpc-9nepbqpa.js} +6 -6
- package/dist/chunks/rpc-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-f98hm7nt.js → rpc-a5bdhyw0.js} +11 -11
- package/dist/chunks/{location-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{location-d51j8nb8.js → rpc-afqdt354.js} +4 -4
- package/dist/chunks/{location-mbcnae1e.js → rpc-aqr04kca.js} +48 -48
- package/dist/chunks/{location-kkg46zsd.js → rpc-arqmvm47.js} +7 -7
- package/dist/chunks/{location-745s8vaw.js → rpc-asqr2k0y.js} +10 -10
- package/dist/chunks/{location-vgzres6n.js → rpc-b39ffzrr.js} +9 -9
- package/dist/chunks/{location-eqzyz2a8.js → rpc-b4g74394.js} +1 -1
- package/dist/chunks/{location-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-m9dd4gnk.js → rpc-b87jqyzw.js} +8 -8
- package/dist/chunks/{location-t7n9q6bq.js → rpc-baaqp4zd.js} +4 -4
- package/dist/chunks/{location-fs7gwttq.js → rpc-bakcbm75.js} +11 -11
- package/dist/chunks/{location-r98e92ep.js → rpc-bct739vz.js} +4 -4
- package/dist/chunks/{location-5eb3a1ca.js → rpc-bgvfp3ce.js} +12 -12
- package/dist/chunks/{location-y56fgtjc.js → rpc-bh0r781w.js} +42 -42
- package/dist/chunks/{location-x3d5atbz.js → rpc-bjqeqaym.js} +22 -22
- package/dist/chunks/{location-bjtzbw4r.js → rpc-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-b8wj4r0t.js → rpc-bn1bhpjp.js} +19 -19
- package/dist/chunks/{location-gc90ewg5.js → rpc-c10q62gs.js} +22 -22
- package/dist/chunks/{location-0m5nw8df.js → rpc-c9vtk06m.js} +13 -13
- package/dist/chunks/{location-espmheeq.js → rpc-cc4mce2f.js} +8 -8
- package/dist/chunks/{location-94gfxd8b.js → rpc-cee7aztj.js} +13 -13
- package/dist/chunks/{location-4ntyr3h2.js → rpc-cky531be.js} +10 -10
- package/dist/chunks/{location-n8wsbnmg.js → rpc-cxb8c9p3.js} +13 -13
- package/dist/chunks/{location-37e61ywe.js → rpc-d5msnsy6.js} +17 -17
- package/dist/chunks/{location-gtah93dy.js → rpc-d9skxfzj.js} +18 -18
- package/dist/chunks/{location-553akxd4.js → rpc-deeq2pzv.js} +82 -82
- package/dist/chunks/{location-8a0sy633.js → rpc-dgkzhmrs.js} +24 -24
- package/dist/chunks/{location-8v6pyhej.js → rpc-dv1qgsyq.js} +8 -8
- package/dist/chunks/{location-zmzjstmk.js → rpc-dw0sqts0.js} +15 -15
- package/dist/chunks/{location-z4eayw4n.js → rpc-e32h2zds.js} +2 -2
- package/dist/chunks/{location-462ftxvc.js → rpc-e3zw7zk6.js} +5 -5
- package/dist/chunks/{location-xx3xskn4.js → rpc-e42pfdfs.js} +26 -26
- package/dist/chunks/{location-y653rv1a.js → rpc-ea8zm51c.js} +39 -39
- package/dist/chunks/{location-ecfe7b91.js → rpc-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-s30fyz93.js → rpc-f29mbr7f.js} +4 -4
- package/dist/chunks/{location-frhdz160.js → rpc-f40tx9v5.js} +7 -7
- package/dist/chunks/{location-33x84ssc.js → rpc-fe85qmjv.js} +9 -9
- package/dist/chunks/{location-5htrahb1.js → rpc-fjv2ngq8.js} +9 -9
- package/dist/chunks/{location-fm2qvscf.js → rpc-fqb2p7cx.js} +4 -4
- package/dist/chunks/{location-d4he2qe1.js → rpc-ft3hqk2c.js} +9 -9
- package/dist/chunks/{location-c26hev1n.js → rpc-fy1sbc2w.js} +25 -25
- package/dist/chunks/{location-k50vre3t.js → rpc-g0hp4pfd.js} +27 -27
- package/dist/chunks/{location-yah15ztz.js → rpc-g30dahm1.js} +18 -18
- package/dist/chunks/{location-bbcw15hs.js → rpc-g4tp3wzg.js} +25 -25
- package/dist/chunks/{location-afy572fx.js → rpc-g6begz1c.js} +4 -4
- package/dist/chunks/{location-jtc1v7sa.js → rpc-g6yabpgm.js} +29 -29
- package/dist/chunks/{location-7nh7q5qm.js → rpc-g7xrawpy.js} +37 -37
- package/dist/chunks/{location-2xhakehx.js → rpc-g9kjbw1c.js} +35 -35
- package/dist/chunks/rpc-gc8f23sy.js +26 -0
- package/dist/chunks/{location-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-j22t5rnv.js → rpc-geewefw6.js} +5 -5
- package/dist/chunks/{location-gfvb90ym.js → rpc-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-mp62f6px.js → rpc-gjeb9azq.js} +9 -9
- package/dist/chunks/{location-mfyfvt3e.js → rpc-gs3nyf6v.js} +10 -10
- package/dist/chunks/{location-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-n3vygs5b.js → rpc-h07bg3jc.js} +6 -6
- package/dist/chunks/{location-cpj0znwe.js → rpc-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-978t30qm.js → rpc-hcjd2d0x.js} +20 -20
- package/dist/chunks/{location-nxhqveyz.js → rpc-hkfg6fzm.js} +5 -5
- package/dist/chunks/{location-ae1n2vcd.js → rpc-hvn3gssd.js} +4 -4
- package/dist/chunks/{location-2cc3a0er.js → rpc-j51ddsps.js} +21 -21
- package/dist/chunks/{location-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{location-1c5qr0d4.js → rpc-jcrvr82e.js} +26 -26
- package/dist/chunks/{location-vxh2n5pk.js → rpc-jej1981d.js} +3 -3
- package/dist/chunks/{location-g7ptqdwz.js → rpc-jt55evk2.js} +15 -15
- package/dist/chunks/{location-jc2h4ya1.js → rpc-k5tj5dm6.js} +5 -5
- package/dist/chunks/{location-qpygv4fp.js → rpc-kpyndhjd.js} +5 -5
- package/dist/chunks/{location-cpy6gm2a.js → rpc-kxpygcw9.js} +6 -6
- package/dist/chunks/{location-actspjgq.js → rpc-kz2x8dvd.js} +12 -12
- package/dist/chunks/{location-rr7rd4zm.js → rpc-m0ftxd20.js} +30 -30
- package/dist/chunks/{location-7h0vcxh8.js → rpc-m2x37xra.js} +7 -7
- package/dist/chunks/{location-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-ff3hhqst.js → rpc-mgnc1c7z.js} +20 -20
- package/dist/chunks/{location-rmyddrcn.js → rpc-mm13qbkm.js} +3 -3
- package/dist/chunks/{location-0fx1c86e.js → rpc-mmrehy5f.js} +8 -8
- package/dist/chunks/{location-vgvjrf8v.js → rpc-mwqdf1sn.js} +22 -22
- package/dist/chunks/{location-tw3t2x25.js → rpc-myd9142g.js} +18 -18
- package/dist/chunks/{location-1ed2t66p.js → rpc-mzywpf3p.js} +4 -4
- package/dist/chunks/{location-m5qgxshp.js → rpc-n4jfkgh8.js} +6 -6
- package/dist/chunks/{location-se36eqgj.js → rpc-n5e92k76.js} +11 -11
- package/dist/chunks/{location-z42cn8j0.js → rpc-n6gj03av.js} +7 -7
- package/dist/chunks/{location-xz21yfmd.js → rpc-ncms4gaj.js} +15 -15
- package/dist/chunks/{location-zq6vnbzn.js → rpc-nfjk7xkz.js} +34 -34
- package/dist/chunks/{location-a4hewyqn.js → rpc-nmjntwhv.js} +11 -11
- package/dist/chunks/{location-eva5q63f.js → rpc-nt1ytqhs.js} +16 -16
- package/dist/chunks/{location-xw0saaw0.js → rpc-nt406rr4.js} +28 -28
- package/dist/chunks/{location-qdy5jae5.js → rpc-ntfntkz5.js} +1 -1
- package/dist/chunks/{location-2vq7jkms.js → rpc-nw79srx6.js} +8 -8
- package/dist/chunks/{location-e5pqzwnt.js → rpc-nxzfgd6f.js} +8 -8
- package/dist/chunks/{location-k3c624dm.js → rpc-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-9kyxe6d2.js → rpc-p1k6g3zz.js} +13 -13
- package/dist/chunks/{location-hc04de6s.js → rpc-p5fnt7js.js} +43 -43
- package/dist/chunks/{location-atzxk3q8.js → rpc-p9g6edyn.js} +7 -7
- package/dist/chunks/{location-hy3r2exk.js → rpc-pccby3rj.js} +24 -24
- package/dist/chunks/{location-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{location-80ebag5h.js → rpc-ps0jvca7.js} +8 -8
- package/dist/chunks/{location-psazpmmj.js → rpc-psazpmmj.js} +2 -2
- package/dist/chunks/{location-5cmxdwv8.js → rpc-q19p4fn9.js} +3 -3
- package/dist/chunks/{location-9196f380.js → rpc-qbsyshfb.js} +11 -11
- package/dist/chunks/{location-pnv527nz.js → rpc-qg0jgkcp.js} +9 -9
- package/dist/chunks/{location-2k8khapm.js → rpc-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-kdk8byp1.js → rpc-qkqfr02h.js} +12 -12
- package/dist/chunks/{location-cmr86hnb.js → rpc-qkxbnhbs.js} +23 -23
- package/dist/chunks/{location-mygq0r12.js → rpc-qmq4w36z.js} +15 -15
- package/dist/chunks/{location-n6dqm6n8.js → rpc-qs4aqrgb.js} +5 -5
- package/dist/chunks/{location-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{location-w6mz219s.js → rpc-r4rdmmte.js} +52 -52
- package/dist/chunks/{location-2xwkyk0m.js → rpc-r4yqrmdq.js} +5 -5
- package/dist/chunks/{location-t8kexe44.js → rpc-r6jt1nbf.js} +12 -12
- package/dist/chunks/{location-sq2kpqez.js → rpc-r8bat8tc.js} +5 -5
- package/dist/chunks/{location-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-8s1frede.js → rpc-rh0bbtdf.js} +14 -14
- package/dist/chunks/{location-nc08s4b6.js → rpc-rjeydd8s.js} +3 -3
- package/dist/chunks/{location-0bfcnrg1.js → rpc-rk1r2hx8.js} +1 -1
- package/dist/chunks/{location-e7rgh627.js → rpc-rwmsc9fw.js} +23 -23
- package/dist/chunks/{location-xrc18w18.js → rpc-s61pm60b.js} +16 -16
- package/dist/chunks/{location-eaj1djv9.js → rpc-s8d7rejh.js} +6 -6
- package/dist/chunks/{location-fch6zz7r.js → rpc-sd7amxc6.js} +50 -50
- package/dist/chunks/{location-xdx7acry.js → rpc-sqmzwr9m.js} +9 -9
- package/dist/chunks/{location-kzyk0qtv.js → rpc-sqq1y2kk.js} +33 -33
- package/dist/chunks/{location-w7bkmztz.js → rpc-ssbdqrjt.js} +9 -9
- package/dist/chunks/{location-dbr74085.js → rpc-t3e63qpa.js} +11 -11
- package/dist/chunks/{location-12296md0.js → rpc-t3ew74rm.js} +18 -18
- package/dist/chunks/{location-hkxjwzsw.js → rpc-t5h2sqdf.js} +13 -13
- package/dist/chunks/{location-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{location-ab4qw10a.js → rpc-tmxcz70p.js} +18 -18
- package/dist/chunks/{location-ax5q5x3y.js → rpc-tp2y1s10.js} +3 -3
- package/dist/chunks/{location-ssg653vt.js → rpc-ttpmax8e.js} +30 -30
- package/dist/chunks/{location-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{location-4dgfv34j.js → rpc-tw7vszv5.js} +11 -11
- package/dist/chunks/{location-r9a21ze6.js → rpc-v9cny2f3.js} +11 -11
- package/dist/chunks/{location-0057bkce.js → rpc-v9d4hk29.js} +4 -4
- package/dist/chunks/{location-nd5ewv74.js → rpc-v9xrr8sf.js} +3 -3
- package/dist/chunks/{location-3ewed21c.js → rpc-vbfgae2j.js} +4 -4
- package/dist/chunks/{location-sjxg3jn5.js → rpc-ve87mz4w.js} +39 -39
- package/dist/chunks/{location-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{location-vw38ypps.js → rpc-vmnk7m7g.js} +11 -11
- package/dist/chunks/{location-2q79s005.js → rpc-vs4gd2t2.js} +3 -3
- package/dist/chunks/{location-b09w9vsw.js → rpc-vt17nwfb.js} +80 -80
- package/dist/chunks/{location-gmjq4p6e.js → rpc-vy4zg7qh.js} +5 -5
- package/dist/chunks/{location-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-mxyfxq61.js → rpc-w169z2fj.js} +3 -3
- package/dist/chunks/{location-84txncab.js → rpc-w1eejvng.js} +5 -5
- package/dist/chunks/{location-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-py3kkmfq.js → rpc-w92k2e0p.js} +8 -8
- package/dist/chunks/{location-r7nsrefv.js → rpc-wcjyc11q.js} +6 -6
- package/dist/chunks/{location-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{location-b0dgvpy7.js → rpc-wk5z6jzv.js} +9 -9
- package/dist/chunks/{location-j5b3v8p4.js → rpc-wp3v471f.js} +13 -13
- package/dist/chunks/{location-wdz763xm.js → rpc-wsr1ah9b.js} +29 -29
- package/dist/chunks/{location-n4v0rfv1.js → rpc-wv1xvc5h.js} +4 -4
- package/dist/chunks/{location-wetczrvy.js → rpc-ww9wy50d.js} +20 -20
- package/dist/chunks/{location-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-5cqar878.js → rpc-x3pzyyn5.js} +5 -5
- package/dist/chunks/{location-tgzah0tt.js → rpc-x8fbbgnb.js} +13 -13
- package/dist/chunks/{location-vjst3kcb.js → rpc-xbcqcrm3.js} +31 -31
- package/dist/chunks/{location-xkntkrq7.js → rpc-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-8zh4h089.js → rpc-xvp1j2dc.js} +5 -5
- package/dist/chunks/{location-3c7r44jp.js → rpc-xx4yg2g6.js} +22 -22
- package/dist/chunks/{location-r5z9vr3t.js → rpc-xzp83s65.js} +9 -9
- package/dist/chunks/{location-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-f113p6m0.js → rpc-y66s3efq.js} +25 -25
- package/dist/chunks/{location-y71avatq.js → rpc-y71avatq.js} +1 -1
- package/dist/chunks/{location-yv63dtz0.js → rpc-ycaeh1sm.js} +60 -60
- package/dist/chunks/{location-615mg57g.js → rpc-yd2mve5d.js} +31 -31
- package/dist/chunks/{location-f323rzvq.js → rpc-yd8awzfr.js} +9 -9
- package/dist/chunks/{location-31vv3vzb.js → rpc-ye2dcr60.js} +14 -14
- package/dist/chunks/{location-s1hvx6t4.js → rpc-ykbhpvja.js} +24 -24
- package/dist/chunks/{location-c9sp74yg.js → rpc-ym26fzz4.js} +24 -24
- package/dist/chunks/{location-yp2x3t23.js → rpc-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-bscb95cy.js → rpc-yq2cczkq.js} +9 -9
- package/dist/chunks/{location-65asqpss.js → rpc-yr3j3mvp.js} +14 -14
- package/dist/chunks/{location-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{location-7dbmnfn4.js → rpc-yvvvp4gn.js} +8 -8
- package/dist/chunks/{location-vpw9xy5b.js → rpc-yw9vmcw5.js} +21 -21
- package/dist/chunks/{location-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-m6f3t844.js → rpc-z5rd9rww.js} +8 -8
- package/dist/chunks/{location-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{location-y5v4pytj.js → rpc-zbrmq810.js} +17 -17
- package/dist/chunks/{location-jy8sf8ka.js → rpc-zc3gqq1k.js} +35 -35
- package/dist/chunks/{location-j14xwnx3.js → rpc-zd488a3c.js} +9 -9
- package/dist/chunks/{location-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-kxvx07my.js → rpc-zem4mrp3.js} +18 -18
- package/dist/chunks/{location-aaf8swx0.js → rpc-zn33kztm.js} +5 -5
- package/dist/chunks/{location-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → rpc-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 +75 -75
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +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 +70 -70
- package/dist/file-access.js +104 -104
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- 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 +91 -91
- 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/id/id.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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- 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 +100 -100
- package/dist/mcp/instructions.js +128 -128
- 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 +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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/gateway.js +2 -2
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- 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 +91 -91
- 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 +133 -133
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- 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 +230 -230
- 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 +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- 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/location-0kcwsw03.js +0 -252
- package/dist/chunks/location-f81tjggh.js +0 -18
- package/dist/chunks/location-xqecqxs5.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./rpc-g4tp3wzg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./rpc-r4rdmmte.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./rpc-t3ew74rm.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
24
|
+
Plugin: () => Plugin19,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin19 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service69;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service16;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description2,
|
|
59
|
-
input:
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description2, Input3, Plugin19, exports_websearch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-wv1xvc5h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./rpc-jcrvr82e.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-mwqdf1sn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./rpc-bgvfp3ce.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-h07bg3jc.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-geewefw6.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-xvp1j2dc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service79;
|
|
58
|
+
const toolOutput = yield* Service57;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-rwmsc9fw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./rpc-5vhcwf2z.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-5xfmbqkv.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service44;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./rpc-j51ddsps.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-e32h2zds.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service44
|
|
10
|
+
} from "./rpc-5vhcwf2z.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service47,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-7860t2hb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service28
|
|
17
|
+
} from "./rpc-deeq2pzv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./rpc-701yh738.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin40
|
|
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 Plugin40 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service44;
|
|
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 Plugin2 = 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* Service47;
|
|
60
|
+
const sessions = yield* Service28;
|
|
61
|
+
const agents = yield* Service72;
|
|
62
|
+
const subagents = yield* make9;
|
|
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 Plugin2 = 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 : ID10.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 { Plugin40, exports_command2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-wv1xvc5h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./rpc-m0ftxd20.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-e32h2zds.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service61,
|
|
19
|
+
node64
|
|
20
|
+
} from "./rpc-0kvh2d7d.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./rpc-g4tp3wzg.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service75,
|
|
34
|
+
node79
|
|
35
|
+
} from "./rpc-g6yabpgm.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./rpc-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service39,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured5,
|
|
56
56
|
layer: () => layer16,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node42
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -91,7 +91,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
96
|
var Options5 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -99,13 +99,13 @@ var Options5 = Schema.Struct({
|
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var layer16 = (options) => Layer.effect(
|
|
102
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
103
103
|
const location = yield* Service80;
|
|
104
|
-
const environment = yield*
|
|
104
|
+
const environment = yield* Service61;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
106
|
+
const forms = yield* Service77;
|
|
107
|
+
const integration = yield* Service75;
|
|
108
|
+
const credentials = yield* Service76;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID13.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -149,12 +149,12 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID15.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
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(
|
|
260
|
+
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(Service61, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service39.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,12 +516,12 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
}
|
|
517
517
|
function configured5(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
519
|
+
service: Service39,
|
|
520
520
|
layer: layer16(options),
|
|
521
|
-
deps: [node84,
|
|
521
|
+
deps: [node84, node64, node87, node81, node79, node80]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node42 = configured5();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer16, configured5, node42, exports_mcp4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info23,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info23 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./rpc-0jkw1j53.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-h07bg3jc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./rpc-pccby3rj.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service53;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|