@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./session-v9ykereg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service26
|
|
6
|
+
} from "./session-9w3qjkb6.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service26;
|
|
24
|
+
const jobs = yield* Service56;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make7 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node61
|
|
7
|
+
} from "./session-dzgxa0fw.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-8q7cq0y1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service56,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node58
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service56 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service59;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make22 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service56.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make22 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service56, make18);
|
|
362
|
+
var node58 = makeGlobalNode({ service: Service56, layer, deps: [node61] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service56, make18, node58, exports_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID6
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-q3d5cn89.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./session-q0ajjbcs.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-8djh56ad.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service44;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make5();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin38 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin6, exports_exa };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./session-xhvz1y9e.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service73,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node76,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service73 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service73, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service73.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node76 = makeLocationNode({ service: Service73, layer: layer25, deps: [node86] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID14, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer25, node76, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node85
|
|
6
|
+
} from "./session-nr0jgk0c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./session-t8dwqbmf.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make12
|
|
16
|
+
} from "./session-thwc3zjr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service17,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node20
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service17 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service17.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node20 = makeLocationNode({
|
|
61
|
+
service: Service17,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node83, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service17, node20, exports_strategies };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make21,
|
|
14
14
|
node: () => node80,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -46,4 +46,4 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
46
46
|
});
|
|
47
47
|
var node80 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node80, exports_driver };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./session-e8zeyszs.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin28,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input7 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin28 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service61;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin8 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin28, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./session-pd10sjw8.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-8djh56ad.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID11.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|