@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-ykya0ajh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./session-xhvz1y9e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./session-xcd0eash.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service39
|
|
16
|
+
} from "./session-gb8mswgp.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./session-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./session-egrr39fs.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./session-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./session-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service52;
|
|
46
46
|
const database = yield* Service83;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service39;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service52;
|
|
78
|
+
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service39;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-q3d5cn89.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./session-q0ajjbcs.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-8djh56ad.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service44;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-t550f9t1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-5c4hm403.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service65,
|
|
17
|
+
node67
|
|
18
|
+
} from "./session-mawpmn43.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service66,
|
|
21
|
+
node68
|
|
22
|
+
} from "./session-5eer2xf9.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./session-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./session-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service64,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node66
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service64 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service66;
|
|
58
|
+
const image = yield* Service65;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service64.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -272,10 +272,10 @@ function namespaceError(name) {
|
|
|
272
272
|
return;
|
|
273
273
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
274
274
|
}
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node66 = makeLocationNode({
|
|
276
|
+
service: Service64,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node68, node67]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { RegistrationError2,
|
|
281
|
+
export { RegistrationError2, Service64, node66, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./session-t8dwqbmf.js";
|
|
9
9
|
import {
|
|
10
10
|
Service75
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-a7sfjr5d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service67
|
|
14
|
+
} from "./session-zh2t9qdv.js";
|
|
15
15
|
import {
|
|
16
16
|
Service74,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-yy22wazz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./session-e8zeyszs.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./session-gvnj87g4.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./session-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin29 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
111
|
const environment = yield* Service75;
|
|
112
|
-
const access = yield*
|
|
112
|
+
const access = yield* Service15;
|
|
113
113
|
const fileMutation = yield* Service74;
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
114
|
+
const formatter = yield* Service67;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service61;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin9 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin29, exports_patch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service55,
|
|
3
|
+
node57,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-pfsx7tp2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node54
|
|
9
|
+
} from "./session-xcd0eash.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./session-pj2vvday.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-mhy0cw2n.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service55, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service13);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node54.replace(Layer.succeed(Service52, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node57.replace(Layer.succeed(Service55, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service51,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service51 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service51, exports_runner };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./session-t8dwqbmf.js";
|
|
10
10
|
import {
|
|
11
11
|
Service75
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-a7sfjr5d.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service21
|
|
16
|
+
} from "./session-ha0qwja0.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-b41jxgfe.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service61
|
|
26
|
+
} from "./session-e8zeyszs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service15
|
|
29
|
+
} from "./session-gvnj87g4.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./session-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin26,
|
|
41
|
+
name: () => name9,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name9 = "grep";
|
|
48
|
+
var Input9 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input12 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin26 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
89
|
const environment = yield* Service75;
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
90
|
+
const ripgrep = yield* Service21;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service15;
|
|
93
|
+
const permission = yield* Service61;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name9,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input9,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name9,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin13 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin13 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin13 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name9, Input9, Output7, toModelContent4, Plugin26, exports_grep };
|