@opencode/core 0.0.0-dev-20024 → 0.0.0-dev-20025
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-mutation-enrvee4b.js → kv-03zcn7km.js} +16 -16
- package/dist/chunks/{location-mutation-krrzbazv.js → kv-04tskj1d.js} +6 -6
- package/dist/chunks/{location-mutation-287swpq4.js → kv-0aw7dz0t.js} +44 -44
- package/dist/chunks/{location-mutation-ar5042nv.js → kv-0b6h44sv.js} +23 -23
- package/dist/chunks/kv-0d6ct406.js +503 -0
- package/dist/chunks/{location-mutation-y56ehv6b.js → kv-0jq9fyba.js} +9 -9
- package/dist/chunks/kv-0mesazry.js +4 -0
- package/dist/chunks/{location-mutation-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-6v9me7yx.js → kv-0z42gnwd.js} +22 -22
- package/dist/chunks/{location-mutation-4541pte3.js → kv-10jtetaj.js} +6 -6
- package/dist/chunks/{location-mutation-mzeaa52x.js → kv-14xcmtnt.js} +17 -17
- package/dist/chunks/{location-mutation-63x4799j.js → kv-17hzcrm0.js} +13 -13
- package/dist/chunks/{location-mutation-asscy6pk.js → kv-18ezz3e7.js} +24 -24
- package/dist/chunks/{location-mutation-73tb2d7t.js → kv-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-mutation-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mutation-5qgdv5h0.js → kv-1f9k274t.js} +32 -32
- package/dist/chunks/{location-mutation-7e2ke00k.js → kv-1gqe2a33.js} +29 -29
- package/dist/chunks/{location-mutation-ypxn8na5.js → kv-1v02azyb.js} +3 -3
- package/dist/chunks/{location-mutation-bgs9y14h.js → kv-1x75wf9g.js} +5 -5
- package/dist/chunks/{location-mutation-1ygqh575.js → kv-1ygqh575.js} +2 -2
- package/dist/chunks/{location-mutation-sa96sbyt.js → kv-2085ns88.js} +14 -14
- package/dist/chunks/{location-mutation-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-6h73sxmp.js → kv-2402vzrj.js} +5 -5
- package/dist/chunks/{location-mutation-11aw4bp1.js → kv-2499yhnb.js} +29 -29
- package/dist/chunks/{location-mutation-vbfgae2j.js → kv-277eer69.js} +4 -4
- package/dist/chunks/{location-mutation-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-rjxwg6my.js → kv-2fm1txxr.js} +26 -26
- package/dist/chunks/{location-mutation-05j4n1ws.js → kv-2hptpgkz.js} +18 -18
- package/dist/chunks/{location-mutation-krscvss0.js → kv-2ny4609t.js} +14 -14
- package/dist/chunks/{location-mutation-8sd99ncp.js → kv-31d7kfed.js} +3 -3
- package/dist/chunks/{location-mutation-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-07ha980f.js → kv-3gmnjn1e.js} +11 -11
- package/dist/chunks/{location-mutation-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-jvw73btf.js → kv-3k0jy8d1.js} +11 -11
- package/dist/chunks/{location-mutation-3mmzvcvq.js → kv-3mpqv36z.js} +28 -28
- package/dist/chunks/{location-mutation-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-37s12vcn.js → kv-3w0fmcng.js} +5 -5
- package/dist/chunks/{location-mutation-gmjjhz4f.js → kv-3zgzsr0q.js} +3 -3
- package/dist/chunks/{location-mutation-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-mutation-ygx1qhaf.js → kv-44bdxtcq.js} +1 -1
- package/dist/chunks/{location-mutation-mmr7bq34.js → kv-44ke2mar.js} +8 -8
- package/dist/chunks/{location-mutation-n03y2nvv.js → kv-48jv4090.js} +32 -32
- package/dist/chunks/{location-mutation-gdpzykdj.js → kv-4db76nbv.js} +10 -10
- package/dist/chunks/{location-mutation-wgt0n93c.js → kv-4f1gf0mj.js} +41 -41
- package/dist/chunks/{location-mutation-qhq4a865.js → kv-4nfmj2pa.js} +9 -9
- package/dist/chunks/{location-mutation-9pp8k1fj.js → kv-4pfvz1zp.js} +14 -14
- package/dist/chunks/{location-mutation-gh02xaqr.js → kv-4wxt30p3.js} +33 -33
- package/dist/chunks/{location-mutation-8fh4dspn.js → kv-50p05jhk.js} +28 -28
- package/dist/chunks/{location-mutation-m8ar47ek.js → kv-52094frg.js} +20 -20
- package/dist/chunks/kv-53x5pmg1.js +26 -0
- package/dist/chunks/{location-mutation-57ez7d0k.js → kv-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-mutation-mwvyrfwc.js → kv-5acpzame.js} +32 -32
- package/dist/chunks/{location-mutation-pa6qpeew.js → kv-5c7xdf35.js} +10 -10
- package/dist/chunks/{location-mutation-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-2znrjh5s.js → kv-5dayhn2v.js} +34 -34
- package/dist/chunks/{location-mutation-5ekn9679.js → kv-5ekn9679.js} +1 -1
- package/dist/chunks/{location-mutation-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-mutation-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{location-mutation-6a753ss8.js → kv-6d54emcz.js} +52 -52
- package/dist/chunks/{location-mutation-f0h3qbzs.js → kv-6dtbrkj0.js} +5 -5
- package/dist/chunks/{location-mutation-tkmwgdpd.js → kv-6hh8tjw2.js} +7 -7
- package/dist/chunks/{location-mutation-hsq7tvrb.js → kv-6j9fjes3.js} +22 -22
- package/dist/chunks/{location-mutation-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mutation-hgyg00rt.js → kv-6vaskwyw.js} +21 -21
- package/dist/chunks/{location-mutation-3m46hkaz.js → kv-6w5xh4x4.js} +2 -2
- package/dist/chunks/{location-mutation-p1zpfjkz.js → kv-6wr1j3sy.js} +12 -12
- package/dist/chunks/{location-mutation-4a6h4wrp.js → kv-6zdscwh2.js} +32 -32
- package/dist/chunks/{location-mutation-fxt475k0.js → kv-6zt78djw.js} +12 -12
- package/dist/chunks/{location-mutation-drrkymsn.js → kv-73b8rws5.js} +20 -20
- package/dist/chunks/{location-mutation-wz9pjx5y.js → kv-742d1swr.js} +26 -26
- package/dist/chunks/{location-mutation-r339gb8t.js → kv-74zt4j78.js} +5 -5
- package/dist/chunks/{location-mutation-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-j8rzd9ap.js → kv-7f4nfbjm.js} +12 -12
- package/dist/chunks/{location-mutation-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mutation-qw39grzm.js → kv-8n2kyc0a.js} +4 -4
- package/dist/chunks/{location-mutation-dj2t23y0.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-mutation-ydgy0jv4.js → kv-8q61w4ba.js} +8 -8
- package/dist/chunks/{location-mutation-5vdq9pgq.js → kv-8rqjran1.js} +22 -22
- package/dist/chunks/{location-mutation-b7btgvj5.js → kv-8v6rjhh5.js} +4 -4
- package/dist/chunks/{location-mutation-18fjsgbr.js → kv-8xsa2z82.js} +29 -29
- package/dist/chunks/{location-mutation-qaa2yvb1.js → kv-9065type.js} +25 -25
- package/dist/chunks/{location-mutation-frptvanx.js → kv-9b7gtj9m.js} +21 -21
- package/dist/chunks/{location-mutation-cn3vn15h.js → kv-9bqmh40y.js} +24 -24
- package/dist/chunks/{location-mutation-9tc9jvay.js → kv-9jgjgdd1.js} +84 -84
- package/dist/chunks/{location-mutation-jca4demv.js → kv-9jwxq161.js} +2 -2
- package/dist/chunks/{location-mutation-43q23gcr.js → kv-9mnxndb9.js} +9 -9
- package/dist/chunks/{location-mutation-5c4hm403.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-mutation-b97j21th.js → kv-a1dpd8an.js} +19 -19
- package/dist/chunks/{location-mutation-g2z23txw.js → kv-a8z9aywv.js} +32 -32
- package/dist/chunks/{location-mutation-6zprjfx5.js → kv-a9dbeg1s.js} +41 -41
- package/dist/chunks/{location-mutation-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-zkfs0tv5.js → kv-ab55kpvp.js} +45 -45
- package/dist/chunks/{location-mutation-y16p1w2y.js → kv-aej8eep8.js} +9 -9
- package/dist/chunks/{location-mutation-t3zkw3za.js → kv-ahg2fzmr.js} +17 -17
- package/dist/chunks/{location-mutation-rkfnr0xp.js → kv-b06qraw3.js} +1 -1
- package/dist/chunks/{location-mutation-w8qbsc09.js → kv-b0qgzce7.js} +24 -24
- package/dist/chunks/{location-mutation-fzw6kvvp.js → kv-b2k91mhf.js} +23 -23
- package/dist/chunks/{location-mutation-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-b5mcfzkp.js → kv-b7kqv799.js} +5 -5
- package/dist/chunks/{location-mutation-e6hmchc5.js → kv-bgxcxs0p.js} +5 -5
- package/dist/chunks/{location-mutation-jqe8c22f.js → kv-bk6ae5dx.js} +38 -38
- package/dist/chunks/{location-mutation-a8v3d86t.js → kv-btb98dpx.js} +11 -11
- package/dist/chunks/{location-mutation-n0tvqc4h.js → kv-btqa3k48.js} +11 -11
- package/dist/chunks/{location-mutation-cm78evcp.js → kv-bwf58ycy.js} +4 -4
- package/dist/chunks/{location-mutation-hptm3x45.js → kv-bx8h19nq.js} +51 -51
- package/dist/chunks/{location-mutation-41rytcpr.js → kv-by29td28.js} +11 -11
- package/dist/chunks/{location-mutation-jqcqaqk1.js → kv-c4v1hkzh.js} +6 -6
- package/dist/chunks/{location-mutation-fn652s59.js → kv-cbtw62a5.js} +13 -13
- package/dist/chunks/{location-mutation-m0jqrx5p.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-mutation-1dcx1n9a.js → kv-cg58rktj.js} +35 -35
- package/dist/chunks/{location-mutation-2y3whdx8.js → kv-cjgt99j3.js} +173 -173
- package/dist/chunks/{location-mutation-c765mh8b.js → kv-cpneeje0.js} +8 -8
- package/dist/chunks/kv-ctefx7dc.js +18 -0
- package/dist/chunks/{location-mutation-8w4b0w14.js → kv-cyets4p7.js} +28 -28
- package/dist/chunks/{location-mutation-yefjccnd.js → kv-cyrsd82e.js} +27 -27
- package/dist/chunks/{location-mutation-kansrtmv.js → kv-d5g8gbry.js} +21 -21
- package/dist/chunks/{location-mutation-965jek49.js → kv-d74pyvff.js} +7 -7
- package/dist/chunks/{location-mutation-crtwvk10.js → kv-djncmbp2.js} +14 -14
- package/dist/chunks/{location-mutation-8pt1jyw7.js → kv-dmwq5kqt.js} +19 -19
- package/dist/chunks/{location-mutation-65jmxcge.js → kv-dq2ts99x.js} +17 -17
- package/dist/chunks/{location-mutation-zja6ntk0.js → kv-dq6dnsx7.js} +11 -11
- package/dist/chunks/{location-mutation-rvsn1kwz.js → kv-dqrd5jg2.js} +29 -29
- package/dist/chunks/{location-mutation-1xykv8xw.js → kv-e03c71z8.js} +10 -10
- package/dist/chunks/{location-mutation-3k04zyzs.js → kv-e5ndp2dx.js} +11 -11
- package/dist/chunks/{location-mutation-y9vcbm1p.js → kv-e5tcccaa.js} +11 -11
- package/dist/chunks/{location-mutation-8r1zxxnv.js → kv-e7w4bzfp.js} +13 -13
- package/dist/chunks/{location-mutation-ec87kc5z.js → kv-ec87kc5z.js} +1 -1
- package/dist/chunks/{location-mutation-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-mutation-kwyenn5c.js → kv-ep7hvg3f.js} +23 -23
- package/dist/chunks/{location-mutation-760hvg9h.js → kv-eqk40qcs.js} +3 -3
- package/dist/chunks/{location-mutation-erw5rpbs.js → kv-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-mutation-h6syajn5.js → kv-etdwcn18.js} +3 -3
- package/dist/chunks/{location-mutation-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mutation-sj6hyns7.js → kv-eyjms8xz.js} +44 -44
- package/dist/chunks/{location-mutation-2n6xcrtw.js → kv-f447m1fr.js} +15 -15
- package/dist/chunks/{location-mutation-5ntswbj3.js → kv-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-mutation-hdnk95c8.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{location-mutation-c2h7be1y.js → kv-fm57n0ag.js} +8 -8
- package/dist/chunks/{location-mutation-he6wdzpy.js → kv-fzz5a1bx.js} +9 -9
- package/dist/chunks/{location-mutation-g190xswt.js → kv-g190xswt.js} +1 -1
- package/dist/chunks/{location-mutation-8ank75fn.js → kv-g1sxm558.js} +8 -8
- package/dist/chunks/{location-mutation-cxds2wxd.js → kv-g2t41m45.js} +20 -20
- package/dist/chunks/{location-mutation-ver2men6.js → kv-g3dp65zv.js} +10 -10
- package/dist/chunks/{location-mutation-s9s562vb.js → kv-g7rwz86d.js} +19 -19
- package/dist/chunks/{location-mutation-4j809b3d.js → kv-gbwwsy1c.js} +13 -13
- package/dist/chunks/{location-mutation-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-jt89ckk3.js → kv-gfb2xgah.js} +9 -9
- package/dist/chunks/{location-mutation-ja93bcmn.js → kv-gh6rxzv3.js} +12 -12
- package/dist/chunks/{location-mutation-qt5asz00.js → kv-gnezz7kq.js} +22 -22
- package/dist/chunks/{location-mutation-3emyecbb.js → kv-gqb9mtgp.js} +88 -88
- package/dist/chunks/{location-mutation-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-mutation-h69yr78q.js → kv-gxa50yrh.js} +18 -18
- package/dist/chunks/{location-mutation-t1w7zdgx.js → kv-h0gywk7f.js} +17 -17
- package/dist/chunks/{location-mutation-cpj0znwe.js → kv-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-mutation-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-zcqf6png.js → kv-h896pcm5.js} +6 -6
- package/dist/chunks/{location-mutation-ye6tmwz4.js → kv-hc50k08t.js} +9 -9
- package/dist/chunks/{location-mutation-t7ph3h46.js → kv-hdmd1s5h.js} +11 -11
- package/dist/chunks/{location-mutation-q7tj62n7.js → kv-hf4dxjes.js} +33 -33
- package/dist/chunks/{location-mutation-3c4e3q8d.js → kv-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-mutation-vry9y5h5.js → kv-hx22bhvn.js} +23 -23
- package/dist/chunks/{location-mutation-gseev5jd.js → kv-hzed07nt.js} +6 -6
- package/dist/chunks/{location-mutation-9pajzaat.js → kv-j3cbebdz.js} +13 -13
- package/dist/chunks/{location-mutation-xsytrpqt.js → kv-j3h20tjh.js} +6 -6
- package/dist/chunks/{location-mutation-pnv527nz.js → kv-j3s2z371.js} +9 -9
- package/dist/chunks/{location-mutation-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{location-mutation-2gp9g042.js → kv-j6bphecn.js} +17 -17
- package/dist/chunks/{location-mutation-fy2r6802.js → kv-j710vash.js} +12 -12
- package/dist/chunks/{location-mutation-xpk8r8b8.js → kv-jea42s8g.js} +25 -25
- package/dist/chunks/{location-mutation-z58mz0mp.js → kv-jg5nd6aq.js} +25 -25
- package/dist/chunks/{location-mutation-j4g6bjqf.js → kv-jqb7tdaw.js} +8 -8
- package/dist/chunks/{location-mutation-r9vycjg2.js → kv-jte7tjff.js} +11 -11
- package/dist/chunks/{location-mutation-r46pqq1s.js → kv-jtg3fve7.js} +7 -7
- package/dist/chunks/{location-mutation-415g09m0.js → kv-jymhh06g.js} +10 -10
- package/dist/chunks/{location-mutation-nzks3jc8.js → kv-k3c624dm.js} +3 -3
- package/dist/chunks/{location-mutation-etdfdz9n.js → kv-kahgbyje.js} +17 -17
- package/dist/chunks/{location-mutation-gw3jpy4y.js → kv-kghsa48y.js} +19 -19
- package/dist/chunks/{location-mutation-avzvtmgr.js → kv-ks1687eg.js} +30 -30
- package/dist/chunks/{location-mutation-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-mutation-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/kv-mkcktwrm.js +252 -0
- package/dist/chunks/{location-mutation-9m8se1t0.js → kv-mmt72t0k.js} +13 -13
- package/dist/chunks/{location-mutation-ks0b5fhh.js → kv-mqdxs2wn.js} +10 -10
- package/dist/chunks/{location-mutation-bj3p2s8f.js → kv-mrn44fwv.js} +35 -35
- package/dist/chunks/{location-mutation-kp86r9b3.js → kv-mzd4qxry.js} +32 -32
- package/dist/chunks/{location-mutation-a1r0sk56.js → kv-na3wjac3.js} +8 -8
- package/dist/chunks/{location-mutation-a3kw06th.js → kv-nby32ptr.js} +29 -29
- package/dist/chunks/{location-mutation-2d57kztd.js → kv-nqnxh7mc.js} +6 -6
- package/dist/chunks/{location-mutation-3cawfvg9.js → kv-nxw95max.js} +16 -16
- package/dist/chunks/{location-mutation-9v8wx44b.js → kv-nyh2ypn1.js} +8 -8
- package/dist/chunks/{location-mutation-cpmmh3r9.js → kv-p0aq747x.js} +11 -11
- package/dist/chunks/{location-mutation-c1df4dj7.js → kv-p1aa38cv.js} +22 -22
- package/dist/chunks/{location-mutation-pa8pe2x7.js → kv-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-mutation-eqxdc8mp.js → kv-pckzp1dd.js} +2 -2
- package/dist/chunks/{location-mutation-8f5p4pwe.js → kv-pe889297.js} +34 -34
- package/dist/chunks/{location-mutation-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-sd4hb3jk.js → kv-pnapwefn.js} +47 -47
- package/dist/chunks/{location-mutation-83dgf92e.js → kv-pv9k352q.js} +7 -7
- package/dist/chunks/{location-mutation-xyqjfxv0.js → kv-q9qfx9t0.js} +21 -21
- package/dist/chunks/{location-mutation-c9kahmjr.js → kv-qcaxkbzb.js} +23 -23
- package/dist/chunks/{location-mutation-qdbakdjh.js → kv-qdbakdjh.js} +2 -2
- package/dist/chunks/{location-mutation-qgn6gcr1.js → kv-qgn6gcr1.js} +1 -1
- package/dist/chunks/{location-mutation-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-0e212dhy.js → kv-qy6w65wj.js} +3 -3
- package/dist/chunks/{location-mutation-qxt041pa.js → kv-r9ds02vs.js} +25 -25
- package/dist/chunks/{location-mutation-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-mutation-xv8bhmcn.js → kv-rjq8wmvv.js} +15 -15
- package/dist/chunks/{location-mutation-sgtdr5xd.js → kv-rv6yjsw0.js} +5 -5
- package/dist/chunks/{location-mutation-d4yhjfbe.js → kv-rwjqg74r.js} +32 -32
- package/dist/chunks/{location-mutation-zq3deerb.js → kv-rx89pc2r.js} +47 -47
- package/dist/chunks/{location-mutation-rc523c8n.js → kv-ryr1zws9.js} +33 -33
- package/dist/chunks/{location-mutation-02nrjc1r.js → kv-s8d7rejh.js} +8 -8
- package/dist/chunks/{location-mutation-818pfwc9.js → kv-saaf3fxb.js} +6 -6
- package/dist/chunks/{location-mutation-5jx0ywhf.js → kv-saj8ej6e.js} +11 -11
- package/dist/chunks/{location-mutation-yf8gt2v7.js → kv-scpwyfk8.js} +22 -22
- package/dist/chunks/{location-mutation-q3t37ft6.js → kv-skyymkrr.js} +3 -3
- package/dist/chunks/{location-mutation-jkkh0dgx.js → kv-srtmpgmy.js} +8 -8
- package/dist/chunks/{location-mutation-k9d40v1y.js → kv-ssdqnhy0.js} +4 -4
- package/dist/chunks/{location-mutation-k6y504h4.js → kv-sycq1qnd.js} +30 -30
- package/dist/chunks/{location-mutation-4key4fq7.js → kv-szbjvnna.js} +4 -4
- package/dist/chunks/{location-mutation-7errh0f2.js → kv-t8t07vn8.js} +17 -17
- package/dist/chunks/{location-mutation-1rmaqtrx.js → kv-t9d84gp7.js} +4 -4
- package/dist/chunks/{location-mutation-jxc4myrx.js → kv-taxb8c86.js} +43 -43
- package/dist/chunks/{location-mutation-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-mp1fmwr2.js → kv-tc43054m.js} +5 -5
- package/dist/chunks/{location-mutation-89znhe33.js → kv-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-mutation-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{location-mutation-nswc3ws5.js → kv-tdx2ferx.js} +8 -8
- package/dist/chunks/{location-mutation-2h7nr2dq.js → kv-th0fvjg2.js} +7 -7
- package/dist/chunks/{location-mutation-jvr0a44c.js → kv-tj17d411.js} +8 -8
- package/dist/chunks/{location-mutation-6m9azzzz.js → kv-tk40ge2q.js} +40 -40
- package/dist/chunks/{location-mutation-qhq71jc6.js → kv-tng621aa.js} +32 -32
- package/dist/chunks/{location-mutation-ryr2m08g.js → kv-tt61f65p.js} +4 -4
- package/dist/chunks/{location-mutation-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mutation-zbb1t9ts.js → kv-twegnk1a.js} +8 -8
- package/dist/chunks/{location-mutation-sqy4ahhk.js → kv-v3sgzvyr.js} +1 -1
- package/dist/chunks/{location-mutation-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mutation-1d112cb4.js → kv-vjptwcqz.js} +20 -20
- package/dist/chunks/{location-mutation-xx9kgtw1.js → kv-vkcvdpjh.js} +27 -27
- package/dist/chunks/{location-mutation-0rcbddbz.js → kv-vmzm20dx.js} +5 -5
- package/dist/chunks/{location-mutation-00z3vp5f.js → kv-vncycja5.js} +4 -4
- package/dist/chunks/{location-mutation-86czshtb.js → kv-vrqcba6b.js} +4 -4
- package/dist/chunks/{location-mutation-vtxr0yy2.js → kv-vtxr0yy2.js} +2 -2
- package/dist/chunks/{location-mutation-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-mutation-pw9v3g6d.js → kv-w1ad28wa.js} +8 -8
- package/dist/chunks/{location-mutation-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-8ga603cp.js → kv-w7tywmb9.js} +12 -12
- package/dist/chunks/{location-mutation-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-nkf7ea5p.js → kv-we2ehp3j.js} +50 -50
- package/dist/chunks/{location-mutation-6jm6bgjn.js → kv-we5eykgc.js} +15 -15
- package/dist/chunks/{location-mutation-j7sdw5nk.js → kv-wp96n48x.js} +5 -5
- package/dist/chunks/{location-mutation-z06cc0jq.js → kv-wxqhnnpd.js} +11 -11
- package/dist/chunks/{location-mutation-r23z5d8f.js → kv-wzr2e2gd.js} +12 -12
- package/dist/chunks/{location-mutation-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-0hmy5ypz.js → kv-xdzjzbp4.js} +10 -10
- package/dist/chunks/{location-mutation-qqeeq2t9.js → kv-xfkkasph.js} +7 -7
- package/dist/chunks/{location-mutation-say5sfs8.js → kv-xmvnvct5.js} +19 -19
- package/dist/chunks/{location-mutation-8sfmeb4x.js → kv-xpzqyyxp.js} +5 -5
- package/dist/chunks/{location-mutation-jp1d2c53.js → kv-xw59r1n4.js} +11 -11
- package/dist/chunks/{location-mutation-xpnq3dj5.js → kv-xypewtc4.js} +29 -29
- package/dist/chunks/{location-mutation-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-0yd4bm3n.js → kv-y3pxdktb.js} +8 -8
- package/dist/chunks/{location-mutation-147kkz38.js → kv-y49vr829.js} +8 -8
- package/dist/chunks/{location-mutation-dpkg50ah.js → kv-y71avatq.js} +4 -4
- package/dist/chunks/{location-mutation-rqt3ht1f.js → kv-yazkjqj6.js} +6 -6
- package/dist/chunks/{location-mutation-hnz1vd55.js → kv-ygknhksg.js} +7 -7
- package/dist/chunks/{location-mutation-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-mutation-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mutation-yrznvahk.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{location-mutation-s8zy8myc.js → kv-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-mutation-h04cqsq0.js → kv-yvvvp4gn.js} +8 -8
- package/dist/chunks/{location-mutation-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-mutation-pxq2x33y.js → kv-z37ms1s1.js} +25 -25
- package/dist/chunks/{location-mutation-jw9sfpm0.js → kv-z543s5m4.js} +3 -3
- package/dist/chunks/{location-mutation-z63w68vq.js → kv-z63w68vq.js} +2 -2
- package/dist/chunks/{location-mutation-eztkbwah.js → kv-z7f79qsj.js} +15 -15
- package/dist/chunks/{location-mutation-f9pjpvtx.js → kv-z9d24bxr.js} +73 -73
- package/dist/chunks/{location-mutation-ddt2bs9e.js → kv-zav06jzw.js} +4 -4
- package/dist/chunks/{location-mutation-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-mutation-bt0ey53w.js → kv-zq6zx8a5.js} +11 -11
- package/dist/chunks/{location-mutation-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-mutation-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- 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 +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +138 -138
- 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 +87 -87
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- 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 +125 -125
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +369 -369
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- 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 +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- 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 +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- 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 +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- 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 +126 -126
- 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 +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +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 +91 -91
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- 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 +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-mutation-emdvc7y7.js +0 -503
- package/dist/chunks/location-mutation-gbadjzag.js +0 -4
- package/dist/chunks/location-mutation-p7p1ybb8.js +0 -26
- package/dist/chunks/location-mutation-vnkjks7b.js +0 -18
- package/dist/chunks/location-mutation-xgef326k.js +0 -252
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{location-mutation-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./kv-wzr2e2gd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./kv-hf4dxjes.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-nby32ptr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event18,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
|
+
node: () => node81
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
+
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID14,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service78;
|
|
110
|
+
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service77.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key4.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node81 = makeLocationNode({
|
|
584
|
+
service: Service77,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node82, node86, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./kv-eyjms8xz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./kv-bx8h19nq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin28,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin28 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service44;
|
|
28
|
+
const mcp = yield* Service36;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin28, register2, exports_mcp2 };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node87
|
|
7
|
+
} from "./kv-6wr1j3sy.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-eqk40qcs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service82,
|
|
17
|
+
node86
|
|
18
|
+
} from "./kv-wzr2e2gd.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-2ny4609t.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-pckzp1dd.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node72
|
|
35
|
+
} from "./kv-4nfmj2pa.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./kv-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make12
|
|
42
|
+
} from "./kv-y49vr829.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service24
|
|
45
|
+
} from "./kv-gxa50yrh.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./kv-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event6,
|
|
57
|
+
Info: () => Info4,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service23,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node26
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info4 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event6 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service23 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service68;
|
|
108
|
+
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service24).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service23.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node26 = Node.makeGlobalNode({
|
|
265
|
+
service: Service23,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node87, node86, node88, AppProcess.node, node72]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service23, node26, exports_worktree2, OperationError2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-pckzp1dd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service68,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node72,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service68, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node72 = LayerNode.unbound(Service68, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service68;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service68, node72, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./kv-nby32ptr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./kv-we2ehp3j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service79;
|
|
57
|
+
const permission = yield* Service63;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-eqk40qcs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./kv-wzr2e2gd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./kv-h896pcm5.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-3zgzsr0q.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service65
|
|
29
|
+
} from "./kv-2085ns88.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service49
|
|
34
|
+
} from "./kv-qcaxkbzb.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service47
|
|
37
|
+
} from "./kv-tk40ge2q.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./kv-03zcn7km.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./kv-b2k91mhf.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./kv-gfb2xgah.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./kv-hc50k08t.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./kv-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service82;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service65;
|
|
69
|
+
const instances = yield* Service50;
|
|
70
|
+
const execution = yield* Service47;
|
|
71
|
+
const admission = yield* Service49;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service50, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service50, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service50, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service84, database), Effect.provideService(Service82, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service82, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make13, exports_session2 };
|