@opencode/core 0.0.0-dev-20218 → 0.0.0-dev-20220
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/{state-axbkptea.js → workspace-07s4dn0t.js} +2 -2
- package/dist/chunks/{state-s3366ge2.js → workspace-0aj2g9bc.js} +18 -18
- package/dist/chunks/{state-pey5f48j.js → workspace-0f2p78zq.js} +1 -1
- package/dist/chunks/{state-kwh57d2a.js → workspace-0grssgzr.js} +9 -9
- package/dist/chunks/{state-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-dfe8djrf.js → workspace-0v53mg2y.js} +4 -4
- package/dist/chunks/{state-fvfccrab.js → workspace-0v9511cz.js} +4 -4
- package/dist/chunks/{state-yn0cfv5b.js → workspace-17sdw283.js} +1 -1
- package/dist/chunks/{state-7yjkh209.js → workspace-17v2tb9j.js} +5 -5
- package/dist/chunks/{state-r8xr0va3.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{state-2mkrz92g.js → workspace-1b2dpk4d.js} +25 -25
- package/dist/chunks/{state-r5x6zcsm.js → workspace-1bbkgx8g.js} +3 -3
- package/dist/chunks/{state-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{state-jjs74g98.js → workspace-24dd53tp.js} +8 -8
- package/dist/chunks/{state-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-nt1mtbhg.js → workspace-2ezrptcc.js} +16 -16
- package/dist/chunks/{state-63kpjth9.js → workspace-2q8c0gm7.js} +9 -9
- package/dist/chunks/{state-ev7a3h22.js → workspace-2skkdyk1.js} +41 -41
- package/dist/chunks/{state-c2wmnxd0.js → workspace-2t479tbe.js} +16 -16
- package/dist/chunks/{state-42hej837.js → workspace-32sacsj5.js} +27 -27
- package/dist/chunks/{state-56gdpj1q.js → workspace-33w4ejhs.js} +6 -6
- package/dist/chunks/{state-evbgk2k8.js → workspace-37s12vcn.js} +5 -5
- package/dist/chunks/{state-h180zsc3.js → workspace-39n49jwr.js} +5 -5
- package/dist/chunks/{state-a2ax3qpg.js → workspace-3dsvdpyk.js} +3 -3
- package/dist/chunks/{state-7g38j68k.js → workspace-3et4sczz.js} +28 -28
- package/dist/chunks/{state-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-mkh9q7yy.js → workspace-3ncp34ar.js} +23 -23
- package/dist/chunks/{state-ajmg8w9c.js → workspace-3nxb9rvh.js} +9 -9
- package/dist/chunks/{state-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-9e7tejnn.js → workspace-3ta7235s.js} +44 -44
- package/dist/chunks/{state-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-8t4yhv83.js → workspace-3vypftwz.js} +67 -67
- package/dist/chunks/{state-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-aq25p0km.js → workspace-4085f8rb.js} +33 -33
- package/dist/chunks/{state-zy4wzh65.js → workspace-414cp7b0.js} +17 -17
- package/dist/chunks/{state-07ysamf7.js → workspace-47w2eqjq.js} +43 -43
- package/dist/chunks/{state-wjjgdhkj.js → workspace-4ehfw94s.js} +11 -11
- package/dist/chunks/{state-hdne2gxf.js → workspace-4f0b6jfs.js} +6 -6
- package/dist/chunks/{state-wcj256t6.js → workspace-4k5pqwqv.js} +43 -43
- package/dist/chunks/{state-0mh48h74.js → workspace-4myaz8ns.js} +15 -15
- package/dist/chunks/{state-jcwatdg2.js → workspace-4rd4da1r.js} +26 -26
- package/dist/chunks/workspace-4s0jyqng.js +507 -0
- package/dist/chunks/{state-4p1epq1b.js → workspace-4sb7vttz.js} +5 -5
- package/dist/chunks/workspace-4v7qdvcn.js +18 -0
- package/dist/chunks/{state-vb3nvgyj.js → workspace-4yn70x16.js} +33 -33
- package/dist/chunks/{state-qj8eh1ht.js → workspace-50mzsvk4.js} +4 -4
- package/dist/chunks/{state-p8x2zf1r.js → workspace-514963fk.js} +31 -31
- package/dist/chunks/{state-cw4h18ma.js → workspace-5903przf.js} +27 -27
- package/dist/chunks/{state-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{state-v3vry9cg.js → workspace-5ddqzaw2.js} +12 -12
- package/dist/chunks/{state-6b0e6jr0.js → workspace-5kj8b39y.js} +52 -52
- package/dist/chunks/{state-5mcapwzv.js → workspace-5nkr2rt4.js} +33 -33
- package/dist/chunks/{state-ndqtf2h8.js → workspace-5phqnecy.js} +7 -7
- package/dist/chunks/{state-s87y6m3g.js → workspace-5qz8v4qk.js} +13 -13
- package/dist/chunks/{state-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-br0tr5aq.js → workspace-5yzzbxa7.js} +8 -8
- package/dist/chunks/{state-5gpdyetc.js → workspace-64gm52cj.js} +20 -20
- package/dist/chunks/{state-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{state-0xx33ygk.js → workspace-6d9vm36g.js} +85 -85
- package/dist/chunks/{state-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
- package/dist/chunks/{state-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-e22zwrdw.js → workspace-6s6k40ev.js} +5 -5
- package/dist/chunks/{state-s5vp1x85.js → workspace-6zsyems9.js} +6 -6
- package/dist/chunks/{state-qhv8q597.js → workspace-71haf3zx.js} +15 -15
- package/dist/chunks/{state-z380d6bz.js → workspace-71r8gsdc.js} +33 -33
- package/dist/chunks/{state-g534k4t5.js → workspace-75r560w4.js} +15 -15
- package/dist/chunks/{state-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-m8qwvxaw.js → workspace-7mmmc1dn.js} +22 -22
- package/dist/chunks/{state-kfxz280d.js → workspace-7qnb4kh2.js} +15 -15
- package/dist/chunks/{state-ryr25ayn.js → workspace-7sbkp4xb.js} +4 -4
- package/dist/chunks/{state-xrnnsjt5.js → workspace-82r76d2b.js} +4 -4
- package/dist/chunks/{state-za8zfcmp.js → workspace-86k3a79a.js} +181 -181
- package/dist/chunks/{state-xzc7yfbq.js → workspace-87c9dbfz.js} +21 -21
- package/dist/chunks/{state-jc9t9v97.js → workspace-8875jzjj.js} +17 -17
- package/dist/chunks/{state-kyyn4ww3.js → workspace-88f96gnv.js} +13 -13
- package/dist/chunks/{state-ysemb9nv.js → workspace-8brtktdt.js} +11 -11
- package/dist/chunks/{state-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-405avf1k.js → workspace-8ec64kag.js} +11 -11
- package/dist/chunks/{state-w2xscrkm.js → workspace-8ez8fgkm.js} +79 -79
- package/dist/chunks/{state-7w99qc9d.js → workspace-8jmaqybk.js} +3 -3
- package/dist/chunks/{state-rkprpv83.js → workspace-8sze2n9a.js} +6 -6
- package/dist/chunks/{state-c5885s0q.js → workspace-8wry8wmy.js} +11 -11
- package/dist/chunks/{state-4dgbcxzg.js → workspace-8z00fdkb.js} +4 -4
- package/dist/chunks/{state-anj5zhyn.js → workspace-9448wgn4.js} +25 -25
- package/dist/chunks/{state-94ek1h2f.js → workspace-94ek1h2f.js} +2 -2
- package/dist/chunks/{state-697fm79x.js → workspace-96ctqc5x.js} +4 -4
- package/dist/chunks/{state-k0sbk250.js → workspace-9h36tbcg.js} +2 -2
- package/dist/chunks/{state-akx14ffq.js → workspace-9hyh706k.js} +5 -5
- package/dist/chunks/{state-f5q2cchh.js → workspace-9zj539jb.js} +10 -10
- package/dist/chunks/{state-srs9dwz9.js → workspace-9zvsvm9a.js} +11 -11
- package/dist/chunks/{state-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{state-n35nve9s.js → workspace-b0d9b1gc.js} +11 -11
- package/dist/chunks/{state-764xmq7n.js → workspace-b5bxpz8p.js} +7 -7
- package/dist/chunks/{state-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-d06nhcag.js → workspace-b8kga87m.js} +5 -5
- package/dist/chunks/{state-ywyx2haj.js → workspace-bf4gbvg4.js} +9 -9
- package/dist/chunks/{state-5mnv6qns.js → workspace-btk09rt4.js} +20 -20
- package/dist/chunks/{state-3ban7q1k.js → workspace-bx34mrvh.js} +31 -31
- package/dist/chunks/{state-5zvmc3ez.js → workspace-c09pats7.js} +20 -20
- package/dist/chunks/{state-pvg53n3j.js → workspace-c93n3nwq.js} +44 -44
- package/dist/chunks/{state-eb7aytjb.js → workspace-cc3pbsab.js} +28 -28
- package/dist/chunks/{state-ckecvw8r.js → workspace-ckecvw8r.js} +2 -2
- package/dist/chunks/{state-347x2fmn.js → workspace-d2hqzb0k.js} +10 -10
- package/dist/chunks/{state-1zde08dm.js → workspace-d9q5jt11.js} +6 -6
- package/dist/chunks/{state-fjc6nchj.js → workspace-dc4f6cmj.js} +28 -28
- package/dist/chunks/{state-j30mx6hz.js → workspace-dmgn39c0.js} +32 -32
- package/dist/chunks/workspace-dn2dwtb1.js +252 -0
- package/dist/chunks/{state-y71avatq.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{state-562azfy0.js → workspace-e1vgq4ya.js} +15 -15
- package/dist/chunks/{state-nvfvfdqj.js → workspace-eahjaez5.js} +9 -9
- package/dist/chunks/{state-ecfe7b91.js → workspace-ecfe7b91.js} +2 -2
- package/dist/chunks/{state-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-yx0rmv9r.js → workspace-emzsebxx.js} +6 -6
- package/dist/chunks/{state-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-rtathh62.js → workspace-etzz3kcr.js} +8 -8
- package/dist/chunks/{state-w12jd273.js → workspace-f57b98hz.js} +32 -32
- package/dist/chunks/{state-6ge9xvdz.js → workspace-fd43cwvv.js} +12 -12
- package/dist/chunks/{state-ga2xd9w7.js → workspace-fwndzhfb.js} +20 -20
- package/dist/chunks/{state-h6b02349.js → workspace-g5agzp2h.js} +5 -5
- package/dist/chunks/{state-gtbg8hzf.js → workspace-g5jfh1r0.js} +20 -20
- package/dist/chunks/{state-kjdd0312.js → workspace-g631b151.js} +10 -10
- package/dist/chunks/{state-14yk5par.js → workspace-g723tk78.js} +11 -11
- package/dist/chunks/{state-7ve2bcyf.js → workspace-gce79w0q.js} +22 -22
- package/dist/chunks/{state-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-djszqvmq.js → workspace-gjwgx2c5.js} +9 -9
- package/dist/chunks/{state-qs75wfsq.js → workspace-gk8g57t4.js} +8 -8
- package/dist/chunks/{state-73kdj4zj.js → workspace-gs3s1a1g.js} +8 -8
- package/dist/chunks/{state-6ysrkrkr.js → workspace-gs4tkc79.js} +8 -8
- package/dist/chunks/{state-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-p3qswy66.js → workspace-gvc1y3x8.js} +14 -14
- package/dist/chunks/{state-4j4tgtq5.js → workspace-gw7cjrad.js} +4 -4
- package/dist/chunks/{state-cbszzs6d.js → workspace-gy40wgwj.js} +10 -10
- package/dist/chunks/{state-5h68hgfk.js → workspace-h275qfxe.js} +32 -32
- package/dist/chunks/{state-1gya5ztd.js → workspace-h2f17wn1.js} +3 -3
- package/dist/chunks/{state-mgqv9cjv.js → workspace-h6nd84cd.js} +8 -8
- package/dist/chunks/{state-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-3wrtxrr4.js → workspace-h7e5g0tn.js} +6 -6
- package/dist/chunks/{state-xqbar29h.js → workspace-ha0kmnyt.js} +4 -4
- package/dist/chunks/{state-pm9q95bv.js → workspace-hgefj7cx.js} +11 -11
- package/dist/chunks/{state-kbv8ef41.js → workspace-hgxj8cmt.js} +24 -24
- package/dist/chunks/{state-mjgn9fkd.js → workspace-hnb8xd58.js} +24 -24
- package/dist/chunks/{state-sqb9y0cm.js → workspace-hq63kp9t.js} +20 -20
- package/dist/chunks/{state-bysw588c.js → workspace-ht10abdc.js} +29 -29
- package/dist/chunks/{state-h6p9wsd3.js → workspace-hxmj7brn.js} +43 -43
- package/dist/chunks/{state-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{state-jewzahs7.js → workspace-j5rxtxht.js} +4 -4
- package/dist/chunks/{state-kjg680bv.js → workspace-j61y0zmr.js} +8 -8
- package/dist/chunks/{state-gqc82067.js → workspace-jc292bcq.js} +5 -5
- package/dist/chunks/{state-32ymn5e1.js → workspace-jebmra90.js} +6 -6
- package/dist/chunks/{state-abyvc0ab.js → workspace-jg3pwedt.js} +18 -18
- package/dist/chunks/{state-k4eksvdb.js → workspace-jqrps7eh.js} +11 -11
- package/dist/chunks/{state-x7v2bm1t.js → workspace-k1th7fpy.js} +12 -12
- package/dist/chunks/{state-k3c624dm.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{state-w9pb4be2.js → workspace-k9t5awnq.js} +17 -17
- package/dist/chunks/{state-mcq35w5h.js → workspace-kaaz30r4.js} +26 -26
- package/dist/chunks/{state-phx87qke.js → workspace-kf1z0tr0.js} +11 -11
- package/dist/chunks/{state-4ve5k4jc.js → workspace-ktwsgnm5.js} +11 -11
- package/dist/chunks/{state-avz33p24.js → workspace-kwqnb3b3.js} +10 -10
- package/dist/chunks/{state-k863czh1.js → workspace-kzemhjjj.js} +12 -12
- package/dist/chunks/{state-vwryqt0b.js → workspace-m06zp20y.js} +18 -18
- package/dist/chunks/{state-vka635y3.js → workspace-m17gx2bx.js} +17 -17
- package/dist/chunks/{state-fj9t785f.js → workspace-m2xqb0a2.js} +5 -5
- package/dist/chunks/{state-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-cmxzdf4d.js → workspace-m5qajknk.js} +15 -15
- package/dist/chunks/{state-6wq59zjx.js → workspace-m9cctz3y.js} +30 -30
- package/dist/chunks/{state-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-bd1518y4.js → workspace-mer1x770.js} +9 -9
- package/dist/chunks/{state-ekw5v65w.js → workspace-mg1gmkd7.js} +27 -27
- package/dist/chunks/{state-x2kfg3xp.js → workspace-mgeyp9t4.js} +10 -10
- package/dist/chunks/{state-686tv83h.js → workspace-mnyccpt8.js} +42 -44
- package/dist/chunks/{state-xgmh5kwe.js → workspace-ms6hn236.js} +47 -47
- package/dist/chunks/{state-616betvk.js → workspace-mtmzgpw7.js} +43 -43
- package/dist/chunks/{state-mvksx64m.js → workspace-mvksx64m.js} +4 -4
- package/dist/chunks/{state-b9cdatme.js → workspace-myrxwzwn.js} +24 -24
- package/dist/chunks/{state-q6vq307s.js → workspace-n1edfwxj.js} +4 -4
- package/dist/chunks/{state-r5wgqceq.js → workspace-n8dykrk6.js} +6 -6
- package/dist/chunks/{state-3x4m5qd9.js → workspace-nba0xr5w.js} +18 -18
- package/dist/chunks/{state-7bvkr4r5.js → workspace-nbzsj80d.js} +8 -8
- package/dist/chunks/{state-f6ggn7ee.js → workspace-nc6w8shy.js} +16 -16
- package/dist/chunks/{state-v997gcsz.js → workspace-nfn0d9bm.js} +20 -20
- package/dist/chunks/{state-3pkc36ya.js → workspace-njtd5qwa.js} +7 -7
- package/dist/chunks/{state-3631mzea.js → workspace-np5vbz7c.js} +11 -11
- package/dist/chunks/{state-pvmg7gn1.js → workspace-nvynjj51.js} +11 -11
- package/dist/chunks/{state-6hyw96xs.js → workspace-nwxrs5sk.js} +9 -9
- package/dist/chunks/{state-qpyfagd9.js → workspace-nxs13mpc.js} +11 -11
- package/dist/chunks/{state-xmw0p0yx.js → workspace-nzcytcen.js} +22 -22
- package/dist/chunks/{state-k24hn4de.js → workspace-p23bcykr.js} +8 -8
- package/dist/chunks/workspace-p4wystw3.js +26 -0
- package/dist/chunks/{state-pc1a02me.js → workspace-p5vysgrm.js} +30 -30
- package/dist/chunks/{state-05vsj3p7.js → workspace-pbnw4rax.js} +4 -4
- package/dist/chunks/{state-sresy5h2.js → workspace-phywj5ap.js} +3 -3
- package/dist/chunks/{state-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{state-wk5z6jzv.js → workspace-prq7hedt.js} +9 -9
- package/dist/chunks/{state-jfqgnx50.js → workspace-pvakgcfb.js} +6 -6
- package/dist/chunks/{state-g8damagz.js → workspace-q456jvfz.js} +14 -14
- package/dist/chunks/{state-pf2hb43r.js → workspace-q5t0te5a.js} +4 -4
- package/dist/chunks/{state-b3sqm8qs.js → workspace-qczdb8gm.js} +13 -13
- package/dist/chunks/{state-7dqw4kz8.js → workspace-qgn6gcr1.js} +5 -5
- package/dist/chunks/{state-xkahfabv.js → workspace-qhdvyz6r.js} +24 -24
- package/dist/chunks/{state-0r7yqxbf.js → workspace-qjnxxf51.js} +5 -5
- package/dist/chunks/{state-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{state-a7n07cbk.js → workspace-qsz2rxby.js} +16 -16
- package/dist/chunks/{state-g27ndhem.js → workspace-qt56tf5w.js} +28 -28
- package/dist/chunks/{state-trg22pty.js → workspace-qvqshg0f.js} +8 -8
- package/dist/chunks/{state-fqs56ekt.js → workspace-r35k9y4r.js} +25 -25
- package/dist/chunks/{state-m4mpbz9t.js → workspace-r4xhx5yy.js} +12 -12
- package/dist/chunks/{state-jpybm3yb.js → workspace-r5azket3.js} +13 -13
- package/dist/chunks/{state-03axkpd7.js → workspace-rbztqx5q.js} +23 -23
- package/dist/chunks/{state-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-fz7zprw4.js → workspace-rdyyfad2.js} +9 -9
- package/dist/chunks/{state-at4p1dba.js → workspace-rhfw1snm.js} +20 -20
- package/dist/chunks/{state-rhjbct0v.js → workspace-rhjbct0v.js} +1 -1
- package/dist/chunks/{state-qrkzvyze.js → workspace-rmeh0b5f.js} +20 -20
- package/dist/chunks/{state-5n657pg2.js → workspace-rx665nrj.js} +3 -3
- package/dist/chunks/{state-338yrj73.js → workspace-s31epa91.js} +40 -40
- package/dist/chunks/{state-h5tv3rwb.js → workspace-s53jkx9g.js} +13 -13
- package/dist/chunks/{state-d2aac7k2.js → workspace-s8zy8myc.js} +5 -5
- package/dist/chunks/{state-843rktzr.js → workspace-sfvptea7.js} +33 -33
- package/dist/chunks/{state-8kb9ad1g.js → workspace-t1m4pd80.js} +23 -23
- package/dist/chunks/{state-7k0859n8.js → workspace-t3fxmr6d.js} +16 -16
- package/dist/chunks/{state-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{state-dpdh24t4.js → workspace-tj19hryr.js} +30 -30
- package/dist/chunks/{state-3fpxrx1n.js → workspace-tqpa570b.js} +10 -10
- package/dist/chunks/{state-zee1rnkq.js → workspace-ttqh24zm.js} +4 -4
- package/dist/chunks/{state-ajzatwsb.js → workspace-ttv288q9.js} +14 -14
- package/dist/chunks/{state-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{state-r3at2bs8.js → workspace-twha2rmd.js} +31 -31
- package/dist/chunks/{state-mmcr6kdq.js → workspace-v1wpj03p.js} +20 -20
- package/dist/chunks/{state-n898jteq.js → workspace-v3ap8ec6.js} +11 -11
- package/dist/chunks/{state-zqktqd3m.js → workspace-v4gq33pr.js} +8 -6
- package/dist/chunks/{state-7g5bn0rc.js → workspace-vaknmyan.js} +9 -9
- package/dist/chunks/{state-h3fwwd3m.js → workspace-vbksr8hy.js} +21 -21
- package/dist/chunks/{state-gm9d908t.js → workspace-vcbvf67x.js} +15 -15
- package/dist/chunks/{state-jx4tfryq.js → workspace-vdxhr03z.js} +8 -8
- package/dist/chunks/{state-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{state-espax8zg.js → workspace-vfjhn2wd.js} +4 -4
- package/dist/chunks/{state-e0bbdjrn.js → workspace-vh4zb22k.js} +3 -3
- package/dist/chunks/{state-mv23qax8.js → workspace-vj68ba03.js} +26 -26
- package/dist/chunks/{state-r3yqybmq.js → workspace-vncddnhg.js} +7 -7
- package/dist/chunks/workspace-vp8zed57.js +43 -0
- package/dist/chunks/{state-5md0szhq.js → workspace-vprd2cpq.js} +48 -48
- package/dist/chunks/{state-25d919r2.js → workspace-vrk25kfx.js} +29 -29
- package/dist/chunks/{state-0gapa1rm.js → workspace-vrpz8t5t.js} +5 -5
- package/dist/chunks/{state-r7m9tyc3.js → workspace-vw6eyh63.js} +6 -6
- package/dist/chunks/{state-he0atntt.js → workspace-vz659dg8.js} +6 -6
- package/dist/chunks/{state-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-00832hy7.js → workspace-w3x9v1nk.js} +8 -8
- package/dist/chunks/{state-wd3x2cqz.js → workspace-wd3x2cqz.js} +2 -2
- package/dist/chunks/{state-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{state-sx3dk1aa.js → workspace-wgca8pcg.js} +3 -3
- package/dist/chunks/{state-hd8vw2pw.js → workspace-wxyynt4w.js} +1 -1
- package/dist/chunks/{state-nng2ktcm.js → workspace-x0600czv.js} +2 -2
- package/dist/chunks/{state-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-bwhv742z.js → workspace-xaqfg0qp.js} +10 -10
- package/dist/chunks/{state-drwq78ky.js → workspace-xfkkasph.js} +4 -4
- package/dist/chunks/{state-w2ffkqsz.js → workspace-xfp6s5ka.js} +18 -18
- package/dist/chunks/{state-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
- package/dist/chunks/{state-wkfs9xf1.js → workspace-xmh8t9jm.js} +10 -10
- package/dist/chunks/{state-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-cnebggg2.js → workspace-y2sw0xjf.js} +32 -32
- package/dist/chunks/{state-z1wdxvxw.js → workspace-ybfe78wp.js} +62 -62
- package/dist/chunks/{state-v7vymymh.js → workspace-yddyfygy.js} +22 -22
- package/dist/chunks/{state-kvvpqxe2.js → workspace-yfvrmt6j.js} +34 -35
- package/dist/chunks/{state-kbqjp078.js → workspace-yq14pbr7.js} +5 -5
- package/dist/chunks/{state-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{state-kbetmkvn.js → workspace-yttbpxek.js} +22 -22
- package/dist/chunks/{state-z07pqspn.js → workspace-z07pqspn.js} +3 -3
- package/dist/chunks/{state-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-7c1t3sth.js → workspace-z1v6gmzf.js} +5 -5
- package/dist/chunks/{state-vb2kgc45.js → workspace-z243wpgr.js} +5 -5
- package/dist/chunks/{state-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{state-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-3qb6nqt1.js → workspace-zmkvdbb2.js} +13 -31
- package/dist/chunks/{state-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-3dhcjsqz.js → workspace-zsw7hnhc.js} +26 -26
- package/dist/chunks/{state-zxq2ej10.js → workspace-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 +81 -81
- 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 +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- 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 +125 -125
- 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 +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +128 -128
- 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 +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 +370 -371
- 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 +227 -227
- 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 +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +361 -362
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -359
- 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 +104 -106
- package/dist/mcp/instructions.js +126 -126
- 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 +110 -110
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- 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 +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- 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 +94 -94
- 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 +77 -77
- 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 +94 -94
- 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 +78 -78
- 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 +161 -161
- 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 +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 +7 -7
- 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 +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +119 -119
- 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 +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -110
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- 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 +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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/types/git.d.ts +2 -2
- package/dist/types/location.d.ts +1 -3
- package/dist/types/mcp/index.d.ts +0 -12
- package/dist/types/project.d.ts +1 -3
- package/dist/types/pty/ticket.d.ts +2 -2
- package/dist/types/pty.d.ts +11 -6
- package/dist/types/session/diff.d.ts +1 -7
- package/dist/types/session/revert.d.ts +1 -7
- package/dist/types/session/runner/model.d.ts +0 -12
- package/dist/types/session/session.d.ts +1 -7
- package/dist/types/snapshot.d.ts +2 -2
- 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 +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +84 -84
- 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 +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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/state-0mesazry.js +0 -4
- package/dist/chunks/state-6eqtnz3a.js +0 -507
- package/dist/chunks/state-9zdhvgqs.js +0 -18
- package/dist/chunks/state-gx3thcd1.js +0 -252
- package/dist/chunks/state-qxcs1gwy.js +0 -26
- package/dist/chunks/state-treznftm.js +0 -43
- package/dist/file.js +0 -16
- package/dist/pty/schema.js +0 -6
- package/dist/types/file.d.ts +0 -9
- package/dist/types/pty/schema.d.ts +0 -1
- /package/dist/chunks/{state-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service80,
|
|
4
|
+
node84
|
|
5
|
+
} from "./workspace-mg1gmkd7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,40 +12,40 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service63,
|
|
16
|
+
node65
|
|
17
|
+
} from "./workspace-dmgn39c0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service61,
|
|
20
|
+
node63
|
|
21
|
+
} from "./workspace-v3ap8ec6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID6,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service62,
|
|
27
|
+
node64
|
|
28
|
+
} from "./workspace-y2sw0xjf.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
35
35
|
__export(exports_model_resolver, {
|
|
36
36
|
InitializationPhase: () => InitializationPhase2,
|
|
37
|
-
ModelConfigurationError: () =>
|
|
38
|
-
ModelInitializationError: () =>
|
|
37
|
+
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
|
+
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
41
|
-
UnresolvedProviderVariablesError: () =>
|
|
42
|
-
UnsupportedCompactionError: () =>
|
|
43
|
-
UnsupportedPackageError: () =>
|
|
44
|
-
VariantUnavailableError: () =>
|
|
40
|
+
Service: () => Service60,
|
|
41
|
+
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
|
+
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
|
+
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
44
|
+
VariantUnavailableError: () => VariantUnavailableError2,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer22,
|
|
48
|
+
node: () => node62,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -54,9 +54,9 @@ import { LanguageModel, ProviderConfigurationError } from "@opencode/ai";
|
|
|
54
54
|
import { Auth } from "@opencode/ai/route";
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
|
-
class
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
57
|
+
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
+
providerID: ID7,
|
|
59
|
+
modelID: ID6,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -64,9 +64,9 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
67
|
+
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
+
providerID: ID7,
|
|
69
|
+
modelID: ID6,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -75,9 +75,9 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
}
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
|
-
class
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
78
|
+
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
+
providerID: ID7,
|
|
80
|
+
modelID: ID6,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -86,9 +86,9 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
class
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
89
|
+
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
+
providerID: ID7,
|
|
91
|
+
modelID: ID6,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -98,9 +98,9 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
class
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
101
|
+
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
+
providerID: ID7,
|
|
103
|
+
modelID: ID6,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -108,9 +108,9 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
111
|
+
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
+
providerID: ID7,
|
|
113
|
+
modelID: ID6,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,13 +118,13 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service60 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
125
125
|
const variant = model.variants?.find((item) => item.id === id);
|
|
126
126
|
if (!variant && id !== undefined)
|
|
127
|
-
return Effect.fail(new
|
|
127
|
+
return Effect.fail(new VariantUnavailableError2({
|
|
128
128
|
providerID: model.providerID,
|
|
129
129
|
modelID: model.id,
|
|
130
130
|
variant: id
|
|
@@ -139,7 +139,7 @@ var withVariant2 = (model, variantID) => {
|
|
|
139
139
|
var fromCatalogModel2 = (model, credential, dependencies) => resolveCatalogModel(model, credential, dependencies).pipe(Effect.flatMap((resolved) => validateProviderVariables(model, resolved)), Effect.flatMap((resolved) => {
|
|
140
140
|
if (model.settings?.compaction?.type !== "native" || resolved.route.compact?.trigger || resolved.route.compact?.endpoint)
|
|
141
141
|
return Effect.succeed(resolved);
|
|
142
|
-
return Effect.fail(new
|
|
142
|
+
return Effect.fail(new UnsupportedCompactionError2({ providerID: model.providerID, modelID: model.id, route: resolved.route.id }));
|
|
143
143
|
}));
|
|
144
144
|
var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(function* (model, credential, dependencies) {
|
|
145
145
|
const resolved = prepareRuntimeModel(model, credential);
|
|
@@ -176,7 +176,7 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
|
|
|
176
176
|
compatibility: resolved.compatibility ? Object.assign({}, runtime.compatibility, resolved.compatibility) : runtime.compatibility
|
|
177
177
|
});
|
|
178
178
|
},
|
|
179
|
-
catch: (cause) => cause instanceof ProviderConfigurationError ? new
|
|
179
|
+
catch: (cause) => cause instanceof ProviderConfigurationError ? new ModelConfigurationError2({
|
|
180
180
|
providerID: resolved.providerID,
|
|
181
181
|
modelID: resolved.id,
|
|
182
182
|
package: resolved.package ?? "unknown",
|
|
@@ -217,7 +217,7 @@ function unresolvedProviderVariables(model, baseURL) {
|
|
|
217
217
|
const variables = new Set(Array.from(baseURL.matchAll(/\$\{([^}]+)\}/g), (match) => match[1]));
|
|
218
218
|
if (variables.size === 0)
|
|
219
219
|
return;
|
|
220
|
-
return new
|
|
220
|
+
return new UnresolvedProviderVariablesError2({
|
|
221
221
|
providerID: model.providerID,
|
|
222
222
|
modelID: model.id,
|
|
223
223
|
variables: Array.from(variables)
|
|
@@ -234,12 +234,12 @@ var nativeCredentialSettings = (specifier, credential) => {
|
|
|
234
234
|
return { accessToken: credential.access };
|
|
235
235
|
return { apiKey: credential.access };
|
|
236
236
|
};
|
|
237
|
-
var unsupported = (model) => new
|
|
237
|
+
var unsupported = (model) => new UnsupportedPackageError2({
|
|
238
238
|
providerID: model.providerID,
|
|
239
239
|
modelID: model.id,
|
|
240
240
|
package: model.package ?? "unknown"
|
|
241
241
|
});
|
|
242
|
-
var initialization = (model, phase, cause) => new
|
|
242
|
+
var initialization = (model, phase, cause) => new ModelInitializationError2({
|
|
243
243
|
providerID: model.providerID,
|
|
244
244
|
modelID: model.id,
|
|
245
245
|
package: model.package ?? "unknown",
|
|
@@ -258,15 +258,15 @@ 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 layer22 = Layer.effect(Service60, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service63;
|
|
263
|
+
const models = yield* Service62;
|
|
264
|
+
const integrations = yield* Service80;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service61;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service60.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 node62 = makeLocationNode({
|
|
314
|
+
service: Service60,
|
|
315
|
+
layer: layer22,
|
|
316
|
+
deps: [node65, node64, node84, Npm.node, node63]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node62, exports_model_resolver };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-82r76d2b.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-2skkdyk1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info16,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service50,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node53,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event11 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info16 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service50 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service50.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node53 = makeLocationNode({
|
|
112
|
+
service: Service50,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info16, ID5, Name2, available2, toModelOutput3, prepare3, Service50, node53, exports_skill5, Event11 };
|
|
@@ -1,66 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-82r76d2b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node75
|
|
8
|
+
} from "./workspace-vp8zed57.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./state-0mesazry.js";
|
|
12
|
-
import {
|
|
13
|
-
Service51,
|
|
10
|
+
Service79,
|
|
14
11
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
12
|
+
node83
|
|
13
|
+
} from "./workspace-gce79w0q.js";
|
|
17
14
|
import {
|
|
18
15
|
lazy2
|
|
19
|
-
} from "./
|
|
16
|
+
} from "./workspace-88xbtdfr.js";
|
|
20
17
|
import {
|
|
21
18
|
__export
|
|
22
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
23
20
|
|
|
24
21
|
// src/pty.ts
|
|
25
22
|
var exports_pty = {};
|
|
26
23
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event14,
|
|
29
26
|
ExitedError: () => ExitedError2,
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
ID: () => ID8,
|
|
28
|
+
Info: () => Info21,
|
|
29
|
+
NotFoundError: () => NotFoundError6,
|
|
32
30
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
31
|
+
Service: () => Service64,
|
|
34
32
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
33
|
+
node: () => node66
|
|
36
34
|
});
|
|
37
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
37
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
38
|
+
import { Event as Event14 } from "@opencode/schema/pty";
|
|
41
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
40
|
var EXITED_LIMIT = 25;
|
|
43
41
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
42
|
+
var ID8 = Pty.ID;
|
|
43
|
+
var Info21 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
46
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
46
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID8
|
|
50
49
|
}) {
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
53
|
+
ptyID: ID8
|
|
55
54
|
}) {
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
class
|
|
57
|
+
class Service64 extends Context.Service()("@opencode/Pty") {
|
|
59
58
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
61
60
|
const bus = yield* Service83;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service72;
|
|
62
|
+
const shell = yield* Service79;
|
|
64
63
|
const context = yield* Effect.context();
|
|
65
64
|
const runFork = Effect.runForkWith(context);
|
|
66
65
|
const sessions = new Map;
|
|
@@ -97,7 +96,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
97
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
97
|
const session = sessions.get(id);
|
|
99
98
|
if (!session)
|
|
100
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
101
100
|
return session;
|
|
102
101
|
});
|
|
103
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +122,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
123
122
|
return (yield* requireSession(id)).info;
|
|
124
123
|
});
|
|
125
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
125
|
+
const id = ID8.ascending();
|
|
127
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +267,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
268
267
|
}
|
|
269
268
|
};
|
|
270
269
|
});
|
|
271
|
-
return
|
|
270
|
+
return Service64.of({ list, get, create, update, remove, write, attach });
|
|
272
271
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
272
|
+
var node66 = makeLocationNode({
|
|
273
|
+
service: Service64,
|
|
275
274
|
layer,
|
|
276
|
-
deps: [node87,
|
|
275
|
+
deps: [node87, node75, node83]
|
|
277
276
|
});
|
|
278
277
|
|
|
279
|
-
export {
|
|
278
|
+
export { ID8, Info21, CreateInput3, UpdateInput2, NotFoundError6, ExitedError2, Service64, node66, exports_pty, Event14 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin23 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin23, exports_tool_input_repair };
|