@opencode/core 0.0.0-dev-19787 → 0.0.0-dev-19788
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{pty-6tc74vrw.js → variant-036xttfm.js} +20 -20
- package/dist/chunks/{pty-zwp73gaw.js → variant-09j7xzbf.js} +19 -19
- package/dist/chunks/{pty-899tt7an.js → variant-0aq7t7jz.js} +24 -24
- package/dist/chunks/{pty-v68hp2va.js → variant-0jt58gq5.js} +47 -47
- package/dist/chunks/{pty-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-h3c20vca.js → variant-0rv2ccgj.js} +4 -4
- package/dist/chunks/{pty-4jeaa92r.js → variant-18p3d61n.js} +3 -3
- package/dist/chunks/{pty-1bbkgx8g.js → variant-1bbkgx8g.js} +1 -1
- package/dist/chunks/{pty-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-n7b52vzq.js → variant-1ht4yrx5.js} +20 -20
- package/dist/chunks/{pty-gydxxgyg.js → variant-1pw8ktv6.js} +17 -17
- package/dist/chunks/{pty-9n4prt69.js → variant-1q8ta1a7.js} +13 -13
- package/dist/chunks/{pty-s6qp1k48.js → variant-1qdn5mg4.js} +2 -2
- package/dist/chunks/{pty-5tvckp52.js → variant-1sadmq9v.js} +23 -23
- package/dist/chunks/{pty-8zqxjytc.js → variant-1zqx6507.js} +10 -10
- package/dist/chunks/{pty-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{pty-2402vzrj.js → variant-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-4rr74z9v.js → variant-2543yr9f.js} +6 -6
- package/dist/chunks/{pty-29x78va6.js → variant-29x78va6.js} +2 -2
- package/dist/chunks/{pty-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-qz49fwgp.js → variant-2d57kztd.js} +6 -6
- package/dist/chunks/{pty-00f2f7q8.js → variant-2pk3hmqv.js} +21 -21
- package/dist/chunks/{pty-rgt3cf1f.js → variant-2qtg0jfn.js} +8 -8
- package/dist/chunks/{pty-q36t7h4b.js → variant-2s1nhtmv.js} +1 -1
- package/dist/chunks/{pty-zvkwbpx3.js → variant-39cj4q9q.js} +11 -11
- package/dist/chunks/{pty-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-2evd0k84.js → variant-3h9fe1cb.js} +27 -27
- package/dist/chunks/{pty-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-eaznszq2.js → variant-3m2gyyj8.js} +26 -26
- package/dist/chunks/{pty-4p0kgrzt.js → variant-3mypx32h.js} +1 -1
- package/dist/chunks/{pty-gzfs38sx.js → variant-3p19car9.js} +20 -20
- package/dist/chunks/{pty-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-z3pw5915.js → variant-3w2b2yj4.js} +5 -5
- package/dist/chunks/{pty-zy742dcv.js → variant-4449w6ph.js} +32 -32
- package/dist/chunks/{pty-2g7r5mvw.js → variant-4febdg58.js} +9 -9
- package/dist/chunks/{pty-tk66bvfd.js → variant-4gswqhed.js} +18 -18
- package/dist/chunks/{pty-3zh6rxhw.js → variant-4hptpj1d.js} +16 -16
- package/dist/chunks/{pty-9mmr4cym.js → variant-4q678n20.js} +15 -15
- package/dist/chunks/{pty-b6yzcphf.js → variant-4qc459h3.js} +8 -8
- package/dist/chunks/{pty-s1mn6qcj.js → variant-4y2cq0f0.js} +8 -8
- package/dist/chunks/{pty-g2yz86wh.js → variant-51jra4mh.js} +2 -2
- package/dist/chunks/{pty-834a0b17.js → variant-53g2xa05.js} +6 -6
- package/dist/chunks/{pty-1ygqh575.js → variant-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-c2qj7f61.js → variant-571cwvkm.js} +22 -22
- package/dist/chunks/{pty-6wkd5avw.js → variant-59gj78ga.js} +30 -30
- package/dist/chunks/{pty-5c4hm403.js → variant-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-wzdyyep8.js → variant-5qb1g724.js} +8 -8
- package/dist/chunks/{pty-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-mwfspft0.js → variant-5wqj2ap4.js} +9 -9
- package/dist/chunks/{pty-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{pty-6ejv29z8.js → variant-6cq4w4ej.js} +25 -25
- package/dist/chunks/{pty-kmrnkd77.js → variant-6cyxy0gy.js} +3 -3
- package/dist/chunks/{pty-czhz2k7d.js → variant-6dh9c3ss.js} +9 -9
- package/dist/chunks/{pty-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-1csms2ve.js → variant-6n2ypsgr.js} +33 -33
- package/dist/chunks/{pty-ywdxak5q.js → variant-6qc0assy.js} +35 -35
- package/dist/chunks/{pty-mg0hvqns.js → variant-6zd4z6kv.js} +15 -15
- package/dist/chunks/{pty-hfs4qywr.js → variant-74evebey.js} +32 -32
- package/dist/chunks/{pty-mxr6rdrb.js → variant-7awa95k0.js} +16 -16
- package/dist/chunks/{pty-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-7dqw4kz8.js → variant-7dqw4kz8.js} +1 -1
- package/dist/chunks/{pty-kbmk2nk1.js → variant-7j7wzv8x.js} +2 -2
- package/dist/chunks/{pty-xkhfjrgz.js → variant-7jdsj2a9.js} +2 -2
- package/dist/chunks/{pty-wcs8mysc.js → variant-7kewf0cc.js} +24 -24
- package/dist/chunks/{pty-vqf3rr9z.js → variant-7max8g9c.js} +15 -15
- package/dist/chunks/{pty-8npqseq9.js → variant-7ms2r6fn.js} +11 -11
- package/dist/chunks/{pty-7nrhymjj.js → variant-7p20jsne.js} +21 -21
- package/dist/chunks/{pty-qtwarjwz.js → variant-7z9tkqw1.js} +9 -9
- package/dist/chunks/{pty-fm2qvscf.js → variant-806j49yq.js} +4 -4
- package/dist/chunks/{pty-jnzdfagj.js → variant-81ke0znj.js} +5 -5
- package/dist/chunks/{pty-0nw536sy.js → variant-82rgwbpg.js} +4 -4
- package/dist/chunks/{pty-q9k3nk2m.js → variant-83r8e852.js} +14 -14
- package/dist/chunks/{pty-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-byqk2fv6.js → variant-8dk804ze.js} +32 -32
- package/dist/chunks/{pty-b785ew1k.js → variant-8ty0ryk7.js} +90 -90
- package/dist/chunks/{pty-bwbrqz0a.js → variant-8v0w7kj2.js} +5 -5
- package/dist/chunks/{pty-yqngptm3.js → variant-91w7abj7.js} +16 -16
- package/dist/chunks/{pty-1cr9kxrr.js → variant-9588vfer.js} +23 -23
- package/dist/chunks/{pty-e41je68c.js → variant-95jpk3t3.js} +3 -3
- package/dist/chunks/{pty-8v55y81p.js → variant-95pfmgyz.js} +33 -33
- package/dist/chunks/{pty-a5frg3c7.js → variant-9avbkjx3.js} +6 -6
- package/dist/chunks/{pty-h8w3rnrc.js → variant-9jtv0k0v.js} +10 -10
- package/dist/chunks/{pty-z27wwaqb.js → variant-9rz2j36k.js} +9 -9
- package/dist/chunks/{pty-ch7ar4cr.js → variant-9t1yzjs7.js} +24 -24
- package/dist/chunks/{pty-4h75thkr.js → variant-9zsprffg.js} +26 -26
- package/dist/chunks/{pty-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-ze9yakes.js → variant-ab7aqfjn.js} +14 -14
- package/dist/chunks/{pty-ynxbryrd.js → variant-ag0ge9vb.js} +20 -20
- package/dist/chunks/{pty-8ev4rrc0.js → variant-arn0a1z7.js} +2 -2
- package/dist/chunks/{pty-08fd96st.js → variant-aw2ne7rk.js} +4 -4
- package/dist/chunks/{pty-jdbtptns.js → variant-axx87c8z.js} +18 -18
- package/dist/chunks/{pty-1c5ncfj1.js → variant-aydaz3rw.js} +24 -24
- package/dist/chunks/{pty-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-277eer69.js → variant-bacyadyn.js} +4 -4
- package/dist/chunks/{pty-9yyvrqyy.js → variant-bb31b7br.js} +24 -24
- package/dist/chunks/{pty-qq11w61w.js → variant-bf0ztrs3.js} +4 -4
- package/dist/chunks/{pty-sd8zp0nj.js → variant-bhmd7z0s.js} +4 -4
- package/dist/chunks/{pty-j2e43x50.js → variant-bm2g2e4c.js} +32 -32
- package/dist/chunks/{pty-z50h5snd.js → variant-bpfnneg5.js} +23 -23
- package/dist/chunks/{pty-8msxkbjy.js → variant-brp4bzxj.js} +29 -29
- package/dist/chunks/{pty-t96c7fmv.js → variant-bst6223z.js} +25 -25
- package/dist/chunks/{pty-bky20j8j.js → variant-byy6e5ra.js} +9 -9
- package/dist/chunks/{pty-kk61yved.js → variant-c4cxbw3g.js} +13 -13
- package/dist/chunks/{pty-gjmk74th.js → variant-c8bydgjz.js} +6 -6
- package/dist/chunks/{pty-aqvz20a2.js → variant-c966ad08.js} +10 -10
- package/dist/chunks/{pty-7xnx6cga.js → variant-cb5th899.js} +28 -28
- package/dist/chunks/variant-cd6cwsk9.js +26 -0
- package/dist/chunks/{pty-z62c9ayt.js → variant-cdhfde9j.js} +12 -12
- package/dist/chunks/variant-cehqskmp.js +252 -0
- package/dist/chunks/{pty-xdw3myhw.js → variant-cf3500x7.js} +14 -14
- package/dist/chunks/{pty-n5zcbnsa.js → variant-cfqcr5nn.js} +37 -37
- package/dist/chunks/{pty-6p3xbzsx.js → variant-csf2jhsg.js} +4 -4
- package/dist/chunks/{pty-e0r8ercz.js → variant-d6g5yyx2.js} +7 -7
- package/dist/chunks/{pty-0ymsz8rv.js → variant-dgr6519x.js} +5 -5
- package/dist/chunks/{pty-zav06jzw.js → variant-dhmh7aw6.js} +4 -4
- package/dist/chunks/{pty-dj2t23y0.js → variant-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-stdr0dsx.js → variant-dmtmpte2.js} +18 -18
- package/dist/chunks/{pty-gq6z7eg4.js → variant-dq8te7y3.js} +26 -26
- package/dist/chunks/{pty-drwq78ky.js → variant-drwq78ky.js} +1 -1
- package/dist/chunks/{pty-hr990vwq.js → variant-ds3dp4hd.js} +34 -34
- package/dist/chunks/{pty-xseb90fg.js → variant-dtheb6mc.js} +3 -3
- package/dist/chunks/{pty-hsv1w0ka.js → variant-e0cjyxzq.js} +15 -15
- package/dist/chunks/{pty-3b9qt4hj.js → variant-e0r7vjdq.js} +9 -9
- package/dist/chunks/{pty-s8d7rejh.js → variant-eaj1djv9.js} +6 -6
- package/dist/chunks/{pty-tvkyymax.js → variant-ebcvbnkn.js} +6 -6
- package/dist/chunks/{pty-nbqevg8t.js → variant-eevzksqv.js} +13 -13
- package/dist/chunks/{pty-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-wr7ps67x.js → variant-engkm2d6.js} +5 -5
- package/dist/chunks/{pty-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-p5hkqs15.js → variant-et0dwx51.js} +1 -1
- package/dist/chunks/{pty-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-bm3m92rh.js → variant-faxz800z.js} +12 -12
- package/dist/chunks/{pty-6avas0hs.js → variant-fbqt5tv2.js} +3 -3
- package/dist/chunks/{pty-t4h1a8sm.js → variant-fkmvdsrs.js} +6 -6
- package/dist/chunks/{pty-p1nm93x7.js → variant-fvsyg6qk.js} +5 -5
- package/dist/chunks/{pty-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-0en0hh3r.js → variant-fxmgg4aj.js} +4 -4
- package/dist/chunks/{pty-qph7hyw7.js → variant-fz75205d.js} +4 -4
- package/dist/chunks/{pty-k1gkpfdk.js → variant-g1sxm558.js} +8 -8
- package/dist/chunks/{pty-dhwr7h25.js → variant-g1zq6c5t.js} +8 -8
- package/dist/chunks/{pty-rrnpfv6a.js → variant-g5fe2pst.js} +20 -20
- package/dist/chunks/{pty-d58ea4wx.js → variant-g9hjynqd.js} +6 -6
- package/dist/chunks/{pty-x5pjsa02.js → variant-g9wnjee6.js} +12 -12
- package/dist/chunks/{pty-teerv99t.js → variant-gby5wcn0.js} +59 -59
- package/dist/chunks/{pty-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-v58jy1xd.js → variant-gj1hd0v4.js} +9 -9
- package/dist/chunks/{pty-7ac170kv.js → variant-gnx4ytbv.js} +4 -4
- package/dist/chunks/{pty-hyag3rfz.js → variant-gszg7n4f.js} +11 -11
- package/dist/chunks/{pty-p91ndb2v.js → variant-gt3cwgnf.js} +31 -31
- package/dist/chunks/{pty-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-e9wrjfx0.js → variant-h196ywmy.js} +55 -55
- package/dist/chunks/{pty-h6r3nrb9.js → variant-h6r3nrb9.js} +1 -1
- package/dist/chunks/{pty-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-74e549sx.js → variant-h7sr0csd.js} +15 -15
- package/dist/chunks/{pty-qqrhpyxk.js → variant-hcvxky9s.js} +13 -13
- package/dist/chunks/{pty-hdnk95c8.js → variant-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-p8x8xcsb.js → variant-hgz2sqdv.js} +10 -10
- package/dist/chunks/{pty-npbak50e.js → variant-hjmm9f8v.js} +9 -9
- package/dist/chunks/{pty-nbctyxha.js → variant-hpjs4p32.js} +300 -300
- package/dist/chunks/{pty-bkjtrpfb.js → variant-hqqbf430.js} +16 -16
- package/dist/chunks/{pty-d7tjjqf6.js → variant-hrkge0dr.js} +3 -3
- package/dist/chunks/{pty-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-gzbkpp9m.js → variant-jbjr1a4g.js} +6 -6
- package/dist/chunks/{pty-waqpjwb8.js → variant-jd8ez2rx.js} +3 -3
- package/dist/chunks/{pty-7qq3ahcc.js → variant-k0nnq3t9.js} +4 -4
- package/dist/chunks/{pty-2kv1txj9.js → variant-k41ybe0m.js} +7 -7
- package/dist/chunks/{pty-kss3k1ej.js → variant-k48z0nfs.js} +14 -14
- package/dist/chunks/{pty-2em355j9.js → variant-k6vef6f0.js} +42 -42
- package/dist/chunks/{pty-rsd57mk1.js → variant-ka9h1195.js} +17 -17
- package/dist/chunks/{pty-vsp1fds9.js → variant-kk00bynn.js} +4 -4
- package/dist/chunks/{pty-m5mra8ny.js → variant-km0erg4h.js} +13 -13
- package/dist/chunks/{pty-fkjmw100.js → variant-knb7evpn.js} +6 -6
- package/dist/chunks/{pty-vyhtd5az.js → variant-krnt6yfv.js} +36 -36
- package/dist/chunks/{pty-rjkasajw.js → variant-kvsvqh13.js} +15 -15
- package/dist/chunks/{pty-sbycj2hd.js → variant-kwzwcjdj.js} +15 -15
- package/dist/chunks/{pty-qf8xbt1v.js → variant-kyktj0vd.js} +6 -6
- package/dist/chunks/{pty-m0jqrx5p.js → variant-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-ssr8tzqd.js → variant-m0sej1qn.js} +7 -7
- package/dist/chunks/{pty-s1wc6ad4.js → variant-m3csf4ap.js} +13 -13
- package/dist/chunks/{pty-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-s4ajyzwp.js → variant-m733p5th.js} +13 -13
- package/dist/chunks/{pty-9sqkv26s.js → variant-m7pj8f36.js} +40 -40
- package/dist/chunks/{pty-xgqsyfnn.js → variant-m8deaeh7.js} +16 -16
- package/dist/chunks/{pty-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-mv5tqpbn.js → variant-mmb8fzkf.js} +14 -14
- package/dist/chunks/{pty-vk0pdsgf.js → variant-mrqnf78j.js} +28 -28
- package/dist/chunks/{pty-809q4hne.js → variant-mtft99cd.js} +5 -5
- package/dist/chunks/{pty-rccz2tys.js → variant-n4fbvqmd.js} +6 -6
- package/dist/chunks/variant-n95b3jav.js +18 -0
- package/dist/chunks/{pty-t62nene4.js → variant-ncbj3p6k.js} +51 -51
- package/dist/chunks/{pty-137n2cjd.js → variant-nkg4sc71.js} +5 -5
- package/dist/chunks/{pty-htekf6zf.js → variant-nn2fzds8.js} +9 -9
- package/dist/chunks/{pty-x31dz1np.js → variant-nvpyq15w.js} +41 -41
- package/dist/chunks/{pty-x0511brf.js → variant-nw2nz702.js} +4 -4
- package/dist/chunks/{pty-7t8e8ps1.js → variant-nwtcycp4.js} +11 -11
- package/dist/chunks/{pty-r3grxea3.js → variant-nxamx01y.js} +41 -41
- package/dist/chunks/{pty-brqzv7bg.js → variant-nxhxdrrf.js} +30 -30
- package/dist/chunks/{pty-k3c624dm.js → variant-nzks3jc8.js} +3 -3
- package/dist/chunks/{pty-57q53s15.js → variant-p11h9hwq.js} +9 -9
- package/dist/chunks/{pty-5yzzbxa7.js → variant-p37cw4rj.js} +8 -8
- package/dist/chunks/{pty-8ha6ga5e.js → variant-p84dsdfh.js} +8 -8
- package/dist/chunks/{pty-nam2k8jt.js → variant-pcva14f7.js} +8 -8
- package/dist/chunks/{pty-57ez7d0k.js → variant-pef6k0gg.js} +9 -9
- package/dist/chunks/{pty-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{pty-p3j3z1wm.js → variant-q5a1e36b.js} +25 -25
- package/dist/chunks/{pty-pwyph8fp.js → variant-q68k07bj.js} +11 -11
- package/dist/chunks/{pty-bd89c7qa.js → variant-qacyc7aa.js} +9 -9
- package/dist/chunks/variant-qapv375x.js +4 -0
- package/dist/chunks/{pty-1j7jhvrm.js → variant-qhayk2b7.js} +17 -17
- package/dist/chunks/{pty-zg25sgvs.js → variant-qk0e3gk9.js} +9 -9
- package/dist/chunks/{pty-c9g527t4.js → variant-qpkc6dca.js} +32 -32
- package/dist/chunks/{pty-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-az62kead.js → variant-qxs0gjsw.js} +11 -11
- package/dist/chunks/{pty-kz37x8hb.js → variant-qyabr2c4.js} +88 -88
- package/dist/chunks/{pty-r2m716tb.js → variant-r2m716tb.js} +2 -2
- package/dist/chunks/{pty-2b210p4k.js → variant-r32sn7ke.js} +18 -18
- package/dist/chunks/{pty-cy7q8w9z.js → variant-r6vq26jz.js} +6 -6
- package/dist/chunks/{pty-1e7y3jby.js → variant-rbeyeh8v.js} +3 -3
- package/dist/chunks/{pty-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-rhafb4aa.js → variant-rhafb4aa.js} +2 -2
- package/dist/chunks/{pty-mx4hjh21.js → variant-rm1vz964.js} +30 -30
- package/dist/chunks/{pty-44jfm9c6.js → variant-rxmq8rgz.js} +5 -5
- package/dist/chunks/{pty-6vgkbqsf.js → variant-ryeeha7r.js} +8 -8
- package/dist/chunks/{pty-02j327mk.js → variant-s0f29662.js} +27 -27
- package/dist/chunks/{pty-s4enseaf.js → variant-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-0jq9fyba.js → variant-s5d9hk7s.js} +9 -9
- package/dist/chunks/{pty-4bgjx4y9.js → variant-s9e8sf64.js} +42 -42
- package/dist/chunks/{pty-sk1rxzc5.js → variant-sqdmb1qc.js} +18 -18
- package/dist/chunks/{pty-g9q532r4.js → variant-srhbgzsh.js} +1 -1
- package/dist/chunks/{pty-dcsznwm0.js → variant-starn555.js} +15 -15
- package/dist/chunks/{pty-sy45410j.js → variant-sz3gsrbf.js} +21 -21
- package/dist/chunks/{pty-0s0a8jh1.js → variant-tae944ma.js} +171 -171
- package/dist/chunks/{pty-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-rbs0ef4y.js → variant-tbq2h17c.js} +22 -22
- package/dist/chunks/{pty-p28j5sbe.js → variant-tbz0fdvh.js} +5 -5
- package/dist/chunks/{pty-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-be3g221r.js → variant-td7mnp8z.js} +20 -20
- package/dist/chunks/{pty-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{pty-j5786zrt.js → variant-ts2x07a1.js} +1 -1
- package/dist/chunks/{pty-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-abyxqag4.js → variant-ty0554db.js} +4 -4
- package/dist/chunks/{pty-jqe5ka82.js → variant-v1407nsh.js} +18 -18
- package/dist/chunks/{pty-4b3p33ns.js → variant-v29fjn9e.js} +43 -43
- package/dist/chunks/{pty-qmg269n7.js → variant-v47z8hsk.js} +11 -11
- package/dist/chunks/{pty-m2taxsaw.js → variant-v4dhgaj7.js} +10 -10
- package/dist/chunks/{pty-rf9y12ds.js → variant-va6pcbts.js} +3 -3
- package/dist/chunks/{pty-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-tb60vd7q.js → variant-wbrxfa2a.js} +4 -4
- package/dist/chunks/{pty-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{pty-kb0jenp9.js → variant-wfrt7f8k.js} +18 -18
- package/dist/chunks/{pty-f1cvcqqp.js → variant-wj3yfrmp.js} +21 -21
- package/dist/chunks/{pty-vkwcxm6e.js → variant-wmdqddds.js} +1 -1
- package/dist/chunks/{pty-2chp5681.js → variant-wsp13tn1.js} +11 -11
- package/dist/chunks/{pty-eq9606cq.js → variant-wtphcwzm.js} +30 -30
- package/dist/chunks/{pty-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-4kyk22vj.js → variant-x8a6wpb1.js} +39 -39
- package/dist/chunks/{pty-8kgt14gf.js → variant-xh03bpf0.js} +21 -21
- package/dist/chunks/{pty-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-y71avatq.js → variant-y71avatq.js} +1 -1
- package/dist/chunks/{pty-hn8hcjvd.js → variant-ygshqydb.js} +1 -1
- package/dist/chunks/{pty-bxgqktpk.js → variant-yj76swvz.js} +24 -24
- package/dist/chunks/{pty-6zvnhsg3.js → variant-yjf31fha.js} +25 -25
- package/dist/chunks/{pty-1acjjqhc.js → variant-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-cq9vh2fv.js → variant-yvvvp4gn.js} +8 -8
- package/dist/chunks/{pty-vjrtmzpa.js → variant-yxjfm1ef.js} +5 -5
- package/dist/chunks/{pty-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-pxnzv34t.js → variant-z0xass54.js} +15 -15
- package/dist/chunks/{pty-wvh43mtc.js → variant-z73z9mq7.js} +21 -21
- package/dist/chunks/{pty-0mwa6y39.js → variant-z8smh9c8.js} +18 -18
- package/dist/chunks/{pty-5xdv3y65.js → variant-z8tc00nf.js} +27 -27
- package/dist/chunks/{pty-tqg72d4k.js → variant-z9v75n1r.js} +13 -13
- package/dist/chunks/{pty-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-3sqv75dt.js → variant-zh2phv9k.js} +10 -10
- package/dist/chunks/{pty-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → variant-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 +82 -82
- package/dist/config/discovery.js +81 -81
- 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 +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- 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 +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +94 -94
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +358 -358
- 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 +1 -1
- 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 +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +355 -355
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- 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 +5 -5
- 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 +329 -329
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- 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 +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- 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 +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +94 -94
- 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 +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +4 -4
- 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 +228 -228
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- 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 +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +75 -75
- package/dist/wellknown.js +74 -74
- package/dist/workspace/driver.js +3 -3
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/pty-1qqxsas6.js +0 -252
- package/dist/chunks/pty-1tm0r3ht.js +0 -4
- package/dist/chunks/pty-5qekf1cr.js +0 -26
- package/dist/chunks/pty-pf31ssb9.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e3qxr5gk.js → variant-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → variant-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service65
|
|
4
|
+
} from "./variant-wj3yfrmp.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./variant-tbq2h17c.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
11
|
Service69
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-gt3cwgnf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-7jdsj2a9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service53
|
|
18
|
+
} from "./variant-e0cjyxzq.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./variant-k6vef6f0.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service29
|
|
25
|
+
} from "./variant-8ty0ryk7.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./variant-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./variant-ryeeha7r.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./variant-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input10 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input9 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output7 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin29 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
92
|
+
const sessions = yield* Service29;
|
|
93
|
+
const jobs = yield* Service53;
|
|
94
|
+
const agents = yield* Service65;
|
|
95
95
|
const config = yield* Service69;
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
96
|
+
const permission = yield* Service63;
|
|
97
|
+
const models = yield* Service72;
|
|
98
98
|
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin43 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin43 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name10,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin43 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name10];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name10, Input10, Output7, description4, Plugin29, exports_subagent };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-jd8ez2rx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./variant-c8bydgjz.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-n95b3jav.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-csf2jhsg.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-4qc459h3.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./variant-nxhxdrrf.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service30
|
|
21
|
+
} from "./variant-qyabr2c4.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./variant-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service49;
|
|
36
36
|
const database = yield* Service83;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service30;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-fz75205d.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./variant-59gj78ga.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID16,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-brp4bzxj.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-9588vfer.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./variant-6cq4w4ej.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID16.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
|
|
|
134
134
|
providers.update(providerID, (provider) => {
|
|
135
135
|
if (source && source.provider !== provider)
|
|
136
136
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
137
|
-
provider.integrationID =
|
|
137
|
+
provider.integrationID = ID16.make("opencode");
|
|
138
138
|
if (item.canonical !== undefined)
|
|
139
139
|
provider.canonical = item.canonical;
|
|
140
140
|
if (item.name !== undefined)
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
251
251
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
252
252
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
253
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
253
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
254
254
|
query: input.query,
|
|
255
255
|
providerID: descriptor.providerID
|
|
256
256
|
}));
|
|
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
|
|
|
271
271
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
272
272
|
});
|
|
273
273
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
274
|
-
yield* bus.subscribe(
|
|
274
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
275
275
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
276
276
|
})
|
|
277
277
|
});
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./variant-ka9h1195.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service14,
|
|
12
|
+
node16
|
|
13
|
+
} from "./variant-rm1vz964.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service13,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
|
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service74;
|
|
95
|
+
const search = yield* Service14;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service13.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node15 = makeLocationNode({
|
|
144
|
+
service: Service13,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node78, node16]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-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: () => Info22,
|
|
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 Info22 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info22, exports_mcp5 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9t1yzjs7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID6.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service39,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service39 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service39.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service39, awaitActivation2, exports_service };
|