@opencode/core 0.0.0-dev-19774 → 0.0.0-dev-19777
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-mutation-y5b0ehek.js → shell-03vvt530.js} +41 -41
- package/dist/chunks/{file-mutation-xpr3mqf5.js → shell-04tgm3f1.js} +11 -11
- package/dist/chunks/{file-mutation-h03rnsfd.js → shell-07dpaenw.js} +40 -40
- package/dist/chunks/shell-0mesazry.js +4 -0
- package/dist/chunks/{file-mutation-thyqgksr.js → shell-0ms7z6s1.js} +10 -10
- package/dist/chunks/{file-mutation-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-267zfkt7.js → shell-0t2v7nrt.js} +23 -23
- package/dist/chunks/{file-mutation-p2e22hpe.js → shell-109t7kd4.js} +9 -9
- package/dist/chunks/{file-mutation-gdsttb99.js → shell-15jxckgc.js} +4 -4
- package/dist/chunks/{file-mutation-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-x66hh719.js → shell-1p4gqph4.js} +13 -13
- package/dist/chunks/{file-mutation-jkk2smcb.js → shell-1t08zx4j.js} +22 -22
- package/dist/chunks/{file-mutation-73k5nevg.js → shell-1w8tyy54.js} +35 -35
- package/dist/chunks/{file-mutation-56gdpj1q.js → shell-1ygqh575.js} +9 -9
- package/dist/chunks/{file-mutation-paqyj2en.js → shell-1zhs7cbk.js} +17 -17
- package/dist/chunks/{file-mutation-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-0kpaqnhp.js → shell-23w317nk.js} +11 -11
- package/dist/chunks/{file-mutation-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{file-mutation-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-yw8t9dwe.js → shell-2eegacq4.js} +8 -8
- package/dist/chunks/{file-mutation-ec8389mk.js → shell-2evyaa68.js} +4 -4
- package/dist/chunks/{file-mutation-920tyraz.js → shell-2ka7npbv.js} +20 -20
- package/dist/chunks/shell-2qt599cr.js +65 -0
- package/dist/chunks/{file-mutation-0a8rb6zk.js → shell-2v7da5f0.js} +8 -8
- package/dist/chunks/{file-mutation-f6kbfvjt.js → shell-3ekgth3a.js} +10 -10
- package/dist/chunks/{file-mutation-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-jh7y3ak4.js → shell-3ktbe3hf.js} +9 -9
- package/dist/chunks/{file-mutation-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-pw3xx31k.js → shell-3t9k22p6.js} +5 -5
- package/dist/chunks/{file-mutation-rkdvqggb.js → shell-3tt1qkhr.js} +5 -5
- package/dist/chunks/{file-mutation-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-998pkbc5.js → shell-40g5vgkd.js} +26 -26
- package/dist/chunks/{file-mutation-jeybges7.js → shell-45nz77a5.js} +4 -4
- package/dist/chunks/{file-mutation-6mn82bpr.js → shell-470r2ntf.js} +8 -8
- package/dist/chunks/{file-mutation-18xb591f.js → shell-47b5fvew.js} +7 -7
- package/dist/chunks/{file-mutation-ebqbjk3w.js → shell-47txtcvt.js} +32 -32
- package/dist/chunks/{file-mutation-ysw9y8px.js → shell-48yxe442.js} +33 -33
- package/dist/chunks/{file-mutation-gb26m6rq.js → shell-4910pwsm.js} +28 -28
- package/dist/chunks/{file-mutation-e0y5jvpm.js → shell-491531f5.js} +27 -27
- package/dist/chunks/{file-mutation-waay8jvx.js → shell-4bwczsq4.js} +24 -24
- package/dist/chunks/{file-mutation-xwv6rqmk.js → shell-4c7rbc8y.js} +3 -3
- package/dist/chunks/{file-mutation-be80trnb.js → shell-4deap7ac.js} +13 -13
- package/dist/chunks/{file-mutation-672tdqna.js → shell-4eqskv5x.js} +30 -30
- package/dist/chunks/{file-mutation-qpgdq3j5.js → shell-4evf23qd.js} +22 -22
- package/dist/chunks/{file-mutation-5xv3dz3w.js → shell-4g0a6x89.js} +87 -87
- package/dist/chunks/{file-mutation-wdpm5xyv.js → shell-4j5wzjj5.js} +24 -24
- package/dist/chunks/{file-mutation-wy8b5sm2.js → shell-4jc5c4h4.js} +1 -1
- package/dist/chunks/{file-mutation-rg5hq0wm.js → shell-4jq8p7em.js} +23 -23
- package/dist/chunks/{file-mutation-x12g5k71.js → shell-4xqkkkb3.js} +2 -2
- package/dist/chunks/{file-mutation-4en4kvr5.js → shell-4xs1pjsx.js} +5 -5
- package/dist/chunks/{file-mutation-2xn06zhq.js → shell-4xtxd1vd.js} +20 -20
- package/dist/chunks/{file-mutation-bcbe7qcx.js → shell-52z29kxa.js} +9 -9
- package/dist/chunks/{file-mutation-aamtrqep.js → shell-57ez7d0k.js} +9 -9
- package/dist/chunks/{file-mutation-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-a0whw9jd.js → shell-5gn0efa0.js} +11 -11
- package/dist/chunks/{file-mutation-e3qxr5gk.js → shell-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-mutation-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-xkredtp8.js → shell-601x61hw.js} +17 -17
- package/dist/chunks/{file-mutation-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-zfvm8rtc.js → shell-6ca2f2mk.js} +3 -3
- package/dist/chunks/{file-mutation-b0dgvpy7.js → shell-6hjx5zpb.js} +9 -9
- package/dist/chunks/{file-mutation-6reav88k.js → shell-6k4mb8p8.js} +32 -32
- package/dist/chunks/{file-mutation-7bx1sn78.js → shell-6ka4kn86.js} +16 -16
- package/dist/chunks/{file-mutation-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-metngcsb.js → shell-6ps1wf70.js} +23 -23
- package/dist/chunks/{file-mutation-he62sb3p.js → shell-6rsdkm0q.js} +18 -18
- package/dist/chunks/{file-mutation-rg9jxnrj.js → shell-6t8d5s38.js} +4 -4
- package/dist/chunks/{file-mutation-x8tgrdy7.js → shell-6tn3yh5c.js} +15 -15
- package/dist/chunks/{file-mutation-0ehxtnnz.js → shell-6zk5k8gk.js} +18 -18
- package/dist/chunks/{file-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-8aaqm6qj.js → shell-7dbmnfn4.js} +8 -8
- package/dist/chunks/{file-mutation-hrhrsrxp.js → shell-7dghwch0.js} +30 -30
- package/dist/chunks/{file-mutation-kjyymkn6.js → shell-7m4yxrk1.js} +11 -11
- package/dist/chunks/{file-mutation-evz86p9p.js → shell-7qqb5aj4.js} +14 -14
- package/dist/chunks/{file-mutation-vynmvp9h.js → shell-7v81x33d.js} +9 -9
- package/dist/chunks/{file-mutation-fxfyjszp.js → shell-7vxz9e56.js} +13 -13
- package/dist/chunks/{file-mutation-cf3tj770.js → shell-7w3s9kd0.js} +4 -4
- package/dist/chunks/{file-mutation-pn0bg5pg.js → shell-82jjvh86.js} +88 -88
- package/dist/chunks/{file-mutation-jewzahs7.js → shell-86qzxe6p.js} +4 -4
- package/dist/chunks/{file-mutation-thp2m506.js → shell-898hkngb.js} +9 -9
- package/dist/chunks/{file-mutation-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-a58czpns.js → shell-8kpc6pdt.js} +17 -17
- package/dist/chunks/{file-mutation-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-59bsrgj4.js → shell-8vfsjsk5.js} +27 -27
- package/dist/chunks/{file-mutation-d0gb447e.js → shell-902z4n12.js} +26 -26
- package/dist/chunks/{file-mutation-y8m9m17y.js → shell-90dg4enk.js} +20 -20
- package/dist/chunks/{file-mutation-x90w03rt.js → shell-96939sxw.js} +30 -30
- package/dist/chunks/{file-mutation-vtggy08e.js → shell-99q6wywc.js} +32 -32
- package/dist/chunks/{file-mutation-7000hrfc.js → shell-9cpbaep3.js} +6 -6
- package/dist/chunks/{file-mutation-fwrss4ad.js → shell-9fc3v4re.js} +4 -4
- package/dist/chunks/{file-mutation-br0tr5aq.js → shell-9hn6k4tm.js} +8 -8
- package/dist/chunks/{file-mutation-z59eg471.js → shell-9kghbwpc.js} +9 -9
- package/dist/chunks/{file-mutation-8tjk8105.js → shell-9pbz1hdq.js} +1 -1
- package/dist/chunks/{file-mutation-txr16vfg.js → shell-9sddvxcq.js} +26 -26
- package/dist/chunks/shell-9wnswpj2.js +26 -0
- package/dist/chunks/{file-mutation-bh6093r6.js → shell-9wvkvc1q.js} +60 -60
- package/dist/chunks/{file-mutation-daq2e3zz.js → shell-9z34yp3t.js} +4 -4
- package/dist/chunks/{file-mutation-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-p9qdtawc.js → shell-a5vww0b3.js} +24 -24
- package/dist/chunks/{file-mutation-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-y9vy3w1f.js → shell-abf421gb.js} +41 -41
- package/dist/chunks/{file-mutation-82wb5vjr.js → shell-aw5nfhtx.js} +12 -12
- package/dist/chunks/{file-mutation-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-vb222jev.js → shell-b89grqm6.js} +69 -69
- package/dist/chunks/{file-mutation-32h20yfr.js → shell-bagmkwbw.js} +3 -3
- package/dist/chunks/{file-mutation-sxhyyss9.js → shell-bbsv54dc.js} +47 -47
- package/dist/chunks/{file-mutation-a0wtmgep.js → shell-bdevdzfn.js} +15 -15
- package/dist/chunks/{file-mutation-vkxpz7g2.js → shell-bha4atvq.js} +4 -4
- package/dist/chunks/{file-mutation-0svbgh5c.js → shell-bjj905gy.js} +39 -39
- package/dist/chunks/{file-mutation-b8rp9x54.js → shell-bqh2sd97.js} +4 -4
- package/dist/chunks/{file-mutation-qpbktacs.js → shell-by3yt8c1.js} +3 -3
- package/dist/chunks/{file-mutation-9yrzyr7j.js → shell-byr7frw1.js} +18 -18
- package/dist/chunks/{file-mutation-h53tpazp.js → shell-c488s98d.js} +12 -12
- package/dist/chunks/{file-mutation-6y0m54vs.js → shell-c6639vss.js} +13 -13
- package/dist/chunks/{file-mutation-fwr1nb5p.js → shell-cae5tg5t.js} +18 -18
- package/dist/chunks/{file-mutation-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-rs8v52yx.js → shell-cz5cm7h7.js} +3 -3
- package/dist/chunks/{file-mutation-y7gfa8qa.js → shell-czq3e1zb.js} +13 -13
- package/dist/chunks/{file-mutation-b1paggmv.js → shell-d07c07ww.js} +44 -44
- package/dist/chunks/{file-mutation-9vw038cm.js → shell-d0c4rcdd.js} +24 -24
- package/dist/chunks/{file-mutation-ckvaaqnr.js → shell-d4hz6pfm.js} +15 -15
- package/dist/chunks/{file-mutation-36ysvq8r.js → shell-dcx9ytfh.js} +16 -16
- package/dist/chunks/{file-mutation-h2mtz7rf.js → shell-df76fvss.js} +13 -13
- package/dist/chunks/{file-mutation-jrq0rrs9.js → shell-dwmvj21z.js} +3 -3
- package/dist/chunks/{file-mutation-2qfmjqcy.js → shell-dxbh06rw.js} +11 -11
- package/dist/chunks/{file-mutation-bszv4pr1.js → shell-dz7g6c4d.js} +24 -24
- package/dist/chunks/{file-mutation-sy5npsvs.js → shell-e0htajja.js} +25 -25
- package/dist/chunks/{file-mutation-0gdmqesm.js → shell-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-mutation-3cdqy5gs.js → shell-eb46bezg.js} +4 -4
- package/dist/chunks/{file-mutation-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-xj4hsedh.js → shell-ej9nsrfw.js} +7 -7
- package/dist/chunks/{file-mutation-kne8f3cn.js → shell-embw8kgh.js} +4 -4
- package/dist/chunks/{file-mutation-4hsrte5k.js → shell-epkvt2y6.js} +23 -23
- package/dist/chunks/{file-mutation-mvfsc1pv.js → shell-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-mutation-m32fe6rj.js → shell-eq26c9e0.js} +9 -9
- package/dist/chunks/{file-mutation-prbe7swn.js → shell-erh6shke.js} +5 -5
- package/dist/chunks/{file-mutation-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-mutation-1b5j2nkr.js → shell-escjqfgg.js} +5 -5
- package/dist/chunks/{file-mutation-x2gr69vr.js → shell-etfwcrdj.js} +9 -9
- package/dist/chunks/{file-mutation-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-2qp6y8xf.js → shell-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-mutation-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-7dqw4kz8.js → shell-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-mutation-n53jc5f0.js → shell-fk72hcm3.js} +5 -5
- package/dist/chunks/{file-mutation-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-8cx2cchs.js → shell-fxnhd30a.js} +31 -31
- package/dist/chunks/{file-mutation-bs0e8e65.js → shell-fz50j58q.js} +3 -3
- package/dist/chunks/{file-mutation-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-7bhykvjv.js → shell-gjnc9qzc.js} +29 -29
- package/dist/chunks/{file-mutation-sqmfwgs3.js → shell-gqn0yf43.js} +20 -20
- package/dist/chunks/{file-mutation-b8kkksp1.js → shell-gtt1eksx.js} +16 -16
- package/dist/chunks/{file-mutation-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-h78m9h9q.js → shell-gzmddf54.js} +6 -6
- package/dist/chunks/{file-mutation-sc7wv7tt.js → shell-h2dht7j6.js} +13 -13
- package/dist/chunks/{file-mutation-zyr433b0.js → shell-h2r7bbkd.js} +11 -11
- package/dist/chunks/{file-mutation-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-fe107s36.js → shell-hex08eaa.js} +25 -25
- package/dist/chunks/{file-mutation-89zh9079.js → shell-hj65t7v3.js} +34 -34
- package/dist/chunks/{file-mutation-mzrbxmyd.js → shell-hs41a4tz.js} +11 -11
- package/dist/chunks/{file-mutation-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-ftfm72kd.js → shell-j7ygsfe1.js} +6 -6
- package/dist/chunks/{file-mutation-3j8sdtpz.js → shell-j83byb14.js} +4 -4
- package/dist/chunks/{file-mutation-337ej1cd.js → shell-j96nbzpq.js} +5 -5
- package/dist/chunks/{file-mutation-nng2ktcm.js → shell-jca4demv.js} +2 -2
- package/dist/chunks/{file-mutation-cmq3w01w.js → shell-jf901kab.js} +18 -18
- package/dist/chunks/{file-mutation-jfqtm2ew.js → shell-jfqtm2ew.js} +1 -1
- package/dist/chunks/{file-mutation-hnr5yq9h.js → shell-jv01nqvq.js} +5 -5
- package/dist/chunks/{file-mutation-2pnhn36q.js → shell-jw80jp6b.js} +21 -21
- package/dist/chunks/{file-mutation-87z6e93s.js → shell-jyjzw1ga.js} +44 -44
- package/dist/chunks/{file-mutation-3rqkssp8.js → shell-k0nnq3t9.js} +6 -6
- package/dist/chunks/{file-mutation-e4gqq6ma.js → shell-k1k8px0g.js} +15 -15
- package/dist/chunks/{file-mutation-9ybrs273.js → shell-k1w610xy.js} +11 -11
- package/dist/chunks/{file-mutation-44ke2mar.js → shell-k9kj6xed.js} +6 -6
- package/dist/chunks/{file-mutation-ksnwa2zv.js → shell-kgqtb08c.js} +9 -9
- package/dist/chunks/{file-mutation-kn475exs.js → shell-kpg8spgh.js} +3 -3
- package/dist/chunks/{file-mutation-av0n72pr.js → shell-kzb2n3ry.js} +35 -35
- package/dist/chunks/{file-mutation-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-x6f9vzrq.js → shell-m3k3skyh.js} +11 -11
- package/dist/chunks/{file-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-8qspac1s.js → shell-mh9k1zxz.js} +26 -26
- package/dist/chunks/{file-mutation-gsp24vdq.js → shell-mm2e63sp.js} +20 -20
- package/dist/chunks/{file-mutation-ppd28z9t.js → shell-mqq3d8t2.js} +9 -9
- package/dist/chunks/{file-mutation-9q2n6mg9.js → shell-msdpvvtr.js} +18 -18
- package/dist/chunks/{file-mutation-6tegjpz6.js → shell-msjkcb2c.js} +7 -7
- package/dist/chunks/{file-mutation-21s87zpc.js → shell-mxbx1btj.js} +19 -19
- package/dist/chunks/{file-mutation-2tnvdx3z.js → shell-n6hr9sd6.js} +187 -187
- package/dist/chunks/{file-mutation-2hgjwxzn.js → shell-n6qxy5sm.js} +17 -17
- package/dist/chunks/{file-mutation-vmctfggj.js → shell-ncgz71ps.js} +11 -11
- package/dist/chunks/{file-mutation-0md6znfh.js → shell-nchmh3xc.js} +6 -6
- package/dist/chunks/{file-mutation-n436hdn0.js → shell-nhw0hen6.js} +19 -19
- package/dist/chunks/{file-mutation-26zn0zdd.js → shell-nm19pb1r.js} +23 -23
- package/dist/chunks/{file-mutation-gxzpt4bf.js → shell-nnz2m9wf.js} +8 -8
- package/dist/chunks/{file-mutation-pnv527nz.js → shell-nq7qbqzc.js} +9 -9
- package/dist/chunks/{file-mutation-nxhqveyz.js → shell-nxhqveyz.js} +2 -2
- package/dist/chunks/{file-mutation-k3c624dm.js → shell-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-mutation-h6r3nrb9.js → shell-nzyhnfxz.js} +4 -4
- package/dist/chunks/{file-mutation-v1r8ymca.js → shell-p31t3pd0.js} +9 -9
- package/dist/chunks/{file-mutation-b52awwxw.js → shell-p37hw4de.js} +9 -9
- package/dist/chunks/{file-mutation-v9s3adxq.js → shell-p4f9hcv5.js} +5 -5
- package/dist/chunks/{file-mutation-g0p5jsxc.js → shell-p9dx6m3r.js} +32 -32
- package/dist/chunks/{file-mutation-96tqna7g.js → shell-ph3y9dt3.js} +10 -10
- package/dist/chunks/{file-mutation-dq0f4b6t.js → shell-pjmrnj4k.js} +11 -11
- package/dist/chunks/{file-mutation-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-kf7mt0f8.js → shell-pp4xxq9a.js} +20 -20
- package/dist/chunks/{file-mutation-3zbb0e4x.js → shell-pqw62kwh.js} +14 -14
- package/dist/chunks/{file-mutation-qfv53cem.js → shell-pqybgrxs.js} +12 -12
- package/dist/chunks/{file-mutation-v5a2m05x.js → shell-q3csemeg.js} +9 -9
- package/dist/chunks/{file-mutation-7w99qc9d.js → shell-q3t37ft6.js} +3 -3
- package/dist/chunks/{file-mutation-zy95xavh.js → shell-q6xswt0f.js} +20 -20
- package/dist/chunks/{file-mutation-d4he2qe1.js → shell-qmqgtz8f.js} +9 -9
- package/dist/chunks/{file-mutation-rtathh62.js → shell-qp3v07n2.js} +8 -8
- package/dist/chunks/{file-mutation-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-9ejexxwn.js → shell-qv98w6tv.js} +25 -25
- package/dist/chunks/{file-mutation-yp2x3t23.js → shell-r8xr0va3.js} +4 -4
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{file-mutation-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-cfwkp8ke.js → shell-rps88wy8.js} +6 -6
- package/dist/chunks/{file-mutation-7sqbmk8k.js → shell-rymghcbg.js} +30 -30
- package/dist/chunks/{file-mutation-s4q94gyy.js → shell-s2s60008.js} +11 -11
- package/dist/chunks/{file-mutation-cgegp93j.js → shell-s6azf4c4.js} +18 -18
- package/dist/chunks/{file-mutation-pex2dkp7.js → shell-s9fwamzp.js} +26 -26
- package/dist/chunks/shell-sbdeyn5w.js +252 -0
- package/dist/chunks/{file-mutation-7yqjxrmz.js → shell-ss0awb04.js} +4 -4
- package/dist/chunks/{file-mutation-k16pevg1.js → shell-sv380ctb.js} +8 -8
- package/dist/chunks/{file-mutation-aw4er02a.js → shell-sw8vzzw8.js} +23 -23
- package/dist/chunks/{file-mutation-tgkhkf8q.js → shell-t44e5ekz.js} +5 -5
- package/dist/chunks/{file-mutation-tpwrm9yt.js → shell-t5jrxwkq.js} +41 -41
- package/dist/chunks/{file-mutation-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-p28j5sbe.js → shell-tbz0fdvh.js} +5 -5
- package/dist/chunks/{file-mutation-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-y0jwsk5r.js → shell-tf2g47yf.js} +14 -14
- package/dist/chunks/{file-mutation-kfnrrrna.js → shell-tfc91kag.js} +5 -5
- package/dist/chunks/{file-mutation-dct99a2c.js → shell-tfv73esw.js} +1 -1
- package/dist/chunks/{file-mutation-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/shell-v3ez8wwd.js +478 -0
- package/dist/chunks/{file-mutation-mx9vqzsb.js → shell-v8jfbz3g.js} +6 -6
- package/dist/chunks/{file-mutation-q8qgrk48.js → shell-v90naytm.js} +34 -34
- package/dist/chunks/{file-mutation-c8mrj3kp.js → shell-vd5v5qk0.js} +56 -56
- package/dist/chunks/{file-mutation-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-g2kefdbs.js → shell-vjbs195a.js} +25 -25
- package/dist/chunks/{file-mutation-gmrkgfhq.js → shell-vsatvqh0.js} +17 -17
- package/dist/chunks/{file-mutation-4vtzzjzy.js → shell-vszvf9m8.js} +30 -30
- package/dist/chunks/{file-mutation-6qdm2rsa.js → shell-vw7qqfe6.js} +14 -14
- package/dist/chunks/{file-mutation-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-64kphnzf.js → shell-w1k39n5e.js} +4 -4
- package/dist/chunks/{file-mutation-8ae46srb.js → shell-w3dn7vsw.js} +26 -26
- package/dist/chunks/{file-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-cekd2vsf.js → shell-w6q8arpf.js} +24 -24
- package/dist/chunks/{file-mutation-sr3kag3a.js → shell-w7afr362.js} +20 -20
- package/dist/chunks/{file-mutation-16ykham6.js → shell-w7y6znma.js} +9 -9
- package/dist/chunks/{file-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-xnahtpae.js → shell-wejvtsvc.js} +8 -8
- package/dist/chunks/{file-mutation-9s4fnnwx.js → shell-wf93z251.js} +16 -16
- package/dist/chunks/{file-mutation-9d52tmdm.js → shell-x0ea1d7t.js} +10 -10
- package/dist/chunks/{file-mutation-b5a5chs4.js → shell-x0pm48gx.js} +11 -11
- package/dist/chunks/{file-mutation-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-fpz52p8q.js → shell-x7zeatxc.js} +5 -5
- package/dist/chunks/{file-mutation-9zsbca5k.js → shell-xb1zhhk4.js} +51 -51
- package/dist/chunks/{file-mutation-5x4r9t6b.js → shell-xc4h54g0.js} +8 -8
- package/dist/chunks/{file-mutation-ypp9m475.js → shell-xd6cwxj6.js} +38 -38
- package/dist/chunks/{file-mutation-xfkkasph.js → shell-xfkkasph.js} +1 -1
- package/dist/chunks/{file-mutation-tegzbpn0.js → shell-xmer0dbq.js} +4 -4
- package/dist/chunks/{file-mutation-744d2y49.js → shell-xz9j7v2t.js} +13 -13
- package/dist/chunks/{file-mutation-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-9t5hjfj5.js → shell-y8zkxr9j.js} +15 -15
- package/dist/chunks/{file-mutation-pdb8ga4w.js → shell-y9j63q94.js} +12 -12
- package/dist/chunks/{file-mutation-1btxqys4.js → shell-ygek0628.js} +4 -4
- package/dist/chunks/{file-mutation-81tbvkms.js → shell-yh8kp56w.js} +7 -7
- package/dist/chunks/{file-mutation-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-n0pywpq4.js → shell-yzyc98yn.js} +6 -6
- package/dist/chunks/{file-mutation-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-608s2005.js → shell-z1djt9rd.js} +26 -26
- package/dist/chunks/{file-mutation-29x78va6.js → shell-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → shell-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 +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +82 -82
- 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 +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- 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 +116 -116
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- 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 +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +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 +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- 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 +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- 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 +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +117 -117
- 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 +104 -104
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-mutation-0dr17sfc.js +0 -252
- package/dist/chunks/file-mutation-3n20nwgf.js +0 -478
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- package/dist/chunks/file-mutation-75z37rd0.js +0 -65
- package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
- package/dist/chunks/file-mutation-k14es7wq.js +0 -26
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./shell-7v81x33d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./shell-v8jfbz3g.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-rap9a73h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service77
|
|
15
|
+
} from "./shell-2eegacq4.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-3ktbe3hf.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service72
|
|
23
|
+
} from "./shell-dz7g6c4d.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service49;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service77;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service72;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service43;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./shell-8kpc6pdt.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-w7afr362.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin2 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin2, exports_git };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-q3t37ft6.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-3ktbe3hf.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-bha4atvq.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-w1k39n5e.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./shell-99q6wywc.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-bqh2sd97.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service69,
|
|
11
|
+
node73
|
|
12
|
+
} from "./shell-4eqskv5x.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./shell-8kpc6pdt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node63
|
|
20
|
+
} from "./shell-d0c4rcdd.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service68,
|
|
24
|
+
node72
|
|
25
|
+
} from "./shell-qv98w6tv.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node71
|
|
35
|
+
} from "./shell-fxnhd30a.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shell-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service34,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer12,
|
|
58
|
+
node: () => node37
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer12 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service78;
|
|
106
|
+
const environment = yield* Service60;
|
|
107
107
|
const bus = yield* Service82;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service68;
|
|
109
|
+
const integration = yield* Service67;
|
|
110
|
+
const credentials = yield* Service69;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID9.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service69, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service69, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID10.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service34.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service34,
|
|
516
|
+
layer: layer12(options),
|
|
517
|
+
deps: [node82, node63, node86, node72, node71, node73]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node37 = configured4();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options4, layer12, configured4, node37, exports_mcp4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-47txtcvt.js";
|
|
5
5
|
import {
|
|
6
6
|
Service62
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-hj65t7v3.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-eb46bezg.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,7 +45,7 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -77,7 +77,7 @@ function make9(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID7.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make9(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-kpg8spgh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-bqh2sd97.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./shell-y8zkxr9j.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service49,
|
|
15
|
+
node52
|
|
16
|
+
} from "./shell-v8jfbz3g.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./shell-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service47
|
|
26
|
+
} from "./shell-embw8kgh.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-3ktbe3hf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service75,
|
|
32
|
+
node79
|
|
33
|
+
} from "./shell-dcx9ytfh.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./shell-ygek0628.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shell-6zk5k8gk.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./shell-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service46,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer19,
|
|
50
|
+
node: () => node50,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service46 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer19 = Layer.effect(Service46, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service75;
|
|
70
|
+
const instances = yield* Service49;
|
|
71
71
|
const bus = yield* Service82;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service54;
|
|
73
73
|
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make18({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service46.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node50 = makeGlobalNode({
|
|
133
|
+
service: Service46,
|
|
134
|
+
layer: layer19,
|
|
135
|
+
deps: [node79, node52, node86, node87, node57]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service46, terminal2, layer19, node50, noopLayer3, exports_execution };
|