@opencode/core 0.0.0-dev-19790 → 0.0.0-dev-19793
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{pty-ve4pfa0n.js → session-00z3vp5f.js} +4 -4
- package/dist/chunks/{pty-2xyrgdy7.js → session-0acgj5m2.js} +15 -15
- package/dist/chunks/{pty-fra5bndy.js → session-0e9q1ep3.js} +19 -19
- package/dist/chunks/{pty-0paq2nw3.js → session-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → session-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-zxtb73ge.js → session-13yszw56.js} +20 -20
- package/dist/chunks/{pty-vdnmec7y.js → session-1aqfqq4e.js} +5 -5
- package/dist/chunks/{pty-1dazxqgg.js → session-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-g6v5r3w6.js → session-1j8crccj.js} +12 -12
- package/dist/chunks/{pty-4ekhf7tc.js → session-1pbptxp5.js} +7 -7
- package/dist/chunks/{pty-e8gs20m7.js → session-1wvs2wp5.js} +20 -20
- package/dist/chunks/{pty-56gdpj1q.js → session-1ygqh575.js} +9 -9
- package/dist/chunks/{pty-z9g3fnns.js → session-215t6bdc.js} +22 -22
- package/dist/chunks/{pty-21r38tys.js → session-21r38tys.js} +1 -1
- package/dist/chunks/{pty-2402vzrj.js → session-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-j2dty9kk.js → session-24qxwnw9.js} +15 -15
- package/dist/chunks/{pty-wj76ss2k.js → session-277eer69.js} +4 -4
- package/dist/chunks/{pty-vr12ekh8.js → session-29czvhxn.js} +9 -9
- package/dist/chunks/{pty-2a5m3afh.js → session-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-7hmfndvt.js → session-2c2fd3fa.js} +33 -33
- package/dist/chunks/{pty-hzxxpgfe.js → session-2hh1yst1.js} +13 -13
- package/dist/chunks/{pty-ypbv3kf7.js → session-2j7d9wq4.js} +27 -27
- package/dist/chunks/{pty-607tc6va.js → session-2k8khapm.js} +5 -5
- package/dist/chunks/{pty-xtvm4hh6.js → session-2nn2k2c5.js} +3 -3
- package/dist/chunks/{pty-6zb5jvme.js → session-2s57fhme.js} +58 -58
- package/dist/chunks/{pty-8sc656s0.js → session-346m09fb.js} +30 -30
- package/dist/chunks/{pty-gyxzt53n.js → session-39j1pcap.js} +15 -15
- package/dist/chunks/{pty-3fc6dm20.js → session-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-yvqjf3ez.js → session-3je31grm.js} +15 -15
- package/dist/chunks/{pty-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-kgbqw58m.js → session-3w1rd6nk.js} +35 -35
- package/dist/chunks/{pty-jva4mgym.js → session-3ythc6yv.js} +4 -4
- package/dist/chunks/{pty-8x7kj7de.js → session-41e1pd6j.js} +16 -16
- package/dist/chunks/{pty-p3w99mff.js → session-4cz08x43.js} +20 -20
- package/dist/chunks/{pty-jhetzww4.js → session-4nr015gq.js} +41 -41
- package/dist/chunks/{pty-7swn79b1.js → session-4tdfwhv9.js} +13 -13
- package/dist/chunks/{pty-xfjax5kj.js → session-4vp46et4.js} +6 -6
- package/dist/chunks/{pty-magykp64.js → session-50mzsvk4.js} +4 -4
- package/dist/chunks/{pty-4sn99hha.js → session-57ez7d0k.js} +7 -7
- package/dist/chunks/{pty-ty51299p.js → session-5b5nyza2.js} +8 -8
- package/dist/chunks/{pty-a1bz86dw.js → session-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → session-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-gs3s1a1g.js → session-5eer2xf9.js} +8 -8
- package/dist/chunks/{pty-m7va1g8x.js → session-5frpvc34.js} +2 -2
- package/dist/chunks/{pty-d8mfmd5t.js → session-5hprvvgt.js} +18 -18
- package/dist/chunks/{pty-5e15319b.js → session-5hx7d1d6.js} +5 -5
- package/dist/chunks/{pty-1n42sk3q.js → session-5mdykzrj.js} +13 -13
- package/dist/chunks/{pty-cpj0znwe.js → session-5mtzsd3b.js} +4 -4
- package/dist/chunks/{pty-vyqn3nqs.js → session-5phqnecy.js} +8 -8
- package/dist/chunks/{pty-rrwz5n32.js → session-5r0en2yc.js} +13 -13
- package/dist/chunks/{pty-5t3nmthw.js → session-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-95jkg4sh.js → session-5xf9q064.js} +6 -6
- package/dist/chunks/{pty-82r64hfa.js → session-5zpphkyw.js} +26 -26
- package/dist/chunks/{pty-7cj0vwkb.js → session-63nypvja.js} +14 -14
- package/dist/chunks/{pty-4jzbd5w2.js → session-63sbad5n.js} +316 -316
- package/dist/chunks/{pty-669tq793.js → session-669tq793.js} +1 -1
- package/dist/chunks/{pty-q0sdqn78.js → session-6914g88p.js} +4 -4
- package/dist/chunks/{pty-85z0khfw.js → session-6hjx5zpb.js} +9 -9
- package/dist/chunks/{pty-6msgmcgs.js → session-6msgmcgs.js} +1 -1
- package/dist/chunks/session-6r3amyyd.js +4 -0
- package/dist/chunks/{pty-39mnaq4c.js → session-6ssnpxpc.js} +23 -23
- package/dist/chunks/{pty-2qtz93bp.js → session-76jtykdh.js} +4 -4
- package/dist/chunks/{pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-nwb8yfca.js → session-850r2hdq.js} +5 -5
- package/dist/chunks/{pty-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-rwwvkkw9.js → session-8djh56ad.js} +6 -6
- package/dist/chunks/{pty-96k7qteq.js → session-8fae0kh5.js} +6 -6
- package/dist/chunks/{pty-256nx13v.js → session-8q7cq0y1.js} +3 -3
- package/dist/chunks/{pty-q4hrj6yz.js → session-8wacddc4.js} +8 -8
- package/dist/chunks/{pty-d7wgan7y.js → session-8xe05m1t.js} +15 -15
- package/dist/chunks/session-8ye6t07s.js +26 -0
- package/dist/chunks/{pty-fd3v7rn0.js → session-90f08rrx.js} +35 -35
- package/dist/chunks/{pty-1hxn8gc9.js → session-9fa858ja.js} +15 -15
- package/dist/chunks/{pty-gx88jzcs.js → session-9ff7kdnh.js} +28 -28
- package/dist/chunks/{pty-czfptnv9.js → session-9hn6k4tm.js} +8 -8
- package/dist/chunks/{pty-dqhgk4gj.js → session-9kv6k1g3.js} +11 -11
- package/dist/chunks/{pty-h4xx3n44.js → session-9qrc9ans.js} +5 -5
- package/dist/chunks/{pty-92hvatj2.js → session-9w3qjkb6.js} +93 -93
- package/dist/chunks/{pty-q3pcyw4n.js → session-a6bnw119.js} +5 -5
- package/dist/chunks/{pty-vedaqc0n.js → session-a7e8qxr2.js} +182 -182
- package/dist/chunks/{pty-47r0kvy6.js → session-a7sfjr5d.js} +11 -11
- package/dist/chunks/{pty-aaet6srn.js → session-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-09ejbmp6.js → session-abaw28fj.js} +3 -3
- package/dist/chunks/{pty-cerhndf8.js → session-ag618we3.js} +28 -28
- package/dist/chunks/{pty-bag4px4n.js → session-anbhx2s0.js} +32 -32
- package/dist/chunks/{pty-4dkhsnmt.js → session-b41jxgfe.js} +32 -32
- package/dist/chunks/{pty-b6gygkdw.js → session-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-vfqq51fb.js → session-b93z4p9v.js} +17 -17
- package/dist/chunks/{pty-5whcbe3x.js → session-bfevz01k.js} +20 -20
- package/dist/chunks/{pty-vk9pkavn.js → session-bgq69zyq.js} +15 -15
- package/dist/chunks/{pty-2x2vnpz5.js → session-bns08xdh.js} +9 -9
- package/dist/chunks/{pty-vw2t0mtq.js → session-brrrk15c.js} +38 -38
- package/dist/chunks/{pty-gtgjs7h2.js → session-bv6xyj4g.js} +50 -50
- package/dist/chunks/{pty-t2gsyq25.js → session-bx8fw24c.js} +23 -23
- package/dist/chunks/{pty-01m48zym.js → session-bybjsk5w.js} +28 -28
- package/dist/chunks/{pty-mg90z6wk.js → session-cknt7fv1.js} +16 -16
- package/dist/chunks/{pty-wzjn1tpp.js → session-cn886m9x.js} +9 -9
- package/dist/chunks/{pty-94h3t13q.js → session-cqc4nrv2.js} +12 -12
- package/dist/chunks/{pty-6d0hcp9d.js → session-crn50kz5.js} +10 -10
- package/dist/chunks/{pty-xpkrztab.js → session-crttd2qf.js} +3 -3
- package/dist/chunks/{pty-q2f6gqtk.js → session-cvm9fk2k.js} +9 -9
- package/dist/chunks/{pty-d4he2qe1.js → session-cwa6csj7.js} +9 -9
- package/dist/chunks/{pty-2bm8nv3j.js → session-cy50gq67.js} +4 -4
- package/dist/chunks/{pty-en9axxsm.js → session-czz7t1v6.js} +19 -19
- package/dist/chunks/{pty-7t5qybgj.js → session-daesxk3q.js} +47 -47
- package/dist/chunks/{pty-8p4f9s12.js → session-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-evbgk2k8.js → session-dj9sq318.js} +5 -5
- package/dist/chunks/{pty-n0kbf44j.js → session-dsz0g92g.js} +11 -11
- package/dist/chunks/{pty-zfx1etke.js → session-dzgxa0fw.js} +10 -10
- package/dist/chunks/{pty-ck33vcq0.js → session-e2dw16am.js} +28 -28
- package/dist/chunks/{pty-jn0rbr09.js → session-e777ngnj.js} +3 -3
- package/dist/chunks/{pty-hdfkv0ev.js → session-e8zeyszs.js} +58 -58
- package/dist/chunks/{pty-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-f35htakt.js → session-egrr39fs.js} +6 -6
- package/dist/chunks/{pty-9wh28ea7.js → session-ej7d4d8s.js} +28 -28
- package/dist/chunks/{pty-kxdh0s6n.js → session-ek46xvkd.js} +11 -11
- package/dist/chunks/{pty-erw5rpbs.js → session-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-r1761eky.js → session-etcp1hze.js} +32 -32
- package/dist/chunks/{pty-etq0c3wd.js → session-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-h5amc0nw.js → session-f1r848qe.js} +5 -5
- package/dist/chunks/{pty-jfq1w6xq.js → session-f5gzjcwj.js} +14 -14
- package/dist/chunks/{pty-rhx683sy.js → session-fng9e0je.js} +6 -6
- package/dist/chunks/{pty-nvgm9hwb.js → session-fvv9bqgk.js} +28 -28
- package/dist/chunks/{pty-fxbjtjnd.js → session-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-scs7maqt.js → session-g0axr35g.js} +8 -8
- package/dist/chunks/{pty-qa3qhgw8.js → session-g8d3gcyj.js} +7 -7
- package/dist/chunks/{pty-8ktdpdbn.js → session-gb8mswgp.js} +32 -32
- package/dist/chunks/{pty-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-fjeptm1j.js → session-gnkc9zs6.js} +11 -11
- package/dist/chunks/{pty-h8d3bytr.js → session-grz6w23s.js} +71 -71
- package/dist/chunks/{pty-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-gf229ayp.js → session-gvnj87g4.js} +18 -18
- package/dist/chunks/{pty-mh8602s5.js → session-gzykzgk0.js} +23 -23
- package/dist/chunks/{pty-8tcq1ard.js → session-h2r8kcbx.js} +34 -34
- package/dist/chunks/{pty-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-b9w0x7cm.js → session-ha0qwja0.js} +15 -15
- package/dist/chunks/{pty-5cn1q5nw.js → session-hd3jvcb0.js} +33 -33
- package/dist/chunks/{pty-f828m53h.js → session-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-510m7gjw.js → session-hnr5yq9h.js} +5 -5
- package/dist/chunks/{pty-jzp2kyv6.js → session-hrb4az5h.js} +27 -27
- package/dist/chunks/{pty-hdns3422.js → session-hrmdcqyf.js} +9 -9
- package/dist/chunks/{pty-61a7pyf7.js → session-hw6cycn2.js} +5 -5
- package/dist/chunks/{pty-j56e64zr.js → session-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-8n2c22yw.js → session-j710vash.js} +12 -12
- package/dist/chunks/{pty-r4hn1y4t.js → session-jehdqnwb.js} +4 -4
- package/dist/chunks/{pty-gqgkwrka.js → session-jg1g7epr.js} +23 -23
- package/dist/chunks/{pty-47qt310b.js → session-jg906ppz.js} +5 -5
- package/dist/chunks/{pty-vyy6cxw9.js → session-jmphe03k.js} +4 -4
- package/dist/chunks/{pty-5j6bqzeb.js → session-jw8efqfh.js} +25 -25
- package/dist/chunks/{pty-2mvse5z6.js → session-k2c0cr9f.js} +32 -32
- package/dist/chunks/{pty-yz0n98jk.js → session-k6sm8v0n.js} +13 -13
- package/dist/chunks/{pty-m70sbz6t.js → session-k76fn4kw.js} +4 -4
- package/dist/chunks/{pty-knb7evpn.js → session-k9kj6xed.js} +6 -6
- package/dist/chunks/{pty-f9mqex9s.js → session-kb5t0kk3.js} +35 -35
- package/dist/chunks/{pty-zcz1ktx8.js → session-kbge6ch4.js} +1 -1
- package/dist/chunks/{pty-hgk31n1k.js → session-kefd19x0.js} +28 -28
- package/dist/chunks/{pty-xv567rvv.js → session-kevm2csr.js} +10 -10
- package/dist/chunks/{pty-4zhk9xy1.js → session-kfnxzr4e.js} +11 -11
- package/dist/chunks/{pty-x6j1wb2z.js → session-kg5e9n6j.js} +85 -85
- package/dist/chunks/{pty-0cnsmtwh.js → session-kma2c1kx.js} +26 -26
- package/dist/chunks/{pty-8hdvkfsn.js → session-m063vtdw.js} +41 -41
- package/dist/chunks/{pty-cfpkc3c9.js → session-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-zv6tdpnx.js → session-m0tnkv5m.js} +38 -38
- package/dist/chunks/{pty-z9z6sd2a.js → session-m1syfaxh.js} +16 -16
- package/dist/chunks/{pty-m3fdjcah.js → session-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-4641nt7s.js → session-m6196r32.js} +5 -5
- package/dist/chunks/{pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-zg3tcem2.js → session-mawpmn43.js} +9 -9
- package/dist/chunks/{pty-ajejy050.js → session-mh5wyt4r.js} +13 -13
- package/dist/chunks/{pty-2gydggrp.js → session-mhb9ajec.js} +3 -3
- package/dist/chunks/{pty-73tb2d7t.js → session-mhkvc446.js} +3 -3
- package/dist/chunks/session-mhy0cw2n.js +252 -0
- package/dist/chunks/{pty-w1k39n5e.js → session-msq0jde0.js} +4 -4
- package/dist/chunks/{pty-15wq8bnm.js → session-mxgv54v3.js} +11 -11
- package/dist/chunks/{pty-c6d4h0jp.js → session-mxpvcqnq.js} +11 -11
- package/dist/chunks/{pty-cywsvzz8.js → session-my8n3s96.js} +22 -22
- package/dist/chunks/{pty-dkkcfdd5.js → session-mz3d6j91.js} +2 -2
- package/dist/chunks/{pty-gbvfym51.js → session-n0fa3s17.js} +24 -24
- package/dist/chunks/{pty-bt0s2m4s.js → session-n4epcwrr.js} +28 -28
- package/dist/chunks/{pty-zn6sdvfn.js → session-n9b836x4.js} +20 -20
- package/dist/chunks/{pty-a8rvpzh6.js → session-nafnqrr2.js} +35 -35
- package/dist/chunks/{pty-src4gryn.js → session-naggtdtg.js} +19 -19
- package/dist/chunks/{pty-1qg96azw.js → session-nbzsj80d.js} +8 -8
- package/dist/chunks/{pty-2x8n49qa.js → session-nektvr7p.js} +8 -8
- package/dist/chunks/{pty-gy590f6s.js → session-nf3xwy0z.js} +2 -2
- package/dist/chunks/{pty-rvf3k54n.js → session-nkbencr5.js} +14 -14
- package/dist/chunks/{pty-hxpy2fz9.js → session-nr0jgk0c.js} +12 -12
- package/dist/chunks/{pty-aqk3dj7t.js → session-nxbh6f69.js} +1 -1
- package/dist/chunks/{pty-k3c624dm.js → session-nzks3jc8.js} +3 -3
- package/dist/chunks/{pty-kjq75dje.js → session-p4apmmse.js} +1 -1
- package/dist/chunks/{pty-trt7zypv.js → session-p50119wk.js} +32 -32
- package/dist/chunks/{pty-bfygd469.js → session-p60ydwp9.js} +27 -27
- package/dist/chunks/{pty-fwrss4ad.js → session-pcfkrm12.js} +4 -4
- package/dist/chunks/{pty-p2bsys5p.js → session-pd10sjw8.js} +35 -35
- package/dist/chunks/{pty-af04s6ss.js → session-pecb0brz.js} +5 -5
- package/dist/chunks/{pty-5xwkdnk6.js → session-pfsx7tp2.js} +9 -9
- package/dist/chunks/{pty-kns2fx3n.js → session-pgsa58wp.js} +27 -27
- package/dist/chunks/{pty-cs1yg9jz.js → session-phrb7qg4.js} +27 -27
- package/dist/chunks/{pty-3z5xssby.js → session-pj2vvday.js} +30 -30
- package/dist/chunks/{pty-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{pty-4jc5c4h4.js → session-pstg3rfm.js} +1 -1
- package/dist/chunks/{pty-a6ha29gm.js → session-q0ajjbcs.js} +49 -49
- package/dist/chunks/{pty-vf5yby4q.js → session-q3d5cn89.js} +27 -27
- package/dist/chunks/{pty-05k8gwwx.js → session-q42cry3s.js} +41 -41
- package/dist/chunks/{pty-6a3q5akz.js → session-q5cj6hrm.js} +10 -10
- package/dist/chunks/{pty-nq7qbqzc.js → session-qg0jgkcp.js} +9 -9
- package/dist/chunks/{pty-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-2jm9246z.js → session-qxfrxjnm.js} +4 -4
- package/dist/chunks/{pty-mf55kzn1.js → session-r6z0e0mn.js} +9 -9
- package/dist/chunks/session-rap9a73h.js +18 -0
- package/dist/chunks/{pty-82kxmdcf.js → session-rdf0mxym.js} +7 -7
- package/dist/chunks/{pty-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-vy078w6d.js → session-s6mkaf7t.js} +44 -44
- package/dist/chunks/{pty-pfpqttcd.js → session-s7wa8szz.js} +18 -18
- package/dist/chunks/{pty-1v03ecv9.js → session-skqgah7m.js} +8 -8
- package/dist/chunks/{pty-5xsexkhf.js → session-sndsbpfa.js} +9 -9
- package/dist/chunks/{pty-rz9v06kn.js → session-st1ayaz3.js} +24 -24
- package/dist/chunks/{pty-8kgvtemd.js → session-svd7rxx3.js} +8 -8
- package/dist/chunks/{pty-w8hj49dq.js → session-svkye1j9.js} +47 -47
- package/dist/chunks/{pty-jcvsx840.js → session-t1kv7g4h.js} +20 -20
- package/dist/chunks/{pty-esegqz26.js → session-t4btgf4e.js} +9 -9
- package/dist/chunks/{pty-gbt6w4kb.js → session-t550f9t1.js} +6 -6
- package/dist/chunks/{pty-v110mek2.js → session-t5kx8km3.js} +18 -18
- package/dist/chunks/{pty-57dcv54h.js → session-t61xhryc.js} +8 -8
- package/dist/chunks/{pty-en85tny2.js → session-t8dwqbmf.js} +16 -16
- package/dist/chunks/{pty-0x0trpnf.js → session-t91wvm7f.js} +8 -8
- package/dist/chunks/{pty-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tbz0fdvh.js → session-tbz0fdvh.js} +2 -2
- package/dist/chunks/{pty-89znhe33.js → session-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{pty-dm7z6sw8.js → session-tg3yz9q2.js} +11 -11
- package/dist/chunks/{pty-n25bj5sj.js → session-thwc3zjr.js} +8 -8
- package/dist/chunks/{pty-2f0arp29.js → session-tpyxmsz6.js} +36 -36
- package/dist/chunks/{pty-wxrzmbxm.js → session-trkyj1qg.js} +16 -16
- package/dist/chunks/{pty-tvtrv512.js → session-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-010xpxbn.js → session-v3qmf65b.js} +11 -11
- package/dist/chunks/{pty-k388e6t1.js → session-v9ykereg.js} +17 -17
- package/dist/chunks/{pty-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-hjvqykt7.js → session-vj15m6db.js} +8 -8
- package/dist/chunks/{pty-mm5kxf07.js → session-vttn6dxt.js} +8 -8
- package/dist/chunks/{pty-vzcthcp8.js → session-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-g408yz0d.js → session-w0sbs0gk.js} +29 -29
- package/dist/chunks/{pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-64amj0r1.js → session-w9vdh0hw.js} +21 -21
- package/dist/chunks/{pty-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{pty-rxcdjwh1.js → session-wpm2rk0p.js} +4 -4
- package/dist/chunks/{pty-8ndese90.js → session-x1bshgdr.js} +23 -23
- package/dist/chunks/{pty-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-krbz4bty.js → session-x246hsvq.js} +5 -5
- package/dist/chunks/{pty-kb1rdp05.js → session-x7d7ywrx.js} +41 -41
- package/dist/chunks/{pty-36ndtc93.js → session-xaeen76g.js} +32 -32
- package/dist/chunks/{pty-cdm0dq9n.js → session-xcd0eash.js} +6 -6
- package/dist/chunks/{pty-bh7937zs.js → session-xerk2e3q.js} +25 -25
- package/dist/chunks/{pty-drwq78ky.js → session-xfkkasph.js} +4 -4
- package/dist/chunks/{pty-tqwr2f5g.js → session-xhvz1y9e.js} +12 -12
- package/dist/chunks/{pty-c3xk9fpp.js → session-xxk13ynw.js} +11 -11
- package/dist/chunks/{pty-sdrw2w9p.js → session-y13rccya.js} +27 -27
- package/dist/chunks/{pty-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-zapz2rcy.js → session-y45cezf7.js} +9 -9
- package/dist/chunks/{pty-jwcy2c2z.js → session-y71avatq.js} +4 -4
- package/dist/chunks/{pty-ryb794yb.js → session-yaghdrmk.js} +10 -10
- package/dist/chunks/{pty-zy6cwck4.js → session-ycnaach6.js} +11 -11
- package/dist/chunks/{pty-q24nm477.js → session-yj0nme3g.js} +19 -19
- package/dist/chunks/{pty-96712bz8.js → session-ykya0ajh.js} +3 -3
- package/dist/chunks/{pty-f2n192rq.js → session-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-360vn7h3.js → session-yqq6thr1.js} +3 -3
- package/dist/chunks/{pty-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → session-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-m77h72gn.js → session-ysbqws08.js} +29 -29
- package/dist/chunks/{pty-2aet7wja.js → session-yvvvp4gn.js} +8 -8
- package/dist/chunks/{pty-bnv5qe0w.js → session-yx76ae0t.js} +9 -9
- package/dist/chunks/{pty-2deyrhr8.js → session-yy22wazz.js} +3 -3
- package/dist/chunks/{pty-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-z63w68vq.js → session-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-g02r5t1q.js → session-za2185gc.js} +20 -20
- package/dist/chunks/{pty-zeh9ct20.js → session-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-y3ajgz1g.js → session-zh2t9qdv.js} +18 -18
- package/dist/chunks/{pty-1t1mekng.js → session-zne4d355.js} +5 -5
- package/dist/chunks/{pty-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +93 -93
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +71 -71
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/pty-56qjdxtm.js +0 -26
- package/dist/chunks/pty-hgd4btym.js +0 -18
- package/dist/chunks/pty-hr9dp009.js +0 -4
- package/dist/chunks/pty-px0fec8t.js +0 -252
- /package/dist/chunks/{pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → session-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → session-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → session-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → session-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → session-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → session-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-ykya0ajh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./session-xhvz1y9e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node58
|
|
12
|
+
} from "./session-v9ykereg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node54
|
|
16
|
+
} from "./session-xcd0eash.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./session-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./session-k76fn4kw.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-egrr39fs.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service63,
|
|
32
|
+
node65
|
|
33
|
+
} from "./session-1j8crccj.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./session-cy50gq67.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./session-gzykzgk0.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./session-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service50,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer20,
|
|
50
|
+
node: () => node53,
|
|
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 Service50 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*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
68
|
+
var layer20 = Layer.effect(Service50, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service63;
|
|
70
|
+
const instances = yield* Service52;
|
|
71
|
+
const bus = yield* Service82;
|
|
72
|
+
const jobs = yield* Service56;
|
|
73
73
|
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer15 = Layer.effect(Service33, 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* Service51.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 layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service50.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node53 = makeGlobalNode({
|
|
133
|
+
service: Service50,
|
|
134
|
+
layer: layer20,
|
|
135
|
+
deps: [node65, node54, node86, node87, node58]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service33, Service33.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service50, terminal2, layer20, node53, noopLayer3, exports_execution };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./session-xhvz1y9e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node41
|
|
8
|
+
} from "./session-bv6xyj4g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node63
|
|
12
|
+
} from "./session-e8zeyszs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service64,
|
|
15
|
+
node66
|
|
16
|
+
} from "./session-jw8efqfh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service64;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service61;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node40 = makeLocationNode({
|
|
124
|
+
service: Service37,
|
|
125
|
+
layer: layer15,
|
|
126
|
+
deps: [node66, node41, node86, node63]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service37, layer15, node40, exports_mcp3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service52,
|
|
10
|
+
node: () => node54
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service52 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node54 = LayerNode.unbound(Service52, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service52, node54, exports_service2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-ek46xvkd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./session-xhvz1y9e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./session-hd3jvcb0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-p50119wk.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-pd10sjw8.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./session-8djh56ad.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,9 +44,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
|
-
const bus = yield*
|
|
49
|
+
const bus = yield* Service82;
|
|
50
50
|
const tokens = new Map;
|
|
51
51
|
const loading = Semaphore.makeUnsafe(1);
|
|
52
52
|
const loaded = {};
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID11.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID11.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -163,9 +163,9 @@ var AzurePlugin2 = define({
|
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
165
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
166
|
-
yield* bus.subscribe(
|
|
166
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
167
167
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
168
|
-
const connection = yield* ctx.integration.connection.active(
|
|
168
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
169
169
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
170
170
|
return;
|
|
171
171
|
})) : undefined;
|
|
@@ -177,7 +177,7 @@ var AzurePlugin2 = define({
|
|
|
177
177
|
return `Bearer ${current.access}`;
|
|
178
178
|
});
|
|
179
179
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
180
|
-
if (evt.model.providerID !==
|
|
180
|
+
if (evt.model.providerID !== ID11.azure)
|
|
181
181
|
return;
|
|
182
182
|
const authorization = yield* bearer(evt.request.url);
|
|
183
183
|
if (!authorization)
|
|
@@ -186,9 +186,9 @@ var AzurePlugin2 = define({
|
|
|
186
186
|
evt.request.headers.delete("x-api-key");
|
|
187
187
|
evt.request.headers.set("authorization", authorization);
|
|
188
188
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
189
|
-
}), { providerID:
|
|
189
|
+
}), { providerID: ID11.azure });
|
|
190
190
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
191
|
-
if (evt.model.providerID !==
|
|
191
|
+
if (evt.model.providerID !== ID11.azure)
|
|
192
192
|
return;
|
|
193
193
|
const authorization = yield* bearer(evt.url);
|
|
194
194
|
if (!authorization)
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
delete evt.headers["x-api-key"];
|
|
198
198
|
evt.headers.authorization = authorization;
|
|
199
199
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
200
|
-
}), { providerID:
|
|
200
|
+
}), { providerID: ID11.azure });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-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: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ 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
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(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
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-ykya0ajh.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node86,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service82,
|
|
84
84
|
deps: [node87],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node86 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-pd10sjw8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service58,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node60
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -130,7 +130,7 @@ function prepareOptions(model, pkg) {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
133
|
-
providerID:
|
|
133
|
+
providerID: ID11,
|
|
134
134
|
cause: Schema.Defect()
|
|
135
135
|
}) {
|
|
136
136
|
}
|
|
@@ -138,9 +138,9 @@ function initError(providerID) {
|
|
|
138
138
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
class
|
|
141
|
+
class Service58 extends Context.Service()("@opencode/AISDK") {
|
|
142
142
|
}
|
|
143
|
-
var locationLayer2 = Layer.effect(
|
|
143
|
+
var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
144
144
|
let sdkHooks = [];
|
|
145
145
|
let languageHooks = [];
|
|
146
146
|
const languages = new Map;
|
|
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
178
178
|
}
|
|
179
179
|
return event;
|
|
180
180
|
});
|
|
181
|
-
const service =
|
|
181
|
+
const service = Service58.of({
|
|
182
182
|
hook: {
|
|
183
183
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
184
184
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
|
|
|
819
819
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
820
820
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
821
821
|
}
|
|
822
|
-
var
|
|
822
|
+
var node60 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
|
|
823
823
|
|
|
824
|
-
export { InitError2,
|
|
824
|
+
export { InitError2, Service58, locationLayer2, node60, exports_aisdk };
|