@opencode/core 0.0.0-dev-19534 → 0.0.0-dev-19538
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{instance-qrv9jkw0.js → job-01r27nra.js} +35 -35
- package/dist/chunks/{instance-w1k39n5e.js → job-06dxphr1.js} +4 -4
- package/dist/chunks/{instance-9sgpzjef.js → job-0artwwxx.js} +3 -3
- package/dist/chunks/{instance-eaj1djv9.js → job-0gdmqesm.js} +8 -8
- package/dist/chunks/{instance-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-2058e169.js → job-0pb75hch.js} +5 -5
- package/dist/chunks/{instance-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-jdcmdwpy.js → job-12wf1z1v.js} +43 -43
- package/dist/chunks/{instance-fkeyvdvq.js → job-1aafjjmy.js} +15 -15
- package/dist/chunks/{instance-mhkvc446.js → job-1bbkgx8g.js} +3 -3
- package/dist/chunks/{instance-wjbfs02f.js → job-1cbk4m95.js} +12 -12
- package/dist/chunks/{instance-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-ffmkm4a1.js → job-1f18karc.js} +10 -10
- package/dist/chunks/{instance-zw4px37v.js → job-1h8wy6rp.js} +9 -9
- package/dist/chunks/{instance-mas080kb.js → job-1s86r2nk.js} +24 -24
- package/dist/chunks/{instance-8jpcqb93.js → job-1tzh7qsg.js} +7 -7
- package/dist/chunks/{instance-6g075mma.js → job-1v4bbw1w.js} +15 -15
- package/dist/chunks/{instance-wwxgbsbz.js → job-1x4rb0xf.js} +27 -27
- package/dist/chunks/{instance-dsqps89d.js → job-219neeqh.js} +5 -5
- package/dist/chunks/{instance-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{instance-6h73sxmp.js → job-2402vzrj.js} +5 -5
- package/dist/chunks/{instance-p158fnhc.js → job-265kqrgy.js} +1 -1
- package/dist/chunks/{instance-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-cpy6gm2a.js → job-2d57kztd.js} +6 -6
- package/dist/chunks/{instance-0abaznav.js → job-2ghf1d8t.js} +11 -11
- package/dist/chunks/{instance-ktrpwcmj.js → job-2gv9w80n.js} +28 -28
- package/dist/chunks/{instance-y04s71dd.js → job-2hmt10pc.js} +10 -10
- package/dist/chunks/{instance-ahj666nd.js → job-2hv6rtfk.js} +22 -22
- package/dist/chunks/job-2jb5v7tm.js +26 -0
- package/dist/chunks/{instance-hm0vq5pv.js → job-2vcs4n8f.js} +3 -3
- package/dist/chunks/{instance-0sd1vqbs.js → job-33n3bzdy.js} +8 -8
- package/dist/chunks/{instance-4ynbxhwa.js → job-35wynegs.js} +2 -2
- package/dist/chunks/{instance-szkd0rh8.js → job-39p1jspm.js} +28 -28
- package/dist/chunks/{instance-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-zqmn5v3j.js → job-3gv83b7t.js} +3 -3
- package/dist/chunks/{instance-s306m04m.js → job-3h8766hn.js} +29 -29
- package/dist/chunks/{instance-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-zxk3a5ya.js → job-3hww0q87.js} +16 -16
- package/dist/chunks/{instance-9jdakqgh.js → job-3mp8pt0x.js} +12 -12
- package/dist/chunks/{instance-ms6zz2z7.js → job-3r7hejq5.js} +6 -6
- package/dist/chunks/{instance-ppts8wj6.js → job-3rqd1sr0.js} +168 -168
- package/dist/chunks/{instance-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-evbgk2k8.js → job-3w0fmcng.js} +5 -5
- package/dist/chunks/{instance-xc2z67bd.js → job-41hc3ma8.js} +33 -33
- package/dist/chunks/{instance-crqm22ha.js → job-4cje3eb8.js} +27 -27
- package/dist/chunks/{instance-v6qe3axr.js → job-4cjxfwqn.js} +22 -22
- package/dist/chunks/{instance-hwh1rkay.js → job-4gx2v1gk.js} +1 -1
- package/dist/chunks/{instance-077frs0r.js → job-4hx14hj9.js} +45 -45
- package/dist/chunks/{instance-dsmf56r5.js → job-4qe7rp9p.js} +32 -32
- package/dist/chunks/{instance-8mfdap3f.js → job-4xhhjths.js} +8 -8
- package/dist/chunks/{instance-jt3awthr.js → job-53zdrc7w.js} +20 -20
- package/dist/chunks/{instance-n1wztqq6.js → job-58pw51yy.js} +2 -2
- package/dist/chunks/{instance-8pngxq2x.js → job-5c91nd8t.js} +63 -53
- package/dist/chunks/{instance-4wjenyrf.js → job-5cehzqsf.js} +8 -8
- package/dist/chunks/{instance-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-a87amfrb.js → job-5k817vsx.js} +18 -18
- package/dist/chunks/{instance-q37y8pzh.js → job-5px9q63z.js} +6 -6
- package/dist/chunks/{instance-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-zj91daq9.js → job-648q9dvv.js} +7 -7
- package/dist/chunks/{instance-rfnzy394.js → job-64ddj6v7.js} +2 -1
- package/dist/chunks/{instance-wff0fsen.js → job-65ymqtf8.js} +12 -12
- package/dist/chunks/{instance-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{instance-m8q66fhx.js → job-67byjnjd.js} +22 -22
- package/dist/chunks/{instance-4y9tcr33.js → job-6933ywkd.js} +4 -4
- package/dist/chunks/{instance-ysnr16h2.js → job-6h3xmmfj.js} +5 -5
- package/dist/chunks/{instance-6bs146ke.js → job-6jrat8e1.js} +11 -11
- package/dist/chunks/job-6kdq0pjd.js +4 -0
- package/dist/chunks/{instance-v959rz5t.js → job-6mjv2hgg.js} +52 -47
- package/dist/chunks/{instance-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-jrmw633n.js → job-6vgv5es6.js} +40 -40
- package/dist/chunks/{instance-4mtmdvvs.js → job-70d2s7af.js} +1 -1
- package/dist/chunks/{instance-71q4at8m.js → job-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-0jwsre1p.js → job-7dqw4kz8.js} +5 -5
- package/dist/chunks/{instance-vhpnwbtv.js → job-7gscs43p.js} +9 -9
- package/dist/chunks/{instance-x0511brf.js → job-7j92jdde.js} +4 -4
- package/dist/chunks/{instance-59tg1zst.js → job-7n7cc3vm.js} +11 -11
- package/dist/chunks/{instance-sd8jf01k.js → job-80e13nyn.js} +45 -45
- package/dist/chunks/{instance-jcdjcvs3.js → job-84aps5my.js} +14 -14
- package/dist/chunks/{instance-et93avek.js → job-8657wa92.js} +35 -35
- package/dist/chunks/{instance-fzz1ppzm.js → job-88emgjyy.js} +4 -4
- package/dist/chunks/{instance-18m52mtj.js → job-88vd3pdq.js} +7 -7
- package/dist/chunks/{instance-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-brr4je6w.js → job-8eytcxxn.js} +56 -56
- package/dist/chunks/{instance-zkgpxht6.js → job-8fjqb3kx.js} +33 -33
- package/dist/chunks/{instance-7eqw23j0.js → job-8g4pmx6v.js} +22 -22
- package/dist/chunks/{instance-w0vm987p.js → job-8j67439b.js} +18 -18
- package/dist/chunks/{instance-8p4f9s12.js → job-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-k2fwtv3q.js → job-8pnsnrrh.js} +30 -30
- package/dist/chunks/{instance-r2a731gx.js → job-8v5484d6.js} +28 -28
- package/dist/chunks/{instance-49znd8f1.js → job-8yjy7zng.js} +12 -12
- package/dist/chunks/{instance-xfhpfhcq.js → job-98dg3375.js} +10 -10
- package/dist/chunks/{instance-1hyf0ktd.js → job-9gddqbe1.js} +10 -10
- package/dist/chunks/{instance-j05tstgr.js → job-9jrdgtty.js} +7 -7
- package/dist/chunks/{instance-a1bz86dw.js → job-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-s8610hey.js → job-a3r4dcrj.js} +2 -2
- package/dist/chunks/{instance-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-wz08xtb3.js → job-abebd5qx.js} +11 -11
- package/dist/chunks/{instance-hr4s56nq.js → job-aec3nrfr.js} +6 -6
- package/dist/chunks/{instance-x29z2qdk.js → job-amgske17.js} +8 -8
- package/dist/chunks/{instance-4ke460w0.js → job-ap99qs88.js} +6 -6
- package/dist/chunks/{instance-5y8f29st.js → job-b11403r6.js} +4 -4
- package/dist/chunks/{instance-kfwk9abm.js → job-b21rrpfv.js} +11 -11
- package/dist/chunks/{instance-tm3aynyn.js → job-b3wvxjn9.js} +5 -5
- package/dist/chunks/{instance-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-s5x2zc6x.js → job-b6s3feyn.js} +35 -35
- package/dist/chunks/{instance-74kakqs8.js → job-b89ddxb9.js} +11 -11
- package/dist/chunks/{instance-dfe8djrf.js → job-bct739vz.js} +4 -4
- package/dist/chunks/{instance-jkss6wm2.js → job-bw5kd9bz.js} +5 -5
- package/dist/chunks/job-c1165j3g.js +97 -0
- package/dist/chunks/{instance-n9e2wtx3.js → job-c3s2gn8c.js} +14 -14
- package/dist/chunks/{instance-qfp8jhvv.js → job-c7ppp6eb.js} +11 -11
- package/dist/chunks/{instance-khtf6mmp.js → job-c9y5ammp.js} +15 -15
- package/dist/chunks/{instance-f3ngv102.js → job-cavr175a.js} +4 -4
- package/dist/chunks/{instance-cfpkc3c9.js → job-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-nmvzevtd.js → job-cmg4q0z4.js} +28 -28
- package/dist/chunks/{instance-sc4tqsmf.js → job-ctbj8s8t.js} +3 -3
- package/dist/chunks/{instance-589kjr7t.js → job-cvtmmhw6.js} +1 -1
- package/dist/chunks/{instance-ge07fpfq.js → job-danc237s.js} +18 -18
- package/dist/chunks/{instance-ksm8qgky.js → job-deft6591.js} +17 -17
- package/dist/chunks/{instance-7w3s9kd0.js → job-dg5bcj4q.js} +6 -6
- package/dist/chunks/{instance-jz5e1h2x.js → job-dkh98w8h.js} +11 -11
- package/dist/chunks/{instance-mrmqa233.js → job-dkk4x6n7.js} +23 -23
- package/dist/chunks/{instance-30fpt7d8.js → job-dxttfc41.js} +19 -19
- package/dist/chunks/{instance-9re9gz6x.js → job-e00600n7.js} +41 -41
- package/dist/chunks/{instance-tpwhemzj.js → job-e2s7qp6r.js} +8 -8
- package/dist/chunks/{instance-4y66k410.js → job-e5nv3ght.js} +12 -5
- package/dist/chunks/{instance-m12hp6p6.js → job-eatkrtr4.js} +3 -3
- package/dist/chunks/{instance-t6m2b78x.js → job-eh9f57h6.js} +16 -16
- package/dist/chunks/{instance-s4anq1bw.js → job-emzsebxx.js} +8 -8
- package/dist/chunks/{instance-wgfjmyz3.js → job-eq6c3fte.js} +4 -4
- package/dist/chunks/{instance-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-jdnk733p.js → job-ewzk1mjh.js} +8 -8
- package/dist/chunks/{instance-7v41m4wd.js → job-ey45p7wh.js} +11 -11
- package/dist/chunks/{instance-f8sfb1xa.js → job-f1av08zj.js} +40 -40
- package/dist/chunks/{instance-f828m53h.js → job-f828m53h.js} +2 -2
- package/dist/chunks/{instance-s6rdw9cv.js → job-fcqf1svs.js} +35 -35
- package/dist/chunks/{instance-ff0htmxq.js → job-ff0htmxq.js} +1 -1
- package/dist/chunks/{instance-nb7nmgvz.js → job-ff7kr3aa.js} +24 -24
- package/dist/chunks/{instance-1zve1bt4.js → job-fnfzg2pd.js} +15 -15
- package/dist/chunks/{instance-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-j45z0d2g.js → job-fyd8j9ny.js} +43 -43
- package/dist/chunks/{instance-6m7ah50x.js → job-fz5grztf.js} +50 -50
- package/dist/chunks/{instance-b6ep1pm6.js → job-fzs11x6f.js} +26 -26
- package/dist/chunks/{instance-aj39p006.js → job-g8jasmdt.js} +8 -8
- package/dist/chunks/{instance-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-kd6cd96s.js → job-gfr26vqf.js} +7 -7
- package/dist/chunks/{instance-h3ze76he.js → job-gsxh9p0t.js} +37 -37
- package/dist/chunks/{instance-th5km1p3.js → job-gv6a8nnw.js} +5 -5
- package/dist/chunks/{instance-sf78ewy2.js → job-gv9pfq09.js} +12 -12
- package/dist/chunks/{instance-2thcngqe.js → job-gvp81x5g.js} +6 -6
- package/dist/chunks/{instance-h03wrkyp.js → job-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-pa3etj8g.js → job-h6tgnsmw.js} +22 -22
- package/dist/chunks/{instance-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-3ty1xk5k.js → job-he3yj4ej.js} +20 -20
- package/dist/chunks/{instance-tvr5b4nb.js → job-hsrz4baj.js} +144 -144
- package/dist/chunks/{instance-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-2f04pwep.js → job-jexxy024.js} +3 -3
- package/dist/chunks/{instance-qs8d7aj9.js → job-jfa9ssce.js} +17 -17
- package/dist/chunks/{instance-3nkjqr9x.js → job-jgjp3csz.js} +22 -22
- package/dist/chunks/{instance-sjj51s39.js → job-jgks5tvc.js} +12 -12
- package/dist/chunks/{instance-2tejnjr3.js → job-jsbnbka6.js} +22 -22
- package/dist/chunks/{instance-bj3v68q1.js → job-jyt8k1ng.js} +15 -15
- package/dist/chunks/{instance-8c9swfss.js → job-k9m849z2.js} +22 -22
- package/dist/chunks/{instance-gebtr55s.js → job-kerhshr9.js} +5 -5
- package/dist/chunks/{instance-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-a8bqn5yt.js → job-kz0zrsdg.js} +36 -36
- package/dist/chunks/{instance-zhvt86hw.js → job-m1g6hraw.js} +22 -22
- package/dist/chunks/{instance-x00kfhzj.js → job-m22jsh4r.js} +24 -24
- package/dist/chunks/{instance-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-1ygqh575.js → job-mfqp6xfm.js} +6 -6
- package/dist/chunks/{instance-tgpvw10p.js → job-mshp27fg.js} +57 -57
- package/dist/chunks/{instance-czsydm57.js → job-mz6ae2yf.js} +1 -1
- package/dist/chunks/{instance-47hhq3zq.js → job-n1nx5qrt.js} +12 -12
- package/dist/chunks/job-n95b3jav.js +18 -0
- package/dist/chunks/{instance-zwr6jnh9.js → job-n9mcyk9d.js} +32 -32
- package/dist/chunks/{instance-wqzt12sf.js → job-ne989dng.js} +9 -9
- package/dist/chunks/{instance-3tgmx32j.js → job-ngx9j5n7.js} +24 -24
- package/dist/chunks/{instance-e82z9tr0.js → job-nhy5jxhy.js} +7 -7
- package/dist/chunks/{instance-30nr01v3.js → job-nq0ndpqh.js} +43 -43
- package/dist/chunks/{instance-dc76j9wz.js → job-nsakjb9f.js} +8 -8
- package/dist/chunks/{instance-6kyz0a76.js → job-nv5vn7qx.js} +4 -4
- package/dist/chunks/{instance-zb0xp5tz.js → job-nvez6yjy.js} +52 -52
- package/dist/chunks/{instance-9yfkjt1j.js → job-p2k8yj8g.js} +17 -17
- package/dist/chunks/{instance-nxhqveyz.js → job-p44d8wdy.js} +5 -5
- package/dist/chunks/{instance-ma4f0nak.js → job-p855jt3d.js} +103 -81
- package/dist/chunks/{instance-78hrhebc.js → job-pf4ag2jn.js} +32 -32
- package/dist/chunks/{instance-m5m2byhr.js → job-ph6t2mdm.js} +22 -22
- package/dist/chunks/{instance-bnhb7h7f.js → job-phr9a6m0.js} +47 -47
- package/dist/chunks/{instance-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{instance-gsx0ryk4.js → job-pnv527nz.js} +8 -8
- package/dist/chunks/{instance-hjemtx2f.js → job-ppt7x97n.js} +17 -17
- package/dist/chunks/{instance-hm8j68en.js → job-pq3g4fff.js} +15 -15
- package/dist/chunks/{instance-eq4db09p.js → job-pqd1mzxt.js} +9 -9
- package/dist/chunks/{instance-hwgmy1nm.js → job-q0kqdcn6.js} +26 -26
- package/dist/chunks/{instance-7v6by9j4.js → job-qgp8zp4q.js} +19 -19
- package/dist/chunks/{instance-6h27bn5w.js → job-qmajteq1.js} +32 -32
- package/dist/chunks/{instance-352tpct4.js → job-qqb9cay3.js} +9 -9
- package/dist/chunks/{instance-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-18a2pysf.js → job-qw4e7zjd.js} +11 -11
- package/dist/chunks/{instance-hvk2zzdp.js → job-r9asyhme.js} +11 -11
- package/dist/chunks/{instance-r9mregkx.js → job-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-5kptn8c0.js → job-r9njkn2h.js} +9 -9
- package/dist/chunks/{instance-hhpg67wv.js → job-rnvsv9qp.js} +16 -16
- package/dist/chunks/{instance-e6fbjzxh.js → job-rr4zqxht.js} +4 -4
- package/dist/chunks/{instance-s534qmrw.js → job-rrbca1ec.js} +4 -4
- package/dist/chunks/{instance-9sykqfhs.js → job-rxz6bkw1.js} +30 -30
- package/dist/chunks/{instance-9rh10xn7.js → job-s2fmxq2z.js} +15 -15
- package/dist/chunks/{instance-k3w9pyjp.js → job-s2hj7ecj.js} +30 -30
- package/dist/chunks/{instance-bj76rwak.js → job-s6yfxd82.js} +4 -4
- package/dist/chunks/{instance-a49gwv9f.js → job-sapgmee8.js} +23 -23
- package/dist/chunks/{instance-ehsjxd89.js → job-sm6yf0t5.js} +11 -11
- package/dist/chunks/{instance-vq6d4f9t.js → job-sn2spq71.js} +7 -7
- package/dist/chunks/{instance-jk7d0xqf.js → job-spgf7rnz.js} +25 -25
- package/dist/chunks/{instance-7jvvdg0x.js → job-swm5zkc7.js} +5 -5
- package/dist/chunks/{instance-zawdfknb.js → job-t08rskcp.js} +15 -15
- package/dist/chunks/{instance-a1vd6fmj.js → job-t1aepcmv.js} +13 -13
- package/dist/chunks/{instance-ryr25ayn.js → job-t2fc4mz5.js} +4 -4
- package/dist/chunks/{instance-t6msp11s.js → job-t6msp11s.js} +6 -6
- package/dist/chunks/{instance-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{instance-ry70a8ab.js → job-tdzxd4bd.js} +20 -20
- package/dist/chunks/{instance-fse7rtey.js → job-tpt4bxfs.js} +29 -29
- package/dist/chunks/{instance-844ef7ks.js → job-tpw6cwsb.js} +8 -8
- package/dist/chunks/{instance-xmpmw2y9.js → job-ttmf09qd.js} +13 -13
- package/dist/chunks/{instance-49mwhrch.js → job-tvgvanca.js} +289 -289
- package/dist/chunks/{instance-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-81swgkk7.js → job-v33xfvcj.js} +9 -9
- package/dist/chunks/{instance-q8ym26hm.js → job-v84z85pp.js} +17 -17
- package/dist/chunks/{instance-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-0wwk8qy8.js → job-vffpsvvj.js} +32 -32
- package/dist/chunks/{instance-tepr8r90.js → job-vjh8skme.js} +20 -20
- package/dist/chunks/{instance-bha4atvq.js → job-vkxpz7g2.js} +4 -4
- package/dist/chunks/{instance-w8k1vx9m.js → job-vqgqqns8.js} +22 -22
- package/dist/chunks/{instance-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-s1gmqbbk.js → job-w03hw2zf.js} +86 -86
- package/dist/chunks/{instance-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-gy5rmdef.js → job-w49xm5fj.js} +8 -8
- package/dist/chunks/{instance-c65nyfd6.js → job-w5rrqgbp.js} +14 -14
- package/dist/chunks/{instance-wd417eq1.js → job-w6qfaagh.js} +19 -19
- package/dist/chunks/{instance-6dqngfzp.js → job-wa3vagtd.js} +15 -15
- package/dist/chunks/{instance-nqzv378d.js → job-wavq5vqb.js} +1 -1
- package/dist/chunks/{instance-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{instance-9stf0hh1.js → job-wj89kg96.js} +6 -6
- package/dist/chunks/{instance-jwx4y25k.js → job-wk5z6jzv.js} +8 -8
- package/dist/chunks/{instance-19fjytac.js → job-wrcewy4h.js} +7 -7
- package/dist/chunks/{instance-gta3557x.js → job-wtpfsk05.js} +29 -29
- package/dist/chunks/{instance-bqd65yq9.js → job-x1ayndpw.js} +24 -24
- package/dist/chunks/{instance-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-hjxnkxtx.js → job-x4g0zs73.js} +18 -18
- package/dist/chunks/{instance-vyzx2pth.js → job-x5zgdsqq.js} +68 -68
- package/dist/chunks/{instance-7m5f9412.js → job-x8gz1y8e.js} +8 -8
- package/dist/chunks/{instance-4a78e0wa.js → job-xhx1a2a8.js} +23 -23
- package/dist/chunks/{instance-26dqpnyf.js → job-xnhhv6qr.js} +20 -20
- package/dist/chunks/{instance-7r8t4fpa.js → job-xnqrd04x.js} +13 -13
- package/dist/chunks/{instance-j3hv29nc.js → job-xpkcfpne.js} +23 -23
- package/dist/chunks/{instance-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{instance-3ashx2pw.js → job-y7g06hay.js} +14 -14
- package/dist/chunks/{instance-7p797550.js → job-ybhbtxjg.js} +6 -6
- package/dist/chunks/{instance-k7zsd5ak.js → job-ycejwvtx.js} +14 -14
- package/dist/chunks/{instance-ga40b4gm.js → job-yexcygsh.js} +27 -27
- package/dist/chunks/{instance-qn4ba14w.js → job-yjptyezs.js} +5 -5
- package/dist/chunks/{instance-1cktbp28.js → job-yn9ekfaz.js} +4 -4
- package/dist/chunks/{instance-f2n192rq.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{instance-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-hkarw1k5.js → job-z0v4hsh2.js} +9 -9
- package/dist/chunks/{instance-0db600np.js → job-z2ndz56e.js} +10 -10
- package/dist/chunks/{instance-d4a1x9xy.js → job-z2yhn1jz.js} +7 -7
- package/dist/chunks/{instance-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-f6hmajbj.js → job-zcrm4481.js} +10 -10
- package/dist/chunks/{instance-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-43n1y3kk.js → job-zrk62573.js} +19 -19
- package/dist/chunks/{instance-jvf3yq6v.js → job-zvt5dnpc.js} +4 -4
- package/dist/chunks/{instance-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +79 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -118
- package/dist/config/plugin/command.js +212 -210
- package/dist/config/plugin/compaction.js +157 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -118
- package/dist/config/plugin/image.js +117 -116
- package/dist/config/plugin/instruction.js +87 -86
- package/dist/config/plugin/location-watcher.js +119 -118
- package/dist/config/plugin/mcp.js +126 -125
- package/dist/config/plugin/policy.js +116 -115
- package/dist/config/plugin/provider.js +115 -114
- package/dist/config/plugin/reference.js +119 -118
- package/dist/config/plugin/shell.js +118 -117
- package/dist/config/plugin/skill-file.js +99 -98
- package/dist/config/plugin/skill.js +138 -137
- package/dist/config/plugin/snapshot.js +117 -116
- package/dist/config/plugin/source.js +119 -118
- package/dist/config/plugin/tool-output.js +119 -118
- package/dist/config/plugin/websearch.js +115 -114
- package/dist/config/plugin/worktree.js +120 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -120
- 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 +357 -356
- 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 +90 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -91
- 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 +73 -73
- package/dist/file-access.js +101 -100
- package/dist/file-mutation.js +91 -90
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +224 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -92
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -95
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +8 -7
- 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 +3 -3
- 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 +1 -1
- package/dist/instance.js +350 -349
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -134
- package/dist/location-mutation.js +101 -100
- package/dist/location-service-map.js +85 -84
- package/dist/location-services.js +351 -350
- package/dist/location.js +86 -85
- package/dist/mcp/client.js +88 -87
- package/dist/mcp/index.js +105 -104
- package/dist/mcp/instructions.js +122 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +87 -87
- 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 -109
- 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 -100
- package/dist/plugin/command.js +98 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -343
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -113
- 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 +222 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -86
- package/dist/provider.js +7 -7
- 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 +94 -93
- package/dist/reference/instructions.js +82 -81
- package/dist/reference.js +86 -85
- package/dist/repository-cache.js +78 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -92
- package/dist/rpc.js +83 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -130
- package/dist/session/context.js +149 -148
- package/dist/session/diff.js +94 -0
- 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 +222 -220
- package/dist/session/execution.js +124 -123
- package/dist/session/generate.js +148 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -111
- package/dist/session/runner/step.js +123 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -170
- package/dist/session/shell.js +133 -132
- package/dist/session/skill.js +100 -99
- 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 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -152
- package/dist/session/to-session-error.js +109 -108
- package/dist/session/transfer.js +218 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -212
- 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 +9 -9
- package/dist/shell.js +135 -134
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -103
- package/dist/skill.js +107 -106
- package/dist/snapshot.js +88 -87
- 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 +121 -120
- package/dist/tool/plugin/edit.js +117 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -121
- package/dist/tool/plugin/grep.js +122 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -116
- package/dist/tool/plugin/question.js +98 -97
- package/dist/tool/plugin/read.js +123 -122
- package/dist/tool/plugin/shell.js +213 -211
- package/dist/tool/plugin/skill.js +108 -107
- package/dist/tool/plugin/subagent.js +217 -215
- package/dist/tool/plugin/webfetch.js +107 -106
- package/dist/tool/plugin/websearch.js +109 -108
- package/dist/tool/plugin/write.js +119 -118
- package/dist/tool/read-filesystem.js +98 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/diff.d.ts +48 -0
- package/dist/types/session/history.d.ts +40 -0
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +12 -1
- package/dist/types/session.d.ts +10 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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 +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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- 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 +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +8 -7
- package/dist/worktree/refresh.js +343 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -90
- package/package.json +8 -8
- package/dist/chunks/instance-0427wks3.js +0 -26
- package/dist/chunks/instance-1x11rq2a.js +0 -18
- package/dist/chunks/instance-z926abd4.js +0 -4
- /package/dist/chunks/{instance-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-paphc93g.js → job-paphc93g.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./job-gv9pfq09.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref2,
|
|
11
|
+
Service68,
|
|
12
|
+
node73
|
|
13
|
+
} from "./job-deft6591.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node23
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service19 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
42
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const location = yield* Service68;
|
|
45
|
+
const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service68, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service19.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node23 = makeLocationNode({ service: Service19, layer, deps: [node84, node73] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref2)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service19, node23, exports_rpc, define2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-3gv83b7t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./job-gv9pfq09.js";
|
|
7
7
|
import {
|
|
8
8
|
Service45
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-ff0htmxq.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service56
|
|
16
|
+
} from "./job-6mjv2hgg.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-ybhbtxjg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -44,10 +44,10 @@ import { Effect, Schema } from "effect";
|
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
45
|
const instances = yield* Service45;
|
|
46
46
|
const database = yield* Service80;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service56;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -75,12 +75,12 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
77
|
const instances = yield* Service45;
|
|
78
|
-
const bus = yield*
|
|
78
|
+
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service56;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node78
|
|
10
|
+
} from "./job-80e13nyn.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-jexxy024.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service47,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node50,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
websocket: options.websocket ?? false
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service73;
|
|
77
|
+
return Service47.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node50 = makeLocationNode({ service: Service47, layer, deps: [node78] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service47, resolved2, node50, exports_model };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./job-gv9pfq09.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node77
|
|
9
|
+
} from "./job-9gddqbe1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event16,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service71,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node76,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service71 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event16 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service72;
|
|
81
|
+
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event16.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service71.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event16.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event16.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node76 = makeGlobalNode({ service: Service71, layer, deps: [httpClient, node77, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service71, Event16, inspect2, resolve3, node76, exports_wellknown };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./job-gv9pfq09.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./job-41hc3ma8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-qmajteq1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-33n3bzdy.js";
|
|
17
17
|
import {
|
|
18
18
|
ID3,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-qgp8zp4q.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID14.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service79;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID14.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID18.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-jexxy024.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./job-4hx14hj9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service4
|
|
6
|
+
} from "./job-r9njkn2h.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service52;
|
|
26
|
+
const policy = yield* Service4;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin26 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_location_watcher2 };
|