@opencode/core 0.0.0-dev-19293 → 0.0.0-dev-19294
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{catalog-t550f9t1.js → persistent-pty-02nrjc1r.js} +8 -8
- package/dist/chunks/{catalog-nvrcv9cw.js → persistent-pty-05d6g4k8.js} +4 -4
- package/dist/chunks/{catalog-d596epm3.js → persistent-pty-0axathjs.js} +27 -27
- package/dist/chunks/{catalog-hht4gh2e.js → persistent-pty-0e5n0sf2.js} +24 -24
- package/dist/chunks/{catalog-d2aac7k2.js → persistent-pty-0f9afca0.js} +5 -5
- package/dist/chunks/{catalog-1dfhrqqs.js → persistent-pty-0hpxrkyb.js} +5 -5
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{catalog-24c1y031.js → persistent-pty-0myxtnrb.js} +17 -17
- package/dist/chunks/{catalog-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{catalog-t9zs3egg.js → persistent-pty-0v53mg2y.js} +4 -4
- package/dist/chunks/{catalog-ve7drzgd.js → persistent-pty-0x4wqcvz.js} +9 -9
- package/dist/chunks/{catalog-ar9ay40j.js → persistent-pty-145661wq.js} +25 -25
- package/dist/chunks/{catalog-yp2x3t23.js → persistent-pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{catalog-9avakp57.js → persistent-pty-1aypx7k6.js} +41 -41
- package/dist/chunks/{catalog-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{catalog-c0sgx4c0.js → persistent-pty-1g8atdmp.js} +14 -14
- package/dist/chunks/{catalog-ysvdnr04.js → persistent-pty-1r470mcr.js} +20 -20
- package/dist/chunks/{catalog-0996nyz8.js → persistent-pty-1tjg7tvh.js} +8 -8
- package/dist/chunks/{catalog-8qwstm95.js → persistent-pty-1wh7yt6v.js} +26 -26
- package/dist/chunks/{catalog-dgyrknrt.js → persistent-pty-1yrs7djp.js} +9 -9
- package/dist/chunks/{catalog-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-faj9g8h9.js → persistent-pty-22zc0h6z.js} +26 -26
- package/dist/chunks/{catalog-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{catalog-csdk6fpb.js → persistent-pty-2483rb3n.js} +171 -171
- package/dist/chunks/{catalog-edycvqhn.js → persistent-pty-24z3mw7y.js} +50 -50
- package/dist/chunks/{catalog-g5e9rtry.js → persistent-pty-28wyaaxp.js} +4 -4
- package/dist/chunks/{catalog-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{catalog-srb7sc6z.js → persistent-pty-2me1kph6.js} +27 -27
- package/dist/chunks/{catalog-d6xggxnc.js → persistent-pty-2pwhnswx.js} +20 -20
- package/dist/chunks/{catalog-kr0f3q28.js → persistent-pty-2qa1y7tr.js} +25 -25
- package/dist/chunks/{catalog-t1va49jq.js → persistent-pty-2qcb76fz.js} +1 -1
- package/dist/chunks/{catalog-c9004w5b.js → persistent-pty-2y9nvaw7.js} +10 -10
- package/dist/chunks/{catalog-9gqphhzc.js → persistent-pty-31nw0jmk.js} +13 -13
- package/dist/chunks/{catalog-1ygqh575.js → persistent-pty-33w4ejhs.js} +6 -6
- package/dist/chunks/{catalog-s5pqthp7.js → persistent-pty-35qwg6vj.js} +23 -23
- package/dist/chunks/{catalog-ans1jj8h.js → persistent-pty-393vybvf.js} +11 -11
- package/dist/chunks/{catalog-jaggdvfk.js → persistent-pty-3b234dxf.js} +13 -13
- package/dist/chunks/{catalog-mrb4trvw.js → persistent-pty-3dtz0ed4.js} +6 -6
- package/dist/chunks/{catalog-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{catalog-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-2k43fb76.js → persistent-pty-3jaapndc.js} +21 -21
- package/dist/chunks/{catalog-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-gt0cxfk7.js → persistent-pty-3trbxeqx.js} +1 -1
- package/dist/chunks/{catalog-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-w49382pb.js → persistent-pty-4c8bw516.js} +8 -8
- package/dist/chunks/{catalog-qhbn037j.js → persistent-pty-4gq97fz6.js} +4 -4
- package/dist/chunks/{catalog-a257t0jf.js → persistent-pty-4hbnwbp2.js} +17 -17
- package/dist/chunks/{catalog-ssvfzqqs.js → persistent-pty-4kr8d4zw.js} +6 -6
- package/dist/chunks/{catalog-9gj0xced.js → persistent-pty-50fwx2e7.js} +3 -3
- package/dist/chunks/{catalog-mhwe31bg.js → persistent-pty-519xp98s.js} +4 -4
- package/dist/chunks/{catalog-dj16x7mk.js → persistent-pty-554te78s.js} +9 -9
- package/dist/chunks/{catalog-0hkfnrqn.js → persistent-pty-5aqfxp9a.js} +4 -4
- package/dist/chunks/{catalog-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-97y0rmbn.js → persistent-pty-5p42pk8x.js} +4 -4
- package/dist/chunks/{catalog-2zekrh71.js → persistent-pty-5q7zd1pw.js} +2 -2
- package/dist/chunks/{catalog-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{catalog-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{catalog-nrbr496k.js → persistent-pty-6a88n1h6.js} +20 -20
- package/dist/chunks/{catalog-5cmxdwv8.js → persistent-pty-6bsje7ws.js} +3 -3
- package/dist/chunks/{catalog-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{catalog-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{catalog-acqgx470.js → persistent-pty-725dzfhf.js} +26 -26
- package/dist/chunks/{catalog-abtbdf59.js → persistent-pty-727hyhtj.js} +25 -25
- package/dist/chunks/{catalog-krkftj6y.js → persistent-pty-72p4sft2.js} +3 -3
- package/dist/chunks/{catalog-1bbkgx8g.js → persistent-pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{catalog-j99k1z0n.js → persistent-pty-774549wc.js} +17 -17
- package/dist/chunks/{catalog-dv1qgsyq.js → persistent-pty-7b15y959.js} +8 -8
- package/dist/chunks/{catalog-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-2z08a793.js → persistent-pty-7knmeq7j.js} +10 -10
- package/dist/chunks/{catalog-km7kbv75.js → persistent-pty-7s3mtrfk.js} +11 -11
- package/dist/chunks/{catalog-ywnd43xk.js → persistent-pty-80bgm7g6.js} +30 -30
- package/dist/chunks/{catalog-te1cag4t.js → persistent-pty-81swgkk7.js} +9 -9
- package/dist/chunks/{catalog-pvrjs4yz.js → persistent-pty-82zcy4t3.js} +11 -11
- package/dist/chunks/{catalog-c7ecgrk6.js → persistent-pty-84tssp1s.js} +6 -6
- package/dist/chunks/{catalog-88gw5xjn.js → persistent-pty-8d6twjaw.js} +29 -29
- package/dist/chunks/{catalog-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{catalog-xt1cn49a.js → persistent-pty-8gmzme5z.js} +15 -15
- package/dist/chunks/{catalog-39x7b3m8.js → persistent-pty-8j7660kb.js} +22 -22
- package/dist/chunks/{catalog-ccr570b8.js → persistent-pty-8kay7r51.js} +11 -11
- package/dist/chunks/{catalog-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{catalog-51vw2z6p.js → persistent-pty-8sfc32fj.js} +13 -13
- package/dist/chunks/{catalog-52qz24pd.js → persistent-pty-8sjbh9hv.js} +16 -16
- package/dist/chunks/{catalog-qbj7c7cb.js → persistent-pty-8y1r50ts.js} +10 -10
- package/dist/chunks/{catalog-prgkbevw.js → persistent-pty-8ygrg08v.js} +18 -18
- package/dist/chunks/{catalog-3tm95zy1.js → persistent-pty-9dgj6nfy.js} +36 -36
- package/dist/chunks/{catalog-bajakh74.js → persistent-pty-9gr8y5ys.js} +4 -4
- package/dist/chunks/{catalog-5nsrms9d.js → persistent-pty-9k2v62xn.js} +1 -1
- package/dist/chunks/{catalog-1cpcfx80.js → persistent-pty-9r9xaaca.js} +20 -20
- package/dist/chunks/{catalog-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{catalog-eaa5pbb8.js → persistent-pty-a8qvq7xc.js} +34 -34
- package/dist/chunks/{catalog-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-qj1xgd3c.js → persistent-pty-ac5bwv76.js} +16 -16
- package/dist/chunks/{catalog-2ksqe8bm.js → persistent-pty-atcvebh1.js} +26 -26
- package/dist/chunks/{catalog-7p0xeqwh.js → persistent-pty-b1er1a8h.js} +11 -11
- package/dist/chunks/{catalog-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-2ay0g0qq.js → persistent-pty-bbf85as9.js} +3 -3
- package/dist/chunks/{catalog-qj463mt0.js → persistent-pty-bbrn9wt5.js} +11 -11
- package/dist/chunks/{catalog-t39nz99n.js → persistent-pty-bgz3db1b.js} +24 -24
- package/dist/chunks/{catalog-dwvzh0g2.js → persistent-pty-bscb95cy.js} +6 -6
- package/dist/chunks/{catalog-1wasygzx.js → persistent-pty-bv075x5w.js} +20 -20
- package/dist/chunks/{catalog-9grwahz1.js → persistent-pty-c12qfpxz.js} +10 -10
- package/dist/chunks/{catalog-d7f95zz1.js → persistent-pty-c2bnm6k2.js} +5 -5
- package/dist/chunks/{catalog-wt5gx8pc.js → persistent-pty-cay3r0qb.js} +4 -4
- package/dist/chunks/{catalog-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{catalog-may0v2nw.js → persistent-pty-cjckq4v9.js} +7 -7
- package/dist/chunks/{catalog-pf2hb43r.js → persistent-pty-cpy6gm2a.js} +6 -6
- package/dist/chunks/{catalog-tzsxfahg.js → persistent-pty-cvjh1vra.js} +79 -79
- package/dist/chunks/{catalog-e4c51rkk.js → persistent-pty-d190jgse.js} +46 -46
- package/dist/chunks/{catalog-1w752csm.js → persistent-pty-daq6r9eg.js} +11 -11
- package/dist/chunks/{catalog-9cg0vjy1.js → persistent-pty-ddx3tg71.js} +8 -8
- package/dist/chunks/{catalog-c445fhf3.js → persistent-pty-djvjdepx.js} +9 -9
- package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
- package/dist/chunks/{catalog-ypakvq1d.js → persistent-pty-dxsf3nxk.js} +9 -9
- package/dist/chunks/{catalog-zvjefhv4.js → persistent-pty-dz79qsv0.js} +9 -9
- package/dist/chunks/{catalog-mjk9qewm.js → persistent-pty-e3xaa0tb.js} +30 -30
- package/dist/chunks/{catalog-18g40992.js → persistent-pty-ed4261w0.js} +26 -26
- package/dist/chunks/{catalog-k4w2jens.js → persistent-pty-ee2tbgw5.js} +32 -32
- package/dist/chunks/{catalog-4adfcvf6.js → persistent-pty-egg00cm7.js} +17 -17
- package/dist/chunks/{catalog-ksxmc9x1.js → persistent-pty-emjm2bea.js} +11 -11
- package/dist/chunks/{catalog-ca0dbqvs.js → persistent-pty-eqw6cy2w.js} +20 -20
- package/dist/chunks/{catalog-gea5s3cg.js → persistent-pty-es9s4w7e.js} +8 -8
- package/dist/chunks/{catalog-1wxb385z.js → persistent-pty-esdnemd6.js} +1 -1
- package/dist/chunks/{catalog-6r3a936t.js → persistent-pty-etks993p.js} +11 -11
- package/dist/chunks/{catalog-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{catalog-wst1zvrx.js → persistent-pty-ewy23wfq.js} +42 -42
- package/dist/chunks/{catalog-dzye6hzv.js → persistent-pty-f2serpxf.js} +16 -16
- package/dist/chunks/{catalog-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{catalog-54d6gwcz.js → persistent-pty-fg8ch49h.js} +6 -6
- package/dist/chunks/{catalog-q54czkb4.js → persistent-pty-fnw3hf31.js} +5 -5
- package/dist/chunks/{catalog-excxsdmh.js → persistent-pty-fp77m0kv.js} +18 -18
- package/dist/chunks/{catalog-jhetwysa.js → persistent-pty-fq1h1v14.js} +3 -3
- package/dist/chunks/{catalog-b292tk0n.js → persistent-pty-fthsm4kn.js} +7 -7
- package/dist/chunks/{catalog-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-nf7ftftm.js → persistent-pty-fyjrpq2n.js} +8 -8
- package/dist/chunks/{catalog-nf0n8mk0.js → persistent-pty-g2ym30wz.js} +18 -18
- package/dist/chunks/{catalog-xcm121yb.js → persistent-pty-g5w4gfvg.js} +20 -20
- package/dist/chunks/{catalog-1k3f52p2.js → persistent-pty-g9hjdpe6.js} +13 -13
- package/dist/chunks/{catalog-g69k0va6.js → persistent-pty-gb05bdzk.js} +14 -14
- package/dist/chunks/persistent-pty-gbs4gtrg.js +22 -0
- package/dist/chunks/{catalog-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-z5p80r6k.js → persistent-pty-gg09y051.js} +10 -10
- package/dist/chunks/{catalog-w77s52q3.js → persistent-pty-gkngn95s.js} +33 -33
- package/dist/chunks/{catalog-z9cfrxhp.js → persistent-pty-gqxm86at.js} +5 -5
- package/dist/chunks/{catalog-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{catalog-0ey1mef3.js → persistent-pty-gwzd8001.js} +16 -16
- package/dist/chunks/{catalog-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{catalog-t8mcaem5.js → persistent-pty-h2gyv3sg.js} +1 -1
- package/dist/chunks/{catalog-edf3pq06.js → persistent-pty-h44053qn.js} +24 -24
- package/dist/chunks/{catalog-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-pnv527nz.js → persistent-pty-h7ygw6q4.js} +9 -9
- package/dist/chunks/{catalog-wd3yn1fh.js → persistent-pty-h82fng87.js} +12 -12
- package/dist/chunks/{catalog-6mfzh3e7.js → persistent-pty-he62rfth.js} +19 -19
- package/dist/chunks/{catalog-cpf2fnne.js → persistent-pty-hghsks1n.js} +24 -24
- package/dist/chunks/{catalog-nhy5jxhy.js → persistent-pty-hjt4xg1x.js} +4 -4
- package/dist/chunks/{catalog-6rdksybb.js → persistent-pty-hphp9nwx.js} +41 -41
- package/dist/chunks/{catalog-bjmz90nh.js → persistent-pty-hrtnrbtk.js} +6 -6
- package/dist/chunks/{catalog-6ck2t1rv.js → persistent-pty-hrvd6t1f.js} +9 -9
- package/dist/chunks/{catalog-rp3r94qx.js → persistent-pty-ht8yq9j7.js} +22 -22
- package/dist/chunks/{catalog-pqh2nv3g.js → persistent-pty-j18gb1wk.js} +22 -22
- package/dist/chunks/{catalog-fe35mk0j.js → persistent-pty-j3s48atd.js} +19 -19
- package/dist/chunks/{catalog-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{catalog-nzhacs1j.js → persistent-pty-j67mtk5t.js} +17 -17
- package/dist/chunks/{catalog-t9eetm64.js → persistent-pty-j78cby75.js} +37 -37
- package/dist/chunks/{catalog-rn3bb77g.js → persistent-pty-jefma2gq.js} +10 -10
- package/dist/chunks/{catalog-vvccsdf3.js → persistent-pty-jkp0d30b.js} +6 -6
- package/dist/chunks/{catalog-hnr5yq9h.js → persistent-pty-jv01nqvq.js} +5 -5
- package/dist/chunks/{catalog-pb1eahw5.js → persistent-pty-k0gdq8ga.js} +5 -5
- package/dist/chunks/{catalog-hke3s7jr.js → persistent-pty-k0sa6emq.js} +21 -21
- package/dist/chunks/{catalog-3mp8pt0x.js → persistent-pty-k1557tdf.js} +12 -12
- package/dist/chunks/{catalog-csy5xrym.js → persistent-pty-k1v94gwx.js} +24 -24
- package/dist/chunks/persistent-pty-kfvq4etd.js +247 -0
- package/dist/chunks/{catalog-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-92azg307.js → persistent-pty-ma15yhyh.js} +5 -5
- package/dist/chunks/{catalog-7hd1tkd5.js → persistent-pty-mjkd0a6p.js} +43 -43
- package/dist/chunks/{catalog-mkcjrzeh.js → persistent-pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{catalog-sndgt87n.js → persistent-pty-mnza640n.js} +32 -32
- package/dist/chunks/{catalog-en74w496.js → persistent-pty-mrw4weg4.js} +5 -5
- package/dist/chunks/{catalog-86ta97sr.js → persistent-pty-mtfbgphn.js} +36 -36
- package/dist/chunks/{catalog-g4j3t0tj.js → persistent-pty-mv1w94an.js} +33 -33
- package/dist/chunks/{catalog-gtaebsa9.js → persistent-pty-mwm2dbc1.js} +11 -11
- package/dist/chunks/{catalog-rak93kx5.js → persistent-pty-nbjdr6xc.js} +15 -15
- package/dist/chunks/{catalog-dp3p8yg5.js → persistent-pty-ndf63s1d.js} +3 -3
- package/dist/chunks/{catalog-cfcv5f3g.js → persistent-pty-nh85wpnm.js} +6 -6
- package/dist/chunks/{catalog-939xhrtp.js → persistent-pty-nhvy51yq.js} +6 -6
- package/dist/chunks/{catalog-wfr4g6r5.js → persistent-pty-nnjk6rmq.js} +23 -23
- package/dist/chunks/{catalog-p8x9x2db.js → persistent-pty-nswt8hzj.js} +15 -15
- package/dist/chunks/{catalog-h09vyrzm.js → persistent-pty-ny46n6vj.js} +5 -5
- package/dist/chunks/{catalog-0wrmrbzm.js → persistent-pty-nzq16788.js} +41 -41
- package/dist/chunks/{catalog-8mgt1eky.js → persistent-pty-p3n7r4sc.js} +7 -7
- package/dist/chunks/{catalog-9pxrakc7.js → persistent-pty-p7t0e5yz.js} +25 -25
- package/dist/chunks/{catalog-zy3h4kss.js → persistent-pty-pa16je5z.js} +11 -11
- package/dist/chunks/{catalog-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-8p4ebb40.js → persistent-pty-pk6r85zh.js} +34 -34
- package/dist/chunks/{catalog-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-xycjtdwc.js → persistent-pty-pq4st5kv.js} +2 -2
- package/dist/chunks/{catalog-etfxbf6a.js → persistent-pty-pvm63170.js} +8 -8
- package/dist/chunks/{catalog-yr39kfap.js → persistent-pty-pxks3tta.js} +9 -9
- package/dist/chunks/{catalog-bt3s1erw.js → persistent-pty-q0xt3gns.js} +30 -30
- package/dist/chunks/{catalog-51e3a5p7.js → persistent-pty-q1a91n7k.js} +2 -2
- package/dist/chunks/{catalog-w2ema4db.js → persistent-pty-q6zxxt9y.js} +2 -2
- package/dist/chunks/{catalog-dtbh1kja.js → persistent-pty-qbhwnd5t.js} +10 -10
- package/dist/chunks/{catalog-3qvym81x.js → persistent-pty-qg9drey5.js} +20 -20
- package/dist/chunks/{catalog-cy61f422.js → persistent-pty-qhmak1gv.js} +32 -32
- package/dist/chunks/{catalog-magykp64.js → persistent-pty-qj8eh1ht.js} +4 -4
- package/dist/chunks/{catalog-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-7v8r240q.js → persistent-pty-qx5x1pzp.js} +15 -15
- package/dist/chunks/{catalog-ddaqz593.js → persistent-pty-qyvn9zey.js} +20 -20
- package/dist/chunks/{catalog-c9e1ae34.js → persistent-pty-qzqps7kt.js} +8 -8
- package/dist/chunks/{catalog-grgythxa.js → persistent-pty-r17k24qa.js} +8 -8
- package/dist/chunks/{catalog-193cyatj.js → persistent-pty-r2dp1cmd.js} +33 -33
- package/dist/chunks/{catalog-2tkr3zpy.js → persistent-pty-rcfc93g0.js} +14 -14
- package/dist/chunks/{catalog-4mkcvr19.js → persistent-pty-rs226bz6.js} +5 -5
- package/dist/chunks/{catalog-5c0f1prt.js → persistent-pty-rsdf2nvv.js} +4 -4
- package/dist/chunks/{catalog-2zpanxbg.js → persistent-pty-rv1159bt.js} +23 -23
- package/dist/chunks/{catalog-vmtxrkck.js → persistent-pty-rxv86vcs.js} +47 -47
- package/dist/chunks/{catalog-0gr7cw0d.js → persistent-pty-s0esgemt.js} +4 -4
- package/dist/chunks/{catalog-ze5v0a14.js → persistent-pty-s8bz6z4k.js} +8 -8
- package/dist/chunks/{catalog-qwvr7hcb.js → persistent-pty-sytjjnsv.js} +14 -14
- package/dist/chunks/{catalog-68qnkcyy.js → persistent-pty-t3xw15sj.js} +14 -14
- package/dist/chunks/{catalog-t7n9q6bq.js → persistent-pty-t7n9q6bq.js} +1 -1
- package/dist/chunks/{catalog-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{catalog-ppwr6x1h.js → persistent-pty-th9j4zfv.js} +57 -57
- package/dist/chunks/{catalog-fm2qvscf.js → persistent-pty-tkmwgdpd.js} +7 -7
- package/dist/chunks/{catalog-3w2b2yj4.js → persistent-pty-tn0aqsam.js} +5 -5
- package/dist/chunks/{catalog-kh42c52q.js → persistent-pty-tn6kcrep.js} +29 -29
- package/dist/chunks/{catalog-txr5ac4p.js → persistent-pty-trn6fzsq.js} +4 -4
- package/dist/chunks/{catalog-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{catalog-qqbwtt94.js → persistent-pty-tysjjvy9.js} +6 -6
- package/dist/chunks/{catalog-fvg72gxj.js → persistent-pty-v0wtswx9.js} +20 -20
- package/dist/chunks/{catalog-4bvz69k8.js → persistent-pty-v1qx6y19.js} +8 -8
- package/dist/chunks/{catalog-zxwpk2nb.js → persistent-pty-vabb23s0.js} +1 -1
- package/dist/chunks/{catalog-ey85gxkh.js → persistent-pty-vbqtc4fz.js} +19 -19
- package/dist/chunks/{catalog-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{catalog-83x6p9kd.js → persistent-pty-vypqtakx.js} +1 -1
- package/dist/chunks/{catalog-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{catalog-qxj1ffes.js → persistent-pty-w3jexmf5.js} +43 -43
- package/dist/chunks/{catalog-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-fz0j3gyq.js → persistent-pty-wed3qxc6.js} +5 -5
- package/dist/chunks/{catalog-z2kdtaq9.js → persistent-pty-wgmz4se6.js} +9 -9
- package/dist/chunks/{catalog-1fp9qa2y.js → persistent-pty-wp1zmha7.js} +13 -13
- package/dist/chunks/{catalog-yeqyw0z5.js → persistent-pty-ws5qfxv9.js} +9 -9
- package/dist/chunks/{catalog-npysrchg.js → persistent-pty-www25bj0.js} +11 -11
- package/dist/chunks/{catalog-dy775f0c.js → persistent-pty-wwxgka64.js} +11 -11
- package/dist/chunks/{catalog-b3t12aqp.js → persistent-pty-wx9wy1qm.js} +1 -1
- package/dist/chunks/{catalog-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-x43y2vfs.js → persistent-pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{catalog-qfj9a7dr.js → persistent-pty-x9y61efs.js} +21 -21
- package/dist/chunks/{catalog-ptvnqgxn.js → persistent-pty-xhqkdcr0.js} +2 -2
- package/dist/chunks/{catalog-ftzwncw9.js → persistent-pty-xr3qwqh4.js} +14 -14
- package/dist/chunks/{catalog-z8msdh7f.js → persistent-pty-xrdkskw0.js} +22 -22
- package/dist/chunks/{catalog-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-sy6rv79x.js → persistent-pty-y59nms7p.js} +35 -35
- package/dist/chunks/{catalog-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/persistent-pty-y7yp40hx.js +462 -0
- package/dist/chunks/{catalog-hm24pp5g.js → persistent-pty-y8p3zjbc.js} +6 -6
- package/dist/chunks/{catalog-08gjfv79.js → persistent-pty-y9g26qgq.js} +19 -19
- package/dist/chunks/{catalog-zhg5ad22.js → persistent-pty-ydvjgqzz.js} +24 -24
- package/dist/chunks/{catalog-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{catalog-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/persistent-pty-yxt3f3md.js +228 -0
- package/dist/chunks/{catalog-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{catalog-ngm87703.js → persistent-pty-z1hva277.js} +8 -8
- package/dist/chunks/{catalog-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{catalog-wz396vy4.js → persistent-pty-z7exr65g.js} +15 -15
- package/dist/chunks/{catalog-1c4tfhyw.js → persistent-pty-z807qtb6.js} +18 -18
- package/dist/chunks/{catalog-zx8e487a.js → persistent-pty-z9ftmr1k.js} +9 -9
- package/dist/chunks/{catalog-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{catalog-b2ajcddy.js → persistent-pty-zhakcjh9.js} +8 -8
- package/dist/chunks/{catalog-95tvtv7s.js → persistent-pty-zhbcekg2.js} +11 -11
- package/dist/chunks/{catalog-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{catalog-1vkx9ycq.js → persistent-pty-zr7f6xwe.js} +6 -6
- package/dist/chunks/{catalog-x0fpwzd0.js → persistent-pty-zxperdw5.js} +75 -75
- package/dist/chunks/{catalog-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{catalog-rmsvm9se.js → persistent-pty-zyrrefe2.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +122 -122
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +118 -5
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +210 -210
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +88 -88
- 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 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +5 -4
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/catalog-1tm0r3ht.js +0 -4
- package/dist/chunks/catalog-45th5jwr.js +0 -18
- package/dist/chunks/catalog-9d6qxf9c.js +0 -462
- package/dist/chunks/catalog-9vh5426k.js +0 -71
- package/dist/chunks/catalog-aeyh582h.js +0 -22
- package/dist/chunks/catalog-fq87a0m5.js +0 -247
- /package/dist/chunks/{catalog-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{catalog-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{catalog-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-paphc93g.js → persistent-pty-paphc93g.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-bbf85as9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-28wyaaxp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node51
|
|
12
|
+
} from "./persistent-pty-jkp0d30b.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node82
|
|
20
|
+
} from "./persistent-pty-hphp9nwx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref4
|
|
23
|
+
} from "./persistent-pty-4hbnwbp2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service75,
|
|
26
|
+
node80
|
|
27
|
+
} from "./persistent-pty-qbhwnd5t.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./persistent-pty-3dtz0ed4.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
38
|
Service45
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./persistent-pty-t7n9q6bq.js";
|
|
40
40
|
import {
|
|
41
41
|
Service65,
|
|
42
42
|
node69
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./persistent-pty-z1hva277.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
47
|
Service46,
|
|
48
48
|
node49,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./persistent-pty-0myxtnrb.js";
|
|
51
51
|
import {
|
|
52
52
|
Service44,
|
|
53
53
|
node48
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./persistent-pty-2me1kph6.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node33
|
|
57
|
+
} from "./persistent-pty-8ygrg08v.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service28,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node32
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
91
|
+
const projects = yield* Service77;
|
|
92
|
+
const locations = yield* Service75;
|
|
93
93
|
const store = yield* Service65;
|
|
94
94
|
const execution = yield* Service44;
|
|
95
|
-
const instances = yield*
|
|
95
|
+
const instances = yield* Service48;
|
|
96
96
|
const admission = yield* Service46;
|
|
97
97
|
const database = yield* Service80;
|
|
98
98
|
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref4.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
133
133
|
return true;
|
|
134
134
|
return yield* Service45.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service28.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node32 = makeGlobalNode({
|
|
167
|
+
service: Service28,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
node82,
|
|
173
|
+
node80,
|
|
174
174
|
node69,
|
|
175
175
|
node48,
|
|
176
|
-
|
|
176
|
+
node51,
|
|
177
177
|
node49,
|
|
178
178
|
node85,
|
|
179
179
|
node84,
|
|
180
|
-
|
|
180
|
+
node33
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node32, exports_move };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-bbf85as9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./persistent-pty-jkp0d30b.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-dxj72tfx.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-rsdf2nvv.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-es9s4w7e.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-qhmak1gv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./persistent-pty-cvjh1vra.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service48;
|
|
36
36
|
const database = yield* Service80;
|
|
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* Service29;
|
|
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 generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-28wyaaxp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service18,
|
|
6
|
+
Event4
|
|
7
|
+
} from "./persistent-pty-nnjk6rmq.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -14,7 +14,7 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
17
|
+
const modelsDev = yield* Service18;
|
|
18
18
|
const bus = yield* Service79;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
function environmentNames(provider) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./persistent-pty-4hbnwbp2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service76;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-hphp9nwx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node81
|
|
10
|
+
} from "./persistent-pty-4hbnwbp2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service64,
|
|
13
|
+
node68
|
|
14
|
+
} from "./persistent-pty-rxv86vcs.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node27,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service23 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service76;
|
|
61
|
+
const permission = yield* Service64;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service23.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [FSUtil.node, node81, node68] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service23, resolvePath2, node27, exports_file_access };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-84tssp1s.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID16.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-84tssp1s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./persistent-pty-p7t0e5yz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./persistent-pty-mjkd0a6p.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service56;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service51);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./persistent-pty-jefma2gq.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-qg9drey5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./persistent-pty-mjkd0a6p.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin23,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
424
424
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin23 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info9.make({
|
|
431
|
+
id: ID5.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info9.make({
|
|
438
|
+
id: ID5.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service51;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin23, exports_skill2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-bbf85as9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-28wyaaxp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./persistent-pty-jkp0d30b.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service60
|
|
16
|
+
} from "./persistent-pty-gkngn95s.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-3dtz0ed4.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service48;
|
|
46
46
|
const database = yield* Service80;
|
|
47
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* Service60;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service48;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service60;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID9.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, ID9.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|