@opencode/core 0.0.0-dev-20578 → 0.0.0-dev-20579
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +73 -73
- package/dist/chunks/{plugin-76g71pff.js → models-dev-00z7knq4.js} +48 -48
- package/dist/chunks/{plugin-0d0dy0b8.js → models-dev-02pnmv3p.js} +19 -19
- package/dist/chunks/{plugin-34bd8zqa.js → models-dev-04sffrgv.js} +15 -15
- package/dist/chunks/{plugin-m4wv7hmr.js → models-dev-065f5jqd.js} +17 -17
- package/dist/chunks/{plugin-4hmze3tg.js → models-dev-0fh6f5vp.js} +9 -9
- package/dist/chunks/{plugin-xkt82cda.js → models-dev-0hkfhkek.js} +29 -29
- package/dist/chunks/{plugin-3r80836k.js → models-dev-0hv6rsw5.js} +26 -26
- package/dist/chunks/{plugin-0paq2nw3.js → models-dev-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-my4zabxr.js → models-dev-143qq2q9.js} +3 -3
- package/dist/chunks/{plugin-aryyw1nk.js → models-dev-15nepkqg.js} +8 -8
- package/dist/chunks/{plugin-bxq680aw.js → models-dev-16rafmdt.js} +38 -38
- package/dist/chunks/{plugin-1dazxqgg.js → models-dev-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-1dvck2a7.js → models-dev-1dvck2a7.js} +2 -2
- package/dist/chunks/{plugin-28z24pfh.js → models-dev-1ffrhb6a.js} +32 -32
- package/dist/chunks/{plugin-sqhwqkv8.js → models-dev-21sd2q2p.js} +15 -15
- package/dist/chunks/{plugin-c1vsqjm1.js → models-dev-23r766dh.js} +39 -39
- package/dist/chunks/{plugin-acqz3eas.js → models-dev-28pkm0f9.js} +19 -19
- package/dist/chunks/{plugin-2a5m3afh.js → models-dev-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-0jwsre1p.js → models-dev-2k8khapm.js} +5 -5
- package/dist/chunks/{plugin-8s4zq5p9.js → models-dev-30846h32.js} +8 -8
- package/dist/chunks/{plugin-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-51nd9ekg.js → models-dev-3gk6d5bg.js} +33 -33
- package/dist/chunks/{plugin-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-69hdsgk8.js → models-dev-3pt1f740.js} +38 -38
- package/dist/chunks/{plugin-3ary6tpn.js → models-dev-3r0f49pj.js} +10 -10
- package/dist/chunks/{plugin-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-09djgkn9.js → models-dev-3wjay3ka.js} +23 -23
- package/dist/chunks/{plugin-ak7e9zsb.js → models-dev-3zqzd8hk.js} +43 -43
- package/dist/chunks/{plugin-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-3d32k6hr.js → models-dev-414z3zsn.js} +14 -14
- package/dist/chunks/{plugin-2p0jthwz.js → models-dev-44b5mvgm.js} +15 -15
- package/dist/chunks/{plugin-aphb00ew.js → models-dev-4556yem3.js} +2 -2
- package/dist/chunks/{plugin-djz46489.js → models-dev-47zss2vy.js} +18 -18
- package/dist/chunks/{plugin-d10hb995.js → models-dev-4bx1eqaf.js} +23 -23
- package/dist/chunks/{plugin-pfybfzrt.js → models-dev-4d76t1fx.js} +19 -19
- package/dist/chunks/{plugin-kem2dng2.js → models-dev-4j1v512x.js} +33 -33
- package/dist/chunks/{plugin-2ccvkpx1.js → models-dev-4ts7tf6z.js} +2 -2
- package/dist/chunks/{plugin-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-1ygqh575.js → models-dev-56gdpj1q.js} +9 -9
- package/dist/chunks/{plugin-xfkkasph.js → models-dev-57b9ws8p.js} +7 -7
- package/dist/chunks/{plugin-k618byr3.js → models-dev-5bmhz7h8.js} +22 -22
- package/dist/chunks/{plugin-xt0fd68y.js → models-dev-5bsdf67q.js} +20 -20
- package/dist/chunks/{plugin-e6tayz2r.js → models-dev-5c4z4tyd.js} +49 -49
- package/dist/chunks/{plugin-5daktx2q.js → models-dev-5daktx2q.js} +1 -1
- package/dist/chunks/{plugin-b7fettsd.js → models-dev-5dsr6e61.js} +6 -6
- package/dist/chunks/{plugin-yt1qgzdm.js → models-dev-5fsrq7yk.js} +13 -13
- package/dist/chunks/{plugin-8cqakzrt.js → models-dev-5g2350sa.js} +16 -16
- package/dist/chunks/{plugin-e3qxr5gk.js → models-dev-5qd3pb7m.js} +2 -2
- package/dist/chunks/{plugin-5t3nmthw.js → models-dev-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-c1gr2zd3.js → models-dev-5xmyk187.js} +3 -3
- package/dist/chunks/{plugin-v9gryrmc.js → models-dev-66376qmm.js} +69 -69
- package/dist/chunks/{plugin-669tq793.js → models-dev-669tq793.js} +1 -1
- package/dist/chunks/{plugin-r9f8m4wv.js → models-dev-67bex8mg.js} +16 -16
- package/dist/chunks/{plugin-30hx8gy4.js → models-dev-67g972p8.js} +11 -11
- package/dist/chunks/{plugin-xqsx1vwf.js → models-dev-69ae2gc0.js} +35 -35
- package/dist/chunks/{plugin-nxnchq8r.js → models-dev-6b584fx1.js} +14 -14
- package/dist/chunks/{plugin-dyrgthp5.js → models-dev-6fgkgcg0.js} +20 -20
- package/dist/chunks/{plugin-pcfe7wwq.js → models-dev-6g7n6n48.js} +5 -5
- package/dist/chunks/{plugin-afc78eap.js → models-dev-6q44kjsg.js} +4 -4
- package/dist/chunks/{plugin-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-j2zjmsnh.js → models-dev-6xkzja4k.js} +6 -6
- package/dist/chunks/{plugin-x88jpnpr.js → models-dev-707t01nb.js} +21 -21
- package/dist/chunks/{plugin-90wqxygs.js → models-dev-70z09tsz.js} +11 -11
- package/dist/chunks/{plugin-71az546q.js → models-dev-71az546q.js} +2 -2
- package/dist/chunks/{plugin-q5fbr5p5.js → models-dev-72a3060e.js} +5 -5
- package/dist/chunks/{plugin-y630p9sc.js → models-dev-75t52x5s.js} +27 -27
- package/dist/chunks/{plugin-vx4r8km3.js → models-dev-777x33ga.js} +41 -41
- package/dist/chunks/{plugin-9przwesc.js → models-dev-77pm2nty.js} +33 -33
- package/dist/chunks/{plugin-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-6zy4stt8.js → models-dev-7qxz1a4h.js} +6 -6
- package/dist/chunks/{plugin-43r5tmwz.js → models-dev-7re3496y.js} +173 -173
- package/dist/chunks/{plugin-yr715y08.js → models-dev-82rhge12.js} +9 -9
- package/dist/chunks/{plugin-84txncab.js → models-dev-84txncab.js} +1 -1
- package/dist/chunks/{plugin-mmq86yx8.js → models-dev-89v4egbf.js} +26 -26
- package/dist/chunks/{plugin-tefzd8kx.js → models-dev-8ct0y6hk.js} +26 -26
- package/dist/chunks/{plugin-8d7r5vzw.js → models-dev-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-7y3n75t2.js → models-dev-8hkfkb27.js} +11 -11
- package/dist/chunks/{plugin-t03g005h.js → models-dev-8r052h48.js} +11 -11
- package/dist/chunks/{plugin-8etvpd78.js → models-dev-8tfctm8b.js} +1 -1
- package/dist/chunks/{plugin-84fx5zbw.js → models-dev-8wxr6w3c.js} +14 -14
- package/dist/chunks/{plugin-0a04tq27.js → models-dev-94ak9ask.js} +1 -1
- package/dist/chunks/{plugin-3g98wrjp.js → models-dev-9841pv10.js} +19 -19
- package/dist/chunks/{plugin-9e5bzkjp.js → models-dev-9e5bzkjp.js} +3 -3
- package/dist/chunks/{plugin-8mq6ch7h.js → models-dev-9ecvsxx5.js} +25 -25
- package/dist/chunks/{plugin-fq3v9e4w.js → models-dev-9fr4q37e.js} +23 -23
- package/dist/chunks/{plugin-sxzvkvgj.js → models-dev-9gea571p.js} +6 -6
- package/dist/chunks/{plugin-5h261f6e.js → models-dev-9h1qtdky.js} +47 -47
- package/dist/chunks/{plugin-4bcaa4pk.js → models-dev-9nccr2nz.js} +24 -24
- package/dist/chunks/{plugin-drnf6xwf.js → models-dev-9pa8tak9.js} +2 -2
- package/dist/chunks/{plugin-qkn17avs.js → models-dev-9qx683h5.js} +9 -9
- package/dist/chunks/{plugin-947pvy6h.js → models-dev-9xjshrng.js} +3 -3
- package/dist/chunks/{plugin-2dcw1sfe.js → models-dev-a527gmk9.js} +7 -7
- package/dist/chunks/{plugin-2pnhn36q.js → models-dev-a8bn8zg0.js} +21 -21
- package/dist/chunks/{plugin-aaet6srn.js → models-dev-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-znfvst1a.js → models-dev-ah58gg7p.js} +5 -5
- package/dist/chunks/{plugin-371g5ft3.js → models-dev-amsd198e.js} +24 -24
- package/dist/chunks/{plugin-qr25pfvb.js → models-dev-as7cf5zz.js} +4 -4
- package/dist/chunks/{plugin-24creq0d.js → models-dev-at1jtn93.js} +12 -12
- package/dist/chunks/{plugin-qq2xhrb8.js → models-dev-b0w1x349.js} +57 -57
- package/dist/chunks/{plugin-8q4vwcbd.js → models-dev-b1tb8gws.js} +35 -35
- package/dist/chunks/{plugin-b6gygkdw.js → models-dev-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-nzh5psd4.js → models-dev-b76kedzd.js} +11 -11
- package/dist/chunks/{plugin-4fsvs0r5.js → models-dev-b832nfdp.js} +21 -21
- package/dist/chunks/{plugin-a3c7ahw6.js → models-dev-bp8fbaqn.js} +4 -4
- package/dist/chunks/{plugin-h4cyradc.js → models-dev-bw2wjxzg.js} +10 -10
- package/dist/chunks/{plugin-qne3fa44.js → models-dev-bx0gyb4h.js} +5 -5
- package/dist/chunks/{plugin-by5v678g.js → models-dev-by5v678g.js} +1 -1
- package/dist/chunks/{plugin-mdvte9fh.js → models-dev-c26tg910.js} +12 -12
- package/dist/chunks/{plugin-mccvx0ph.js → models-dev-c43encnq.js} +12 -12
- package/dist/chunks/{plugin-ygkw9vpb.js → models-dev-c9m7c5t2.js} +15 -15
- package/dist/chunks/{plugin-ydrgdh5s.js → models-dev-cd2ckykk.js} +29 -29
- package/dist/chunks/{plugin-7t4975xj.js → models-dev-cdxjqe9v.js} +8 -8
- package/dist/chunks/{plugin-e9txt9vy.js → models-dev-cerphmjy.js} +5 -5
- package/dist/chunks/{plugin-nnjbqqpn.js → models-dev-cgz3dhkc.js} +10 -10
- package/dist/chunks/{plugin-t01ewf6t.js → models-dev-chkwe70y.js} +9 -9
- package/dist/chunks/{plugin-ds421k4t.js → models-dev-ct9q0q83.js} +11 -11
- package/dist/chunks/{plugin-cpneeje0.js → models-dev-cwa6csj7.js} +9 -9
- package/dist/chunks/{plugin-9c1yxwsv.js → models-dev-cyef1244.js} +13 -13
- package/dist/chunks/{plugin-4r3ynae4.js → models-dev-d9p3jxc1.js} +50 -50
- package/dist/chunks/{plugin-z5rqpkns.js → models-dev-dpepwdxp.js} +35 -35
- package/dist/chunks/{plugin-wp1hpspq.js → models-dev-dzd6gt19.js} +8 -8
- package/dist/chunks/{plugin-tc91rda6.js → models-dev-e1b8dpn9.js} +6 -6
- package/dist/chunks/{plugin-w1ad28wa.js → models-dev-e7710hd6.js} +5 -5
- package/dist/chunks/{plugin-da0rp3w3.js → models-dev-e7ydkzjj.js} +7 -7
- package/dist/chunks/{plugin-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-h8ft0m90.js → models-dev-enm6tv2q.js} +20 -20
- package/dist/chunks/{plugin-etq0c3wd.js → models-dev-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-69mqpp93.js → models-dev-etz1tp3f.js} +22 -22
- package/dist/chunks/{plugin-c7jwjaks.js → models-dev-f69hr2t8.js} +23 -23
- package/dist/chunks/{plugin-06x8he3q.js → models-dev-f73rjn58.js} +4 -4
- package/dist/chunks/{plugin-35ng7dkh.js → models-dev-fepbnb8j.js} +5 -5
- package/dist/chunks/{plugin-b27vhd2z.js → models-dev-fqb2p7cx.js} +4 -4
- package/dist/chunks/{plugin-zg6rd06s.js → models-dev-fszy1g6v.js} +9 -9
- package/dist/chunks/{plugin-zdpsxmh8.js → models-dev-fyfa4fhw.js} +44 -44
- package/dist/chunks/{plugin-hz0mzm96.js → models-dev-g1r3wepg.js} +67 -67
- package/dist/chunks/{plugin-f8147smy.js → models-dev-g6xefnek.js} +5 -5
- package/dist/chunks/{plugin-kjdm35cs.js → models-dev-g6yfr6ja.js} +5 -5
- package/dist/chunks/{plugin-kqzb879x.js → models-dev-g80ve2xz.js} +22 -22
- package/dist/chunks/{plugin-n11bbmz5.js → models-dev-g9r9zbx9.js} +4 -4
- package/dist/chunks/{plugin-5kyzh40n.js → models-dev-gaky33x9.js} +5 -5
- package/dist/chunks/{plugin-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-3rt7qeq2.js → models-dev-gvhmaxka.js} +44 -44
- package/dist/chunks/{plugin-agw9xp4d.js → models-dev-h08prmky.js} +18 -18
- package/dist/chunks/{plugin-h2b79v29.js → models-dev-h2b79v29.js} +2 -2
- package/dist/chunks/{plugin-qdbakdjh.js → models-dev-h4z1mxff.js} +5 -5
- package/dist/chunks/{plugin-41japfwg.js → models-dev-h6pyrv6e.js} +15 -15
- package/dist/chunks/{plugin-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-7qgmcsxr.js → models-dev-h6vzd6py.js} +23 -23
- package/dist/chunks/{plugin-qj750ez4.js → models-dev-hapxt7b6.js} +4 -4
- package/dist/chunks/{plugin-w7m571bh.js → models-dev-hcstjrnh.js} +32 -32
- package/dist/chunks/{plugin-6g7e4dd5.js → models-dev-hg3614cy.js} +7 -7
- package/dist/chunks/{plugin-v9b8r7m3.js → models-dev-hmgc5cz7.js} +12 -12
- package/dist/chunks/{plugin-7raxn3d9.js → models-dev-hw0q1v6w.js} +13 -13
- package/dist/chunks/{plugin-1hxtq9m9.js → models-dev-hzbfr2zb.js} +26 -26
- package/dist/chunks/{plugin-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-1m06e57m.js → models-dev-j69age7f.js} +10 -10
- package/dist/chunks/{plugin-62kmmg0k.js → models-dev-j8vmxrd4.js} +3 -3
- package/dist/chunks/{plugin-cepe0qf7.js → models-dev-jagm7tt7.js} +45 -45
- package/dist/chunks/models-dev-k0b2y79r.js +253 -0
- package/dist/chunks/{plugin-8c8v92hd.js → models-dev-k64rxz1r.js} +19 -19
- package/dist/chunks/{plugin-yrh23yf8.js → models-dev-k9qdemdz.js} +17 -17
- package/dist/chunks/{plugin-39sy8z68.js → models-dev-kb426ejq.js} +13 -13
- package/dist/chunks/{plugin-yfh8cgan.js → models-dev-kg03ydgp.js} +9 -9
- package/dist/chunks/{plugin-yrqbh8b0.js → models-dev-kjm0dggs.js} +23 -23
- package/dist/chunks/{plugin-w05x0cfw.js → models-dev-ktw141zw.js} +9 -9
- package/dist/chunks/{plugin-cfz5gkc0.js → models-dev-kyr28d2w.js} +11 -11
- package/dist/chunks/{plugin-ksr3qje0.js → models-dev-kz287eh6.js} +4 -4
- package/dist/chunks/{plugin-m3fdjcah.js → models-dev-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-5anybvrp.js → models-dev-m69jc7nt.js} +15 -15
- package/dist/chunks/{plugin-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-qygbw77c.js → models-dev-mha52fg8.js} +5 -5
- package/dist/chunks/{plugin-kb6vbnxp.js → models-dev-mhgx8wws.js} +4 -4
- package/dist/chunks/{plugin-w808e159.js → models-dev-n0vcjzwx.js} +21 -21
- package/dist/chunks/{plugin-gfwqja43.js → models-dev-n8h5s4z5.js} +5 -5
- package/dist/chunks/{plugin-ext61gvm.js → models-dev-nbr98sng.js} +18 -18
- package/dist/chunks/{plugin-h5w29vws.js → models-dev-ncnm8wen.js} +1 -1
- package/dist/chunks/{plugin-9szwjyee.js → models-dev-nm4299rz.js} +8 -8
- package/dist/chunks/{plugin-khhk3gee.js → models-dev-nvxt8qcf.js} +9 -9
- package/dist/chunks/{plugin-9tnt1thx.js → models-dev-nzcmq5s7.js} +15 -15
- package/dist/chunks/{plugin-04d3ggy7.js → models-dev-p3bfjnb3.js} +18 -18
- package/dist/chunks/{plugin-5p2w852e.js → models-dev-p4ebz0q2.js} +6 -6
- package/dist/chunks/{plugin-2p5y98w0.js → models-dev-p5c89f54.js} +6 -6
- package/dist/chunks/{plugin-0grfgy22.js → models-dev-p6g1xawz.js} +20 -20
- package/dist/chunks/{plugin-5yzzbxa7.js → models-dev-pa8pe2x7.js} +8 -8
- package/dist/chunks/{plugin-rk6z8b2s.js → models-dev-pd7n37kn.js} +31 -31
- package/dist/chunks/{plugin-jav2p7n3.js → models-dev-pfsrde56.js} +3 -3
- package/dist/chunks/{plugin-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-hqe3s9vz.js → models-dev-pkx2dq04.js} +320 -320
- package/dist/chunks/{plugin-2m5wdzz9.js → models-dev-pm50wqr4.js} +4 -4
- package/dist/chunks/{plugin-0j77ygfz.js → models-dev-q0xm7vwc.js} +6 -6
- package/dist/chunks/{plugin-61rwkfw7.js → models-dev-q18332b7.js} +13 -13
- package/dist/chunks/{plugin-k0r5d45h.js → models-dev-q93trqjw.js} +5 -5
- package/dist/chunks/{plugin-aqs4ydsz.js → models-dev-q97fzf0b.js} +26 -26
- package/dist/chunks/{plugin-9jww82ap.js → models-dev-qdtb2r9y.js} +75 -75
- package/dist/chunks/{plugin-mk89bcdm.js → models-dev-qesb4fb2.js} +10 -10
- package/dist/chunks/{plugin-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-qj2xshqj.js → models-dev-qt130byj.js} +24 -24
- package/dist/chunks/{plugin-fdf2r7px.js → models-dev-qvh9eqkc.js} +19 -19
- package/dist/chunks/{plugin-zz5k72w4.js → models-dev-qvna2bbv.js} +25 -25
- package/dist/chunks/{plugin-eq1pz5kg.js → models-dev-r5x6zcsm.js} +3 -3
- package/dist/chunks/{plugin-yp2x3t23.js → models-dev-r8xr0va3.js} +4 -4
- package/dist/chunks/{plugin-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-t550f9t1.js → models-dev-rhjbct0v.js} +4 -4
- package/dist/chunks/{plugin-xw9z83sh.js → models-dev-rkp0d28g.js} +46 -46
- package/dist/chunks/{plugin-cwwytgmc.js → models-dev-rt73gy88.js} +4 -4
- package/dist/chunks/{plugin-68vrpgj2.js → models-dev-rtwceye3.js} +23 -23
- package/dist/chunks/{plugin-vynkv33f.js → models-dev-s6yyz18a.js} +13 -13
- package/dist/chunks/{plugin-5g4drkc8.js → models-dev-scwth786.js} +13 -13
- package/dist/chunks/{plugin-sw2ky0ak.js → models-dev-sk11m9ar.js} +27 -27
- package/dist/chunks/{plugin-3n0emgyf.js → models-dev-snkpwrj1.js} +25 -25
- package/dist/chunks/{plugin-ydkmjtsm.js → models-dev-sp7ve3f0.js} +11 -11
- package/dist/chunks/{plugin-k70p9jzb.js → models-dev-srq8z0b0.js} +9 -9
- package/dist/chunks/{plugin-5q82qb79.js → models-dev-sxmaz3jq.js} +26 -26
- package/dist/chunks/{plugin-q9nhy42k.js → models-dev-t0nr6jrg.js} +26 -26
- package/dist/chunks/{plugin-fz79dkc7.js → models-dev-t8a4yqen.js} +8 -8
- package/dist/chunks/{plugin-nqa2gsff.js → models-dev-t8kkt2nv.js} +11 -11
- package/dist/chunks/{plugin-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-js9gsb9m.js → models-dev-tfyyarmg.js} +14 -14
- package/dist/chunks/{plugin-8dsxej7q.js → models-dev-tj0wg4nv.js} +5 -5
- package/dist/chunks/{plugin-sr4k8heh.js → models-dev-tsnhj991.js} +11 -11
- package/dist/chunks/{plugin-3x5wnmsa.js → models-dev-tv1qkmca.js} +20 -25
- package/dist/chunks/{plugin-2ex9tkzb.js → models-dev-tvdvkfya.js} +39 -39
- package/dist/chunks/{plugin-6arwdhpr.js → models-dev-tx4w3zvw.js} +24 -24
- package/dist/chunks/{plugin-06fncbhs.js → models-dev-v0t6dd4w.js} +14 -14
- package/dist/chunks/{plugin-ktyrkyt5.js → models-dev-v85q2xfv.js} +13 -13
- package/dist/chunks/{plugin-qce0q5sw.js → models-dev-ve78naxq.js} +8 -8
- package/dist/chunks/{plugin-hcd320rf.js → models-dev-veajjj4z.js} +8 -8
- package/dist/chunks/{plugin-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-kk5na4ms.js → models-dev-vjtea3hn.js} +3 -3
- package/dist/chunks/{plugin-hahjxtze.js → models-dev-vwgad00t.js} +10 -10
- package/dist/chunks/{plugin-ef7p9trg.js → models-dev-vxrd0dht.js} +9 -9
- package/dist/chunks/{plugin-vzcthcp8.js → models-dev-vzcthcp8.js} +1 -1
- package/dist/chunks/{plugin-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-gahzhxn8.js → models-dev-vzstn3vw.js} +26 -26
- package/dist/chunks/{plugin-1x0vprbs.js → models-dev-w222d1b2.js} +17 -17
- package/dist/chunks/{plugin-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-j730n9rv.js → models-dev-w8mfq855.js} +17 -17
- package/dist/chunks/{plugin-8sze2n9a.js → models-dev-w92k2e0p.js} +4 -4
- package/dist/chunks/{plugin-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-9s85hpde.js → models-dev-we3tv5d1.js} +3 -3
- package/dist/chunks/{plugin-eahhehpg.js → models-dev-wj76ss2k.js} +4 -4
- package/dist/chunks/{plugin-pfpr1sg6.js → models-dev-wkcrcmm0.js} +16 -16
- package/dist/chunks/{plugin-fnwaevmq.js → models-dev-wp6ep95q.js} +38 -38
- package/dist/chunks/{plugin-q41hpyd6.js → models-dev-wt5nmafz.js} +35 -35
- package/dist/chunks/{plugin-vvr3dw31.js → models-dev-x2qjtq82.js} +10 -10
- package/dist/chunks/{plugin-x661k3y3.js → models-dev-x661k3y3.js} +1 -1
- package/dist/chunks/models-dev-x7z75zrq.js +26 -0
- package/dist/chunks/{plugin-t5n9kkmz.js → models-dev-xdtzmxbg.js} +6 -6
- package/dist/chunks/{plugin-z4ev155g.js → models-dev-xh27xnk0.js} +11 -11
- package/dist/chunks/{plugin-xkntkrq7.js → models-dev-xkntkrq7.js} +2 -2
- package/dist/chunks/{plugin-ay3mx084.js → models-dev-xsqksm9t.js} +11 -11
- package/dist/chunks/{plugin-svf1j9mj.js → models-dev-xx57t6qj.js} +26 -26
- package/dist/chunks/{plugin-1eznydrh.js → models-dev-xx8ravma.js} +14 -14
- package/dist/chunks/{plugin-qxjc9qry.js → models-dev-xyafkbt0.js} +3 -3
- package/dist/chunks/{plugin-pnkbpv6t.js → models-dev-y16p1w2y.js} +9 -9
- package/dist/chunks/{plugin-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-81vaem42.js → models-dev-y5p3mzqv.js} +11 -11
- package/dist/chunks/{plugin-nxm207yx.js → models-dev-y71avatq.js} +4 -4
- package/dist/chunks/{plugin-5egfvsg2.js → models-dev-ydrjdpcc.js} +22 -22
- package/dist/chunks/{plugin-jgj04qff.js → models-dev-ydx2zdq6.js} +20 -20
- package/dist/chunks/{plugin-ty9x2hpf.js → models-dev-yf0pn2h0.js} +22 -22
- package/dist/chunks/{plugin-nj1j17x6.js → models-dev-yf10kn3d.js} +8 -8
- package/dist/chunks/{plugin-s607qcgc.js → models-dev-ygrc3zp9.js} +19 -19
- package/dist/chunks/{plugin-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-e5nrtag5.js → models-dev-z2e87qev.js} +28 -28
- package/dist/chunks/{plugin-y7nnagj6.js → models-dev-z7hhbxsd.js} +32 -32
- package/dist/chunks/{plugin-e4g6rnfs.js → models-dev-zfa7ynd8.js} +15 -15
- package/dist/chunks/{plugin-dx92dk9v.js → models-dev-zff80ehc.js} +16 -16
- package/dist/chunks/{plugin-fwdyap71.js → models-dev-zghtsczn.js} +8 -8
- package/dist/chunks/{plugin-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-5dkn69vz.js → models-dev-zsr4wwhv.js} +4 -4
- package/dist/chunks/{plugin-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +72 -72
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- 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 +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- 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 +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +85 -85
- 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 +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- 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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/plugin-g93t3hq1.js +0 -26
- package/dist/chunks/plugin-h92akkf0.js +0 -253
- /package/dist/chunks/{plugin-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → models-dev-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → models-dev-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → models-dev-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hjbc5kem.js → models-dev-hjbc5kem.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → models-dev-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
3
|
+
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-kb426ejq.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service41,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer16,
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service41 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service81;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service41.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service41,
|
|
110
|
+
layer: layer16(options),
|
|
111
111
|
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node44 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options5, Service41, layer16, configured5, node44, exports_instruction_discovery };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-kb426ejq.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-b0w1x349.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info13,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service50,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available3,
|
|
29
|
+
node: () => node53,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event11 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info13 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
|
-
var
|
|
45
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
47
47
|
const directory = path.dirname(skill.path);
|
|
48
48
|
return [
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service50 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service81;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service50.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node53 = makeLocationNode({
|
|
112
|
+
service: Service50,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node85]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info13, ID4, Name2, available3, toModelOutput3, prepare3, Service50, node53, exports_skill5, Event11 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info12
|
|
6
|
+
} from "./models-dev-a8bn8zg0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info10
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info12)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info10 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info10, exports_agent3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-143qq2q9.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-ktw141zw.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-as7cf5zz.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./models-dev-zsr4wwhv.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-b0w1x349.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service33,
|
|
12
|
+
node37
|
|
13
|
+
} from "./models-dev-d9p3jxc1.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-snkpwrj1.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions2 = {};
|
|
24
24
|
__export(exports_instructions2, {
|
|
25
25
|
McpInstructions: () => exports_instructions2,
|
|
26
26
|
Service: () => Service26,
|
|
27
|
-
layer: () =>
|
|
27
|
+
layer: () => layer10,
|
|
28
28
|
node: () => node30
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -63,11 +63,11 @@ var update = (previous, current) => {
|
|
|
63
63
|
|
|
64
64
|
class Service26 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
66
|
+
var layer10 = Layer.effect(Service26, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service33;
|
|
68
68
|
return Service26.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make20({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer9 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var node30 = makeLocationNode({ service: Service26, layer:
|
|
99
|
+
var node30 = makeLocationNode({ service: Service26, layer: layer10, deps: [node37] });
|
|
100
100
|
|
|
101
|
-
export { Service26,
|
|
101
|
+
export { Service26, layer10, node30, exports_instructions2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./models-dev-kb426ejq.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-x661k3y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./models-dev-0hv6rsw5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID11
|
|
12
|
+
} from "./models-dev-qvna2bbv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID10,
|
|
15
|
+
Service71
|
|
16
|
+
} from "./models-dev-0hkfhkek.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./models-dev-p6g1xawz.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID10.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service71;
|
|
30
|
+
const bus = yield* Service81;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-h2b79v29.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-vjtea3hn.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
7
|
+
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-kb426ejq.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-8r052h48.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node68
|
|
22
|
+
} from "./models-dev-6b584fx1.js";
|
|
23
23
|
import {
|
|
24
24
|
Service25,
|
|
25
25
|
node29
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-66376qmm.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./models-dev-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service81;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
64
|
const context = yield* Service25;
|
|
65
|
-
const store = yield*
|
|
65
|
+
const store = yield* Service65;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node85, llmClient2, node29,
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node85, llmClient2, node29, node68, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|