@opencode/core 0.0.0-dev-19660 → 0.0.0-dev-19666
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-service-map-1q4mm0ye.js → credential-05ygxhcx.js} +30 -30
- package/dist/chunks/{location-service-map-pj3035kn.js → credential-0bnjtszc.js} +11 -11
- package/dist/chunks/{location-service-map-h9yd5z5z.js → credential-0e8sy9ry.js} +6 -6
- package/dist/chunks/{location-service-map-6hjx5zpb.js → credential-0jq9fyba.js} +9 -9
- package/dist/chunks/credential-0mesazry.js +4 -0
- package/dist/chunks/{location-service-map-9xt7beqv.js → credential-0nx44e6s.js} +7 -7
- package/dist/chunks/{location-service-map-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-service-map-140749c4.js → credential-0t1hp5a3.js} +3 -3
- package/dist/chunks/{location-service-map-qcxfr8rj.js → credential-0xq9xhmj.js} +20 -20
- package/dist/chunks/{location-service-map-g1chrtxc.js → credential-0y85p7dm.js} +6 -6
- package/dist/chunks/{location-service-map-rb2v4k36.js → credential-11bvvhnn.js} +44 -44
- package/dist/chunks/{location-service-map-cc21mxc2.js → credential-13n5e6v7.js} +29 -29
- package/dist/chunks/{location-service-map-g19t371p.js → credential-17dh7jyv.js} +30 -30
- package/dist/chunks/{location-service-map-r8xr0va3.js → credential-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-service-map-s24268rc.js → credential-1ae6kvz9.js} +22 -22
- package/dist/chunks/{location-service-map-2j80qb3r.js → credential-1ahzwbrc.js} +3 -3
- package/dist/chunks/{location-service-map-mhkvc446.js → credential-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-service-map-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-6cd6tdvt.js → credential-1fv74gqc.js} +6 -6
- package/dist/chunks/{location-service-map-wy9nqtfx.js → credential-1kf20zpt.js} +24 -24
- package/dist/chunks/credential-1qcbrk1r.js +26 -0
- package/dist/chunks/{location-service-map-ggq2s5pj.js → credential-1t6ktrk6.js} +4 -4
- package/dist/chunks/{location-service-map-5jjmea98.js → credential-1w9mhehj.js} +12 -12
- package/dist/chunks/{location-service-map-1ygqh575.js → credential-1ygqh575.js} +2 -2
- package/dist/chunks/{location-service-map-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-mgk0crra.js → credential-22yysgjd.js} +1 -1
- package/dist/chunks/{location-service-map-6h73sxmp.js → credential-2402vzrj.js} +5 -5
- package/dist/chunks/{location-service-map-d0vk8qkm.js → credential-27ydpwgw.js} +6 -6
- package/dist/chunks/{location-service-map-z63w68vq.js → credential-29x78va6.js} +6 -6
- package/dist/chunks/{location-service-map-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-4bfn2nav.js → credential-2d70jdp9.js} +36 -36
- package/dist/chunks/{location-service-map-pthrx8yq.js → credential-2e11fzmp.js} +14 -14
- package/dist/chunks/{location-service-map-w4xs2ha5.js → credential-2g36pw43.js} +11 -11
- package/dist/chunks/{location-service-map-nj8trw50.js → credential-2qerxkme.js} +15 -15
- package/dist/chunks/{location-service-map-dyv4mywf.js → credential-2wkyznp6.js} +10 -10
- package/dist/chunks/{location-service-map-fmrwf976.js → credential-2xj68b26.js} +15 -15
- package/dist/chunks/{location-service-map-3cfzdc8e.js → credential-36cgn824.js} +2 -2
- package/dist/chunks/{location-service-map-bs2603xw.js → credential-36q87gfm.js} +32 -32
- package/dist/chunks/{location-service-map-rv4vr9yd.js → credential-3cmcwjyg.js} +2 -2
- package/dist/chunks/{location-service-map-cbsgcep2.js → credential-3dz6av1h.js} +30 -30
- package/dist/chunks/{location-service-map-yhx1xcxn.js → credential-3e16hxxp.js} +51 -51
- package/dist/chunks/{location-service-map-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-j9s1fk2v.js → credential-3tbdz2xg.js} +6 -6
- package/dist/chunks/{location-service-map-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-h6r3nrb9.js → credential-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-service-map-ddmannaj.js → credential-4fggj5wy.js} +137 -135
- package/dist/chunks/{location-service-map-e7xzm7yh.js → credential-4ft7aw51.js} +6 -6
- package/dist/chunks/{location-service-map-x5bvb29v.js → credential-4fxtva6j.js} +28 -28
- package/dist/chunks/{location-service-map-tqd8qkp8.js → credential-4t549gag.js} +15 -15
- package/dist/chunks/{location-service-map-cvxnh4ee.js → credential-4x37hr07.js} +32 -32
- package/dist/chunks/{location-service-map-86ywxagw.js → credential-4ygq0zje.js} +21 -21
- package/dist/chunks/{location-service-map-hp2c8qqy.js → credential-4zp3m0y7.js} +20 -20
- package/dist/chunks/{location-service-map-k82ca1ea.js → credential-508p55fx.js} +18 -18
- package/dist/chunks/{location-service-map-a3r4dcrj.js → credential-51jra4mh.js} +2 -2
- package/dist/chunks/{location-service-map-1dxctdcm.js → credential-57nrd0dc.js} +2 -2
- package/dist/chunks/{location-service-map-v27f6r8c.js → credential-5apets8e.js} +5 -5
- package/dist/chunks/{location-service-map-a1bz86dw.js → credential-5c4hm403.js} +3 -3
- package/dist/chunks/{location-service-map-nbzsj80d.js → credential-5cfjqfg7.js} +11 -11
- package/dist/chunks/{location-service-map-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-640j4mmj.js → credential-5dgyrznt.js} +16 -16
- package/dist/chunks/{location-service-map-9ehf71qq.js → credential-5gsz1cxq.js} +8 -8
- package/dist/chunks/{location-service-map-tpgz8nga.js → credential-5h89xv10.js} +3 -3
- package/dist/chunks/{location-service-map-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-vbdfzvsx.js → credential-5xwnfstc.js} +12 -12
- package/dist/chunks/{location-service-map-5yzzbxa7.js → credential-5yzzbxa7.js} +1 -1
- package/dist/chunks/{location-service-map-5c0f1prt.js → credential-64kphnzf.js} +4 -4
- package/dist/chunks/{location-service-map-2y1k1gba.js → credential-64p606dm.js} +4 -4
- package/dist/chunks/{location-service-map-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-0p0j0qmv.js → credential-68mh88x5.js} +11 -11
- package/dist/chunks/{location-service-map-hptwwzze.js → credential-6fr6g2j9.js} +29 -29
- package/dist/chunks/{location-service-map-rtn8v257.js → credential-6gewjzag.js} +10 -10
- package/dist/chunks/{location-service-map-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-t45ckn0p.js → credential-6mxat6pr.js} +25 -25
- package/dist/chunks/{location-service-map-6t76mbj1.js → credential-6tsskk3m.js} +20 -20
- package/dist/chunks/{location-service-map-g8xjpkgp.js → credential-6v4n8nt1.js} +20 -20
- package/dist/chunks/{location-service-map-jc0e05m4.js → credential-738narex.js} +4 -4
- package/dist/chunks/{location-service-map-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-0jwsre1p.js → credential-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-service-map-925vrtrr.js → credential-7eqb3hhp.js} +73 -73
- package/dist/chunks/{location-service-map-jexxy024.js → credential-7jdsj2a9.js} +2 -2
- package/dist/chunks/{location-service-map-3ythc6yv.js → credential-7z7az0f5.js} +4 -4
- package/dist/chunks/{location-service-map-ge51wycr.js → credential-81dmkzj2.js} +12 -12
- package/dist/chunks/{location-service-map-b1ve85my.js → credential-83sndckj.js} +21 -21
- package/dist/chunks/{location-service-map-few8y2yk.js → credential-83wkmbw3.js} +41 -41
- package/dist/chunks/{location-service-map-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-4x04b74d.js → credential-8eg2ksxv.js} +24 -24
- package/dist/chunks/{location-service-map-e6nzwyqe.js → credential-8jc16yv6.js} +13 -13
- package/dist/chunks/{location-service-map-ze5v0a14.js → credential-8mfdap3f.js} +8 -8
- package/dist/chunks/{location-service-map-e7jm4tva.js → credential-8pr7wmf3.js} +4 -4
- package/dist/chunks/{location-service-map-jxcxq7n9.js → credential-9e4nk0tq.js} +18 -18
- package/dist/chunks/{location-service-map-bxphfnmx.js → credential-9h1fa16h.js} +25 -25
- package/dist/chunks/{location-service-map-5h7r02gf.js → credential-9j72sgz6.js} +15 -15
- package/dist/chunks/{location-service-map-skzznzbs.js → credential-9kb0rfcz.js} +16 -16
- package/dist/chunks/{location-service-map-1mxmwp69.js → credential-9p1k4t37.js} +3 -3
- package/dist/chunks/credential-9s36ejp2.js +478 -0
- package/dist/chunks/{location-service-map-fswh39dv.js → credential-9zjppy0x.js} +19 -19
- package/dist/chunks/{location-service-map-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-8vqyqek3.js → credential-acm2yer0.js} +18 -18
- package/dist/chunks/{location-service-map-3ktf6c16.js → credential-aww5fh3f.js} +25 -25
- package/dist/chunks/{location-service-map-kqam0sgn.js → credential-b6cw5a0r.js} +9 -9
- package/dist/chunks/{location-service-map-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-xdqbkvnf.js → credential-b6q09cwq.js} +11 -11
- package/dist/chunks/{location-service-map-49jpjk9s.js → credential-bbde4wd0.js} +6 -6
- package/dist/chunks/{location-service-map-z90797js.js → credential-bd16h6cm.js} +18 -18
- package/dist/chunks/{location-service-map-8mydn4af.js → credential-bex791m1.js} +13 -13
- package/dist/chunks/{location-service-map-xk2zp1tj.js → credential-bfe3gwjm.js} +10 -10
- package/dist/chunks/{location-service-map-z2qbjhyn.js → credential-bgs9y14h.js} +5 -5
- package/dist/chunks/{location-service-map-vfgap0e3.js → credential-bgsk5sf6.js} +23 -23
- package/dist/chunks/{location-service-map-tf0d63vq.js → credential-bhbz1g28.js} +1 -1
- package/dist/chunks/{location-service-map-j39yv4t6.js → credential-bnhg3r2a.js} +12 -12
- package/dist/chunks/{location-service-map-vkmp5m69.js → credential-bpxxtvpb.js} +3 -3
- package/dist/chunks/credential-by5v678g.js +18 -0
- package/dist/chunks/{location-service-map-qxgazt95.js → credential-byrjk9ja.js} +9 -9
- package/dist/chunks/{location-service-map-bapar831.js → credential-c86qhz4v.js} +21 -21
- package/dist/chunks/{location-service-map-6vmhsyqb.js → credential-cx9swraq.js} +3 -3
- package/dist/chunks/{location-service-map-ycjb11n5.js → credential-d1mtykxg.js} +6 -6
- package/dist/chunks/{location-service-map-6x0h2hvg.js → credential-d9s573fh.js} +9 -9
- package/dist/chunks/{location-service-map-maj3cgsn.js → credential-dc33ykcf.js} +6 -6
- package/dist/chunks/{location-service-map-n4r3xatb.js → credential-ddt2bs9e.js} +4 -4
- package/dist/chunks/{location-service-map-t9zs3egg.js → credential-dfe8djrf.js} +4 -4
- package/dist/chunks/{location-service-map-8zqjmmsh.js → credential-dfgcgxez.js} +18 -18
- package/dist/chunks/{location-service-map-846nxxqf.js → credential-dgve2xzp.js} +23 -23
- package/dist/chunks/{location-service-map-8p4f9s12.js → credential-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-service-map-vna125x6.js → credential-dmsmn8n3.js} +26 -26
- package/dist/chunks/{location-service-map-sh4kyrrg.js → credential-dn50tt4t.js} +23 -23
- package/dist/chunks/{location-service-map-7srmk5ch.js → credential-dr1t5hnz.js} +11 -11
- package/dist/chunks/{location-service-map-drwq78ky.js → credential-drwq78ky.js} +1 -1
- package/dist/chunks/{location-service-map-3scja1h6.js → credential-dznngq2q.js} +6 -6
- package/dist/chunks/{location-service-map-6f0f08tp.js → credential-e1gfgpzq.js} +9 -9
- package/dist/chunks/{location-service-map-5qd3pb7m.js → credential-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-service-map-c3wvze55.js → credential-e5646j3d.js} +5 -5
- package/dist/chunks/{location-service-map-y6j1hny3.js → credential-e6jvw2we.js} +292 -292
- package/dist/chunks/{location-service-map-af5bf86k.js → credential-e6xxsv62.js} +11 -11
- package/dist/chunks/{location-service-map-njsjcp28.js → credential-e7tvk2tq.js} +14 -14
- package/dist/chunks/{location-service-map-82wag1nn.js → credential-e90yva4k.js} +8 -8
- package/dist/chunks/{location-service-map-nxhqveyz.js → credential-ea5hcw4s.js} +5 -5
- package/dist/chunks/{location-service-map-s8d7rejh.js → credential-eaj1djv9.js} +6 -6
- package/dist/chunks/{location-service-map-ef5x83kb.js → credential-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-txwwvtzy.js → credential-esaz05fm.js} +11 -11
- package/dist/chunks/{location-service-map-cpkf12cv.js → credential-esn92z5j.js} +7 -7
- package/dist/chunks/{location-service-map-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-3p0sb3hh.js → credential-ewh97b2b.js} +34 -34
- package/dist/chunks/{location-service-map-f8cghxbq.js → credential-f34svx4d.js} +18 -18
- package/dist/chunks/{location-service-map-jphv0zzy.js → credential-f5mgxjb1.js} +43 -43
- package/dist/chunks/{location-service-map-mpmzeszj.js → credential-f9tp8y98.js} +11 -11
- package/dist/chunks/{location-service-map-fkjmw100.js → credential-fkjmw100.js} +2 -2
- package/dist/chunks/{location-service-map-vr5gpa7d.js → credential-fmt9gx9z.js} +3 -3
- package/dist/chunks/{location-service-map-d802jrky.js → credential-fsh1gg8q.js} +17 -17
- package/dist/chunks/{location-service-map-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-vnsev666.js → credential-g4bkzb6c.js} +28 -28
- package/dist/chunks/{location-service-map-0jtkz3d8.js → credential-g7rb6ydv.js} +40 -40
- package/dist/chunks/{location-service-map-4nm3vjp9.js → credential-gccs2bwb.js} +8 -8
- package/dist/chunks/{location-service-map-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-bd0vgtef.js → credential-gj8zg189.js} +8 -8
- package/dist/chunks/{location-service-map-tgfqj0tj.js → credential-gmvdm7qq.js} +31 -31
- package/dist/chunks/{location-service-map-4f16ex7w.js → credential-gvqa5h3n.js} +24 -24
- package/dist/chunks/{location-service-map-my4p66pg.js → credential-gx61xvmr.js} +1 -1
- package/dist/chunks/{location-service-map-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-service-map-mddebm60.js → credential-h32de20b.js} +11 -11
- package/dist/chunks/{location-service-map-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-cv7j2z5n.js → credential-h6wsj49y.js} +20 -20
- package/dist/chunks/{location-service-map-gmk0dfms.js → credential-h774x8jn.js} +1 -1
- package/dist/chunks/{location-service-map-f828m53h.js → credential-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-service-map-3w8a90tt.js → credential-hebf1kxy.js} +24 -24
- package/dist/chunks/{location-service-map-bfmjpd91.js → credential-htz6nkmz.js} +9 -9
- package/dist/chunks/{location-service-map-txetpexz.js → credential-j1zf7whd.js} +24 -24
- package/dist/chunks/{location-service-map-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-t2fc4mz5.js → credential-jfqtm2ew.js} +4 -4
- package/dist/chunks/{location-service-map-k3gnzxs0.js → credential-jppvw2tx.js} +5 -5
- package/dist/chunks/{location-service-map-kn6hy8gg.js → credential-kbfsvxgx.js} +1 -1
- package/dist/chunks/{location-service-map-83trqwjq.js → credential-kd1cpg0d.js} +24 -21
- package/dist/chunks/{location-service-map-50mzsvk4.js → credential-kk00bynn.js} +21 -21
- package/dist/chunks/{location-service-map-eeaf82dq.js → credential-kk8h1mek.js} +8 -8
- package/dist/chunks/{location-service-map-jdmvfsrp.js → credential-kmfjf26x.js} +41 -41
- package/dist/chunks/{location-service-map-vvavc2qy.js → credential-kna91w2n.js} +9 -9
- package/dist/chunks/{location-service-map-s19nse04.js → credential-kzdc4nak.js} +24 -24
- package/dist/chunks/{location-service-map-cfpkc3c9.js → credential-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-service-map-m5wb1pe3.js → credential-m665a3h5.js} +5 -5
- package/dist/chunks/{location-service-map-advntn1d.js → credential-m9m18251.js} +4 -4
- package/dist/chunks/{location-service-map-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-6jqkynh6.js → credential-mkw2wvv0.js} +9 -9
- package/dist/chunks/{location-service-map-ybhbtxjg.js → credential-n9kbh9vm.js} +7 -7
- package/dist/chunks/{location-service-map-965hbsyz.js → credential-nb113zne.js} +10 -10
- package/dist/chunks/{location-service-map-21kebyyj.js → credential-nbehtjny.js} +39 -39
- package/dist/chunks/{location-service-map-265fjsnr.js → credential-nbj5kk3p.js} +40 -40
- package/dist/chunks/{location-service-map-apn8f15b.js → credential-nca7p386.js} +9 -9
- package/dist/chunks/{location-service-map-893gk64j.js → credential-nh00fgee.js} +11 -11
- package/dist/chunks/{location-service-map-3xkzj60s.js → credential-nx9y3xfj.js} +30 -30
- package/dist/chunks/{location-service-map-5feygex5.js → credential-ny7wh072.js} +18 -18
- package/dist/chunks/{location-service-map-bj7jfyvt.js → credential-p12fe6dj.js} +10 -10
- package/dist/chunks/{location-service-map-zdcb0bn4.js → credential-p55ry8ca.js} +3 -3
- package/dist/chunks/{location-service-map-m7wcydhj.js → credential-pab7612g.js} +18 -18
- package/dist/chunks/{location-service-map-h5dsj1en.js → credential-pamnnq1w.js} +9 -9
- package/dist/chunks/{location-service-map-7gs7ke07.js → credential-pf91bz7r.js} +27 -27
- package/dist/chunks/{location-service-map-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-mpp021qg.js → credential-pkvyjtqm.js} +22 -22
- package/dist/chunks/{location-service-map-5x83e8xj.js → credential-pq3mzx0q.js} +9 -9
- package/dist/chunks/{location-service-map-m1bkqzdr.js → credential-prx5v8cj.js} +19 -19
- package/dist/chunks/{location-service-map-510m7gjw.js → credential-psbrwbtd.js} +5 -5
- package/dist/chunks/{location-service-map-t622crrm.js → credential-pz6wpjec.js} +9 -9
- package/dist/chunks/{location-service-map-shj1fj37.js → credential-q6fm3z54.js} +11 -11
- package/dist/chunks/{location-service-map-ww40wncq.js → credential-qb62zmsn.js} +61 -61
- package/dist/chunks/{location-service-map-7wgre560.js → credential-qfrqt7ba.js} +38 -38
- package/dist/chunks/{location-service-map-z28g3w2g.js → credential-qhjfj27n.js} +45 -45
- package/dist/chunks/{location-service-map-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/credential-qsh95xcw.js +247 -0
- package/dist/chunks/{location-service-map-pf2hb43r.js → credential-qz49fwgp.js} +6 -6
- package/dist/chunks/{location-service-map-ds3cv58q.js → credential-r19fnxbw.js} +2 -2
- package/dist/chunks/{location-service-map-e6hwtmax.js → credential-r1y777cf.js} +24 -24
- package/dist/chunks/{location-service-map-r2m716tb.js → credential-r2m716tb.js} +2 -2
- package/dist/chunks/{location-service-map-ctfw7cdm.js → credential-r36d19v4.js} +47 -47
- package/dist/chunks/{location-service-map-7kbdqp21.js → credential-r7e4w6sk.js} +6 -6
- package/dist/chunks/{location-service-map-r9mregkx.js → credential-r9mregkx.js} +2 -2
- package/dist/chunks/{location-service-map-rdw6cm16.js → credential-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-anf0zms1.js → credential-rpjgfq5s.js} +9 -9
- package/dist/chunks/{location-service-map-zeh9ct20.js → credential-rq775frq.js} +2 -2
- package/dist/chunks/{location-service-map-h5bq1sb8.js → credential-rqp7cg88.js} +35 -35
- package/dist/chunks/{location-service-map-210szggt.js → credential-rynznh0p.js} +1 -1
- package/dist/chunks/{location-service-map-yrznvahk.js → credential-s4enseaf.js} +2 -2
- package/dist/chunks/{location-service-map-ndfbhgwr.js → credential-s6nyx2af.js} +11 -11
- package/dist/chunks/{location-service-map-545n52gg.js → credential-spyq2p40.js} +8 -8
- package/dist/chunks/{location-service-map-dc1t8cpf.js → credential-sr8e46fz.js} +18 -18
- package/dist/chunks/{location-service-map-b9280rn6.js → credential-sxtjcjkh.js} +15 -15
- package/dist/chunks/{location-service-map-qwjmgwmn.js → credential-t1dawjzh.js} +8 -8
- package/dist/chunks/{location-service-map-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-h08rb56n.js → credential-tc1y06w0.js} +8 -8
- package/dist/chunks/{location-service-map-tcezcvh9.js → credential-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-ngn15djb.js → credential-tckg6srr.js} +32 -32
- package/dist/chunks/{location-service-map-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-3dpqf97p.js → credential-tf6e7ykh.js} +9 -9
- package/dist/chunks/{location-service-map-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-xm1e10md.js → credential-v24739yc.js} +12 -12
- package/dist/chunks/{location-service-map-5mr0an5j.js → credential-v689wcn1.js} +25 -25
- package/dist/chunks/{location-service-map-v8p7hepz.js → credential-v8p7hepz.js} +1 -1
- package/dist/chunks/{location-service-map-mhhcsnwa.js → credential-vcr66jmq.js} +25 -25
- package/dist/chunks/{location-service-map-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-72x2kg6r.js → credential-vh8r7pqb.js} +9 -9
- package/dist/chunks/{location-service-map-82kbskjh.js → credential-vkw6eg78.js} +15 -15
- package/dist/chunks/{location-service-map-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-3fd5r0q9.js → credential-w4apwaf4.js} +7 -7
- package/dist/chunks/{location-service-map-ayehcz6v.js → credential-w5hdw20w.js} +14 -14
- package/dist/chunks/{location-service-map-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-4b77fr6c.js → credential-whtyrcz8.js} +9 -9
- package/dist/chunks/{location-service-map-rhafb4aa.js → credential-wn0ga2b8.js} +9 -9
- package/dist/chunks/{location-service-map-rjy43r9k.js → credential-ws1cv121.js} +44 -44
- package/dist/chunks/{location-service-map-95hnsnnf.js → credential-ww3m2m79.js} +8 -8
- package/dist/chunks/{location-service-map-zhq6vg7a.js → credential-wy8b5sm2.js} +1 -1
- package/dist/chunks/{location-service-map-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-7mq0cvq1.js → credential-x1md2fzm.js} +13 -13
- package/dist/chunks/{location-service-map-1mv8tc66.js → credential-x27zz9cf.js} +10 -10
- package/dist/chunks/{location-service-map-s7mj0cgm.js → credential-x2k6c1jf.js} +13 -13
- package/dist/chunks/{location-service-map-c323bbvp.js → credential-x3nvw3tt.js} +17 -17
- package/dist/chunks/{location-service-map-6tycdckt.js → credential-x8e4p6xd.js} +18 -18
- package/dist/chunks/{location-service-map-x1xexjmd.js → credential-xecgr4w2.js} +26 -26
- package/dist/chunks/{location-service-map-e02sbcgh.js → credential-xf4jyg83.js} +30 -30
- package/dist/chunks/{location-service-map-aqabytrz.js → credential-xgvhk45p.js} +15 -15
- package/dist/chunks/{location-service-map-ygrxvgeh.js → credential-xs6ytfqx.js} +83 -83
- package/dist/chunks/{location-service-map-gb5bdds1.js → credential-xvj7j57r.js} +12 -12
- package/dist/chunks/{location-service-map-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-0x3vynpm.js → credential-y1kk5z1y.js} +2 -2
- package/dist/chunks/{location-service-map-hfdr1yjj.js → credential-y31b318c.js} +4 -4
- package/dist/chunks/{location-service-map-y71avatq.js → credential-y71avatq.js} +1 -1
- package/dist/chunks/{location-service-map-t8qw8ht6.js → credential-yh4x4bcf.js} +4 -4
- package/dist/chunks/{location-service-map-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-gv6a8nnw.js → credential-yyb7tjpc.js} +2 -2
- package/dist/chunks/{location-service-map-4mymgcv0.js → credential-yypw0vbp.js} +4 -4
- package/dist/chunks/{location-service-map-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-my4qt5ka.js → credential-z2qvtray.js} +8 -8
- package/dist/chunks/{location-service-map-w3verbm1.js → credential-z7h5tktn.js} +23 -23
- package/dist/chunks/{location-service-map-af7ft6b2.js → credential-z7hh0hye.js} +9 -9
- package/dist/chunks/{location-service-map-h0xtcnwj.js → credential-ze0v8k2q.js} +16 -16
- package/dist/chunks/{location-service-map-snd73vvn.js → credential-zn7zem8s.js} +20 -20
- package/dist/chunks/{location-service-map-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-rrkwsne1.js → credential-zwsreqmt.js} +13 -13
- package/dist/chunks/{location-service-map-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- 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 +129 -129
- 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 +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- 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 +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +355 -355
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- 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 +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- 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 +99 -99
- 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 +119 -119
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- 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 +2 -2
- 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 +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +96 -96
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- 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 +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-service-map-24yjxnnb.js +0 -247
- package/dist/chunks/location-service-map-68wamef9.js +0 -26
- package/dist/chunks/location-service-map-6kdq0pjd.js +0 -4
- package/dist/chunks/location-service-map-rap9a73h.js +0 -18
- package/dist/chunks/location-service-map-vtcpxyf1.js +0 -478
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → credential-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./credential-1kf20zpt.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./credential-4zp3m0y7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./credential-ze0v8k2q.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin29
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin29 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service75;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service78;
|
|
42
|
+
const watcher = yield* Service65;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin29, exports_instruction };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./credential-v24739yc.js";
|
|
11
|
+
import {
|
|
8
12
|
Service78,
|
|
9
13
|
node82
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service76,
|
|
13
|
-
node80
|
|
14
|
-
} from "./location-service-map-h0xtcnwj.js";
|
|
14
|
+
} from "./credential-ze0v8k2q.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node45,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node45 = makeLocationNode({
|
|
144
|
+
service: Service42,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service42, Service42.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service55, Service55.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error2, Service42, node45, noopLayer3, exports_snapshot2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-yypw0vbp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service44,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node47
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service44 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer19 = Layer.effect(Service44, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service44.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node47 = makeLocationNode({
|
|
75
|
+
service: Service44,
|
|
76
|
+
layer: layer19,
|
|
77
77
|
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError5, ExecutionError2, Service44, layer19, node47, exports_command4, Event8 };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-yypw0vbp.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./credential-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event20,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options10,
|
|
30
|
-
Service: () =>
|
|
30
|
+
Service: () => Service75,
|
|
31
31
|
configured: () => configured11,
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
layer: () => layer25,
|
|
33
|
+
node: () => node79
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,8 +41,8 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event20 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options10 = Schema.Struct({
|
|
@@ -50,9 +50,9 @@ var Options10 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service75 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer25 = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service81;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service75.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service75,
|
|
110
|
+
layer: layer25(options),
|
|
111
111
|
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node79 = configured11();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event20, Options10, Service75, layer25, configured11, node79, exports_instruction_discovery };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-yypw0vbp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./credential-x27zz9cf.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service34,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-by5v678g.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-4fggj5wy.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service34,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
37
|
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service81;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service67;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service34.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -223,9 +223,9 @@ function slotInfo(slot) {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
var node18 = Node.makeLocationNode({
|
|
226
|
-
service:
|
|
226
|
+
service: Service34,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export { node18, exports_plugin2,
|
|
231
|
+
export { node18, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-7jdsj2a9.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-0bnjtszc.js";
|
|
4
4
|
import {
|
|
5
5
|
ID13
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-e6jvw2we.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./credential-v24739yc.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-yyb7tjpc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service80;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info24
|
|
6
|
+
} from "./credential-kk00bynn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info18
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info24)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info18 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info18, exports_agent4 };
|