@opencode/core 0.0.0-dev-20163 → 0.0.0-dev-20164
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{config-dkv69pj9.js → persistent-pty-01nnymx6.js} +15 -15
- package/dist/chunks/{config-3nf27jkp.js → persistent-pty-08md9an2.js} +16 -16
- package/dist/chunks/{config-9ssc61wq.js → persistent-pty-0g4y79g0.js} +15 -15
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{config-5svcdy10.js → persistent-pty-0p8q5ehv.js} +2 -2
- package/dist/chunks/{config-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-4c6p8qe3.js → persistent-pty-0t93asss.js} +10 -10
- package/dist/chunks/{config-4e8vs6eh.js → persistent-pty-0xezjjjn.js} +8 -8
- package/dist/chunks/{config-m08j2e3y.js → persistent-pty-11jghh1r.js} +14 -14
- package/dist/chunks/{config-jnk2jfbv.js → persistent-pty-1adxqfwa.js} +26 -26
- package/dist/chunks/{config-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-391a84vc.js → persistent-pty-1ngb9c38.js} +4 -4
- package/dist/chunks/{config-qhr4ys9v.js → persistent-pty-1nhss6w6.js} +16 -16
- package/dist/chunks/{config-rv3ers6p.js → persistent-pty-1qbqvybc.js} +7 -7
- package/dist/chunks/{config-ph842b28.js → persistent-pty-1y283654.js} +4 -4
- package/dist/chunks/{config-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{config-jj5yanh9.js → persistent-pty-227srnq3.js} +11 -11
- package/dist/chunks/{config-r33ff4dw.js → persistent-pty-23pqda6t.js} +6 -6
- package/dist/chunks/{config-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
- package/dist/chunks/{config-ajqzvdgx.js → persistent-pty-296b5s0h.js} +10 -10
- package/dist/chunks/{config-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-mh8443k9.js → persistent-pty-2j1qtvzq.js} +2 -2
- package/dist/chunks/{config-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{config-psbhqdve.js → persistent-pty-2neap1z6.js} +17 -17
- package/dist/chunks/{config-6hhsdfpv.js → persistent-pty-2pgqb13s.js} +14 -14
- package/dist/chunks/{config-cctby3wr.js → persistent-pty-31eqtkvq.js} +13 -13
- package/dist/chunks/{config-snzwe59h.js → persistent-pty-335gx45g.js} +8 -8
- package/dist/chunks/{config-3gmyvx2t.js → persistent-pty-3f6m2wqe.js} +4 -4
- package/dist/chunks/{config-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-h5cqn5dn.js → persistent-pty-3mf0sz11.js} +8 -8
- package/dist/chunks/{config-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-vv1h20h2.js → persistent-pty-41gc5d0b.js} +8 -8
- package/dist/chunks/{config-akrnn5pm.js → persistent-pty-45fdndrg.js} +6 -6
- package/dist/chunks/{config-5143n705.js → persistent-pty-46jya41g.js} +7 -7
- package/dist/chunks/{config-yrnrtvb9.js → persistent-pty-47fq69fq.js} +27 -27
- package/dist/chunks/{config-6z52wrjc.js → persistent-pty-4cpjpwjg.js} +29 -29
- package/dist/chunks/{config-nfqmy5b6.js → persistent-pty-4tzgaesz.js} +13 -13
- package/dist/chunks/{config-rh49mrr9.js → persistent-pty-4xwyy9ad.js} +3 -3
- package/dist/chunks/{config-px3bsd12.js → persistent-pty-4y8gxswz.js} +8 -8
- package/dist/chunks/{config-27my81vf.js → persistent-pty-5230006x.js} +8 -8
- package/dist/chunks/{config-1ygqh575.js → persistent-pty-56gdpj1q.js} +9 -9
- package/dist/chunks/persistent-pty-56zeh913.js +26 -0
- package/dist/chunks/{config-4bw31ana.js → persistent-pty-575extxc.js} +28 -28
- package/dist/chunks/{config-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{config-4ca0desf.js → persistent-pty-5dfeagw9.js} +11 -11
- package/dist/chunks/{config-87dqewmc.js → persistent-pty-5dtfwc66.js} +12 -12
- package/dist/chunks/{config-3efy5fas.js → persistent-pty-5gm161de.js} +17 -17
- package/dist/chunks/{config-hxyrv1jb.js → persistent-pty-5pchrvbf.js} +3 -3
- package/dist/chunks/{config-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-9s8mzn52.js → persistent-pty-5xfxk5qj.js} +2 -2
- package/dist/chunks/{config-1pxa4nss.js → persistent-pty-5xpb6q0y.js} +8 -8
- package/dist/chunks/{config-5xpznt2d.js → persistent-pty-5xpznt2d.js} +4 -4
- package/dist/chunks/{config-eykerdw1.js → persistent-pty-62xhx457.js} +11 -11
- package/dist/chunks/{config-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{config-fnr6z4w1.js → persistent-pty-66fb0720.js} +23 -23
- package/dist/chunks/{config-y8hck43r.js → persistent-pty-6a50q89r.js} +11 -11
- package/dist/chunks/{config-yk92z034.js → persistent-pty-6b64cty4.js} +42 -42
- package/dist/chunks/{config-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-djcyjyas.js → persistent-pty-6qxa4z0k.js} +9 -9
- package/dist/chunks/{config-0qx3jgen.js → persistent-pty-6rectmv1.js} +5 -5
- package/dist/chunks/{config-9tr9p23y.js → persistent-pty-6rvajrnc.js} +1 -1
- package/dist/chunks/{config-2vk2a4tq.js → persistent-pty-6vna95zw.js} +14 -14
- package/dist/chunks/{config-76a3kx5e.js → persistent-pty-737n3dqd.js} +9 -9
- package/dist/chunks/{config-kgn9tatw.js → persistent-pty-741j3ryy.js} +23 -23
- package/dist/chunks/{config-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-e7tpz29y.js → persistent-pty-7k3j8est.js} +12 -12
- package/dist/chunks/{config-0nz73kd9.js → persistent-pty-7kqen0y3.js} +42 -42
- package/dist/chunks/{config-191eynk5.js → persistent-pty-7pdxtf20.js} +12 -12
- package/dist/chunks/{config-4jxtnjc8.js → persistent-pty-890xenda.js} +12 -12
- package/dist/chunks/{config-7bczgskn.js → persistent-pty-8aywcm47.js} +5 -5
- package/dist/chunks/{config-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-fgb7zg94.js → persistent-pty-8e2svszp.js} +15 -15
- package/dist/chunks/{config-q5asdkn4.js → persistent-pty-8gxqpgph.js} +4 -4
- package/dist/chunks/{config-952j3b5h.js → persistent-pty-8jh6age2.js} +8 -8
- package/dist/chunks/{config-n9qjhx81.js → persistent-pty-8qfz057q.js} +4 -4
- package/dist/chunks/{config-m241b8yp.js → persistent-pty-8s7tt1np.js} +3 -3
- package/dist/chunks/{config-x63hdkmq.js → persistent-pty-8yy5nj9k.js} +20 -20
- package/dist/chunks/{config-29pep8r5.js → persistent-pty-8zp8v96d.js} +13 -13
- package/dist/chunks/{config-akxghxm2.js → persistent-pty-916rzewx.js} +10 -10
- package/dist/chunks/{config-4tw3xr5g.js → persistent-pty-91a0d1yt.js} +12 -12
- package/dist/chunks/{config-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{config-ex0pka66.js → persistent-pty-994b2pxg.js} +5 -5
- package/dist/chunks/{config-jnakyatf.js → persistent-pty-99dvvp6t.js} +20 -20
- package/dist/chunks/{config-c85bkqez.js → persistent-pty-9gh63tf7.js} +11 -11
- package/dist/chunks/{config-j75kj7v0.js → persistent-pty-9kn5es1x.js} +13 -13
- package/dist/chunks/{config-8d5190ka.js → persistent-pty-9vbqd6fz.js} +16 -16
- package/dist/chunks/{config-m6g7p1z9.js → persistent-pty-a37hnpwz.js} +20 -20
- package/dist/chunks/{config-ff0svapt.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{config-vcrhrphe.js → persistent-pty-aaccrgx2.js} +8 -8
- package/dist/chunks/{config-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{config-j41whdzd.js → persistent-pty-aajqz8pf.js} +10 -10
- package/dist/chunks/{config-yjdhv57g.js → persistent-pty-aneetawy.js} +27 -27
- package/dist/chunks/{config-yq7nmdyq.js → persistent-pty-anf3dr2h.js} +11 -11
- package/dist/chunks/{config-ebvj30mf.js → persistent-pty-ar9dn3cv.js} +8 -8
- package/dist/chunks/{config-vmky7h7j.js → persistent-pty-at7effxm.js} +80 -80
- package/dist/chunks/{config-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-6y7ymps1.js → persistent-pty-b91ar3n4.js} +3 -3
- package/dist/chunks/{config-7zsfxkzx.js → persistent-pty-bcsjh7qn.js} +13 -13
- package/dist/chunks/{config-y3edmtj1.js → persistent-pty-bkxj05eb.js} +13 -13
- package/dist/chunks/{config-w1v3pp9p.js → persistent-pty-bmqevcy4.js} +24 -24
- package/dist/chunks/{config-grfrd8dm.js → persistent-pty-bxy0qmvh.js} +15 -15
- package/dist/chunks/{config-6hjx5zpb.js → persistent-pty-bydnjh3t.js} +9 -9
- package/dist/chunks/{config-d23rw8y2.js → persistent-pty-c178vpnr.js} +11 -11
- package/dist/chunks/{config-5pmjgeea.js → persistent-pty-c87nfaq6.js} +25 -25
- package/dist/chunks/{config-69yhtrb3.js → persistent-pty-c97sszdy.js} +13 -13
- package/dist/chunks/{config-yhqk4s98.js → persistent-pty-c98refcx.js} +29 -29
- package/dist/chunks/{config-w2pn7q0g.js → persistent-pty-ca1a2yzy.js} +16 -16
- package/dist/chunks/persistent-pty-chv7b8n2.js +511 -0
- package/dist/chunks/{config-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{config-9hn6k4tm.js → persistent-pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{config-8mfdap3f.js → persistent-pty-ctzssw83.js} +5 -5
- package/dist/chunks/{config-tc3ts9ah.js → persistent-pty-d3dx1kx7.js} +25 -25
- package/dist/chunks/{config-cpneeje0.js → persistent-pty-d4he2qe1.js} +5 -5
- package/dist/chunks/{config-j83byb14.js → persistent-pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{config-2y34zzjz.js → persistent-pty-dg5bcj4q.js} +6 -6
- package/dist/chunks/{config-s0tjnb05.js → persistent-pty-dh5j4tq6.js} +20 -20
- package/dist/chunks/{config-mp4gry6m.js → persistent-pty-dm9cr3j9.js} +11 -11
- package/dist/chunks/{config-xkntkrq7.js → persistent-pty-dmqcgk4z.js} +5 -5
- package/dist/chunks/{config-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-0ajjd2sc.js → persistent-pty-dq65fn51.js} +8 -8
- package/dist/chunks/{config-0mtfkzvk.js → persistent-pty-e1hqtx3n.js} +12 -12
- package/dist/chunks/{config-ecfe7b91.js → persistent-pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-0srn37tb.js → persistent-pty-efvsyy3d.js} +11 -11
- package/dist/chunks/{config-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-3cfzdc8e.js → persistent-pty-evbgk2k8.js} +5 -5
- package/dist/chunks/{config-xcn85n4f.js → persistent-pty-fe6vq8tg.js} +1 -1
- package/dist/chunks/{config-wdrw2805.js → persistent-pty-ferhwsec.js} +85 -85
- package/dist/chunks/{config-m7844kbn.js → persistent-pty-ff10rxvd.js} +24 -24
- package/dist/chunks/{config-7yhjqnc9.js → persistent-pty-fk95fhgy.js} +9 -9
- package/dist/chunks/{config-andx0whv.js → persistent-pty-fm0mk9mt.js} +22 -22
- package/dist/chunks/{config-ab9rd8f1.js → persistent-pty-ftey8pzc.js} +12 -12
- package/dist/chunks/{config-cjme43bx.js → persistent-pty-fwh42rj0.js} +1 -1
- package/dist/chunks/{config-82z7scvq.js → persistent-pty-fxzsjm82.js} +9 -9
- package/dist/chunks/{config-yx7mb06z.js → persistent-pty-g898w310.js} +14 -14
- package/dist/chunks/{config-a46v4e4v.js → persistent-pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{config-27t4zbz5.js → persistent-pty-gaz1nxqp.js} +8 -8
- package/dist/chunks/{config-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-1j08d8wp.js → persistent-pty-gf6nqq1m.js} +4 -4
- package/dist/chunks/{config-zdg4hh7e.js → persistent-pty-ghx2a3j9.js} +43 -43
- package/dist/chunks/{config-85apd54q.js → persistent-pty-grzz702c.js} +13 -13
- package/dist/chunks/{config-paz8pf0s.js → persistent-pty-gszzdtem.js} +33 -33
- package/dist/chunks/{config-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
- package/dist/chunks/{config-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-yzyc98yn.js → persistent-pty-h83bje8e.js} +6 -6
- package/dist/chunks/{config-8q9myf25.js → persistent-pty-h896pcm5.js} +6 -6
- package/dist/chunks/{config-xcdcxew8.js → persistent-pty-h8t5dwg5.js} +3 -3
- package/dist/chunks/{config-nxhqveyz.js → persistent-pty-hkfg6fzm.js} +5 -5
- package/dist/chunks/{config-zhxfxw39.js → persistent-pty-hm6bha70.js} +31 -31
- package/dist/chunks/{config-0r7yqxbf.js → persistent-pty-hnr5yq9h.js} +5 -5
- package/dist/chunks/{config-c83556ad.js → persistent-pty-hz0regp5.js} +7 -7
- package/dist/chunks/{config-hs6hss1g.js → persistent-pty-hz9bs9b4.js} +40 -40
- package/dist/chunks/{config-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{config-e2v0tjas.js → persistent-pty-j64qgxzw.js} +22 -22
- package/dist/chunks/{config-t7v71wrn.js → persistent-pty-j783qryr.js} +22 -22
- package/dist/chunks/{config-jav3yb7b.js → persistent-pty-j8mh8b5n.js} +41 -41
- package/dist/chunks/{config-b90ja75w.js → persistent-pty-jass2s4f.js} +9 -9
- package/dist/chunks/{config-y9034cbw.js → persistent-pty-je0jfj0e.js} +4 -4
- package/dist/chunks/{config-6bsje7ws.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/{config-3a4shs48.js → persistent-pty-jpbdh4v2.js} +24 -24
- package/dist/chunks/{config-9z9trrse.js → persistent-pty-jt30h5qe.js} +24 -24
- package/dist/chunks/{config-dx758kx7.js → persistent-pty-jz8rx2zy.js} +21 -21
- package/dist/chunks/{config-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{config-3myvd198.js → persistent-pty-k5r54mqc.js} +47 -47
- package/dist/chunks/{config-kthqrwz5.js → persistent-pty-k83jpm1g.js} +9 -9
- package/dist/chunks/{config-qy7d9sb7.js → persistent-pty-kcpg680q.js} +25 -25
- package/dist/chunks/{config-r6awj1nk.js → persistent-pty-kqts2caf.js} +16 -16
- package/dist/chunks/{config-nkr9tsat.js → persistent-pty-kxzq1zxp.js} +1 -1
- package/dist/chunks/{config-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-p7w3hz34.js → persistent-pty-m6ycr81h.js} +10 -10
- package/dist/chunks/{config-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-6c7yw9pm.js → persistent-pty-mbd019w6.js} +8 -8
- package/dist/chunks/{config-kfpgr0a9.js → persistent-pty-mg504efd.js} +20 -20
- package/dist/chunks/{config-3pks5218.js → persistent-pty-mrs83b0h.js} +2 -2
- package/dist/chunks/{config-x6k34qeq.js → persistent-pty-msyw7222.js} +1 -1
- package/dist/chunks/{config-a1gpj94z.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{config-2saqjfxf.js → persistent-pty-mze09n65.js} +25 -25
- package/dist/chunks/{config-z1n525st.js → persistent-pty-n0et9739.js} +10 -10
- package/dist/chunks/persistent-pty-n95b3jav.js +18 -0
- package/dist/chunks/{config-he3h4zb1.js → persistent-pty-nps86teb.js} +16 -16
- package/dist/chunks/{config-1550v4nk.js → persistent-pty-nyand8e3.js} +42 -42
- package/dist/chunks/{config-hbyhqfhs.js → persistent-pty-nz569jqt.js} +5 -5
- package/dist/chunks/{config-vy4zg7qh.js → persistent-pty-p1zpfjkz.js} +5 -5
- package/dist/chunks/{config-k58htxs6.js → persistent-pty-p7ms2pw6.js} +10 -10
- package/dist/chunks/{config-epgnpn45.js → persistent-pty-p820wzt7.js} +64 -64
- package/dist/chunks/{config-b6z64nx6.js → persistent-pty-pb0865gs.js} +20 -20
- package/dist/chunks/{config-2bgtrqpj.js → persistent-pty-pe71matz.js} +9 -9
- package/dist/chunks/{config-kyxhhp43.js → persistent-pty-pfs0r10v.js} +18 -18
- package/dist/chunks/{config-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{config-x85taj0w.js → persistent-pty-pvzwpsva.js} +130 -130
- package/dist/chunks/{config-jws6fkes.js → persistent-pty-py3kkmfq.js} +8 -8
- package/dist/chunks/{config-crj7t10d.js → persistent-pty-q39ggtte.js} +26 -26
- package/dist/chunks/{config-nh68k07w.js → persistent-pty-qcf4k6mm.js} +26 -26
- package/dist/chunks/{config-j3s2z371.js → persistent-pty-qg0jgkcp.js} +9 -9
- package/dist/chunks/{config-qj8eh1ht.js → persistent-pty-qj8eh1ht.js} +1 -1
- package/dist/chunks/{config-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{config-veevhm8d.js → persistent-pty-r8bbrrkb.js} +18 -18
- package/dist/chunks/{config-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-2cm39q5q.js → persistent-pty-rez8drcy.js} +3 -3
- package/dist/chunks/{config-dc90x61j.js → persistent-pty-rgj6km22.js} +6 -6
- package/dist/chunks/{config-rczk70st.js → persistent-pty-rkeedwdt.js} +30 -30
- package/dist/chunks/{config-4pkf9s6k.js → persistent-pty-rrmj4cxt.js} +8 -8
- package/dist/chunks/{config-bgm8582g.js → persistent-pty-rsq3dspb.js} +22 -22
- package/dist/chunks/{config-1rvnc3g4.js → persistent-pty-rwxdf6xm.js} +4 -4
- package/dist/chunks/persistent-pty-rxfkax64.js +252 -0
- package/dist/chunks/{config-c6x07p5x.js → persistent-pty-s61nhqp5.js} +26 -26
- package/dist/chunks/{config-2p8k3371.js → persistent-pty-s6dskvww.js} +3 -3
- package/dist/chunks/{config-s8d7rejh.js → persistent-pty-s8d7rejh.js} +1 -1
- package/dist/chunks/{config-whyarb4n.js → persistent-pty-sd0s3djk.js} +9 -9
- package/dist/chunks/{config-2jrdnx2f.js → persistent-pty-sdtemf1j.js} +21 -21
- package/dist/chunks/{config-5kb038m0.js → persistent-pty-sgtbqjty.js} +34 -34
- package/dist/chunks/{config-0a5prme8.js → persistent-pty-ss1emqjf.js} +15 -15
- package/dist/chunks/{config-m6nec9qq.js → persistent-pty-ssdqnhy0.js} +4 -4
- package/dist/chunks/{config-x370qp4h.js → persistent-pty-stpqtxx6.js} +11 -11
- package/dist/chunks/{config-8weywzx2.js → persistent-pty-sv0hxxy2.js} +11 -11
- package/dist/chunks/{config-63hq6j90.js → persistent-pty-swvazs9r.js} +3 -3
- package/dist/chunks/{config-gtt51geh.js → persistent-pty-sycenq6p.js} +24 -24
- package/dist/chunks/{config-9g00fehr.js → persistent-pty-t5eky83d.js} +12 -12
- package/dist/chunks/{config-ax8jf6wh.js → persistent-pty-tanr7chk.js} +6 -6
- package/dist/chunks/{config-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{config-5cx5mghm.js → persistent-pty-tfz634vt.js} +20 -20
- package/dist/chunks/{config-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{config-3xt0gpq2.js → persistent-pty-tzjpraer.js} +21 -21
- package/dist/chunks/{config-j9ty9cws.js → persistent-pty-v3sgzvyr.js} +1 -1
- package/dist/chunks/{config-gkk129yf.js → persistent-pty-v4nfzjvf.js} +8 -8
- package/dist/chunks/{config-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{config-hendpx1y.js → persistent-pty-vhz5xwqz.js} +20 -20
- package/dist/chunks/{config-te5kh89r.js → persistent-pty-vk7c57nq.js} +12 -12
- package/dist/chunks/{config-hvpdc0sp.js → persistent-pty-vrxb6jmc.js} +11 -11
- package/dist/chunks/{config-zwhemmnn.js → persistent-pty-vsy454dw.js} +22 -22
- package/dist/chunks/{config-areyx2cx.js → persistent-pty-vxkszqwd.js} +5 -5
- package/dist/chunks/{config-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-yvvvp4gn.js → persistent-pty-w3x9v1nk.js} +8 -8
- package/dist/chunks/{config-bdm4x938.js → persistent-pty-w9vf9qqj.js} +9 -9
- package/dist/chunks/{config-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{config-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{config-efmek94c.js → persistent-pty-whngsn6r.js} +5 -5
- package/dist/chunks/{config-0dda1jmb.js → persistent-pty-wj4g8yv4.js} +9 -9
- package/dist/chunks/{config-9dp61419.js → persistent-pty-wkcf81jx.js} +31 -31
- package/dist/chunks/{config-8f5hwpwq.js → persistent-pty-wr3tk2ww.js} +37 -37
- package/dist/chunks/{config-9e4j78a5.js → persistent-pty-wwx8h3qn.js} +16 -16
- package/dist/chunks/{config-2hed35ym.js → persistent-pty-x0631gwp.js} +3 -3
- package/dist/chunks/{config-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-0mtekjp2.js → persistent-pty-x2e89f7h.js} +4 -4
- package/dist/chunks/{config-v7z2bvyd.js → persistent-pty-x3gqap9d.js} +4 -4
- package/dist/chunks/{config-5np739fs.js → persistent-pty-x6nw1v8c.js} +3 -3
- package/dist/chunks/{config-xekpbczy.js → persistent-pty-xdbg7gq8.js} +9 -9
- package/dist/chunks/{config-pcxghkgz.js → persistent-pty-xf0nr9dv.js} +4 -4
- package/dist/chunks/{config-qqeeq2t9.js → persistent-pty-xfkkasph.js} +7 -7
- package/dist/chunks/{config-pb6j0kax.js → persistent-pty-xnv07p9r.js} +11 -11
- package/dist/chunks/{config-p3y8c77m.js → persistent-pty-xqa3e3de.js} +7 -7
- package/dist/chunks/{config-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-5tmjy8g0.js → persistent-pty-y1rr13hx.js} +23 -23
- package/dist/chunks/{config-j0p8q6br.js → persistent-pty-yavnd24h.js} +32 -32
- package/dist/chunks/{config-nanbsj68.js → persistent-pty-yaxb32cc.js} +31 -31
- package/dist/chunks/{config-09dpnta2.js → persistent-pty-yaxy18bs.js} +33 -33
- package/dist/chunks/{config-phc8pspp.js → persistent-pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{config-q3d453fr.js → persistent-pty-ymaxd8g1.js} +24 -24
- package/dist/chunks/{config-rhraev7y.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{config-ja9xt0y7.js → persistent-pty-ywptq5a1.js} +4 -4
- package/dist/chunks/{config-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
- package/dist/chunks/{config-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-e3n088rr.js → persistent-pty-z1kx27t1.js} +10 -10
- package/dist/chunks/{config-341r3sh7.js → persistent-pty-z43b1w6b.js} +4 -4
- package/dist/chunks/{config-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{config-ta8av7gg.js → persistent-pty-zbbjan7x.js} +21 -21
- package/dist/chunks/{config-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-97hg6zht.js → persistent-pty-zfm6w3qw.js} +48 -48
- package/dist/chunks/{config-pr720m8d.js → persistent-pty-zmrnz6me.js} +33 -33
- package/dist/chunks/{config-2bhzq30a.js → persistent-pty-zmx61mjz.js} +21 -21
- package/dist/chunks/{config-stxbhw19.js → persistent-pty-zpp3pb8s.js} +1 -1
- package/dist/chunks/{config-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-vd01k5jq.js → persistent-pty-zryabcgp.js} +25 -25
- package/dist/chunks/{config-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 +85 -85
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +123 -123
- 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 +122 -122
- 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 +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +70 -70
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- 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 +360 -360
- package/dist/location.js +81 -81
- 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 +75 -75
- 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 +102 -102
- package/dist/models-dev.js +99 -99
- 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 +107 -107
- 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 +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +94 -94
- 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 +353 -353
- 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/verbosity.js +93 -93
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- 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 +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +128 -128
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +119 -119
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- 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 +112 -112
- package/dist/session/runner/step.js +126 -126
- 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 +73 -73
- 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 +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +140 -140
- 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 +118 -118
- 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 +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +94 -94
- package/package.json +8 -8
- package/dist/chunks/config-619r8v3y.js +0 -18
- package/dist/chunks/config-6kdq0pjd.js +0 -4
- package/dist/chunks/config-c2dxfrbp.js +0 -511
- package/dist/chunks/config-jm84vjjd.js +0 -252
- package/dist/chunks/config-m0gp2a18.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ID14,
|
|
3
3
|
Service77,
|
|
4
4
|
node81
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-whngsn6r.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
Service76,
|
|
16
|
-
node80
|
|
17
|
-
} from "./config-j75kj7v0.js";
|
|
18
|
-
import {
|
|
19
15
|
Service75,
|
|
20
16
|
node79
|
|
21
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9kn5es1x.js";
|
|
18
|
+
import {
|
|
19
|
+
Service73,
|
|
20
|
+
node77
|
|
21
|
+
} from "./persistent-pty-fxzsjm82.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service74,
|
|
27
|
+
node78
|
|
28
|
+
} from "./persistent-pty-kcpg680q.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer24,
|
|
48
|
+
node: () => node76,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
58
|
providerID: ID13,
|
|
59
|
-
modelID:
|
|
59
|
+
modelID: ID12,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -66,7 +66,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
68
|
providerID: ID13,
|
|
69
|
-
modelID:
|
|
69
|
+
modelID: ID12,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
79
|
providerID: ID13,
|
|
80
|
-
modelID:
|
|
80
|
+
modelID: ID12,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -88,7 +88,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
90
|
providerID: ID13,
|
|
91
|
-
modelID:
|
|
91
|
+
modelID: ID12,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -100,7 +100,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
102
|
providerID: ID13,
|
|
103
|
-
modelID:
|
|
103
|
+
modelID: ID12,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
112
|
providerID: ID13,
|
|
113
|
-
modelID:
|
|
113
|
+
modelID: ID12,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service72 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
261
|
+
var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service75;
|
|
263
|
+
const models = yield* Service74;
|
|
264
264
|
const integrations = yield* Service77;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service73;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
269
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -293,7 +293,7 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service72.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node76 = makeLocationNode({
|
|
314
|
+
service: Service72,
|
|
315
|
+
layer: layer24,
|
|
316
|
+
deps: [node79, node78, node81, Npm.node, node77]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service72, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node76, exports_model_resolver };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-rez8drcy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-ywptq5a1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./persistent-pty-01nnymx6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service50,
|
|
15
|
+
node52
|
|
16
|
+
} from "./persistent-pty-h896pcm5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./persistent-pty-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service49
|
|
26
|
+
} from "./persistent-pty-8gxqpgph.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-ybhbtxjg.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service67,
|
|
32
|
+
node71
|
|
33
|
+
} from "./persistent-pty-t5eky83d.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-3f6m2wqe.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./persistent-pty-bmqevcy4.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service48,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer18,
|
|
50
|
+
node: () => node51,
|
|
51
51
|
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service48 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service67;
|
|
70
|
+
const instances = yield* Service50;
|
|
71
71
|
const bus = yield* Service83;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service61;
|
|
73
73
|
const db = (yield* Service84).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer19 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service49.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make16({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer19 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service48.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer19 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node51 = makeGlobalNode({
|
|
133
|
+
service: Service48,
|
|
134
|
+
layer: layer18,
|
|
135
|
+
deps: [node71, node52, node87, node88, node65]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer3 = Layer.succeed(
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service48, Service48.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service53, Service53.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service48, terminal2, layer18, node51, noopLayer3, exports_execution };
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -43,10 +43,10 @@ function render3(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render3(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
122
|
-
changed:
|
|
121
|
+
initial: render2,
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update2, make13, exports_instructions3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-mrs83b0h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-9kn5es1x.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-kcpg680q.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin42
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin42 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin17 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin42, exports_mcp_codemode_defaults };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9kn5es1x.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-tanr7chk.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./persistent-pty-h896pcm5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-n95b3jav.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./persistent-pty-7kqen0y3.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-vzs5sf6e.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* Service50;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin30,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin30 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin49 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin30, exports_opencode };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service56
|
|
4
|
+
} from "./persistent-pty-zmrnz6me.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./persistent-pty-j783qryr.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/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin2 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service56;
|
|
27
|
+
const shell = yield* Service70;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin28 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin2, exports_shell };
|