@opencode/core 0.0.0-dev-19927 → 0.0.0-dev-19928
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 +76 -76
- 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/{config-173p8h6h.js → generate-02rzwqf2.js} +11 -11
- package/dist/chunks/{config-3sry36ry.js → generate-08n1bwxs.js} +26 -26
- package/dist/chunks/{config-kgm7g42e.js → generate-0b3cvpyc.js} +4 -4
- package/dist/chunks/{config-d25sxr2n.js → generate-0djzmssq.js} +15 -15
- package/dist/chunks/generate-0mesazry.js +4 -0
- package/dist/chunks/{config-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-2zhqe5z4.js → generate-12st523p.js} +7 -7
- package/dist/chunks/{config-qvb3nf84.js → generate-15nepkqg.js} +8 -8
- package/dist/chunks/{config-j1zy4r9y.js → generate-17k7e265.js} +13 -13
- package/dist/chunks/{config-6ddjc60g.js → generate-17z5qab9.js} +88 -88
- package/dist/chunks/{config-qn4dpy0x.js → generate-1979c0g3.js} +2 -2
- package/dist/chunks/{config-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-y7dg3279.js → generate-1kgsqxqk.js} +35 -35
- package/dist/chunks/{config-fdpada3c.js → generate-1knd450p.js} +15 -15
- package/dist/chunks/{config-71cj715e.js → generate-1n8x84jk.js} +16 -16
- package/dist/chunks/{config-wqw1azkj.js → generate-1nz402vm.js} +18 -18
- package/dist/chunks/{config-6372hfb7.js → generate-1qxy8npy.js} +14 -14
- package/dist/chunks/{config-t2cdsbj3.js → generate-1s0c7e1x.js} +44 -44
- package/dist/chunks/generate-1vjp0nt5.js +26 -0
- package/dist/chunks/generate-1x11rq2a.js +18 -0
- package/dist/chunks/{config-mfqp6xfm.js → generate-1ygqh575.js} +6 -6
- package/dist/chunks/{config-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{config-6h73sxmp.js → generate-2402vzrj.js} +5 -5
- package/dist/chunks/{config-bzhd4azx.js → generate-29f4vwe7.js} +12 -12
- package/dist/chunks/{config-29x78va6.js → generate-29x78va6.js} +2 -2
- package/dist/chunks/{config-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-3tfkds41.js → generate-2b9qhknk.js} +5 -5
- package/dist/chunks/{config-2x994bvn.js → generate-2c8axg0p.js} +11 -11
- package/dist/chunks/{config-414gxdxw.js → generate-2j0xwkgq.js} +22 -22
- package/dist/chunks/{config-nz697jhx.js → generate-2mmvmxaa.js} +11 -11
- package/dist/chunks/{config-reqevd7p.js → generate-2re9my94.js} +9 -9
- package/dist/chunks/{config-44674g4e.js → generate-2x9qwzry.js} +41 -41
- package/dist/chunks/{config-fab8hzt3.js → generate-34z8bdtq.js} +4 -4
- package/dist/chunks/{config-e3nqh74b.js → generate-35ghwfgj.js} +8 -8
- package/dist/chunks/{config-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-vm7dkzb5.js → generate-3n26wstr.js} +7 -7
- package/dist/chunks/{config-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-45stpd4w.js → generate-3vpjtrxk.js} +3 -3
- package/dist/chunks/{config-b231j30p.js → generate-4310vdb4.js} +9 -9
- package/dist/chunks/{config-04ckjw77.js → generate-49q65w6d.js} +15 -15
- package/dist/chunks/{config-221ma7bv.js → generate-4m7rhrzk.js} +29 -29
- package/dist/chunks/{config-08w0egyc.js → generate-4z1dv4tz.js} +24 -24
- package/dist/chunks/{config-z9v13r6b.js → generate-50b9th6r.js} +18 -18
- package/dist/chunks/{config-1dqdbha6.js → generate-52cc6hz4.js} +9 -9
- package/dist/chunks/{config-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-2w4gyvwb.js → generate-5bgrpqnq.js} +30 -30
- package/dist/chunks/{config-5c4hm403.js → generate-5c4hm403.js} +3 -3
- package/dist/chunks/{config-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{config-va31982j.js → generate-5nrdpb71.js} +8 -8
- package/dist/chunks/{config-kdyzpndw.js → generate-5sh8j88p.js} +16 -16
- package/dist/chunks/{config-0zek7svq.js → generate-5sj14crw.js} +15 -15
- package/dist/chunks/{config-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-fjx9j9te.js → generate-60y7pn7x.js} +5 -5
- package/dist/chunks/{config-190fx2w2.js → generate-652pvwrv.js} +10 -10
- package/dist/chunks/{config-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{config-rjkv0b50.js → generate-67fym8mz.js} +13 -13
- package/dist/chunks/{config-e66fvnsd.js → generate-6970jmxf.js} +26 -26
- package/dist/chunks/{config-qqj9e2dc.js → generate-69zg2gja.js} +47 -47
- package/dist/chunks/{config-1m53yep5.js → generate-6ad5a7cc.js} +1 -1
- package/dist/chunks/{config-2v8c5gvq.js → generate-6agjyrrr.js} +7 -7
- package/dist/chunks/{config-rtqqy8pm.js → generate-6cptqdtp.js} +9 -9
- package/dist/chunks/{config-3aqn1cx4.js → generate-6g4xk5ct.js} +30 -30
- package/dist/chunks/{config-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-bssxjmn0.js → generate-6nph9wxp.js} +13 -13
- package/dist/chunks/{config-bccb6npm.js → generate-6p3xbzsx.js} +4 -4
- package/dist/chunks/{config-zxwm5ksn.js → generate-6v8ra5s2.js} +20 -20
- package/dist/chunks/{config-57d5arwb.js → generate-6y7qr3ne.js} +10 -10
- package/dist/chunks/{config-3h42xwrr.js → generate-6yprahxd.js} +24 -24
- package/dist/chunks/{config-ak9msbxp.js → generate-708yg38f.js} +8 -8
- package/dist/chunks/{config-b27vhd2z.js → generate-73gmm198.js} +4 -4
- package/dist/chunks/{config-nsarsp7q.js → generate-74rrnwt7.js} +5 -5
- package/dist/chunks/{config-wdzaa0j7.js → generate-788ne9mn.js} +318 -318
- package/dist/chunks/{config-9h3nbwy9.js → generate-78kn9psm.js} +20 -20
- package/dist/chunks/{config-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-nj0qzjff.js → generate-7bsw6jb9.js} +16 -16
- package/dist/chunks/{config-vny486p7.js → generate-7fn8enjq.js} +21 -21
- package/dist/chunks/{config-93e91522.js → generate-7kfq0bws.js} +26 -26
- package/dist/chunks/{config-zhezwzg9.js → generate-7m46d0cp.js} +9 -9
- package/dist/chunks/{config-sdpn6dgk.js → generate-7n92h9ae.js} +5 -5
- package/dist/chunks/{config-7h7s3rmt.js → generate-834a0b17.js} +6 -6
- package/dist/chunks/{config-aspyrnxn.js → generate-84png0yc.js} +10 -10
- package/dist/chunks/{config-4n8zy7qg.js → generate-88v3zjmk.js} +4 -4
- package/dist/chunks/{config-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-fe4vyjh1.js → generate-8mcdqw3q.js} +10 -10
- package/dist/chunks/{config-nevqtesq.js → generate-8r79x31a.js} +8 -8
- package/dist/chunks/{config-15802rpk.js → generate-92dp6wm6.js} +5 -5
- package/dist/chunks/generate-949fbdqq.js +252 -0
- package/dist/chunks/{config-as71pn4z.js → generate-9588h3n1.js} +12 -12
- package/dist/chunks/{config-k1kawhr0.js → generate-96gqrx7w.js} +23 -23
- package/dist/chunks/{config-hyrv2er6.js → generate-9avarjh4.js} +4 -4
- package/dist/chunks/{config-emtdknqp.js → generate-9c6p0cbw.js} +5 -5
- package/dist/chunks/{config-p37cw4rj.js → generate-9hn6k4tm.js} +8 -8
- package/dist/chunks/{config-1xycc2pn.js → generate-9jp7t3k6.js} +3 -3
- package/dist/chunks/{config-vh0h4tgp.js → generate-9kp8pnw9.js} +12 -12
- package/dist/chunks/{config-rfb6m91s.js → generate-9wdxvxcx.js} +10 -10
- package/dist/chunks/{config-8jsy6qxe.js → generate-9wp9hbbv.js} +11 -11
- package/dist/chunks/{config-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{config-ja4jt1nm.js → generate-afyt8s0d.js} +14 -14
- package/dist/chunks/{config-0en0hh3r.js → generate-ajvrh1yc.js} +4 -4
- package/dist/chunks/{config-g7dqqsb3.js → generate-ak7jg0qj.js} +14 -14
- package/dist/chunks/{config-rfn4rx8v.js → generate-ar6h1w8d.js} +16 -16
- package/dist/chunks/{config-48cfa71b.js → generate-aw5fwsf1.js} +8 -8
- package/dist/chunks/{config-qpcr28f2.js → generate-axfff6jb.js} +9 -9
- package/dist/chunks/{config-y28jhgqt.js → generate-b18zasay.js} +25 -25
- package/dist/chunks/{config-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-4mh8t5f6.js → generate-bchwhfzs.js} +13 -13
- package/dist/chunks/{config-578ars9g.js → generate-bcmxkm63.js} +20 -20
- package/dist/chunks/{config-1a6p2twq.js → generate-bf0ztrs3.js} +4 -4
- package/dist/chunks/{config-ebbex8t4.js → generate-bgc7662s.js} +9 -9
- package/dist/chunks/{config-mn1f5j00.js → generate-btv7656b.js} +8 -8
- package/dist/chunks/{config-m39rnvm7.js → generate-bxd68sh6.js} +11 -11
- package/dist/chunks/{config-ddfrm1qp.js → generate-c2g3wzfp.js} +35 -35
- package/dist/chunks/{config-pvg6p1wa.js → generate-c67y0jfd.js} +24 -24
- package/dist/chunks/{config-3qpny3t1.js → generate-c9bb4jjz.js} +164 -164
- package/dist/chunks/{config-b8qsrfds.js → generate-caxab8mx.js} +11 -11
- package/dist/chunks/{config-909p1r3q.js → generate-ccfa4wxs.js} +6 -6
- package/dist/chunks/{config-pz7z57gx.js → generate-cnm1btwq.js} +20 -20
- package/dist/chunks/{config-8tnpz2sk.js → generate-cr5b1kcj.js} +8 -8
- package/dist/chunks/{config-cbxsd3x7.js → generate-d0sda21w.js} +6 -6
- package/dist/chunks/{config-jpjb6z87.js → generate-d11edp8t.js} +23 -23
- package/dist/chunks/{config-dj2t23y0.js → generate-dj2t23y0.js} +2 -2
- package/dist/chunks/{config-jgnkg8tq.js → generate-dphvwjzd.js} +11 -11
- package/dist/chunks/{config-y71avatq.js → generate-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-drwq78ky.js → generate-drwq78ky.js} +1 -1
- package/dist/chunks/{config-b7m59p0b.js → generate-dt25xn4z.js} +33 -33
- package/dist/chunks/{config-8zkpsghb.js → generate-dx0f7ver.js} +16 -16
- package/dist/chunks/{config-06edwyrj.js → generate-dzcb1sne.js} +11 -11
- package/dist/chunks/{config-2w8q0sft.js → generate-dzyqfwqf.js} +16 -16
- package/dist/chunks/{config-ermxvwhp.js → generate-eahhehpg.js} +4 -4
- package/dist/chunks/{config-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-3dfyr7pz.js → generate-egrkgs8q.js} +19 -19
- package/dist/chunks/{config-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
- package/dist/chunks/{config-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-rjg0edk8.js → generate-ezsrcjtm.js} +8 -8
- package/dist/chunks/{config-kyjz80j6.js → generate-f0q7wva8.js} +14 -14
- package/dist/chunks/{config-gy4yzk8r.js → generate-f2ehs87a.js} +18 -18
- package/dist/chunks/{config-08nn36ps.js → generate-f2vy8wd0.js} +50 -50
- package/dist/chunks/{config-z88pgsf5.js → generate-f6mwz6ae.js} +3 -3
- package/dist/chunks/{config-2k8khapm.js → generate-fcrkznn8.js} +5 -5
- package/dist/chunks/{config-g6w34b37.js → generate-fny86xce.js} +17 -17
- package/dist/chunks/{config-59q269e2.js → generate-frkbx2gh.js} +39 -39
- package/dist/chunks/{config-d36z8apt.js → generate-fwwrfcv4.js} +24 -24
- package/dist/chunks/{config-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-wj5bjavg.js → generate-g1dme5yb.js} +11 -11
- package/dist/chunks/{config-cmkj70ft.js → generate-g2yz86wh.js} +2 -2
- package/dist/chunks/{config-ms7mjmxb.js → generate-g904xrc0.js} +27 -27
- package/dist/chunks/{config-ypr867c1.js → generate-gafwvkft.js} +4 -4
- package/dist/chunks/{config-zshtfjeh.js → generate-gampfn72.js} +13 -13
- package/dist/chunks/{config-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-mepyk13b.js → generate-gdek4pmw.js} +17 -17
- package/dist/chunks/{config-48c763ft.js → generate-gjdj0760.js} +6 -6
- package/dist/chunks/{config-wgr1r92k.js → generate-gmbmcgg0.js} +13 -13
- package/dist/chunks/{config-mmp50qm8.js → generate-grfkgt6x.js} +9 -9
- package/dist/chunks/{config-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-9dp8xf7y.js → generate-h0chh9mh.js} +24 -24
- package/dist/chunks/{config-1yjwg5xg.js → generate-h4tm529t.js} +22 -22
- package/dist/chunks/{config-4dgbcxzg.js → generate-h6r3nrb9.js} +4 -4
- package/dist/chunks/{config-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-hdnk95c8.js → generate-hdnk95c8.js} +2 -2
- package/dist/chunks/{config-mczh4wfw.js → generate-hph9a1wy.js} +1 -1
- package/dist/chunks/{config-qazh4pg4.js → generate-hqwgtjdf.js} +11 -11
- package/dist/chunks/{config-c08p3s17.js → generate-j10h1wdt.js} +12 -12
- package/dist/chunks/{config-hmkvfh4p.js → generate-j1gmcxjp.js} +40 -40
- package/dist/chunks/{config-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{config-ryt7pzqc.js → generate-j5786zrt.js} +1 -1
- package/dist/chunks/{config-b6xy6jda.js → generate-j9hz3vad.js} +9 -9
- package/dist/chunks/{config-3yh3z6fg.js → generate-jb23qwp2.js} +3 -3
- package/dist/chunks/{config-jv01nqvq.js → generate-jv01nqvq.js} +2 -2
- package/dist/chunks/{config-6p2dpk8a.js → generate-jxaefcp2.js} +11 -11
- package/dist/chunks/{config-92swnv4m.js → generate-k1gkpfdk.js} +8 -8
- package/dist/chunks/{config-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{config-dajkwyv8.js → generate-ka9jgt4a.js} +25 -25
- package/dist/chunks/{config-3zncv9zw.js → generate-kbtsy04j.js} +25 -25
- package/dist/chunks/{config-5mfzg69w.js → generate-kczcp0fs.js} +20 -20
- package/dist/chunks/{config-4n5wabkh.js → generate-kd639zsd.js} +3 -3
- package/dist/chunks/{config-rm5fy541.js → generate-keg68jj3.js} +32 -32
- package/dist/chunks/{config-3pe7sts8.js → generate-kfphszmj.js} +9 -9
- package/dist/chunks/{config-rvd36zpv.js → generate-kkhe5v2n.js} +28 -28
- package/dist/chunks/{config-09cy5gpk.js → generate-kky6syvy.js} +10 -10
- package/dist/chunks/{config-gb7ervf3.js → generate-kmkwybff.js} +6 -6
- package/dist/chunks/{config-knb7evpn.js → generate-knb7evpn.js} +2 -2
- package/dist/chunks/{config-4fy34q0s.js → generate-kq6rykfa.js} +31 -31
- package/dist/chunks/{config-m0jqrx5p.js → generate-m0jqrx5p.js} +2 -2
- package/dist/chunks/{config-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-xevcky50.js → generate-m61kjpz8.js} +13 -13
- package/dist/chunks/{config-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-fkvz5d6n.js → generate-mbx5xje1.js} +10 -10
- package/dist/chunks/{config-1bbkgx8g.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{config-3rw3svr8.js → generate-mk4cbe95.js} +38 -38
- package/dist/chunks/{config-8drmjyr8.js → generate-mk9gh17g.js} +14 -14
- package/dist/chunks/{config-zzpvtj7h.js → generate-mkazsh4n.js} +20 -20
- package/dist/chunks/{config-sra9araw.js → generate-mtft99cd.js} +5 -5
- package/dist/chunks/{config-beq1mm78.js → generate-nb5fc2he.js} +29 -29
- package/dist/chunks/{config-sewqahfv.js → generate-nn06v8gr.js} +3 -3
- package/dist/chunks/{config-9n476q81.js → generate-nwes2rk7.js} +10 -10
- package/dist/chunks/{config-p28j5sbe.js → generate-p28j5sbe.js} +2 -2
- package/dist/chunks/{config-rwq3efnb.js → generate-p9by1qyw.js} +17 -17
- package/dist/chunks/{config-xvq159hs.js → generate-p9yczjkf.js} +69 -69
- package/dist/chunks/{config-xw4134ww.js → generate-pfhkc59y.js} +20 -20
- package/dist/chunks/{config-c2af4gjd.js → generate-pfp2se81.js} +13 -13
- package/dist/chunks/{config-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{config-m4qxebqp.js → generate-q3egvdqd.js} +8 -8
- package/dist/chunks/{config-b4582k5t.js → generate-q47m5e8w.js} +47 -47
- package/dist/chunks/{config-zvt5dnpc.js → generate-q5asdkn4.js} +4 -4
- package/dist/chunks/{config-pvfx0zah.js → generate-q98y5tty.js} +27 -27
- package/dist/chunks/{config-m6xnwrs1.js → generate-qa2fqmf7.js} +2 -2
- package/dist/chunks/{config-s7j2z84t.js → generate-qa4v9jft.js} +5 -5
- package/dist/chunks/{config-150yg2gd.js → generate-qdbakdjh.js} +5 -5
- package/dist/chunks/{config-kj6x128f.js → generate-qfja44bf.js} +4 -4
- package/dist/chunks/{config-6aaw5wkp.js → generate-qm17akbq.js} +15 -15
- package/dist/chunks/{config-gjwgx2c5.js → generate-qmqgtz8f.js} +5 -5
- package/dist/chunks/{config-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{config-931bsvm2.js → generate-r2kbaf83.js} +11 -11
- package/dist/chunks/{config-yp2x3t23.js → generate-r8xr0va3.js} +4 -4
- package/dist/chunks/{config-0jq9fyba.js → generate-r9w3djhf.js} +9 -9
- package/dist/chunks/{config-n2kah95r.js → generate-rav9e4bf.js} +8 -8
- package/dist/chunks/{config-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-ef9gv310.js → generate-rg4s56dy.js} +11 -11
- package/dist/chunks/{config-nv3gs4ms.js → generate-rhnwdj6j.js} +20 -20
- package/dist/chunks/{config-7ctg4z5y.js → generate-rnnxefam.js} +28 -28
- package/dist/chunks/{config-acan9bz7.js → generate-rsxnvcbs.js} +20 -20
- package/dist/chunks/{config-zb385sre.js → generate-rtf2d8r4.js} +5 -5
- package/dist/chunks/{config-1zjrwp5x.js → generate-s17mkaes.js} +21 -21
- package/dist/chunks/{config-s4enseaf.js → generate-s4enseaf.js} +2 -2
- package/dist/chunks/{config-ffcx9nyn.js → generate-s4fp5dz9.js} +4 -4
- package/dist/chunks/{config-rhjbct0v.js → generate-s8d7rejh.js} +4 -4
- package/dist/chunks/{config-jnkwz9x8.js → generate-s8sz8x3h.js} +20 -20
- package/dist/chunks/{config-8arhsq9v.js → generate-scpwghev.js} +13 -13
- package/dist/chunks/{config-wr7ps67x.js → generate-sfkj0ta1.js} +5 -5
- package/dist/chunks/{config-pjedbq3k.js → generate-sfty89x1.js} +9 -9
- package/dist/chunks/{config-x9ys62m7.js → generate-shbb2w98.js} +12 -12
- package/dist/chunks/{config-g2hs3y6k.js → generate-sqpz9tdp.js} +22 -22
- package/dist/chunks/{config-p0zx402h.js → generate-stmqcs3c.js} +24 -24
- package/dist/chunks/{config-x1ct6jbt.js → generate-sxbv8nmb.js} +31 -31
- package/dist/chunks/{config-cr65h36k.js → generate-szmyybnp.js} +7 -7
- package/dist/chunks/{config-va6ka2nw.js → generate-tayd22pr.js} +6 -6
- package/dist/chunks/{config-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-89znhe33.js → generate-tcezcvh9.js} +4 -4
- package/dist/chunks/{config-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{config-qa393g2j.js → generate-tdvmaz96.js} +4 -4
- package/dist/chunks/{config-2qp6y8xf.js → generate-tn0aqsam.js} +5 -5
- package/dist/chunks/{config-96kdkwb7.js → generate-tst1v2ep.js} +4 -4
- package/dist/chunks/{config-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{config-p83fc5ph.js → generate-v46xynw3.js} +28 -28
- package/dist/chunks/{config-b0cxceke.js → generate-v5wtqz8r.js} +44 -44
- package/dist/chunks/{config-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{config-heg0z178.js → generate-vwmfpdm0.js} +43 -43
- package/dist/chunks/{config-1vcfwyb7.js → generate-vz58hpym.js} +27 -27
- package/dist/chunks/{config-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-nd8gpfv0.js → generate-w4qyy28q.js} +81 -81
- package/dist/chunks/{config-gzy8bf33.js → generate-w5nkq4gn.js} +16 -16
- package/dist/chunks/{config-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{config-x57hqxeb.js → generate-wj55daks.js} +9 -9
- package/dist/chunks/{config-b0n1t7rr.js → generate-wnc14pb6.js} +6 -6
- package/dist/chunks/{config-zj09a0ew.js → generate-x0511brf.js} +4 -4
- package/dist/chunks/{config-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-3g42qc4d.js → generate-x20jwhze.js} +22 -22
- package/dist/chunks/{config-w3q4rksf.js → generate-xbnbae7c.js} +15 -15
- package/dist/chunks/{config-kk00bynn.js → generate-xdk9p2qn.js} +4 -4
- package/dist/chunks/{config-ba07h9gm.js → generate-xkhfjrgz.js} +3 -3
- package/dist/chunks/{config-v691478h.js → generate-xxm1k3hc.js} +41 -41
- package/dist/chunks/{config-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-syyjt392.js → generate-y28gekph.js} +27 -27
- package/dist/chunks/{config-940pdapd.js → generate-yjcxzpp0.js} +20 -20
- package/dist/chunks/{config-ty2s10zc.js → generate-ymbygv4j.js} +18 -18
- package/dist/chunks/{config-vxzf1d5a.js → generate-yncwd9ka.js} +24 -24
- package/dist/chunks/{config-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-0h6xm2fc.js → generate-ytqqef47.js} +15 -15
- package/dist/chunks/{config-j268c786.js → generate-yypw9zm6.js} +6 -6
- package/dist/chunks/{config-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-j9xcs6m9.js → generate-zb6sf20w.js} +6 -6
- package/dist/chunks/{config-hbj3m5xw.js → generate-zcvhjkmp.js} +26 -26
- package/dist/chunks/{config-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-vyrd71eq.js → generate-zsm3phbg.js} +8 -8
- package/dist/chunks/{config-rhp3r2pq.js → generate-zsq5ry13.js} +26 -26
- package/dist/chunks/{config-3wew64z7.js → generate-zxb8w1dj.js} +5 -5
- package/dist/chunks/{config-zxq2ej10.js → generate-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 +80 -80
- 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 +122 -122
- 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 +125 -125
- 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 +368 -368
- 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 +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 +4 -4
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +359 -359
- 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 +78 -78
- 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 +356 -356
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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 +330 -330
- 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 +2 -2
- 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 +91 -91
- 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 +345 -345
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- 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 +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- 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 +133 -133
- 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 +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- 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 +207 -207
- 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 +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- 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 +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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/config-e0cmv8ad.js +0 -26
- package/dist/chunks/config-jqh9b0xq.js +0 -18
- package/dist/chunks/config-kxpx8wwx.js +0 -252
- package/dist/chunks/config-qapv375x.js +0 -4
- /package/dist/chunks/{config-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e3qxr5gk.js → generate-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./generate-j10h1wdt.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service73
|
|
8
|
+
} from "./generate-nb5fc2he.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./generate-vwmfpdm0.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-xkhfjrgz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./generate-fny86xce.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./generate-q47m5e8w.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service21
|
|
25
|
+
} from "./generate-17z5qab9.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-5nrdpb71.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-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: () => Input5,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin23,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "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 Input5 = 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 Output4 = 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 description3 = [
|
|
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 Plugin23 = {
|
|
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*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service21;
|
|
93
|
+
const jobs = yield* Service59;
|
|
94
|
+
const agents = yield* Service67;
|
|
95
|
+
const config = yield* Service69;
|
|
96
|
+
const permission = yield* Service64;
|
|
97
|
+
const models = yield* Service73;
|
|
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 Plugin45 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output4,
|
|
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 Plugin45 = {
|
|
|
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: name5,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -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[name5];
|
|
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(name5, 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 { name5, Input5, Output4, description3, Plugin23, exports_subagent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service48,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node53
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service48 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service48.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node53 = makeLocationNode({ service: Service48, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service48, node53, exports_image2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./generate-nb5fc2he.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./generate-vwmfpdm0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./generate-j9hz3vad.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service69;
|
|
26
|
+
const image = yield* Service48;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin10 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin37, exports_image };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service68,
|
|
10
|
+
node: () => node72
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service68 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service68.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service68, node72, exports_hooks };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-qfja44bf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./generate-2x9qwzry.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./generate-q47m5e8w.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service47,
|
|
15
|
+
node52
|
|
16
|
+
} from "./generate-b18zasay.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer11,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service30;
|
|
42
|
+
const tools = yield* Service47;
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service64;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node31 = makeLocationNode({
|
|
124
|
+
service: Service28,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node52, node33, node86, node68]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service28, layer11, node31, exports_mcp3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-qfja44bf.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./generate-v46xynw3.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-yncwd9ka.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event18,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
|
+
node: () => node79
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
+
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID14,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service75 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service76;
|
|
110
110
|
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info29.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service75.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node79 = makeLocationNode({
|
|
583
|
+
service: Service75,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node80, node86, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event18 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./generate-7fn8enjq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service12,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-scpwghev.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./generate-1qxy8npy.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./generate-q47m5e8w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./generate-1knd450p.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
28
|
Input: () => Input12,
|
|
29
29
|
Output: () => Output8,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin30,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
32
|
name: () => name12,
|
|
33
33
|
toModelContent: () => toModelContent6
|
|
@@ -49,14 +49,14 @@ var Output8 = Schema.Struct({
|
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin30 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service19;
|
|
56
|
+
const fileMutation = yield* Service12;
|
|
57
|
+
const environment = yield* Service40;
|
|
58
|
+
const formatter = yield* Service78;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
61
|
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export { name12, Input12, Output8, toModelContent6,
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin30, exports_write };
|