@opencode/core 0.0.0-dev-20068 → 0.0.0-dev-20070
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{schema-x7pgzbrc.js → persistent-pty-02fxdhk5.js} +13 -13
- package/dist/chunks/{schema-fnxsaa4j.js → persistent-pty-03drz298.js} +18 -18
- package/dist/chunks/{schema-gs95kj1c.js → persistent-pty-05kc7n4p.js} +24 -24
- package/dist/chunks/{schema-1365j5nm.js → persistent-pty-09dw9xvn.js} +13 -13
- package/dist/chunks/{schema-m8q517q3.js → persistent-pty-0fhvsrpq.js} +30 -30
- package/dist/chunks/{schema-0ft9cg2j.js → persistent-pty-0gaj4617.js} +6 -6
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{schema-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0ak0g8qp.js → persistent-pty-0wsqztt0.js} +3 -3
- package/dist/chunks/{schema-rd930brt.js → persistent-pty-0wv36b6c.js} +44 -44
- package/dist/chunks/{schema-z8p0mpvq.js → persistent-pty-11txpkat.js} +24 -24
- package/dist/chunks/{schema-21kk9ey9.js → persistent-pty-12arvj6n.js} +2 -2
- package/dist/chunks/{schema-nrf9nkf4.js → persistent-pty-140js8cv.js} +47 -47
- package/dist/chunks/{schema-dvgd3rha.js → persistent-pty-14tdt6pq.js} +3 -3
- package/dist/chunks/persistent-pty-15eeh29d.js +507 -0
- package/dist/chunks/{schema-53fyba40.js → persistent-pty-18s9r5gn.js} +4 -4
- package/dist/chunks/{schema-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-stka8cwy.js → persistent-pty-1myjhcv5.js} +30 -30
- package/dist/chunks/{schema-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{schema-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-1fgq5ex7.js → persistent-pty-24bj6dbd.js} +32 -32
- package/dist/chunks/{schema-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{schema-xbrnje9f.js → persistent-pty-2a4f6v5q.js} +5 -5
- package/dist/chunks/{schema-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-a1w0bh0r.js → persistent-pty-2demy4mp.js} +32 -32
- package/dist/chunks/{schema-zab19jja.js → persistent-pty-2kewd2va.js} +9 -9
- package/dist/chunks/{schema-4pkmhnfb.js → persistent-pty-2qb4gyb1.js} +12 -12
- package/dist/chunks/{schema-71g12y8g.js → persistent-pty-2stzsw3h.js} +8 -8
- package/dist/chunks/{schema-g3mqb04e.js → persistent-pty-2z6npzcs.js} +11 -11
- package/dist/chunks/{schema-we5e1hqv.js → persistent-pty-3279mwmz.js} +5 -5
- package/dist/chunks/{schema-rk8hkmen.js → persistent-pty-32ebpc2k.js} +35 -35
- package/dist/chunks/{schema-4pe5mkqw.js → persistent-pty-39af71ak.js} +24 -24
- package/dist/chunks/{schema-21xm8fz3.js → persistent-pty-3b699t4b.js} +10 -10
- package/dist/chunks/{schema-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-86n5f4j7.js → persistent-pty-3me5k2fr.js} +6 -6
- package/dist/chunks/{schema-9jn1v8n4.js → persistent-pty-3scm17sd.js} +30 -30
- package/dist/chunks/{schema-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/persistent-pty-3ys7avz6.js +26 -0
- package/dist/chunks/{schema-d0jrvpgb.js → persistent-pty-3z0zch1n.js} +32 -32
- package/dist/chunks/{schema-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-xfdrc2qg.js → persistent-pty-44ke2mar.js} +4 -4
- package/dist/chunks/{schema-v53t4mb7.js → persistent-pty-45yze870.js} +18 -18
- package/dist/chunks/{schema-wvm3e786.js → persistent-pty-4aeq6eye.js} +10 -10
- package/dist/chunks/{schema-gsac5713.js → persistent-pty-4c9v79sp.js} +23 -23
- package/dist/chunks/{schema-ya2xvy3r.js → persistent-pty-4zfaky6j.js} +13 -13
- package/dist/chunks/{schema-y7c4883m.js → persistent-pty-517pqn2m.js} +74 -74
- package/dist/chunks/{schema-f9t32q2w.js → persistent-pty-52a9n96b.js} +9 -9
- package/dist/chunks/{schema-bttjrvqw.js → persistent-pty-540xm2z9.js} +22 -22
- package/dist/chunks/{schema-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
- package/dist/chunks/{schema-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{schema-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{schema-cbmy1d4v.js → persistent-pty-5gw2z3et.js} +5 -5
- package/dist/chunks/{schema-bkk1ay02.js → persistent-pty-5mhxbhna.js} +14 -14
- package/dist/chunks/{schema-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-wq4mmp7m.js → persistent-pty-5xpznt2d.js} +4 -4
- package/dist/chunks/{schema-r1t33gv4.js → persistent-pty-639ckm2d.js} +30 -30
- package/dist/chunks/{schema-43vj5j1g.js → persistent-pty-65tw7ne2.js} +23 -23
- package/dist/chunks/{schema-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{schema-jesqq2b8.js → persistent-pty-6744wpjg.js} +14 -14
- package/dist/chunks/{schema-v00q4dqv.js → persistent-pty-6dee4bn2.js} +11 -11
- package/dist/chunks/{schema-xbdvvged.js → persistent-pty-6he05v0p.js} +23 -23
- package/dist/chunks/{schema-trgn506r.js → persistent-pty-6jttejjp.js} +13 -13
- package/dist/chunks/{schema-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-99249730.js → persistent-pty-6q4z0wrt.js} +1 -1
- package/dist/chunks/{schema-xa30xd5p.js → persistent-pty-6z9mwsmt.js} +24 -24
- package/dist/chunks/{schema-0eppds2k.js → persistent-pty-72pe5pp7.js} +6 -6
- package/dist/chunks/{schema-3pgqp7v9.js → persistent-pty-79jt7wa4.js} +4 -4
- package/dist/chunks/{schema-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-qgn6gcr1.js → persistent-pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{schema-22y0n5cd.js → persistent-pty-7f8zt51t.js} +11 -11
- package/dist/chunks/{schema-y8pznszf.js → persistent-pty-7fha70gh.js} +27 -27
- package/dist/chunks/{schema-yb3bnh53.js → persistent-pty-7hrmjf05.js} +40 -40
- package/dist/chunks/{schema-rr1xtvmv.js → persistent-pty-7nwh0z4r.js} +46 -46
- package/dist/chunks/{schema-jyrfr5z0.js → persistent-pty-7qhp50hp.js} +3 -3
- package/dist/chunks/{schema-mtptma85.js → persistent-pty-80gs2nd1.js} +23 -23
- package/dist/chunks/{schema-f724bymh.js → persistent-pty-84ayszt9.js} +29 -29
- package/dist/chunks/{schema-5p1sgbr7.js → persistent-pty-84g0xtqq.js} +9 -9
- package/dist/chunks/{schema-stgrmxrp.js → persistent-pty-88fhh6r1.js} +12 -12
- package/dist/chunks/{schema-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-84s1vm7q.js → persistent-pty-8gszphq4.js} +11 -11
- package/dist/chunks/{schema-hxx1gems.js → persistent-pty-8m7vqh9t.js} +10 -10
- package/dist/chunks/{schema-2gv5qy1y.js → persistent-pty-8pccpkv9.js} +12 -12
- package/dist/chunks/{schema-n2rked60.js → persistent-pty-93z9rjx5.js} +10 -10
- package/dist/chunks/{schema-z6y9e2r8.js → persistent-pty-947f7b8n.js} +34 -34
- package/dist/chunks/{schema-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{schema-vmwh049b.js → persistent-pty-97j4gngf.js} +9 -9
- package/dist/chunks/{schema-zx2f5h1h.js → persistent-pty-9b18mb3y.js} +22 -22
- package/dist/chunks/{schema-15nepkqg.js → persistent-pty-9c3np669.js} +8 -8
- package/dist/chunks/{schema-vtxr0yy2.js → persistent-pty-9cyfspf3.js} +5 -5
- package/dist/chunks/{schema-qpqjws28.js → persistent-pty-9ejw23zs.js} +9 -9
- package/dist/chunks/persistent-pty-9zdhvgqs.js +18 -0
- package/dist/chunks/{schema-4xstzax4.js → persistent-pty-a0j9ghhw.js} +19 -19
- package/dist/chunks/{schema-twax0pxr.js → persistent-pty-a0sbrj5q.js} +25 -25
- package/dist/chunks/{schema-7mqqegap.js → persistent-pty-a2mdmpbv.js} +7 -7
- package/dist/chunks/{schema-f6p0q2g2.js → persistent-pty-a4kfnjq6.js} +17 -17
- package/dist/chunks/{schema-bq4g5957.js → persistent-pty-a6r5j9ve.js} +4 -4
- package/dist/chunks/{schema-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-hj3kzhjm.js → persistent-pty-ach3jvdq.js} +17 -17
- package/dist/chunks/{schema-mfh2s9n9.js → persistent-pty-adcjy0yy.js} +22 -22
- package/dist/chunks/{schema-d9wzmzc3.js → persistent-pty-aeb4sny1.js} +5 -5
- package/dist/chunks/{schema-bxav69s2.js → persistent-pty-aewf7fv0.js} +15 -15
- package/dist/chunks/{schema-3n6q8bv2.js → persistent-pty-aez9gwcb.js} +18 -18
- package/dist/chunks/{schema-evbgk2k8.js → persistent-pty-ag9w8cw1.js} +5 -5
- package/dist/chunks/{schema-1brzvxsn.js → persistent-pty-agbhy58v.js} +8 -8
- package/dist/chunks/{schema-cvcncckx.js → persistent-pty-ajj1dwjw.js} +43 -43
- package/dist/chunks/{schema-d08f925z.js → persistent-pty-avnvkndt.js} +5 -5
- package/dist/chunks/{schema-hbecebtg.js → persistent-pty-b27q0a9n.js} +10 -10
- package/dist/chunks/{schema-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-3qaj82j9.js → persistent-pty-b7b4ctej.js} +5 -5
- package/dist/chunks/{schema-k3dr35yq.js → persistent-pty-b7mafceh.js} +6 -6
- package/dist/chunks/{schema-hwh6dse8.js → persistent-pty-besw6zsr.js} +19 -19
- package/dist/chunks/{schema-2krp1dn7.js → persistent-pty-bj7qwv03.js} +11 -11
- package/dist/chunks/{schema-9n8ak2h1.js → persistent-pty-bka19sx3.js} +4 -4
- package/dist/chunks/{schema-qnn3verk.js → persistent-pty-bqddxaek.js} +9 -9
- package/dist/chunks/{schema-1ajx6rf5.js → persistent-pty-br0tr5aq.js} +8 -8
- package/dist/chunks/{schema-3e5hztjw.js → persistent-pty-by2v34hv.js} +4 -4
- package/dist/chunks/{schema-yyc7yft3.js → persistent-pty-cbqy5dr9.js} +17 -17
- package/dist/chunks/{schema-q1wd5bqe.js → persistent-pty-cgy10bdv.js} +3 -3
- package/dist/chunks/{schema-32ngwk73.js → persistent-pty-chrxq3ex.js} +18 -18
- package/dist/chunks/{schema-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{schema-c3whs05w.js → persistent-pty-cpa9evey.js} +3 -3
- package/dist/chunks/{schema-4g0aw377.js → persistent-pty-cxc2wn7k.js} +11 -11
- package/dist/chunks/{schema-wfvmvx5v.js → persistent-pty-cyxwnd9c.js} +31 -31
- package/dist/chunks/{schema-nxhqveyz.js → persistent-pty-d2aac7k2.js} +5 -5
- package/dist/chunks/{schema-mff6ah6z.js → persistent-pty-d79paw8k.js} +63 -63
- package/dist/chunks/{schema-r3c4069c.js → persistent-pty-dagkn99r.js} +1 -1
- package/dist/chunks/{schema-6a6hn4p4.js → persistent-pty-de11ys5j.js} +22 -22
- package/dist/chunks/{schema-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-2xanj3y6.js → persistent-pty-dqcz30tg.js} +25 -25
- package/dist/chunks/{schema-s1n69xg5.js → persistent-pty-e07xevgn.js} +24 -24
- package/dist/chunks/{schema-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-x21w7dsp.js → persistent-pty-e7844e1q.js} +26 -26
- package/dist/chunks/{schema-zj09a0ew.js → persistent-pty-ec8389mk.js} +4 -4
- package/dist/chunks/{schema-51dx2b5g.js → persistent-pty-eew2zdws.js} +15 -15
- package/dist/chunks/{schema-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-gdt8128r.js → persistent-pty-ehye99pz.js} +18 -18
- package/dist/chunks/{schema-hqtqhwxa.js → persistent-pty-em4dwj0d.js} +9 -9
- package/dist/chunks/{schema-c99cqkw7.js → persistent-pty-enm918mk.js} +32 -32
- package/dist/chunks/{schema-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{schema-p173zzzp.js → persistent-pty-ete5a4rz.js} +94 -94
- package/dist/chunks/{schema-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-79y3jrde.js → persistent-pty-exhkk0g4.js} +22 -22
- package/dist/chunks/{schema-e9k66s6p.js → persistent-pty-f7fhy96a.js} +5 -5
- package/dist/chunks/{schema-854y6ept.js → persistent-pty-f7mpxfp8.js} +36 -36
- package/dist/chunks/{schema-ywppm7yh.js → persistent-pty-fay784kk.js} +41 -41
- package/dist/chunks/{schema-v5dkyp31.js → persistent-pty-fm2qvscf.js} +4 -4
- package/dist/chunks/{schema-w9xbefsq.js → persistent-pty-ftg911na.js} +19 -19
- package/dist/chunks/{schema-jv01nqvq.js → persistent-pty-fvsyg6qk.js} +5 -5
- package/dist/chunks/{schema-spqcpneg.js → persistent-pty-g640k70z.js} +6 -6
- package/dist/chunks/{schema-djszqvmq.js → persistent-pty-g6q9qykm.js} +9 -9
- package/dist/chunks/{schema-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-jj43yjqp.js → persistent-pty-h1rv4yj5.js} +11 -11
- package/dist/chunks/{schema-b26at605.js → persistent-pty-h1znna23.js} +11 -11
- package/dist/chunks/{schema-cpj0znwe.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-qx20pxr4.js → persistent-pty-ham917sc.js} +48 -48
- package/dist/chunks/{schema-04t6vhh2.js → persistent-pty-hb0akz4x.js} +11 -11
- package/dist/chunks/{schema-dq5ym5fs.js → persistent-pty-hcr91a9c.js} +43 -43
- package/dist/chunks/{schema-dwpj3xc6.js → persistent-pty-hh05mkd2.js} +11 -11
- package/dist/chunks/{schema-bc8ybda4.js → persistent-pty-hm8n4zs5.js} +9 -9
- package/dist/chunks/{schema-pmrtsbw6.js → persistent-pty-hqd5ggsz.js} +18 -18
- package/dist/chunks/{schema-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-n37c4crj.js → persistent-pty-j58c5xyq.js} +9 -9
- package/dist/chunks/{schema-tfz8ht6g.js → persistent-pty-jcete9c4.js} +11 -11
- package/dist/chunks/{schema-zk4010xf.js → persistent-pty-jdz7ay1h.js} +10 -10
- package/dist/chunks/{schema-azejft3h.js → persistent-pty-jexe30zh.js} +18 -18
- package/dist/chunks/{schema-mx9vqzsb.js → persistent-pty-jhf3jymm.js} +6 -6
- package/dist/chunks/{schema-pxar5t5x.js → persistent-pty-jkdgk110.js} +36 -36
- package/dist/chunks/{schema-m9dec5st.js → persistent-pty-jykm5qrb.js} +35 -35
- package/dist/chunks/{schema-1fmrbde1.js → persistent-pty-k0nnq3t9.js} +4 -4
- package/dist/chunks/{schema-a2qe2ev9.js → persistent-pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{schema-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{schema-vmgq4x8b.js → persistent-pty-kbegyq1c.js} +2 -2
- package/dist/chunks/{schema-rs4ad808.js → persistent-pty-kd4v9k4j.js} +18 -18
- package/dist/chunks/{schema-ev08srva.js → persistent-pty-kdt9c9ze.js} +17 -17
- package/dist/chunks/{schema-c21zn749.js → persistent-pty-kg93zbfw.js} +14 -14
- package/dist/chunks/{schema-jw80jp6b.js → persistent-pty-kk00bynn.js} +21 -21
- package/dist/chunks/{schema-kb6gw2zp.js → persistent-pty-kmx0na6r.js} +4 -4
- package/dist/chunks/persistent-pty-kzm3n6dm.js +252 -0
- package/dist/chunks/{schema-jjs74g98.js → persistent-pty-m2d0j7c0.js} +9 -9
- package/dist/chunks/{schema-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-jvf3yq6v.js → persistent-pty-m70sbz6t.js} +4 -4
- package/dist/chunks/{schema-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-607q5haz.js → persistent-pty-mqt5419d.js} +12 -12
- package/dist/chunks/{schema-mhkvc446.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{schema-nkh7hwh6.js → persistent-pty-n07s4dfy.js} +5 -5
- package/dist/chunks/{schema-egc3yevh.js → persistent-pty-n38w816c.js} +17 -17
- package/dist/chunks/{schema-5cmxdwv8.js → persistent-pty-n7d88tpn.js} +3 -3
- package/dist/chunks/{schema-3e147rt9.js → persistent-pty-nca7p386.js} +9 -9
- package/dist/chunks/{schema-6ysrkrkr.js → persistent-pty-ncjresk4.js} +8 -8
- package/dist/chunks/{schema-cvekkaw8.js → persistent-pty-ncq08a4j.js} +11 -11
- package/dist/chunks/{schema-gsk7mn2e.js → persistent-pty-nexc1gw3.js} +180 -180
- package/dist/chunks/{schema-mksgfzgs.js → persistent-pty-nsjkyrtc.js} +5 -5
- package/dist/chunks/{schema-23sw09pj.js → persistent-pty-p06qdrkc.js} +5 -5
- package/dist/chunks/{schema-ey28dp55.js → persistent-pty-pgegyfjk.js} +13 -13
- package/dist/chunks/{schema-qf9g56f3.js → persistent-pty-pgmm1a8m.js} +60 -60
- package/dist/chunks/{schema-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{schema-zpfyxn6c.js → persistent-pty-pnrj6x89.js} +25 -25
- package/dist/chunks/{schema-4tzv48n0.js → persistent-pty-pr5f4b24.js} +33 -33
- package/dist/chunks/{schema-p70m8tan.js → persistent-pty-prd2qjch.js} +35 -35
- package/dist/chunks/{schema-z6970k62.js → persistent-pty-prtjzanf.js} +28 -28
- package/dist/chunks/{schema-feqe9m6b.js → persistent-pty-pwrm1vhs.js} +27 -27
- package/dist/chunks/{schema-dtnx79zk.js → persistent-pty-qb9vhbtw.js} +25 -25
- package/dist/chunks/{schema-j7xxj57g.js → persistent-pty-qcwj8qyp.js} +5 -5
- package/dist/chunks/{schema-vt5nkxs5.js → persistent-pty-qfzh5nde.js} +32 -32
- package/dist/chunks/{schema-xxxgmpnp.js → persistent-pty-qje2a4n2.js} +5 -5
- package/dist/chunks/{schema-f5thdj5b.js → persistent-pty-qkz21msg.js} +44 -44
- package/dist/chunks/{schema-1rd6czrg.js → persistent-pty-qs9wfy73.js} +16 -16
- package/dist/chunks/{schema-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-dgb7xf30.js → persistent-pty-qwww5vg0.js} +24 -24
- package/dist/chunks/{schema-4m11sss1.js → persistent-pty-r68fq1x1.js} +37 -37
- package/dist/chunks/{schema-8qmjzw20.js → persistent-pty-r7jpdgae.js} +25 -25
- package/dist/chunks/{schema-b74jhqyh.js → persistent-pty-r83whyrf.js} +23 -23
- package/dist/chunks/{schema-vncycja5.js → persistent-pty-r98e92ep.js} +4 -4
- package/dist/chunks/{schema-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-g17ae1qh.js → persistent-pty-rwx3cxcp.js} +11 -11
- package/dist/chunks/{schema-4r89mkx8.js → persistent-pty-rxdxrnem.js} +9 -9
- package/dist/chunks/{schema-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
- package/dist/chunks/{schema-eaj1djv9.js → persistent-pty-s8d7rejh.js} +6 -6
- package/dist/chunks/{schema-8a9kwrve.js → persistent-pty-sb4h1tjm.js} +28 -28
- package/dist/chunks/{schema-jwpzwwy6.js → persistent-pty-sgnpw8wt.js} +18 -18
- package/dist/chunks/{schema-d0wejq28.js → persistent-pty-sh0ksnmg.js} +3 -3
- package/dist/chunks/{schema-tfw5vp5y.js → persistent-pty-sxqherdn.js} +3 -3
- package/dist/chunks/{schema-kvb5pf0f.js → persistent-pty-sz5744vg.js} +7 -7
- package/dist/chunks/{schema-vz4jg4k9.js → persistent-pty-t0hvt5ga.js} +5 -5
- package/dist/chunks/{schema-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{schema-8349yjnv.js → persistent-pty-tj1zj3en.js} +17 -17
- package/dist/chunks/{schema-sgds5tk2.js → persistent-pty-tk1eb0jd.js} +23 -23
- package/dist/chunks/{schema-e89kpxws.js → persistent-pty-tk2xb498.js} +11 -11
- package/dist/chunks/{schema-jkq931gc.js → persistent-pty-tktartgp.js} +17 -17
- package/dist/chunks/{schema-nbgtvmt2.js → persistent-pty-tvqmbf2y.js} +7 -7
- package/dist/chunks/{schema-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-99647hmk.js → persistent-pty-v17mnf28.js} +32 -32
- package/dist/chunks/{schema-4p60s6mc.js → persistent-pty-v37e6ssw.js} +92 -92
- package/dist/chunks/{schema-4cmte46y.js → persistent-pty-v5vn9b7d.js} +4 -4
- package/dist/chunks/{schema-azgx1nga.js → persistent-pty-vansc7n9.js} +23 -23
- package/dist/chunks/{schema-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-yq6rdmt7.js → persistent-pty-vj8zb72s.js} +13 -13
- package/dist/chunks/{schema-ksngh15a.js → persistent-pty-vrev4g7d.js} +15 -15
- package/dist/chunks/{schema-798v7mfg.js → persistent-pty-vw47vkvc.js} +16 -16
- package/dist/chunks/{schema-kwb80b5k.js → persistent-pty-vyrd71eq.js} +11 -11
- package/dist/chunks/{schema-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-x98p3fja.js → persistent-pty-w4fc9vh6.js} +44 -44
- package/dist/chunks/{schema-ngaq65z3.js → persistent-pty-wafpmbfs.js} +20 -20
- package/dist/chunks/{schema-hqztqa4w.js → persistent-pty-wd09zjr8.js} +16 -16
- package/dist/chunks/{schema-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{schema-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{schema-szbdaj22.js → persistent-pty-wdm18wae.js} +4 -4
- package/dist/chunks/{schema-yb29xp2t.js → persistent-pty-wdmcp318.js} +12 -12
- package/dist/chunks/{schema-ke47ra3q.js → persistent-pty-wdy4dbbj.js} +54 -54
- package/dist/chunks/{schema-tfzngn12.js → persistent-pty-wj76ss2k.js} +4 -4
- package/dist/chunks/{schema-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-hd6mtbc2.js → persistent-pty-x56fq0r3.js} +1 -1
- package/dist/chunks/{schema-tyqw9b1a.js → persistent-pty-xd3hz90e.js} +10 -10
- package/dist/chunks/{schema-9jm5k1pc.js → persistent-pty-xdzxe0wf.js} +8 -8
- package/dist/chunks/{schema-57b9ws8p.js → persistent-pty-xfkkasph.js} +7 -7
- package/dist/chunks/{schema-0wddnwfq.js → persistent-pty-xhbkmk74.js} +25 -25
- package/dist/chunks/{schema-yme4tm39.js → persistent-pty-xm1fqpw5.js} +32 -32
- package/dist/chunks/{schema-3djsbczj.js → persistent-pty-xndc7n30.js} +4 -4
- package/dist/chunks/{schema-bfsvxfz0.js → persistent-pty-xx6wjz2h.js} +29 -29
- package/dist/chunks/{schema-c0knr1es.js → persistent-pty-xyh6nkpv.js} +19 -19
- package/dist/chunks/{schema-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-dx61neqa.js → persistent-pty-y56x7az9.js} +25 -25
- package/dist/chunks/{schema-e8f8pgjf.js → persistent-pty-y6r8qnm9.js} +27 -27
- package/dist/chunks/{schema-750bqw08.js → persistent-pty-ycndb7t3.js} +16 -16
- package/dist/chunks/{schema-4etra8x0.js → persistent-pty-yjw00k6r.js} +13 -13
- package/dist/chunks/{schema-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{schema-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-hnc22933.js → persistent-pty-ywyxz1rh.js} +35 -35
- package/dist/chunks/{schema-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
- package/dist/chunks/{schema-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-q23t71ky.js → persistent-pty-z2ahs8tt.js} +31 -31
- package/dist/chunks/{schema-2s9emtnm.js → persistent-pty-z35hf7r1.js} +19 -19
- package/dist/chunks/{schema-6htx4nwr.js → persistent-pty-z7ck20cm.js} +18 -18
- package/dist/chunks/{schema-rtrqs7aw.js → persistent-pty-zbatyxhg.js} +32 -32
- package/dist/chunks/{schema-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/schema-0et57d8k.js +0 -252
- package/dist/chunks/schema-dxj72tfx.js +0 -18
- package/dist/chunks/schema-pemgqcj3.js +0 -26
- package/dist/chunks/schema-z926abd4.js +0 -4
- package/dist/chunks/schema-zsnrp8c7.js +0 -507
- /package/dist/chunks/{schema-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service76,
|
|
4
|
+
node80
|
|
5
|
+
} from "./persistent-pty-3z0zch1n.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service75,
|
|
16
|
+
node79
|
|
17
|
+
} from "./persistent-pty-prd2qjch.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service56,
|
|
20
|
+
node59
|
|
21
|
+
} from "./persistent-pty-hh05mkd2.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service73,
|
|
27
|
+
node77
|
|
28
|
+
} from "./persistent-pty-pr5f4b24.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service55,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer21,
|
|
48
|
+
node: () => node58,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID13,
|
|
59
|
+
modelID: ID12,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID13,
|
|
69
|
+
modelID: ID12,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID13,
|
|
80
|
+
modelID: ID12,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID13,
|
|
91
|
+
modelID: ID12,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID13,
|
|
103
|
+
modelID: ID12,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID13,
|
|
113
|
+
modelID: ID12,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service55 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer21 = Layer.effect(Service55, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service75;
|
|
263
|
+
const models = yield* Service73;
|
|
264
|
+
const integrations = yield* Service76;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service56;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service55.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node58 = makeLocationNode({
|
|
314
|
+
service: Service55,
|
|
315
|
+
layer: layer21,
|
|
316
|
+
deps: [node79, node77, node80, Npm.node, node59]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node58, exports_model_resolver };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./persistent-pty-rwx3cxcp.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node86,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service82,
|
|
84
|
+
deps: [node87],
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service83;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node86 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service79,
|
|
18
|
+
node83
|
|
19
|
+
} from "./persistent-pty-6744wpjg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service61,
|
|
22
|
+
node64
|
|
23
|
+
} from "./persistent-pty-84ayszt9.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service60,
|
|
33
|
+
node: () => node63
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service60,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node63,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service60 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
|
+
const workspace = yield* Service61;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service60.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node63 = makeLocationNode({
|
|
71
|
+
service: Service60,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node83, node64]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service60, node63, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./persistent-pty-qs9wfy73.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./persistent-pty-6744wpjg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./persistent-pty-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service63,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node67
|
|
16
|
+
} from "./persistent-pty-ftg911na.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node15
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service82;
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const shell = yield* Service63;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node15 = makeLocationNode({
|
|
274
|
+
service: Service13,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node86, node83, node67]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./persistent-pty-qs9wfy73.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Service: () => Service38,
|
|
21
|
+
layer: () => layer16,
|
|
22
|
+
node: () => node40
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service38 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service38.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node40 = makeLocationNode({
|
|
75
|
+
service: Service38,
|
|
76
|
+
layer: layer16,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError4, ExecutionError2, Service38, layer16, node40, exports_command4, Event6 };
|