@opencode/core 0.0.0-dev-20655 → 0.0.0-dev-20659
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +90 -90
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{app-wp4df68x.js → git-00vxkvj8.js} +10 -10
- package/dist/chunks/{app-s9bkmqx5.js → git-040b8ymy.js} +6 -6
- package/dist/chunks/{app-5p8wf6j7.js → git-0c7deste.js} +24 -24
- package/dist/chunks/{app-0j77ygfz.js → git-0j77ygfz.js} +2 -2
- package/dist/chunks/{app-xf8yqmad.js → git-0jq9fyba.js} +9 -9
- package/dist/chunks/{app-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-b7v4cx43.js → git-0t098hqn.js} +5 -5
- package/dist/chunks/{app-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{app-py8bz5dh.js → git-0zghx38h.js} +19 -19
- package/dist/chunks/{app-vcx4y3fv.js → git-1174b0hx.js} +16 -16
- package/dist/chunks/{app-aya0m2nn.js → git-13kfw95c.js} +15 -31
- package/dist/chunks/{app-qsee9sfb.js → git-143qq2q9.js} +3 -3
- package/dist/chunks/{app-68yqgpv3.js → git-14grjhb4.js} +20 -20
- package/dist/chunks/{app-w22hqb2b.js → git-16apfsbq.js} +15 -15
- package/dist/chunks/{app-4dhf6qr5.js → git-1a1rn49g.js} +16 -16
- package/dist/chunks/{app-1b4m0bzf.js → git-1b4m0bzf.js} +1 -1
- package/dist/chunks/{app-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-84h8c373.js → git-1dvck2a7.js} +2 -2
- package/dist/chunks/{app-d08g2ggt.js → git-1f2q55ad.js} +33 -33
- package/dist/chunks/{app-s6fz7zhe.js → git-1hya600g.js} +3 -3
- package/dist/chunks/{app-6myapkvy.js → git-1j8ev5c3.js} +24 -24
- package/dist/chunks/git-1x11rq2a.js +18 -0
- package/dist/chunks/{app-56gdpj1q.js → git-1ygqh575.js} +9 -9
- package/dist/chunks/{app-29fgs7mf.js → git-1ykawk59.js} +26 -26
- package/dist/chunks/{app-1rh4yqvv.js → git-2003xh4j.js} +9 -9
- package/dist/chunks/{app-57e9z27j.js → git-2336b01z.js} +8 -8
- package/dist/chunks/{app-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-pybq8189.js → git-2bw54qtz.js} +3 -3
- package/dist/chunks/{app-xa67z4h8.js → git-2c3eq8z5.js} +1 -1
- package/dist/chunks/{app-2ccvkpx1.js → git-2ccvkpx1.js} +2 -2
- package/dist/chunks/{app-jhpaar4x.js → git-2hr5nhwa.js} +8 -8
- package/dist/chunks/{app-wbgabvvj.js → git-2k9fjx65.js} +5 -5
- package/dist/chunks/{app-5w6eg69j.js → git-2m6x7dk2.js} +24 -24
- package/dist/chunks/{app-g945yz75.js → git-2nrarbfq.js} +26 -26
- package/dist/chunks/{app-mypwhdkk.js → git-2p5y98w0.js} +6 -6
- package/dist/chunks/{app-2pnhn36q.js → git-2pnhn36q.js} +1 -1
- package/dist/chunks/{app-4b3qsvz5.js → git-2vp5hvvb.js} +8 -8
- package/dist/chunks/{app-325sge2s.js → git-325sge2s.js} +1 -1
- package/dist/chunks/{app-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-6xrnn9ah.js → git-3j8n7zh4.js} +18 -18
- package/dist/chunks/{app-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-2dcxqaf0.js → git-3vpcsz7z.js} +21 -21
- package/dist/chunks/{app-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{app-wxzwjz1v.js → git-41bfxxgf.js} +33 -33
- package/dist/chunks/{app-z52sz3cr.js → git-4mvz68vy.js} +32 -32
- package/dist/chunks/{app-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{app-0ejp3s31.js → git-56espktj.js} +18 -18
- package/dist/chunks/{app-vpw5h8ff.js → git-56qj8wan.js} +5 -5
- package/dist/chunks/{app-z9w0t9mp.js → git-57vd24f3.js} +9 -9
- package/dist/chunks/{app-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{app-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-ngv8w6cp.js → git-5prh4sa3.js} +13 -13
- package/dist/chunks/{app-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-9kdznkft.js → git-5yj8ke91.js} +151 -151
- package/dist/chunks/{app-tpw6cwsb.js → git-5yzzbxa7.js} +8 -8
- package/dist/chunks/{app-jkv8g5mz.js → git-653jwha5.js} +3 -3
- package/dist/chunks/{app-v0es1rhs.js → git-6g7e4dd5.js} +7 -7
- package/dist/chunks/{app-nd6t1tpn.js → git-6vabwvmw.js} +12 -12
- package/dist/chunks/{app-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{app-mwkrjy8y.js → git-6xkwkya9.js} +13 -13
- package/dist/chunks/{app-f75zav2x.js → git-71az546q.js} +2 -2
- package/dist/chunks/{app-4ghyx0ra.js → git-73119sgt.js} +17 -17
- package/dist/chunks/{app-9706e9af.js → git-73apqjm5.js} +13 -13
- package/dist/chunks/{app-3pshrbxs.js → git-73nkehxt.js} +3 -3
- package/dist/chunks/{app-mvfsc1pv.js → git-73tb2d7t.js} +3 -3
- package/dist/chunks/{app-wkt2r7t8.js → git-76ewd06k.js} +3 -3
- package/dist/chunks/{app-4k4xw99j.js → git-791n53zr.js} +12 -12
- package/dist/chunks/{app-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-9w4vxw73.js → git-7eb1d2yt.js} +22 -22
- package/dist/chunks/{app-hxnmxwjb.js → git-7gd3hzpr.js} +21 -21
- package/dist/chunks/{app-5cwdzrbq.js → git-7pd5pffv.js} +9 -9
- package/dist/chunks/{app-gfypdtgg.js → git-7wqm39p3.js} +6 -6
- package/dist/chunks/{app-fbfqd6t5.js → git-82qsn231.js} +31 -31
- package/dist/chunks/{app-w1eejvng.js → git-84txncab.js} +5 -5
- package/dist/chunks/{app-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-jc3azejp.js → git-8fjdzkkz.js} +27 -27
- package/dist/chunks/{app-kdhmv3km.js → git-8fmcz4d2.js} +11 -11
- package/dist/chunks/{app-rszvgpa6.js → git-8pyww4v8.js} +13 -13
- package/dist/chunks/{app-gmyrpb2t.js → git-8vpe69nk.js} +25 -25
- package/dist/chunks/{app-a89j2j3v.js → git-8vy6cwnw.js} +9 -9
- package/dist/chunks/{app-tv9y8cre.js → git-90arfvh2.js} +31 -31
- package/dist/chunks/{app-7z20pvgb.js → git-90g7qw2a.js} +13 -13
- package/dist/chunks/{app-y77syfze.js → git-98f0fqab.js} +25 -25
- package/dist/chunks/{app-ar6cqpvd.js → git-9bde0dy1.js} +11 -11
- package/dist/chunks/{app-kb9j3d72.js → git-9e5bzkjp.js} +3 -3
- package/dist/chunks/{app-sgy8ytrb.js → git-9gj6hpr6.js} +2 -2
- package/dist/chunks/{app-4x7mprc7.js → git-9mdv1d98.js} +3 -3
- package/dist/chunks/{app-v3691hzd.js → git-9pa8tak9.js} +2 -2
- package/dist/chunks/{app-xp199s9v.js → git-9ppqf0fm.js} +23 -23
- package/dist/chunks/{app-tjd55h1j.js → git-9ptry7h8.js} +1 -1
- package/dist/chunks/{app-j4tsbt5k.js → git-9smks8ax.js} +25 -25
- package/dist/chunks/{app-7cxp1twe.js → git-9ttbk61r.js} +26 -26
- package/dist/chunks/{app-sdzb5d81.js → git-a3zqsen4.js} +43 -43
- package/dist/chunks/{app-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{app-gvra8byy.js → git-af6rkajf.js} +6 -6
- package/dist/chunks/{app-reymgymz.js → git-afj4khrd.js} +32 -32
- package/dist/chunks/{app-2awzhxm4.js → git-ag7334sc.js} +6 -6
- package/dist/chunks/{app-mzkxtmwj.js → git-amv1ejgv.js} +47 -47
- package/dist/chunks/{app-xj54bchx.js → git-aps1yx91.js} +1 -1
- package/dist/chunks/{app-jnvev7pc.js → git-aryft9f9.js} +36 -36
- package/dist/chunks/{app-rjq8wmvv.js → git-avae2qkj.js} +9 -9
- package/dist/chunks/{app-b27vhd2z.js → git-b27vhd2z.js} +1 -1
- package/dist/chunks/{app-hwwy1ym4.js → git-b2jc1z43.js} +11 -11
- package/dist/chunks/{app-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-1h0m70r1.js → git-bsbz52zb.js} +6 -6
- package/dist/chunks/{app-k5s0pr56.js → git-bzt0dk37.js} +26 -26
- package/dist/chunks/{app-v8djm3tk.js → git-c243x79n.js} +34 -34
- package/dist/chunks/{app-7jqg3t26.js → git-c3zqzp8y.js} +8 -8
- package/dist/chunks/{app-7b0bmdfp.js → git-c6cbvwxq.js} +4 -4
- package/dist/chunks/{app-fh6mwhcg.js → git-c8s4yex5.js} +16 -16
- package/dist/chunks/{app-r7jxkywv.js → git-cfx504ks.js} +13 -13
- package/dist/chunks/{app-dhgz4p5g.js → git-ckxxahkn.js} +29 -29
- package/dist/chunks/{app-67p37xz4.js → git-cqs54gg3.js} +1 -1
- package/dist/chunks/{app-x9e148je.js → git-cs0f06fr.js} +22 -22
- package/dist/chunks/{app-jtgyfgpv.js → git-cth98fgx.js} +48 -48
- package/dist/chunks/{app-rdh9syxk.js → git-d1f3pbt1.js} +9 -9
- package/dist/chunks/{app-0c8a6nan.js → git-d3c6y7f2.js} +83 -83
- package/dist/chunks/{app-9014prnx.js → git-d4g413ww.js} +7 -7
- package/dist/chunks/{app-srj2pvnr.js → git-db35ckwp.js} +13 -13
- package/dist/chunks/{app-xkntkrq7.js → git-dmqcgk4z.js} +5 -5
- package/dist/chunks/{app-9h0hm6c7.js → git-dqp200sx.js} +18 -18
- package/dist/chunks/{app-76tyfscq.js → git-dyc3kv56.js} +12 -12
- package/dist/chunks/{app-xccs5pvc.js → git-e6hqwnjd.js} +9 -9
- package/dist/chunks/{app-rrfvxgdj.js → git-e8tr3786.js} +22 -22
- package/dist/chunks/{app-bae9fd7v.js → git-edkvx3dd.js} +32 -32
- package/dist/chunks/{app-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-bgb55b52.js → git-egnnm4z4.js} +36 -36
- package/dist/chunks/{app-bzg3gwdp.js → git-ej71bdfb.js} +44 -44
- package/dist/chunks/{app-sssj1js0.js → git-ekg5h0zp.js} +33 -33
- package/dist/chunks/{app-nxdkhax1.js → git-em4qz8cs.js} +10 -10
- package/dist/chunks/{app-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-m1mccnkp.js → git-ey7wydsb.js} +22 -37
- package/dist/chunks/{app-7cjh5p1y.js → git-f5gy8qwh.js} +8 -8
- package/dist/chunks/{app-7dqw4kz8.js → git-fcrkznn8.js} +5 -5
- package/dist/chunks/{app-jat658e1.js → git-fdm4t8z9.js} +16 -16
- package/dist/chunks/{app-qby9dwvd.js → git-g1sxm558.js} +8 -8
- package/dist/chunks/{app-20k6bs8s.js → git-g5kmhmn4.js} +11 -11
- package/dist/chunks/{app-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-5xnx6s0g.js → git-ggevdayx.js} +4 -4
- package/dist/chunks/{app-7gganw90.js → git-gjbzw0xs.js} +2 -2
- package/dist/chunks/{app-d9yqcqn2.js → git-gsnyd5qq.js} +7 -7
- package/dist/chunks/{app-9whkbvte.js → git-gtczcmth.js} +3 -3
- package/dist/chunks/{app-pwzyebmy.js → git-gyn5n75h.js} +6 -6
- package/dist/chunks/{app-apkykmcv.js → git-gz56ec1j.js} +38 -38
- package/dist/chunks/{app-3cegwx68.js → git-h2b79v29.js} +2 -2
- package/dist/chunks/{app-7w42a7vr.js → git-h2wp1rwf.js} +21 -21
- package/dist/chunks/{app-knevfgda.js → git-h6310vsd.js} +4 -4
- package/dist/chunks/{app-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-rrpq0de9.js → git-h79qd4dv.js} +12 -12
- package/dist/chunks/{app-b8rcbyp3.js → git-h9jvq6n0.js} +11 -11
- package/dist/chunks/{app-dbkg7j5s.js → git-hc1902wk.js} +16 -16
- package/dist/chunks/{app-dr9djctk.js → git-he2r9q3j.js} +15 -15
- package/dist/chunks/{app-amtff23s.js → git-hjndax5w.js} +9 -9
- package/dist/chunks/{app-yj324k3c.js → git-hqb90bek.js} +5 -5
- package/dist/chunks/{app-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{app-p7a39gy5.js → git-j5w2yx54.js} +6 -6
- package/dist/chunks/{app-242d3xz3.js → git-jcm1ap69.js} +6 -6
- package/dist/chunks/{app-4ayp82yx.js → git-jq13pd70.js} +142 -142
- package/dist/chunks/{app-k3kxt7h3.js → git-k18ytf7m.js} +8 -8
- package/dist/chunks/{app-hhjq2279.js → git-kcjnae1a.js} +10 -10
- package/dist/chunks/{app-b63vc8wa.js → git-kkkysjtm.js} +16 -16
- package/dist/chunks/{app-wygm2re9.js → git-kpde0a2c.js} +13 -13
- package/dist/chunks/{app-791sstd7.js → git-kw7v3js8.js} +18 -18
- package/dist/chunks/{app-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-8phv1wh2.js → git-m4qj4fpw.js} +8 -8
- package/dist/chunks/{app-tz4n1mmd.js → git-m70sbz6t.js} +4 -4
- package/dist/chunks/{app-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-t157y7h9.js → git-mc9vh6yq.js} +15 -15
- package/dist/chunks/{app-wrdre0d4.js → git-mf2m4y29.js} +33 -33
- package/dist/chunks/{app-t6jtyfth.js → git-mpyd4te8.js} +9 -9
- package/dist/chunks/{app-q5bs9ych.js → git-mrkjf4y9.js} +6 -6
- package/dist/chunks/{app-s9rfegk5.js → git-mtgw43mt.js} +18 -18
- package/dist/chunks/{app-ne07e3sg.js → git-mwpvndzh.js} +26 -26
- package/dist/chunks/{app-3322t3cd.js → git-n3qqcskk.js} +21 -21
- package/dist/chunks/{app-nwhb2xra.js → git-n79tw6se.js} +4 -4
- package/dist/chunks/{app-16bxftmt.js → git-n915pjdp.js} +18 -18
- package/dist/chunks/{app-q66krdtm.js → git-nbw2xxtv.js} +5 -5
- package/dist/chunks/{app-m8n8f8f1.js → git-ncp83wn6.js} +24 -24
- package/dist/chunks/{app-1jksvqp2.js → git-nd73648e.js} +32 -32
- package/dist/chunks/{app-301dthfh.js → git-nf3bc7kp.js} +23 -23
- package/dist/chunks/{app-yw1qgh4m.js → git-njerjs8t.js} +23 -23
- package/dist/chunks/{app-nd6gy5bw.js → git-nkh99vgj.js} +15 -15
- package/dist/chunks/{app-rq424w6d.js → git-nr6gcs3w.js} +8 -8
- package/dist/chunks/{app-va1aqcgj.js → git-p0wjgz8v.js} +2 -2
- package/dist/chunks/{app-tdkczycq.js → git-p1463psw.js} +3 -3
- package/dist/chunks/{app-5vgy46me.js → git-p45atnv4.js} +12 -12
- package/dist/chunks/{app-rftk81m0.js → git-p7yhpbex.js} +40 -40
- package/dist/chunks/git-pc7qqn66.js +26 -0
- package/dist/chunks/{app-w56bmt8q.js → git-pg3m1bkm.js} +3 -3
- package/dist/chunks/{app-tbmac1c7.js → git-ph842b28.js} +4 -4
- package/dist/chunks/{app-dk3gfcvg.js → git-phvr3wgs.js} +314 -314
- package/dist/chunks/{app-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-0xymhvjv.js → git-pjwt2kw2.js} +16 -16
- package/dist/chunks/{app-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{app-9g2bkc9w.js → git-prps3137.js} +4 -4
- package/dist/chunks/{app-8sze2n9a.js → git-py3kkmfq.js} +6 -6
- package/dist/chunks/{app-ebpd15x1.js → git-q2m05hzt.js} +5 -6
- package/dist/chunks/{app-td2q8pwv.js → git-q3gb2bnw.js} +20 -20
- package/dist/chunks/{app-0p3t72g7.js → git-q4vzfqxg.js} +11 -11
- package/dist/chunks/{app-q41gjxsv.js → git-q6jj9914.js} +21 -21
- package/dist/chunks/{app-f597wsw6.js → git-q7v5mrmg.js} +9 -9
- package/dist/chunks/{app-45p1457d.js → git-qb9x4qxp.js} +41 -41
- package/dist/chunks/{app-1m23n1zc.js → git-qdbtwst4.js} +7 -7
- package/dist/chunks/{app-qpg4an21.js → git-qdhh749w.js} +11 -11
- package/dist/chunks/{app-2h8kq5g8.js → git-qj64m8dx.js} +4 -4
- package/dist/chunks/{app-2sejkfem.js → git-qmqgtz8f.js} +9 -9
- package/dist/chunks/{app-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{app-c74t9qz0.js → git-qs9cg63q.js} +18 -18
- package/dist/chunks/{app-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{app-qxjc9qry.js → git-qxjc9qry.js} +3 -3
- package/dist/chunks/{app-ep2tbpq0.js → git-qyzaws7n.js} +3 -3
- package/dist/chunks/{app-fyyxce3k.js → git-qzexb7dd.js} +8 -8
- package/dist/chunks/{app-bj79fbq7.js → git-r3vcwrv4.js} +29 -29
- package/dist/chunks/{app-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-ws2cps2z.js → git-rj7j44bj.js} +4 -4
- package/dist/chunks/{app-b0cc5wa1.js → git-rjw6hp1j.js} +23 -23
- package/dist/chunks/{app-d5513v78.js → git-rr03d8em.js} +21 -21
- package/dist/chunks/{app-j9vjkm8n.js → git-rrjhvgg4.js} +13 -13
- package/dist/chunks/{app-3p3qdx74.js → git-rrt2er56.js} +3 -3
- package/dist/chunks/{app-ahket4sj.js → git-rwsmtxp6.js} +1 -1
- package/dist/chunks/{app-6qtegkg3.js → git-s5qxm7c2.js} +11 -11
- package/dist/chunks/{app-s8d7rejh.js → git-s8d7rejh.js} +1 -1
- package/dist/chunks/{app-cx5qjy2q.js → git-satpgpy0.js} +12 -12
- package/dist/chunks/{app-hdkng2sj.js → git-scgrse2b.js} +5 -5
- package/dist/chunks/{app-f2ymgd1y.js → git-sd9hvprw.js} +9 -9
- package/dist/chunks/{app-wbrpy97e.js → git-taaecmrd.js} +8 -8
- package/dist/chunks/{app-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-6h1ernme.js → git-tc14gx3q.js} +6 -6
- package/dist/chunks/{app-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-zqapp3sx.js → git-td93javk.js} +9 -9
- package/dist/chunks/{app-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{app-kt8356a3.js → git-te2bzzsy.js} +37 -37
- package/dist/chunks/{app-an481r60.js → git-tftvtmn6.js} +24 -24
- package/dist/chunks/{app-jcx1xx7s.js → git-tkh413by.js} +9 -9
- package/dist/chunks/{app-04jg6nm3.js → git-tnsjdj53.js} +18 -18
- package/dist/chunks/{app-35bmy1pq.js → git-v1tq3pwz.js} +21 -21
- package/dist/chunks/{app-20y2srhq.js → git-v8825gx8.js} +10 -10
- package/dist/chunks/{app-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{app-xs53z2pm.js → git-vgepzxbh.js} +4 -4
- package/dist/chunks/{app-9z3aytcr.js → git-vk7prk4h.js} +28 -28
- package/dist/chunks/{app-mgh0wzph.js → git-vs1y934m.js} +13 -13
- package/dist/chunks/{app-x1e01gbv.js → git-vvwn34gm.js} +23 -23
- package/dist/chunks/{app-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{app-eff940as.js → git-w19mx1ce.js} +41 -41
- package/dist/chunks/{app-h83xjv7f.js → git-w2h15q85.js} +5 -5
- package/dist/chunks/{app-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-1fe3twba.js → git-wakmr75f.js} +25 -25
- package/dist/chunks/{app-gz06afsr.js → git-wb9cfjnb.js} +13 -13
- package/dist/chunks/{app-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{app-1mkt64e2.js → git-wesm6pcv.js} +6 -6
- package/dist/chunks/{app-1gh24mt2.js → git-wz33qg6p.js} +40 -40
- package/dist/chunks/{app-yt3hy1g9.js → git-x2rw7g36.js} +5 -5
- package/dist/chunks/{app-addxnjmp.js → git-x661k3y3.js} +4 -4
- package/dist/chunks/{app-af8m3dqx.js → git-xa303ymg.js} +4 -4
- package/dist/chunks/{app-6s2ddzje.js → git-xbs48zfb.js} +43 -43
- package/dist/chunks/{app-7v13wked.js → git-xdj3jjdd.js} +11 -11
- package/dist/chunks/{app-xfkkasph.js → git-xfkkasph.js} +1 -1
- package/dist/chunks/{app-zy98sty6.js → git-xvvg8evz.js} +2 -2
- package/dist/chunks/{app-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-dpkg50ah.js → git-y71avatq.js} +4 -4
- package/dist/chunks/{app-k7y9nwy7.js → git-yaefqgtx.js} +89 -89
- package/dist/chunks/{app-d7gsy00f.js → git-ydqznnpe.js} +4 -4
- package/dist/chunks/{app-5bebnv6a.js → git-yf6bsa4q.js} +75 -75
- package/dist/chunks/{app-k70p9jzb.js → git-yj5m20h0.js} +9 -9
- package/dist/chunks/{app-bkcfv8em.js → git-ykq2zx65.js} +13 -13
- package/dist/chunks/{app-1acjjqhc.js → git-yp2x3t23.js} +4 -4
- package/dist/chunks/{app-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-trfe10aq.js → git-z6kknvmx.js} +55 -55
- package/dist/chunks/{app-s0y0yn56.js → git-zbfyanxm.js} +8 -8
- package/dist/chunks/{app-rx9ava5n.js → git-zfs8ae4p.js} +4 -4
- package/dist/chunks/{app-04e56h6g.js → git-zm2ry5m5.js} +18 -18
- package/dist/chunks/{app-z0k8ktqm.js → git-zn3xdhgm.js} +4 -4
- package/dist/chunks/{app-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-fe1pry9k.js → git-zyc72cgf.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +111 -111
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- 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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +5 -5
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +76 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +94 -94
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +73 -73
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/app-4v7qdvcn.js +0 -18
- package/dist/chunks/app-h44meb81.js +0 -26
- /package/dist/chunks/{app-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e3qxr5gk.js → git-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -9,16 +9,16 @@ __export(exports_app, {
|
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured9,
|
|
11
11
|
layer: () => layer22,
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node64,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make22(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var layer22 = (input) => Layer.succeed(Metadata2,
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
32
|
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
-
var
|
|
33
|
+
var node64 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer22, configured9, node64, exports_app };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node53
|
|
9
|
+
} from "./git-2m6x7dk2.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service47,
|
|
24
|
+
node: () => node49
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service47 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service51;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service47.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [node53, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service47, node49, exports_ripgrep };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-2vp5hvvb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./git-p45atnv4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
10
|
+
Event20,
|
|
11
11
|
Service75
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-e8tr3786.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
17
|
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-n3qqcskk.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./git-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
24
|
ID12,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service72
|
|
26
|
+
} from "./git-98f0fqab.js";
|
|
27
27
|
import {
|
|
28
28
|
ID11
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-1ykawk59.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./git-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./git-rj7j44bj.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,7 +67,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make3(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
@@ -76,9 +76,9 @@ function make8(endpoints = {
|
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
77
|
const configured = yield* configuredSettings2(ID12.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
|
-
const bus = yield*
|
|
79
|
+
const bus = yield* Service80;
|
|
80
80
|
const credentials = yield* Service75;
|
|
81
|
-
const providers = yield*
|
|
81
|
+
const providers = yield* Service72;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -153,7 +153,7 @@ function make8(endpoints = {
|
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
155
|
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -283,7 +283,7 @@ function make8(endpoints = {
|
|
|
283
283
|
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
289
|
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
@@ -322,7 +322,7 @@ function make8(endpoints = {
|
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make3();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make3, AzurePlugin2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./app-5vgy46me.js";
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./app-rrpq0de9.js";
|
|
9
1
|
import {
|
|
10
2
|
Service80,
|
|
11
3
|
node84
|
|
12
|
-
} from "./
|
|
4
|
+
} from "./git-p45atnv4.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./git-h79qd4dv.js";
|
|
9
|
+
import {
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./git-c8s4yex5.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-1x11rq2a.js";
|
|
16
16
|
import {
|
|
17
17
|
Service69,
|
|
18
18
|
node73
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-bsbz52zb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./git-v1tq3pwz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node11
|
|
26
|
+
} from "./git-qmqgtz8f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service5,
|
|
36
|
+
node: () => node6
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
45
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service77;
|
|
47
47
|
const watcher = yield* Service69;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service80;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service5.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node6 = makeLocationNode({
|
|
106
|
+
service: Service5,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [node73, FSUtil.node,
|
|
108
|
+
deps: [node73, FSUtil.node, node81, node83, node84, node20, node11]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service5, node6, exports_location_watcher };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./git-p45atnv4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./git-xbs48zfb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node67
|
|
12
|
+
} from "./git-amv1ejgv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node41
|
|
16
|
+
} from "./git-0c7deste.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node27
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service24 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service29;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const permission = yield* Service63;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node27 = makeLocationNode({
|
|
124
|
+
service: Service24,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node41, node32, node84, node67]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service24, layer12, node27, exports_mcp3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./git-p45atnv4.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node81
|
|
13
|
+
} from "./git-c8s4yex5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service46,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node48
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service46 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const location = yield* Service77;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service46.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node48 = makeLocationNode({ service: Service46, layer, deps: [node84, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service46, node48, exports_rpc, define2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./git-c8s4yex5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service77;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service68
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-14grjhb4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./git-s5qxm7c2.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin35
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin35 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
26
|
const config = yield* Service68;
|
|
27
|
-
const output = yield*
|
|
27
|
+
const output = yield* Service50;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin22 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin35, exports_tool_output };
|