@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
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./workspace-vp8zed57.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./workspace-qhdvyz6r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service51
|
|
14
|
+
} from "./workspace-m06zp20y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-88f96gnv.js";
|
|
20
20
|
import {
|
|
21
21
|
Service66
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./workspace-2skkdyk1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-vcbvf67x.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin3,
|
|
42
|
+
name: () => name3,
|
|
43
43
|
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent3 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin3 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
111
|
+
const environment = yield* Service48;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service51;
|
|
115
|
+
const location = yield* Service72;
|
|
116
116
|
const permission = yield* Service66;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output3, toModelContent3, Plugin3, exports_patch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./workspace-vp8zed57.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./workspace-vcbvf67x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./workspace-t3fxmr6d.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service4
|
|
27
|
+
} from "./workspace-4myaz8ns.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Plugin: () => Plugin11,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin11 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service4;
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service72;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin29 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent6 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name9, Input9, Plugin11, toModelContent6, exports_read };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-3dsvdpyk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./workspace-n8dykrk6.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-gw7cjrad.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-vdxhr03z.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-h275qfxe.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./workspace-8ez8fgkm.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service56;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service22;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-3dsvdpyk.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-82r76d2b.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node58
|
|
12
|
+
} from "./workspace-n8dykrk6.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node76
|
|
20
|
+
} from "./workspace-4k5pqwqv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref3
|
|
23
|
+
} from "./workspace-vp8zed57.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service58,
|
|
26
|
+
node60
|
|
27
|
+
} from "./workspace-np5vbz7c.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./workspace-jebmra90.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./workspace-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service53
|
|
39
|
+
} from "./workspace-ttqh24zm.js";
|
|
40
40
|
import {
|
|
41
41
|
Service68,
|
|
42
42
|
node71
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-b8kga87m.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service54,
|
|
48
|
+
node56,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./workspace-hnb8xd58.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service52,
|
|
53
|
+
node55
|
|
54
|
+
} from "./workspace-sfvptea7.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node25
|
|
57
|
+
} from "./workspace-2ezrptcc.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./workspace-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service21,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node24
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service21 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
91
|
+
const projects = yield* Service73;
|
|
92
|
+
const locations = yield* Service58;
|
|
93
93
|
const store = yield* Service68;
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
94
|
+
const execution = yield* Service52;
|
|
95
|
+
const instances = yield* Service56;
|
|
96
|
+
const admission = yield* Service54;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref3.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service53.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service21.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node24 = makeGlobalNode({
|
|
167
|
+
service: Service21,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
node76,
|
|
173
|
+
node60,
|
|
174
174
|
node71,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
node55,
|
|
176
|
+
node58,
|
|
177
|
+
node56,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node25
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node24, exports_move };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./workspace-vp8zed57.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./workspace-qhdvyz6r.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service40
|
|
16
|
+
} from "./workspace-nba0xr5w.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-4rd4da1r.js";
|
|
24
24
|
import {
|
|
25
25
|
Service66
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-2skkdyk1.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service15
|
|
29
|
+
} from "./workspace-vcbvf67x.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin2,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin2 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
89
|
+
const environment = yield* Service48;
|
|
90
|
+
const ripgrep = yield* Service40;
|
|
91
|
+
const location = yield* Service72;
|
|
92
|
+
const access = yield* Service15;
|
|
93
93
|
const permission = yield* Service66;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin31 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin31 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
9
|
Entry: () => Entry4,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info12
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry4 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry4 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export { Entry4,
|
|
21
|
+
export { Entry4, Info12, exports_formatter2 };
|