@opencode/core 0.0.0-dev-20283 → 0.0.0-dev-20284
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{ripgrep-zqnpk9gj.js → integration-03wz1akf.js} +30 -30
- package/dist/chunks/{ripgrep-607tc6va.js → integration-0jwsre1p.js} +5 -5
- package/dist/chunks/{ripgrep-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-e5ynk9n0.js → integration-0qjwcdf0.js} +1 -1
- package/dist/chunks/{ripgrep-jz8ef9q4.js → integration-0ta8ncat.js} +3 -3
- package/dist/chunks/{ripgrep-jgnp4k1d.js → integration-0w5jwg0z.js} +6 -6
- package/dist/chunks/{ripgrep-vn914t7m.js → integration-10ce4g8v.js} +6 -6
- package/dist/chunks/{ripgrep-z2ngxmye.js → integration-13ahtzqa.js} +17 -17
- package/dist/chunks/{ripgrep-dn4v5eqq.js → integration-13wsvgev.js} +11 -11
- package/dist/chunks/{ripgrep-wh08dk1v.js → integration-14skzq0n.js} +32 -32
- package/dist/chunks/{ripgrep-hsav4n22.js → integration-166agdv6.js} +9 -9
- package/dist/chunks/{ripgrep-22sq01kd.js → integration-18fhcwyd.js} +9 -9
- package/dist/chunks/{ripgrep-bs3x7gw6.js → integration-19eyspa8.js} +28 -28
- package/dist/chunks/{ripgrep-yp2x3t23.js → integration-1acjjqhc.js} +4 -4
- package/dist/chunks/{ripgrep-z9w6k4dw.js → integration-1ag5f13t.js} +9 -9
- package/dist/chunks/{ripgrep-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-fqkdxzw8.js → integration-1hsgezmh.js} +4 -4
- package/dist/chunks/{ripgrep-py3kkmfq.js → integration-1p07q0wb.js} +4 -4
- package/dist/chunks/{ripgrep-abtj82ew.js → integration-1p2r191f.js} +16 -16
- package/dist/chunks/integration-1x11rq2a.js +18 -0
- package/dist/chunks/{ripgrep-1ygqh575.js → integration-1ygqh575.js} +2 -2
- package/dist/chunks/{ripgrep-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-na5tatc9.js → integration-287rg9sk.js} +15 -15
- package/dist/chunks/{ripgrep-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-e4g6rnfs.js → integration-2c7hjkzv.js} +15 -15
- package/dist/chunks/{ripgrep-q4y9jszz.js → integration-2e55ks6z.js} +13 -13
- package/dist/chunks/{ripgrep-xmtsqv3v.js → integration-2emg5d4r.js} +10 -10
- package/dist/chunks/{ripgrep-bgs9y14h.js → integration-2hg7qvzt.js} +5 -5
- package/dist/chunks/{ripgrep-1wr2wsh9.js → integration-2va239gy.js} +23 -23
- package/dist/chunks/{ripgrep-qy0j41j3.js → integration-2y8s9x1b.js} +13 -13
- package/dist/chunks/{ripgrep-gqf2zns2.js → integration-2yx0kjta.js} +1 -1
- package/dist/chunks/{ripgrep-5vc9exp4.js → integration-336jbapg.js} +8 -8
- package/dist/chunks/{ripgrep-1re4qzs4.js → integration-355jfwf8.js} +52 -52
- package/dist/chunks/{ripgrep-0tc49hzt.js → integration-37dqmmxw.js} +15 -15
- package/dist/chunks/{ripgrep-pp7e5es3.js → integration-3801kdgp.js} +5 -5
- package/dist/chunks/{ripgrep-2pfa7bdd.js → integration-3ayz7pdh.js} +38 -38
- package/dist/chunks/{ripgrep-waa9wdep.js → integration-3e147rt9.js} +9 -9
- package/dist/chunks/{ripgrep-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-8hy6v193.js → integration-3py9tntd.js} +6 -6
- package/dist/chunks/{ripgrep-2e3h7fb2.js → integration-3q756xqj.js} +31 -31
- package/dist/chunks/{ripgrep-3rtxz4nr.js → integration-3rtxz4nr.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-q48yxynx.js → integration-41xbg949.js} +17 -17
- package/dist/chunks/{ripgrep-aabpnaee.js → integration-4p773rn4.js} +20 -20
- package/dist/chunks/{ripgrep-rsehase2.js → integration-4w3q00qb.js} +16 -16
- package/dist/chunks/{ripgrep-06n2z7nb.js → integration-4wdgh5xv.js} +16 -16
- package/dist/chunks/{ripgrep-s8zy8myc.js → integration-4xz89tjk.js} +5 -5
- package/dist/chunks/{ripgrep-6zyttfys.js → integration-4yb1sc8z.js} +9 -9
- package/dist/chunks/{ripgrep-dg7ycq4j.js → integration-500fmqbd.js} +11 -11
- package/dist/chunks/{ripgrep-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-ckecvw8r.js → integration-54tcyq79.js} +2 -2
- package/dist/chunks/{ripgrep-cf1vp582.js → integration-56tk9z3j.js} +13 -13
- package/dist/chunks/{ripgrep-29t7jrtx.js → integration-576s5d3g.js} +11 -11
- package/dist/chunks/{ripgrep-azd87vph.js → integration-5798x35d.js} +25 -25
- package/dist/chunks/{ripgrep-xfkkasph.js → integration-57b9ws8p.js} +7 -7
- package/dist/chunks/{ripgrep-3cfzdc8e.js → integration-59xwxqv5.js} +5 -5
- package/dist/chunks/{ripgrep-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-j699j8bt.js → integration-5frpvc34.js} +2 -2
- package/dist/chunks/{ripgrep-hwprkm7s.js → integration-5r5ngwvx.js} +6 -6
- package/dist/chunks/{ripgrep-eeshsd4e.js → integration-5sxhaqv9.js} +8 -8
- package/dist/chunks/{ripgrep-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-vkt5fbj2.js → integration-5we7r0eg.js} +5 -5
- package/dist/chunks/{ripgrep-pa8pe2x7.js → integration-5yzzbxa7.js} +8 -8
- package/dist/chunks/{ripgrep-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-yw7j19ra.js → integration-6esbwhw5.js} +32 -32
- package/dist/chunks/{ripgrep-y56ehv6b.js → integration-6hjx5zpb.js} +9 -9
- package/dist/chunks/{ripgrep-6msgmcgs.js → integration-6msgmcgs.js} +1 -1
- package/dist/chunks/integration-78b6byxs.js +252 -0
- package/dist/chunks/{ripgrep-myz5g07t.js → integration-7b7x293f.js} +5 -5
- package/dist/chunks/{ripgrep-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-0gv4c46g.js → integration-7evwkt5a.js} +11 -11
- package/dist/chunks/{ripgrep-y7twe0p8.js → integration-7r6wwy4a.js} +6 -6
- package/dist/chunks/{ripgrep-5p90x35g.js → integration-7rncv06g.js} +38 -38
- package/dist/chunks/{ripgrep-4709er5r.js → integration-7w8vs4ab.js} +13 -13
- package/dist/chunks/{ripgrep-amfnqe2s.js → integration-7zdz69fq.js} +7 -7
- package/dist/chunks/{ripgrep-w1pw1k2p.js → integration-82206brs.js} +48 -48
- package/dist/chunks/{ripgrep-84txncab.js → integration-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-d3xwyf2m.js → integration-87b0ccws.js} +2 -2
- package/dist/chunks/{ripgrep-cx016b67.js → integration-88b17fsa.js} +12 -12
- package/dist/chunks/{ripgrep-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-ghz97sg6.js → integration-8hpx30f9.js} +22 -22
- package/dist/chunks/{ripgrep-cfjzxm9d.js → integration-8ntmc9jd.js} +4 -4
- package/dist/chunks/{ripgrep-q62vekht.js → integration-8p70309a.js} +12 -12
- package/dist/chunks/{ripgrep-vx615f2b.js → integration-8parajs2.js} +36 -36
- package/dist/chunks/{ripgrep-pk2244jm.js → integration-8q7cq0y1.js} +2 -2
- package/dist/chunks/{ripgrep-5f61tf2t.js → integration-8xwjq0pe.js} +37 -37
- package/dist/chunks/{ripgrep-qjnxxf51.js → integration-8y7th7f2.js} +5 -5
- package/dist/chunks/{ripgrep-7h1r83p4.js → integration-941r3npm.js} +9 -9
- package/dist/chunks/{ripgrep-5yja9ydc.js → integration-99jc8f7r.js} +8 -8
- package/dist/chunks/{ripgrep-pjn99fz1.js → integration-99ws31qd.js} +31 -31
- package/dist/chunks/{ripgrep-txkk9php.js → integration-9erc8nq9.js} +29 -29
- package/dist/chunks/{ripgrep-kmd76d9b.js → integration-9jft2ye4.js} +17 -17
- package/dist/chunks/{ripgrep-xs4zavqa.js → integration-9kbags8k.js} +7 -7
- package/dist/chunks/{ripgrep-qs8vrnz3.js → integration-a2xz39qp.js} +7 -7
- package/dist/chunks/{ripgrep-fp2xarvc.js → integration-a4ae1mqs.js} +1 -1
- package/dist/chunks/{ripgrep-ecx38efq.js → integration-a79rb00n.js} +5 -5
- package/dist/chunks/{ripgrep-v472qedx.js → integration-a79tw4th.js} +5 -5
- package/dist/chunks/{ripgrep-n1ka8r9d.js → integration-a7pt7jn1.js} +4 -4
- package/dist/chunks/{ripgrep-50mzsvk4.js → integration-a8bn8zg0.js} +4 -4
- package/dist/chunks/integration-a9zdxssk.js +26 -0
- package/dist/chunks/{ripgrep-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-tn03727c.js → integration-aby47wwy.js} +3 -3
- package/dist/chunks/{ripgrep-38hxcnaa.js → integration-akqv09jd.js} +123 -123
- package/dist/chunks/{ripgrep-72kwbecb.js → integration-amv7r7xf.js} +6 -6
- package/dist/chunks/{ripgrep-ch7rw6pf.js → integration-ash82f75.js} +20 -20
- package/dist/chunks/{ripgrep-ca4nd7sf.js → integration-b2s2f9hy.js} +9 -9
- package/dist/chunks/{ripgrep-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-2wr44tv0.js → integration-b8t30bwq.js} +10 -10
- package/dist/chunks/{ripgrep-z1q4sxn4.js → integration-baes5359.js} +3 -3
- package/dist/chunks/{ripgrep-z07pqspn.js → integration-bjtzbw4r.js} +3 -3
- package/dist/chunks/{ripgrep-zxmjcz0n.js → integration-bt5vmpp6.js} +4 -4
- package/dist/chunks/{ripgrep-qc4swbm3.js → integration-bxp2jpa1.js} +4 -4
- package/dist/chunks/{ripgrep-64t0s254.js → integration-cpyc35sh.js} +73 -73
- package/dist/chunks/{ripgrep-586f3q72.js → integration-cvhkk3hw.js} +5 -5
- package/dist/chunks/{ripgrep-c765mh8b.js → integration-cwa6csj7.js} +9 -9
- package/dist/chunks/{ripgrep-51f5btjf.js → integration-d0k1g5nx.js} +6 -6
- package/dist/chunks/{ripgrep-jdtprj7c.js → integration-d1pkyphn.js} +1 -1
- package/dist/chunks/{ripgrep-c35597j6.js → integration-d2czbp48.js} +4 -4
- package/dist/chunks/{ripgrep-0wb0q5h4.js → integration-d7ap0fky.js} +11 -11
- package/dist/chunks/{ripgrep-2fgn2we9.js → integration-d9s573fh.js} +9 -9
- package/dist/chunks/{ripgrep-0kkkb007.js → integration-datgzbnb.js} +16 -16
- package/dist/chunks/{ripgrep-j14tmgba.js → integration-dd4dnbbb.js} +5 -5
- package/dist/chunks/{ripgrep-5w6d4e9q.js → integration-df3df5tx.js} +1 -1
- package/dist/chunks/{ripgrep-kygfjk3j.js → integration-dfmjf6m5.js} +7 -7
- package/dist/chunks/{ripgrep-wmq3bkd4.js → integration-dpja50vx.js} +8 -8
- package/dist/chunks/{ripgrep-fja6f62c.js → integration-dxt5nwr4.js} +7 -7
- package/dist/chunks/{ripgrep-edy6vzfc.js → integration-e2w4nw67.js} +7 -7
- package/dist/chunks/{ripgrep-2gqjzmey.js → integration-e5d75q9m.js} +34 -34
- package/dist/chunks/{ripgrep-tjedn1bk.js → integration-eahhehpg.js} +4 -4
- package/dist/chunks/{ripgrep-ecfe7b91.js → integration-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-jhz2qgyn.js → integration-efmr7s8w.js} +293 -293
- package/dist/chunks/{ripgrep-b2hpr2td.js → integration-enc8k7eb.js} +14 -14
- package/dist/chunks/{ripgrep-xsrxekss.js → integration-ete09x6f.js} +9 -9
- package/dist/chunks/{ripgrep-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-3w4c8cd5.js → integration-evxqfha7.js} +17 -17
- package/dist/chunks/{ripgrep-cr5th6ty.js → integration-exxm0dv4.js} +30 -30
- package/dist/chunks/{ripgrep-fw2pwnnn.js → integration-f60ve7xe.js} +16 -16
- package/dist/chunks/{ripgrep-v5dkyp31.js → integration-fdv30zvt.js} +7 -7
- package/dist/chunks/{ripgrep-9m91pah8.js → integration-fj3c9ane.js} +6 -6
- package/dist/chunks/{ripgrep-6g52vc25.js → integration-fjnt6npx.js} +18 -18
- package/dist/chunks/{ripgrep-p0kznwb9.js → integration-fndw4the.js} +1 -1
- package/dist/chunks/{ripgrep-hmaez4gc.js → integration-fs86y4y8.js} +22 -22
- package/dist/chunks/{ripgrep-r4zqymag.js → integration-fsmmwzws.js} +22 -22
- package/dist/chunks/{ripgrep-aemfex0m.js → integration-g26xt907.js} +22 -22
- package/dist/chunks/{ripgrep-fq96zpya.js → integration-g2mx06y3.js} +32 -32
- package/dist/chunks/{ripgrep-sdgvmrxh.js → integration-g3nv7gdt.js} +5 -5
- package/dist/chunks/{ripgrep-8enrc4hn.js → integration-g56r92cj.js} +18 -18
- package/dist/chunks/{ripgrep-qg0jgkcp.js → integration-g74mfj6n.js} +9 -9
- package/dist/chunks/{ripgrep-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-94ek1h2f.js → integration-gfvb90ym.js} +2 -2
- package/dist/chunks/{ripgrep-xr6qtqyc.js → integration-h3b20av4.js} +8 -8
- package/dist/chunks/{ripgrep-zhw050v3.js → integration-h3xyrx8k.js} +12 -12
- package/dist/chunks/{ripgrep-h6r3nrb9.js → integration-h6r3nrb9.js} +1 -1
- package/dist/chunks/{ripgrep-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-mawhga53.js → integration-h8pmqzj1.js} +10 -10
- package/dist/chunks/{ripgrep-461gzhy0.js → integration-h8vn6fjj.js} +19 -19
- package/dist/chunks/{ripgrep-70z7e0t6.js → integration-h9055z12.js} +18 -18
- package/dist/chunks/{ripgrep-hc6n7qkh.js → integration-h9qb7c7q.js} +37 -37
- package/dist/chunks/{ripgrep-rh7femja.js → integration-hawc55qt.js} +3 -3
- package/dist/chunks/{ripgrep-rqf72ha7.js → integration-hkxx6036.js} +4 -4
- package/dist/chunks/{ripgrep-3n3n8ks1.js → integration-hwaq6n4f.js} +13 -13
- package/dist/chunks/{ripgrep-4v7ngy20.js → integration-j34bs4nz.js} +4 -4
- package/dist/chunks/{ripgrep-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-jbvsa6eq.js → integration-j6rk38x8.js} +3 -3
- package/dist/chunks/{ripgrep-jhkfvevy.js → integration-j7kkg62r.js} +17 -17
- package/dist/chunks/{ripgrep-ey4ng7y9.js → integration-jmv4csz4.js} +12 -12
- package/dist/chunks/{ripgrep-a5np2jg2.js → integration-jssdqx31.js} +24 -24
- package/dist/chunks/{ripgrep-66xtzngh.js → integration-jw0bqmef.js} +36 -36
- package/dist/chunks/{ripgrep-0r3beqsh.js → integration-jx4jx4s1.js} +2 -2
- package/dist/chunks/{ripgrep-vwwm0ssm.js → integration-jxjcdxd0.js} +25 -25
- package/dist/chunks/{ripgrep-adv251k7.js → integration-k2aj64ym.js} +3 -3
- package/dist/chunks/{ripgrep-k3c624dm.js → integration-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-g3edykf5.js → integration-k5c5twea.js} +26 -26
- package/dist/chunks/{ripgrep-mv0eybxy.js → integration-k8s2g9k3.js} +69 -69
- package/dist/chunks/{ripgrep-aqzfyccc.js → integration-kaqgv1kk.js} +8 -8
- package/dist/chunks/{ripgrep-qcwfdsz9.js → integration-kc8mrxbe.js} +14 -14
- package/dist/chunks/{ripgrep-952mvmqa.js → integration-kcc7mh83.js} +37 -37
- package/dist/chunks/{ripgrep-c6mpbtvn.js → integration-kefef9st.js} +22 -22
- package/dist/chunks/{ripgrep-eff9pjvh.js → integration-kfktj5h5.js} +4 -4
- package/dist/chunks/{ripgrep-71kkrfgw.js → integration-kxw6n92b.js} +13 -13
- package/dist/chunks/{ripgrep-72pre59p.js → integration-m2p4qxhv.js} +31 -31
- package/dist/chunks/{ripgrep-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-d3a20c9v.js → integration-m3v0axb2.js} +3 -3
- package/dist/chunks/{ripgrep-z8ykwhve.js → integration-m601tfh9.js} +18 -18
- package/dist/chunks/{ripgrep-9wp1zfh0.js → integration-m8dxka3f.js} +37 -37
- package/dist/chunks/{ripgrep-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-yhfdknax.js → integration-med42bqn.js} +10 -10
- package/dist/chunks/{ripgrep-tfng5yfz.js → integration-mh4rkcf4.js} +23 -23
- package/dist/chunks/{ripgrep-mhkvc446.js → integration-mhkvc446.js} +1 -1
- package/dist/chunks/{ripgrep-h4ej1pk3.js → integration-mkvne50z.js} +10 -10
- package/dist/chunks/{ripgrep-sc51x728.js → integration-mpthp08p.js} +9 -9
- package/dist/chunks/{ripgrep-mhy5ejww.js → integration-mr90rcr6.js} +12 -12
- package/dist/chunks/{ripgrep-0fn2v7vk.js → integration-mvfdckk2.js} +4 -4
- package/dist/chunks/{ripgrep-zq16ydxf.js → integration-n264kn3f.js} +12 -12
- package/dist/chunks/{ripgrep-zcw9ks1j.js → integration-nf82b3wt.js} +7 -7
- package/dist/chunks/{ripgrep-rvf0m9x6.js → integration-ngts6ef0.js} +8 -8
- package/dist/chunks/{ripgrep-0vzfp6w4.js → integration-npzqcw4h.js} +8 -8
- package/dist/chunks/{ripgrep-gwkc77fa.js → integration-ns7tbk3m.js} +21 -21
- package/dist/chunks/{ripgrep-xtzmd6wt.js → integration-nvrj0150.js} +8 -8
- package/dist/chunks/{ripgrep-9nv1851k.js → integration-nydz2zbj.js} +21 -21
- package/dist/chunks/{ripgrep-6nm8v0bb.js → integration-p0sbmvqz.js} +21 -21
- package/dist/chunks/{ripgrep-64mbz47k.js → integration-p4b86tx8.js} +6 -6
- package/dist/chunks/{ripgrep-vxzh5eqq.js → integration-pc4b88sv.js} +4 -4
- package/dist/chunks/{ripgrep-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-db40k7kg.js → integration-pkfxfszq.js} +19 -19
- package/dist/chunks/{ripgrep-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-wd3x2cqz.js → integration-psazpmmj.js} +2 -2
- package/dist/chunks/{ripgrep-q2b1ymqp.js → integration-q2b1ymqp.js} +1 -1
- package/dist/chunks/{ripgrep-n2t9j3sy.js → integration-q7z079fr.js} +21 -21
- package/dist/chunks/{ripgrep-fnjd7ews.js → integration-qf0b0eax.js} +9 -9
- package/dist/chunks/{ripgrep-kehckfbc.js → integration-qf37nfnm.js} +1 -1
- package/dist/chunks/{ripgrep-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-kmpmz7ta.js → integration-qv1j0f1d.js} +16 -16
- package/dist/chunks/{ripgrep-9jn68dry.js → integration-r0bd36fr.js} +2 -2
- package/dist/chunks/{ripgrep-2wd0qsc7.js → integration-r0d7dx27.js} +82 -82
- package/dist/chunks/{ripgrep-ptm9s311.js → integration-r1mh77dy.js} +23 -23
- package/dist/chunks/{ripgrep-m0txghk3.js → integration-r280vhkp.js} +6 -6
- package/dist/chunks/{ripgrep-sqf5tk1d.js → integration-rbkd2d5v.js} +8 -8
- package/dist/chunks/{ripgrep-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-t550f9t1.js → integration-rhjbct0v.js} +4 -4
- package/dist/chunks/{ripgrep-jvf3yq6v.js → integration-rpg9c19m.js} +4 -4
- package/dist/chunks/{ripgrep-zeh9ct20.js → integration-rq775frq.js} +2 -2
- package/dist/chunks/{ripgrep-gqzgrd8f.js → integration-rzep3kdk.js} +42 -42
- package/dist/chunks/{ripgrep-yph78zey.js → integration-s00bxgng.js} +24 -24
- package/dist/chunks/{ripgrep-nbzsj80d.js → integration-s0k7kba5.js} +8 -8
- package/dist/chunks/{ripgrep-2dym5fsc.js → integration-s2eagjy5.js} +24 -24
- package/dist/chunks/{ripgrep-e7g2j36k.js → integration-s3g84wna.js} +9 -9
- package/dist/chunks/{ripgrep-b1dgk78w.js → integration-s9htjpym.js} +17 -17
- package/dist/chunks/{ripgrep-qsaqrdx1.js → integration-s9taesah.js} +11 -11
- package/dist/chunks/{ripgrep-nwx73hp2.js → integration-sht10b59.js} +35 -35
- package/dist/chunks/{ripgrep-192mpch6.js → integration-sn41jhqx.js} +13 -13
- package/dist/chunks/{ripgrep-hgbe9dcz.js → integration-ssx3zy79.js} +20 -20
- package/dist/chunks/{ripgrep-re9s8qmv.js → integration-t5ey9jjv.js} +39 -39
- package/dist/chunks/{ripgrep-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → integration-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-3qr7k6ss.js → integration-tchf8bzg.js} +7 -7
- package/dist/chunks/{ripgrep-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-d7gjgrs2.js → integration-tffktew3.js} +1 -1
- package/dist/chunks/{ripgrep-d2ztc3sk.js → integration-tgcnk5sw.js} +12 -12
- package/dist/chunks/{ripgrep-tvtrv512.js → integration-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-sw8epyzb.js → integration-txe61999.js} +32 -32
- package/dist/chunks/{ripgrep-g9t1zgfv.js → integration-txzsewg6.js} +28 -28
- package/dist/chunks/{ripgrep-hg7raqqh.js → integration-v4r6ds62.js} +2 -2
- package/dist/chunks/{ripgrep-nav1p6g3.js → integration-v7tbbmm7.js} +8 -8
- package/dist/chunks/{ripgrep-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-gfj3dknr.js → integration-vzfyd6yh.js} +16 -16
- package/dist/chunks/{ripgrep-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-rph3zd4r.js → integration-w4arg62q.js} +4 -4
- package/dist/chunks/{ripgrep-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-6qdhg23j.js → integration-wefqzq4f.js} +289 -289
- package/dist/chunks/{ripgrep-e5d0vv29.js → integration-wnys78fq.js} +5 -5
- package/dist/chunks/{ripgrep-c6ajamfk.js → integration-wzmaxvc9.js} +32 -32
- package/dist/chunks/{ripgrep-ddfm2d7g.js → integration-wztfhms8.js} +3 -3
- package/dist/chunks/{ripgrep-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-xkntkrq7.js → integration-xkntkrq7.js} +2 -2
- package/dist/chunks/{ripgrep-axtjp1k3.js → integration-xn76t6fc.js} +19 -19
- package/dist/chunks/{ripgrep-v2yjcsz6.js → integration-xr72202b.js} +3 -3
- package/dist/chunks/{ripgrep-fw181sc9.js → integration-xsgk3b13.js} +9 -9
- package/dist/chunks/{ripgrep-xvp1j2dc.js → integration-xvp1j2dc.js} +2 -2
- package/dist/chunks/{ripgrep-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-653z4qt3.js → integration-y3ems7z9.js} +10 -10
- package/dist/chunks/{ripgrep-hfeaaxxs.js → integration-y5sjzhg5.js} +4 -4
- package/dist/chunks/{ripgrep-dpkg50ah.js → integration-y71avatq.js} +4 -4
- package/dist/chunks/{ripgrep-23nkdrsj.js → integration-y9vg1scn.js} +10 -10
- package/dist/chunks/{ripgrep-hn5zg849.js → integration-ycwy6ex1.js} +20 -20
- package/dist/chunks/{ripgrep-eehp0yw8.js → integration-yesqp7fw.js} +27 -27
- package/dist/chunks/{ripgrep-6kxy4d36.js → integration-yfj39tds.js} +26 -26
- package/dist/chunks/{ripgrep-vb9j5e0s.js → integration-yqrrhp5w.js} +16 -16
- package/dist/chunks/{ripgrep-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → integration-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-gv6a8nnw.js → integration-yyb7tjpc.js} +2 -2
- package/dist/chunks/{ripgrep-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z63w68vq.js → integration-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-wwm7g6wd.js → integration-zbsarep8.js} +11 -11
- package/dist/chunks/{ripgrep-mm13q5bj.js → integration-zd5r1z3p.js} +37 -37
- package/dist/chunks/{ripgrep-1njemvak.js → integration-zfsz7c4a.js} +9 -9
- package/dist/chunks/{ripgrep-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-1tanxn91.js → integration-zywn5321.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +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 +123 -123
- 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 +122 -122
- 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 +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- 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 +371 -371
- 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 +93 -93
- 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 +9 -9
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- 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 +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 +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 +75 -75
- 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 +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- 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 +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +93 -93
- 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 +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +224 -224
- 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 +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +84 -84
- 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 +1 -1
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- 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 +232 -232
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +15 -15
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +108 -108
- 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 +10 -10
- 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 +5 -5
- package/dist/v1/config/config.js +14 -14
- 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 +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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/ripgrep-54jdj5x0.js +0 -252
- package/dist/chunks/ripgrep-fn1xezbj.js +0 -26
- package/dist/chunks/ripgrep-ht5y0zrb.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → integration-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → integration-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → integration-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-wztfhms8.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-bxp2jpa1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./integration-tgcnk5sw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-d9s573fh.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./integration-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info33,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-bxp2jpa1.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service45,
|
|
17
|
+
node48
|
|
18
|
+
} from "./integration-ssx3zy79.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./integration-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info17,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service44,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node47
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info17 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service44 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service45;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info17.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info17.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service44.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node47 = makeLocationNode({
|
|
116
|
+
service: Service44,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node48]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info17, Service44, node47, exports_reference2, Event8 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info12
|
|
6
|
+
} from "./integration-a8bn8zg0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info11
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info12)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info11, exports_agent3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./integration-4wdgh5xv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./integration-m601tfh9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service8
|
|
12
|
+
} from "./integration-xn76t6fc.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./integration-41xbg949.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin39,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name3,
|
|
39
39
|
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin39 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service18;
|
|
63
|
+
const sessionInstructions = yield* Service8;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name3, Input3, Plugin39, toModelContent3, exports_read };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./integration-4wdgh5xv.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-4p773rn4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin8,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin8 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin8, exports_hg };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-bxp2jpa1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./integration-4wdgh5xv.js";
|
|
13
13
|
import {
|
|
14
|
-
rewrite2,
|
|
15
14
|
ID13,
|
|
16
15
|
modelSettings2,
|
|
17
16
|
mergeOverlay2,
|
|
18
17
|
mergeHeaders2,
|
|
19
18
|
Service76,
|
|
20
19
|
node80,
|
|
21
|
-
Event17
|
|
22
|
-
|
|
20
|
+
Event17,
|
|
21
|
+
rewrite2
|
|
22
|
+
} from "./integration-wefqzq4f.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -37,10 +37,10 @@ __export(exports_model2, {
|
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node79,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
@@ -58,12 +58,12 @@ var Cost2 = Model.Cost;
|
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
59
|
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
64
64
|
const providers = yield* Service76;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service75.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -233,4 +233,4 @@ function parse5(input) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26,
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service75, node79, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
|
+
layer: () => layer18,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node53,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer18 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
|
|
33
|
+
var node53 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer18, configured9, node53, exports_app };
|