@opencode/core 0.0.0-dev-20281 → 0.0.0-dev-20283
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +90 -90
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{rpc-e32h2zds.js → ripgrep-06n2z7nb.js} +16 -16
- package/dist/chunks/{rpc-wcjyc11q.js → ripgrep-0fn2v7vk.js} +6 -6
- package/dist/chunks/{rpc-n6gj03av.js → ripgrep-0gv4c46g.js} +11 -11
- package/dist/chunks/{rpc-4zyrrfq5.js → ripgrep-0kkkb007.js} +20 -20
- package/dist/chunks/{rpc-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-83xp5e3e.js → ripgrep-0r3beqsh.js} +2 -2
- package/dist/chunks/{rpc-ww9wy50d.js → ripgrep-0tc49hzt.js} +14 -14
- package/dist/chunks/{rpc-2ehxhhx0.js → ripgrep-0vzfp6w4.js} +12 -12
- package/dist/chunks/{rpc-nmjntwhv.js → ripgrep-0wb0q5h4.js} +13 -13
- package/dist/chunks/{rpc-jt55evk2.js → ripgrep-192mpch6.js} +17 -17
- package/dist/chunks/{rpc-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-v9cny2f3.js → ripgrep-1njemvak.js} +11 -11
- package/dist/chunks/{rpc-sd7amxc6.js → ripgrep-1re4qzs4.js} +52 -52
- package/dist/chunks/{rpc-9dvxtgw7.js → ripgrep-1tanxn91.js} +20 -20
- package/dist/chunks/{rpc-0kvh2d7d.js → ripgrep-1wr2wsh9.js} +24 -24
- package/dist/chunks/{rpc-1ygqh575.js → ripgrep-1ygqh575.js} +2 -2
- package/dist/chunks/{rpc-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-fe85qmjv.js → ripgrep-22sq01kd.js} +9 -9
- package/dist/chunks/{rpc-gs3nyf6v.js → ripgrep-23nkdrsj.js} +2 -2
- package/dist/chunks/{rpc-62f0kzmk.js → ripgrep-29t7jrtx.js} +22 -22
- package/dist/chunks/{rpc-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-yw9vmcw5.js → ripgrep-2dym5fsc.js} +24 -24
- package/dist/chunks/{rpc-0t2955jx.js → ripgrep-2e3h7fb2.js} +33 -33
- package/dist/chunks/{rpc-57ez7d0k.js → ripgrep-2fgn2we9.js} +9 -9
- package/dist/chunks/{rpc-c10q62gs.js → ripgrep-2gqjzmey.js} +34 -34
- package/dist/chunks/{rpc-g7xrawpy.js → ripgrep-2pfa7bdd.js} +30 -30
- package/dist/chunks/{rpc-vt17nwfb.js → ripgrep-2wd0qsc7.js} +87 -87
- package/dist/chunks/{rpc-kz2x8dvd.js → ripgrep-2wr44tv0.js} +12 -12
- package/dist/chunks/{rpc-8q7zwx93.js → ripgrep-38hxcnaa.js} +162 -162
- package/dist/chunks/{rpc-37s12vcn.js → ripgrep-3cfzdc8e.js} +5 -5
- package/dist/chunks/{rpc-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-p1k6g3zz.js → ripgrep-3n3n8ks1.js} +15 -15
- package/dist/chunks/{rpc-d5msnsy6.js → ripgrep-3qr7k6ss.js} +15 -15
- package/dist/chunks/{rpc-yvvvp4gn.js → ripgrep-3rtxz4nr.js} +8 -8
- package/dist/chunks/{rpc-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-2sskxj6s.js → ripgrep-3w4c8cd5.js} +26 -26
- package/dist/chunks/{rpc-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{rpc-yr3j3mvp.js → ripgrep-461gzhy0.js} +11 -11
- package/dist/chunks/{rpc-cxb8c9p3.js → ripgrep-4709er5r.js} +15 -15
- package/dist/chunks/{rpc-29qym6xz.js → ripgrep-4v7ngy20.js} +4 -4
- package/dist/chunks/{rpc-50mzsvk4.js → ripgrep-50mzsvk4.js} +1 -1
- package/dist/chunks/{rpc-0jkw1j53.js → ripgrep-51f5btjf.js} +6 -6
- package/dist/chunks/ripgrep-54jdj5x0.js +252 -0
- package/dist/chunks/{rpc-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{rpc-m2x37xra.js → ripgrep-586f3q72.js} +7 -7
- package/dist/chunks/{rpc-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-3v1hba8n.js → ripgrep-5f61tf2t.js} +31 -31
- package/dist/chunks/{rpc-p5fnt7js.js → ripgrep-5p90x35g.js} +41 -41
- package/dist/chunks/{rpc-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{rpc-nxzfgd6f.js → ripgrep-5vc9exp4.js} +8 -8
- package/dist/chunks/{rpc-5j6r72e5.js → ripgrep-5w6d4e9q.js} +1 -1
- package/dist/chunks/{rpc-14h20gk9.js → ripgrep-5yja9ydc.js} +18 -18
- package/dist/chunks/{rpc-qgn6gcr1.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{rpc-9nepbqpa.js → ripgrep-64mbz47k.js} +6 -6
- package/dist/chunks/{rpc-deeq2pzv.js → ripgrep-64t0s254.js} +87 -87
- package/dist/chunks/{rpc-asqr2k0y.js → ripgrep-653z4qt3.js} +10 -10
- package/dist/chunks/{rpc-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{rpc-nfjk7xkz.js → ripgrep-66xtzngh.js} +33 -33
- package/dist/chunks/{rpc-tmxcz70p.js → ripgrep-6g52vc25.js} +15 -15
- package/dist/chunks/{rpc-s61pm60b.js → ripgrep-6kxy4d36.js} +16 -16
- package/dist/chunks/{rpc-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{rpc-j51ddsps.js → ripgrep-6nm8v0bb.js} +15 -15
- package/dist/chunks/{rpc-wsr1ah9b.js → ripgrep-6qdhg23j.js} +23 -23
- package/dist/chunks/{rpc-xzp83s65.js → ripgrep-6zyttfys.js} +9 -9
- package/dist/chunks/{rpc-dw0sqts0.js → ripgrep-70z7e0t6.js} +17 -17
- package/dist/chunks/{rpc-c9vtk06m.js → ripgrep-71kkrfgw.js} +13 -13
- package/dist/chunks/{rpc-9e1k052j.js → ripgrep-72kwbecb.js} +11 -11
- package/dist/chunks/{rpc-g0hp4pfd.js → ripgrep-72pre59p.js} +33 -33
- package/dist/chunks/{rpc-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-bakcbm75.js → ripgrep-7h1r83p4.js} +4 -4
- package/dist/chunks/{rpc-w1eejvng.js → ripgrep-84txncab.js} +5 -5
- package/dist/chunks/{rpc-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{rpc-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-06j8v02r.js → ripgrep-8enrc4hn.js} +18 -18
- package/dist/chunks/{rpc-w169z2fj.js → ripgrep-8hy6v193.js} +6 -6
- package/dist/chunks/{rpc-gfvb90ym.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{rpc-g9kjbw1c.js → ripgrep-952mvmqa.js} +46 -46
- package/dist/chunks/{rpc-5xfmbqkv.js → ripgrep-9jn68dry.js} +6 -6
- package/dist/chunks/{rpc-e3zw7zk6.js → ripgrep-9m91pah8.js} +7 -7
- package/dist/chunks/{rpc-141hy0jj.js → ripgrep-9nv1851k.js} +20 -20
- package/dist/chunks/{rpc-2bbyca3v.js → ripgrep-9wp1zfh0.js} +34 -34
- package/dist/chunks/{rpc-tw7vszv5.js → ripgrep-a5np2jg2.js} +21 -21
- package/dist/chunks/{rpc-8m6sn5gg.js → ripgrep-aabpnaee.js} +20 -20
- package/dist/chunks/{rpc-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-r6jt1nbf.js → ripgrep-abtj82ew.js} +12 -12
- package/dist/chunks/{rpc-n4jfkgh8.js → ripgrep-adv251k7.js} +11 -11
- package/dist/chunks/{rpc-7860t2hb.js → ripgrep-aemfex0m.js} +18 -18
- package/dist/chunks/{rpc-bn1bhpjp.js → ripgrep-amfnqe2s.js} +18 -18
- package/dist/chunks/{rpc-nw79srx6.js → ripgrep-aqzfyccc.js} +8 -8
- package/dist/chunks/{rpc-yd8awzfr.js → ripgrep-axtjp1k3.js} +19 -19
- package/dist/chunks/{rpc-t3ew74rm.js → ripgrep-azd87vph.js} +23 -23
- package/dist/chunks/{rpc-rwmsc9fw.js → ripgrep-b1dgk78w.js} +30 -30
- package/dist/chunks/{rpc-zem4mrp3.js → ripgrep-b2hpr2td.js} +19 -19
- package/dist/chunks/{rpc-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-r4yqrmdq.js → ripgrep-bgs9y14h.js} +5 -5
- package/dist/chunks/{rpc-ttpmax8e.js → ripgrep-bs3x7gw6.js} +30 -30
- package/dist/chunks/{rpc-f29mbr7f.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{rpc-6vz6grh2.js → ripgrep-c6ajamfk.js} +29 -29
- package/dist/chunks/{rpc-7s8ttw7e.js → ripgrep-c6mpbtvn.js} +24 -24
- package/dist/chunks/{rpc-ft3hqk2c.js → ripgrep-c765mh8b.js} +9 -9
- package/dist/chunks/{rpc-4gc3neaj.js → ripgrep-ca4nd7sf.js} +11 -11
- package/dist/chunks/{rpc-wp3v471f.js → ripgrep-cf1vp582.js} +12 -12
- package/dist/chunks/{rpc-afqdt354.js → ripgrep-cfjzxm9d.js} +4 -4
- package/dist/chunks/{rpc-bjqeqaym.js → ripgrep-ch7rw6pf.js} +25 -25
- package/dist/chunks/{rpc-54tcyq79.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{rpc-633ne18k.js → ripgrep-cr5th6ty.js} +33 -33
- package/dist/chunks/{rpc-yd2mve5d.js → ripgrep-cx016b67.js} +29 -29
- package/dist/chunks/{rpc-vy4zg7qh.js → ripgrep-d2ztc3sk.js} +12 -12
- package/dist/chunks/{rpc-zn33kztm.js → ripgrep-d3a20c9v.js} +5 -5
- package/dist/chunks/{rpc-v9d4hk29.js → ripgrep-d3xwyf2m.js} +4 -4
- package/dist/chunks/{rpc-x3pzyyn5.js → ripgrep-d7gjgrs2.js} +5 -5
- package/dist/chunks/{rpc-e42pfdfs.js → ripgrep-db40k7kg.js} +23 -23
- package/dist/chunks/{rpc-v9xrr8sf.js → ripgrep-ddfm2d7g.js} +3 -3
- package/dist/chunks/{rpc-p9g6edyn.js → ripgrep-dg7ycq4j.js} +11 -11
- package/dist/chunks/{rpc-a5bdhyw0.js → ripgrep-dn4v5eqq.js} +15 -15
- package/dist/chunks/{rpc-y71avatq.js → ripgrep-dpkg50ah.js} +4 -4
- package/dist/chunks/{rpc-9e4j78a5.js → ripgrep-e4g6rnfs.js} +15 -15
- package/dist/chunks/{rpc-2p8k3371.js → ripgrep-e5d0vv29.js} +5 -5
- package/dist/chunks/{rpc-vs4gd2t2.js → ripgrep-e5ynk9n0.js} +3 -3
- package/dist/chunks/{rpc-arqmvm47.js → ripgrep-e7g2j36k.js} +9 -9
- package/dist/chunks/{rpc-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{rpc-m0ftxd20.js → ripgrep-ecx38efq.js} +16 -16
- package/dist/chunks/{rpc-n5e92k76.js → ripgrep-edy6vzfc.js} +11 -11
- package/dist/chunks/{rpc-5ypa2p6a.js → ripgrep-eehp0yw8.js} +27 -27
- package/dist/chunks/{rpc-t5h2sqdf.js → ripgrep-eeshsd4e.js} +10 -10
- package/dist/chunks/{rpc-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-3v4byysy.js → ripgrep-eff9pjvh.js} +4 -4
- package/dist/chunks/{rpc-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-05x7j1j7.js → ripgrep-ey4ng7y9.js} +14 -14
- package/dist/chunks/{rpc-1j7wb12c.js → ripgrep-fja6f62c.js} +13 -13
- package/dist/chunks/ripgrep-fn1xezbj.js +26 -0
- package/dist/chunks/{rpc-t3e63qpa.js → ripgrep-fnjd7ews.js} +11 -11
- package/dist/chunks/{rpc-rk1r2hx8.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{rpc-fjv2ngq8.js → ripgrep-fq96zpya.js} +32 -32
- package/dist/chunks/{rpc-qbsyshfb.js → ripgrep-fqkdxzw8.js} +11 -11
- package/dist/chunks/{rpc-sqmzwr9m.js → ripgrep-fw181sc9.js} +9 -9
- package/dist/chunks/{rpc-4kmxbxdg.js → ripgrep-fw2pwnnn.js} +16 -16
- package/dist/chunks/{rpc-dgkzhmrs.js → ripgrep-g3edykf5.js} +26 -26
- package/dist/chunks/{rpc-9gx13w9t.js → ripgrep-g9t1zgfv.js} +28 -28
- package/dist/chunks/{rpc-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-6wxw79w5.js → ripgrep-gfj3dknr.js} +16 -16
- package/dist/chunks/{rpc-zc3gqq1k.js → ripgrep-ghz97sg6.js} +41 -41
- package/dist/chunks/{rpc-ntfntkz5.js → ripgrep-gqf2zns2.js} +3 -3
- package/dist/chunks/{rpc-ps0jvca7.js → ripgrep-gqzgrd8f.js} +42 -42
- package/dist/chunks/{rpc-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{rpc-xx4yg2g6.js → ripgrep-gwkc77fa.js} +19 -19
- package/dist/chunks/{rpc-cky531be.js → ripgrep-h4ej1pk3.js} +10 -10
- package/dist/chunks/{rpc-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{rpc-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-sqq1y2kk.js → ripgrep-hc6n7qkh.js} +34 -34
- package/dist/chunks/{rpc-3s9hx8mg.js → ripgrep-hfeaaxxs.js} +6 -6
- package/dist/chunks/{rpc-999vxy5h.js → ripgrep-hg7raqqh.js} +5 -5
- package/dist/chunks/{rpc-mgnc1c7z.js → ripgrep-hgbe9dcz.js} +23 -23
- package/dist/chunks/{rpc-jcrvr82e.js → ripgrep-hmaez4gc.js} +32 -32
- package/dist/chunks/{rpc-d9skxfzj.js → ripgrep-hn5zg849.js} +15 -15
- package/dist/chunks/{rpc-ye2dcr60.js → ripgrep-hsav4n22.js} +14 -14
- package/dist/chunks/ripgrep-ht5y0zrb.js +18 -0
- package/dist/chunks/{rpc-701yh738.js → ripgrep-hwprkm7s.js} +11 -11
- package/dist/chunks/{rpc-kpyndhjd.js → ripgrep-j14tmgba.js} +5 -5
- package/dist/chunks/{rpc-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-182ks7j2.js → ripgrep-j699j8bt.js} +2 -2
- package/dist/chunks/{rpc-h07bg3jc.js → ripgrep-jbvsa6eq.js} +6 -6
- package/dist/chunks/{rpc-7padzwyv.js → ripgrep-jdtprj7c.js} +5 -5
- package/dist/chunks/{rpc-mmrehy5f.js → ripgrep-jgnp4k1d.js} +5 -5
- package/dist/chunks/{rpc-mwqdf1sn.js → ripgrep-jhkfvevy.js} +25 -25
- package/dist/chunks/{rpc-66d21r53.js → ripgrep-jhz2qgyn.js} +313 -313
- package/dist/chunks/{rpc-baaqp4zd.js → ripgrep-jvf3yq6v.js} +4 -4
- package/dist/chunks/{rpc-365rh5wb.js → ripgrep-jz8ef9q4.js} +10 -10
- package/dist/chunks/{rpc-nzks3jc8.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{rpc-mm13qbkm.js → ripgrep-kehckfbc.js} +3 -3
- package/dist/chunks/{rpc-qkqfr02h.js → ripgrep-kmd76d9b.js} +20 -20
- package/dist/chunks/{rpc-x8fbbgnb.js → ripgrep-kmpmz7ta.js} +16 -16
- package/dist/chunks/{rpc-f40tx9v5.js → ripgrep-kygfjk3j.js} +7 -7
- package/dist/chunks/{rpc-349p06hg.js → ripgrep-m0txghk3.js} +12 -12
- package/dist/chunks/{rpc-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{rpc-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-5964kreg.js → ripgrep-mawhga53.js} +10 -10
- package/dist/chunks/{rpc-73tb2d7t.js → ripgrep-mhkvc446.js} +3 -3
- package/dist/chunks/{rpc-zbrmq810.js → ripgrep-mhy5ejww.js} +15 -15
- package/dist/chunks/{rpc-xbcqcrm3.js → ripgrep-mm13q5bj.js} +30 -30
- package/dist/chunks/{rpc-ycaeh1sm.js → ripgrep-mv0eybxy.js} +60 -60
- package/dist/chunks/{rpc-g6yabpgm.js → ripgrep-myz5g07t.js} +20 -20
- package/dist/chunks/{rpc-mzywpf3p.js → ripgrep-n1ka8r9d.js} +4 -4
- package/dist/chunks/{rpc-ykbhpvja.js → ripgrep-n2t9j3sy.js} +27 -27
- package/dist/chunks/{rpc-fy1sbc2w.js → ripgrep-na5tatc9.js} +20 -20
- package/dist/chunks/{rpc-qs4aqrgb.js → ripgrep-nav1p6g3.js} +8 -8
- package/dist/chunks/{rpc-4k0xqdp1.js → ripgrep-nbzsj80d.js} +6 -6
- package/dist/chunks/{rpc-r4rdmmte.js → ripgrep-nwx73hp2.js} +48 -48
- package/dist/chunks/{rpc-b4g74394.js → ripgrep-p0kznwb9.js} +1 -1
- package/dist/chunks/{rpc-dv1qgsyq.js → ripgrep-pa8pe2x7.js} +8 -8
- package/dist/chunks/{rpc-7w4s0c2p.js → ripgrep-pjn99fz1.js} +33 -33
- package/dist/chunks/{rpc-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-q19p4fn9.js → ripgrep-pk2244jm.js} +3 -3
- package/dist/chunks/{rpc-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-4n607a2z.js → ripgrep-pp7e5es3.js} +5 -5
- package/dist/chunks/{rpc-ym26fzz4.js → ripgrep-ptm9s311.js} +24 -24
- package/dist/chunks/{rpc-w92k2e0p.js → ripgrep-py3kkmfq.js} +8 -8
- package/dist/chunks/{rpc-bct739vz.js → ripgrep-q2b1ymqp.js} +4 -4
- package/dist/chunks/{rpc-zd488a3c.js → ripgrep-q48yxynx.js} +17 -17
- package/dist/chunks/{rpc-cee7aztj.js → ripgrep-q4y9jszz.js} +13 -13
- package/dist/chunks/{rpc-bgvfp3ce.js → ripgrep-q62vekht.js} +12 -12
- package/dist/chunks/{rpc-wv1xvc5h.js → ripgrep-qc4swbm3.js} +4 -4
- package/dist/chunks/{rpc-g30dahm1.js → ripgrep-qcwfdsz9.js} +18 -18
- package/dist/chunks/{rpc-qg0jgkcp.js → ripgrep-qg0jgkcp.js} +2 -2
- package/dist/chunks/{rpc-510m7gjw.js → ripgrep-qjnxxf51.js} +5 -5
- package/dist/chunks/{rpc-791sxkqm.js → ripgrep-qs8vrnz3.js} +9 -9
- package/dist/chunks/{rpc-cc4mce2f.js → ripgrep-qsaqrdx1.js} +11 -11
- package/dist/chunks/{rpc-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-7rvkzce7.js → ripgrep-qy0j41j3.js} +13 -13
- package/dist/chunks/{rpc-1866jdqb.js → ripgrep-r4zqymag.js} +29 -29
- package/dist/chunks/{rpc-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-ea8zm51c.js → ripgrep-re9s8qmv.js} +49 -49
- package/dist/chunks/{rpc-rjeydd8s.js → ripgrep-rh7femja.js} +20 -7
- package/dist/chunks/{rpc-kxpygcw9.js → ripgrep-rph3zd4r.js} +4 -4
- package/dist/chunks/{rpc-hvn3gssd.js → ripgrep-rqf72ha7.js} +4 -4
- package/dist/chunks/{rpc-pccby3rj.js → ripgrep-rsehase2.js} +22 -22
- package/dist/chunks/{rpc-4e8vs6eh.js → ripgrep-rvf0m9x6.js} +8 -8
- package/dist/chunks/{rpc-hkfg6fzm.js → ripgrep-s8zy8myc.js} +5 -5
- package/dist/chunks/{rpc-ssbdqrjt.js → ripgrep-sc51x728.js} +8 -8
- package/dist/chunks/{rpc-jej1981d.js → ripgrep-sdgvmrxh.js} +5 -5
- package/dist/chunks/{rpc-qkxbnhbs.js → ripgrep-sqf5tk1d.js} +22 -22
- package/dist/chunks/{rpc-6s236mgx.js → ripgrep-sw8epyzb.js} +32 -32
- package/dist/chunks/{rpc-s8d7rejh.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{rpc-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-g4tp3wzg.js → ripgrep-tfng5yfz.js} +23 -23
- package/dist/chunks/{rpc-vbfgae2j.js → ripgrep-tjedn1bk.js} +4 -4
- package/dist/chunks/{rpc-r8bat8tc.js → ripgrep-tn03727c.js} +12 -12
- package/dist/chunks/{rpc-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{rpc-5vhcwf2z.js → ripgrep-txkk9php.js} +42 -42
- package/dist/chunks/{rpc-3149w101.js → ripgrep-v2yjcsz6.js} +3 -3
- package/dist/chunks/{rpc-geewefw6.js → ripgrep-v472qedx.js} +5 -5
- package/dist/chunks/{rpc-fqb2p7cx.js → ripgrep-v5dkyp31.js} +4 -4
- package/dist/chunks/{rpc-hcjd2d0x.js → ripgrep-vb9j5e0s.js} +20 -20
- package/dist/chunks/{rpc-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-8mfdap3f.js → ripgrep-vkt5fbj2.js} +8 -8
- package/dist/chunks/{rpc-b87jqyzw.js → ripgrep-vn914t7m.js} +10 -10
- package/dist/chunks/{rpc-nt1ytqhs.js → ripgrep-vwwm0ssm.js} +22 -22
- package/dist/chunks/{rpc-bh0r781w.js → ripgrep-vx615f2b.js} +43 -43
- package/dist/chunks/{rpc-7zpeh0yx.js → ripgrep-vxzh5eqq.js} +4 -4
- package/dist/chunks/{rpc-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{rpc-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{rpc-aqr04kca.js → ripgrep-w1pw1k2p.js} +48 -48
- package/dist/chunks/{rpc-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-yq2cczkq.js → ripgrep-waa9wdep.js} +9 -9
- package/dist/chunks/{rpc-psazpmmj.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{rpc-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-ve87mz4w.js → ripgrep-wh08dk1v.js} +47 -47
- package/dist/chunks/{rpc-z5rd9rww.js → ripgrep-wmq3bkd4.js} +8 -8
- package/dist/chunks/{rpc-29ewe8af.js → ripgrep-wwm7g6wd.js} +11 -11
- package/dist/chunks/{rpc-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-57b9ws8p.js → ripgrep-xfkkasph.js} +7 -7
- package/dist/chunks/{rpc-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{rpc-tp2y1s10.js → ripgrep-xmtsqv3v.js} +10 -10
- package/dist/chunks/{rpc-298xyahw.js → ripgrep-xr6qtqyc.js} +8 -8
- package/dist/chunks/{rpc-b39ffzrr.js → ripgrep-xs4zavqa.js} +6 -6
- package/dist/chunks/{rpc-gjeb9azq.js → ripgrep-xsrxekss.js} +9 -9
- package/dist/chunks/{rpc-vmnk7m7g.js → ripgrep-xtzmd6wt.js} +11 -11
- package/dist/chunks/{rpc-xvp1j2dc.js → ripgrep-xvp1j2dc.js} +2 -2
- package/dist/chunks/{rpc-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-wk5z6jzv.js → ripgrep-y56ehv6b.js} +2 -2
- package/dist/chunks/{rpc-8rhgz57t.js → ripgrep-y7twe0p8.js} +6 -6
- package/dist/chunks/{rpc-myd9142g.js → ripgrep-yhfdknax.js} +15 -15
- package/dist/chunks/{rpc-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{rpc-nt406rr4.js → ripgrep-yph78zey.js} +26 -26
- package/dist/chunks/{rpc-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{rpc-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{rpc-0vf1tx4v.js → ripgrep-yw7j19ra.js} +32 -32
- package/dist/chunks/{rpc-bjtzbw4r.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{rpc-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-k5tj5dm6.js → ripgrep-z1q4sxn4.js} +5 -5
- package/dist/chunks/{rpc-ncms4gaj.js → ripgrep-z2ngxmye.js} +15 -15
- package/dist/chunks/{rpc-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{rpc-32gc6g6n.js → ripgrep-z8ykwhve.js} +18 -18
- package/dist/chunks/{rpc-3x4nas8y.js → ripgrep-z9w6k4dw.js} +11 -11
- package/dist/chunks/{rpc-1z5zt5kg.js → ripgrep-zcw9ks1j.js} +8 -8
- package/dist/chunks/{rpc-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{rpc-qmq4w36z.js → ripgrep-zhw050v3.js} +6 -6
- package/dist/chunks/{rpc-rh0bbtdf.js → ripgrep-zq16ydxf.js} +12 -12
- package/dist/chunks/{rpc-y66s3efq.js → ripgrep-zqnpk9gj.js} +37 -37
- package/dist/chunks/{rpc-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-g6begz1c.js → ripgrep-zxmjcz0n.js} +4 -4
- package/dist/chunks/{rpc-zxq2ej10.js → ripgrep-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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- 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 +130 -130
- 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 +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- 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 +5 -5
- 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 +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- 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 +2 -2
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- 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 +135 -135
- 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 +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +2 -2
- 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 +85 -85
- 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 +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- 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 +85 -85
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/rpc-8skgypty.js +0 -252
- package/dist/chunks/rpc-9sh4wc5j.js +0 -18
- package/dist/chunks/rpc-gc8f23sy.js +0 -26
- /package/dist/chunks/{rpc-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-qc4swbm3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-ecx38efq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-myz5g07t.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./ripgrep-6qdhg23j.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./ripgrep-b1dgk78w.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-adv251k7.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-qsaqrdx1.js";
|
|
31
31
|
import {
|
|
32
32
|
ID10
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-6nm8v0bb.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service76;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
232
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,9 +251,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID13.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID13.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID13.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./ripgrep-6qdhg23j.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9jn68dry.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./ripgrep-6qdhg23j.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9jn68dry.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./ripgrep-6qdhg23j.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./ripgrep-6nm8v0bb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./ripgrep-06n2z7nb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service37
|
|
10
|
+
} from "./ripgrep-txkk9php.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service69,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-aemfex0m.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./ripgrep-64t0s254.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./ripgrep-hwprkm7s.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin23
|
|
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 Plugin23 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service37;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin40 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
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* Service69;
|
|
60
|
+
const sessions = yield* Service21;
|
|
61
|
+
const agents = yield* Service71;
|
|
62
|
+
const subagents = yield* make10;
|
|
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
|
});
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin23, exports_command2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-8hy6v193.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-v2yjcsz6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service30,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node33
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service30 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service30.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node33 = makeGlobalNode({ service: Service30, layer: layer11, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service30, makeLayer2, layer11, node33, exports_model_transport };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-qc4swbm3.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./ripgrep-06n2z7nb.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service65,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node67
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service65 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service65.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node67 = makeLocationNode({ service: Service65, layer, deps: [node87, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service65, node67, exports_rpc, define2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make14,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render3(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make19({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make14, exports_instructions4 };
|