@opencode-ai/core 0.0.0-dev-19173 → 0.0.0-dev-19174
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{pty-b7d3s2yt.js → shell-00aww1yf.js} +2 -2
- package/dist/chunks/{pty-0qpy8c3h.js → shell-02q19v1x.js} +6 -6
- package/dist/chunks/{pty-yt5m2mw4.js → shell-0b65z5fp.js} +10 -10
- package/dist/chunks/{pty-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
- package/dist/chunks/{pty-27rbv8e3.js → shell-0h07sdbh.js} +23 -23
- package/dist/chunks/{pty-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
- package/dist/chunks/{pty-c7tgvdzj.js → shell-0sdspkc1.js} +30 -30
- package/dist/chunks/{pty-ak1pjm22.js → shell-12t3v3je.js} +20 -20
- package/dist/chunks/{pty-pdvxz7zn.js → shell-18e1e1p1.js} +46 -46
- package/dist/chunks/{pty-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
- package/dist/chunks/{pty-czptf2ey.js → shell-1dh290mh.js} +11 -11
- package/dist/chunks/{pty-9yz748bb.js → shell-1h4a14by.js} +54 -54
- package/dist/chunks/{pty-xza2q296.js → shell-1nqpxsj1.js} +11 -11
- package/dist/chunks/{pty-kxpygcw9.js → shell-1tq060df.js} +6 -6
- package/dist/chunks/{pty-229n223y.js → shell-20k6nhm9.js} +28 -28
- package/dist/chunks/{pty-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{pty-5jh1sprz.js → shell-220n1ymv.js} +157 -157
- package/dist/chunks/{pty-3bk28qgk.js → shell-22jc9t4j.js} +10 -10
- package/dist/chunks/{pty-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-q4mk538t.js → shell-292hg6qz.js} +7 -7
- package/dist/chunks/{pty-z63w68vq.js → shell-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-k2rh24n9.js → shell-2cnxy6r2.js} +10 -10
- package/dist/chunks/{pty-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
- package/dist/chunks/{pty-f2vpb3bg.js → shell-2nz939r2.js} +11 -11
- package/dist/chunks/{pty-2e2d6q87.js → shell-2pqs5rb6.js} +25 -25
- package/dist/chunks/{pty-0e772669.js → shell-2qrq5jg3.js} +3 -3
- package/dist/chunks/{pty-885bgk82.js → shell-2qzq6ga3.js} +8 -8
- package/dist/chunks/{pty-9yc3kf06.js → shell-2xs5s17b.js} +4 -4
- package/dist/chunks/{pty-2e5bqtpa.js → shell-2xx188mn.js} +37 -37
- package/dist/chunks/{pty-rhk22a8q.js → shell-2yzeteq7.js} +11 -11
- package/dist/chunks/{pty-agqvteqs.js → shell-301db2e0.js} +26 -26
- package/dist/chunks/{pty-4gnp7s9d.js → shell-31nvjq2v.js} +11 -11
- package/dist/chunks/{pty-27cy7znn.js → shell-344230wv.js} +4 -4
- package/dist/chunks/{pty-7zv350dg.js → shell-35r8yfzd.js} +19 -19
- package/dist/chunks/shell-3724gxzf.js +247 -0
- package/dist/chunks/{pty-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-btc4hvws.js → shell-3jj6bjb6.js} +5 -5
- package/dist/chunks/{pty-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
- package/dist/chunks/{pty-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-qx4mzfcc.js → shell-3zzgc37f.js} +17 -17
- package/dist/chunks/{pty-8q711cp6.js → shell-41k9cz4z.js} +28 -28
- package/dist/chunks/{pty-454k5vzh.js → shell-454k5vzh.js} +1 -1
- package/dist/chunks/{pty-v86v6hh1.js → shell-45t9anda.js} +1 -1
- package/dist/chunks/{pty-q6affv31.js → shell-46e97tr7.js} +10 -10
- package/dist/chunks/{pty-rt7tws36.js → shell-4n9v30zw.js} +21 -21
- package/dist/chunks/{pty-3k79xy7t.js → shell-4pb24dhv.js} +15 -15
- package/dist/chunks/{pty-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
- package/dist/chunks/shell-4v7qdvcn.js +18 -0
- package/dist/chunks/{pty-ghjew0fg.js → shell-4za3avwx.js} +9 -9
- package/dist/chunks/{pty-6dj4wchm.js → shell-58srr6fv.js} +31 -31
- package/dist/chunks/{pty-ngxtnptd.js → shell-5ctdmadx.js} +8 -8
- package/dist/chunks/{pty-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-gw4mnhe1.js → shell-5fc6d9pe.js} +20 -20
- package/dist/chunks/{pty-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
- package/dist/chunks/{pty-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
- package/dist/chunks/{pty-mkyvm1mp.js → shell-5mm0tfy6.js} +4 -4
- package/dist/chunks/{pty-4bszfkn1.js → shell-5nzbd5n0.js} +5 -5
- package/dist/chunks/{pty-05rkf16m.js → shell-5pdbny0n.js} +13 -13
- package/dist/chunks/{pty-39hnsdnv.js → shell-5qea4ewy.js} +39 -39
- package/dist/chunks/{pty-6z5bwd8g.js → shell-6abnk40k.js} +9 -9
- package/dist/chunks/{pty-3bdhpy4d.js → shell-6g84bqmx.js} +19 -19
- package/dist/chunks/{pty-rt5xed8c.js → shell-6hq5c2qk.js} +27 -27
- package/dist/chunks/{pty-s6ymxyzv.js → shell-6kgc56n8.js} +6 -6
- package/dist/chunks/{pty-qba7ejvk.js → shell-6rbe69zm.js} +13 -13
- package/dist/chunks/{pty-yc4s7c8p.js → shell-6smwwksd.js} +20 -20
- package/dist/chunks/{pty-d6kfye11.js → shell-6w7g5p5h.js} +12 -12
- package/dist/chunks/{pty-xahd2mgy.js → shell-6wf5mw7w.js} +29 -29
- package/dist/chunks/{pty-711hfp6y.js → shell-711hfp6y.js} +2 -2
- package/dist/chunks/{pty-72nftnjy.js → shell-72nftnjy.js} +2 -2
- package/dist/chunks/{pty-mhkvc446.js → shell-73tb2d7t.js} +3 -3
- package/dist/chunks/{pty-vgtfkpzm.js → shell-74hfp9tv.js} +26 -26
- package/dist/chunks/{pty-0e01nj6k.js → shell-74jy76yg.js} +1 -1
- package/dist/chunks/{pty-m75mcjf9.js → shell-759pz1a2.js} +8 -8
- package/dist/chunks/{pty-r0f40ks0.js → shell-75p0zbr9.js} +22 -22
- package/dist/chunks/{pty-6wv9sdr8.js → shell-76scvvk8.js} +32 -32
- package/dist/chunks/{pty-n38qs1ar.js → shell-76wr4mq2.js} +5 -5
- package/dist/chunks/{pty-1f7ccf2p.js → shell-78h3c2ja.js} +6 -6
- package/dist/chunks/{pty-4cv9f4xd.js → shell-7bfdkh1t.js} +18 -18
- package/dist/chunks/{pty-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-pgqf2fs8.js → shell-7haxhjsc.js} +1 -1
- package/dist/chunks/{pty-c0w37k4q.js → shell-7p203cgq.js} +24 -24
- package/dist/chunks/{pty-88nptzkr.js → shell-7w2wm759.js} +20 -20
- package/dist/chunks/{pty-qm0v3jhh.js → shell-806j49yq.js} +7 -7
- package/dist/chunks/{pty-e1yeq7kc.js → shell-8309kjat.js} +10 -10
- package/dist/chunks/{pty-ydjwxjd3.js → shell-83dvd1w2.js} +46 -46
- package/dist/chunks/{pty-h2g666ee.js → shell-863jw130.js} +11 -11
- package/dist/chunks/{pty-n09fkg1f.js → shell-8b1vkr5h.js} +295 -295
- package/dist/chunks/{pty-g3wwtpwc.js → shell-8g67dwbc.js} +8 -8
- package/dist/chunks/{pty-7ngn7mvv.js → shell-95z3gcrg.js} +4 -4
- package/dist/chunks/{pty-6vbgb2w8.js → shell-998dat6d.js} +9 -9
- package/dist/chunks/{pty-nez52ejm.js → shell-9kksqv7m.js} +9 -9
- package/dist/chunks/{pty-sp4bteyd.js → shell-9nb3r9db.js} +6 -6
- package/dist/chunks/{pty-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
- package/dist/chunks/{pty-50sdxj4q.js → shell-9t99dw5q.js} +1 -1
- package/dist/chunks/{pty-9tv260m8.js → shell-9yq0qydf.js} +9 -9
- package/dist/chunks/{pty-42fxgygn.js → shell-a12tcaaf.js} +6 -6
- package/dist/chunks/{pty-jrpapbxf.js → shell-a61ajdq9.js} +14 -14
- package/dist/chunks/{pty-anbsaymy.js → shell-a9c7wcwq.js} +12 -12
- package/dist/chunks/{pty-kfv3m3yk.js → shell-a9detkdy.js} +28 -28
- package/dist/chunks/{pty-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
- package/dist/chunks/{pty-30jr7zz1.js → shell-avja4xez.js} +14 -14
- package/dist/chunks/{pty-q98e8ctt.js → shell-axh9mnjf.js} +18 -18
- package/dist/chunks/{pty-mjz8v7j0.js → shell-az9b9mm6.js} +4 -4
- package/dist/chunks/{pty-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-qhpqdgv6.js → shell-b94fcmr9.js} +32 -32
- package/dist/chunks/{pty-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
- package/dist/chunks/{pty-bcezcar3.js → shell-bcezcar3.js} +2 -2
- package/dist/chunks/{pty-nbmnd9cx.js → shell-bdrwax0s.js} +21 -21
- package/dist/chunks/{pty-00z3vp5f.js → shell-bf0ztrs3.js} +4 -4
- package/dist/chunks/{pty-y8ztchkp.js → shell-bh35m6yh.js} +7 -7
- package/dist/chunks/{pty-d3mwe7xz.js → shell-bpcc17t3.js} +11 -11
- package/dist/chunks/{pty-b3qm0p9n.js → shell-bzsb4ygm.js} +24 -24
- package/dist/chunks/{pty-9p5wwx95.js → shell-c50658qd.js} +39 -39
- package/dist/chunks/{pty-mhk6k3g8.js → shell-c6trbygj.js} +4 -4
- package/dist/chunks/{pty-j18aeme6.js → shell-ca4j1r4e.js} +15 -15
- package/dist/chunks/{pty-42tkewwq.js → shell-cb182ger.js} +7 -7
- package/dist/chunks/{pty-v5v99x5c.js → shell-cmwx9h7j.js} +4 -4
- package/dist/chunks/{pty-d72308c8.js → shell-d72308c8.js} +2 -2
- package/dist/chunks/{pty-nnp2759g.js → shell-d8bdgt1m.js} +3 -3
- package/dist/chunks/{pty-e9dn8ye0.js → shell-ddcwh8jf.js} +6 -6
- package/dist/chunks/{pty-xd6am0g0.js → shell-dpc689ym.js} +4 -4
- package/dist/chunks/{pty-0g1jdj53.js → shell-drz01ptw.js} +28 -28
- package/dist/chunks/{pty-yjk1z796.js → shell-dsf572e0.js} +4 -4
- package/dist/chunks/{pty-v794b4ar.js → shell-dsfx0j74.js} +9 -9
- package/dist/chunks/{pty-n2hm0s76.js → shell-dvf4z69w.js} +27 -27
- package/dist/chunks/{pty-x227sajd.js → shell-e83y27r5.js} +7 -7
- package/dist/chunks/{pty-t54hfqtt.js → shell-ec2yajhv.js} +4 -4
- package/dist/chunks/{pty-e38w1s41.js → shell-ef5f9nen.js} +8 -8
- package/dist/chunks/{pty-9srbvtnp.js → shell-eg1n48gj.js} +16 -16
- package/dist/chunks/{pty-npy4s4aj.js → shell-ep81hxt4.js} +6 -6
- package/dist/chunks/{pty-twhbvx3p.js → shell-esp3dmb3.js} +3 -3
- package/dist/chunks/{pty-795x97jf.js → shell-et79eehw.js} +9 -9
- package/dist/chunks/{pty-br3wnqmy.js → shell-ewakhq0j.js} +16 -16
- package/dist/chunks/{pty-sx5qmy0w.js → shell-ex76qa1h.js} +15 -15
- package/dist/chunks/{pty-hc9rwb2s.js → shell-f77xc9wm.js} +16 -16
- package/dist/chunks/{pty-6pvvrh2h.js → shell-famd3pv6.js} +5 -5
- package/dist/chunks/{pty-sa79eh7w.js → shell-ff1h9ct4.js} +24 -24
- package/dist/chunks/{pty-csm7mmwy.js → shell-fg3wn8a9.js} +76 -76
- package/dist/chunks/{pty-qfs8az97.js → shell-fqt4fs5w.js} +11 -11
- package/dist/chunks/{pty-pcvxjvjj.js → shell-ftabj2dg.js} +14 -14
- package/dist/chunks/{pty-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-fxypknc8.js → shell-fxypknc8.js} +1 -1
- package/dist/chunks/{pty-g2fgb7sn.js → shell-g2fgb7sn.js} +1 -1
- package/dist/chunks/{pty-g3m9axkp.js → shell-g7csxrs7.js} +4 -4
- package/dist/chunks/{pty-c2bqpta2.js → shell-gd25jggd.js} +29 -29
- package/dist/chunks/{pty-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-3fc6dm20.js → shell-gdvy8fx6.js} +4 -4
- package/dist/chunks/{pty-t15q1rjz.js → shell-gfz2zenh.js} +16 -16
- package/dist/chunks/{pty-7ec5mhmx.js → shell-gfz9gwkx.js} +15 -15
- package/dist/chunks/{pty-j7ped6hz.js → shell-ggysapes.js} +20 -20
- package/dist/chunks/{pty-vbv643qx.js → shell-gp4zh27s.js} +9 -9
- package/dist/chunks/{pty-wftjy6b7.js → shell-gvphy7jk.js} +6 -6
- package/dist/chunks/{pty-5bhgc7xv.js → shell-h2sw8ea3.js} +15 -15
- package/dist/chunks/{pty-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-4xah2tk6.js → shell-h8p6xf2n.js} +20 -20
- package/dist/chunks/{pty-6pa79em5.js → shell-h9ygsckj.js} +45 -45
- package/dist/chunks/{pty-adq4trrh.js → shell-hd4bzg4a.js} +17 -17
- package/dist/chunks/{pty-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
- package/dist/chunks/{pty-8ewp3a8x.js → shell-hjp2pbpf.js} +1 -1
- package/dist/chunks/{pty-snc6smv8.js → shell-hm2ca2ns.js} +11 -11
- package/dist/chunks/{pty-3gq0vy0h.js → shell-hn4sjpb5.js} +2 -2
- package/dist/chunks/{pty-yqr5arb9.js → shell-hpbyysca.js} +24 -24
- package/dist/chunks/{pty-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
- package/dist/chunks/{pty-w420m8em.js → shell-htbxhgrz.js} +14 -14
- package/dist/chunks/{pty-28f1y114.js → shell-j0h9s30t.js} +13 -13
- package/dist/chunks/{pty-paphc93g.js → shell-j935v87r.js} +2 -2
- package/dist/chunks/{pty-0s2shbjn.js → shell-jqrqy21d.js} +3 -3
- package/dist/chunks/{pty-920gn045.js → shell-jv6tbxxe.js} +8 -8
- package/dist/chunks/{pty-hy45d0wx.js → shell-jx283wc3.js} +11 -11
- package/dist/chunks/{pty-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
- package/dist/chunks/{pty-kxq1x6r5.js → shell-k6p8g4fk.js} +39 -39
- package/dist/chunks/{pty-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-j7hcs84d.js → shell-kja6ea6z.js} +11 -11
- package/dist/chunks/{pty-0hvb2nf8.js → shell-kjrs54vr.js} +9 -9
- package/dist/chunks/{pty-qk456gnd.js → shell-kthrd1n2.js} +22 -22
- package/dist/chunks/{pty-hw4pv20g.js → shell-kvsjn1dr.js} +2 -2
- package/dist/chunks/{pty-6fvx7cth.js → shell-kyb951k0.js} +3 -3
- package/dist/chunks/{pty-n2dx2xaf.js → shell-m05jjnz9.js} +7 -7
- package/dist/chunks/{pty-c2s86k7e.js → shell-m4bpwynw.js} +6 -6
- package/dist/chunks/{pty-zfyvq2j7.js → shell-m9q8vvrp.js} +11 -11
- package/dist/chunks/{pty-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/shell-mb6dchx6.js +22 -0
- package/dist/chunks/shell-mf5kcrna.js +4 -0
- package/dist/chunks/{pty-j4v8sn08.js → shell-mjs0kabc.js} +22 -22
- package/dist/chunks/{pty-59fxchxt.js → shell-mn410wgw.js} +47 -47
- package/dist/chunks/{pty-hcj2ya9p.js → shell-mpcfbaan.js} +16 -16
- package/dist/chunks/{pty-mtcjf44p.js → shell-mtcjf44p.js} +1 -1
- package/dist/chunks/{pty-x2bc45f6.js → shell-mvhtz5js.js} +5 -5
- package/dist/chunks/{pty-584xbtr7.js → shell-n3m9wsvh.js} +19 -19
- package/dist/chunks/{pty-g75wm5bg.js → shell-n87qk14a.js} +26 -26
- package/dist/chunks/{pty-m686xbyy.js → shell-nag7dxjf.js} +5 -5
- package/dist/chunks/{pty-js4d4dxf.js → shell-ng39vjdn.js} +2 -2
- package/dist/chunks/{pty-7vtvr31n.js → shell-nghta7n5.js} +24 -24
- package/dist/chunks/{pty-pn7b7v58.js → shell-nxrz604p.js} +2 -2
- package/dist/chunks/{pty-kehgt38c.js → shell-nxz3kcv2.js} +32 -32
- package/dist/chunks/{pty-jp51vptf.js → shell-nzfzr9h0.js} +43 -43
- package/dist/chunks/{pty-1kqw4rdd.js → shell-p563rwwf.js} +41 -41
- package/dist/chunks/{pty-1n116cmy.js → shell-pbhkjpds.js} +9 -9
- package/dist/chunks/{pty-eekp03xz.js → shell-pjedbq3k.js} +9 -9
- package/dist/chunks/{pty-j4bwgw4b.js → shell-pjjtcy2p.js} +14 -14
- package/dist/chunks/{pty-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{pty-034xe7ps.js → shell-pxednv00.js} +5 -5
- package/dist/chunks/{pty-hv1w3vyq.js → shell-pxz8xz7s.js} +9 -9
- package/dist/chunks/{pty-607tc6va.js → shell-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-xv6rm4x2.js → shell-qy387ach.js} +7 -7
- package/dist/chunks/{pty-tmr8q769.js → shell-r56wj6jx.js} +14 -14
- package/dist/chunks/{pty-jaxg81k6.js → shell-r7cz99r0.js} +14 -14
- package/dist/chunks/{pty-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
- package/dist/chunks/{pty-43nyxw14.js → shell-rd7fx9p1.js} +16 -16
- package/dist/chunks/{pty-60njtda4.js → shell-rdq9thdd.js} +20 -20
- package/dist/chunks/{pty-6k404gxp.js → shell-rh6rd7ag.js} +4 -4
- package/dist/chunks/{pty-95zhbw9r.js → shell-rh6wbg4w.js} +15 -15
- package/dist/chunks/{pty-dsa3zh6h.js → shell-rpqdjjqf.js} +12 -12
- package/dist/chunks/{pty-5fnfwqar.js → shell-rzejcw32.js} +5 -5
- package/dist/chunks/{pty-rktjfj3k.js → shell-rzq71d0k.js} +17 -17
- package/dist/chunks/{pty-9xvgy1m6.js → shell-rzyn4jtv.js} +1 -1
- package/dist/chunks/{pty-708tkjkz.js → shell-s09ja0ad.js} +25 -25
- package/dist/chunks/{pty-nx46162a.js → shell-s440spbv.js} +24 -24
- package/dist/chunks/{pty-vnhhhj0r.js → shell-s9fwkeje.js} +10 -10
- package/dist/chunks/{pty-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
- package/dist/chunks/{pty-njfgd6ze.js → shell-sq68wjyr.js} +9 -9
- package/dist/chunks/{pty-hc93tgr1.js → shell-t0z8h93t.js} +41 -41
- package/dist/chunks/{pty-at2ecxq3.js → shell-t2cat712.js} +11 -11
- package/dist/chunks/{pty-xtm2ympe.js → shell-tabs974f.js} +15 -15
- package/dist/chunks/{pty-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-89znhe33.js → shell-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
- package/dist/chunks/{pty-tstrzs8j.js → shell-tmq14ezd.js} +36 -36
- package/dist/chunks/{pty-dx29x28q.js → shell-ttr1bger.js} +22 -22
- package/dist/chunks/{pty-44zne82a.js → shell-v623p3vn.js} +5 -5
- package/dist/chunks/{pty-n5e0mvgx.js → shell-vdxzp0s5.js} +23 -23
- package/dist/chunks/{pty-rb27xt0t.js → shell-vh6gf742.js} +10 -10
- package/dist/chunks/{pty-fa23b81s.js → shell-vkh6dqf1.js} +5 -5
- package/dist/chunks/{pty-k58vdtz8.js → shell-vnj6vh9c.js} +26 -26
- package/dist/chunks/{pty-2xwkyk0m.js → shell-vnwmzs4a.js} +5 -5
- package/dist/chunks/{pty-v79494tb.js → shell-vqe9fq18.js} +1 -1
- package/dist/chunks/{pty-bbpqbves.js → shell-w0nm8ced.js} +24 -24
- package/dist/chunks/{pty-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-ccfsy1h3.js → shell-w6h9pbxs.js} +11 -11
- package/dist/chunks/{pty-qsbb4ejq.js → shell-w794bvtj.js} +37 -37
- package/dist/chunks/{pty-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{pty-p32d7zzt.js → shell-wdhc4zn8.js} +8 -8
- package/dist/chunks/{pty-mw3zcnx5.js → shell-wkjngxy5.js} +3 -3
- package/dist/chunks/{pty-afhjd4jv.js → shell-wkqpxhsk.js} +10 -10
- package/dist/chunks/{pty-m1q1d0y4.js → shell-wn5mwez2.js} +65 -65
- package/dist/chunks/{pty-zsky2and.js → shell-wsnh7t8r.js} +9 -9
- package/dist/chunks/{pty-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-ckat2zwp.js → shell-xay8nyhx.js} +6 -6
- package/dist/chunks/{pty-3kv6khp1.js → shell-xe4jdaw3.js} +5 -5
- package/dist/chunks/{pty-45rge8j9.js → shell-xgbmxshw.js} +15 -15
- package/dist/chunks/{pty-e5w0frp6.js → shell-xnf7zpzd.js} +11 -11
- package/dist/chunks/{pty-jfbxega8.js → shell-xxtg5rsy.js} +27 -27
- package/dist/chunks/{pty-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-93a8yfjt.js → shell-y2cqme3r.js} +5 -5
- package/dist/chunks/{pty-dpkg50ah.js → shell-y71avatq.js} +4 -4
- package/dist/chunks/{pty-zpgaey8y.js → shell-ycn3x014.js} +10 -10
- package/dist/chunks/{pty-b6xrda6h.js → shell-yew4gc92.js} +16 -16
- package/dist/chunks/{pty-yfbd16n1.js → shell-yfbd16n1.js} +2 -2
- package/dist/chunks/{pty-ewr8avhk.js → shell-ygrnprnw.js} +19 -19
- package/dist/chunks/{pty-39zpmefd.js → shell-ygtbksd3.js} +26 -26
- package/dist/chunks/{pty-pa8g9c14.js → shell-ytpzjm8d.js} +35 -35
- package/dist/chunks/{pty-16r38w9g.js → shell-yw9364ag.js} +4 -4
- package/dist/chunks/{pty-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
- package/dist/chunks/{pty-djtdz80w.js → shell-z3xgatyd.js} +4 -4
- package/dist/chunks/{pty-nsb2bjtz.js → shell-za9jakaj.js} +9 -9
- package/dist/chunks/{pty-hydvtqtc.js → shell-zg1tfnff.js} +34 -34
- package/dist/chunks/{pty-47k6q3bb.js → shell-zj4p2a1k.js} +8 -8
- package/dist/chunks/{pty-a92fabfr.js → shell-ztjnpbp4.js} +6 -6
- package/dist/chunks/{pty-pjzvknbe.js → shell-zvpejf85.js} +46 -46
- package/dist/chunks/{pty-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-x5n4q9yc.js → shell-zzv1x10w.js} +26 -26
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- 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 +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +208 -208
- package/dist/session/execution.js +114 -114
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +120 -120
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +100 -100
- package/dist/snapshot.js +82 -82
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +112 -112
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/pty-06sgeqe0.js +0 -22
- package/dist/chunks/pty-6wpcenx3.js +0 -247
- package/dist/chunks/pty-9zwhrd2p.js +0 -4
- package/dist/chunks/pty-vnkjks7b.js +0 -18
- /package/dist/chunks/{pty-0fabt78z.js → shell-0fabt78z.js} +0 -0
- /package/dist/chunks/{pty-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t738kvx.js → shell-3t738kvx.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-41nvscxy.js → shell-41nvscxy.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-982e01ww.js → shell-982e01ww.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mntxs535.js → shell-mntxs535.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-a61ajdq9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service48,
|
|
13
|
+
canonical: () => canonical2,
|
|
14
|
+
node: () => node52
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service48 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service48, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
26
|
+
var node52 = LayerNode.unbound(Service48, Node.tags.values.global);
|
|
27
|
+
function canonical2(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service48, node52, canonical2, exports_location_service_map };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./shell-h9ygsckj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin35,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -90,4 +90,4 @@ var Plugin9 = define({
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
export {
|
|
93
|
+
export { Plugin35, exports_warming };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./shell-pjjtcy2p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./shell-h9ygsckj.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-bh35m6yh.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service62;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./shell-h9ygsckj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service32
|
|
7
|
+
} from "./shell-rdq9thdd.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin14
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin14 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const snapshot = yield* Service32;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin29 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin14, exports_snapshot };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info27
|
|
5
|
+
} from "./shell-m4bpwynw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info26
|
|
8
|
+
} from "./shell-pjjtcy2p.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-dpc689ym.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID9,
|
|
18
|
+
Service57,
|
|
19
|
+
node61
|
|
20
|
+
} from "./shell-bzsb4ygm.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event6,
|
|
30
|
+
Service: () => Service40,
|
|
31
|
+
node: () => node44
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode-ai/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event6 } from "@opencode-ai/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service40 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service57;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
71
71
|
let current = editor.providers.get(providerID);
|
|
72
72
|
if (!current) {
|
|
73
73
|
current = {
|
|
74
|
-
provider:
|
|
74
|
+
provider: Info27.empty(providerID),
|
|
75
75
|
models: new Map
|
|
76
76
|
};
|
|
77
77
|
editor.providers.set(providerID, current);
|
|
@@ -89,12 +89,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
89
89
|
let record = editor.providers.get(providerID);
|
|
90
90
|
if (!record) {
|
|
91
91
|
record = {
|
|
92
|
-
provider:
|
|
92
|
+
provider: Info27.empty(providerID),
|
|
93
93
|
models: new Map
|
|
94
94
|
};
|
|
95
95
|
editor.providers.set(providerID, record);
|
|
96
96
|
}
|
|
97
|
-
const model = record.models.get(modelID) ??
|
|
97
|
+
const model = record.models.get(modelID) ?? Info26.default(providerID, modelID);
|
|
98
98
|
if (!record.models.has(modelID))
|
|
99
99
|
record.models.set(modelID, model);
|
|
100
100
|
fn(model);
|
|
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
128
128
|
}),
|
|
129
129
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
130
130
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
131
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
131
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID9.make(provider.id))));
|
|
132
132
|
})
|
|
133
133
|
},
|
|
134
134
|
model: {
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
183
183
|
})
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
-
return
|
|
186
|
+
return Service40.of(result);
|
|
187
187
|
}));
|
|
188
188
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
189
|
-
var
|
|
189
|
+
var node44 = makeLocationNode({ service: Service40, layer, deps: [node84, node61] });
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Service40, node44, exports_catalog2, Event6 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./shell-m4bpwynw.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/snowflake-cortex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -52,7 +52,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
52
52
|
id: "opencode.provider.snowflake.cortex",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
54
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
55
|
-
if (evt.model.providerID !==
|
|
55
|
+
if (evt.model.providerID !== ID13.make("snowflake-cortex"))
|
|
56
56
|
return;
|
|
57
57
|
const token = process.env.SNOWFLAKE_CORTEX_TOKEN ?? process.env.SNOWFLAKE_CORTEX_PAT ?? (typeof evt.options.token === "string" ? evt.options.token : undefined) ?? (typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined);
|
|
58
58
|
const upstream = typeof evt.options.fetch === "function" ? evt.options.fetch : undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./shell-46e97tr7.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical3
|
|
7
|
+
} from "./shell-y2cqme3r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode-ai/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
21
|
var make20 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service74;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make20 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical3(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,7 +41,7 @@ var make20 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-m9q8vvrp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID13
|
|
6
|
+
} from "./shell-m4bpwynw.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./shell-a61ajdq9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./shell-7p203cgq.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./shell-axh9mnjf.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 "./shell-0h07sdbh.js";
|
|
24
24
|
import {
|
|
25
25
|
externalDirectoryPermission2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service51
|
|
27
|
+
} from "./shell-mpcfbaan.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service42
|
|
30
|
+
} from "./shell-mn410wgw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/grep.ts
|
|
36
36
|
var exports_grep = {};
|
|
37
37
|
__export(exports_grep, {
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
39
|
+
Input: () => Input11,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin12,
|
|
42
|
+
name: () => name11,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
46
46
|
import { Effect, Schema } from "effect";
|
|
47
47
|
import path from "path";
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var name11 = "grep";
|
|
49
|
+
var Input11 = Schema.Struct({
|
|
50
50
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
51
51
|
description: "Regular expression or literal text to match in file contents."
|
|
52
52
|
}),
|
|
@@ -66,8 +66,8 @@ var Input6 = Schema.Struct({
|
|
|
66
66
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Output8 = Schema.Array(Match2);
|
|
70
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
71
71
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
72
72
|
let current = "";
|
|
73
73
|
for (const match of matches) {
|
|
@@ -84,20 +84,20 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin12 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
92
|
-
const location = yield*
|
|
93
|
-
const mutation = yield*
|
|
94
|
-
const permission = yield*
|
|
90
|
+
const environment = yield* Service68;
|
|
91
|
+
const ripgrep = yield* Service67;
|
|
92
|
+
const location = yield* Service72;
|
|
93
|
+
const mutation = yield* Service51;
|
|
94
|
+
const permission = yield* Service42;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
|
-
name:
|
|
96
|
+
name: name11,
|
|
97
97
|
options: { codemode: false },
|
|
98
98
|
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.",
|
|
99
|
-
input:
|
|
100
|
-
output:
|
|
99
|
+
input: Input11,
|
|
100
|
+
output: Output8,
|
|
101
101
|
execute: (input, context) => Effect.gen(function* () {
|
|
102
102
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
103
103
|
const target = yield* mutation.resolve({ path: input.path ?? "." });
|
|
@@ -109,7 +109,7 @@ var Plugin21 = {
|
|
|
109
109
|
source
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.pattern],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: {
|
|
@@ -143,7 +143,7 @@ var Plugin21 = {
|
|
|
143
143
|
}))
|
|
144
144
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
145
145
|
...match,
|
|
146
|
-
entry:
|
|
146
|
+
entry: Entry2.make({
|
|
147
147
|
...match.entry,
|
|
148
148
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
149
149
|
})
|
|
@@ -151,7 +151,7 @@ var Plugin21 = {
|
|
|
151
151
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
152
152
|
}).pipe(Effect.map((result) => ({
|
|
153
153
|
output: result.matches,
|
|
154
|
-
content:
|
|
154
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
155
155
|
...match,
|
|
156
156
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
157
157
|
})), result.truncated),
|
|
@@ -161,4 +161,4 @@ var Plugin21 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { name11, Input11, Output8, toModelContent6, Plugin12, exports_grep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-jqrqy21d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./shell-ep81hxt4.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-wkqpxhsk.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-6wf5mw7w.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service17
|
|
18
|
+
} from "./shell-fg3wn8a9.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/generate.ts
|
|
24
24
|
var exports_generate = {};
|
|
@@ -29,12 +29,12 @@ __export(exports_generate, {
|
|
|
29
29
|
import { LLMClient, Message } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
31
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
32
|
-
const instances = yield*
|
|
32
|
+
const instances = yield* Service30;
|
|
33
33
|
const database = yield* Service80;
|
|
34
34
|
const llm = yield* LLMClient.Service;
|
|
35
35
|
return yield* Effect.gen(function* () {
|
|
36
36
|
yield* awaitActivation2;
|
|
37
|
-
const context = yield*
|
|
37
|
+
const context = yield* Service17;
|
|
38
38
|
const selection = yield* context.select(input.session.id);
|
|
39
39
|
const model = yield* context.resolveModel(selection.session);
|
|
40
40
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions);
|