@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./persistent-pty-qs9wfy73.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./persistent-pty-6jttejjp.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event15,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service72,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node76,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service72 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event15 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service74;
|
|
81
|
+
const bus = yield* Service82;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event15.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service72.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event15.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event15.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node76 = makeGlobalNode({ service: Service72, layer, deps: [httpClient, node78, node86] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service72, Event15, inspect2, resolve4, node76, exports_wellknown };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./persistent-pty-rwx3cxcp.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node65
|
|
12
|
+
} from "./persistent-pty-k0nnq3t9.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID7,
|
|
25
|
+
Info: () => Info11,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service61,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured7,
|
|
30
|
+
node: () => node64
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID7 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info11 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID7,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info26 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID7,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service61 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service61,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node87, node65]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info11({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service61.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID7.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node64 = configured7();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID7, Info11, NotFound3, CreateConflict2, Service61, configured7, node64, exports_workspace };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./persistent-pty-jhf3jymm.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9zdhvgqs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./persistent-pty-140js8cv.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service37;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./persistent-pty-qs9wfy73.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
Event15
|
|
7
|
+
} from "./persistent-pty-80gs2nd1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin15,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin15 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service72;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin20 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin15, exports_plugin };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./persistent-pty-7nwh0z4r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./persistent-pty-2kewd2va.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin18
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin18 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
|
+
const image = yield* Service32;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin19 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin18, exports_image };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./persistent-pty-pr5f4b24.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./persistent-pty-7nwh0z4r.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-b7mafceh.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service70;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make10();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make10, VLLMPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service43,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node46
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service43 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service43.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node46 = makeLocationNode({
|
|
143
|
+
service: Service43,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service43, node46, exports_tool_output2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-prd2qjch.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service70
|
|
8
|
+
} from "./persistent-pty-7nwh0z4r.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-sh0ksnmg.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin28
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin28 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service70;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin28, exports_provider };
|