@opencode/core 0.0.0-dev-20297 → 0.0.0-dev-20303
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{vcs-h5vcs21w.js → ripgrep-00bkszwx.js} +23 -23
- package/dist/chunks/{vcs-5gwm7s57.js → ripgrep-0939078r.js} +3 -3
- package/dist/chunks/{vcs-9jzp6rtr.js → ripgrep-0996nyz8.js} +9 -9
- package/dist/chunks/{vcs-kzcxnww5.js → ripgrep-0ahrpcjw.js} +7 -7
- package/dist/chunks/{vcs-ymss648d.js → ripgrep-0b5t2wwf.js} +9 -9
- package/dist/chunks/{vcs-8jxztqqt.js → ripgrep-0f9afca0.js} +5 -5
- package/dist/chunks/{vcs-5k1yf8nh.js → ripgrep-0j9j0cr0.js} +22 -22
- package/dist/chunks/{vcs-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0a1dfz7r.js → ripgrep-18qa6r1n.js} +16 -16
- package/dist/chunks/{vcs-72f4v86y.js → ripgrep-1d3bftpa.js} +11 -11
- package/dist/chunks/{vcs-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-pxpwb23y.js → ripgrep-1jd7dvgb.js} +17 -17
- package/dist/chunks/{vcs-wr6f3qv2.js → ripgrep-1m0xqqrr.js} +14 -14
- package/dist/chunks/{vcs-cf7p89xb.js → ripgrep-1nkg8qc4.js} +12 -12
- package/dist/chunks/{vcs-56gdpj1q.js → ripgrep-1ygqh575.js} +9 -9
- package/dist/chunks/{vcs-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-37sfe3bm.js → ripgrep-2pdg46mn.js} +11 -11
- package/dist/chunks/{vcs-zd5bv8nv.js → ripgrep-2qtr0tge.js} +44 -44
- package/dist/chunks/{vcs-755ktwre.js → ripgrep-2t95j9c0.js} +24 -24
- package/dist/chunks/{vcs-qv52y0kk.js → ripgrep-2x0wkexj.js} +22 -22
- package/dist/chunks/{vcs-18296zga.js → ripgrep-2xqghjp6.js} +3 -3
- package/dist/chunks/ripgrep-31wx1wqg.js +424 -0
- package/dist/chunks/{vcs-rp8jz6x1.js → ripgrep-35agz59w.js} +4 -4
- package/dist/chunks/{vcs-vktfeg91.js → ripgrep-37m9xwpn.js} +24 -24
- package/dist/chunks/ripgrep-38phvaps.js +252 -0
- package/dist/chunks/{vcs-7j156qnj.js → ripgrep-3c4e9bh1.js} +7 -7
- package/dist/chunks/{vcs-83ww5tb3.js → ripgrep-3es9bxre.js} +15 -15
- package/dist/chunks/{vcs-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-yvshgw5k.js → ripgrep-3kkw8qnw.js} +21 -21
- package/dist/chunks/{vcs-983bx4tv.js → ripgrep-3p17jnne.js} +11 -11
- package/dist/chunks/{vcs-ng7678yv.js → ripgrep-3skt28fc.js} +3 -3
- package/dist/chunks/{vcs-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-4e9nfnk1.js → ripgrep-3v1h8cz5.js} +57 -57
- package/dist/chunks/{vcs-3y377wv9.js → ripgrep-3y377wv9.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-6erhv98a.js → ripgrep-4438m4a7.js} +18 -18
- package/dist/chunks/{vcs-y8s8f6j8.js → ripgrep-4858gwxg.js} +43 -43
- package/dist/chunks/{vcs-1h0nj16t.js → ripgrep-4gr8y5nf.js} +20 -20
- package/dist/chunks/{vcs-fhcrmec4.js → ripgrep-4k5pyaj2.js} +10 -10
- package/dist/chunks/{vcs-wn21040f.js → ripgrep-4nj6keg1.js} +18 -18
- package/dist/chunks/{vcs-w9h9v0y2.js → ripgrep-4pdcrpe9.js} +13 -13
- package/dist/chunks/{vcs-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-yavzwk2n.js → ripgrep-552s6kfz.js} +15 -15
- package/dist/chunks/{vcs-d9s573fh.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-hkagk5ex.js → ripgrep-5frpvc34.js} +2 -2
- package/dist/chunks/{vcs-j5r7mnag.js → ripgrep-5gxtf2ep.js} +27 -27
- package/dist/chunks/{vcs-q9xmsq5j.js → ripgrep-5hcrxyky.js} +6 -6
- package/dist/chunks/{vcs-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{vcs-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-6fza0gtm.js → ripgrep-5vqak28j.js} +15 -15
- package/dist/chunks/{vcs-3wgpjb8z.js → ripgrep-632bft3r.js} +19 -19
- package/dist/chunks/{vcs-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{vcs-tj141g8h.js → ripgrep-695yb3ne.js} +19 -19
- package/dist/chunks/{vcs-rt6eccz9.js → ripgrep-6ejtffh2.js} +19 -19
- package/dist/chunks/{vcs-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-xat61z3k.js → ripgrep-6ne0j7pm.js} +11 -11
- package/dist/chunks/{vcs-73tb2d7t.js → ripgrep-73tb2d7t.js} +1 -1
- package/dist/chunks/{vcs-teyc4whj.js → ripgrep-74a0hazz.js} +11 -11
- package/dist/chunks/{vcs-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-2k8khapm.js → ripgrep-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-np4zyaxz.js → ripgrep-7j2mf0b2.js} +8 -8
- package/dist/chunks/{vcs-rkj6e36x.js → ripgrep-7y05g5y6.js} +5 -5
- package/dist/chunks/{vcs-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{vcs-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-k3g1rb3k.js → ripgrep-8djhgsab.js} +22 -22
- package/dist/chunks/{vcs-s8anskx2.js → ripgrep-8epfg41c.js} +8 -8
- package/dist/chunks/{vcs-fwv01ez0.js → ripgrep-8gy77n4q.js} +12 -12
- package/dist/chunks/{vcs-1djhwe97.js → ripgrep-8jsvkn40.js} +31 -31
- package/dist/chunks/{vcs-ndmv45hp.js → ripgrep-8q7cq0y1.js} +3 -3
- package/dist/chunks/{vcs-pxkhtqdc.js → ripgrep-8qxm69fb.js} +19 -19
- package/dist/chunks/{vcs-eef36fdw.js → ripgrep-8vxvqh3p.js} +23 -23
- package/dist/chunks/{vcs-knevfgda.js → ripgrep-8wbxkt1z.js} +4 -4
- package/dist/chunks/{vcs-2gqdr94z.js → ripgrep-92z2dgw1.js} +3 -3
- package/dist/chunks/{vcs-gfvb90ym.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{vcs-3pebang0.js → ripgrep-9gjvwznx.js} +25 -25
- package/dist/chunks/{vcs-k8t255qq.js → ripgrep-9tn9hv36.js} +35 -35
- package/dist/chunks/{vcs-pgwqr8ee.js → ripgrep-9x50181g.js} +12 -12
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{vcs-62ezrtah.js → ripgrep-a2tjj438.js} +92 -92
- package/dist/chunks/{vcs-4acqjqp7.js → ripgrep-aa6tf4fy.js} +22 -22
- package/dist/chunks/{vcs-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-x3an4z7c.js → ripgrep-ab4nhn8b.js} +6 -6
- package/dist/chunks/{vcs-3vbw7yca.js → ripgrep-ag1tg3gv.js} +32 -32
- package/dist/chunks/{vcs-p2etx821.js → ripgrep-amjwwp15.js} +22 -22
- package/dist/chunks/{vcs-y5hhwgev.js → ripgrep-ay7z0nzh.js} +13 -13
- package/dist/chunks/{vcs-b8d4rmcw.js → ripgrep-b1k697tw.js} +9 -9
- package/dist/chunks/{vcs-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-keqjy1g6.js → ripgrep-bahgfxtd.js} +26 -26
- package/dist/chunks/{vcs-42kdhqse.js → ripgrep-bea85hdf.js} +3 -3
- package/dist/chunks/{vcs-cq46pgcx.js → ripgrep-bgxcxs0p.js} +5 -5
- package/dist/chunks/{vcs-svaspcxn.js → ripgrep-bhzbay2t.js} +5 -5
- package/dist/chunks/{vcs-fzd0b8n6.js → ripgrep-bm4pzggq.js} +21 -21
- package/dist/chunks/{vcs-724n6vts.js → ripgrep-bs1d3dhn.js} +3 -3
- package/dist/chunks/{vcs-4z58m4b4.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{vcs-54tcyq79.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{vcs-v4aesa73.js → ripgrep-ckr8yqr6.js} +5 -5
- package/dist/chunks/{vcs-p9kt6re1.js → ripgrep-cx34d9wd.js} +11 -11
- package/dist/chunks/{vcs-56dsz7qa.js → ripgrep-cztphjx7.js} +332 -332
- package/dist/chunks/{vcs-gx21vd1f.js → ripgrep-d21fb1vq.js} +13 -13
- package/dist/chunks/{vcs-f2wfspan.js → ripgrep-d450k981.js} +8 -8
- package/dist/chunks/{vcs-5p6nskts.js → ripgrep-d8s5zaak.js} +18 -18
- package/dist/chunks/{vcs-q54gewa9.js → ripgrep-d9wxm2fe.js} +8 -8
- package/dist/chunks/{vcs-dds4m2b5.js → ripgrep-dc0h2f5m.js} +10 -10
- package/dist/chunks/{vcs-h6dd5nj3.js → ripgrep-deajr4zv.js} +11 -11
- package/dist/chunks/{vcs-cqtvvg9q.js → ripgrep-dj9sq318.js} +5 -5
- package/dist/chunks/{vcs-cwa6csj7.js → ripgrep-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-3s57j9d0.js → ripgrep-dq3vednk.js} +15 -15
- package/dist/chunks/{vcs-3cvhxgkj.js → ripgrep-dr2s0fjn.js} +12 -12
- package/dist/chunks/{vcs-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{vcs-xna4x1sn.js → ripgrep-dtyy8xh0.js} +18 -18
- package/dist/chunks/{vcs-76zvcd1g.js → ripgrep-dvs6zpk2.js} +39 -39
- package/dist/chunks/{vcs-0876npy8.js → ripgrep-e0rfdckv.js} +13 -13
- package/dist/chunks/{vcs-3h8yw40x.js → ripgrep-e4dzh796.js} +9 -9
- package/dist/chunks/{vcs-zcws0pck.js → ripgrep-e65wgfyf.js} +9 -9
- package/dist/chunks/{vcs-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{vcs-mcjvxj01.js → ripgrep-eefdys5x.js} +4 -4
- package/dist/chunks/{vcs-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-8041njv8.js → ripgrep-eqd5gpxy.js} +42 -42
- package/dist/chunks/{vcs-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-rfd4cgzf.js → ripgrep-f6ejcacf.js} +35 -31
- package/dist/chunks/{vcs-bvkd440q.js → ripgrep-f7xy0jcj.js} +15 -15
- package/dist/chunks/{vcs-wrb545ka.js → ripgrep-fbxnn3zg.js} +41 -41
- package/dist/chunks/{vcs-cw54z5t2.js → ripgrep-febda8v4.js} +15 -15
- package/dist/chunks/{vcs-8nqy64kg.js → ripgrep-ff3zzamp.js} +32 -32
- package/dist/chunks/{vcs-6j71bdrn.js → ripgrep-fj137pk4.js} +4 -4
- package/dist/chunks/{vcs-mdm5j4bj.js → ripgrep-fk34k8b0.js} +84 -84
- package/dist/chunks/{vcs-3556dn8t.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{vcs-0tqkw5bw.js → ripgrep-fq5zwzwv.js} +18 -18
- package/dist/chunks/{vcs-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-6e5bh3xz.js → ripgrep-gmfetzq4.js} +27 -27
- package/dist/chunks/{vcs-yyb7tjpc.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-rr7w9yzr.js → ripgrep-gvrdb957.js} +11 -11
- package/dist/chunks/{vcs-dsazm5eh.js → ripgrep-h2r7bbkd.js} +9 -9
- package/dist/chunks/{vcs-wjrrvf51.js → ripgrep-h3whq8hs.js} +10 -10
- package/dist/chunks/{vcs-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-ejm60891.js → ripgrep-h93zm1px.js} +7 -7
- package/dist/chunks/{vcs-e8qyrgb1.js → ripgrep-hbyhqfhs.js} +5 -5
- package/dist/chunks/{vcs-qtf7ajd6.js → ripgrep-hzxzc04q.js} +24 -24
- package/dist/chunks/{vcs-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-9z431jrj.js → ripgrep-j6rk38x8.js} +9 -9
- package/dist/chunks/{vcs-5v1c364k.js → ripgrep-j726xjcb.js} +28 -28
- package/dist/chunks/{vcs-s4cpw0g8.js → ripgrep-je856w56.js} +11 -11
- package/dist/chunks/{vcs-grbear6k.js → ripgrep-jkfm4w29.js} +28 -28
- package/dist/chunks/{vcs-zffvdhag.js → ripgrep-jpz1sap8.js} +12 -12
- package/dist/chunks/{vcs-0z1gmn2q.js → ripgrep-jr0j7mve.js} +6 -6
- package/dist/chunks/{vcs-6mg6ac8r.js → ripgrep-jtkxxjqx.js} +14 -14
- package/dist/chunks/{vcs-xdk9p2qn.js → ripgrep-jw80jp6b.js} +21 -21
- package/dist/chunks/{vcs-b61wnr05.js → ripgrep-jzq9sbf8.js} +38 -38
- package/dist/chunks/{vcs-4q8m0zqq.js → ripgrep-k06t1zgt.js} +13 -13
- package/dist/chunks/{vcs-gs4tkc79.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{vcs-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-bxbtj1qd.js → ripgrep-k40x70x4.js} +8 -8
- package/dist/chunks/{vcs-n8c291r7.js → ripgrep-k8e0krnc.js} +9 -9
- package/dist/chunks/{vcs-mwfejemj.js → ripgrep-kb333kjr.js} +9 -9
- package/dist/chunks/{vcs-7zpeh0yx.js → ripgrep-kb6vbnxp.js} +4 -4
- package/dist/chunks/{vcs-1ekk4s7j.js → ripgrep-kcetpk2c.js} +12 -12
- package/dist/chunks/{vcs-ptm59064.js → ripgrep-kmjdna7m.js} +48 -48
- package/dist/chunks/{vcs-mvn2r3z4.js → ripgrep-m2d0j7c0.js} +9 -9
- package/dist/chunks/{vcs-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-v0xjps6b.js → ripgrep-m4v4sst7.js} +31 -31
- package/dist/chunks/{vcs-1v2b2k63.js → ripgrep-m74y7a9x.js} +14 -14
- package/dist/chunks/{vcs-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-c7h0x4yk.js → ripgrep-mjpfq375.js} +21 -21
- package/dist/chunks/{vcs-61zp4wnv.js → ripgrep-mtf32xg9.js} +11 -11
- package/dist/chunks/{vcs-njx86ncx.js → ripgrep-mwyh8wfh.js} +27 -27
- package/dist/chunks/{vcs-ntmafhxh.js → ripgrep-n0gf5ey7.js} +21 -21
- package/dist/chunks/{vcs-86n330eh.js → ripgrep-n1ka8r9d.js} +4 -4
- package/dist/chunks/{vcs-tstnsxca.js → ripgrep-n3fk10xz.js} +25 -25
- package/dist/chunks/{vcs-axj6q4j4.js → ripgrep-n50qm4s2.js} +49 -49
- package/dist/chunks/{vcs-jcs87n6r.js → ripgrep-ngymw408.js} +4 -4
- package/dist/chunks/{vcs-ehn7vv3c.js → ripgrep-nhvjymvq.js} +21 -21
- package/dist/chunks/{vcs-khxyc70q.js → ripgrep-nn5bpfje.js} +9 -9
- package/dist/chunks/{vcs-3y1r2rpt.js → ripgrep-nqfwyc43.js} +8 -8
- package/dist/chunks/{vcs-1esepqbd.js → ripgrep-nsth5a41.js} +37 -37
- package/dist/chunks/{vcs-44txpx69.js → ripgrep-p97ze781.js} +23 -23
- package/dist/chunks/{vcs-8v6pyhej.js → ripgrep-pa8pe2x7.js} +8 -8
- package/dist/chunks/{vcs-5sz650yn.js → ripgrep-pf2cvmpq.js} +73 -73
- package/dist/chunks/{vcs-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-9h4501ja.js → ripgrep-pmg28md7.js} +1 -1
- package/dist/chunks/{vcs-66j8y0n9.js → ripgrep-pnh2hy2c.js} +23 -23
- package/dist/chunks/{vcs-88k66p5t.js → ripgrep-pqcvfzvm.js} +36 -36
- package/dist/chunks/{vcs-erwyzksv.js → ripgrep-pttkx1dj.js} +27 -27
- package/dist/chunks/{vcs-yqnvcheb.js → ripgrep-pvvafe22.js} +10 -10
- package/dist/chunks/ripgrep-pwr21gwd.js +26 -0
- package/dist/chunks/{vcs-dda0p7y7.js → ripgrep-px76j0pk.js} +9 -9
- package/dist/chunks/{vcs-pjz0zcv2.js → ripgrep-pxvtywqb.js} +11 -11
- package/dist/chunks/{vcs-cb6xbnd9.js → ripgrep-q13923st.js} +2 -2
- package/dist/chunks/{vcs-3kbhjp3q.js → ripgrep-q1v5hekz.js} +11 -11
- package/dist/chunks/{vcs-hh4v7266.js → ripgrep-q26n4fcx.js} +14 -14
- package/dist/chunks/{vcs-q2k50tdt.js → ripgrep-q6kv5hce.js} +35 -35
- package/dist/chunks/{vcs-j7y1n5ns.js → ripgrep-q9m9wzt0.js} +19 -19
- package/dist/chunks/{vcs-40e80s20.js → ripgrep-qa3v0gpg.js} +24 -24
- package/dist/chunks/{vcs-44m1ppkf.js → ripgrep-qbv4sgsg.js} +44 -44
- package/dist/chunks/{vcs-28nztbsp.js → ripgrep-qcbzzkxa.js} +32 -32
- package/dist/chunks/{vcs-jh1zbppd.js → ripgrep-qfchpyts.js} +27 -27
- package/dist/chunks/{vcs-n4z35x1w.js → ripgrep-qrgme6ew.js} +9 -9
- package/dist/chunks/{vcs-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-szpqyd6h.js → ripgrep-qwhsc8p7.js} +18 -18
- package/dist/chunks/{vcs-1fw2a5v8.js → ripgrep-qx1x9vga.js} +22 -22
- package/dist/chunks/{vcs-msq4ntpz.js → ripgrep-qzqedjgs.js} +28 -28
- package/dist/chunks/{vcs-wc17nh9t.js → ripgrep-r2rgjgj7.js} +33 -33
- package/dist/chunks/{vcs-ydgy0jv4.js → ripgrep-r7nsrefv.js} +6 -6
- package/dist/chunks/{vcs-ww82v16z.js → ripgrep-r9w59ptg.js} +25 -25
- package/dist/chunks/{vcs-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-ct913see.js → ripgrep-rk6ps10a.js} +5 -5
- package/dist/chunks/{vcs-38adaqc0.js → ripgrep-rkdvqggb.js} +5 -5
- package/dist/chunks/{vcs-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
- package/dist/chunks/{vcs-304ndgye.js → ripgrep-rnk4bdv4.js} +21 -21
- package/dist/chunks/{vcs-yr5w62k6.js → ripgrep-rthtq9ap.js} +20 -20
- package/dist/chunks/{vcs-hv3dmpp2.js → ripgrep-s5hrj64x.js} +20 -20
- package/dist/chunks/{vcs-vqfzq50h.js → ripgrep-sd5f6jdk.js} +6 -6
- package/dist/chunks/{vcs-7854zz5a.js → ripgrep-sfpzfcnw.js} +3 -3
- package/dist/chunks/{vcs-s1kdbxwg.js → ripgrep-sj415v3s.js} +10 -10
- package/dist/chunks/{vcs-7rwqf82v.js → ripgrep-sm965ndy.js} +8 -8
- package/dist/chunks/{vcs-3aq2526j.js → ripgrep-srep0201.js} +48 -48
- package/dist/chunks/{vcs-4mtvmndk.js → ripgrep-szsbf3na.js} +4 -4
- package/dist/chunks/{vcs-rhjbct0v.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{vcs-70vk70yg.js → ripgrep-t849abxh.js} +5 -5
- package/dist/chunks/{vcs-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-dyrwyt65.js → ripgrep-tdmq7741.js} +38 -38
- package/dist/chunks/{vcs-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-qbqbaz6q.js → ripgrep-tjedn1bk.js} +4 -4
- package/dist/chunks/{vcs-x5es4t48.js → ripgrep-tk70hm4f.js} +33 -33
- package/dist/chunks/{vcs-btsrk6c2.js → ripgrep-ts8814z6.js} +16 -16
- package/dist/chunks/{vcs-py6tvht3.js → ripgrep-ttpyk6f9.js} +9 -9
- package/dist/chunks/{vcs-hn57h045.js → ripgrep-ttqh24zm.js} +4 -4
- package/dist/chunks/{vcs-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-ratrq7cm.js → ripgrep-v5dkyp31.js} +4 -4
- package/dist/chunks/{vcs-f7sbcs1s.js → ripgrep-v5fx191f.js} +26 -26
- package/dist/chunks/{vcs-s9ampnzs.js → ripgrep-v6695139.js} +11 -11
- package/dist/chunks/{vcs-4j9evkcm.js → ripgrep-v89pjvzk.js} +8 -8
- package/dist/chunks/{vcs-vtg51jxy.js → ripgrep-v9htzwy6.js} +33 -33
- package/dist/chunks/{vcs-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-dfe8djrf.js → ripgrep-vncycja5.js} +4 -4
- package/dist/chunks/{vcs-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-was7srj9.js → ripgrep-w1ad28wa.js} +8 -8
- package/dist/chunks/{vcs-84txncab.js → ripgrep-w1eejvng.js} +5 -5
- package/dist/chunks/{vcs-5p9dmvg9.js → ripgrep-w2y23yj1.js} +13 -13
- package/dist/chunks/{vcs-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-8vf9p1vn.js → ripgrep-w8wd44rg.js} +21 -21
- package/dist/chunks/{vcs-psazpmmj.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{vcs-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-n62nckym.js → ripgrep-whp3wsjn.js} +11 -11
- package/dist/chunks/{vcs-p4q1g30v.js → ripgrep-wj1rks9h.js} +37 -37
- package/dist/chunks/{vcs-c8m1ndyk.js → ripgrep-wpzekwss.js} +6 -6
- package/dist/chunks/{vcs-dfh0xed5.js → ripgrep-ws6q902r.js} +5 -5
- package/dist/chunks/{vcs-bp5zn84r.js → ripgrep-wybk36vp.js} +10 -10
- package/dist/chunks/{vcs-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-bm3qhbmn.js → ripgrep-x591492r.js} +17 -17
- package/dist/chunks/{vcs-9f9b48nn.js → ripgrep-x7xnx0we.js} +20 -20
- package/dist/chunks/{vcs-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{vcs-s2ynmxvy.js → ripgrep-xsbrecyh.js} +12 -12
- package/dist/chunks/{vcs-8zh4h089.js → ripgrep-xvp1j2dc.js} +5 -5
- package/dist/chunks/{vcs-rf0rwq9q.js → ripgrep-y1cgxa56.js} +16 -16
- package/dist/chunks/{vcs-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-7enbc4fp.js → ripgrep-ycg97etn.js} +170 -170
- package/dist/chunks/{vcs-293305v0.js → ripgrep-yhc2xmq5.js} +1 -1
- package/dist/chunks/{vcs-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{vcs-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-231222c6.js → ripgrep-ytbta4pq.js} +4 -4
- package/dist/chunks/{vcs-qz3g8v3b.js → ripgrep-yxj4ckh3.js} +20 -20
- package/dist/chunks/{vcs-wycg3qep.js → ripgrep-yyksnw28.js} +18 -18
- package/dist/chunks/{vcs-bjtzbw4r.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{vcs-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-8n9ym7bh.js → ripgrep-z1t4ccqy.js} +8 -8
- package/dist/chunks/{vcs-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{vcs-2sv6eqec.js → ripgrep-zbzhtaz8.js} +7 -7
- package/dist/chunks/{vcs-z5g6ermd.js → ripgrep-zd5925e4.js} +10 -10
- package/dist/chunks/{vcs-rq775frq.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-hk4fmd6v.js → ripgrep-zexvq6re.js} +30 -30
- package/dist/chunks/{vcs-hndg17wg.js → ripgrep-zgfpqdce.js} +40 -40
- package/dist/chunks/{vcs-y7a3vg46.js → ripgrep-zmyzpzwz.js} +5 -5
- package/dist/chunks/{vcs-vrq98xzz.js → ripgrep-zn4xb62a.js} +18 -18
- package/dist/chunks/{vcs-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-9k60352s.js → ripgrep-zrc0yy2v.js} +21 -21
- package/dist/chunks/{vcs-n0tq777j.js → ripgrep-zrq8kphx.js} +8 -8
- package/dist/chunks/{vcs-2kzd1k6y.js → ripgrep-zwet3d57.js} +27 -27
- package/dist/chunks/{vcs-cnj8r2zb.js → ripgrep-zxf6vy87.js} +12 -12
- package/dist/chunks/{vcs-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +95 -95
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -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 +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +74 -74
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +335 -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/chatgpt.js +104 -0
- 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 +78 -78
- 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 +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- 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 +1 -1
- 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 +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +114 -114
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- 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 +14 -14
- package/dist/types/plugin/provider/chatgpt.d.ts +33 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +9 -8
- package/dist/chunks/vcs-5bzc4ph3.js +0 -26
- package/dist/chunks/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-ryxm5mwn.js +0 -252
- /package/dist/chunks/{vcs-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node64
|
|
4
|
+
} from "./ripgrep-qbv4sgsg.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-8q7cq0y1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service56,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node59,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service56 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service61;
|
|
59
|
+
return Service56.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node59 = makeLocationNode({ service: Service56, layer, deps: [node64] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service56, resolved2, node59, exports_model };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./ripgrep-xsbrecyh.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make21
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make21 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service83;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make21, exports_git2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./ripgrep-q26n4fcx.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service48,
|
|
17
|
+
node: () => node52
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service48 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service78;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service48.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node52 = makeLocationNode({
|
|
91
|
+
service: Service48,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node82, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service48, node52, exports_formatter3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./ripgrep-kcetpk2c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service14,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./ripgrep-ff3zzamp.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service14;
|
|
33
|
+
const bus = yield* Service80;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./ripgrep-q26n4fcx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service78;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service44
|
|
4
|
+
} from "./ripgrep-2qtr0tge.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./ripgrep-dr2s0fjn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service44;
|
|
27
|
+
const output = yield* Service49;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin6 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin31, exports_tool_output };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info11
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info11 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info11, exports_attachment };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node12, exports_location_watcher_policy };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Info7,
|
|
6
|
-
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-37m9xwpn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service44
|
|
11
|
+
} from "./ripgrep-2qtr0tge.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin8,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin8 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
433
|
editor.add(Info7.make({
|
|
434
|
-
id:
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
440
|
editor.add(Info7.make({
|
|
441
|
-
id:
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service44;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin8, exports_skill };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service49,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service49 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service49.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node53 = makeLocationNode({
|
|
137
|
+
service: Service49,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service49, node53, exports_tool_output2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-2xqghjp6.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node78
|
|
12
|
+
} from "./ripgrep-r7nsrefv.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
24
|
ID: () => ID16,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service74,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node77
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ import { systemError } from "effect/PlatformError";
|
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
38
|
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Info30 extends Schema.Class("Workspace.Info")({
|
|
41
41
|
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
@@ -56,14 +56,14 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service74 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service74,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node78]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info30({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,7 +154,7 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service74.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
159
|
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node77 = configured11();
|
|
225
225
|
|
|
226
|
-
export { ID16,
|
|
226
|
+
export { ID16, Info30, NotFound3, CreateConflict2, Service74, configured11, node77, exports_workspace };
|