@opencode/core 0.0.0-dev-20348 → 0.0.0-dev-20352
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 +81 -81
- 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/{location-j8zvn2fh.js → repository-07770t2t.js} +8 -8
- package/dist/chunks/{location-z7eps1h1.js → repository-0cksrbmj.js} +4 -4
- package/dist/chunks/{location-sxzvkvgj.js → repository-0hf9g8pg.js} +6 -6
- package/dist/chunks/{location-knbep6cp.js → repository-0k2wfs9t.js} +11 -11
- package/dist/chunks/{location-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-jx0s70p5.js → repository-0t8pzcx6.js} +146 -143
- package/dist/chunks/{location-kp8q1t60.js → repository-11dqjexa.js} +9 -9
- package/dist/chunks/{location-m4s2206c.js → repository-17e1d76f.js} +14 -14
- package/dist/chunks/{location-etgzvy3j.js → repository-189qmn9h.js} +13 -13
- package/dist/chunks/{location-f2n192rq.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-edqypwwq.js → repository-1htr6rpv.js} +9 -9
- package/dist/chunks/{location-7fkffz83.js → repository-1p07q0wb.js} +2 -2
- package/dist/chunks/{location-e89xj288.js → repository-1q5awywt.js} +5 -5
- package/dist/chunks/{location-tdasrx2p.js → repository-1qts0z0q.js} +15 -15
- package/dist/chunks/{location-atbvbwe9.js → repository-1t78xq53.js} +32 -32
- package/dist/chunks/{location-c19pwdq3.js → repository-1w6vsqf1.js} +24 -24
- package/dist/chunks/repository-1x11rq2a.js +18 -0
- package/dist/chunks/{location-r0d4rr2j.js → repository-1x8cbfj5.js} +6 -6
- package/dist/chunks/{location-56gdpj1q.js → repository-1ygqh575.js} +9 -9
- package/dist/chunks/{location-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{location-dqt459vh.js → repository-261mrjx3.js} +20 -20
- package/dist/chunks/{location-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-s45cmrye.js → repository-2bkc2hwm.js} +33 -33
- package/dist/chunks/{location-0xrwab9k.js → repository-2bvh0we5.js} +5 -5
- package/dist/chunks/{location-0f3jrm1q.js → repository-2f1nz937.js} +15 -15
- package/dist/chunks/{location-ges5jxp9.js → repository-2h1t32pr.js} +30 -30
- package/dist/chunks/{location-4rgapcf3.js → repository-2m2430dv.js} +15 -15
- package/dist/chunks/{location-qa0bweyd.js → repository-2wzypx1n.js} +17 -17
- package/dist/chunks/{location-axs6pdy0.js → repository-3801kdgp.js} +5 -5
- package/dist/chunks/{location-qwjmgwmn.js → repository-3a83a0n4.js} +8 -8
- package/dist/chunks/{location-9tk9cqsk.js → repository-3evcb5zj.js} +16 -16
- package/dist/chunks/{location-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-427t97hr.js → repository-427t97hr.js} +1 -1
- package/dist/chunks/{location-1tk67md7.js → repository-45155fbs.js} +9 -9
- package/dist/chunks/{location-vf7xdy0e.js → repository-4h65bg6x.js} +17 -17
- package/dist/chunks/{location-znkk0wve.js → repository-4sgdpdjj.js} +3 -3
- package/dist/chunks/{location-f99pqswk.js → repository-4w4r35f3.js} +38 -38
- package/dist/chunks/{location-tekbb0q2.js → repository-4zvzj0v8.js} +27 -27
- package/dist/chunks/{location-yjptyezs.js → repository-510m7gjw.js} +5 -5
- package/dist/chunks/{location-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{location-ckecvw8r.js → repository-54tcyq79.js} +2 -2
- package/dist/chunks/{location-qqeeq2t9.js → repository-57b9ws8p.js} +4 -4
- package/dist/chunks/{location-81swgkk7.js → repository-57ez7d0k.js} +7 -7
- package/dist/chunks/{location-czke85js.js → repository-57v3ej5y.js} +23 -23
- package/dist/chunks/{location-3tgv7gac.js → repository-5cc8va4r.js} +25 -25
- package/dist/chunks/{location-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{location-w60t80j4.js → repository-5et3b08f.js} +5 -5
- package/dist/chunks/{location-b09hzw3k.js → repository-5frpvc34.js} +2 -2
- package/dist/chunks/{location-8zqs9j7p.js → repository-5g3whhj5.js} +11 -11
- package/dist/chunks/{location-6yvxz189.js → repository-5nnetc6k.js} +8 -8
- package/dist/chunks/{location-2y34zzjz.js → repository-5qkxfyep.js} +4 -4
- package/dist/chunks/{location-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-51hah4g5.js → repository-5vkcqs6a.js} +14 -14
- package/dist/chunks/{location-sdvk2ad6.js → repository-5wekx1sj.js} +20 -20
- package/dist/chunks/{location-mp410mz8.js → repository-624pvf4j.js} +19 -19
- package/dist/chunks/{location-kmz30q20.js → repository-62ejqpb6.js} +18 -18
- package/dist/chunks/{location-en77ektd.js → repository-651j3map.js} +16 -16
- package/dist/chunks/{location-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{location-fagqvdjb.js → repository-679fyftg.js} +48 -48
- package/dist/chunks/{location-ggany8nf.js → repository-68hr7k1q.js} +16 -16
- package/dist/chunks/{location-8msq6g0a.js → repository-68nshxa6.js} +30 -30
- package/dist/chunks/{location-y5df08dr.js → repository-68y7phbn.js} +12 -12
- package/dist/chunks/{location-cpy6gm2a.js → repository-6ersrjne.js} +4 -4
- package/dist/chunks/{location-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-v9wsnbng.js → repository-6q6c536h.js} +26 -26
- package/dist/chunks/{location-gfpy67ef.js → repository-6tea82hd.js} +14 -14
- package/dist/chunks/{location-rqwzy025.js → repository-6vjt9qdm.js} +10 -10
- package/dist/chunks/{location-eq03v0a1.js → repository-6zchv2y5.js} +68 -68
- package/dist/chunks/{location-mt0r8540.js → repository-714k4hxg.js} +11 -11
- package/dist/chunks/{location-j028xdjb.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-ptry4pjd.js → repository-7jvsaej3.js} +31 -31
- package/dist/chunks/{location-y1bxbmrp.js → repository-7sgf9crj.js} +11 -11
- package/dist/chunks/{location-patgj9rf.js → repository-7v81x33d.js} +9 -9
- package/dist/chunks/{location-xjqc52jg.js → repository-7x45ykdv.js} +9 -9
- package/dist/chunks/{location-3pbjq009.js → repository-818pfwc9.js} +8 -8
- package/dist/chunks/{location-71ynmsgj.js → repository-84hyfrea.js} +11 -11
- package/dist/chunks/{location-84txncab.js → repository-84txncab.js} +1 -1
- package/dist/chunks/{location-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-y6f0p4jw.js → repository-8q7cq0y1.js} +3 -3
- package/dist/chunks/{location-fn7q4aek.js → repository-8tpf93gf.js} +3 -3
- package/dist/chunks/{location-kk3cv3zh.js → repository-8v0wpe9a.js} +1 -1
- package/dist/chunks/{location-ejvqnc63.js → repository-8y978tw0.js} +9 -9
- package/dist/chunks/{location-4t8t9syn.js → repository-90ns4yw4.js} +13 -13
- package/dist/chunks/{location-czfptnv9.js → repository-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-swabsky0.js → repository-9nepbqpa.js} +6 -6
- package/dist/chunks/{location-b6w9je7w.js → repository-9pwzs4p0.js} +16 -16
- package/dist/chunks/{location-hte1hbnx.js → repository-a3rxqfj7.js} +20 -20
- package/dist/chunks/{location-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{location-bv6e155w.js → repository-ajmvp7mk.js} +1 -1
- package/dist/chunks/{location-v231365c.js → repository-amygrq69.js} +3 -3
- package/dist/chunks/{location-e087dx1z.js → repository-ay26b5gj.js} +18 -18
- package/dist/chunks/{location-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-z07pqspn.js → repository-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-5xpznt2d.js → repository-bk7jaeqh.js} +4 -4
- package/dist/chunks/{location-623pka8b.js → repository-bm7e081z.js} +2 -2
- package/dist/chunks/{location-0g5ckg7g.js → repository-c004dztw.js} +15 -15
- package/dist/chunks/{location-k4tg163h.js → repository-c28rbkyy.js} +6 -6
- package/dist/chunks/{location-x0wcjtet.js → repository-c4tdq55k.js} +10 -10
- package/dist/chunks/{location-c78bbtc9.js → repository-c78bbtc9.js} +2 -2
- package/dist/chunks/{location-ahafs8t7.js → repository-c7wcnyb2.js} +10 -10
- package/dist/chunks/{location-c9yc49s2.js → repository-ceye5a6y.js} +13 -13
- package/dist/chunks/{location-pzxv3qq1.js → repository-cgrhxsa3.js} +88 -88
- package/dist/chunks/{location-tk0nydx8.js → repository-cjq0wb7m.js} +12 -12
- package/dist/chunks/{location-z2mts3jq.js → repository-cq196h5x.js} +25 -25
- package/dist/chunks/{location-mr7cqtv5.js → repository-cqwfdt06.js} +23 -23
- package/dist/chunks/{location-zmkr9het.js → repository-cs5pa8hc.js} +18 -18
- package/dist/chunks/{location-dpzww8qs.js → repository-ct075mb4.js} +30 -30
- package/dist/chunks/{location-0rdn37j5.js → repository-ctst3a0g.js} +33 -33
- package/dist/chunks/repository-cxer2zqt.js +26 -0
- package/dist/chunks/{location-kmprzaxc.js → repository-cxvvms8d.js} +23 -23
- package/dist/chunks/{location-pecb0brz.js → repository-d2aac7k2.js} +5 -5
- package/dist/chunks/{location-jdk5dma1.js → repository-d30kejrb.js} +10 -10
- package/dist/chunks/{location-4mq1x62p.js → repository-d3k17np3.js} +7 -7
- package/dist/chunks/{location-mpk0rfs5.js → repository-dnxkq42g.js} +4 -4
- package/dist/chunks/{location-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-dbebcc4e.js → repository-dpvyfqkt.js} +15 -15
- package/dist/chunks/{location-01m7n6jp.js → repository-dr6rw3cj.js} +14 -14
- package/dist/chunks/{location-5nwc1qt7.js → repository-e1yepcxr.js} +3 -3
- package/dist/chunks/{location-r0dmdece.js → repository-e926va73.js} +2 -2
- package/dist/chunks/{location-pmjs45am.js → repository-e9ggwzdx.js} +24 -24
- package/dist/chunks/{location-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-8aaqm6qj.js → repository-eeaf82dq.js} +8 -8
- package/dist/chunks/{location-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-vsp45cnr.js → repository-egzk107n.js} +23 -23
- package/dist/chunks/{location-edpxxy6h.js → repository-eqbts54k.js} +5 -5
- package/dist/chunks/{location-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-0wd18q2k.js → repository-f14sxx3q.js} +47 -47
- package/dist/chunks/{location-by4tzntv.js → repository-f4w8v7wm.js} +16 -16
- package/dist/chunks/{location-5bmxm2h2.js → repository-f6crgew4.js} +29 -29
- package/dist/chunks/{location-mzeadsks.js → repository-fcbbdvr4.js} +3 -3
- package/dist/chunks/{location-kgkc771s.js → repository-fds2nvya.js} +20 -20
- package/dist/chunks/{location-h345add1.js → repository-fm6sh9qr.js} +8 -8
- package/dist/chunks/{location-er3vg3vh.js → repository-fm7pkbpd.js} +27 -27
- package/dist/chunks/{location-math506r.js → repository-fqkxgm96.js} +24 -24
- package/dist/chunks/{location-f3ngv102.js → repository-g190xswt.js} +4 -4
- package/dist/chunks/{location-g5agzp2h.js → repository-g5agzp2h.js} +2 -2
- package/dist/chunks/{location-kn0epzjf.js → repository-g71p6t9p.js} +11 -11
- package/dist/chunks/{location-b6zafb3b.js → repository-g7ah9nn8.js} +4 -4
- package/dist/chunks/{location-jvy0y2ha.js → repository-g913nc6q.js} +28 -28
- package/dist/chunks/{location-nsa3r9ab.js → repository-gb4bvp6x.js} +10 -10
- package/dist/chunks/{location-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-94ek1h2f.js → repository-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-gz5dk3bq.js → repository-gfx92qwz.js} +5 -5
- package/dist/chunks/{location-vsh1qdt7.js → repository-ggxxq9e3.js} +18 -18
- package/dist/chunks/{location-9ap4ea2s.js → repository-gm80mkxd.js} +11 -11
- package/dist/chunks/{location-je364zjc.js → repository-gtvp5jzx.js} +14 -14
- package/dist/chunks/{location-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-4759trp9.js → repository-h713wcgv.js} +24 -24
- package/dist/chunks/{location-t3cj5mba.js → repository-h95gg6ea.js} +26 -26
- package/dist/chunks/{location-ra4n65wq.js → repository-h9pnpq88.js} +4 -4
- package/dist/chunks/{location-xrf4x0pp.js → repository-hjxf57fq.js} +5 -5
- package/dist/chunks/{location-pn17gp7k.js → repository-hqz04k4r.js} +2 -2
- package/dist/chunks/{location-4386109a.js → repository-hrr95837.js} +25 -25
- package/dist/chunks/{location-t1kg76fs.js → repository-hsf9s0cc.js} +26 -26
- package/dist/chunks/{location-y017brwn.js → repository-hyd6jxmg.js} +37 -37
- package/dist/chunks/{location-4xth3yzf.js → repository-hysc82bv.js} +6 -6
- package/dist/chunks/{location-fc7nysvv.js → repository-j2xcdt51.js} +23 -23
- package/dist/chunks/{location-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{location-nz8rrhbp.js → repository-j6f48vym.js} +22 -22
- package/dist/chunks/{location-sz763eb6.js → repository-j6rk38x8.js} +3 -3
- package/dist/chunks/{location-a3ywwdhk.js → repository-j6t7fyz5.js} +33 -33
- package/dist/chunks/{location-299n82gd.js → repository-j7ym9e45.js} +8 -8
- package/dist/chunks/{location-crf45ehp.js → repository-jdmpkwnd.js} +18 -18
- package/dist/chunks/{location-gax9tvz5.js → repository-jds6geqk.js} +9 -9
- package/dist/chunks/{location-qfgbnpe6.js → repository-jegft3cb.js} +3 -3
- package/dist/chunks/{location-2gw3vh47.js → repository-js6wsnat.js} +8 -8
- package/dist/chunks/{location-ek5t7eqg.js → repository-jykef5d1.js} +6 -6
- package/dist/chunks/{location-cy51bfwc.js → repository-k0afheae.js} +26 -26
- package/dist/chunks/repository-k446xp98.js +507 -0
- package/dist/chunks/{location-06x8he3q.js → repository-k76fn4kw.js} +4 -4
- package/dist/chunks/{location-1h8w82y9.js → repository-kafqk5jk.js} +15 -15
- package/dist/chunks/{location-zcza1hmm.js → repository-kba3fr7g.js} +43 -43
- package/dist/chunks/{location-z1g2rz02.js → repository-kcwt9byc.js} +1 -1
- package/dist/chunks/{location-5ps1pq9q.js → repository-kg69vmj2.js} +4 -4
- package/dist/chunks/{location-bzy5scph.js → repository-kn49tj2b.js} +22 -22
- package/dist/chunks/{location-590cb2rw.js → repository-kwr781mf.js} +35 -35
- package/dist/chunks/{location-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-wk53zw7x.js → repository-mbkc2shv.js} +32 -32
- package/dist/chunks/{location-deav3xfk.js → repository-mevypv3g.js} +8 -8
- package/dist/chunks/{location-agpdygac.js → repository-mw7g4815.js} +10 -10
- package/dist/chunks/{location-87ewwnhh.js → repository-mws1fs1s.js} +6 -6
- package/dist/chunks/{location-d7yvqe2m.js → repository-n118nb8y.js} +33 -33
- package/dist/chunks/{location-c0yr27jg.js → repository-n39pqsm3.js} +29 -29
- package/dist/chunks/{location-vqk5dmcs.js → repository-n3zs05y3.js} +8 -8
- package/dist/chunks/{location-ckbtgcas.js → repository-ncxk7mek.js} +12 -12
- package/dist/chunks/{location-vvxdtkaw.js → repository-nd3xy12x.js} +9 -9
- package/dist/chunks/{location-nnf39y6b.js → repository-nepvhc7d.js} +38 -38
- package/dist/chunks/{location-8dr8mq96.js → repository-nhhjke7j.js} +32 -32
- package/dist/chunks/{location-3pe7sts8.js → repository-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-5qkytfck.js → repository-nqs75tn6.js} +20 -20
- package/dist/chunks/{location-stwp2f1a.js → repository-ntffmwex.js} +8 -8
- package/dist/chunks/{location-nzks3jc8.js → repository-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-w2738c68.js → repository-p5r3qn5k.js} +41 -41
- package/dist/chunks/{location-rhtam9wh.js → repository-p8zygv0q.js} +16 -16
- package/dist/chunks/{location-q41j7w5c.js → repository-pfsc0j31.js} +13 -13
- package/dist/chunks/{location-t0csqp6z.js → repository-pg6spdy4.js} +27 -27
- package/dist/chunks/{location-yeyr9gdq.js → repository-pgtgcehs.js} +21 -21
- package/dist/chunks/{location-jewzahs7.js → repository-ph842b28.js} +4 -4
- package/dist/chunks/{location-2e0fcd9j.js → repository-phrv7jvf.js} +10 -10
- package/dist/chunks/{location-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{location-se0gt7je.js → repository-pmrjrcra.js} +4 -4
- package/dist/chunks/{location-wd3x2cqz.js → repository-psazpmmj.js} +2 -2
- package/dist/chunks/{location-9teg96v0.js → repository-q31akcb0.js} +20 -20
- package/dist/chunks/{location-zgg0zcbd.js → repository-q5eaght4.js} +13 -13
- package/dist/chunks/{location-2bw9zt22.js → repository-q6xx7p24.js} +26 -26
- package/dist/chunks/{location-gkkmt2sg.js → repository-qg932bxn.js} +14 -14
- package/dist/chunks/{location-2k8khapm.js → repository-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-9g4szje7.js → repository-qhb41jv0.js} +9 -9
- package/dist/chunks/repository-qj0neyac.js +252 -0
- package/dist/chunks/{location-cwa6csj7.js → repository-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{location-1bj4gwz6.js → repository-r24thsjn.js} +4 -4
- package/dist/chunks/{location-rw7y820a.js → repository-rac6q0fx.js} +13 -13
- package/dist/chunks/{location-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-hrc5xhz2.js → repository-rh2hsk8b.js} +24 -24
- package/dist/chunks/{location-s8d7rejh.js → repository-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-7g0wb0cy.js → repository-rk6rxajv.js} +45 -45
- package/dist/chunks/{location-jfd6bygr.js → repository-ryxzv394.js} +1 -1
- package/dist/chunks/{location-00ts2kzt.js → repository-sk0a9wxs.js} +20 -20
- package/dist/chunks/{location-x0pg96dj.js → repository-sqzb8cf5.js} +18 -18
- package/dist/chunks/{location-0thq7ctp.js → repository-sthvb5x1.js} +1 -1
- package/dist/chunks/{location-syf57q56.js → repository-syf57q56.js} +1 -1
- package/dist/chunks/{location-sf9v7z6x.js → repository-sz5fezm3.js} +5 -5
- package/dist/chunks/{location-gtk2dzy4.js → repository-t4mkatd1.js} +17 -17
- package/dist/chunks/{location-j5zkyg6c.js → repository-t5mjxwy3.js} +11 -11
- package/dist/chunks/{location-hfe0pjhj.js → repository-t7rh5px3.js} +7 -7
- package/dist/chunks/{location-rnr5nq63.js → repository-t9qyc2v5.js} +11 -11
- package/dist/chunks/{location-j83byb14.js → repository-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{location-sqxqv8se.js → repository-tf07drr7.js} +9 -9
- package/dist/chunks/{location-42ba421n.js → repository-tkcsd86e.js} +6 -6
- package/dist/chunks/{location-va37abn8.js → repository-tv69crpr.js} +6 -6
- package/dist/chunks/{location-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{location-qkg528j3.js → repository-ty11c6cb.js} +43 -43
- package/dist/chunks/{location-g8d3gcyj.js → repository-v5dkyp31.js} +7 -7
- package/dist/chunks/{location-mte2zf97.js → repository-va3kv9qe.js} +20 -20
- package/dist/chunks/{location-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{location-5qwkxp89.js → repository-vgepzxbh.js} +4 -4
- package/dist/chunks/{location-mbheeb9q.js → repository-vmej4yqe.js} +13 -13
- package/dist/chunks/{location-r5skxa8y.js → repository-vphpe97r.js} +11 -11
- package/dist/chunks/{location-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-xmha486q.js → repository-w7zbkbxn.js} +27 -27
- package/dist/chunks/{location-36aj2cm8.js → repository-w83eeq1m.js} +26 -26
- package/dist/chunks/{location-yhztf7xm.js → repository-w8jykqna.js} +17 -17
- package/dist/chunks/{location-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{location-xs9f3tqs.js → repository-wfv0ggfj.js} +33 -33
- package/dist/chunks/{location-q4e0v6dz.js → repository-wvk32vad.js} +26 -26
- package/dist/chunks/{location-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-nzpqs87y.js → repository-xgq8gdmp.js} +20 -20
- package/dist/chunks/{location-d6hekszz.js → repository-xgz7xnxt.js} +41 -41
- package/dist/chunks/{location-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-17yyvbe9.js → repository-xkvh4geq.js} +11 -11
- package/dist/chunks/{location-rf7hrare.js → repository-xp1f59hc.js} +6 -6
- package/dist/chunks/{location-968bzxcp.js → repository-xwh5h11n.js} +16 -16
- package/dist/chunks/{location-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-rtetnwks.js → repository-y8gv42p7.js} +21 -21
- package/dist/chunks/{location-18rp1xkf.js → repository-yf10kn3d.js} +8 -8
- package/dist/chunks/{location-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{location-cw1jgv1w.js → repository-yt87a29d.js} +8 -8
- package/dist/chunks/{location-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-613reg7y.js → repository-z0tnxes5.js} +7 -7
- package/dist/chunks/{location-p9pebgfc.js → repository-z3bmnw1t.js} +9 -9
- package/dist/chunks/{location-gnnzp49s.js → repository-z4wz31t7.js} +87 -87
- package/dist/chunks/{location-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{location-hz96p7g5.js → repository-z8m9sg1x.js} +8 -8
- package/dist/chunks/{location-54rhwcph.js → repository-zc13yrkz.js} +26 -26
- package/dist/chunks/{location-mw934p8z.js → repository-ze5v0a14.js} +8 -8
- package/dist/chunks/{location-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-pe666123.js → repository-zm8ah4y0.js} +1 -1
- package/dist/chunks/{location-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-tyj1qjbe.js → repository-zy5m56k1.js} +52 -52
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +125 -125
- 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 +132 -132
- 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 +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- 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 +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- 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 +7 -7
- 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 +120 -120
- 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 +76 -76
- 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 +350 -350
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- 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 +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- 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 +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +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 +2 -2
- package/dist/session/runner/step.js +126 -126
- 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 +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +7 -7
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- 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 +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-5gfh327x.js +0 -507
- package/dist/chunks/location-8dbtp0rc.js +0 -26
- package/dist/chunks/location-v1faaxn9.js +0 -18
- package/dist/chunks/location-w2qa834j.js +0 -252
- /package/dist/chunks/{location-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-dnxkq42g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-pmrjrcra.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./repository-e9ggwzdx.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-egzk107n.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./repository-hsf9s0cc.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-5cc8va4r.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-xp1f59hc.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-g71p6t9p.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./repository-y8gv42p7.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service76;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -229,7 +229,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
235
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -257,7 +257,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./repository-p8zygv0q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service71
|
|
12
|
+
} from "./repository-rh2hsk8b.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./repository-ay26b5gj.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-wvk32vad.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service56
|
|
24
|
+
} from "./repository-f14sxx3q.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service14
|
|
27
|
+
} from "./repository-cs5pa8hc.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
37
|
Output: () => Output8,
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
38
|
+
Plugin: () => Plugin30,
|
|
39
|
+
name: () => name12,
|
|
40
40
|
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name12 = "glob";
|
|
46
|
+
var Input12 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -63,19 +63,19 @@ var toModelContent6 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin30 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service71;
|
|
70
|
+
const ripgrep = yield* Service70;
|
|
71
|
+
const location = yield* Service80;
|
|
72
|
+
const access = yield* Service14;
|
|
73
|
+
const permission = yield* Service56;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
78
|
+
input: Input12,
|
|
79
79
|
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
@@ -83,7 +83,7 @@ var Plugin13 = {
|
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -125,4 +125,4 @@ var Plugin13 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name12, Input12, Output8, toModelContent6, Plugin30, exports_glob };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-hsf9s0cc.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-tkcsd86e.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-pmrjrcra.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./repository-wfv0ggfj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./repository-fqkxgm96.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./repository-ncxk7mek.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-j6rk38x8.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-hjxf57fq.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-g5agzp2h.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make7
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make7 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service45;
|
|
58
|
+
const toolOutput = yield* Service41;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make7, exports_step };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-8q7cq0y1.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-j6rk38x8.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-bk7jaeqh.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-syf57q56.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node81
|
|
5
|
+
} from "./repository-egzk107n.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
+
Service76,
|
|
16
|
+
node80
|
|
17
|
+
} from "./repository-hsf9s0cc.js";
|
|
18
|
+
import {
|
|
15
19
|
Service74,
|
|
16
20
|
node78
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service73,
|
|
20
|
-
node77
|
|
21
|
-
} from "./location-sqxqv8se.js";
|
|
21
|
+
} from "./repository-tf07drr7.js";
|
|
22
22
|
import {
|
|
23
23
|
ID12,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service75,
|
|
27
|
+
node79
|
|
28
|
+
} from "./repository-5cc8va4r.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service73,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer24,
|
|
48
|
+
node: () => node77,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service73 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service76;
|
|
263
|
+
const models = yield* Service75;
|
|
264
|
+
const integrations = yield* Service77;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service74;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
269
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -293,7 +293,7 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service73.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node77 = makeLocationNode({
|
|
314
|
+
service: Service73,
|
|
315
|
+
layer: layer24,
|
|
316
|
+
deps: [node80, node79, node81, Npm.node, node78]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node77, exports_model_resolver };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service43,
|
|
17
|
+
node46
|
|
18
|
+
} from "./repository-7v81x33d.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service59,
|
|
21
|
+
node62
|
|
22
|
+
} from "./repository-3a83a0n4.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service42,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node45
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service42 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service59;
|
|
58
|
+
const image = yield* Service43;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service42.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node45 = makeLocationNode({
|
|
277
|
+
service: Service42,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node62, node46]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured5,
|
|
11
|
+
layer: () => layer16,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node48,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer16 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer16(input), deps: [] });
|
|
33
|
+
var node48 = configured5();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer16, configured5, node48, exports_app };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-hsf9s0cc.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-5cc8va4r.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|