@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-caxab8mx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-qfja44bf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./generate-v46xynw3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-kbtsy04j.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-g904xrc0.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID13.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID13.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-1979c0g3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service17,
|
|
12
|
+
node19
|
|
13
|
+
} from "./generate-q98y5tty.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service16,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node18
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event4 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service79;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service17;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service16.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node18 = makeLocationNode({
|
|
144
|
+
service: Service16,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node83,
|
|
146
|
+
deps: [FSUtil.node, node83, node19]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node18, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-qfja44bf.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-1979c0g3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./generate-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service46,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node51
|
|
16
|
+
} from "./generate-f2ehs87a.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
35
|
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
48
|
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
-
ptyID:
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service82;
|
|
62
62
|
const location = yield* Service79;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service46;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
273
|
var node17 = makeLocationNode({
|
|
274
|
-
service:
|
|
274
|
+
service: Service15,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node86, node83,
|
|
276
|
+
deps: [node86, node83, node51]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service43,
|
|
3
|
+
node48
|
|
4
|
+
} from "./generate-6970jmxf.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service25,
|
|
20
|
+
node: () => node29
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service25 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service43;
|
|
64
|
+
return Service25.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make21({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node29 = makeLocationNode({ service: Service25, layer, deps: [node48] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service25, node29, exports_instructions4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./generate-ccfa4wxs.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./generate-frkbx2gh.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service56;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-1979c0g3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./generate-7fn8enjq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service12,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-scpwghev.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service78
|
|
14
|
+
} from "./generate-1qxy8npy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service64
|
|
17
|
+
} from "./generate-q47m5e8w.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service19,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-1knd450p.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input4,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin22,
|
|
36
|
+
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin22 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service19;
|
|
110
|
+
const fileMutation = yield* Service12;
|
|
111
|
+
const environment = yield* Service40;
|
|
112
|
+
const formatter = yield* Service78;
|
|
113
113
|
const location = yield* Service79;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service64;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name4,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input4,
|
|
120
|
+
output: Output3,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin43 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name4, Input4, Output3, Plugin22, exports_edit };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-dj2t23y0.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./generate-fny86xce.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service21
|
|
6
|
+
} from "./generate-17z5qab9.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service21;
|
|
24
|
+
const jobs = yield* Service59;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|