@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,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./session-xhvz1y9e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service72,
|
|
8
|
+
node75
|
|
9
|
+
} from "./session-hd3jvcb0.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-w0sbs0gk.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info27,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
|
+
node: () => node74
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
66
|
+
var ID12 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info27 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID12,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service71 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service72;
|
|
110
|
+
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info27.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
284
284
|
const persistence = yield* createCredential({
|
|
285
285
|
integrationID: attempt.integrationID,
|
|
286
286
|
label: attempt.label,
|
|
287
|
-
value:
|
|
287
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
288
288
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
289
289
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
290
290
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service71.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
452
452
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
453
453
|
if (connection.type === "env") {
|
|
454
454
|
const key = process.env[connection.name];
|
|
455
|
-
return key ?
|
|
455
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
456
456
|
}
|
|
457
457
|
const credential = yield* credentials.get(connection.id);
|
|
458
458
|
if (!credential)
|
|
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
485
485
|
yield* createCredential({
|
|
486
486
|
integrationID: input.integrationID,
|
|
487
487
|
label: input.label,
|
|
488
|
-
value:
|
|
488
|
+
value: Key4.make({
|
|
489
489
|
type: "key",
|
|
490
490
|
key: input.key,
|
|
491
491
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node74 = makeLocationNode({
|
|
583
|
+
service: Service71,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node75, node86, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node74, exports_integration, Event17 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-5mtzsd3b.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
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./session-pd10sjw8.js";
|
|
21
21
|
import {
|
|
22
22
|
ID6
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-q3d5cn89.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./session-skqgah7m.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./session-ek46xvkd.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID12.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service70;
|
|
161
|
+
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID11.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID11.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID11.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID11.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID11.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-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: () => Plugin23,
|
|
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 Plugin23 = {
|
|
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 Plugin7 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin23, exports_opencode };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./session-xhvz1y9e.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID12,
|
|
11
|
+
Service71,
|
|
12
|
+
node74,
|
|
13
|
+
Event17
|
|
14
|
+
} from "./session-p50119wk.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-5mtzsd3b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./session-t8dwqbmf.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event16,
|
|
41
|
+
ID: () => ID11,
|
|
42
|
+
Info: () => Info25,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service70,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -52,7 +52,7 @@ __export(exports_provider3, {
|
|
|
52
52
|
mergeHeaders: () => mergeHeaders2,
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
nativeSettings: () => nativeSettings2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node73,
|
|
56
56
|
packageName: () => packageName2
|
|
57
57
|
});
|
|
58
58
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -63,8 +63,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
63
63
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
64
64
|
import { Credential } from "@opencode/schema/credential";
|
|
65
65
|
import { freeze } from "immer";
|
|
66
|
-
import { Event as
|
|
67
|
-
var
|
|
66
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
67
|
+
var ID11 = Provider.ID;
|
|
68
68
|
var AISDK_PREFIX2 = "aisdk:";
|
|
69
69
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
70
70
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -201,13 +201,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
201
201
|
return result;
|
|
202
202
|
}, new Map).values());
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var Request3 = Provider.Request;
|
|
205
205
|
var Compaction3 = Provider.Compaction;
|
|
206
206
|
var Transport2 = Provider.Transport;
|
|
207
207
|
var Settings2 = Provider.Settings;
|
|
208
|
-
var
|
|
208
|
+
var Info25 = Provider.Info;
|
|
209
209
|
|
|
210
|
-
class
|
|
210
|
+
class Service70 extends Context.Service()("@opencode/Provider") {
|
|
211
211
|
}
|
|
212
212
|
var definitions = new WeakMap;
|
|
213
213
|
function index(providerID, models) {
|
|
@@ -220,10 +220,10 @@ function index(providerID, models) {
|
|
|
220
220
|
definitions.set(models, indexes);
|
|
221
221
|
return result;
|
|
222
222
|
}
|
|
223
|
-
var layer = Layer.effect(
|
|
224
|
-
const bus = yield*
|
|
225
|
-
const integrations = yield*
|
|
226
|
-
const location = yield*
|
|
223
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
224
|
+
const bus = yield* Service82;
|
|
225
|
+
const integrations = yield* Service71;
|
|
226
|
+
const location = yield* Service79;
|
|
227
227
|
const state = create3({
|
|
228
228
|
name: "provider",
|
|
229
229
|
initial: () => new Map,
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
234
234
|
const current = records.get(id);
|
|
235
235
|
if (current)
|
|
236
236
|
return current;
|
|
237
|
-
const added = { provider:
|
|
237
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
238
238
|
records.set(id, added);
|
|
239
239
|
maps.add(added.models);
|
|
240
240
|
return added;
|
|
@@ -315,7 +315,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
315
315
|
const available = Array.from(records.values()).filter((record) => {
|
|
316
316
|
if (record.provider.activation === "disabled")
|
|
317
317
|
return false;
|
|
318
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
318
|
+
const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
|
|
319
319
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
320
320
|
return false;
|
|
321
321
|
if (record.provider.activation === "enabled")
|
|
@@ -341,8 +341,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
341
341
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
342
342
|
});
|
|
343
343
|
});
|
|
344
|
-
yield* bus.subscribe([
|
|
345
|
-
return
|
|
344
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
345
|
+
return Service70.of({
|
|
346
346
|
transform: state.transform,
|
|
347
347
|
reload: state.reload,
|
|
348
348
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -351,7 +351,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
351
351
|
snapshot
|
|
352
352
|
});
|
|
353
353
|
}));
|
|
354
|
-
var
|
|
354
|
+
var node73 = makeLocationNode({ service: Service70, layer, deps: [node86, node74, node83] });
|
|
355
355
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
356
356
|
const module = yield* Effect.tryPromise({
|
|
357
357
|
try: () => {
|
|
@@ -611,4 +611,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
611
611
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
612
612
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
613
613
|
|
|
614
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
614
|
+
export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info25, Service70, node73, exports_provider3, Event16 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-t8dwqbmf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service55,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node57,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service55 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service55, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node57 = LayerNode.unbound(Service55, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service55;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service55, node57, reload2, canonical3, exports_location_service_map };
|