@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-bxp2jpa1.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-g26xt907.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError2,
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service13,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured2,
|
|
25
|
+
layer: () => layer8,
|
|
26
|
+
node: () => node16
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service13 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service13, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service58, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service58, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service58, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service13.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service58, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer8 = makeLayer();
|
|
259
|
+
var configured2 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service13,
|
|
261
|
+
layer: options === undefined ? layer8 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node16 = configured2();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError2, Service13, layer8, configured2, node16, exports_persistent_pty, Handoff2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-wztfhms8.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-bxp2jpa1.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-kaqgv1kk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service59,
|
|
21
|
+
node62
|
|
22
|
+
} from "./integration-n264kn3f.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service22,
|
|
25
|
+
node25
|
|
26
|
+
} from "./integration-r0d7dx27.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service5,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node7
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service5 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service22;
|
|
65
|
+
const store = yield* Service59;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service5.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node7 = makeLocationNode({
|
|
151
|
+
service: Service5,
|
|
152
|
+
layer: layer5,
|
|
153
|
+
deps: [node87, llmClient2, node25, node62, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service5, isUntitled2, layer5, node7, exports_title };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-wztfhms8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-bxp2jpa1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./integration-d0k1g5nx.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-922hggd3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./integration-fs86y4y8.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-j6rk38x8.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-bjtzbw4r.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,11 +42,11 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service54;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
49
|
+
const snapshot = yield* Service43;
|
|
50
50
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
@@ -74,10 +74,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service54;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service43;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
83
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-bxp2jpa1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./integration-4wdgh5xv.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./integration-t5ey9jjv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin17 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service32;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin17, exports_command };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./integration-tgcnk5sw.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-wztfhms8.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-bxp2jpa1.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-psazpmmj.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./integration-gfvb90ym.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
ID17,
|
|
27
|
+
NotFoundError11
|
|
28
|
+
} from "./integration-rzep3kdk.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-4wdgh5xv.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service57,
|
|
34
|
+
node60
|
|
35
|
+
} from "./integration-mpthp08p.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./integration-yyb7tjpc.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./integration-wnys78fq.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service16
|
|
45
|
+
} from "./integration-h8vn6fjj.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./integration-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
56
|
Event: () => Event4,
|
|
57
|
-
Info: () =>
|
|
57
|
+
Info: () => Info4,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service15,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node18
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,13 +77,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info4 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -96,20 +96,20 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
96
96
|
}
|
|
97
97
|
var Event4 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service15 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service57;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError11({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service16).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service15.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node18 = Node.makeGlobalNode({
|
|
265
|
+
service: Service15,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node60]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service15, node18, exports_worktree2, OperationError2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service37
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-9erc8nq9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./integration-fs86y4y8.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin30 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
26
|
const config = yield* Service37;
|
|
27
|
-
const snapshot = yield*
|
|
27
|
+
const snapshot = yield* Service43;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin34 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin30, exports_snapshot };
|