@opencode/core 0.0.0-dev-248 → 0.0.0-dev-256
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 +93 -92
- package/dist/aisdk-native.js +101 -100
- package/dist/aisdk.js +107 -106
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -82
- package/dist/chunks/{image-j0y2j2y9.js → ripgrep-03sqz7a9.js} +12 -12
- package/dist/chunks/{image-hex7e87k.js → ripgrep-0cc6nv5k.js} +9 -9
- package/dist/chunks/{image-2ap97v08.js → ripgrep-0h910ma9.js} +15 -15
- package/dist/chunks/{image-11hfp36g.js → ripgrep-11hfp36g.js} +1 -1
- package/dist/chunks/{image-e2ne77ac.js → ripgrep-17cjzed1.js} +2 -2
- package/dist/chunks/{image-jcqm84fr.js → ripgrep-18g90bpv.js} +9 -9
- package/dist/chunks/{image-9sqzj7jg.js → ripgrep-1f952vs7.js} +9 -9
- package/dist/chunks/{image-86g1pe6q.js → ripgrep-1fwefjcd.js} +20 -20
- package/dist/chunks/{image-zr9mjdac.js → ripgrep-1gx6yymd.js} +48 -48
- package/dist/chunks/{image-v1zexmjw.js → ripgrep-1t7faze9.js} +18 -18
- package/dist/chunks/{image-1x2knyw4.js → ripgrep-1x2knyw4.js} +1 -1
- package/dist/chunks/{image-1yq9hg58.js → ripgrep-1yq9hg58.js} +1 -1
- package/dist/chunks/{image-204s3925.js → ripgrep-204s3925.js} +1 -1
- package/dist/chunks/{image-25h84942.js → ripgrep-25h84942.js} +1 -1
- package/dist/chunks/{image-1ep2p91f.js → ripgrep-27w5k9zf.js} +2 -2
- package/dist/chunks/{image-8nkb1bb0.js → ripgrep-29bbm67v.js} +27 -27
- package/dist/chunks/{image-7f054j3n.js → ripgrep-2e5pdp54.js} +7 -7
- package/dist/chunks/{image-h3pnxjmh.js → ripgrep-2hnaskt6.js} +9 -9
- package/dist/chunks/{image-kssbtbt0.js → ripgrep-2k2kcze4.js} +80 -80
- package/dist/chunks/{image-seap89fc.js → ripgrep-2kk97py3.js} +11 -11
- package/dist/chunks/{image-6b5m6t85.js → ripgrep-2n5jzsvh.js} +13 -13
- package/dist/chunks/{image-2haa1nrw.js → ripgrep-2w1g18fp.js} +4 -4
- package/dist/chunks/{image-hqxkkta1.js → ripgrep-2zp5a6yg.js} +3 -3
- package/dist/chunks/{image-8b714bza.js → ripgrep-3416qbwy.js} +8 -8
- package/dist/chunks/{image-s9r9y5yp.js → ripgrep-3b0cyw5p.js} +15 -15
- package/dist/chunks/{image-ayjs7tqn.js → ripgrep-3cbjf1nt.js} +2 -2
- package/dist/chunks/{image-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-rj53dkn5.js → ripgrep-3jqgx5kj.js} +50 -50
- package/dist/chunks/{image-tmc7xdjs.js → ripgrep-3nnrz6f6.js} +4 -4
- package/dist/chunks/{image-5f9y2yjb.js → ripgrep-3rj35y7k.js} +5 -5
- package/dist/chunks/{image-c6x7d2ts.js → ripgrep-3ryz99p0.js} +4 -4
- package/dist/chunks/{image-j8ypmtmr.js → ripgrep-3sxgvrsr.js} +15 -15
- package/dist/chunks/{image-10gwmmpt.js → ripgrep-3szttj5s.js} +23 -23
- package/dist/chunks/{image-3gst0kgm.js → ripgrep-3t0qvtxf.js} +12 -12
- package/dist/chunks/{image-yhrdpjcs.js → ripgrep-3tpyq6vw.js} +13 -13
- package/dist/chunks/{image-5enarcya.js → ripgrep-40za9wsf.js} +6 -6
- package/dist/chunks/{image-4vb4pv6c.js → ripgrep-49835bfw.js} +4 -4
- package/dist/chunks/{image-5v2ww1a5.js → ripgrep-4fcq8f9m.js} +15 -15
- package/dist/chunks/{image-penn2v67.js → ripgrep-4ggjgtjs.js} +12 -12
- package/dist/chunks/{image-4pyp9zr9.js → ripgrep-4pyp9zr9.js} +1 -1
- package/dist/chunks/{image-4v008n1t.js → ripgrep-4v008n1t.js} +1 -1
- package/dist/chunks/{image-awtxj99r.js → ripgrep-5aysfjzq.js} +22 -22
- package/dist/chunks/{image-2skrxz14.js → ripgrep-5bp97s21.js} +14 -14
- package/dist/chunks/{image-4x8zw6t1.js → ripgrep-5c6v7bf7.js} +31 -31
- package/dist/chunks/{image-28yqhrns.js → ripgrep-5jefyemb.js} +5 -5
- package/dist/chunks/{image-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{image-n0ekdz40.js → ripgrep-5qbnyx67.js} +43 -43
- package/dist/chunks/{image-fysk4shs.js → ripgrep-5rgg5y2m.js} +6 -6
- package/dist/chunks/ripgrep-5w9dwxvh.js +222 -0
- package/dist/chunks/{image-2xwjc3g5.js → ripgrep-5zt75wsq.js} +8 -8
- package/dist/chunks/{image-a862c78z.js → ripgrep-68gxk72y.js} +25 -25
- package/dist/chunks/{image-1sd3wnkk.js → ripgrep-6dstrpje.js} +12 -12
- package/dist/chunks/{image-6esdw8yj.js → ripgrep-6esdw8yj.js} +1 -1
- package/dist/chunks/{image-5y4p2mbw.js → ripgrep-6fpch3kw.js} +19 -19
- package/dist/chunks/{image-d8pnfqg9.js → ripgrep-6t0y96w1.js} +37 -37
- package/dist/chunks/{image-e16ncx1j.js → ripgrep-6vab03tz.js} +29 -29
- package/dist/chunks/{image-js1q3m86.js → ripgrep-7442v31d.js} +9 -9
- package/dist/chunks/{image-avce3vrt.js → ripgrep-7521vzgd.js} +13 -13
- package/dist/chunks/{image-76cb1hcw.js → ripgrep-76cb1hcw.js} +1 -1
- package/dist/chunks/{image-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-6r8yaq0c.js → ripgrep-7fjdcjgg.js} +11 -11
- package/dist/chunks/{image-32epp8e4.js → ripgrep-7h63ckp6.js} +19 -19
- package/dist/chunks/{image-3qcna5dk.js → ripgrep-7kef5ntp.js} +3 -3
- package/dist/chunks/{image-de8e9e1p.js → ripgrep-7pf9jw4b.js} +3 -3
- package/dist/chunks/{image-2m7vd2mn.js → ripgrep-7rr96ps8.js} +37 -37
- package/dist/chunks/{image-7w2ypzdf.js → ripgrep-7w2ypzdf.js} +1 -1
- package/dist/chunks/{image-m409210a.js → ripgrep-82b9pnxq.js} +5 -5
- package/dist/chunks/{image-q5gscbn2.js → ripgrep-882n9ge3.js} +5 -5
- package/dist/chunks/{image-ydsespw1.js → ripgrep-8d2bz6m6.js} +8 -8
- package/dist/chunks/{image-q4jmz9te.js → ripgrep-8k3jsm6y.js} +22 -22
- package/dist/chunks/{image-8wtp7s3z.js → ripgrep-8wtp7s3z.js} +1 -1
- package/dist/chunks/{image-q0f5tnzd.js → ripgrep-8wxjt6jj.js} +42 -42
- package/dist/chunks/{image-mb7mbhnz.js → ripgrep-8z6m94af.js} +3 -3
- package/dist/chunks/{image-6m42rt11.js → ripgrep-909bcygr.js} +49 -49
- package/dist/chunks/{image-90zstvax.js → ripgrep-90zstvax.js} +1 -1
- package/dist/chunks/{image-c2az2pbz.js → ripgrep-9nd6g1h4.js} +53 -53
- package/dist/chunks/{image-04dwygev.js → ripgrep-9wqtqs01.js} +32 -32
- package/dist/chunks/{image-ntqnj75s.js → ripgrep-9x1v9m9g.js} +4 -4
- package/dist/chunks/{image-em6jm62j.js → ripgrep-a17h2gz7.js} +5 -5
- package/dist/chunks/{image-k0cyqgb5.js → ripgrep-a33m5c2w.js} +11 -11
- package/dist/chunks/{image-f9vfey2v.js → ripgrep-a4f3mdv6.js} +18 -18
- package/dist/chunks/{image-hmthv8g3.js → ripgrep-ackzm7p5.js} +20 -20
- package/dist/chunks/{image-nwarprta.js → ripgrep-agz4bq91.js} +33 -33
- package/dist/chunks/{image-034tev2y.js → ripgrep-aj7mw0zk.js} +2 -2
- package/dist/chunks/{image-x5jjnb31.js → ripgrep-aje86v63.js} +5 -5
- package/dist/chunks/{image-zp19ebaj.js → ripgrep-ak1f0tsr.js} +11 -11
- package/dist/chunks/{image-59few21w.js → ripgrep-am8n4zj8.js} +42 -42
- package/dist/chunks/{image-ack5fry6.js → ripgrep-ams2yx18.js} +21 -21
- package/dist/chunks/{image-4tpjns74.js → ripgrep-apk2hew3.js} +11 -11
- package/dist/chunks/{image-eahpwh8e.js → ripgrep-aytd9eaj.js} +4 -4
- package/dist/chunks/{image-x219xq9r.js → ripgrep-b0hcd791.js} +10 -10
- package/dist/chunks/{image-20pjvqtm.js → ripgrep-b0mgw4ep.js} +12 -12
- package/dist/chunks/{image-t2rnpzgv.js → ripgrep-b363w4yw.js} +14 -14
- package/dist/chunks/{image-pfz9gkfy.js → ripgrep-b3tsdpgs.js} +11 -11
- package/dist/chunks/{image-3ajqprdg.js → ripgrep-b5jmjrr6.js} +36 -36
- package/dist/chunks/{image-b6vsg801.js → ripgrep-b6vsg801.js} +2 -2
- package/dist/chunks/{image-7bcfrs2x.js → ripgrep-bccmdxdz.js} +12 -12
- package/dist/chunks/{image-y6jzwgk6.js → ripgrep-bxe7n28z.js} +8 -8
- package/dist/chunks/{image-ra36q08n.js → ripgrep-bzmxpqn3.js} +18 -18
- package/dist/chunks/{image-9ztt5qj6.js → ripgrep-c48vnd7r.js} +3 -3
- package/dist/chunks/{image-1bf8edtk.js → ripgrep-c5rgx9f0.js} +17 -17
- package/dist/chunks/{image-xk2zn0cv.js → ripgrep-cac0wmbb.js} +4 -4
- package/dist/chunks/ripgrep-cgp1s624.js +26 -0
- package/dist/chunks/{image-cwrgdav8.js → ripgrep-cwrgdav8.js} +2 -2
- package/dist/chunks/{image-816kk8rv.js → ripgrep-d0t1jrhe.js} +13 -7
- package/dist/chunks/{image-d4v9tmah.js → ripgrep-d4v9tmah.js} +2 -2
- package/dist/chunks/{image-51y3dyvd.js → ripgrep-d5xvmxkt.js} +9 -9
- package/dist/chunks/{image-ag44vf4f.js → ripgrep-d8k33s6g.js} +8 -8
- package/dist/chunks/{image-qsv00416.js → ripgrep-daqk1zzh.js} +32 -32
- package/dist/chunks/{image-j1k7c27p.js → ripgrep-db73xe5x.js} +21 -21
- package/dist/chunks/{image-f3d4492r.js → ripgrep-ddcyzbs8.js} +13 -13
- package/dist/chunks/{image-xsvq7cjt.js → ripgrep-ddwaa558.js} +4 -4
- package/dist/chunks/{image-jy8nsvvz.js → ripgrep-dp20ymjh.js} +5 -5
- package/dist/chunks/{image-bhdy8mdp.js → ripgrep-dqyfjygp.js} +32 -32
- package/dist/chunks/{image-heqea18d.js → ripgrep-dsmd9z3t.js} +32 -32
- package/dist/chunks/{image-dt77769w.js → ripgrep-dt77769w.js} +1 -1
- package/dist/chunks/{image-a4ww6fpm.js → ripgrep-dwwyec8z.js} +6 -6
- package/dist/chunks/{image-4tkxmvmj.js → ripgrep-e5697zjm.js} +12 -12
- package/dist/chunks/{image-w0sctsdt.js → ripgrep-e7gncem7.js} +2 -2
- package/dist/chunks/{image-e834z07m.js → ripgrep-e834z07m.js} +1 -1
- package/dist/chunks/{image-dajrwvna.js → ripgrep-ean2d8b5.js} +1 -1
- package/dist/chunks/{image-7zwtd1t5.js → ripgrep-enpxw9ft.js} +40 -40
- package/dist/chunks/{image-g7esga4v.js → ripgrep-eqmd2tfz.js} +4 -4
- package/dist/chunks/{image-f1qxk96b.js → ripgrep-erc81w38.js} +33 -16
- package/dist/chunks/{image-8gxv70g9.js → ripgrep-f2dkd9c9.js} +85 -85
- package/dist/chunks/{image-86fy72ae.js → ripgrep-f2hbk3te.js} +14 -14
- package/dist/chunks/{image-tkm3ck5b.js → ripgrep-f38wrs86.js} +353 -353
- package/dist/chunks/{image-6khf956j.js → ripgrep-fdfr6sds.js} +17 -17
- package/dist/chunks/{image-nz92z2sf.js → ripgrep-ffcqnzz5.js} +18 -18
- package/dist/chunks/{image-fffv3p7h.js → ripgrep-fffv3p7h.js} +1 -1
- package/dist/chunks/{image-fg9p65nk.js → ripgrep-fg9p65nk.js} +2 -2
- package/dist/chunks/{image-fe7b6z6g.js → ripgrep-fkx1epcn.js} +20 -20
- package/dist/chunks/{image-qp7zbdnj.js → ripgrep-fqsvv22e.js} +45 -45
- package/dist/chunks/{image-xpryaxy7.js → ripgrep-fxhhzhmy.js} +23 -23
- package/dist/chunks/{image-n1c40vny.js → ripgrep-g24xgb35.js} +11 -11
- package/dist/chunks/{image-bqdeah0e.js → ripgrep-gffq2h0h.js} +27 -27
- package/dist/chunks/{image-h4p3pyf8.js → ripgrep-gkng5bng.js} +3 -3
- package/dist/chunks/{image-5gmpzygr.js → ripgrep-gs1ef0jt.js} +21 -21
- package/dist/chunks/{image-3bks771a.js → ripgrep-gt0enb5r.js} +36 -36
- package/dist/chunks/{image-qz9nzpv7.js → ripgrep-gzqtw9gm.js} +25 -25
- package/dist/chunks/{image-25f6p34y.js → ripgrep-h0xgca3k.js} +24 -24
- package/dist/chunks/{image-4c3xmdam.js → ripgrep-h5prggwk.js} +47 -47
- package/dist/chunks/{image-zm4870m6.js → ripgrep-h7tawekg.js} +27 -27
- package/dist/chunks/{image-g8mt74n4.js → ripgrep-h7zsgwja.js} +28 -28
- package/dist/chunks/{image-hh7kjqtw.js → ripgrep-hh7kjqtw.js} +1 -1
- package/dist/chunks/{image-hpg1pkwy.js → ripgrep-hpg1pkwy.js} +1 -1
- package/dist/chunks/{image-qqyrafx2.js → ripgrep-hq7e4nr1.js} +7 -7
- package/dist/chunks/{image-f01y088k.js → ripgrep-hr4y9snp.js} +5 -5
- package/dist/chunks/{image-jn88007r.js → ripgrep-hs9b4b47.js} +9 -9
- package/dist/chunks/{image-wpv0pemx.js → ripgrep-hy1b2qcd.js} +2 -2
- package/dist/chunks/{image-trpj6qs6.js → ripgrep-hzv53yz7.js} +21 -21
- package/dist/chunks/{image-m11k789k.js → ripgrep-j5dh2pqj.js} +17 -17
- package/dist/chunks/{image-znxs0qdf.js → ripgrep-j83zfqb4.js} +27 -27
- package/dist/chunks/{image-67xt1syw.js → ripgrep-jdra26ww.js} +27 -27
- package/dist/chunks/{image-wec13qf8.js → ripgrep-jew46n24.js} +11 -11
- package/dist/chunks/{image-jfaecv01.js → ripgrep-jfaecv01.js} +1 -1
- package/dist/chunks/{image-4eqwcsj2.js → ripgrep-jhvnj4yv.js} +15 -15
- package/dist/chunks/{image-v4ntjfa2.js → ripgrep-jk10zsa9.js} +22 -22
- package/dist/chunks/{image-0tdbgf6t.js → ripgrep-jp89zqat.js} +23 -23
- package/dist/chunks/{image-m528r48h.js → ripgrep-jqfrpy0b.js} +4 -4
- package/dist/chunks/{image-89embc53.js → ripgrep-jqnfqjgv.js} +6 -6
- package/dist/chunks/{image-jtnps1zs.js → ripgrep-jtnps1zs.js} +2 -2
- package/dist/chunks/{image-sm9ekc7r.js → ripgrep-jxs8nk7d.js} +7 -7
- package/dist/chunks/{image-p087ke4f.js → ripgrep-jzpa86ty.js} +41 -41
- package/dist/chunks/{image-stv8d0fa.js → ripgrep-k1sfxhaz.js} +40 -40
- package/dist/chunks/{image-4mkdw68v.js → ripgrep-k4461cq5.js} +6 -6
- package/dist/chunks/{image-j36nge33.js → ripgrep-k4hxmz12.js} +44 -32
- package/dist/chunks/{image-k814nvkf.js → ripgrep-k814nvkf.js} +1 -1
- package/dist/chunks/{image-q4zyxfy7.js → ripgrep-kcg78dnn.js} +9 -9
- package/dist/chunks/{image-yc8ck43p.js → ripgrep-ke335cjj.js} +5 -5
- package/dist/chunks/{image-5cdcvw12.js → ripgrep-kjdrtwey.js} +8 -8
- package/dist/chunks/{image-kt3bjfbg.js → ripgrep-kt3bjfbg.js} +1 -1
- package/dist/chunks/{image-bdsr3j33.js → ripgrep-m049c8tp.js} +20 -20
- package/dist/chunks/{image-m1714858.js → ripgrep-m1714858.js} +1 -1
- package/dist/chunks/{image-7x8d5pk9.js → ripgrep-m7egy7mx.js} +70 -50
- package/dist/chunks/{image-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-rnm2nekc.js → ripgrep-mb3v38wv.js} +3 -3
- package/dist/chunks/{image-ydx4vg6d.js → ripgrep-mg06kx6s.js} +16 -16
- package/dist/chunks/{image-mg356nz4.js → ripgrep-mg356nz4.js} +3 -3
- package/dist/chunks/{image-s7kyse9r.js → ripgrep-mmx1mfjr.js} +4 -4
- package/dist/chunks/{image-c9t2ty9q.js → ripgrep-mtkfycnh.js} +4 -4
- package/dist/chunks/{image-3t9dgkdy.js → ripgrep-mvntxdz5.js} +17 -17
- package/dist/chunks/{image-8g8ajnhh.js → ripgrep-mw7r6xhf.js} +9 -9
- package/dist/chunks/{image-dgy090gd.js → ripgrep-my54cbqv.js} +5 -5
- package/dist/chunks/{image-39m5thjs.js → ripgrep-n0xqaxze.js} +25 -25
- package/dist/chunks/ripgrep-n3r3rt18.js +18 -0
- package/dist/chunks/{image-c44160y8.js → ripgrep-n53x6sf3.js} +4 -4
- package/dist/chunks/{image-3kdbrncp.js → ripgrep-n6v2b7cw.js} +5 -5
- package/dist/chunks/{image-nah043kf.js → ripgrep-nah043kf.js} +1 -1
- package/dist/chunks/{image-gacpt71r.js → ripgrep-ndtpazxm.js} +30 -30
- package/dist/chunks/{image-dxw797sb.js → ripgrep-nta1mp64.js} +11 -11
- package/dist/chunks/{image-fypmhnps.js → ripgrep-nx4vzyjd.js} +6 -2
- package/dist/chunks/{image-fy9mjtsj.js → ripgrep-nxftzjsa.js} +22 -22
- package/dist/chunks/{image-p015t6z3.js → ripgrep-p015t6z3.js} +2 -2
- package/dist/chunks/{image-8zgx0mk8.js → ripgrep-p47gpjqr.js} +15 -15
- package/dist/chunks/{image-jqcfy5ts.js → ripgrep-pa3yh9f4.js} +33 -33
- package/dist/chunks/{image-k9zkdd2y.js → ripgrep-pcc6rjnf.js} +4 -4
- package/dist/chunks/{image-pf7dnjhv.js → ripgrep-phrz113q.js} +26 -26
- package/dist/chunks/{image-m4rznpxk.js → ripgrep-pj6fb39f.js} +277 -68
- package/dist/chunks/{image-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{image-3y081v33.js → ripgrep-pmnwwjgv.js} +60 -60
- package/dist/chunks/{image-b0nx2azr.js → ripgrep-pnxd3f75.js} +11 -11
- package/dist/chunks/{image-1z3wvqve.js → ripgrep-psanbaqe.js} +9 -9
- package/dist/chunks/{image-zeytg9j8.js → ripgrep-pvvt21d7.js} +14 -14
- package/dist/chunks/{image-hcc6p5a3.js → ripgrep-q6vnkpbt.js} +33 -33
- package/dist/chunks/{image-qy3khhnd.js → ripgrep-q91dqmyj.js} +26 -26
- package/dist/chunks/{image-azte55v6.js → ripgrep-qavpxcye.js} +2 -2
- package/dist/chunks/{image-5v3yzjvk.js → ripgrep-qf4spmep.js} +22 -22
- package/dist/chunks/{image-0v1smhm7.js → ripgrep-qfkq8xrf.js} +62 -58
- package/dist/chunks/{image-8jf3czjf.js → ripgrep-qh99nfkk.js} +29 -29
- package/dist/chunks/{image-yara3q77.js → ripgrep-qkw2jr9b.js} +2 -2
- package/dist/chunks/{image-9grvd76r.js → ripgrep-qnghve6e.js} +8 -8
- package/dist/chunks/{image-qp7r0hxv.js → ripgrep-qp7r0hxv.js} +1 -1
- package/dist/chunks/{image-xt0z8zst.js → ripgrep-qqpbcr2p.js} +4 -4
- package/dist/chunks/{image-qqvy8y24.js → ripgrep-qqvy8y24.js} +1 -1
- package/dist/chunks/ripgrep-qraj6mtx.js +257 -0
- package/dist/chunks/{image-zge8sn7n.js → ripgrep-qys60372.js} +10 -10
- package/dist/chunks/{image-ha1g65f2.js → ripgrep-qzwfbxrg.js} +11 -11
- package/dist/chunks/{image-4hhk1wq5.js → ripgrep-r2aaaqsx.js} +36 -36
- package/dist/chunks/{image-r542h3bh.js → ripgrep-r542h3bh.js} +1 -1
- package/dist/chunks/{image-vpfyxq3b.js → ripgrep-r5gpr2p5.js} +25 -25
- package/dist/chunks/{image-bn6dytgp.js → ripgrep-r87akjs2.js} +6 -6
- package/dist/chunks/{image-nhjb6w3d.js → ripgrep-r8ack8x7.js} +8 -8
- package/dist/chunks/{image-rb9dy4dg.js → ripgrep-rb9dy4dg.js} +1 -1
- package/dist/chunks/{image-k0e45ge6.js → ripgrep-rkafft8x.js} +16 -16
- package/dist/chunks/{image-hp23tba8.js → ripgrep-rmk8jq11.js} +34 -34
- package/dist/chunks/{image-rt5dr6hb.js → ripgrep-rt5dr6hb.js} +1 -1
- package/dist/chunks/{image-qcsh9g2y.js → ripgrep-rvdapjqy.js} +11 -11
- package/dist/chunks/{image-g6car740.js → ripgrep-rxc5w0st.js} +43 -43
- package/dist/chunks/{image-hxh3sdms.js → ripgrep-s4vdbda8.js} +14 -14
- package/dist/chunks/{image-qeqspr7f.js → ripgrep-s5z0gt4g.js} +3 -3
- package/dist/chunks/{image-jns4gqy7.js → ripgrep-s85z3cra.js} +4 -4
- package/dist/chunks/{image-sa3fpqfw.js → ripgrep-sa3fpqfw.js} +2 -2
- package/dist/chunks/{image-tn1wjjkb.js → ripgrep-sbpkqjks.js} +16 -16
- package/dist/chunks/{image-3jrww01t.js → ripgrep-sfvb2ra8.js} +39 -39
- package/dist/chunks/{image-3rt29ewr.js → ripgrep-shmzzj1p.js} +17 -17
- package/dist/chunks/{image-cje1pfpn.js → ripgrep-sk9th60b.js} +32 -32
- package/dist/chunks/{image-sqjzf8x2.js → ripgrep-sqjzf8x2.js} +1 -1
- package/dist/chunks/{image-qgfkghh1.js → ripgrep-stkk57rt.js} +4 -0
- package/dist/chunks/{image-svcy3p9a.js → ripgrep-svcy3p9a.js} +1 -1
- package/dist/chunks/{image-q4rvt96e.js → ripgrep-sy9atnn8.js} +9 -9
- package/dist/chunks/ripgrep-t03h4f5z.js +16 -0
- package/dist/chunks/{image-gbjdk4c3.js → ripgrep-t5kja7d6.js} +27 -27
- package/dist/chunks/{image-kee8ykx2.js → ripgrep-tak8qdkr.js} +8 -8
- package/dist/chunks/{image-tczq8hjw.js → ripgrep-tczq8hjw.js} +1 -1
- package/dist/chunks/{image-xg3m3sfb.js → ripgrep-tjx9btwx.js} +203 -203
- package/dist/chunks/{image-xxbr9jsf.js → ripgrep-tsszwamj.js} +27 -27
- package/dist/chunks/{image-twssxy5n.js → ripgrep-twssxy5n.js} +2 -2
- package/dist/chunks/{image-v2r1d0zg.js → ripgrep-v2r1d0zg.js} +1 -1
- package/dist/chunks/{image-8ykqf5wm.js → ripgrep-v8xpr2tt.js} +11 -11
- package/dist/chunks/{image-26x8chrq.js → ripgrep-vaq1yek0.js} +6 -6
- package/dist/chunks/{image-njw1ekhc.js → ripgrep-vcxd5eqd.js} +8 -8
- package/dist/chunks/{image-c4104nvq.js → ripgrep-vm4ntgdp.js} +90 -90
- package/dist/chunks/{image-kprvh3r4.js → ripgrep-vmaxc52x.js} +18 -18
- package/dist/chunks/{image-67eerw5j.js → ripgrep-vpm1h889.js} +22 -22
- package/dist/chunks/{image-pd4ndcwr.js → ripgrep-vydydcga.js} +25 -25
- package/dist/chunks/{image-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-fznmdakp.js → ripgrep-w687dnns.js} +4 -4
- package/dist/chunks/{image-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
- package/dist/chunks/{image-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{image-e6v5qvkg.js → ripgrep-wjc27my0.js} +11 -11
- package/dist/chunks/{image-wnhgecwx.js → ripgrep-wnhgecwx.js} +1 -1
- package/dist/chunks/{image-pkx7b8zb.js → ripgrep-wsrqy1ze.js} +23 -23
- package/dist/chunks/{image-9b00c1fb.js → ripgrep-wz5tj16h.js} +5 -5
- package/dist/chunks/{image-xcx6w6h2.js → ripgrep-x3d3mep8.js} +6 -6
- package/dist/chunks/{image-0hq318p0.js → ripgrep-x3fmc1hr.js} +21 -21
- package/dist/chunks/{image-92zdzejd.js → ripgrep-x524hec9.js} +25 -25
- package/dist/chunks/{image-kqjfhnyk.js → ripgrep-x62jm14v.js} +12 -12
- package/dist/chunks/{image-ymz7p2c9.js → ripgrep-x7c80rtj.js} +3 -3
- package/dist/chunks/{image-89ycw09x.js → ripgrep-x8yhn9vn.js} +24 -24
- package/dist/chunks/{image-qqsnbxa9.js → ripgrep-x959zq99.js} +1 -1
- package/dist/chunks/{image-6v2f7dvw.js → ripgrep-xcebgh3h.js} +4 -4
- package/dist/chunks/{image-bstexjd6.js → ripgrep-xd9cc171.js} +5 -5
- package/dist/chunks/{image-9vmwptcj.js → ripgrep-xf83b33t.js} +30 -30
- package/dist/chunks/{image-wxae8jq7.js → ripgrep-xp46ybm5.js} +19 -19
- package/dist/chunks/{image-z4vm3w9s.js → ripgrep-xsga5jf7.js} +23 -23
- package/dist/chunks/{image-wwv5we4j.js → ripgrep-xv70sp23.js} +26 -26
- package/dist/chunks/{image-n8x58739.js → ripgrep-xyn9xt4d.js} +6 -6
- package/dist/chunks/{image-vk8647fk.js → ripgrep-y6qsxzbk.js} +4 -4
- package/dist/chunks/{image-frevgasg.js → ripgrep-y8d574bw.js} +28 -28
- package/dist/chunks/{image-yb20nhc3.js → ripgrep-yb20nhc3.js} +1 -1
- package/dist/chunks/{image-q2akw4rt.js → ripgrep-ybcwzyjp.js} +31 -31
- package/dist/chunks/{image-ahzw090p.js → ripgrep-ydbjebpg.js} +25 -25
- package/dist/chunks/{image-vx3jgdek.js → ripgrep-yeejah88.js} +3 -3
- package/dist/chunks/{image-k5jndtya.js → ripgrep-yqqn7f99.js} +1 -1
- package/dist/chunks/{image-mg0htjxc.js → ripgrep-yxp9849n.js} +33 -33
- package/dist/chunks/{image-pebb1b2g.js → ripgrep-z33c4g07.js} +13 -13
- package/dist/chunks/{image-z38nccrw.js → ripgrep-z38nccrw.js} +1 -1
- package/dist/chunks/{image-47tv8dfp.js → ripgrep-z48jxn29.js} +18 -18
- package/dist/chunks/{image-58d281yc.js → ripgrep-z7zabdrt.js} +24 -24
- package/dist/chunks/{image-5sb780hn.js → ripgrep-z9qgeafv.js} +20 -20
- package/dist/chunks/{image-e4v2mgyj.js → ripgrep-zbjfvsrb.js} +13 -13
- package/dist/chunks/{image-mj7659ab.js → ripgrep-zd07p9e4.js} +31 -31
- package/dist/chunks/{image-kag6nkv4.js → ripgrep-zh4a5xq0.js} +19 -19
- package/dist/chunks/{image-9f3sjfep.js → ripgrep-zh7bbm8x.js} +9 -9
- package/dist/chunks/{image-3w0ntz8g.js → ripgrep-zmz19rft.js} +11 -11
- package/dist/chunks/{image-fskffsfd.js → ripgrep-zr96t73h.js} +16 -16
- 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 +93 -92
- package/dist/config/discovery.js +94 -93
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -110
- package/dist/config/plugin/agent.js +127 -126
- package/dist/config/plugin/command.js +225 -224
- package/dist/config/plugin/compaction.js +166 -165
- package/dist/config/plugin/compatibility.js +146 -145
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +126 -125
- package/dist/config/plugin/image.js +125 -124
- package/dist/config/plugin/instruction.js +125 -124
- package/dist/config/plugin/location-watcher.js +127 -126
- package/dist/config/plugin/mcp.js +134 -133
- package/dist/config/plugin/policy.js +127 -126
- package/dist/config/plugin/provider.js +126 -125
- package/dist/config/plugin/reference.js +127 -126
- package/dist/config/plugin/shell.js +125 -124
- package/dist/config/plugin/skill-file.js +142 -141
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +149 -148
- package/dist/config/plugin/snapshot.js +125 -124
- package/dist/config/plugin/source.js +128 -127
- package/dist/config/plugin/tool-output.js +126 -125
- package/dist/config/plugin/websearch.js +124 -123
- package/dist/config/plugin/worktree.js +127 -126
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -127
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -92
- package/dist/database/database.js +80 -79
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +6 -0
- package/dist/database/migration.gen.js +59 -58
- package/dist/database/migration.js +61 -60
- 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 +107 -106
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +390 -388
- 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 +105 -104
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +84 -83
- package/dist/file-access.js +152 -151
- package/dist/file-mutation.js +106 -105
- 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/file-watch.js +90 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +238 -237
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -113
- package/dist/form.js +92 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -98
- package/dist/generate.js +119 -118
- package/dist/git.js +11 -11
- 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 +111 -110
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +381 -379
- package/dist/instruction-discovery.js +94 -93
- package/dist/instructions/builtins.js +99 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +99 -98
- package/dist/job.js +88 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -82
- package/dist/location-activity.js +170 -169
- package/dist/location-lifecycle.js +146 -145
- package/dist/location-service-map.js +98 -97
- package/dist/location-services.js +378 -376
- package/dist/location.js +101 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -102
- package/dist/mcp/index.js +115 -114
- package/dist/mcp/instructions.js +172 -171
- package/dist/mcp/oauth.js +88 -87
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -110
- package/dist/model-resolver.js +111 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -119
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -150
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +100 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -84
- package/dist/plugin/agent.js +86 -85
- package/dist/plugin/command.js +114 -113
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +231 -230
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +357 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -108
- package/dist/plugin/module.js +127 -126
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +142 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -102
- package/dist/plugin/provider/azure.js +125 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +125 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +123 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +123 -122
- package/dist/plugin/provider/configured.js +121 -120
- package/dist/plugin/provider/credential-settings.js +84 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -106
- package/dist/plugin/provider/gitlab.js +106 -105
- package/dist/plugin/provider/google-vertex.js +122 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -87
- package/dist/plugin/provider/lmstudio.js +132 -131
- package/dist/plugin/provider/local.js +131 -130
- package/dist/plugin/provider/modal.js +104 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +134 -133
- package/dist/plugin/provider/openai-context-caps.js +102 -101
- package/dist/plugin/provider/openai.js +125 -124
- package/dist/plugin/provider/opencode.js +128 -127
- package/dist/plugin/provider/openrouter.js +103 -102
- package/dist/plugin/provider/poe.js +89 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +124 -123
- package/dist/plugin/provider/vllm.js +134 -133
- package/dist/plugin/provider/xai.js +103 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +176 -175
- package/dist/plugin/sdk.js +86 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +145 -144
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +369 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -97
- package/dist/plugin/vcs/hg.js +98 -97
- package/dist/plugin/verbosity.js +105 -104
- package/dist/plugin/warming.js +123 -122
- 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 +238 -237
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +102 -101
- package/dist/provider.js +111 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -103
- package/dist/reference/instructions.js +100 -99
- package/dist/reference.js +102 -101
- package/dist/repository-cache.js +92 -91
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +107 -106
- package/dist/rpc.js +98 -97
- package/dist/schedule/check.js +248 -0
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +248 -227
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +126 -125
- package/dist/session/command.js +84 -83
- package/dist/session/compaction.js +162 -161
- package/dist/session/context.js +192 -191
- package/dist/session/diff.js +100 -99
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +236 -235
- package/dist/session/execution.js +158 -157
- package/dist/session/generate.js +192 -191
- package/dist/session/history.js +131 -130
- package/dist/session/inbox.js +140 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +136 -135
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -154
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +160 -159
- package/dist/session/projector.js +138 -137
- package/dist/session/prompt.js +144 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +134 -133
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +243 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -111
- package/dist/session/runner/publish-llm-event.js +145 -144
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +158 -157
- package/dist/session/runner/to-llm-message.js +132 -131
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +176 -175
- package/dist/session/shell.js +139 -138
- package/dist/session/skill.js +145 -144
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -84
- package/dist/session/store.js +137 -136
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +223 -222
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +196 -195
- package/dist/session/to-session-error.js +144 -143
- package/dist/session/transfer.js +237 -236
- package/dist/session/usage.js +1 -1
- package/dist/session.js +227 -226
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +141 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +147 -146
- package/dist/skill.js +152 -151
- package/dist/snapshot.js +105 -104
- 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 +167 -166
- package/dist/tool/plugin/edit.js +160 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -159
- package/dist/tool/plugin/grep.js +156 -155
- package/dist/tool/plugin/image-generate.js +229 -228
- package/dist/tool/plugin/mcp-resource.js +158 -157
- package/dist/tool/plugin/opencode.js +157 -156
- package/dist/tool/plugin/patch.js +162 -161
- package/dist/tool/plugin/question.js +140 -139
- package/dist/tool/plugin/read.js +165 -164
- package/dist/tool/plugin/schedule.js +237 -220
- package/dist/tool/plugin/shell.js +226 -225
- package/dist/tool/plugin/skill.js +149 -148
- package/dist/tool/plugin/subagent.js +228 -227
- package/dist/tool/plugin/todo.js +147 -146
- package/dist/tool/plugin/webfetch.js +151 -150
- package/dist/tool/plugin/websearch.js +149 -148
- package/dist/tool/plugin/write.js +162 -161
- package/dist/tool/read-filesystem.js +112 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/database/migration/20261029165540_schedule_checks.d.ts +3 -0
- package/dist/types/permission.d.ts +10 -0
- package/dist/types/persistent-pty/index.d.ts +7 -1
- package/dist/types/schedule/check.d.ts +46 -0
- package/dist/types/schedule/sql.d.ts +75 -1
- package/dist/types/schedule.d.ts +4 -147
- package/dist/types/tool/plugin/schedule.d.ts +28 -1
- package/dist/usage-limits.js +99 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -103
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -98
- package/dist/voice.js +100 -99
- package/dist/websearch.js +92 -91
- package/dist/wellknown/plugin.js +86 -85
- package/dist/wellknown.js +89 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -100
- package/dist/worktree.js +108 -107
- package/package.json +9 -9
- package/dist/chunks/image-2dkjcnxp.js +0 -18
- package/dist/chunks/image-n4r6va5a.js +0 -257
- package/dist/chunks/image-zx247qgx.js +0 -26
- /package/dist/chunks/{image-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kah00gy.js → ripgrep-1kah00gy.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5w3e23ze.js → ripgrep-5w3e23ze.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{image-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-7stb81gk.js → ripgrep-7stb81gk.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{image-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a058387c.js → ripgrep-a058387c.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-beh6qq61.js → ripgrep-beh6qq61.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cqv5kn06.js → ripgrep-cqv5kn06.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fkpq3x5p.js → ripgrep-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jwr30sdr.js → ripgrep-jwr30sdr.js} +0 -0
- /package/dist/chunks/{image-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-m18g726c.js → ripgrep-m18g726c.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-ncqqe42p.js → ripgrep-ncqqe42p.js} +0 -0
- /package/dist/chunks/{image-nh4v3znn.js → ripgrep-nh4v3znn.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-p71gwv9c.js → ripgrep-p71gwv9c.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-ty7weeps.js → ripgrep-ty7weeps.js} +0 -0
- /package/dist/chunks/{image-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service87,
|
|
6
|
-
node91
|
|
7
|
-
} from "./image-n1c40vny.js";
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service86,
|
|
10
6
|
node90
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-g24xgb35.js";
|
|
12
8
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./ripgrep-sbpkqjks.js";
|
|
12
|
+
import {
|
|
13
|
+
Service87,
|
|
14
|
+
node91
|
|
15
|
+
} from "./ripgrep-b0mgw4ep.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID19,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-kcg78dnn.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-qkw2jr9b.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
Current: () => Current2,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
ID: () => ID18,
|
|
43
|
+
Info: () => Info30,
|
|
44
|
+
NotFoundError: () => NotFoundError13,
|
|
45
45
|
Project: () => exports_project,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service84,
|
|
47
47
|
UpdateInput: () => UpdateInput3,
|
|
48
48
|
Vcs: () => Vcs2,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node88,
|
|
50
50
|
root: () => root2,
|
|
51
51
|
sweepNode: () => sweepNode2
|
|
52
52
|
});
|
|
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
59
59
|
import { AppProcess } from "@opencode/util/process";
|
|
60
60
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Hash } from "@opencode/util/hash";
|
|
62
|
-
var
|
|
62
|
+
var ID18 = ID19;
|
|
63
63
|
var Vcs2 = Vcs3;
|
|
64
64
|
var Current2 = Current3;
|
|
65
|
-
var
|
|
65
|
+
var Info30 = Info31;
|
|
66
66
|
var UpdateInput3 = UpdateInput4;
|
|
67
67
|
|
|
68
|
-
class
|
|
69
|
-
projectID:
|
|
68
|
+
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
69
|
+
projectID: ID18
|
|
70
70
|
}) {
|
|
71
71
|
}
|
|
72
72
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
84
84
|
var ACTIVATE_INTERVAL = 60000;
|
|
85
85
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service84 extends Context.Service()("@opencode/Project") {
|
|
88
88
|
}
|
|
89
89
|
function fromRow(row) {
|
|
90
90
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -108,12 +108,12 @@ function fromRow(row) {
|
|
|
108
108
|
sandboxes: row.sandboxes
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var layer = Layer.effect(
|
|
111
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const git = yield*
|
|
113
|
+
const git = yield* Service87;
|
|
114
114
|
const proc = yield* AppProcess.Service;
|
|
115
|
-
const bus = yield*
|
|
116
|
-
const db = (yield*
|
|
115
|
+
const bus = yield* Service85;
|
|
116
|
+
const db = (yield* Service86).db;
|
|
117
117
|
const scope = yield* Scope.Scope;
|
|
118
118
|
const announcing = new Set;
|
|
119
119
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
123
123
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
124
124
|
const changed = replaced ?? unarchived;
|
|
125
125
|
if (changed)
|
|
126
|
-
yield* bus.publish(
|
|
127
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
126
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
127
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
128
128
|
if (!project.vcs)
|
|
129
129
|
return project;
|
|
130
130
|
const directories = [
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
160
160
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
161
161
|
projectID: item.projectID,
|
|
162
162
|
directory: item.directory,
|
|
163
|
-
previous: project.previous ??
|
|
163
|
+
previous: project.previous ?? ID18.global,
|
|
164
164
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
165
165
|
}, {
|
|
166
166
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
183
183
|
time_updated: Date.now()
|
|
184
184
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
185
185
|
if (!row)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError13({ projectID: input.projectID });
|
|
187
187
|
const project = fromRow(row);
|
|
188
|
-
yield* bus.publish(
|
|
188
|
+
yield* bus.publish(Event20.Updated, project);
|
|
189
189
|
return project;
|
|
190
190
|
});
|
|
191
191
|
const activated = new Map;
|
|
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
196
196
|
activated.set(projectID, now);
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
202
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
202
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID18.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
203
203
|
return;
|
|
204
204
|
}));
|
|
205
205
|
});
|
|
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
210
210
|
const normalized = url(origin);
|
|
211
211
|
if (!normalized)
|
|
212
212
|
return;
|
|
213
|
-
return
|
|
213
|
+
return ID18.make(Hash.fast(`git-remote:${normalized}`));
|
|
214
214
|
});
|
|
215
215
|
function url(input) {
|
|
216
216
|
const value = input.trim();
|
|
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
235
235
|
}
|
|
236
236
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
237
237
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
238
|
-
return root ?
|
|
238
|
+
return root ? ID18.make(root) : undefined;
|
|
239
239
|
});
|
|
240
240
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
241
241
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
252
252
|
const resolved = {
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID18.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
276
276
|
return;
|
|
277
277
|
const node = result.stdout.toString("utf8").split(`
|
|
278
278
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
279
|
-
return node ?
|
|
279
|
+
return node ? ID18.make(node) : undefined;
|
|
280
280
|
});
|
|
281
281
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
282
282
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
284
284
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
285
285
|
return {
|
|
286
286
|
previous,
|
|
287
|
-
id: id ??
|
|
287
|
+
id: id ?? ID18.global,
|
|
288
288
|
directory: worktree,
|
|
289
289
|
vcs: { type: "hg", store: dotHg }
|
|
290
290
|
};
|
|
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
return yield* save({
|
|
314
|
-
id:
|
|
314
|
+
id: ID18.make(Hash.fast(`directory:${directory}`)),
|
|
315
315
|
directory,
|
|
316
316
|
canonical: directory,
|
|
317
317
|
vcs: undefined
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
320
320
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
321
321
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
322
322
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
323
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
323
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID18.global))).all().pipe(Effect.orDie);
|
|
324
324
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
325
325
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
326
326
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
333
333
|
return;
|
|
334
334
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
335
335
|
if (row)
|
|
336
|
-
yield* bus.publish(
|
|
336
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
337
337
|
}), { concurrency: 8, discard: true });
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service84.of({ list, update, activate, resolve, sweep });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node88 = makeGlobalNode({
|
|
342
|
+
service: Service84,
|
|
343
343
|
layer,
|
|
344
|
-
deps: [
|
|
344
|
+
deps: [node89, node90, FSUtil.node, node91, AppProcess.node]
|
|
345
345
|
});
|
|
346
346
|
var sweepNode2 = makeGlobalNode({
|
|
347
347
|
name: "project-archive-sweep",
|
|
348
348
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
349
|
-
const project = yield*
|
|
349
|
+
const project = yield* Service84;
|
|
350
350
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
351
351
|
})),
|
|
352
|
-
deps: [
|
|
352
|
+
deps: [node88]
|
|
353
353
|
});
|
|
354
354
|
|
|
355
|
-
export {
|
|
355
|
+
export { ID18, Vcs2, Current2, Info30, UpdateInput3, NotFoundError13, root2, Service84, node88, sweepNode2, exports_project };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./ripgrep-sbpkqjks.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./ripgrep-909bcygr.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service55,
|
|
14
|
+
node58
|
|
15
|
+
} from "./ripgrep-m7egy7mx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service31,
|
|
18
|
+
node34
|
|
19
|
+
} from "./ripgrep-h0xgca3k.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service74,
|
|
22
|
+
node77
|
|
23
|
+
} from "./ripgrep-rvdapjqy.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-0h910ma9.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service28,
|
|
36
36
|
layer: () => layer14,
|
|
37
37
|
name: () => name16,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node31
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
|
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
48
|
var name16 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var layer14 = Layer.effect(
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
55
|
-
const bus = yield*
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
52
|
+
var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service29;
|
|
54
|
+
const tools = yield* Service31;
|
|
55
|
+
const bus = yield* Service85;
|
|
56
|
+
const permission = yield* Service55;
|
|
57
|
+
const toolOutput = yield* Service74;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -124,7 +124,7 @@ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node31 = makeLocationNode({
|
|
148
|
+
service: Service28,
|
|
149
149
|
layer: layer14,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node34, node32, node89, node58, node77]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2, name16,
|
|
153
|
+
export { namespace2, name16, Service28, layer14, node31, exports_mcp3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./ripgrep-x8yhn9vn.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service81;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./ripgrep-5c6v7bf7.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service64;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID10.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID13,
|
|
6
|
+
Service67
|
|
7
|
+
} from "./ripgrep-pa3yh9f4.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-yeejah88.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-gkng5bng.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-8z6m94af.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service67;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID13.make(from),
|
|
91
|
+
to: ID13.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-mmx1mfjr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./ripgrep-v8xpr2tt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info17
|
|
12
|
+
} from "./ripgrep-3ryz99p0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info13
|
|
15
|
+
} from "./ripgrep-hr4y9snp.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info14
|
|
21
|
+
} from "./ripgrep-n6v2b7cw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-y6qsxzbk.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize3(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize3(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -220,7 +220,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
220
220
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
const server = decodeValue(
|
|
223
|
+
const server = decodeValue(Info13, value, path, diagnostics);
|
|
224
224
|
if (server !== undefined)
|
|
225
225
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
226
226
|
});
|
|
@@ -456,7 +456,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
456
456
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
457
457
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
458
458
|
return [];
|
|
459
|
-
const provider = decodeValue(
|
|
459
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
460
460
|
if (provider === undefined)
|
|
461
461
|
return [];
|
|
462
462
|
const destination = providerID2(name);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./ripgrep-g24xgb35.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./ripgrep-1f952vs7.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-n3r3rt18.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service58
|
|
15
|
+
} from "./ripgrep-bxe7n28z.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-gkng5bng.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-mw7r6xhf.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service38
|
|
30
|
+
} from "./ripgrep-qh99nfkk.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service58;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service38;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -104,7 +104,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
104
104
|
return FileAttachment.create({
|
|
105
105
|
data: Base64.make(Buffer.from(blob.data).toString("base64")),
|
|
106
106
|
mime: blob.mime,
|
|
107
|
-
source: { type: "inline" },
|
|
107
|
+
source: input.source ?? { type: "inline" },
|
|
108
108
|
name: input.name,
|
|
109
109
|
description: input.description,
|
|
110
110
|
mention: input.mention
|
|
@@ -113,7 +113,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
113
113
|
const label = attachmentLabel(input);
|
|
114
114
|
const resolved = input.uri.startsWith("data:") ? {
|
|
115
115
|
bytes: yield* decodeDataURL(input.uri, label),
|
|
116
|
-
source: { type: "inline" },
|
|
116
|
+
source: input.source ?? { type: "inline" },
|
|
117
117
|
start: undefined,
|
|
118
118
|
end: undefined,
|
|
119
119
|
name: undefined,
|
|
@@ -141,14 +141,14 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service32;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
148
148
|
return { data: Base64.make(normalized.content), mime: normalized.mime };
|
|
149
149
|
});
|
|
150
150
|
var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
|
|
151
|
-
const { db } = yield*
|
|
151
|
+
const { db } = yield* Service86;
|
|
152
152
|
const blob = yield* read3(db, refHash2(uri));
|
|
153
153
|
if (!blob)
|
|
154
154
|
return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
|