@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-e32h2zds.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./rpc-0kvh2d7d.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service23
|
|
16
|
+
} from "./rpc-g30dahm1.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-6s236mgx.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service69
|
|
26
|
+
} from "./rpc-r4rdmmte.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service67
|
|
29
|
+
} from "./rpc-32gc6g6n.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin18,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin18 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service61;
|
|
90
|
+
const ripgrep = yield* Service23;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service67;
|
|
93
|
+
const permission = yield* Service69;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin29 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin29 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin18, exports_grep };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-wsr1ah9b.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-rwmsc9fw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./rpc-5vhcwf2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./rpc-9gx13w9t.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin36
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin36 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
|
+
const compaction = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin14 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin36, exports_compaction };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service73,
|
|
10
|
+
node: () => node77
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service73 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service73.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service73, node77, exports_hooks };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service44
|
|
4
|
+
} from "./rpc-5vhcwf2z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./rpc-bgvfp3ce.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin39
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin39 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service44;
|
|
27
|
+
const output = yield* Service57;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin15 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin39, exports_tool_output };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./rpc-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info11
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info11, exports_agent3 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-v9xrr8sf.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-wv1xvc5h.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./rpc-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./rpc-psazpmmj.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-bjtzbw4r.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./rpc-xx4yg2g6.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./rpc-mzywpf3p.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./rpc-p1k6g3zz.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./rpc-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./rpc-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node33
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node33 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node33, exports_projector };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin12 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin12, exports_tool_input_repair };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-wv1xvc5h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./rpc-asqr2k0y.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-8q7zwx93.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
39
|
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service66;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service32.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info14,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info14, exports_permission };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|