@opencode/core 0.0.0-dev-19642 → 0.0.0-dev-19643
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 +78 -78
- 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-t9rs90mq.js → pty-04bs6xrx.js} +11 -11
- package/dist/chunks/{location-5trsz9mg.js → pty-04kq0c7x.js} +11 -11
- package/dist/chunks/{location-77cx0ag9.js → pty-0czgmh5m.js} +6 -6
- package/dist/chunks/{location-ptvmhbww.js → pty-0gdya7rn.js} +31 -31
- package/dist/chunks/{location-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-kgvs6344.js → pty-0pk2jhda.js} +15 -15
- package/dist/chunks/{location-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-q7tjfjkg.js → pty-15q9afzf.js} +15 -15
- package/dist/chunks/{location-87deq66t.js → pty-1603qf85.js} +6 -6
- package/dist/chunks/{location-qa3qhgw8.js → pty-19vf66h0.js} +4 -4
- package/dist/chunks/{location-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-t89gs4p7.js → pty-1dtwba70.js} +10 -10
- package/dist/chunks/{location-98agyze9.js → pty-1f50zkgk.js} +30 -30
- package/dist/chunks/{location-an394p75.js → pty-1rmrbrg3.js} +35 -35
- package/dist/chunks/{location-b4frb2y3.js → pty-1sfcqhhy.js} +19 -19
- package/dist/chunks/{location-bk6zst5d.js → pty-1t48jgda.js} +16 -16
- package/dist/chunks/{location-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-6d9c79xp.js → pty-22321kh4.js} +47 -47
- package/dist/chunks/{location-ke0dmmcw.js → pty-265qpxfd.js} +9 -9
- package/dist/chunks/{location-0560ktsj.js → pty-269wx4qw.js} +13 -13
- package/dist/chunks/{location-29x78va6.js → pty-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-1v2ecy8h.js → pty-2bx55675.js} +8 -8
- package/dist/chunks/{location-wckfp198.js → pty-2e6e6kva.js} +24 -24
- package/dist/chunks/{location-5zn0h1ac.js → pty-2jtkxc1j.js} +5 -5
- package/dist/chunks/{location-20m6xvm3.js → pty-2q9g3xfa.js} +7 -7
- package/dist/chunks/{location-y70yena6.js → pty-2qk91kwd.js} +46 -46
- package/dist/chunks/{location-b80qvjyn.js → pty-2tstmrdm.js} +24 -24
- package/dist/chunks/{location-evrvk863.js → pty-2zc1mzmv.js} +1 -1
- package/dist/chunks/{location-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-aet9ygne.js → pty-3fnq4smn.js} +22 -22
- package/dist/chunks/{location-2sm5km0b.js → pty-3gm7q0qp.js} +8 -8
- package/dist/chunks/{location-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-sz52d1qk.js → pty-3hvf1h1m.js} +36 -36
- package/dist/chunks/{location-3apyeffz.js → pty-3sd4rb0z.js} +30 -30
- package/dist/chunks/{location-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-hxm7e6ac.js → pty-3vt2r2mp.js} +13 -13
- package/dist/chunks/{location-84xgtnpg.js → pty-3ysc0688.js} +14 -14
- package/dist/chunks/pty-45th5jwr.js +18 -0
- package/dist/chunks/{location-96b9akrn.js → pty-47ms443m.js} +7 -7
- package/dist/chunks/{location-9s1y3sqz.js → pty-4c10g6d9.js} +35 -35
- package/dist/chunks/{location-ebe9bak5.js → pty-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-a3ftg8j6.js → pty-4nj4bn9q.js} +9 -9
- package/dist/chunks/{location-pyn48w4n.js → pty-4ph2weht.js} +17 -17
- package/dist/chunks/{location-5kgdvgf5.js → pty-4t14qv7d.js} +26 -26
- package/dist/chunks/{location-apya2hza.js → pty-4xat34hg.js} +19 -19
- package/dist/chunks/{location-z5r1kv61.js → pty-4y17mfxp.js} +16 -16
- package/dist/chunks/{location-nb3h35dd.js → pty-5273xt8y.js} +16 -16
- package/dist/chunks/{location-ybr7evyj.js → pty-560fm0yr.js} +20 -20
- package/dist/chunks/{location-wtyrbjce.js → pty-57jy6g3z.js} +5 -5
- package/dist/chunks/{location-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{location-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-vanjjjrm.js → pty-5dyx496h.js} +11 -11
- package/dist/chunks/{location-8k62qdcz.js → pty-5jymwptv.js} +18 -18
- package/dist/chunks/{location-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{location-rgtq0qy6.js → pty-6bymh0k8.js} +29 -29
- package/dist/chunks/{location-j3qk5xq3.js → pty-6c80fjdq.js} +9 -9
- package/dist/chunks/{location-yvmcjsry.js → pty-6da1v5x0.js} +1 -1
- package/dist/chunks/{location-4wjrfpfr.js → pty-6gdcyvbq.js} +34 -34
- package/dist/chunks/{location-6h73sxmp.js → pty-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-6ezq3ad5.js → pty-6jqjnndr.js} +23 -23
- package/dist/chunks/{location-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-gdfwdqg1.js → pty-6p272qmj.js} +20 -20
- package/dist/chunks/{location-ntaf7prd.js → pty-745a2tvp.js} +18 -18
- package/dist/chunks/{location-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-jva4mgym.js → pty-7j92jdde.js} +4 -4
- package/dist/chunks/{location-7hqq4yr5.js → pty-7k4h75n7.js} +5 -5
- package/dist/chunks/{location-t0gchcch.js → pty-7v7z07mj.js} +16 -16
- package/dist/chunks/{location-51eea56x.js → pty-7xdz4a7r.js} +10 -10
- package/dist/chunks/{location-b8hzf7nw.js → pty-7yygdjqk.js} +6 -6
- package/dist/chunks/{location-f5avtzec.js → pty-80nfq4qt.js} +14 -14
- package/dist/chunks/{location-57ez7d0k.js → pty-81swgkk7.js} +7 -7
- package/dist/chunks/{location-16jp76s9.js → pty-88zqydxa.js} +4 -4
- package/dist/chunks/{location-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-y6y1fb4b.js → pty-8dacsgkb.js} +25 -25
- package/dist/chunks/{location-fjs5xx1d.js → pty-8jmaqybk.js} +3 -3
- package/dist/chunks/{location-2hr5nhwa.js → pty-8s1fj8xg.js} +8 -8
- package/dist/chunks/{location-njekgcg0.js → pty-96apsh6e.js} +23 -23
- package/dist/chunks/{location-r8apmgv6.js → pty-96hebhth.js} +8 -8
- package/dist/chunks/{location-f4tgg2kc.js → pty-9c2qq6zd.js} +1 -1
- package/dist/chunks/{location-yqm0cks0.js → pty-9ej2vq3a.js} +47 -47
- package/dist/chunks/{location-zzvq861e.js → pty-9h7evhkc.js} +9 -9
- package/dist/chunks/{location-7a9xqb56.js → pty-9hm81gvk.js} +32 -32
- package/dist/chunks/{location-r7mqfzj6.js → pty-9q9yqw35.js} +27 -27
- package/dist/chunks/{location-vacs20e4.js → pty-9qvcdm02.js} +19 -19
- package/dist/chunks/{location-06jkk7ah.js → pty-9yp60h8y.js} +4 -4
- package/dist/chunks/{location-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-c9qmmsf5.js → pty-af9twatk.js} +5 -5
- package/dist/chunks/{location-q5gbzsgk.js → pty-afs310a1.js} +8 -8
- package/dist/chunks/{location-xj4s9w93.js → pty-apwz9w6v.js} +10 -10
- package/dist/chunks/pty-avkswajw.js +247 -0
- package/dist/chunks/{location-q8qvj88j.js → pty-b2yd8hps.js} +63 -63
- package/dist/chunks/{location-e5b7myd9.js → pty-b68c1mkf.js} +4 -4
- package/dist/chunks/{location-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-k42bcvs9.js → pty-b7a7q96r.js} +39 -39
- package/dist/chunks/{location-pd1sw0zy.js → pty-b98gxjfa.js} +25 -25
- package/dist/chunks/{location-43yrs188.js → pty-ba2esg0k.js} +32 -32
- package/dist/chunks/{location-pvrjs4yz.js → pty-bfddptag.js} +11 -11
- package/dist/chunks/{location-bnfttzv1.js → pty-bsd4kq7r.js} +31 -31
- package/dist/chunks/{location-ch13e4p5.js → pty-byg1vfgh.js} +87 -87
- package/dist/chunks/{location-k0hm0ppj.js → pty-bzv935yq.js} +8 -8
- package/dist/chunks/{location-wfwy58wd.js → pty-c1e8wyn8.js} +24 -24
- package/dist/chunks/{location-s6b4aker.js → pty-cbtxs2t3.js} +8 -8
- package/dist/chunks/{location-hvab6fp8.js → pty-ccxvsmm1.js} +27 -27
- package/dist/chunks/{location-bccb6npm.js → pty-csf2jhsg.js} +4 -4
- package/dist/chunks/{location-h5wzna0j.js → pty-cv016f9e.js} +11 -11
- package/dist/chunks/{location-xk7exet4.js → pty-d6493rm2.js} +5 -5
- package/dist/chunks/{location-4y72ap3v.js → pty-db54agdm.js} +5 -5
- package/dist/chunks/{location-ataz063g.js → pty-de14jcft.js} +16 -16
- package/dist/chunks/{location-5dx64r44.js → pty-dhwr7h25.js} +8 -8
- package/dist/chunks/{location-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-57b9ws8p.js → pty-drwq78ky.js} +5 -5
- package/dist/chunks/{location-7r7r939x.js → pty-dwax96b2.js} +2 -2
- package/dist/chunks/{location-ga80df03.js → pty-dxcwrgb8.js} +11 -11
- package/dist/chunks/{location-e5nv3ght.js → pty-e5nv3ght.js} +2 -2
- package/dist/chunks/pty-e6j17fg9.js +26 -0
- package/dist/chunks/{location-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-ez1qr559.js → pty-ep44vwp9.js} +3 -3
- package/dist/chunks/{location-3w83s82x.js → pty-es9gr8ew.js} +43 -43
- package/dist/chunks/{location-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-6e1xyr9h.js → pty-f8p08egg.js} +22 -22
- package/dist/chunks/{location-bajakh74.js → pty-fab8hzt3.js} +4 -4
- package/dist/chunks/{location-2k8khapm.js → pty-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-kjg745n7.js → pty-fgfv3zgn.js} +6 -6
- package/dist/chunks/{location-3tq5qxbk.js → pty-fkjmw100.js} +4 -4
- package/dist/chunks/{location-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-pzs0ev6d.js → pty-g01xz703.js} +18 -18
- package/dist/chunks/{location-0jv1ejcq.js → pty-g05fqrxf.js} +32 -32
- package/dist/chunks/{location-2kdpwj1f.js → pty-g1x4ag33.js} +6 -6
- package/dist/chunks/{location-4vzfa14d.js → pty-g7hs1n9w.js} +23 -23
- package/dist/chunks/{location-j27ga05e.js → pty-g8v17drp.js} +15 -15
- package/dist/chunks/pty-gbadjzag.js +4 -0
- package/dist/chunks/{location-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-bm4d4wv8.js → pty-gg1mvr65.js} +36 -36
- package/dist/chunks/{location-dw6r0y9k.js → pty-ghp6atvr.js} +16 -16
- package/dist/chunks/{location-et96cwk7.js → pty-gr74bzj8.js} +174 -174
- package/dist/chunks/{location-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-jhhychjc.js → pty-gvkqbys6.js} +10 -10
- package/dist/chunks/{location-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-mtj0w11y.js → pty-h55jx3fv.js} +4 -4
- package/dist/chunks/{location-m5970q9f.js → pty-h6g5nf3k.js} +9 -9
- package/dist/chunks/{location-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-510m7gjw.js → pty-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-m0y35jh4.js → pty-hx0tmcbf.js} +21 -21
- package/dist/chunks/{location-t4bxqr6c.js → pty-hy8cpyhv.js} +8 -8
- package/dist/chunks/{location-yjb6xngg.js → pty-j375qb82.js} +20 -20
- package/dist/chunks/{location-vkjtt5mp.js → pty-j3deyfsj.js} +8 -8
- package/dist/chunks/{location-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-wgsyq2g2.js → pty-ja4wy4ee.js} +3 -3
- package/dist/chunks/{location-nca7p386.js → pty-jbjr1a4g.js} +6 -6
- package/dist/chunks/{location-xa0zhpnz.js → pty-jjd03mtq.js} +25 -25
- package/dist/chunks/{location-9r7xpw87.js → pty-jjhhf8t1.js} +81 -81
- package/dist/chunks/{location-sg5fy40w.js → pty-knyjwg4b.js} +32 -32
- package/dist/chunks/{location-rzkgkfj2.js → pty-kzqcaydz.js} +8 -8
- package/dist/chunks/{location-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-563gk52j.js → pty-m3fvcdnn.js} +10 -10
- package/dist/chunks/{location-ngy3nxrq.js → pty-m4gv7951.js} +6 -6
- package/dist/chunks/{location-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-0h4w7d7c.js → pty-md73wrxd.js} +11 -11
- package/dist/chunks/{location-56gdpj1q.js → pty-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-hxr4ws4r.js → pty-mhaczvzm.js} +8 -8
- package/dist/chunks/{location-xv1g2w1w.js → pty-mhs55g1f.js} +39 -39
- package/dist/chunks/{location-r5x6zcsm.js → pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-mx09shfg.js → pty-n4nzzcpz.js} +12 -12
- package/dist/chunks/{location-2rphr397.js → pty-n4vcx0q5.js} +11 -11
- package/dist/chunks/{location-s988tmsk.js → pty-np9zq865.js} +25 -25
- package/dist/chunks/{location-7x2gvtfy.js → pty-nrk5vjbf.js} +5 -5
- package/dist/chunks/{location-5n6xmq0y.js → pty-nzz37pb4.js} +5 -5
- package/dist/chunks/{location-1ajx6rf5.js → pty-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-zvp4yy8h.js → pty-p49bz645.js} +14 -14
- package/dist/chunks/{location-sf4dfcqt.js → pty-p4w4r7dh.js} +17 -17
- package/dist/chunks/{location-qv6dpkjj.js → pty-p693jj1c.js} +4 -4
- package/dist/chunks/{location-9m52ezb2.js → pty-p796yvag.js} +47 -47
- package/dist/chunks/{location-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-ce87bwtv.js → pty-pmtnxrty.js} +27 -27
- package/dist/chunks/{location-37ea9c2d.js → pty-pnaxc6j9.js} +8 -8
- package/dist/chunks/{location-tgks2w6d.js → pty-prxmybba.js} +10 -10
- package/dist/chunks/{location-6mr3pvkp.js → pty-q0mc0b5w.js} +15 -15
- package/dist/chunks/{location-gfpndgpb.js → pty-q3hf676f.js} +37 -37
- package/dist/chunks/{location-ednp5hmx.js → pty-q6d53jre.js} +8 -8
- package/dist/chunks/{location-sx9refc1.js → pty-q7vngajz.js} +4 -4
- package/dist/chunks/{location-12wed8mm.js → pty-q90tpkk7.js} +11 -11
- package/dist/chunks/{location-zmy1vr96.js → pty-qe5ndvxn.js} +31 -31
- package/dist/chunks/{location-3qchzd5j.js → pty-qhbr658c.js} +10 -10
- package/dist/chunks/{location-qc88351s.js → pty-qpr8cphr.js} +26 -26
- package/dist/chunks/{location-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-f6y5ddnz.js → pty-qsrmn293.js} +14 -14
- package/dist/chunks/{location-8710dda9.js → pty-qt5k3wn1.js} +16 -16
- package/dist/chunks/{location-wnen7h7y.js → pty-qvn71t82.js} +43 -43
- package/dist/chunks/{location-cwa6csj7.js → pty-r2m716tb.js} +9 -9
- package/dist/chunks/{location-5xjbzt31.js → pty-r4c8zd7v.js} +20 -20
- package/dist/chunks/{location-yp2x3t23.js → pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-r9mregkx.js → pty-r9mregkx.js} +2 -2
- package/dist/chunks/{location-gwhebp1x.js → pty-rb2n45pq.js} +23 -23
- package/dist/chunks/{location-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-v1mb79rm.js → pty-rec5x2c9.js} +15 -15
- package/dist/chunks/{location-avc8n21j.js → pty-reqevd7p.js} +15 -15
- package/dist/chunks/{location-gaq06wk0.js → pty-rgy7ctyq.js} +6 -6
- package/dist/chunks/{location-t550f9t1.js → pty-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-1nzs1dt7.js → pty-rph3zd4r.js} +6 -6
- package/dist/chunks/{location-7zebv8z5.js → pty-rtjhe620.js} +13 -13
- package/dist/chunks/{location-aqbbe05p.js → pty-rx7f9tze.js} +3 -3
- package/dist/chunks/{location-j0rfc03s.js → pty-rxth5jgn.js} +3 -3
- package/dist/chunks/{location-ymez039j.js → pty-s3efxrkp.js} +8 -8
- package/dist/chunks/{location-s4enseaf.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{location-pe0jfpdy.js → pty-sc8yhsfz.js} +11 -11
- package/dist/chunks/{location-cfqzvftk.js → pty-st6vffwr.js} +25 -25
- package/dist/chunks/{location-2faw5ef7.js → pty-swye7zsf.js} +16 -16
- package/dist/chunks/{location-nq6ygtzk.js → pty-t1w33hkx.js} +24 -24
- package/dist/chunks/{location-6sbe3e33.js → pty-t63vnq2n.js} +18 -18
- package/dist/chunks/{location-y3smxrvk.js → pty-t918kx73.js} +17 -17
- package/dist/chunks/{location-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-tsr2crch.js → pty-tf51b0d7.js} +11 -11
- package/dist/chunks/{location-23e0sdpc.js → pty-tjyfaxz9.js} +3 -3
- package/dist/chunks/{location-6y0140gn.js → pty-tkdspmrw.js} +20 -20
- package/dist/chunks/{location-xsvdyt0s.js → pty-tpz8kgav.js} +13 -13
- package/dist/chunks/{location-ryt7pzqc.js → pty-ts2x07a1.js} +1 -1
- package/dist/chunks/{location-qq1336c3.js → pty-ttcg97r3.js} +5 -5
- package/dist/chunks/{location-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-s9swp5qq.js → pty-v5m3chc5.js} +17 -17
- package/dist/chunks/{location-94etgqzd.js → pty-v8qx4mjf.js} +10 -10
- package/dist/chunks/{location-w0ejc12g.js → pty-v9shy27a.js} +14 -14
- package/dist/chunks/{location-an7cqtb7.js → pty-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-sxzvkvgj.js → pty-ve6nm2s5.js} +6 -6
- package/dist/chunks/{location-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-50hhjvx3.js → pty-vh4jega5.js} +4 -4
- package/dist/chunks/{location-4mjrf905.js → pty-vjmzn78y.js} +6 -6
- package/dist/chunks/{location-2pnhn36q.js → pty-vsp1fds9.js} +4 -4
- package/dist/chunks/{location-a2jjt3bn.js → pty-vsv8ttad.js} +28 -28
- package/dist/chunks/{location-1medja8d.js → pty-vyq5g53q.js} +13 -13
- package/dist/chunks/{location-w1p3n6tm.js → pty-vyxkaerb.js} +3 -3
- package/dist/chunks/{location-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-13r97ts9.js → pty-vzvreeh0.js} +26 -26
- package/dist/chunks/{location-9kgqg1se.js → pty-w3k8r67b.js} +5 -5
- package/dist/chunks/{location-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-j1wra8w6.js → pty-wb1q4cb2.js} +9 -9
- package/dist/chunks/{location-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-f561ery6.js → pty-wgpcemkv.js} +14 -14
- package/dist/chunks/{location-r8ste1ck.js → pty-x0600czv.js} +2 -2
- package/dist/chunks/{location-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-jhq2w8nd.js → pty-xbvm8yz7.js} +16 -16
- package/dist/chunks/{location-k5jjywx3.js → pty-xcz499sa.js} +22 -22
- package/dist/chunks/{location-1qxzdp14.js → pty-xg627qy4.js} +35 -35
- package/dist/chunks/{location-ywkfy99j.js → pty-xk747vep.js} +9 -9
- package/dist/chunks/{location-f66j0bjc.js → pty-xp45px1z.js} +6 -6
- package/dist/chunks/{location-w27pm9me.js → pty-xqrhjvfz.js} +15 -15
- package/dist/chunks/{location-02khppbe.js → pty-y0mc46pw.js} +9 -9
- package/dist/chunks/{location-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-bzszcmd6.js → pty-y56erjdm.js} +9 -9
- package/dist/chunks/{location-70h1mw8z.js → pty-y9pa59c6.js} +311 -311
- package/dist/chunks/{location-9mek4kv0.js → pty-yg8nzkpe.js} +17 -17
- package/dist/chunks/{location-2czyrpcs.js → pty-yj0qx3n0.js} +13 -13
- package/dist/chunks/{location-5cxtm7bs.js → pty-yktp2w1r.js} +15 -15
- package/dist/chunks/{location-2rqy6js5.js → pty-ym31zdqs.js} +17 -17
- package/dist/chunks/{location-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mtft99cd.js → pty-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-d61der1w.js → pty-z0yx8wna.js} +25 -25
- package/dist/chunks/{location-3w2b2yj4.js → pty-z3pw5915.js} +5 -5
- package/dist/chunks/{location-wbakrcvj.js → pty-z94pkk3z.js} +10 -10
- package/dist/chunks/{location-06x8he3q.js → pty-zcrspsvn.js} +4 -4
- package/dist/chunks/{location-yty395xw.js → pty-zd7rxry8.js} +9 -9
- package/dist/chunks/{location-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-dc2d58h7.js → pty-zet8ehz1.js} +21 -21
- package/dist/chunks/{location-5x5d8tg1.js → pty-zm0k5bkg.js} +27 -27
- package/dist/chunks/{location-3f9dyp3c.js → pty-zper1j5h.js} +8 -8
- package/dist/chunks/{location-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-kw8thyfa.js → pty-zrqpdph7.js} +51 -51
- package/dist/chunks/{location-vc4e6k4r.js → pty-zt03gkt5.js} +4 -4
- package/dist/chunks/{location-bxf8tdej.js → pty-ztwfyng4.js} +4 -4
- package/dist/chunks/{location-zx93qmfr.js → pty-zw77fwag.js} +37 -37
- package/dist/chunks/{location-zxq2ej10.js → pty-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 +78 -78
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +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 +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-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 +124 -124
- 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 +95 -95
- 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 +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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 +3 -3
- package/dist/plugin/instance.js +5 -5
- 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 +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- 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 +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- 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 +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-0mesazry.js +0 -4
- package/dist/chunks/location-8pz1rfxz.js +0 -26
- package/dist/chunks/location-jbw61t34.js +0 -247
- package/dist/chunks/location-rap9a73h.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e3qxr5gk.js → pty-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-h55jx3fv.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event19
|
|
7
|
+
} from "./pty-vsv8ttad.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-np9zq865.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-1f50zkgk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID3,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-z0yx8wna.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -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",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.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)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID13.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID13.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
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);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-rxth5jgn.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-h55jx3fv.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-hy8cpyhv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service58,
|
|
21
|
+
node61
|
|
22
|
+
} from "./pty-p49bz645.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service21,
|
|
25
|
+
node24
|
|
26
|
+
} from "./pty-jjhhf8t1.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service11,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node13
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service11 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service81;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service21;
|
|
65
|
+
const store = yield* Service58;
|
|
66
66
|
const db = (yield* Service82).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service11.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node85, llmClient2,
|
|
150
|
+
var node13 = makeLocationNode({
|
|
151
|
+
service: Service11,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node85, llmClient2, node24, node61, node86]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service11, isUntitled2, layer7, node13, exports_title };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-h55jx3fv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./pty-de14jcft.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service58,
|
|
14
|
+
node61
|
|
15
|
+
} from "./pty-p49bz645.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service12,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service12 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service81;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service58;
|
|
41
|
+
const location = yield* Service75;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service12.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node85, FSUtil.node,
|
|
101
|
+
deps: [node85, FSUtil.node, node79, node61]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service12, node14, exports_instructions };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-rxth5jgn.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-h55jx3fv.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-e5nv3ght.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./pty-yg8nzkpe.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./pty-fab8hzt3.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./pty-80nfq4qt.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./pty-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./pty-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node23
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
458
458
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
459
459
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
461
|
+
var node23 = makeGlobalNode({ name: "session-projector", layer, deps: [node85, node86] });
|
|
462
462
|
|
|
463
|
-
export { SessionAlreadyProjected2,
|
|
463
|
+
export { SessionAlreadyProjected2, node23, exports_projector };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rxth5jgn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./pty-ve6nm2s5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-45th5jwr.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-csf2jhsg.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-hy8cpyhv.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-pmtnxrty.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service21
|
|
21
|
+
} from "./pty-jjhhf8t1.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service43;
|
|
36
36
|
const database = yield* Service82;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service21;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-h55jx3fv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./pty-zm0k5bkg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./pty-b98gxjfa.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./pty-n4nzzcpz.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-ja4wy4ee.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-88zqydxa.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-fgfv3zgn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service81;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service51;
|
|
58
|
+
const toolOutput = yield* Service62;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./pty-np9zq865.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service72;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./pty-ym31zdqs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service18
|
|
6
|
+
} from "./pty-byg1vfgh.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service18;
|
|
24
|
+
const jobs = yield* Service46;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make6 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|