@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./image-pf65k87v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./image-dfvycwty.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./image-9kzkn7eg.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
22
|
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
24
|
+
Plugin: () => Plugin13,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description5,
|
|
27
27
|
name: () => name12
|
|
28
28
|
});
|
|
@@ -43,15 +43,15 @@ var Input12 = Schema.Struct({
|
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin13 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service66;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service19;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
56
|
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export { name12, NO_RESULTS2, description5, Input12,
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin13, exports_websearch };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./image-dfvycwty.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin12 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service66;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin37 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input11, Plugin12, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-fjq2xkn5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./image-v5wa63ar.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service19,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node22
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service19 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service19.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node22 = makeLocationNode({
|
|
188
|
+
service: Service19,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node77]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node22, exports_websearch3, Event5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service10
|
|
3
|
+
} from "./image-5qtcqs7h.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
NativeCompactionPlugin: () =>
|
|
12
|
-
Plugin: () =>
|
|
9
|
+
var exports_compaction = {};
|
|
10
|
+
__export(exports_compaction, {
|
|
11
|
+
NativeCompactionPlugin: () => exports_compaction,
|
|
12
|
+
Plugin: () => Plugin22
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin22 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
21
|
-
const compaction = yield*
|
|
21
|
+
const compaction = yield* Service10;
|
|
22
22
|
yield* compaction.transform((editor) => {
|
|
23
23
|
editor.native((input) => {
|
|
24
24
|
const request = input.request;
|
|
@@ -36,4 +36,4 @@ var Plugin32 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin22, exports_compaction };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./image-am88kmff.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./image-prmgem5b.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-qc068m1q.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service64;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-607q5haz.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-ehvx6czw.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-fjq2xkn5.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-dj2t23y0.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-m0jqrx5p.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-v8qha12t.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-y2h1vj9s.js";
|
|
32
32
|
import {
|
|
33
33
|
Service79,
|
|
34
34
|
node83
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./image-h00wc835.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./image-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make12
|
|
42
|
+
} from "./image-mksgfzgs.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service17
|
|
45
|
+
} from "./image-2cyrvn8x.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./image-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput2,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event3,
|
|
57
|
+
Info: () => Info4,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service16,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node19
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info4 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event3 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service16 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
107
|
const locations = yield* Service79;
|
|
108
|
-
const gitStrategy = yield*
|
|
108
|
+
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service17).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event3.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service16.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,8 +261,8 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node19 = Node.makeGlobalNode({
|
|
265
|
+
service: Service16,
|
|
266
266
|
layer,
|
|
267
267
|
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node83]
|
|
268
268
|
});
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service16, node19, exports_worktree2, OperationError2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-jexxy024.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-3jfaqhpt.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service54
|
|
8
|
+
} from "./image-qmsdj5ty.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-yw7cjn17.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin31
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin31 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service54;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin31, exports_provider };
|