@opencode/core 0.0.0-dev-20282 → 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 +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/{worktree-e27snknr.js → ripgrep-06n2z7nb.js} +16 -16
- package/dist/chunks/{worktree-dzpmeesh.js → ripgrep-0fn2v7vk.js} +6 -6
- package/dist/chunks/{worktree-zx5w74wq.js → ripgrep-0gv4c46g.js} +11 -11
- package/dist/chunks/{worktree-1a47d5f5.js → ripgrep-0kkkb007.js} +20 -20
- package/dist/chunks/{worktree-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-1thfznkn.js → ripgrep-0r3beqsh.js} +2 -2
- package/dist/chunks/{worktree-0yz5n6xt.js → ripgrep-0tc49hzt.js} +20 -20
- package/dist/chunks/{worktree-r8z3mrqg.js → ripgrep-0vzfp6w4.js} +12 -12
- package/dist/chunks/{worktree-cnwktfg5.js → ripgrep-0wb0q5h4.js} +13 -13
- package/dist/chunks/{worktree-7mk6t6fc.js → ripgrep-192mpch6.js} +14 -14
- package/dist/chunks/{worktree-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-b3226ya6.js → ripgrep-1njemvak.js} +11 -11
- package/dist/chunks/{worktree-sgrxgjcw.js → ripgrep-1re4qzs4.js} +54 -54
- package/dist/chunks/{worktree-zbnrbdq4.js → ripgrep-1tanxn91.js} +20 -20
- package/dist/chunks/{worktree-13z0wsye.js → ripgrep-1wr2wsh9.js} +24 -24
- package/dist/chunks/{worktree-56gdpj1q.js → ripgrep-1ygqh575.js} +9 -9
- package/dist/chunks/{worktree-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-y8vddaww.js → ripgrep-22sq01kd.js} +9 -9
- package/dist/chunks/{worktree-sf4jr7qp.js → ripgrep-23nkdrsj.js} +6 -6
- package/dist/chunks/{worktree-77f208p9.js → ripgrep-29t7jrtx.js} +22 -22
- package/dist/chunks/{worktree-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-m1rw40sm.js → ripgrep-2dym5fsc.js} +27 -27
- package/dist/chunks/{worktree-gvz3sgsx.js → ripgrep-2e3h7fb2.js} +33 -33
- package/dist/chunks/{worktree-57ez7d0k.js → ripgrep-2fgn2we9.js} +9 -9
- package/dist/chunks/{worktree-tkeqd284.js → ripgrep-2gqjzmey.js} +34 -34
- package/dist/chunks/{worktree-wbxafc5g.js → ripgrep-2pfa7bdd.js} +28 -28
- package/dist/chunks/{worktree-cxfey8jy.js → ripgrep-2wd0qsc7.js} +86 -86
- package/dist/chunks/{worktree-evbtbmkv.js → ripgrep-2wr44tv0.js} +12 -12
- package/dist/chunks/{worktree-sctfb3fq.js → ripgrep-38hxcnaa.js} +147 -147
- package/dist/chunks/{worktree-37s12vcn.js → ripgrep-3cfzdc8e.js} +5 -5
- package/dist/chunks/{worktree-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-j44dp3r5.js → ripgrep-3n3n8ks1.js} +13 -13
- package/dist/chunks/{worktree-jxqd1873.js → ripgrep-3qr7k6ss.js} +11 -11
- package/dist/chunks/{worktree-y72zmemf.js → ripgrep-3rtxz4nr.js} +8 -8
- package/dist/chunks/{worktree-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-4mvyd98b.js → ripgrep-3w4c8cd5.js} +24 -24
- package/dist/chunks/{worktree-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-xz96dst1.js → ripgrep-461gzhy0.js} +21 -21
- package/dist/chunks/{worktree-vt5jpe43.js → ripgrep-4709er5r.js} +15 -15
- package/dist/chunks/{worktree-a2rpfkac.js → ripgrep-4v7ngy20.js} +4 -4
- package/dist/chunks/{worktree-g190xswt.js → ripgrep-50mzsvk4.js} +4 -4
- package/dist/chunks/{worktree-tcay1cqt.js → ripgrep-51f5btjf.js} +6 -6
- package/dist/chunks/ripgrep-54jdj5x0.js +252 -0
- package/dist/chunks/{worktree-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-mhdhaaav.js → ripgrep-586f3q72.js} +7 -7
- package/dist/chunks/{worktree-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-5k435bcb.js → ripgrep-5f61tf2t.js} +24 -24
- package/dist/chunks/{worktree-h1fe2t5t.js → ripgrep-5p90x35g.js} +40 -40
- package/dist/chunks/{worktree-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-e5txvggt.js → ripgrep-5vc9exp4.js} +8 -8
- package/dist/chunks/{worktree-yef8782z.js → ripgrep-5w6d4e9q.js} +1 -1
- package/dist/chunks/{worktree-psfjzz48.js → ripgrep-5yja9ydc.js} +13 -13
- package/dist/chunks/{worktree-2k8khapm.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{worktree-41ae5dp3.js → ripgrep-64mbz47k.js} +6 -6
- package/dist/chunks/{worktree-ebmcb21f.js → ripgrep-64t0s254.js} +91 -91
- package/dist/chunks/{worktree-sfsqqvr9.js → ripgrep-653z4qt3.js} +10 -10
- package/dist/chunks/{worktree-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{worktree-6wbqgrby.js → ripgrep-66xtzngh.js} +34 -34
- package/dist/chunks/{worktree-001r8x2z.js → ripgrep-6g52vc25.js} +15 -15
- package/dist/chunks/{worktree-rvnppp2f.js → ripgrep-6kxy4d36.js} +16 -16
- package/dist/chunks/{worktree-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-bbyzm5jj.js → ripgrep-6nm8v0bb.js} +21 -21
- package/dist/chunks/{worktree-rga26kte.js → ripgrep-6qdhg23j.js} +10 -10
- package/dist/chunks/{worktree-bdfevam1.js → ripgrep-6zyttfys.js} +6 -6
- package/dist/chunks/{worktree-716zhn38.js → ripgrep-70z7e0t6.js} +17 -17
- package/dist/chunks/{worktree-qdvcf3bf.js → ripgrep-71kkrfgw.js} +9 -9
- package/dist/chunks/{worktree-fmbkyxpy.js → ripgrep-72kwbecb.js} +11 -11
- package/dist/chunks/{worktree-0y5p342v.js → ripgrep-72pre59p.js} +33 -33
- package/dist/chunks/{worktree-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-2gkgy5cd.js → ripgrep-7h1r83p4.js} +9 -9
- package/dist/chunks/{worktree-84txncab.js → ripgrep-84txncab.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{worktree-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-f6xr78aq.js → ripgrep-8enrc4hn.js} +15 -15
- package/dist/chunks/{worktree-c02n6d1v.js → ripgrep-8hy6v193.js} +3 -3
- package/dist/chunks/{worktree-gfvb90ym.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{worktree-3scrsqvb.js → ripgrep-952mvmqa.js} +46 -46
- package/dist/chunks/{worktree-3983m4qc.js → ripgrep-9jn68dry.js} +4 -4
- package/dist/chunks/{worktree-z6zhy1es.js → ripgrep-9m91pah8.js} +10 -10
- package/dist/chunks/{worktree-6qjgy708.js → ripgrep-9nv1851k.js} +21 -21
- package/dist/chunks/{worktree-p2ysnx2b.js → ripgrep-9wp1zfh0.js} +37 -37
- package/dist/chunks/{worktree-4hzv95ch.js → ripgrep-a5np2jg2.js} +21 -21
- package/dist/chunks/{worktree-arkrw169.js → ripgrep-aabpnaee.js} +17 -17
- package/dist/chunks/{worktree-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-szvsns8r.js → ripgrep-abtj82ew.js} +16 -16
- package/dist/chunks/{worktree-p4keywyt.js → ripgrep-adv251k7.js} +20 -20
- package/dist/chunks/{worktree-xycp8wsc.js → ripgrep-aemfex0m.js} +19 -19
- package/dist/chunks/{worktree-7ph45jmk.js → ripgrep-amfnqe2s.js} +11 -11
- package/dist/chunks/{worktree-tnmnnxk1.js → ripgrep-aqzfyccc.js} +8 -8
- package/dist/chunks/{worktree-2tpncfxr.js → ripgrep-axtjp1k3.js} +19 -19
- package/dist/chunks/{worktree-7x9fc9vt.js → ripgrep-azd87vph.js} +25 -25
- package/dist/chunks/{worktree-vd40n7bw.js → ripgrep-b1dgk78w.js} +23 -23
- package/dist/chunks/{worktree-2txv2b1a.js → ripgrep-b2hpr2td.js} +16 -16
- package/dist/chunks/{worktree-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-dfzjqex4.js → ripgrep-bgs9y14h.js} +5 -5
- package/dist/chunks/{worktree-pja85v6r.js → ripgrep-bs3x7gw6.js} +33 -33
- package/dist/chunks/{worktree-f29mbr7f.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{worktree-mygz8mfe.js → ripgrep-c6ajamfk.js} +24 -24
- package/dist/chunks/{worktree-ncv2fk57.js → ripgrep-c6mpbtvn.js} +22 -22
- package/dist/chunks/{worktree-cwa6csj7.js → ripgrep-c765mh8b.js} +9 -9
- package/dist/chunks/{worktree-gmst7b26.js → ripgrep-ca4nd7sf.js} +11 -11
- package/dist/chunks/{worktree-pxk6mp5z.js → ripgrep-cf1vp582.js} +13 -13
- package/dist/chunks/{worktree-n0j3w4fg.js → ripgrep-cfjzxm9d.js} +4 -4
- package/dist/chunks/{worktree-d5895qzs.js → ripgrep-ch7rw6pf.js} +28 -28
- package/dist/chunks/{worktree-54tcyq79.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{worktree-8pmzaq8m.js → ripgrep-cr5th6ty.js} +33 -33
- package/dist/chunks/{worktree-0fmx3rft.js → ripgrep-cx016b67.js} +21 -21
- package/dist/chunks/{worktree-607q5haz.js → ripgrep-d2ztc3sk.js} +12 -12
- package/dist/chunks/{worktree-qj6hp2b9.js → ripgrep-d3a20c9v.js} +3 -3
- package/dist/chunks/{worktree-9trtk54k.js → ripgrep-d3xwyf2m.js} +2 -2
- package/dist/chunks/{worktree-k320j1p5.js → ripgrep-d7gjgrs2.js} +1 -1
- package/dist/chunks/{worktree-39xspfpy.js → ripgrep-db40k7kg.js} +28 -28
- package/dist/chunks/{worktree-v3gyjhav.js → ripgrep-ddfm2d7g.js} +3 -3
- package/dist/chunks/{worktree-yty66srb.js → ripgrep-dg7ycq4j.js} +11 -11
- package/dist/chunks/{worktree-zq6nw3ey.js → ripgrep-dn4v5eqq.js} +15 -15
- package/dist/chunks/{worktree-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-88gzfjcr.js → ripgrep-e4g6rnfs.js} +11 -11
- package/dist/chunks/{worktree-df2tmfns.js → ripgrep-e5d0vv29.js} +8 -8
- package/dist/chunks/{worktree-hwkt67y2.js → ripgrep-e5ynk9n0.js} +1 -1
- package/dist/chunks/{worktree-g02t4ync.js → ripgrep-e7g2j36k.js} +9 -9
- package/dist/chunks/{worktree-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{worktree-qk8xmq2z.js → ripgrep-ecx38efq.js} +28 -28
- package/dist/chunks/{worktree-7z0y8v4j.js → ripgrep-edy6vzfc.js} +11 -11
- package/dist/chunks/{worktree-zr4wykqj.js → ripgrep-eehp0yw8.js} +27 -27
- package/dist/chunks/{worktree-wmrgf2w8.js → ripgrep-eeshsd4e.js} +13 -13
- package/dist/chunks/{worktree-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-gpbn0p0w.js → ripgrep-eff9pjvh.js} +4 -4
- package/dist/chunks/{worktree-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-x3avv4w2.js → ripgrep-ey4ng7y9.js} +14 -14
- package/dist/chunks/{worktree-swvkd5aj.js → ripgrep-fja6f62c.js} +11 -11
- package/dist/chunks/ripgrep-fn1xezbj.js +26 -0
- package/dist/chunks/{worktree-rghmt2bq.js → ripgrep-fnjd7ews.js} +11 -11
- package/dist/chunks/{worktree-rk1r2hx8.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{worktree-e820y9mc.js → ripgrep-fq96zpya.js} +32 -32
- package/dist/chunks/{worktree-d8n3qghg.js → ripgrep-fqkdxzw8.js} +6 -6
- package/dist/chunks/{worktree-7v81x33d.js → ripgrep-fw181sc9.js} +9 -9
- package/dist/chunks/{worktree-13hs8bk8.js → ripgrep-fw2pwnnn.js} +16 -16
- package/dist/chunks/{worktree-s2389n8w.js → ripgrep-g3edykf5.js} +29 -29
- package/dist/chunks/{worktree-t6h24dbe.js → ripgrep-g9t1zgfv.js} +18 -18
- package/dist/chunks/{worktree-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-fvhqjn4t.js → ripgrep-gfj3dknr.js} +16 -16
- package/dist/chunks/{worktree-65wnmjcv.js → ripgrep-ghz97sg6.js} +29 -29
- package/dist/chunks/{worktree-a0res7gz.js → ripgrep-gqf2zns2.js} +3 -3
- package/dist/chunks/{worktree-04fgd0za.js → ripgrep-gqzgrd8f.js} +42 -42
- package/dist/chunks/{worktree-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-pqhj0jbj.js → ripgrep-gwkc77fa.js} +20 -20
- package/dist/chunks/{worktree-nq4cgafe.js → ripgrep-h4ej1pk3.js} +10 -10
- package/dist/chunks/{worktree-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{worktree-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-jkrbnkha.js → ripgrep-hc6n7qkh.js} +37 -37
- package/dist/chunks/{worktree-9cc5f0sc.js → ripgrep-hfeaaxxs.js} +6 -6
- package/dist/chunks/{worktree-7m5nqmhf.js → ripgrep-hg7raqqh.js} +2 -2
- package/dist/chunks/{worktree-0kwkvfx9.js → ripgrep-hgbe9dcz.js} +20 -20
- package/dist/chunks/{worktree-nhcgyx4g.js → ripgrep-hmaez4gc.js} +25 -25
- package/dist/chunks/{worktree-6e6azkd7.js → ripgrep-hn5zg849.js} +15 -15
- package/dist/chunks/{worktree-r7yn1rvr.js → ripgrep-hsav4n22.js} +14 -14
- package/dist/chunks/ripgrep-ht5y0zrb.js +18 -0
- package/dist/chunks/{worktree-dshgy0ng.js → ripgrep-hwprkm7s.js} +11 -11
- package/dist/chunks/{worktree-3yg658cz.js → ripgrep-j14tmgba.js} +5 -5
- package/dist/chunks/{worktree-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-ff0svapt.js → ripgrep-j699j8bt.js} +2 -2
- package/dist/chunks/{worktree-rkg3eda0.js → ripgrep-jbvsa6eq.js} +6 -6
- package/dist/chunks/{worktree-dvt1dkn2.js → ripgrep-jdtprj7c.js} +1 -1
- package/dist/chunks/{worktree-2pdr3hh8.js → ripgrep-jgnp4k1d.js} +8 -8
- package/dist/chunks/{worktree-a0enp6nq.js → ripgrep-jhkfvevy.js} +25 -25
- package/dist/chunks/{worktree-wbjhn24r.js → ripgrep-jhz2qgyn.js} +311 -311
- package/dist/chunks/{worktree-dhmh7aw6.js → ripgrep-jvf3yq6v.js} +4 -4
- package/dist/chunks/{worktree-4ytbpwws.js → ripgrep-jz8ef9q4.js} +10 -10
- package/dist/chunks/{worktree-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-c8vdmst3.js → ripgrep-kehckfbc.js} +1 -1
- package/dist/chunks/{worktree-pkfj85rw.js → ripgrep-kmd76d9b.js} +23 -23
- package/dist/chunks/{worktree-twcj9f7k.js → ripgrep-kmpmz7ta.js} +16 -16
- package/dist/chunks/{worktree-zh5p47ff.js → ripgrep-kygfjk3j.js} +7 -7
- package/dist/chunks/{worktree-g14m86g0.js → ripgrep-m0txghk3.js} +12 -12
- package/dist/chunks/{worktree-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-rr904bsk.js → ripgrep-mawhga53.js} +10 -10
- package/dist/chunks/{worktree-mvfsc1pv.js → ripgrep-mhkvc446.js} +3 -3
- package/dist/chunks/{worktree-6stbmbnr.js → ripgrep-mhy5ejww.js} +15 -15
- package/dist/chunks/{worktree-5cyshn7d.js → ripgrep-mm13q5bj.js} +42 -42
- package/dist/chunks/{worktree-ssmddv2w.js → ripgrep-mv0eybxy.js} +58 -58
- package/dist/chunks/{worktree-e6netmhg.js → ripgrep-myz5g07t.js} +9 -9
- package/dist/chunks/{worktree-mzywpf3p.js → ripgrep-n1ka8r9d.js} +4 -4
- package/dist/chunks/{worktree-0tqnbkze.js → ripgrep-n2t9j3sy.js} +27 -27
- package/dist/chunks/{worktree-rjcp021a.js → ripgrep-na5tatc9.js} +24 -24
- package/dist/chunks/{worktree-8refbgwz.js → ripgrep-nav1p6g3.js} +8 -8
- package/dist/chunks/{worktree-saaf3fxb.js → ripgrep-nbzsj80d.js} +8 -8
- package/dist/chunks/{worktree-edetqt3t.js → ripgrep-nwx73hp2.js} +50 -50
- package/dist/chunks/{worktree-qxx8s78x.js → ripgrep-p0kznwb9.js} +1 -1
- package/dist/chunks/{worktree-pa8pe2x7.js → ripgrep-pa8pe2x7.js} +1 -1
- package/dist/chunks/{worktree-nbte9t97.js → ripgrep-pjn99fz1.js} +33 -33
- package/dist/chunks/{worktree-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-6bsje7ws.js → ripgrep-pk2244jm.js} +3 -3
- package/dist/chunks/{worktree-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-zd30eb5w.js → ripgrep-pp7e5es3.js} +5 -5
- package/dist/chunks/{worktree-gpb5d8yt.js → ripgrep-ptm9s311.js} +22 -22
- package/dist/chunks/{worktree-6pc27hjz.js → ripgrep-py3kkmfq.js} +6 -6
- package/dist/chunks/{worktree-vncycja5.js → ripgrep-q2b1ymqp.js} +4 -4
- package/dist/chunks/{worktree-a4zamhgm.js → ripgrep-q48yxynx.js} +17 -17
- package/dist/chunks/{worktree-pjet4p5y.js → ripgrep-q4y9jszz.js} +13 -13
- package/dist/chunks/{worktree-zkrycxef.js → ripgrep-q62vekht.js} +12 -12
- package/dist/chunks/{worktree-0wq3fknx.js → ripgrep-qc4swbm3.js} +4 -4
- package/dist/chunks/{worktree-38cm9fde.js → ripgrep-qcwfdsz9.js} +18 -18
- package/dist/chunks/{worktree-fhs97t90.js → ripgrep-qg0jgkcp.js} +9 -9
- package/dist/chunks/{worktree-510m7gjw.js → ripgrep-qjnxxf51.js} +5 -5
- package/dist/chunks/{worktree-vz69adje.js → ripgrep-qs8vrnz3.js} +9 -9
- package/dist/chunks/{worktree-kxh1rwc9.js → ripgrep-qsaqrdx1.js} +10 -10
- package/dist/chunks/{worktree-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-acj060rm.js → ripgrep-qy0j41j3.js} +15 -15
- package/dist/chunks/{worktree-texqengy.js → ripgrep-r4zqymag.js} +21 -21
- package/dist/chunks/{worktree-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-8jjn45ms.js → ripgrep-re9s8qmv.js} +45 -45
- package/dist/chunks/{worktree-7hvm96qr.js → ripgrep-rh7femja.js} +20 -7
- package/dist/chunks/{worktree-fvanntqq.js → ripgrep-rph3zd4r.js} +6 -6
- package/dist/chunks/{worktree-xkfwnfrx.js → ripgrep-rqf72ha7.js} +4 -4
- package/dist/chunks/{worktree-cf5xjrzv.js → ripgrep-rsehase2.js} +24 -24
- package/dist/chunks/{worktree-at1kfnmk.js → ripgrep-rvf0m9x6.js} +8 -8
- package/dist/chunks/{worktree-s8zy8myc.js → ripgrep-s8zy8myc.js} +2 -2
- package/dist/chunks/{worktree-05wfypjm.js → ripgrep-sc51x728.js} +9 -9
- package/dist/chunks/{worktree-1vv0dy0q.js → ripgrep-sdgvmrxh.js} +3 -3
- package/dist/chunks/{worktree-phrkc286.js → ripgrep-sqf5tk1d.js} +10 -10
- package/dist/chunks/{worktree-nt7h19mv.js → ripgrep-sw8epyzb.js} +32 -32
- package/dist/chunks/{worktree-s8d7rejh.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{worktree-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-kq7s3qmg.js → ripgrep-tfng5yfz.js} +23 -23
- package/dist/chunks/{worktree-r66xghd9.js → ripgrep-tjedn1bk.js} +4 -4
- package/dist/chunks/{worktree-g1a5metn.js → ripgrep-tn03727c.js} +21 -21
- package/dist/chunks/{worktree-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-babexwax.js → ripgrep-txkk9php.js} +44 -44
- package/dist/chunks/{worktree-r9dfe0xv.js → ripgrep-v2yjcsz6.js} +3 -3
- package/dist/chunks/{worktree-jz04rre8.js → ripgrep-v472qedx.js} +5 -5
- package/dist/chunks/{worktree-6hh8tjw2.js → ripgrep-v5dkyp31.js} +4 -4
- package/dist/chunks/{worktree-5g0t0vrr.js → ripgrep-vb9j5e0s.js} +20 -20
- package/dist/chunks/{worktree-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-qm7jrdpz.js → ripgrep-vkt5fbj2.js} +8 -8
- package/dist/chunks/{worktree-n8c6me3b.js → ripgrep-vn914t7m.js} +10 -10
- package/dist/chunks/{worktree-z22jgdat.js → ripgrep-vwwm0ssm.js} +25 -25
- package/dist/chunks/{worktree-hjzphaj3.js → ripgrep-vx615f2b.js} +45 -45
- package/dist/chunks/{worktree-hnr8f6ws.js → ripgrep-vxzh5eqq.js} +4 -4
- package/dist/chunks/{worktree-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-ctf6ejh2.js → ripgrep-w1pw1k2p.js} +48 -48
- package/dist/chunks/{worktree-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-bdqrk2vk.js → ripgrep-waa9wdep.js} +6 -6
- package/dist/chunks/{worktree-psazpmmj.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{worktree-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-d1g447ty.js → ripgrep-wh08dk1v.js} +47 -47
- package/dist/chunks/{worktree-5q13c62c.js → ripgrep-wmq3bkd4.js} +8 -8
- package/dist/chunks/{worktree-gh7hrkz2.js → ripgrep-wwm7g6wd.js} +14 -14
- package/dist/chunks/{worktree-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-drwq78ky.js → ripgrep-xfkkasph.js} +4 -4
- package/dist/chunks/{worktree-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{worktree-4sygg0q8.js → ripgrep-xmtsqv3v.js} +10 -10
- package/dist/chunks/{worktree-8d238hm6.js → ripgrep-xr6qtqyc.js} +8 -8
- package/dist/chunks/{worktree-6c7knq90.js → ripgrep-xs4zavqa.js} +9 -9
- package/dist/chunks/{worktree-2p8kvsjt.js → ripgrep-xsrxekss.js} +9 -9
- package/dist/chunks/{worktree-qj2bgxy5.js → ripgrep-xtzmd6wt.js} +11 -11
- package/dist/chunks/{worktree-h6b02349.js → ripgrep-xvp1j2dc.js} +5 -5
- package/dist/chunks/{worktree-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-y56ehv6b.js → ripgrep-y56ehv6b.js} +2 -2
- package/dist/chunks/{worktree-wmgh7mcp.js → ripgrep-y7twe0p8.js} +6 -6
- package/dist/chunks/{worktree-16avzxan.js → ripgrep-yhfdknax.js} +18 -18
- package/dist/chunks/{worktree-f2n192rq.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{worktree-nx7rc8rf.js → ripgrep-yph78zey.js} +26 -26
- package/dist/chunks/{worktree-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-n3mssk1e.js → ripgrep-yw7j19ra.js} +27 -27
- package/dist/chunks/{worktree-bjtzbw4r.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{worktree-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-pw7ttv0e.js → ripgrep-z1q4sxn4.js} +3 -3
- package/dist/chunks/{worktree-sc67qxtv.js → ripgrep-z2ngxmye.js} +17 -17
- package/dist/chunks/{worktree-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-tmdeze9j.js → ripgrep-z8ykwhve.js} +18 -18
- package/dist/chunks/{worktree-t7ag82h9.js → ripgrep-z9w6k4dw.js} +9 -9
- package/dist/chunks/{worktree-7nj41wgj.js → ripgrep-zcw9ks1j.js} +8 -8
- package/dist/chunks/{worktree-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-zfmp5921.js → ripgrep-zhw050v3.js} +15 -15
- package/dist/chunks/{worktree-nk9vavb0.js → ripgrep-zq16ydxf.js} +12 -12
- package/dist/chunks/{worktree-a97p8s91.js → ripgrep-zqnpk9gj.js} +34 -34
- package/dist/chunks/{worktree-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-xgjazd1c.js → ripgrep-zxmjcz0n.js} +4 -4
- package/dist/chunks/{worktree-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +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 +122 -122
- 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 +142 -142
- 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 +83 -83
- 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 +92 -92
- 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 +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +83 -83
- 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 +76 -76
- package/dist/job.js +79 -79
- 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 +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 +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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- 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 +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 +1 -1
- 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 +122 -122
- 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 +72 -72
- 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 +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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- 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 +89 -89
- 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 +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +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 +154 -154
- 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 +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 +3 -3
- 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 +172 -172
- 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 +3 -3
- 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 +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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +121 -121
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +116 -116
- 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 +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- 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 +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/worktree-3xcbqfaz.js +0 -26
- package/dist/chunks/worktree-5tw8dxaf.js +0 -252
- package/dist/chunks/worktree-jqh9b0xq.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-qc4swbm3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service33,
|
|
7
|
+
node36
|
|
8
|
+
} from "./ripgrep-re9s8qmv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node63
|
|
12
|
+
} from "./ripgrep-nwx73hp2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node42
|
|
16
|
+
} from "./ripgrep-jhkfvevy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
layer: () => layer12,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer12 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service33;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service61;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
123
|
var node35 = makeLocationNode({
|
|
124
|
-
service:
|
|
124
|
+
service: Service32,
|
|
125
125
|
layer: layer12,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node42, node36, node87, node63]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service32, layer12, node35, exports_mcp3 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qc4swbm3.js";
|
|
8
|
+
import {
|
|
9
|
+
Event19,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./ripgrep-ecx38efq.js";
|
|
8
13
|
import {
|
|
9
|
-
Event20,
|
|
10
14
|
Service79,
|
|
11
15
|
node83
|
|
12
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-06n2z7nb.js";
|
|
13
17
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node69
|
|
20
|
+
} from "./ripgrep-1wr2wsh9.js";
|
|
17
21
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ID15,
|
|
23
|
-
Service78,
|
|
24
|
-
node82
|
|
25
|
-
} from "./worktree-kq7s3qmg.js";
|
|
22
|
+
ID18,
|
|
23
|
+
Service82,
|
|
24
|
+
node86
|
|
25
|
+
} from "./ripgrep-tfng5yfz.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service77,
|
|
34
34
|
node81
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./ripgrep-myz5g07t.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service33,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node36
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options2 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
102
|
+
var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service79;
|
|
104
|
+
const environment = yield* Service67;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
|
-
const forms = yield*
|
|
106
|
+
const forms = yield* Service82;
|
|
107
107
|
const integration = yield* Service77;
|
|
108
|
-
const credentials = yield*
|
|
108
|
+
const credentials = yield* Service78;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -133,7 +133,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError2({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID18.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service33.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured2(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [
|
|
519
|
+
service: Service33,
|
|
520
|
+
layer: layer13(options),
|
|
521
|
+
deps: [node83, node69, node87, node86, node81, node82]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node36 = configured2();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service33, Options2, layer13, configured2, node36, exports_mcp4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-6qdhg23j.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-b1dgk78w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -142,6 +142,19 @@ var nvidiaChat = (model, support) => {
|
|
|
142
142
|
}));
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
|
+
var workersAITemplate = (thinking) => ({
|
|
146
|
+
body: { chat_template_kwargs: { enable_thinking: thinking, thinking } }
|
|
147
|
+
});
|
|
148
|
+
var workersAIChat = (_, support) => {
|
|
149
|
+
switch (support.type) {
|
|
150
|
+
case "effort":
|
|
151
|
+
return efforts(support.values ?? EFFORTS, (effort) => effort === "none" ? workersAITemplate(false) : { settings: { reasoningEffort: effort } });
|
|
152
|
+
case "toggle":
|
|
153
|
+
return toggle(workersAITemplate(false), workersAITemplate(true));
|
|
154
|
+
case "budget_tokens":
|
|
155
|
+
return [];
|
|
156
|
+
}
|
|
157
|
+
};
|
|
145
158
|
var basetenTemplate = (enable_thinking) => ({
|
|
146
159
|
body: { chat_template_args: { enable_thinking } }
|
|
147
160
|
});
|
|
@@ -465,7 +478,7 @@ var PROTOCOLS = {
|
|
|
465
478
|
"@opencode/ai/providers/alibaba/chat": alibabaChat,
|
|
466
479
|
"@opencode/ai/providers/baseten": basetenChat,
|
|
467
480
|
"@opencode/ai/providers/cerebras": openaiChat,
|
|
468
|
-
"@opencode/ai/providers/cloudflare-workers-ai":
|
|
481
|
+
"@opencode/ai/providers/cloudflare-workers-ai": workersAIChat,
|
|
469
482
|
"@opencode/ai/providers/deepinfra": deepinfraChat,
|
|
470
483
|
"@opencode/ai/providers/deepseek": deepseekChat,
|
|
471
484
|
"@opencode/ai/providers/fireworks": openaiChat,
|
|
@@ -496,4 +509,4 @@ var PROTOCOLS = {
|
|
|
496
509
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
497
510
|
};
|
|
498
511
|
|
|
499
|
-
export {
|
|
512
|
+
export { resolve4, exports_variant };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info15,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info15, exports_lsp };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-aemfex0m.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-qc4swbm3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-nwx73hp2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info17,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service40,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info17 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service40 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service40.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node43 = makeLocationNode({
|
|
112
|
+
service: Service40,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info17, ID4, Name2, available2, toModelOutput3, prepare3, Service40, node43, exports_skill5, Event7 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-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: () => Service64,
|
|
10
|
+
node: () => node66
|
|
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 Service64 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service64, 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(Service74, 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 Service64.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node66 = makeLocationNode({ service: Service64, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service64, node66, exports_hooks };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-06n2z7nb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service70,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node72,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node72 = LayerNode.unbound(Service70, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service70;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service70, node72, reload2, canonical3, exports_location_service_map };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-5w6d4e9q.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-8hy6v193.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|