@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-kd639zsd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-qfja44bf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./generate-ccfa4wxs.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service35
|
|
16
|
+
} from "./generate-zsq5ry13.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-834a0b17.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service56;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service35;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service56;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service35;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info20
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info20 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info22 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info20, exports_skills };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-caxab8mx.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin3,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin3 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin27 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin27 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin3, exports_tinyfish };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-caxab8mx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin4,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin4 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin26 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin26 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin4, exports_tavily };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./generate-vwmfpdm0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./generate-9588h3n1.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin48
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin48 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service69;
|
|
27
|
+
const output = yield* Service52;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin11 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin48, exports_tool_output };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-74rrnwt7.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service83,
|
|
13
13
|
node87
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-kd639zsd.js";
|
|
15
15
|
import {
|
|
16
16
|
Service82,
|
|
17
17
|
node86
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-qfja44bf.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-dj2t23y0.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-m0jqrx5p.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-cr5b1kcj.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-1979c0g3.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service58,
|
|
34
|
+
node62
|
|
35
|
+
} from "./generate-wj55daks.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./generate-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make15
|
|
42
|
+
} from "./generate-yypw9zm6.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service37
|
|
45
|
+
} from "./generate-dzyqfwqf.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./generate-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event8,
|
|
57
|
+
Info: () => Info5,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service36,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node39
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info5 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event8 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service36 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service83;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service58;
|
|
108
|
+
const gitStrategy = yield* make15;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service37).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event8.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service36.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node39 = Node.makeGlobalNode({
|
|
265
|
+
service: Service36,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node, node85, node86, node87, AppProcess.node,
|
|
267
|
+
deps: [FSUtil.node, node85, node86, node87, AppProcess.node, node62]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event8, Service36, node39, exports_worktree2, OperationError2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-kd639zsd.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-qfja44bf.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-xkhfjrgz.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info11,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service55,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer21,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make19,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node59,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info11,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service55 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service83;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service82;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info11.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer21 = Layer.effect(Service55, make19());
|
|
231
|
+
var node59 = makeGlobalNode({ service: Service55, layer: layer21, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service55, make19, layer21, node59, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|