@opencode/core 0.0.0-dev-20068 → 0.0.0-dev-20069
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{schema-21kk9ey9.js → ripgrep-0ayx05qh.js} +2 -2
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{schema-v53t4mb7.js → ripgrep-0mgs0snk.js} +11 -11
- package/dist/chunks/{schema-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-dtnx79zk.js → ripgrep-0w5b0zhk.js} +12 -12
- package/dist/chunks/{schema-ey28dp55.js → ripgrep-12samabn.js} +13 -13
- package/dist/chunks/{schema-1ajx6rf5.js → ripgrep-1ajx6rf5.js} +1 -1
- package/dist/chunks/{schema-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-23sw09pj.js → ripgrep-1se9s7cd.js} +5 -5
- package/dist/chunks/{schema-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{schema-twax0pxr.js → ripgrep-22159n9k.js} +23 -23
- package/dist/chunks/{schema-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-2krp1dn7.js → ripgrep-2hr23n0w.js} +11 -11
- package/dist/chunks/{schema-4xstzax4.js → ripgrep-2hr6k3wd.js} +17 -17
- package/dist/chunks/{schema-hbecebtg.js → ripgrep-2sdtchw9.js} +10 -10
- package/dist/chunks/{schema-854y6ept.js → ripgrep-310pygx3.js} +34 -34
- package/dist/chunks/{schema-m9dec5st.js → ripgrep-3133pbgg.js} +30 -30
- package/dist/chunks/{schema-szbdaj22.js → ripgrep-314cfvev.js} +4 -4
- package/dist/chunks/{schema-gs95kj1c.js → ripgrep-3exhk902.js} +22 -22
- package/dist/chunks/{schema-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-99647hmk.js → ripgrep-3h0mkt05.js} +32 -32
- package/dist/chunks/{schema-32ngwk73.js → ripgrep-3h6g4yxf.js} +15 -15
- package/dist/chunks/{schema-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-04t6vhh2.js → ripgrep-3j5kzqk4.js} +9 -9
- package/dist/chunks/{schema-0ft9cg2j.js → ripgrep-3k6sfp50.js} +6 -6
- package/dist/chunks/{schema-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-kvb5pf0f.js → ripgrep-3zca3at5.js} +7 -7
- package/dist/chunks/{schema-hqtqhwxa.js → ripgrep-3zjyq5kp.js} +11 -11
- package/dist/chunks/{schema-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-kb6gw2zp.js → ripgrep-44pdqs77.js} +4 -4
- package/dist/chunks/{schema-rd930brt.js → ripgrep-45xdrqn4.js} +41 -41
- package/dist/chunks/{schema-cvekkaw8.js → ripgrep-4dnzmhzq.js} +8 -8
- package/dist/chunks/{schema-dgb7xf30.js → ripgrep-4e766vfh.js} +21 -21
- package/dist/chunks/{schema-q1wd5bqe.js → ripgrep-4k1416er.js} +3 -3
- package/dist/chunks/{schema-ya2xvy3r.js → ripgrep-4qg5r729.js} +9 -9
- package/dist/chunks/{schema-vt5nkxs5.js → ripgrep-4y23n6zb.js} +29 -29
- package/dist/chunks/{schema-43vj5j1g.js → ripgrep-518fy5x0.js} +8 -8
- package/dist/chunks/{schema-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{schema-yme4tm39.js → ripgrep-55ec8s4g.js} +37 -37
- package/dist/chunks/{schema-mfqp6xfm.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{schema-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{schema-6a6hn4p4.js → ripgrep-5a5dg86c.js} +20 -20
- package/dist/chunks/{schema-bkk1ay02.js → ripgrep-5az6qf77.js} +11 -11
- package/dist/chunks/{schema-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-y8pznszf.js → ripgrep-5df7hbgb.js} +26 -26
- package/dist/chunks/{schema-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
- package/dist/chunks/{schema-f9t32q2w.js → ripgrep-5jcjmpah.js} +7 -7
- package/dist/chunks/{schema-jesqq2b8.js → ripgrep-5q70a6nc.js} +2 -2
- package/dist/chunks/{schema-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-g3mqb04e.js → ripgrep-5wbzy8nn.js} +10 -10
- package/dist/chunks/{schema-qgn6gcr1.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{schema-jj43yjqp.js → ripgrep-63p6tvjf.js} +11 -11
- package/dist/chunks/{schema-yb29xp2t.js → ripgrep-65eqnm58.js} +12 -12
- package/dist/chunks/{schema-8qmjzw20.js → ripgrep-65rfk13t.js} +24 -24
- package/dist/chunks/{schema-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{schema-gdt8128r.js → ripgrep-66m6eh7j.js} +15 -15
- package/dist/chunks/{schema-607q5haz.js → ripgrep-68y7phbn.js} +5 -5
- package/dist/chunks/{schema-nbgtvmt2.js → ripgrep-6ae9v3b9.js} +7 -7
- package/dist/chunks/{schema-e89kpxws.js → ripgrep-6e4b4bvx.js} +11 -11
- package/dist/chunks/{schema-hqztqa4w.js → ripgrep-6j042nns.js} +16 -16
- package/dist/chunks/{schema-b26at605.js → ripgrep-6jqke6p8.js} +11 -11
- package/dist/chunks/{schema-9n8ak2h1.js → ripgrep-6kxxvxy9.js} +4 -4
- package/dist/chunks/{schema-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-a1w0bh0r.js → ripgrep-6npe6m7n.js} +35 -35
- package/dist/chunks/{schema-dq5ym5fs.js → ripgrep-6rww2kbq.js} +29 -29
- package/dist/chunks/{schema-22y0n5cd.js → ripgrep-6v1ffft6.js} +11 -11
- package/dist/chunks/{schema-f5thdj5b.js → ripgrep-6whh3zwz.js} +44 -44
- package/dist/chunks/{schema-x21w7dsp.js → ripgrep-6xakybcw.js} +20 -20
- package/dist/chunks/{schema-tfz8ht6g.js → ripgrep-6ypqnq6y.js} +11 -11
- package/dist/chunks/{schema-wfvmvx5v.js → ripgrep-72bztqfg.js} +31 -31
- package/dist/chunks/{schema-jwpzwwy6.js → ripgrep-75j187sy.js} +16 -16
- package/dist/chunks/{schema-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-8349yjnv.js → ripgrep-7pj4hm0p.js} +15 -15
- package/dist/chunks/{schema-r3c4069c.js → ripgrep-7tgakezr.js} +1 -1
- package/dist/chunks/{schema-21xm8fz3.js → ripgrep-7tr6rhhd.js} +10 -10
- package/dist/chunks/{schema-mhkvc446.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{schema-rk8hkmen.js → ripgrep-7zszha7m.js} +35 -35
- package/dist/chunks/{schema-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{schema-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-4g0aw377.js → ripgrep-8n3vm8hr.js} +8 -8
- package/dist/chunks/{schema-azejft3h.js → ripgrep-8vk5gx22.js} +15 -15
- package/dist/chunks/{schema-d9wzmzc3.js → ripgrep-94s48bjb.js} +5 -5
- package/dist/chunks/{schema-egc3yevh.js → ripgrep-95en9f50.js} +14 -14
- package/dist/chunks/{schema-vtxr0yy2.js → ripgrep-9cyfspf3.js} +5 -5
- package/dist/chunks/{schema-5p1sgbr7.js → ripgrep-9h8yadab.js} +9 -9
- package/dist/chunks/{schema-tyqw9b1a.js → ripgrep-9jscrgm8.js} +10 -10
- package/dist/chunks/{schema-cbmy1d4v.js → ripgrep-9kdsp20r.js} +5 -5
- package/dist/chunks/{schema-4r89mkx8.js → ripgrep-9q81rv62.js} +9 -9
- package/dist/chunks/{schema-j7xxj57g.js → ripgrep-9r7rpdpb.js} +5 -5
- package/dist/chunks/{schema-bfsvxfz0.js → ripgrep-9yp3a3kk.js} +24 -24
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{schema-79y3jrde.js → ripgrep-a4ddpw0g.js} +22 -22
- package/dist/chunks/{schema-kwb80b5k.js → ripgrep-a68v6zx7.js} +8 -8
- package/dist/chunks/{schema-51dx2b5g.js → ripgrep-a7e8yba8.js} +13 -13
- package/dist/chunks/{schema-mff6ah6z.js → ripgrep-a82wvf7y.js} +52 -52
- package/dist/chunks/{schema-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-15nepkqg.js → ripgrep-ahd542yp.js} +8 -8
- package/dist/chunks/{schema-vmgq4x8b.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{schema-tfw5vp5y.js → ripgrep-ak95znyc.js} +3 -3
- package/dist/chunks/{schema-4etra8x0.js → ripgrep-aqc2n7k1.js} +11 -11
- package/dist/chunks/{schema-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-3qaj82j9.js → ripgrep-b7b4ctej.js} +5 -5
- package/dist/chunks/{schema-jkq931gc.js → ripgrep-bc17a4yt.js} +15 -15
- package/dist/chunks/{schema-vncycja5.js → ripgrep-bct739vz.js} +4 -4
- package/dist/chunks/{schema-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{schema-4pkmhnfb.js → ripgrep-btdn1fj9.js} +12 -12
- package/dist/chunks/{schema-jyrfr5z0.js → ripgrep-c13e6esw.js} +3 -3
- package/dist/chunks/{schema-4pe5mkqw.js → ripgrep-c6smxwme.js} +15 -15
- package/dist/chunks/{schema-n2rked60.js → ripgrep-c765aa0m.js} +12 -12
- package/dist/chunks/{schema-c3whs05w.js → ripgrep-c8fzc5kk.js} +3 -3
- package/dist/chunks/{schema-4p60s6mc.js → ripgrep-ccgx1agb.js} +85 -85
- package/dist/chunks/{schema-zsnrp8c7.js → ripgrep-cczmq9j9.js} +323 -323
- package/dist/chunks/{schema-0ak0g8qp.js → ripgrep-csmmbkrn.js} +3 -3
- package/dist/chunks/{schema-djszqvmq.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{schema-f724bymh.js → ripgrep-cyzqg38g.js} +18 -18
- package/dist/chunks/{schema-jvf3yq6v.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{schema-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-86n5f4j7.js → ripgrep-dq0k2458.js} +6 -6
- package/dist/chunks/{schema-zk4010xf.js → ripgrep-dqr0m1y5.js} +8 -8
- package/dist/chunks/{schema-ywppm7yh.js → ripgrep-drsj7rnm.js} +37 -37
- package/dist/chunks/{schema-57b9ws8p.js → ripgrep-drwq78ky.js} +5 -5
- package/dist/chunks/{schema-1365j5nm.js → ripgrep-dwkyy60h.js} +13 -13
- package/dist/chunks/{schema-2gv5qy1y.js → ripgrep-e37h8kwf.js} +12 -12
- package/dist/chunks/{schema-xbrnje9f.js → ripgrep-e7710hd6.js} +8 -8
- package/dist/chunks/{schema-gsk7mn2e.js → ripgrep-e82rfkh8.js} +168 -168
- package/dist/chunks/{schema-x7pgzbrc.js → ripgrep-e9mavkfm.js} +13 -13
- package/dist/chunks/{schema-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-d0jrvpgb.js → ripgrep-ejndgxwh.js} +29 -29
- package/dist/chunks/{schema-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
- package/dist/chunks/{schema-84s1vm7q.js → ripgrep-eswwkexn.js} +11 -11
- package/dist/chunks/{schema-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-evbgk2k8.js → ripgrep-evbgk2k8.js} +2 -2
- package/dist/chunks/{schema-2xanj3y6.js → ripgrep-ewxpkfp1.js} +23 -23
- package/dist/chunks/{schema-c0knr1es.js → ripgrep-f16gbcxr.js} +16 -16
- package/dist/chunks/{schema-nkh7hwh6.js → ripgrep-f2y31vad.js} +5 -5
- package/dist/chunks/{schema-3e5hztjw.js → ripgrep-f5q6vpa8.js} +4 -4
- package/dist/chunks/{schema-4cmte46y.js → ripgrep-febc8204.js} +4 -4
- package/dist/chunks/{schema-ngaq65z3.js → ripgrep-fhgj836q.js} +17 -17
- package/dist/chunks/{schema-5cmxdwv8.js → ripgrep-fqka1xvk.js} +3 -3
- package/dist/chunks/{schema-xxxgmpnp.js → ripgrep-fxfc3qkp.js} +8 -8
- package/dist/chunks/{schema-4tzv48n0.js → ripgrep-g1n6bxpc.js} +27 -27
- package/dist/chunks/{schema-d08f925z.js → ripgrep-g2sgta8f.js} +5 -5
- package/dist/chunks/{schema-7mqqegap.js → ripgrep-g7y1z024.js} +5 -5
- package/dist/chunks/{schema-v5dkyp31.js → ripgrep-g8d3gcyj.js} +7 -7
- package/dist/chunks/{schema-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{schema-vz4jg4k9.js → ripgrep-gjbcvzr2.js} +8 -8
- package/dist/chunks/{schema-e9k66s6p.js → ripgrep-gqtakvcm.js} +5 -5
- package/dist/chunks/{schema-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-c21zn749.js → ripgrep-h0yqkzt5.js} +11 -11
- package/dist/chunks/{schema-qf9g56f3.js → ripgrep-h3yfa6ks.js} +39 -39
- package/dist/chunks/{schema-azgx1nga.js → ripgrep-h52xnkn8.js} +20 -20
- package/dist/chunks/{schema-r1t33gv4.js → ripgrep-h5tmfsew.js} +27 -27
- package/dist/chunks/{schema-cpj0znwe.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-spqcpneg.js → ripgrep-h7w9m21h.js} +6 -6
- package/dist/chunks/{schema-9jm5k1pc.js → ripgrep-h8t8zj8w.js} +8 -8
- package/dist/chunks/{schema-k3dr35yq.js → ripgrep-hf4drxk6.js} +6 -6
- package/dist/chunks/{schema-3n6q8bv2.js → ripgrep-hgnmjjw1.js} +17 -17
- package/dist/chunks/{schema-4m11sss1.js → ripgrep-hhpnm7dw.js} +31 -31
- package/dist/chunks/{schema-zab19jja.js → ripgrep-hrc132h6.js} +9 -9
- package/dist/chunks/{schema-cvcncckx.js → ripgrep-hsqtqw31.js} +41 -41
- package/dist/chunks/{schema-3e147rt9.js → ripgrep-j311gd59.js} +6 -6
- package/dist/chunks/{schema-dvgd3rha.js → ripgrep-j4ab9r48.js} +3 -3
- package/dist/chunks/{schema-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-n37c4crj.js → ripgrep-j58c5xyq.js} +9 -9
- package/dist/chunks/{schema-xa30xd5p.js → ripgrep-jf99zcgg.js} +22 -22
- package/dist/chunks/{schema-dx61neqa.js → ripgrep-k1fg4vp1.js} +20 -20
- package/dist/chunks/{schema-6ysrkrkr.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{schema-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{schema-71g12y8g.js → ripgrep-kj13tdgj.js} +6 -6
- package/dist/chunks/{schema-8a9kwrve.js → ripgrep-km9v8s4p.js} +25 -25
- package/dist/chunks/{schema-xfdrc2qg.js → ripgrep-knb7evpn.js} +4 -4
- package/dist/chunks/{schema-z8p0mpvq.js → ripgrep-kwh94f5y.js} +22 -22
- package/dist/chunks/{schema-qnn3verk.js → ripgrep-m14g7d03.js} +9 -9
- package/dist/chunks/{schema-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-0eppds2k.js → ripgrep-m9ekcepj.js} +9 -9
- package/dist/chunks/{schema-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-x98p3fja.js → ripgrep-mb5k3eyw.js} +44 -44
- package/dist/chunks/{schema-c99cqkw7.js → ripgrep-md9pgxe8.js} +18 -18
- package/dist/chunks/{schema-mksgfzgs.js → ripgrep-mjyv029k.js} +6 -6
- package/dist/chunks/{schema-gsac5713.js → ripgrep-mppnnt9x.js} +23 -23
- package/dist/chunks/{schema-hd6mtbc2.js → ripgrep-mt4rfx33.js} +1 -1
- package/dist/chunks/{schema-fnxsaa4j.js → ripgrep-myhvmvaw.js} +18 -18
- package/dist/chunks/{schema-wq4mmp7m.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{schema-dwpj3xc6.js → ripgrep-nacy1b3s.js} +11 -11
- package/dist/chunks/ripgrep-nc9jdwq6.js +252 -0
- package/dist/chunks/{schema-rr1xtvmv.js → ripgrep-npcgt3gc.js} +43 -43
- package/dist/chunks/{schema-g17ae1qh.js → ripgrep-nqhkz2h0.js} +3 -3
- package/dist/chunks/{schema-jw80jp6b.js → ripgrep-nrdmrqsx.js} +4 -4
- package/dist/chunks/{schema-mfh2s9n9.js → ripgrep-nxq64296.js} +20 -20
- package/dist/chunks/{schema-1fgq5ex7.js → ripgrep-p8p1q38m.js} +26 -26
- package/dist/chunks/{schema-xbdvvged.js → ripgrep-pdq8pnd2.js} +12 -12
- package/dist/chunks/{schema-nrf9nkf4.js → ripgrep-pff1gvzk.js} +39 -39
- package/dist/chunks/{schema-hj3kzhjm.js → ripgrep-phfbqzjs.js} +15 -15
- package/dist/chunks/{schema-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{schema-s1n69xg5.js → ripgrep-pp3p6rz8.js} +26 -26
- package/dist/chunks/{schema-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{schema-6htx4nwr.js → ripgrep-qjjdbt4x.js} +11 -11
- package/dist/chunks/{schema-jv01nqvq.js → ripgrep-qn4ba14w.js} +5 -5
- package/dist/chunks/{schema-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-rs4ad808.js → ripgrep-r3va1q30.js} +15 -15
- package/dist/chunks/{schema-3djsbczj.js → ripgrep-r4bzzscv.js} +4 -4
- package/dist/chunks/{schema-b74jhqyh.js → ripgrep-r6h5nhyv.js} +26 -26
- package/dist/chunks/{schema-ksngh15a.js → ripgrep-rd066f3k.js} +13 -13
- package/dist/chunks/{schema-53fyba40.js → ripgrep-rdecwvm0.js} +4 -4
- package/dist/chunks/{schema-stka8cwy.js → ripgrep-rdf5zzeq.js} +16 -16
- package/dist/chunks/{schema-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-2s9emtnm.js → ripgrep-rkd9y7hg.js} +13 -13
- package/dist/chunks/{schema-e8f8pgjf.js → ripgrep-rn3cq9ja.js} +25 -25
- package/dist/chunks/{schema-bq4g5957.js → ripgrep-rtrd7687.js} +4 -4
- package/dist/chunks/{schema-ke47ra3q.js → ripgrep-rwpqnmrd.js} +45 -45
- package/dist/chunks/{schema-hnc22933.js → ripgrep-s2v5xhym.js} +24 -24
- package/dist/chunks/{schema-a2qe2ev9.js → ripgrep-s5met55r.js} +8 -8
- package/dist/chunks/{schema-we5e1hqv.js → ripgrep-s74ft2z0.js} +5 -5
- package/dist/chunks/{schema-bxav69s2.js → ripgrep-s7d0jgbp.js} +15 -15
- package/dist/chunks/{schema-eaj1djv9.js → ripgrep-s8d7rejh.js} +6 -6
- package/dist/chunks/{schema-nxhqveyz.js → ripgrep-s8zy8myc.js} +5 -5
- package/dist/chunks/{schema-1rd6czrg.js → ripgrep-sh5yyyta.js} +4 -4
- package/dist/chunks/{schema-sgds5tk2.js → ripgrep-svjy1kds.js} +13 -13
- package/dist/chunks/{schema-bttjrvqw.js → ripgrep-szs8vbwv.js} +11 -11
- package/dist/chunks/{schema-yb3bnh53.js → ripgrep-t1nv7t91.js} +36 -36
- package/dist/chunks/{schema-zx2f5h1h.js → ripgrep-t9jfj42y.js} +16 -16
- package/dist/chunks/{schema-1fmrbde1.js → ripgrep-t9ym9qvh.js} +8 -8
- package/dist/chunks/{schema-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-trgn506r.js → ripgrep-tcfbr18x.js} +10 -10
- package/dist/chunks/{schema-hxx1gems.js → ripgrep-tcnfwqy6.js} +10 -10
- package/dist/chunks/{schema-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/ripgrep-thf27y4c.js +26 -0
- package/dist/chunks/{schema-0wddnwfq.js → ripgrep-trqv73xc.js} +20 -20
- package/dist/chunks/{schema-pxar5t5x.js → ripgrep-trv0dvrm.js} +27 -27
- package/dist/chunks/{schema-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-vmwh049b.js → ripgrep-v8g8r3p5.js} +6 -6
- package/dist/chunks/{schema-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-wvm3e786.js → ripgrep-vk5cd3wv.js} +10 -10
- package/dist/chunks/{schema-mx9vqzsb.js → ripgrep-vvccsdf3.js} +6 -6
- package/dist/chunks/{schema-feqe9m6b.js → ripgrep-vw5tv20s.js} +21 -21
- package/dist/chunks/{schema-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-9jn1v8n4.js → ripgrep-vztfwee2.js} +27 -27
- package/dist/chunks/{schema-z6970k62.js → ripgrep-w0amkjx1.js} +22 -22
- package/dist/chunks/{schema-750bqw08.js → ripgrep-w28p7srs.js} +13 -13
- package/dist/chunks/{schema-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-yq6rdmt7.js → ripgrep-wamfr8ew.js} +10 -10
- package/dist/chunks/{schema-m8q517q3.js → ripgrep-wd7bxs2p.js} +30 -30
- package/dist/chunks/{schema-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{schema-stgrmxrp.js → ripgrep-wdqt7cqw.js} +10 -10
- package/dist/chunks/{schema-hwh6dse8.js → ripgrep-wj3w7pcn.js} +17 -17
- package/dist/chunks/{schema-tfzngn12.js → ripgrep-wj76ss2k.js} +4 -4
- package/dist/chunks/{schema-w9xbefsq.js → ripgrep-wjvmat6z.js} +22 -22
- package/dist/chunks/{schema-mtptma85.js → ripgrep-wmfp1rw3.js} +18 -18
- package/dist/chunks/{schema-q23t71ky.js → ripgrep-wpa4rsnk.js} +19 -19
- package/dist/chunks/{schema-1brzvxsn.js → ripgrep-wwy2qggx.js} +8 -8
- package/dist/chunks/{schema-rtrqs7aw.js → ripgrep-x01dtww3.js} +30 -30
- package/dist/chunks/{schema-p70m8tan.js → ripgrep-x0phpbjd.js} +29 -29
- package/dist/chunks/{schema-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-798v7mfg.js → ripgrep-x9p82aqm.js} +13 -13
- package/dist/chunks/{schema-pmrtsbw6.js → ripgrep-xdyhb63d.js} +18 -18
- package/dist/chunks/{schema-bc8ybda4.js → ripgrep-xwx3c2sc.js} +9 -9
- package/dist/chunks/{schema-d0wejq28.js → ripgrep-xz23vemp.js} +6 -6
- package/dist/chunks/{schema-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-zj09a0ew.js → ripgrep-y67gsgy6.js} +4 -4
- package/dist/chunks/{schema-y7c4883m.js → ripgrep-yagfenz7.js} +57 -57
- package/dist/chunks/{schema-v00q4dqv.js → ripgrep-yejpxas0.js} +14 -14
- package/dist/chunks/{schema-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{schema-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{schema-z6y9e2r8.js → ripgrep-ys5hb573.js} +30 -30
- package/dist/chunks/{schema-jjs74g98.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{schema-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-yyc7yft3.js → ripgrep-z1a2kmfk.js} +15 -15
- package/dist/chunks/{schema-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-qx20pxr4.js → ripgrep-z66c1k9w.js} +48 -48
- package/dist/chunks/{schema-zpfyxn6c.js → ripgrep-zajadr6b.js} +24 -24
- package/dist/chunks/{schema-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-qpqjws28.js → ripgrep-zkt84azb.js} +9 -9
- package/dist/chunks/{schema-ev08srva.js → ripgrep-zp8bqaxg.js} +14 -14
- package/dist/chunks/{schema-f6p0q2g2.js → ripgrep-zq2g0th5.js} +15 -15
- package/dist/chunks/{schema-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-3pgqp7v9.js → ripgrep-zr8y6ync.js} +4 -4
- package/dist/chunks/{schema-p173zzzp.js → ripgrep-zrye3yph.js} +80 -80
- package/dist/chunks/{schema-99249730.js → ripgrep-zwfnejf5.js} +1 -1
- package/dist/chunks/{schema-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +121 -121
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +123 -123
- 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 +120 -120
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.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 +121 -121
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- 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 +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- 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 +348 -348
- 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/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 +4 -4
- 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 +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- 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 +229 -229
- 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 +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- 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 +127 -127
- 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 +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +14 -14
- 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 +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/chunks/schema-0et57d8k.js +0 -252
- package/dist/chunks/schema-dxj72tfx.js +0 -18
- package/dist/chunks/schema-pemgqcj3.js +0 -26
- package/dist/chunks/schema-z926abd4.js +0 -4
- /package/dist/chunks/{schema-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service78,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node82,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service78 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service78.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node82, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./ripgrep-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-nqhkz2h0.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-fqka1xvk.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-bjtzbw4r.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info18,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service48,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
|
+
list: () => list4,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node51,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info18,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service48 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info18.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service48, make17());
|
|
231
|
+
var node51 = makeGlobalNode({ service: Service48, layer: layer20, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service48, make17, layer20, node51, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./ripgrep-vvccsdf3.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9zdhvgqs.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-v8g8r3p5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service33
|
|
12
|
+
} from "./ripgrep-myhvmvaw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service47;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5wbzy8nn.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin36 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin22 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin22 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin36, exports_tinyfish };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service56
|
|
4
|
+
} from "./ripgrep-vw5tv20s.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service73
|
|
8
|
+
} from "./ripgrep-g1n6bxpc.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service36
|
|
12
|
+
} from "./ripgrep-npcgt3gc.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-fqka1xvk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service50
|
|
18
|
+
} from "./ripgrep-phfbqzjs.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service53
|
|
22
|
+
} from "./ripgrep-a82wvf7y.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service20
|
|
25
|
+
} from "./ripgrep-zrye3yph.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make5
|
|
31
|
+
} from "./ripgrep-63p6tvjf.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input4,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin22,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name4 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input4 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input2 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin22 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service20;
|
|
93
|
+
const jobs = yield* Service50;
|
|
94
|
+
const agents = yield* Service56;
|
|
95
|
+
const config = yield* Service36;
|
|
96
|
+
const permission = yield* Service53;
|
|
97
|
+
const models = yield* Service73;
|
|
98
|
+
const subagents = yield* make5;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin37 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin37 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name4,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin37 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name4];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name4, Input4, Output3, description3, Plugin22, exports_subagent };
|