@opencode/core 0.0.0-dev-20388 → 0.0.0-dev-20390
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{git-g7jkrskj.js → wellknown-05b7g57y.js} +17 -17
- package/dist/chunks/{git-n8d4mbxn.js → wellknown-06g81ps0.js} +13 -13
- package/dist/chunks/{git-bj6x105w.js → wellknown-07ee7ns1.js} +13 -13
- package/dist/chunks/{git-wk5z6jzv.js → wellknown-0996nyz8.js} +9 -9
- package/dist/chunks/{git-qfgc2m2j.js → wellknown-0brwf2va.js} +20 -20
- package/dist/chunks/{git-xzcsrrr7.js → wellknown-0dezf2br.js} +10 -10
- package/dist/chunks/{git-hgkqfzfv.js → wellknown-0dsyvfs7.js} +11 -11
- package/dist/chunks/{git-a149k0pw.js → wellknown-0jhjd1gq.js} +25 -25
- package/dist/chunks/{git-xqq4j1ks.js → wellknown-0nzxcfex.js} +12 -12
- package/dist/chunks/{git-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-d15sf6mv.js → wellknown-0q2x6qmg.js} +18 -18
- package/dist/chunks/{git-6j9qywme.js → wellknown-0zyk4n2k.js} +11 -11
- package/dist/chunks/{git-87wwy8za.js → wellknown-1775skzd.js} +15 -15
- package/dist/chunks/{git-2fzws0g4.js → wellknown-1a4rgecm.js} +5 -5
- package/dist/chunks/{git-8mn6a01z.js → wellknown-1aw4516n.js} +2 -2
- package/dist/chunks/{git-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-wzyvzam6.js → wellknown-1h4mdrah.js} +24 -24
- package/dist/chunks/{git-pztav6qe.js → wellknown-1qeg66rc.js} +16 -16
- package/dist/chunks/{git-gss037cc.js → wellknown-1ra9xmx6.js} +32 -32
- package/dist/chunks/{git-gh46k75h.js → wellknown-1rz5e418.js} +30 -30
- package/dist/chunks/{git-s3dmvxak.js → wellknown-1t7ydh8b.js} +34 -34
- package/dist/chunks/{git-m0r31qfn.js → wellknown-1y283654.js} +4 -4
- package/dist/chunks/{git-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{git-qmwqscpd.js → wellknown-228s744n.js} +28 -28
- package/dist/chunks/{git-jexxy024.js → wellknown-256nx13v.js} +3 -3
- package/dist/chunks/{git-pq3e229m.js → wellknown-261ys1de.js} +14 -14
- package/dist/chunks/{git-z63w68vq.js → wellknown-29x78va6.js} +6 -6
- package/dist/chunks/{git-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-1pbwcgwx.js → wellknown-2bkwwcyj.js} +297 -297
- package/dist/chunks/{git-xa1geypd.js → wellknown-2hmjzy37.js} +32 -32
- package/dist/chunks/{git-adzwmyxf.js → wellknown-2mjmz0mr.js} +18 -18
- package/dist/chunks/{git-xjqdvhz2.js → wellknown-2s29ksbb.js} +4 -4
- package/dist/chunks/{git-ha607pgt.js → wellknown-2wj8n25z.js} +6 -6
- package/dist/chunks/{git-wxyynt4w.js → wellknown-3556dn8t.js} +1 -1
- package/dist/chunks/{git-qcekwvdg.js → wellknown-369hrgms.js} +10 -10
- package/dist/chunks/{git-g04a706a.js → wellknown-36dygsg6.js} +6 -6
- package/dist/chunks/{git-ve3qrhhk.js → wellknown-3b485cc9.js} +22 -22
- package/dist/chunks/{git-8rgxcejn.js → wellknown-3e19tx24.js} +15 -15
- package/dist/chunks/{git-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-pfk2n936.js → wellknown-3hxn65f2.js} +48 -48
- package/dist/chunks/{git-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-g2xmb77m.js → wellknown-3v51cv89.js} +63 -63
- package/dist/chunks/{git-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-a5ttg10t.js → wellknown-47y7a44f.js} +19 -19
- package/dist/chunks/{git-mbfyshdn.js → wellknown-48x22dq2.js} +80 -80
- package/dist/chunks/{git-gxz3as52.js → wellknown-4k7e8mb5.js} +12 -12
- package/dist/chunks/{git-xxhb4jr7.js → wellknown-4sn99hha.js} +9 -9
- package/dist/chunks/{git-4w5f3qm5.js → wellknown-4w5f3qm5.js} +1 -1
- package/dist/chunks/{git-apyybb6c.js → wellknown-4wj91pfj.js} +24 -24
- package/dist/chunks/{git-gw7cjrad.js → wellknown-4z58m4b4.js} +4 -4
- package/dist/chunks/{git-cc3z3mm8.js → wellknown-4zgfhp78.js} +15 -15
- package/dist/chunks/{git-675a9rqf.js → wellknown-513r3wcj.js} +26 -26
- package/dist/chunks/{git-kavy5er9.js → wellknown-54cj3489.js} +8 -8
- package/dist/chunks/{git-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
- package/dist/chunks/{git-mfqp6xfm.js → wellknown-56gdpj1q.js} +6 -6
- package/dist/chunks/{git-3ern9qn7.js → wellknown-57h65f6p.js} +1 -1
- package/dist/chunks/{git-t18acs6r.js → wellknown-5cxcqxf9.js} +12 -12
- package/dist/chunks/{git-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{git-phesrcgj.js → wellknown-5m8kk3r3.js} +15 -15
- package/dist/chunks/{git-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{git-qjfqjtp6.js → wellknown-67e80970.js} +5 -5
- package/dist/chunks/{git-9gm387jw.js → wellknown-69dbdgkc.js} +20 -20
- package/dist/chunks/{git-y0k7ncdy.js → wellknown-6jxe02rc.js} +20 -20
- package/dist/chunks/{git-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-dagryq3b.js → wellknown-6nw0bfx8.js} +14 -14
- package/dist/chunks/{git-8m0ba7zt.js → wellknown-6q5ea456.js} +9 -9
- package/dist/chunks/{git-dbpe2207.js → wellknown-6r0v0y7g.js} +24 -24
- package/dist/chunks/{git-d10sr3ce.js → wellknown-6rc9febg.js} +10 -10
- package/dist/chunks/{git-27nk4x6p.js → wellknown-6xgwcjvp.js} +10 -10
- package/dist/chunks/{git-m6f3t844.js → wellknown-6ysrkrkr.js} +8 -8
- package/dist/chunks/{git-0c0695j7.js → wellknown-6zhb4rr8.js} +11 -11
- package/dist/chunks/{git-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-2k8khapm.js → wellknown-7dqw4kz8.js} +5 -5
- package/dist/chunks/{git-btd0ftk7.js → wellknown-7dy0zyqw.js} +42 -42
- package/dist/chunks/{git-m11dv875.js → wellknown-7gjvrwbk.js} +24 -24
- package/dist/chunks/{git-r2mgmrrq.js → wellknown-7pssjadz.js} +35 -35
- package/dist/chunks/{git-gzjdj5j0.js → wellknown-7r6fj376.js} +26 -26
- package/dist/chunks/{git-hpfvhvya.js → wellknown-7rwqf82v.js} +8 -8
- package/dist/chunks/{git-7v81x33d.js → wellknown-7v81x33d.js} +2 -2
- package/dist/chunks/{git-0ft9cg2j.js → wellknown-7yqjxrmz.js} +6 -6
- package/dist/chunks/{git-84txncab.js → wellknown-84txncab.js} +1 -1
- package/dist/chunks/{git-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-640hrwp9.js → wellknown-8e5ge1nk.js} +20 -20
- package/dist/chunks/{git-8sze2n9a.js → wellknown-8sze2n9a.js} +2 -2
- package/dist/chunks/{git-wt2stqwd.js → wellknown-8zgzy1tp.js} +35 -35
- package/dist/chunks/{git-94ek1h2f.js → wellknown-94ek1h2f.js} +2 -2
- package/dist/chunks/{git-s7xn4jw7.js → wellknown-9fy0ds0d.js} +20 -20
- package/dist/chunks/{git-ra0ft92r.js → wellknown-9jrbrbxe.js} +5 -5
- package/dist/chunks/{git-z7agxk7e.js → wellknown-9ky3zqhs.js} +24 -24
- package/dist/chunks/{git-02v793tm.js → wellknown-9w5dfm5b.js} +21 -21
- package/dist/chunks/{git-7jxfk54w.js → wellknown-a0d5xjwh.js} +15 -15
- package/dist/chunks/{git-45y17pkn.js → wellknown-a0vyggs0.js} +2 -2
- package/dist/chunks/{git-cv9jj7zm.js → wellknown-a1krfbkp.js} +10 -10
- package/dist/chunks/{git-7ty99mn5.js → wellknown-a277y91k.js} +3 -3
- package/dist/chunks/{git-8kmdq9aq.js → wellknown-a2ft2sz8.js} +28 -28
- package/dist/chunks/{git-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{git-yztfb3pz.js → wellknown-aq3eq1tc.js} +23 -23
- package/dist/chunks/{git-0sz4mzf8.js → wellknown-avv3j5cx.js} +27 -27
- package/dist/chunks/{git-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-vjjxy6yb.js → wellknown-b720ka4c.js} +9 -9
- package/dist/chunks/{git-wvjdx0nk.js → wellknown-b9yb71xa.js} +13 -13
- package/dist/chunks/{git-esp7reb4.js → wellknown-bc65k2fg.js} +20 -20
- package/dist/chunks/{git-bk9c1rhb.js → wellknown-bd79ktjj.js} +36 -36
- package/dist/chunks/{git-pk48rez6.js → wellknown-bfvyfxhx.js} +17 -17
- package/dist/chunks/{git-97w4v05c.js → wellknown-bfx7zm8c.js} +3 -3
- package/dist/chunks/{git-g1bwmzbp.js → wellknown-bn6a02me.js} +3 -3
- package/dist/chunks/{git-9snwjxvr.js → wellknown-brqabvnn.js} +42 -42
- package/dist/chunks/{git-6t298p2h.js → wellknown-c488s98d.js} +12 -12
- package/dist/chunks/{git-t5qhm49b.js → wellknown-c5k5vaz3.js} +1 -1
- package/dist/chunks/{git-hg9h6169.js → wellknown-cbkdmecc.js} +6 -6
- package/dist/chunks/{git-x8sg340m.js → wellknown-cf7v1ccq.js} +37 -37
- package/dist/chunks/{git-zmdb4gxh.js → wellknown-cgeghp4x.js} +5 -5
- package/dist/chunks/{git-k0nnq3t9.js → wellknown-cjwramev.js} +6 -6
- package/dist/chunks/{git-ckecvw8r.js → wellknown-ckecvw8r.js} +2 -2
- package/dist/chunks/{git-8v6pyhej.js → wellknown-cmwkp3r5.js} +8 -8
- package/dist/chunks/{git-g6q9qykm.js → wellknown-cwa6csj7.js} +9 -9
- package/dist/chunks/{git-gc4fb455.js → wellknown-dbv05mm3.js} +4 -4
- package/dist/chunks/{git-ysypevm1.js → wellknown-dk0989xa.js} +10 -10
- package/dist/chunks/{git-xkntkrq7.js → wellknown-dmqcgk4z.js} +5 -5
- package/dist/chunks/{git-em054f3j.js → wellknown-dn3kcc5f.js} +24 -24
- package/dist/chunks/{git-evbgk2k8.js → wellknown-dqmwfghx.js} +5 -5
- package/dist/chunks/{git-2wrdwt9m.js → wellknown-ds25bb3f.js} +20 -20
- package/dist/chunks/{git-gbhc6ywe.js → wellknown-dsds7ba5.js} +15 -15
- package/dist/chunks/{git-f37yrtqa.js → wellknown-dt2nw10q.js} +3 -3
- package/dist/chunks/{git-nr9pd330.js → wellknown-dtws4se5.js} +43 -43
- package/dist/chunks/{git-9yta650y.js → wellknown-e2d4ea07.js} +10 -10
- package/dist/chunks/{git-5qd3pb7m.js → wellknown-e3qxr5gk.js} +2 -2
- package/dist/chunks/{git-5bdh3vp3.js → wellknown-ecrprvxr.js} +20 -20
- package/dist/chunks/{git-9mv39jdx.js → wellknown-eecs9ykb.js} +4 -4
- package/dist/chunks/{git-zfx54h0g.js → wellknown-eezskgcm.js} +9 -9
- package/dist/chunks/{git-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-dhmh7aw6.js → wellknown-embw8kgh.js} +4 -4
- package/dist/chunks/{git-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-tm9mtfcm.js → wellknown-ew4hfdhd.js} +17 -17
- package/dist/chunks/{git-dk17fbv1.js → wellknown-f6p35gmn.js} +19 -19
- package/dist/chunks/wellknown-f81tjggh.js +18 -0
- package/dist/chunks/{git-ncqa4rgx.js → wellknown-f910tnft.js} +39 -39
- package/dist/chunks/{git-qyj0qkkq.js → wellknown-fkc4ykd0.js} +5 -5
- package/dist/chunks/{git-2j9rgn65.js → wellknown-fnqgrzsz.js} +9 -9
- package/dist/chunks/{git-v5fh98v6.js → wellknown-fscej6yq.js} +9 -9
- package/dist/chunks/{git-qq2m58t1.js → wellknown-fveg7ytq.js} +24 -24
- package/dist/chunks/{git-rantnw5e.js → wellknown-g7a3narb.js} +11 -11
- package/dist/chunks/{git-eh8a8tjn.js → wellknown-g9c07h1s.js} +11 -11
- package/dist/chunks/{git-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-3j60ppqf.js → wellknown-gek3qfvx.js} +10 -10
- package/dist/chunks/{git-zw63bdmn.js → wellknown-gnkgm0z1.js} +12 -12
- package/dist/chunks/{git-09tmqmb5.js → wellknown-gs7kc0p5.js} +16 -16
- package/dist/chunks/{git-ts95b2w6.js → wellknown-gsd3mdft.js} +8 -8
- package/dist/chunks/{git-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-aab22j0c.js → wellknown-gygda7jz.js} +28 -28
- package/dist/chunks/{git-7pr2hkwv.js → wellknown-h6b02349.js} +5 -5
- package/dist/chunks/{git-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-q8gb9q10.js → wellknown-h7h04b1q.js} +32 -32
- package/dist/chunks/{git-jkp0d30b.js → wellknown-h896pcm5.js} +6 -6
- package/dist/chunks/{git-dbzhd3wq.js → wellknown-heve8mw0.js} +1 -1
- package/dist/chunks/{git-52d0p3cg.js → wellknown-hsrzezk5.js} +1 -1
- package/dist/chunks/{git-d9s1mk97.js → wellknown-hw212y6x.js} +7 -7
- package/dist/chunks/{git-awaee7qt.js → wellknown-j5208yae.js} +6 -6
- package/dist/chunks/{git-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{git-y6se903k.js → wellknown-jb0cqpw1.js} +11 -11
- package/dist/chunks/{git-sbpew2a6.js → wellknown-jddc43nk.js} +13 -13
- package/dist/chunks/{git-fhs97t90.js → wellknown-jjs74g98.js} +9 -9
- package/dist/chunks/{git-eg3dg4pc.js → wellknown-jnp901kw.js} +8 -8
- package/dist/chunks/{git-wbkyxrgf.js → wellknown-jv01nqvq.js} +5 -5
- package/dist/chunks/{git-dcvjtemh.js → wellknown-jyawef8c.js} +12 -12
- package/dist/chunks/{git-0kznb05v.js → wellknown-k25s2mcq.js} +20 -20
- package/dist/chunks/{git-k3c624dm.js → wellknown-k3c624dm.js} +3 -3
- package/dist/chunks/{git-c1ezrmqj.js → wellknown-k94easz1.js} +17 -17
- package/dist/chunks/{git-qvreyy9g.js → wellknown-kbqjp078.js} +5 -5
- package/dist/chunks/{git-btbmdjwj.js → wellknown-knevfgda.js} +4 -4
- package/dist/chunks/wellknown-krpdapnv.js +252 -0
- package/dist/chunks/{git-3z8t007d.js → wellknown-kthfrg9e.js} +12 -12
- package/dist/chunks/{git-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-m58kmhef.js → wellknown-m58kmhef.js} +2 -2
- package/dist/chunks/{git-ftq5wxdn.js → wellknown-m6618qx8.js} +8 -8
- package/dist/chunks/{git-a3r4dcrj.js → wellknown-m7va1g8x.js} +2 -2
- package/dist/chunks/{git-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-3g22mkwe.js → wellknown-mab7v7vs.js} +23 -23
- package/dist/chunks/{git-48tzy520.js → wellknown-mfbg0rbh.js} +9 -9
- package/dist/chunks/{git-yg6nt6v4.js → wellknown-mm5kxf07.js} +5 -5
- package/dist/chunks/{git-4ch7j1sz.js → wellknown-mpk0rfs5.js} +4 -4
- package/dist/chunks/{git-0kv8bc90.js → wellknown-mvwnxxvk.js} +20 -20
- package/dist/chunks/{git-16nrxpzh.js → wellknown-myxb0dhn.js} +15 -15
- package/dist/chunks/{git-5xpznt2d.js → wellknown-n1ka8r9d.js} +4 -4
- package/dist/chunks/{git-2tv7gqmx.js → wellknown-n46c7act.js} +11 -11
- package/dist/chunks/{git-0dzy3033.js → wellknown-nk6wb5bm.js} +32 -32
- package/dist/chunks/wellknown-nrhv0bbv.js +26 -0
- package/dist/chunks/{git-vptfm5hv.js → wellknown-ntrvrnas.js} +9 -9
- package/dist/chunks/{git-awpnsnap.js → wellknown-pbd5n4fm.js} +76 -76
- package/dist/chunks/{git-3n913fej.js → wellknown-pjnv1ber.js} +43 -43
- package/dist/chunks/{git-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{git-vkf44a78.js → wellknown-pq4nsmc3.js} +3 -3
- package/dist/chunks/{git-4v7yaj9r.js → wellknown-q0ap5mzg.js} +52 -52
- package/dist/chunks/{git-rf80fxgj.js → wellknown-q17z9dx8.js} +5 -5
- package/dist/chunks/{git-rnnxe44a.js → wellknown-q3rsrttg.js} +4 -4
- package/dist/chunks/{git-qfm24y6p.js → wellknown-qfm24y6p.js} +7 -7
- package/dist/chunks/{git-xnd5ej3q.js → wellknown-qm1kg07s.js} +5 -5
- package/dist/chunks/{git-3pbjq009.js → wellknown-qs001aqx.js} +11 -11
- package/dist/chunks/{git-yxf2kahc.js → wellknown-qs0bdbv3.js} +9 -9
- package/dist/chunks/{git-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{git-d2fqyxj9.js → wellknown-r14dd3yz.js} +25 -25
- package/dist/chunks/{git-7yh4e7ss.js → wellknown-r5x6zcsm.js} +3 -3
- package/dist/chunks/{git-bct739vz.js → wellknown-r98e92ep.js} +4 -4
- package/dist/chunks/{git-bdp9qg1w.js → wellknown-ra7w5z1n.js} +13 -13
- package/dist/chunks/{git-tkmwgdpd.js → wellknown-ratrq7cm.js} +7 -7
- package/dist/chunks/{git-ad37gnpt.js → wellknown-raw4myx1.js} +4 -4
- package/dist/chunks/{git-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-4792e2b2.js → wellknown-rfdxtmp0.js} +32 -32
- package/dist/chunks/{git-rd9ts5sq.js → wellknown-rqahb8vc.js} +53 -53
- package/dist/chunks/{git-t1t9n6y4.js → wellknown-rqeet6cc.js} +24 -24
- package/dist/chunks/{git-mqpkp4kz.js → wellknown-s2jers51.js} +24 -24
- package/dist/chunks/{git-yrznvahk.js → wellknown-s4enseaf.js} +2 -2
- package/dist/chunks/{git-tpmcqqx3.js → wellknown-s58s3vp7.js} +1 -1
- package/dist/chunks/{git-e7fged3g.js → wellknown-s8rn8hj9.js} +23 -23
- package/dist/chunks/{git-6etexda4.js → wellknown-seznpkzd.js} +15 -15
- package/dist/chunks/{git-s3j81f4a.js → wellknown-shgn2yqr.js} +18 -18
- package/dist/chunks/{git-cee3pda0.js → wellknown-sjjn26rq.js} +4 -4
- package/dist/chunks/{git-hrtjndpd.js → wellknown-sjxefh2h.js} +11 -11
- package/dist/chunks/{git-jy3rwz12.js → wellknown-sq0r8rsm.js} +24 -24
- package/dist/chunks/{git-b04b8x2j.js → wellknown-t44e5ekz.js} +5 -5
- package/dist/chunks/{git-s8d7rejh.js → wellknown-t550f9t1.js} +4 -4
- package/dist/chunks/{git-gcvc8aqa.js → wellknown-t79vken4.js} +3 -3
- package/dist/chunks/{git-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{git-9qq5qbrb.js → wellknown-tvg483jc.js} +21 -21
- package/dist/chunks/{git-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{git-jgb2hz60.js → wellknown-tyh97jf4.js} +26 -26
- package/dist/chunks/{git-ffk3tnaf.js → wellknown-tzes6s5e.js} +17 -17
- package/dist/chunks/{git-hncv6x49.js → wellknown-v7bmygth.js} +7 -7
- package/dist/chunks/{git-k6k470b6.js → wellknown-vd2rktcf.js} +33 -33
- package/dist/chunks/{git-7tw9ghjr.js → wellknown-ve8ekxh7.js} +14 -14
- package/dist/chunks/{git-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{git-m0s4j0vx.js → wellknown-vf2hv0d6.js} +32 -32
- package/dist/chunks/{git-154cngd0.js → wellknown-vfze4e7p.js} +11 -11
- package/dist/chunks/{git-2wrfgpms.js → wellknown-vnvtaq40.js} +6 -6
- package/dist/chunks/{git-39c3xmeq.js → wellknown-vvgkjvbj.js} +24 -24
- package/dist/chunks/{git-4ev7smc3.js → wellknown-vw0mvyd7.js} +11 -11
- package/dist/chunks/{git-ebt03znt.js → wellknown-vw98e1e2.js} +32 -32
- package/dist/chunks/{git-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-6m45rye6.js → wellknown-w3y8zjy8.js} +11 -11
- package/dist/chunks/{git-9xkcece5.js → wellknown-w8davq8d.js} +9 -9
- package/dist/chunks/{git-6b56byp1.js → wellknown-w8vpfvd4.js} +23 -23
- package/dist/chunks/{git-a8htrd82.js → wellknown-w9vm5f0e.js} +6 -6
- package/dist/chunks/{git-eqvftjbn.js → wellknown-w9xwjwq7.js} +17 -17
- package/dist/chunks/{git-wd3x2cqz.js → wellknown-wd3x2cqz.js} +2 -2
- package/dist/chunks/{git-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{git-k9gchh7r.js → wellknown-wrmenjhx.js} +9 -9
- package/dist/chunks/{git-qc5tbdym.js → wellknown-wv22srnn.js} +7 -7
- package/dist/chunks/{git-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-879n19st.js → wellknown-x9t8kcge.js} +156 -156
- package/dist/chunks/{git-f3ngv102.js → wellknown-xdk9p2qn.js} +21 -21
- package/dist/chunks/{git-nap39a15.js → wellknown-xf3b7ak0.js} +11 -11
- package/dist/chunks/{git-xfkkasph.js → wellknown-xfkkasph.js} +1 -1
- package/dist/chunks/{git-4y1xccvm.js → wellknown-xkvs83f6.js} +13 -13
- package/dist/chunks/{git-1vbhmq04.js → wellknown-xnssn5ef.js} +11 -11
- package/dist/chunks/{git-rsdkdfjj.js → wellknown-xpda3824.js} +17 -17
- package/dist/chunks/{git-s5fmfqw4.js → wellknown-xrznb47d.js} +20 -20
- package/dist/chunks/{git-vavepvbb.js → wellknown-xytp48z3.js} +9 -9
- package/dist/chunks/{git-b2gx3txk.js → wellknown-xz5200hw.js} +2 -2
- package/dist/chunks/{git-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-y71avatq.js → wellknown-y71avatq.js} +1 -1
- package/dist/chunks/{git-2x16c9ep.js → wellknown-ye07qgvj.js} +43 -43
- package/dist/chunks/{git-z8bsjf0y.js → wellknown-yjjxtmkc.js} +3 -3
- package/dist/chunks/{git-4xyzmsba.js → wellknown-ynb3vjbd.js} +15 -15
- package/dist/chunks/{git-1acjjqhc.js → wellknown-yp2x3t23.js} +4 -4
- package/dist/chunks/{git-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-s8zy8myc.js → wellknown-yt0fqk68.js} +5 -5
- package/dist/chunks/{git-0hbfp3rh.js → wellknown-ywfysfj4.js} +28 -28
- package/dist/chunks/{git-6rhp9f1h.js → wellknown-yxkwmac5.js} +18 -18
- package/dist/chunks/{git-z07pqspn.js → wellknown-z07pqspn.js} +3 -3
- package/dist/chunks/{git-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-2ekc3v9w.js → wellknown-z2m1sdgj.js} +10 -10
- package/dist/chunks/{git-10r550b7.js → wellknown-z6jnry8p.js} +34 -34
- package/dist/chunks/{git-kfn1shxw.js → wellknown-z72bn00j.js} +13 -13
- package/dist/chunks/{git-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-ngcyazz8.js → wellknown-zm8v5jp2.js} +9 -9
- package/dist/chunks/{git-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-z6p0ftv1.js → wellknown-zs4j1z3q.js} +16 -16
- package/dist/chunks/{git-t32n9cga.js → wellknown-ztt44z0e.js} +15 -15
- package/dist/chunks/{git-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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 +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +85 -85
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/git-7fj5dwt0.js +0 -18
- package/dist/chunks/git-804fgeth.js +0 -26
- package/dist/chunks/git-8k2g2mjs.js +0 -252
- /package/dist/chunks/{git-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry4,
|
|
11
|
+
Info: () => Info22,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry4 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info22 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info22, exports_lsp };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-t79vken4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-eecs9ykb.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-4z58m4b4.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
load4
|
|
29
|
+
} from "./wellknown-g7a3narb.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./wellknown-3556dn8t.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service34,
|
|
38
|
+
node37
|
|
39
|
+
} from "./wellknown-513r3wcj.js";
|
|
40
40
|
import {
|
|
41
41
|
isRetryable2,
|
|
42
42
|
policy2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./wellknown-h6b02349.js";
|
|
44
44
|
import {
|
|
45
45
|
toSessionError2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./wellknown-qm1kg07s.js";
|
|
47
47
|
import {
|
|
48
48
|
calculateCost2,
|
|
49
49
|
record2,
|
|
50
50
|
add2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./wellknown-tdstcens.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/compaction.ts
|
|
57
57
|
var exports_compaction2 = {};
|
|
@@ -161,7 +161,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const llm = yield* LLMClient.Service;
|
|
163
163
|
const db = (yield* Service84).db;
|
|
164
|
-
const requests = yield*
|
|
164
|
+
const requests = yield* Service34;
|
|
165
165
|
const state = create3({
|
|
166
166
|
name: "session-compaction",
|
|
167
167
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -249,7 +249,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
249
249
|
const send = (request) => {
|
|
250
250
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
251
251
|
return Effect.gen(function* () {
|
|
252
|
-
const history = yield*
|
|
252
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
253
253
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
254
254
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
255
255
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -461,7 +461,7 @@ ${text}`;
|
|
|
461
461
|
var node9 = makeLocationNode({
|
|
462
462
|
service: Service7,
|
|
463
463
|
layer: layer6,
|
|
464
|
-
deps: [node87, node88, llmClient2,
|
|
464
|
+
deps: [node87, node88, llmClient2, node37]
|
|
465
465
|
});
|
|
466
466
|
var previousCompaction = (messages) => {
|
|
467
467
|
const [first] = messages;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./wellknown-w9xwjwq7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./wellknown-rqeet6cc.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service20
|
|
16
|
+
} from "./wellknown-6nw0bfx8.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-vvgkjvbj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service56
|
|
26
|
+
} from "./wellknown-q0ap5mzg.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service22
|
|
29
|
+
} from "./wellknown-shgn2yqr.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output3,
|
|
40
|
+
Plugin: () => Plugin23,
|
|
41
|
+
name: () => name3,
|
|
42
|
+
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name3 = "grep";
|
|
48
|
+
var Input3 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output3 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin23 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service69;
|
|
90
|
+
const ripgrep = yield* Service20;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service22;
|
|
93
|
+
const permission = yield* Service56;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name3,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input3,
|
|
99
|
+
output: Output3,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name3,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin48 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin48 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name3, Input3, Output3, toModelContent3, Plugin23, exports_grep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-eecs9ykb.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./wellknown-w9xwjwq7.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info10,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service55,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node58
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service55 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service55.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node58 = makeLocationNode({
|
|
168
|
+
service: Service55,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node83, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, Service55, node58, exports_vcs };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./wellknown-3b485cc9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service67;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./wellknown-w8vpfvd4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./wellknown-q0ap5mzg.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./wellknown-gs7kc0p5.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input6,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name6 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input6 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin26 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service56;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service23;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name6,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input6,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name6,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name6];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name6, NO_RESULTS2, description3, Input6, Plugin26, exports_websearch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-s8rn8hj9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info25,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-ywfysfj4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info25.make({
|
|
98
|
+
...Info25.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|