@opencode/core 0.0.0-dev-20003 → 0.0.0-dev-20006
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-fjcndyh6.js → image-0dq2z8tv.js} +9 -9
- package/dist/chunks/{file-jgvadg7f.js → image-0hbc4pey.js} +27 -27
- package/dist/chunks/{file-kz5gp9n9.js → image-0kem7bvd.js} +44 -44
- package/dist/chunks/{file-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → image-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-hnr5yq9h.js → image-0r7yqxbf.js} +5 -5
- package/dist/chunks/{file-twrzm18h.js → image-0wqqq2fr.js} +11 -11
- package/dist/chunks/{file-xb4nz3yw.js → image-10exa8s0.js} +15 -15
- package/dist/chunks/{file-1cq1dekj.js → image-173cpqtx.js} +44 -44
- package/dist/chunks/{file-3rqs9vk3.js → image-186v3xpn.js} +16 -16
- package/dist/chunks/{file-mvfsc1pv.js → image-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-txqar36n.js → image-1sb7p0dt.js} +13 -13
- package/dist/chunks/{file-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{file-6h73sxmp.js → image-2402vzrj.js} +5 -5
- package/dist/chunks/{file-kpnhg8q0.js → image-29eyaswh.js} +5 -5
- package/dist/chunks/{file-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-6z8pkecr.js → image-2cyrvn8x.js} +16 -16
- package/dist/chunks/{file-qnbxrd86.js → image-2r47jwp9.js} +13 -13
- package/dist/chunks/{file-wyfsrm3h.js → image-2s2nkvc8.js} +25 -25
- package/dist/chunks/{file-smt9nx56.js → image-2wjfht85.js} +20 -20
- package/dist/chunks/{file-wjv2022v.js → image-2zve5a08.js} +25 -25
- package/dist/chunks/{file-x3taryep.js → image-30vt497d.js} +20 -20
- package/dist/chunks/{file-d5m60ny4.js → image-331knf88.js} +28 -28
- package/dist/chunks/{file-mfqp6xfm.js → image-33w4ejhs.js} +9 -9
- package/dist/chunks/{file-qzenpgs1.js → image-3a46yhs1.js} +7 -7
- package/dist/chunks/{file-8zccz2ek.js → image-3de8jbpy.js} +11 -11
- package/dist/chunks/{file-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-8c801g49.js → image-3jfaqhpt.js} +27 -27
- package/dist/chunks/{file-4j0j23ey.js → image-3kpaa0td.js} +3 -3
- package/dist/chunks/{file-pj55ck15.js → image-3mg2z7dk.js} +26 -26
- package/dist/chunks/{file-ze3aemja.js → image-3pbjq009.js} +11 -11
- package/dist/chunks/{file-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-z3pw5915.js → image-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-7etxhnt7.js → image-41jpfm3y.js} +6 -6
- package/dist/chunks/{file-kq8bq8dw.js → image-47fdfwyn.js} +169 -169
- package/dist/chunks/{file-k8hpw67k.js → image-4a6jpjer.js} +5 -5
- package/dist/chunks/{file-4t3s258c.js → image-4j3qm3aa.js} +13 -13
- package/dist/chunks/{file-cptt9y6c.js → image-4kgn5hht.js} +6 -6
- package/dist/chunks/{file-az4mp36y.js → image-4sy14yqe.js} +20 -20
- package/dist/chunks/{file-yw8t9dwe.js → image-4w5f3qm5.js} +4 -4
- package/dist/chunks/{file-ahfn6acx.js → image-4yc7rcx0.js} +4 -4
- package/dist/chunks/{file-zvf7qddh.js → image-4z914n5c.js} +11 -11
- package/dist/chunks/{file-tt8rvt36.js → image-4zks2f0q.js} +5 -5
- package/dist/chunks/{file-ppxkdq9b.js → image-51vapca8.js} +14 -14
- package/dist/chunks/{file-jgtvd3t4.js → image-562q7wbc.js} +3 -3
- package/dist/chunks/{file-f5gy8qwh.js → image-56b3zt1s.js} +8 -8
- package/dist/chunks/{file-57ez7d0k.js → image-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-qqaq1tbn.js → image-5bd42syd.js} +29 -29
- package/dist/chunks/{file-a1bz86dw.js → image-5c4hm403.js} +3 -3
- package/dist/chunks/{file-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{file-5ekn9679.js → image-5ekn9679.js} +1 -1
- package/dist/chunks/{file-bqytp8dw.js → image-5h461sw9.js} +8 -8
- package/dist/chunks/{file-ep1x895y.js → image-5pnw7v32.js} +35 -35
- package/dist/chunks/{file-xyv4p6em.js → image-5pwncfkc.js} +22 -22
- package/dist/chunks/{file-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-3cndm9je.js → image-5qtcqs7h.js} +24 -24
- package/dist/chunks/{file-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mg83p4ch.js → image-5z5bvwse.js} +31 -31
- package/dist/chunks/{file-vy4zg7qh.js → image-607q5haz.js} +5 -5
- package/dist/chunks/{file-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{file-9d2rp1cq.js → image-69h1251q.js} +9 -9
- package/dist/chunks/{file-3gj0hb40.js → image-6azszf0a.js} +11 -11
- package/dist/chunks/{file-5gs6ad6e.js → image-6h8hy4mr.js} +17 -17
- package/dist/chunks/image-6kdq0pjd.js +4 -0
- package/dist/chunks/{file-6msgmcgs.js → image-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-bk8ffd6t.js → image-6p6ynqbb.js} +26 -26
- package/dist/chunks/{file-k1es8bc8.js → image-6qv2tz5h.js} +8 -8
- package/dist/chunks/{file-x4fdevfx.js → image-6vzndrx9.js} +17 -17
- package/dist/chunks/{file-25ajpb73.js → image-6w5959sb.js} +3 -3
- package/dist/chunks/{file-sezme2zf.js → image-6y6gh17j.js} +11 -11
- package/dist/chunks/{file-dsppwhma.js → image-71mkcn1r.js} +11 -11
- package/dist/chunks/{file-p50sa4k8.js → image-74csta2h.js} +26 -26
- package/dist/chunks/{file-vkxpz7g2.js → image-7ac170kv.js} +4 -4
- package/dist/chunks/{file-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-ycv0w0a9.js → image-7c1v976m.js} +24 -24
- package/dist/chunks/{file-qgn6gcr1.js → image-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-cgm0pb56.js → image-7pas1d4n.js} +12 -12
- package/dist/chunks/{file-qm374v6w.js → image-7qhv4691.js} +11 -11
- package/dist/chunks/{file-0nj76588.js → image-89kyrcsf.js} +15 -15
- package/dist/chunks/{file-yqcrm5rh.js → image-8d4xtxp9.js} +6 -6
- package/dist/chunks/{file-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-vdpncwhs.js → image-8dar51kt.js} +25 -25
- package/dist/chunks/{file-xdvkratw.js → image-8fyyqzq4.js} +12 -12
- package/dist/chunks/{file-ay0ceryn.js → image-938vt2d6.js} +18 -18
- package/dist/chunks/{file-a42rk15d.js → image-9cj48zab.js} +23 -23
- package/dist/chunks/{file-ppgzpeqf.js → image-9kzkn7eg.js} +25 -25
- package/dist/chunks/{file-r4jnj0e8.js → image-9nkdv7c2.js} +10 -10
- package/dist/chunks/{file-zf6fk84t.js → image-9nn0v0s4.js} +8 -8
- package/dist/chunks/{file-ze7vmps7.js → image-9v1mpwvv.js} +33 -33
- package/dist/chunks/{file-ak8wweg5.js → image-a3r4dcrj.js} +2 -2
- package/dist/chunks/{file-xmnpnma7.js → image-a492eg67.js} +10 -10
- package/dist/chunks/{file-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{file-c8gxxwp7.js → image-ahk0vccf.js} +38 -38
- package/dist/chunks/{file-ftcx6nj6.js → image-am88kmff.js} +24 -24
- package/dist/chunks/{file-9899r06h.js → image-askrbw57.js} +14 -14
- package/dist/chunks/{file-0g3aqr52.js → image-ayy92s6e.js} +13 -13
- package/dist/chunks/{file-g8d3gcyj.js → image-b27vhd2z.js} +7 -7
- package/dist/chunks/{file-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-d5d0dfzv.js → image-ba5nqppt.js} +28 -28
- package/dist/chunks/{file-63kmhf8y.js → image-bczcn6w4.js} +4 -4
- package/dist/chunks/{file-df9g2pwv.js → image-bg8akm6q.js} +84 -84
- package/dist/chunks/{file-x911a3rn.js → image-bm8h0423.js} +14 -14
- package/dist/chunks/{file-9qwpg2je.js → image-bsf00r8m.js} +38 -38
- package/dist/chunks/{file-mggvfrpa.js → image-c1g2sg74.js} +6 -6
- package/dist/chunks/{file-yrtahcj6.js → image-c65bk09p.js} +24 -24
- package/dist/chunks/{file-n9rh2a3m.js → image-c6tkka2d.js} +23 -23
- package/dist/chunks/{file-ypf2r24a.js → image-c6wxt469.js} +14 -14
- package/dist/chunks/{file-1yaq039p.js → image-c9ttrcnj.js} +15 -15
- package/dist/chunks/{file-eh0zrp3v.js → image-ccjm5jwm.js} +2 -2
- package/dist/chunks/{file-cwa6csj7.js → image-cpneeje0.js} +9 -9
- package/dist/chunks/{file-5xzfw7ns.js → image-ctcwtzvf.js} +4 -4
- package/dist/chunks/{file-zz2qg7p3.js → image-cvgmfefw.js} +7 -7
- package/dist/chunks/{file-5xtgfte3.js → image-czfptnv9.js} +8 -8
- package/dist/chunks/{file-d26jp9g7.js → image-d0db64mf.js} +14 -14
- package/dist/chunks/{file-rcgs7rjg.js → image-d2w700dw.js} +20 -20
- package/dist/chunks/{file-gtfshpks.js → image-d6nyrcj2.js} +83 -83
- package/dist/chunks/{file-sn8k5w5s.js → image-d897rehy.js} +9 -9
- package/dist/chunks/{file-4s7j885y.js → image-d94r6qj5.js} +24 -24
- package/dist/chunks/{file-sg6affy2.js → image-daz99daz.js} +4 -4
- package/dist/chunks/{file-wx970249.js → image-dfvycwty.js} +52 -52
- package/dist/chunks/{file-8p4f9s12.js → image-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-y71avatq.js → image-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-drwq78ky.js → image-drwq78ky.js} +1 -1
- package/dist/chunks/{file-jy05rcjm.js → image-ed90htb6.js} +13 -13
- package/dist/chunks/{file-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-1f5fh47k.js → image-ef9gv310.js} +11 -11
- package/dist/chunks/{file-85s8v53t.js → image-ehvx6czw.js} +3 -3
- package/dist/chunks/{file-bp3526j7.js → image-en6ej7pb.js} +29 -29
- package/dist/chunks/{file-erw5rpbs.js → image-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-fqj9nv8j.js → image-etzz3kcr.js} +8 -8
- package/dist/chunks/{file-p51p3jcg.js → image-f3ngv102.js} +21 -21
- package/dist/chunks/{file-at64addj.js → image-f8qe00s5.js} +27 -27
- package/dist/chunks/{file-aj65n88x.js → image-fjq2xkn5.js} +4 -4
- package/dist/chunks/{file-fp6js440.js → image-g0kyh3qv.js} +10 -10
- package/dist/chunks/{file-pqjwr6wn.js → image-g169rf3a.js} +27 -27
- package/dist/chunks/{file-gbfgt6sn.js → image-g1ehtde2.js} +47 -47
- package/dist/chunks/{file-f2y9n0vy.js → image-g506jvv0.js} +6 -6
- package/dist/chunks/{file-rnsnxg5k.js → image-g52y0c92.js} +10 -10
- package/dist/chunks/{file-wgz7hchk.js → image-gaq06wk0.js} +6 -6
- package/dist/chunks/{file-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-hqs29f2b.js → image-ghyv0by5.js} +16 -16
- package/dist/chunks/{file-q15mr003.js → image-ghz97e63.js} +13 -13
- package/dist/chunks/{file-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-ck8hsc54.js → image-h00wc835.js} +2 -2
- package/dist/chunks/{file-ebe9bak5.js → image-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-fhs97t90.js → image-h7ygw6q4.js} +9 -9
- package/dist/chunks/{file-mh1qkymb.js → image-hc4fnx3k.js} +4 -4
- package/dist/chunks/{file-f828m53h.js → image-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-zqjzf2ta.js → image-hjkzpa7r.js} +319 -319
- package/dist/chunks/{file-yt0fqk68.js → image-hkfg6fzm.js} +5 -5
- package/dist/chunks/{file-7z6w84v8.js → image-hwk6cm66.js} +35 -35
- package/dist/chunks/{file-7wrm002y.js → image-hzam0k1f.js} +10 -10
- package/dist/chunks/{file-dne7xynx.js → image-j14qg5xv.js} +18 -18
- package/dist/chunks/{file-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{file-kncnnm9v.js → image-j9jbccy5.js} +11 -11
- package/dist/chunks/{file-fqka1xvk.js → image-jexxy024.js} +3 -3
- package/dist/chunks/{file-gam671ft.js → image-k0pwyxrd.js} +1 -1
- package/dist/chunks/{file-hmr5kz4g.js → image-kaj3fc1v.js} +9 -9
- package/dist/chunks/{file-sd5vfqt4.js → image-kgknqqx1.js} +28 -28
- package/dist/chunks/{file-n2q888ww.js → image-kkgqwbhz.js} +8 -8
- package/dist/chunks/{file-961898vc.js → image-kmzbkppp.js} +9 -9
- package/dist/chunks/{file-fkjmw100.js → image-knb7evpn.js} +6 -6
- package/dist/chunks/{file-89e39zcy.js → image-kxpygcw9.js} +6 -6
- package/dist/chunks/{file-hb5p3hph.js → image-ky1wqy4d.js} +6 -6
- package/dist/chunks/{file-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-80scg3y3.js → image-m0r31qfn.js} +4 -4
- package/dist/chunks/{file-nqcmdb0w.js → image-m3c3c009.js} +27 -27
- package/dist/chunks/{file-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/image-mj9f1fhh.js +252 -0
- package/dist/chunks/{file-rsc9fyh1.js → image-mksgfzgs.js} +6 -6
- package/dist/chunks/{file-46mjq1pt.js → image-mqjt19q2.js} +16 -16
- package/dist/chunks/{file-9m26091w.js → image-mrfxdnhj.js} +28 -28
- package/dist/chunks/{file-d9dt1v1f.js → image-msrm0et3.js} +4 -4
- package/dist/chunks/{file-sqafhkxq.js → image-mtfpdj4s.js} +20 -20
- package/dist/chunks/{file-9rsv4pta.js → image-mw6hmxw7.js} +12 -12
- package/dist/chunks/{file-5bxvyw76.js → image-mwjwfxbw.js} +16 -16
- package/dist/chunks/{file-8bnmerw3.js → image-mxg9zmwk.js} +26 -26
- package/dist/chunks/{file-epe0b0fd.js → image-n3p8zf4b.js} +20 -20
- package/dist/chunks/{file-9d637bmc.js → image-n76j5b51.js} +5 -5
- package/dist/chunks/{file-f8eamx95.js → image-nw24pgk5.js} +41 -41
- package/dist/chunks/{file-54b10ezm.js → image-nwj13746.js} +15 -15
- package/dist/chunks/{file-m7zf272p.js → image-nxsy2y7z.js} +5 -5
- package/dist/chunks/{file-k3c624dm.js → image-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-p28j5sbe.js → image-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-x5e9capc.js → image-pccj551n.js} +5 -5
- package/dist/chunks/{file-qq4qjjy7.js → image-pf65k87v.js} +24 -24
- package/dist/chunks/{file-s08w5vyw.js → image-pfm0qd87.js} +37 -37
- package/dist/chunks/{file-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-4h7fv3fp.js → image-pjx495pd.js} +20 -20
- package/dist/chunks/{file-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{file-sxzvkvgj.js → image-prmgem5b.js} +6 -6
- package/dist/chunks/{file-jd2ww0mk.js → image-q5jh1fb4.js} +1 -1
- package/dist/chunks/image-qc068m1q.js +18 -0
- package/dist/chunks/{file-b6apyc6e.js → image-qmsdj5ty.js} +43 -43
- package/dist/chunks/{file-pjedbq3k.js → image-qq8x5mwt.js} +5 -5
- package/dist/chunks/{file-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{file-yp2x3t23.js → image-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-rqhsstds.js → image-r9np7b10.js} +17 -17
- package/dist/chunks/{file-wk5z6jzv.js → image-r9w3djhf.js} +9 -9
- package/dist/chunks/{file-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-d79a47f7.js → image-rmp6454a.js} +5 -5
- package/dist/chunks/{file-pkvxx0dx.js → image-rpk92v1f.js} +22 -22
- package/dist/chunks/{file-2vs2nh1n.js → image-rwm5vee1.js} +4 -4
- package/dist/chunks/{file-azx1z7rw.js → image-rx7459vr.js} +27 -27
- package/dist/chunks/image-rzyd1vqx.js +26 -0
- package/dist/chunks/{file-0gdmqesm.js → image-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-vpwvqgnv.js → image-sczk8sc9.js} +7 -7
- package/dist/chunks/{file-xe9t6z83.js → image-smqvnbx5.js} +11 -11
- package/dist/chunks/{file-mq6pntxv.js → image-spcdvtsy.js} +11 -11
- package/dist/chunks/{file-pf9pgydg.js → image-ssdqnhy0.js} +4 -4
- package/dist/chunks/{file-a0pvmwfx.js → image-t0wvvjy4.js} +11 -11
- package/dist/chunks/{file-kqjrebtm.js → image-t2xq3ndf.js} +18 -18
- package/dist/chunks/{file-j6m77yeb.js → image-t336cqnw.js} +28 -28
- package/dist/chunks/{file-4j7mpkgx.js → image-t3jy044j.js} +21 -21
- package/dist/chunks/{file-bf0ztrs3.js → image-t9zs3egg.js} +4 -4
- package/dist/chunks/{file-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-crtqttvk.js → image-tbe0yh0n.js} +22 -22
- package/dist/chunks/{file-89znhe33.js → image-tcezcvh9.js} +4 -4
- package/dist/chunks/{file-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{file-1xagxxtw.js → image-tghr4gv7.js} +33 -33
- package/dist/chunks/{file-tvtrv512.js → image-tvtrv512.js} +1 -1
- package/dist/chunks/{file-6kx7krqt.js → image-v2d4nfg6.js} +70 -70
- package/dist/chunks/{file-37mwd34b.js → image-v3sgzvyr.js} +1 -1
- package/dist/chunks/{file-r6bcthm8.js → image-v5wa63ar.js} +10 -10
- package/dist/chunks/{file-bgs9y14h.js → image-v6ghzfeb.js} +5 -5
- package/dist/chunks/{file-84as8cq2.js → image-v8qha12t.js} +8 -8
- package/dist/chunks/{file-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{file-0vrwetc9.js → image-vfd4qxz2.js} +15 -15
- package/dist/chunks/{file-48pac6vd.js → image-vhmj078x.js} +13 -13
- package/dist/chunks/{file-bpr04gve.js → image-vjqycgcg.js} +11 -11
- package/dist/chunks/{file-0mpqr77g.js → image-vnm9krcg.js} +16 -16
- package/dist/chunks/{file-vstag346.js → image-vpcr0tzx.js} +22 -22
- package/dist/chunks/{file-3pbgv27k.js → image-vvw75pzs.js} +24 -24
- package/dist/chunks/{file-bxf8jet0.js → image-vvx4scmw.js} +21 -21
- package/dist/chunks/{file-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-syfkgjgr.js → image-w0xzj0tq.js} +29 -29
- package/dist/chunks/{file-gaqvx1xw.js → image-w3encw62.js} +3 -3
- package/dist/chunks/{file-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-nrkwc0dg.js → image-w7pqkv4e.js} +15 -15
- package/dist/chunks/{file-5nsey3wr.js → image-w9tg0pj8.js} +7 -7
- package/dist/chunks/{file-z2jtgbj0.js → image-wachdqys.js} +4 -4
- package/dist/chunks/{file-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{file-vvf56fbk.js → image-wedyt5kt.js} +44 -44
- package/dist/chunks/{file-g6dwdzmh.js → image-wrpf7kpx.js} +5 -5
- package/dist/chunks/{file-w587stx7.js → image-wwbsa95s.js} +9 -9
- package/dist/chunks/{file-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-9h3wk7z7.js → image-x2aneysw.js} +10 -10
- package/dist/chunks/{file-99xay3p1.js → image-x5c3aeq5.js} +8 -8
- package/dist/chunks/{file-pyfqw2rm.js → image-x5xthkqs.js} +5 -5
- package/dist/chunks/{file-wpm2rk0p.js → image-x8cycxf4.js} +6 -6
- package/dist/chunks/{file-f8drsx4b.js → image-xc182qv4.js} +23 -23
- package/dist/chunks/{file-h04zhhvt.js → image-xdrba4jw.js} +9 -9
- package/dist/chunks/{file-6c4shfhc.js → image-xpknqd88.js} +44 -44
- package/dist/chunks/{file-51egpm6x.js → image-xycsd9rr.js} +33 -33
- package/dist/chunks/{file-j6cy3yns.js → image-xzpgrndz.js} +11 -11
- package/dist/chunks/{file-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-93x6jy41.js → image-y2h1vj9s.js} +2 -2
- package/dist/chunks/{file-a2vvwmx1.js → image-y48wrjg8.js} +24 -24
- package/dist/chunks/{file-eczzbh8s.js → image-y6cmh0fw.js} +15 -15
- package/dist/chunks/{file-bgpx11m8.js → image-yawka9q3.js} +15 -15
- package/dist/chunks/{file-n7rhs6pj.js → image-ybhbtxjg.js} +9 -9
- package/dist/chunks/{file-n31tt50y.js → image-ydz4e7k1.js} +22 -22
- package/dist/chunks/{file-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-s4enseaf.js → image-yrznvahk.js} +2 -2
- package/dist/chunks/{file-0pf2e52h.js → image-yw7cjn17.js} +3 -3
- package/dist/chunks/{file-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-nknv447d.js → image-z1a1r82q.js} +46 -46
- package/dist/chunks/{file-29x78va6.js → image-z63w68vq.js} +6 -6
- package/dist/chunks/{file-0wcwk7gc.js → image-z6qfc3y3.js} +24 -24
- package/dist/chunks/{file-yrf5hh55.js → image-z7vss07q.js} +13 -13
- package/dist/chunks/{file-np51y1wd.js → image-z8n9wp4m.js} +6 -6
- package/dist/chunks/{file-3pt707jp.js → image-zby6yqdy.js} +7 -7
- package/dist/chunks/{file-zeh9ct20.js → image-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-1080qp6z.js → image-zj09a0ew.js} +4 -4
- package/dist/chunks/{file-zdtzvc09.js → image-zqdbm9z2.js} +5 -5
- package/dist/chunks/{file-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-b0smj49a.js → image-zt9p3yjk.js} +6 -6
- package/dist/chunks/{file-94xx1xn7.js → image-zww8syw5.js} +25 -25
- package/dist/chunks/{file-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +128 -128
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- 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 +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- 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 +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +16 -16
- 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/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 +3 -3
- 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 +91 -91
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/file-0mesazry.js +0 -4
- package/dist/chunks/file-q509s3k3.js +0 -18
- package/dist/chunks/file-v3m8zswr.js +0 -26
- package/dist/chunks/file-xvs8zake.js +0 -252
- /package/dist/chunks/{file-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → image-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-y2h1vj9s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./image-vvx4scmw.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./image-t2xq3ndf.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 "./image-w0xzj0tq.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service66
|
|
26
|
+
} from "./image-dfvycwty.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service25
|
|
29
|
+
} from "./image-nwj13746.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./image-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin6,
|
|
41
|
+
name: () => name6,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name6 = "grep";
|
|
48
|
+
var Input6 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output5 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin6 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service58;
|
|
90
|
+
const ripgrep = yield* Service46;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service25;
|
|
93
|
+
const permission = yield* Service66;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name6,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input6,
|
|
99
|
+
output: Output5,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name6,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin43 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin43 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin43 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name6, Input6, Output5, toModelContent5, Plugin6, exports_grep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-5bd42syd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./image-qmsdj5ty.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-41jpfm3y.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service54;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make4();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-fjq2xkn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./image-74csta2h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./image-c6tkka2d.js";
|
|
10
10
|
import {
|
|
11
11
|
Service53
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-cvgmfefw.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-ybhbtxjg.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-msrm0et3.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./image-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-ky1wqy4d.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,10 +51,10 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
57
|
+
const snapshots = yield* Service40;
|
|
58
58
|
const toolOutput = yield* Service53;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
209
209
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
export { Outcome2,
|
|
212
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service40
|
|
7
|
+
} from "./image-74csta2h.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-jexxy024.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-ybhbtxjg.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service40;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info25 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info25, SessionSchema2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./image-qmsdj5ty.js";
|
|
5
5
|
import {
|
|
6
6
|
Service53
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-cvgmfefw.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin37
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin37 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
26
|
+
const config = yield* Service54;
|
|
27
27
|
const output = yield* Service53;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin5 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin37, exports_tool_output };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-fjq2xkn5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-y2h1vj9s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID4
|
|
11
|
+
} from "./image-6kdq0pjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service57,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node61
|
|
16
|
+
} from "./image-ydz4e7k1.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./image-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput3,
|
|
28
|
+
Event: () => Event6,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info5,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service21,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node24
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info5 = Pty.Info;
|
|
45
|
+
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
48
|
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
-
ptyID:
|
|
49
|
+
ptyID: ID4
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID4
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service21 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service57;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID4.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service21.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node24 = makeLocationNode({
|
|
274
|
+
service: Service21,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87, node84,
|
|
276
|
+
deps: [node87, node84, node61]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info5, CreateInput3, UpdateInput2, NotFoundError2, ExitedError2, Service21, node24, exports_pty, Event6 };
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-y2h1vj9s.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-mwjwfxbw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin14,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin14 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service80;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin14, exports_git };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-xzpgrndz.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin20 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin26 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin26 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin20, exports_parallel };
|