@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,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./wellknown-rqeet6cc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-07ee7ns1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./wellknown-3e19tx24.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./wellknown-q0ap5mzg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./wellknown-shgn2yqr.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin25,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin25 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service22;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service69;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service56;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output5, toModelContent4, Plugin25, exports_write };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./wellknown-w9xwjwq7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service20,
|
|
10
|
+
node22
|
|
11
|
+
} from "./wellknown-6nw0bfx8.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service19,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node21,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service19 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service20;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service19.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service19.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service19.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service19, layer: layer8(options), deps: [node83, node22] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node21 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service19, ripgrepLayer2, fffLayer2, layer8, configured2, node21, exports_search };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./git-6b56byp1.js";
|
|
4
|
+
} from "./wellknown-eecs9ykb.js";
|
|
9
5
|
import {
|
|
10
6
|
Service77,
|
|
11
7
|
node81
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./wellknown-w8vpfvd4.js";
|
|
9
|
+
import {
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./wellknown-7dy0zyqw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Ref4,
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./wellknown-w9xwjwq7.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-jb0cqpw1.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service56,
|
|
26
|
+
node59
|
|
27
|
+
} from "./wellknown-q0ap5mzg.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service61,
|
|
30
|
+
node64
|
|
31
|
+
} from "./wellknown-bc65k2fg.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service16,
|
|
41
|
+
node: () => node18
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
|
+
const permission = yield* Service56;
|
|
54
|
+
const forms = yield* Service77;
|
|
55
|
+
const rpc = yield* Service61;
|
|
56
|
+
const project = yield* Service80;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -72,18 +72,18 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
72
72
|
yield* forms.close;
|
|
73
73
|
yield* rpc.close;
|
|
74
74
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
75
|
-
location:
|
|
75
|
+
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service16.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node18 = makeLocationNode({
|
|
84
|
+
service: Service16,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node83, node59, node84, node81, node64]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service16, node18, exports_location_lifecycle };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin41,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin41 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin41, exports_identity };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: input.id ?? ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID15, OAuth3, Key4, Value2, Event20, Info30, Service78, node82, exports_credential };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID18 = Session.ID;
|
|
5
|
+
var Info34 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID18, Info34, SessionSchema2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service53,
|
|
3
|
+
node55
|
|
4
|
+
} from "./wellknown-7r6fj376.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
19
|
Service: () => Service31,
|
|
20
|
-
node: () =>
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -60,7 +60,7 @@ var update = (previous, current) => {
|
|
|
60
60
|
class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
62
|
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
|
-
const references = yield*
|
|
63
|
+
const references = yield* Service53;
|
|
64
64
|
return Service31.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make19({
|
|
72
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),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node55] });
|
|
85
85
|
|
|
86
|
-
export { Service31,
|
|
86
|
+
export { Service31, node34, exports_instructions3 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|