@opencode/core 0.0.0-dev-20936 → 0.0.0-dev-20939
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{generate-jprstqvm.js → git-0618fyjb.js} +23 -23
- package/dist/chunks/{generate-hn57h045.js → git-06x8he3q.js} +4 -4
- package/dist/chunks/{generate-7zt5x37y.js → git-075nkgpd.js} +1 -1
- package/dist/chunks/{generate-je5vr145.js → git-07eenmp6.js} +193 -193
- package/dist/chunks/{generate-4r00d743.js → git-0av4r532.js} +3 -3
- package/dist/chunks/{generate-6mrear2y.js → git-0q1hsqvw.js} +4 -4
- package/dist/chunks/{generate-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-e9gr3y2w.js → git-11zgttwm.js} +35 -35
- package/dist/chunks/{generate-xr4xf87t.js → git-165d1fya.js} +14 -14
- package/dist/chunks/{generate-fgem0d3n.js → git-166kng33.js} +8 -8
- package/dist/chunks/{generate-f2n192rq.js → git-1acjjqhc.js} +4 -4
- package/dist/chunks/{generate-2s70et8h.js → git-1hza2rvx.js} +32 -32
- package/dist/chunks/{generate-tc11merm.js → git-1j1m8xhz.js} +10 -10
- package/dist/chunks/{generate-hcr1ssn2.js → git-1qje12gz.js} +17 -17
- package/dist/chunks/{generate-39b7g15t.js → git-1td8skvp.js} +7 -7
- package/dist/chunks/{generate-s137z53x.js → git-1tvmx6s4.js} +11 -11
- package/dist/chunks/{generate-hxqzfqn1.js → git-24nn29qr.js} +32 -32
- package/dist/chunks/{generate-wegk4dzq.js → git-29jks5j7.js} +24 -24
- package/dist/chunks/{generate-qgn6gcr1.js → git-2k8khapm.js} +5 -5
- package/dist/chunks/{generate-7r48zngk.js → git-2qv9fqxy.js} +29 -29
- package/dist/chunks/{generate-c57t7hsb.js → git-3cg2psxn.js} +47 -47
- package/dist/chunks/{generate-d858xzj7.js → git-3ewed21c.js} +4 -4
- package/dist/chunks/{generate-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-kvarsy16.js → git-3fpjpzsr.js} +15 -15
- package/dist/chunks/{generate-a01jw8ty.js → git-3fwdjd60.js} +11 -11
- package/dist/chunks/{generate-4q4qffv7.js → git-3g5c663j.js} +5 -5
- package/dist/chunks/{generate-62jmw476.js → git-3h8spv5y.js} +11 -11
- package/dist/chunks/{generate-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-w157952x.js → git-3p4pejnf.js} +11 -11
- package/dist/chunks/{generate-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-1z0pqfzj.js → git-3wr6p2es.js} +22 -22
- package/dist/chunks/{generate-k22b66k8.js → git-3y377wv9.js} +4 -4
- package/dist/chunks/{generate-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-v0es1rhs.js → git-4434d9q2.js} +9 -9
- package/dist/chunks/{generate-7enhj7dk.js → git-478114he.js} +33 -33
- package/dist/chunks/{generate-4ts7tf6z.js → git-4ts7tf6z.js} +2 -2
- package/dist/chunks/{generate-b5ybh9az.js → git-54chc4h8.js} +3 -3
- package/dist/chunks/{generate-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-3xr7zhx1.js → git-58jjd9d1.js} +4 -4
- package/dist/chunks/{generate-qv0ztwe3.js → git-5jbc8eez.js} +4 -4
- package/dist/chunks/{generate-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-dmwbncrj.js → git-5wybadbe.js} +5 -5
- package/dist/chunks/{generate-s375a249.js → git-69h1251q.js} +9 -9
- package/dist/chunks/{generate-mb380g23.js → git-6k2q6847.js} +30 -30
- package/dist/chunks/{generate-x98x2245.js → git-6vvzqxt2.js} +15 -15
- package/dist/chunks/{generate-ym8x4whc.js → git-6wtm9zvr.js} +6 -6
- package/dist/chunks/{generate-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-fq7zn550.js → git-6yraa27n.js} +45 -45
- package/dist/chunks/{generate-97f2jkv9.js → git-73n1w9t3.js} +6 -6
- package/dist/chunks/{generate-gxc8yc76.js → git-761z3p5y.js} +46 -46
- package/dist/chunks/{generate-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{generate-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-3advyyah.js → git-7cgjfawm.js} +22 -22
- package/dist/chunks/{generate-h14a7kgb.js → git-7h8edsks.js} +14 -14
- package/dist/chunks/{generate-y2knt1ww.js → git-7hkt1hj5.js} +6 -6
- package/dist/chunks/{generate-2nzzj9vq.js → git-7hqf34h2.js} +13 -13
- package/dist/chunks/{generate-69j91c1q.js → git-7j2qha59.js} +8 -8
- package/dist/chunks/{generate-0pj6sgqg.js → git-80z0k9cx.js} +70 -70
- package/dist/chunks/{generate-nd4tfyg0.js → git-80z0vyq9.js} +9 -9
- package/dist/chunks/{generate-d1mtykxg.js → git-81rrwt6s.js} +6 -6
- package/dist/chunks/{generate-84txncab.js → git-84txncab.js} +1 -1
- package/dist/chunks/{generate-b5ra9ym6.js → git-8jg5bn4a.js} +8 -8
- package/dist/chunks/{generate-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-hjv9agyh.js → git-8r2bq2ar.js} +31 -31
- package/dist/chunks/{generate-sayb08pg.js → git-8zfnch0c.js} +20 -20
- package/dist/chunks/{generate-91qna3x0.js → git-91qna3x0.js} +3 -3
- package/dist/chunks/{generate-s34rpjfq.js → git-95zsg92x.js} +42 -42
- package/dist/chunks/{generate-c9nenncc.js → git-96jpmm3z.js} +17 -17
- package/dist/chunks/{generate-ptzcxk18.js → git-9afaqh3p.js} +30 -30
- package/dist/chunks/{generate-46a75g8j.js → git-9fjg6tv9.js} +11 -11
- package/dist/chunks/{generate-4yd7tr5s.js → git-9trfghjf.js} +9 -9
- package/dist/chunks/{generate-63db42yp.js → git-9y9sk2j9.js} +2 -2
- package/dist/chunks/{generate-jd67w57a.js → git-9zcr2twm.js} +18 -18
- package/dist/chunks/{generate-apd3kk4a.js → git-ak7ax3z9.js} +16 -16
- package/dist/chunks/{generate-gpfgkra0.js → git-arbdmgrp.js} +16 -16
- package/dist/chunks/{generate-ss358qx3.js → git-axe3mf62.js} +3 -3
- package/dist/chunks/{generate-3w8x65pp.js → git-axe73g9p.js} +10 -10
- package/dist/chunks/{generate-cg7b5yaa.js → git-azwgv1j7.js} +3 -3
- package/dist/chunks/{generate-hjxts181.js → git-b89rk9wg.js} +35 -35
- package/dist/chunks/{generate-95t04bkx.js → git-baxzc3fa.js} +15 -15
- package/dist/chunks/{generate-9xjg9jjn.js → git-bby7bsqw.js} +11 -11
- package/dist/chunks/{generate-rmp39c8e.js → git-bcxx5p68.js} +18 -18
- package/dist/chunks/{generate-2tx2ffzr.js → git-bers8stt.js} +20 -20
- package/dist/chunks/{generate-p28k9aw9.js → git-bjp0btdm.js} +19 -19
- package/dist/chunks/{generate-8qexr0g8.js → git-bmnx3vh3.js} +33 -33
- package/dist/chunks/{generate-gd2mahcn.js → git-bnqxsmme.js} +28 -28
- package/dist/chunks/{generate-v6a4qxb3.js → git-bqwdytsq.js} +4 -4
- package/dist/chunks/{generate-5yzzbxa7.js → git-br0tr5aq.js} +8 -8
- package/dist/chunks/{generate-mm4wcsnq.js → git-bt5z5mg6.js} +32 -32
- package/dist/chunks/{generate-6ctny0y4.js → git-bz9yzs8h.js} +46 -46
- package/dist/chunks/{generate-nah78wbt.js → git-c18g5y7w.js} +8 -8
- package/dist/chunks/{generate-c1fqxshp.js → git-c1fqxshp.js} +3 -3
- package/dist/chunks/{generate-gw7cjrad.js → git-c35597j6.js} +4 -4
- package/dist/chunks/{generate-jrvwtpbs.js → git-c45054e9.js} +50 -50
- package/dist/chunks/{generate-z9wwwrtm.js → git-c638hs8h.js} +16 -16
- package/dist/chunks/{generate-q8ejgrh7.js → git-cdpaedqb.js} +11 -11
- package/dist/chunks/git-cje60p1m.js +253 -0
- package/dist/chunks/{generate-59kh17hx.js → git-cmhjyy59.js} +32 -32
- package/dist/chunks/{generate-mct9a0hh.js → git-cxwfba6f.js} +29 -29
- package/dist/chunks/{generate-y041yaes.js → git-d7cx6qx1.js} +14 -14
- package/dist/chunks/{generate-8a95fszd.js → git-dgvb1z1q.js} +26 -26
- package/dist/chunks/{generate-06ac6kpe.js → git-dhk5s52y.js} +15 -15
- package/dist/chunks/{generate-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{generate-dqxsqydv.js → git-dqxsqydv.js} +1 -1
- package/dist/chunks/{generate-drwq78ky.js → git-drwq78ky.js} +1 -1
- package/dist/chunks/{generate-rd3vap0v.js → git-dwa7a1cr.js} +8 -8
- package/dist/chunks/{generate-1bmjn0qh.js → git-dys7k0s0.js} +8 -8
- package/dist/chunks/{generate-e80seqcp.js → git-ed1g29hy.js} +3 -3
- package/dist/chunks/{generate-pz8hqwcx.js → git-edb9dz0c.js} +29 -29
- package/dist/chunks/{generate-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-mcnmdbfb.js → git-efbq1jb2.js} +41 -41
- package/dist/chunks/{generate-phgvqphd.js → git-efx5cmrn.js} +20 -20
- package/dist/chunks/{generate-jp8ef8d8.js → git-ewb5h2c6.js} +87 -87
- package/dist/chunks/{generate-863zpwew.js → git-ex8b67ah.js} +12 -12
- package/dist/chunks/{generate-vdhba1pk.js → git-f22s54jx.js} +20 -20
- package/dist/chunks/{generate-xcpeprke.js → git-fbwke2hc.js} +21 -21
- package/dist/chunks/{generate-vr0dspar.js → git-fg6kkv1m.js} +5 -5
- package/dist/chunks/{generate-rsp8xxtf.js → git-fmbz1wxm.js} +11 -11
- package/dist/chunks/{generate-0jq9fyba.js → git-fqcgpcra.js} +9 -9
- package/dist/chunks/{generate-x1babzjs.js → git-frg70w4n.js} +5 -5
- package/dist/chunks/{generate-geper5dp.js → git-fsz3hz9d.js} +13 -13
- package/dist/chunks/{generate-x9fmqnam.js → git-g13we8r8.js} +8 -8
- package/dist/chunks/{generate-ft3hqk2c.js → git-g6q9qykm.js} +9 -9
- package/dist/chunks/{generate-j3gsq7x1.js → git-g8m4xrzc.js} +5 -5
- package/dist/chunks/{generate-tgepass3.js → git-g9e9byyv.js} +29 -29
- package/dist/chunks/{generate-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-9hwaqfsw.js → git-gj71zhbs.js} +5 -5
- package/dist/chunks/{generate-mw2ngw7a.js → git-gmj88g4w.js} +20 -20
- package/dist/chunks/{generate-jxacmsah.js → git-gmqng1rf.js} +19 -19
- package/dist/chunks/{generate-fnx57392.js → git-grfjhrb8.js} +4 -4
- package/dist/chunks/{generate-r363wvrd.js → git-gy0xtkp2.js} +27 -27
- package/dist/chunks/{generate-kakfn9xg.js → git-gydz0bx3.js} +10 -10
- package/dist/chunks/{generate-jwnqzdrn.js → git-h1pe96v9.js} +5 -5
- package/dist/chunks/{generate-ssw5gc99.js → git-h20caygx.js} +18 -18
- package/dist/chunks/{generate-7e40x0cg.js → git-h28rstwk.js} +26 -26
- package/dist/chunks/{generate-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-h7s7r6s9.js → git-h7s7r6s9.js} +2 -2
- package/dist/chunks/{generate-hdmjybe3.js → git-h8a4hjp3.js} +23 -23
- package/dist/chunks/{generate-9nn9crw1.js → git-h8a83dy1.js} +13 -13
- package/dist/chunks/{generate-e5fjpbht.js → git-h9frzcgs.js} +26 -26
- package/dist/chunks/{generate-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-hbk0ph6g.js → git-hkffa77z.js} +4 -4
- package/dist/chunks/{generate-k6750wxj.js → git-hmrcenxj.js} +30 -30
- package/dist/chunks/{generate-gnkfthk8.js → git-hr8c8k7c.js} +11 -11
- package/dist/chunks/{generate-0cdfnr4p.js → git-hreyw1w3.js} +19 -19
- package/dist/chunks/{generate-0ya259b2.js → git-j0eskw9p.js} +18 -18
- package/dist/chunks/{generate-s341j8gj.js → git-j2kcbdjm.js} +14 -14
- package/dist/chunks/{generate-jvsq67dq.js → git-j3ghnye6.js} +53 -53
- package/dist/chunks/{generate-467d2agw.js → git-j3gz98s6.js} +21 -21
- package/dist/chunks/{generate-qe381jpj.js → git-j472fhbm.js} +20 -20
- package/dist/chunks/{generate-vzb255m2.js → git-j55c2ran.js} +21 -21
- package/dist/chunks/{generate-js1xy0wh.js → git-j5p46aw0.js} +18 -18
- package/dist/chunks/{generate-fkecvtwv.js → git-j75q4c40.js} +20 -20
- package/dist/chunks/{generate-5c6fhkvt.js → git-j8mw5a6v.js} +11 -11
- package/dist/chunks/{generate-dka1ew52.js → git-j9w5mp8z.js} +13 -13
- package/dist/chunks/{generate-1d0r695h.js → git-jab53n7w.js} +32 -32
- package/dist/chunks/git-jqh9b0xq.js +18 -0
- package/dist/chunks/{generate-kephxz0z.js → git-jwzvq44h.js} +34 -34
- package/dist/chunks/{generate-j9ftcyz0.js → git-k3nfbcdg.js} +15 -15
- package/dist/chunks/{generate-th2gs97w.js → git-k4p037t3.js} +43 -43
- package/dist/chunks/{generate-999g2th5.js → git-k5nha8kw.js} +9 -9
- package/dist/chunks/{generate-mn25z6gn.js → git-k7ddzhbf.js} +11 -11
- package/dist/chunks/{generate-3vntd75k.js → git-kapsa539.js} +5 -5
- package/dist/chunks/{generate-4h2jfw57.js → git-kaxd0war.js} +38 -38
- package/dist/chunks/{generate-gaysn50v.js → git-kb82g09e.js} +15 -15
- package/dist/chunks/{generate-94s48bjb.js → git-kbj2dgab.js} +5 -5
- package/dist/chunks/{generate-kszf0251.js → git-kbnm34t4.js} +32 -32
- package/dist/chunks/{generate-jpjcgt71.js → git-kc29hd37.js} +36 -36
- package/dist/chunks/{generate-hq3c8me3.js → git-khmqacep.js} +4 -4
- package/dist/chunks/{generate-7t12w2v0.js → git-ksfnj370.js} +14 -14
- package/dist/chunks/{generate-8vkcf7wa.js → git-kxd3cfvk.js} +9 -9
- package/dist/chunks/{generate-3wtygtkv.js → git-m3x828c4.js} +28 -28
- package/dist/chunks/{generate-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-2g22xeec.js → git-mehg9rzj.js} +7 -7
- package/dist/chunks/{generate-2dxae3dx.js → git-mjq5xy40.js} +14 -14
- package/dist/chunks/{generate-t1ts3k4c.js → git-mpxknqm7.js} +30 -30
- package/dist/chunks/{generate-yw0k08yc.js → git-ms45vgw0.js} +53 -53
- package/dist/chunks/{generate-hetja77b.js → git-ncwr4whv.js} +5 -5
- package/dist/chunks/{generate-3egmdayv.js → git-nhw59dgy.js} +1 -1
- package/dist/chunks/{generate-ka310dkb.js → git-p0jk60sv.js} +12 -12
- package/dist/chunks/{generate-xaqz1624.js → git-p2pg1fr3.js} +5 -5
- package/dist/chunks/{generate-1sftagz6.js → git-p8qbpzd5.js} +337 -337
- package/dist/chunks/{generate-brj0nrqm.js → git-pbk47nx7.js} +9 -9
- package/dist/chunks/{generate-e8vwfchq.js → git-pjsqfx9m.js} +6 -6
- package/dist/chunks/{generate-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{generate-14yhd0nv.js → git-pr63qfdr.js} +24 -24
- package/dist/chunks/{generate-ng3918dk.js → git-psw4htx6.js} +8 -8
- package/dist/chunks/{generate-b5d3nr4x.js → git-pv7hcpcn.js} +22 -22
- package/dist/chunks/{generate-hteyq1th.js → git-pyv0v4s5.js} +17 -17
- package/dist/chunks/{generate-379m3bse.js → git-q0b0hh2r.js} +10 -10
- package/dist/chunks/{generate-q16saxbx.js → git-q0vrb78f.js} +87 -87
- package/dist/chunks/{generate-q0xm7vwc.js → git-q0xm7vwc.js} +2 -2
- package/dist/chunks/{generate-58hng72m.js → git-q32ypgm9.js} +5 -5
- package/dist/chunks/{generate-xkrbr206.js → git-qf9g6tp9.js} +6 -6
- package/dist/chunks/{generate-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-v612b9d9.js → git-qt89bd98.js} +24 -24
- package/dist/chunks/git-rc85qdb5.js +26 -0
- package/dist/chunks/{generate-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rert0e01.js → git-rert0e01.js} +2 -2
- package/dist/chunks/{generate-v3q72hwj.js → git-rg9nzjr7.js} +12 -12
- package/dist/chunks/{generate-rj3eygr5.js → git-rj3eygr5.js} +2 -2
- package/dist/chunks/{generate-k6mwn205.js → git-rjf26sxe.js} +2 -2
- package/dist/chunks/{generate-rkprpv83.js → git-rkprpv83.js} +2 -2
- package/dist/chunks/{generate-4ckgtqrh.js → git-ry6831an.js} +9 -9
- package/dist/chunks/{generate-tkmwgdpd.js → git-ryr25ayn.js} +7 -7
- package/dist/chunks/{generate-ynkmbmmg.js → git-rzz9hp52.js} +13 -13
- package/dist/chunks/{generate-0zt2dsz7.js → git-s1bm98nk.js} +25 -25
- package/dist/chunks/{generate-eaj1djv9.js → git-s8d7rejh.js} +6 -6
- package/dist/chunks/{generate-6m0br26c.js → git-sa6rr81y.js} +4 -4
- package/dist/chunks/{generate-sa8ekw3f.js → git-sa8ekw3f.js} +2 -2
- package/dist/chunks/{generate-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{generate-nqb1ye2c.js → git-szdqb5nc.js} +25 -25
- package/dist/chunks/{generate-amffqa22.js → git-t421qc3a.js} +11 -11
- package/dist/chunks/{generate-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-89znhe33.js → git-tcezcvh9.js} +4 -4
- package/dist/chunks/{generate-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{generate-z120djaf.js → git-tg4anztr.js} +6 -6
- package/dist/chunks/{generate-9sbfx14y.js → git-thk2ay3y.js} +24 -24
- package/dist/chunks/{generate-tm0kqsz3.js → git-tm0kqsz3.js} +1 -1
- package/dist/chunks/{generate-jcyhdgp2.js → git-tnzefp3j.js} +15 -15
- package/dist/chunks/{generate-4kcbxj78.js → git-tq6n6agc.js} +15 -15
- package/dist/chunks/{generate-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-0abetv79.js → git-v16rkfqv.js} +5 -5
- package/dist/chunks/{generate-fxw2vwgj.js → git-v3f6tep4.js} +13 -13
- package/dist/chunks/{generate-t7y3ad2m.js → git-v5n2ap6w.js} +6 -6
- package/dist/chunks/{generate-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-q1c6gfm2.js → git-vb9yearc.js} +19 -19
- package/dist/chunks/{generate-acs6gp89.js → git-vda10d09.js} +19 -19
- package/dist/chunks/{generate-kbg41kth.js → git-vebrqm55.js} +10 -10
- package/dist/chunks/{generate-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-cdbt1yma.js → git-vjyd6n7m.js} +3 -3
- package/dist/chunks/{generate-jc9z7xs0.js → git-vvv0rwj3.js} +24 -24
- package/dist/chunks/{generate-yhghw5ds.js → git-vxwk2ajy.js} +10 -10
- package/dist/chunks/{generate-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-websfqw2.js → git-w145ecfk.js} +8 -8
- package/dist/chunks/{generate-7vqpfeb9.js → git-w1zqs4jb.js} +10 -10
- package/dist/chunks/{generate-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-f494akvg.js → git-w6xqj5ye.js} +14 -14
- package/dist/chunks/{generate-mv3hx7wz.js → git-waskdk5r.js} +4 -4
- package/dist/chunks/{generate-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{generate-scgrse2b.js → git-wecqtg5s.js} +5 -5
- package/dist/chunks/{generate-1pxz8ven.js → git-wh6zw745.js} +5 -5
- package/dist/chunks/{generate-8mebppgb.js → git-wjecba8h.js} +37 -37
- package/dist/chunks/{generate-aq0d0p3e.js → git-wmk645f9.js} +20 -20
- package/dist/chunks/{generate-4vhk8jxz.js → git-x600ksks.js} +33 -33
- package/dist/chunks/{generate-7yfznqva.js → git-xf087mjr.js} +4 -4
- package/dist/chunks/{generate-xkcgmhpz.js → git-xmne4req.js} +1 -1
- package/dist/chunks/{generate-pywcsq0j.js → git-xpp7fb32.js} +4 -4
- package/dist/chunks/{generate-8vkh2k60.js → git-xr3wm3aj.js} +26 -26
- package/dist/chunks/{generate-fjnd56hb.js → git-xtc9qv2t.js} +13 -13
- package/dist/chunks/{generate-3adrvghs.js → git-xtf28bgw.js} +4 -4
- package/dist/chunks/{generate-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-wn45kage.js → git-y1tesnfj.js} +16 -16
- package/dist/chunks/{generate-v7z2bvyd.js → git-y5rf7nzv.js} +4 -4
- package/dist/chunks/{generate-7ktn5eyr.js → git-y5yzv5w6.js} +9 -9
- package/dist/chunks/{generate-m3y4kdx6.js → git-y7pbf1v9.js} +51 -51
- package/dist/chunks/{generate-3e8zr3qa.js → git-yezhdxfc.js} +18 -18
- package/dist/chunks/{generate-5xq0mqgm.js → git-yfvkm6bx.js} +23 -23
- package/dist/chunks/{generate-m4yzq1ye.js → git-yvr3rpg1.js} +40 -40
- package/dist/chunks/{generate-bjx1sjef.js → git-ywt8jp22.js} +9 -9
- package/dist/chunks/{generate-0r0pkxj1.js → git-yy8h1s6k.js} +15 -15
- package/dist/chunks/{generate-bryze0wz.js → git-yyavswax.js} +22 -22
- package/dist/chunks/{generate-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-5s6k9eqr.js → git-z3ejs4zs.js} +11 -11
- package/dist/chunks/{generate-54eq0x96.js → git-z7k4nphe.js} +15 -15
- package/dist/chunks/{generate-nmgs647m.js → git-z9bzdmtb.js} +9 -9
- package/dist/chunks/{generate-vaddz419.js → git-z9ghjs4w.js} +22 -22
- package/dist/chunks/{generate-9fp8vvtf.js → git-zayn3byh.js} +11 -11
- package/dist/chunks/{generate-f101dzmm.js → git-zf5ps2ed.js} +17 -17
- package/dist/chunks/{generate-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- 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 +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- 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 +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- 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 +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-42f7rnk0.js +0 -253
- package/dist/chunks/generate-sd2x5yzb.js +0 -26
- package/dist/chunks/generate-v1faaxn9.js +0 -18
- /package/dist/chunks/{generate-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → git-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-5jbc8eez.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service82,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node86,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID18
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service82 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer27 = Layer.effect(Service82, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID18.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service82.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node86 = makeLocationNode({ service: Service82, layer: layer27, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer27, node86, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service64,
|
|
3
|
+
node68
|
|
4
|
+
} from "./git-29jks5j7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions5 = {};
|
|
17
17
|
__export(exports_instructions5, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service34,
|
|
20
|
+
node: () => node38
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service64;
|
|
64
|
+
return Service34.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
71
|
return make21({
|
|
72
|
-
key:
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node68] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service34, node38, exports_instructions5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-zayn3byh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin34 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin7 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin7 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin34, exports_tavily };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info14
|
|
7
|
+
} from "./git-waskdk5r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
14
14
|
__export(exports_agent3, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent3,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info13
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info14)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info13, exports_agent3 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make5(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make5 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-5jbc8eez.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service35,
|
|
7
|
+
node39
|
|
8
|
+
} from "./git-y7pbf1v9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node76
|
|
12
|
+
} from "./git-j3ghnye6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service50,
|
|
15
|
+
node54
|
|
16
|
+
} from "./git-0618fyjb.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: () => Service33,
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37
|
|
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 name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service33 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service35;
|
|
42
|
+
const tools = yield* Service50;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service72;
|
|
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(Service21, 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: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service21, 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 ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service21, 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 Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node37 = makeLocationNode({
|
|
124
|
+
service: Service33,
|
|
125
|
+
layer: layer15,
|
|
126
|
+
deps: [node54, node39, node87, node76]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service33, layer15, node37, exports_mcp3 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-5jbc8eez.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node60
|
|
7
|
+
} from "./git-z9ghjs4w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Service4,
|
|
10
10
|
node6
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-s1bm98nk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./git-1j1m8xhz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service36
|
|
17
|
+
} from "./git-jqh9b0xq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
node23,
|
|
20
20
|
ID2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-bcxx5p68.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service12,
|
|
24
|
+
node14
|
|
25
|
+
} from "./git-br0tr5aq.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-p8qbpzd5.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make10,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-165d1fya.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service13,
|
|
38
|
+
node15
|
|
39
|
+
} from "./git-vebrqm55.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service11,
|
|
42
|
+
node13
|
|
43
|
+
} from "./git-fqcgpcra.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./git-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer4,
|
|
53
|
+
node: () => node5
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
136
136
|
pending: [...pending]
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
139
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service58;
|
|
141
|
+
const registry = yield* Service36;
|
|
142
|
+
const sdk = yield* Service13;
|
|
143
|
+
const instance = yield* Service12;
|
|
144
|
+
const sources = yield* Service4;
|
|
145
|
+
const modules = yield* make10();
|
|
146
146
|
const bus = yield* Service83;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service11;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
node23,
|
|
224
|
+
node15,
|
|
225
|
+
node14,
|
|
226
226
|
node6,
|
|
227
|
-
|
|
227
|
+
node13,
|
|
228
228
|
node87,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node60,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export {
|
|
240
|
+
export { layer4, node5, exports_supervisor };
|