@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./persistent-pty-6744wpjg.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./persistent-pty-7nwh0z4r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service53
|
|
10
|
+
} from "./persistent-pty-z7ck20cm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make4
|
|
13
|
+
} from "./persistent-pty-mvfsc1pv.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin33
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin33 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service70;
|
|
37
|
+
const formatter = yield* Service53;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service79;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin17 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make4({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin17 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin33, exports_formatter };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./persistent-pty-qs9wfy73.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./persistent-pty-6744wpjg.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info9,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service49,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node52
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info9, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service49 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
|
+
const bus = yield* Service82;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info9));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service49.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node52 = makeLocationNode({
|
|
168
|
+
service: Service49,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node83, node86]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info9, Mode2, DiffError2, Service49, node52, exports_vcs };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./persistent-pty-7nwh0z4r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./persistent-pty-8pccpkv9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin25
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin25 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service70;
|
|
27
|
+
const output = yield* Service43;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin3 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin25, exports_tool_output };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2z6npzcs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./persistent-pty-qs9wfy73.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./persistent-pty-jykm5qrb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-3z0zch1n.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-prd2qjch.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service82;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID13.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID13.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./persistent-pty-qwww5vg0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service44,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-pgegyfjk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./persistent-pty-z7ck20cm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service65
|
|
14
|
+
} from "./persistent-pty-d79paw8k.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service64
|
|
17
|
+
} from "./persistent-pty-ehye99pz.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin2,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin2 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service64;
|
|
56
|
+
const fileMutation = yield* Service44;
|
|
57
|
+
const environment = yield* Service60;
|
|
58
|
+
const formatter = yield* Service53;
|
|
59
|
+
const permission = yield* Service65;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
|