@opencode/core 0.0.0-dev-20376 → 0.0.0-dev-20377
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{websearch-frq7pvnm.js → repository-04atd798.js} +4 -4
- package/dist/chunks/{websearch-qr48efmz.js → repository-0a237mzv.js} +12 -12
- package/dist/chunks/{websearch-q6mczvda.js → repository-0bmz8k31.js} +26 -26
- package/dist/chunks/{websearch-2d3qwdh6.js → repository-0jnnt1bs.js} +20 -20
- package/dist/chunks/{websearch-dtce9ng4.js → repository-0k9hz50x.js} +17 -17
- package/dist/chunks/{websearch-vjkpbawe.js → repository-0magjvjs.js} +17 -17
- package/dist/chunks/{websearch-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-vncycja5.js → repository-0v53mg2y.js} +4 -4
- package/dist/chunks/{websearch-97xdfj3z.js → repository-0xgfsmsc.js} +4 -4
- package/dist/chunks/{websearch-t6hb3mwm.js → repository-0zh0x4h1.js} +20 -20
- package/dist/chunks/{websearch-2wmr47zm.js → repository-0ztvbm79.js} +29 -29
- package/dist/chunks/{websearch-sgrm6qbb.js → repository-10w0r48r.js} +3 -3
- package/dist/chunks/{websearch-r631beyv.js → repository-14v0t5se.js} +71 -71
- package/dist/chunks/{websearch-bns34n6t.js → repository-1dak9s0j.js} +26 -26
- package/dist/chunks/{websearch-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-2k0wj1rn.js → repository-1n9hcfy3.js} +18 -18
- package/dist/chunks/{websearch-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-2yewycp0.js → repository-21y796mf.js} +15 -15
- package/dist/chunks/{websearch-pkb3ghx6.js → repository-23tvs9mh.js} +25 -25
- package/dist/chunks/{websearch-8aaqm6qj.js → repository-25cs5cen.js} +8 -8
- package/dist/chunks/{websearch-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-57ez7d0k.js → repository-2fgn2we9.js} +9 -9
- package/dist/chunks/{websearch-keqpv86m.js → repository-2hkadfk1.js} +20 -20
- package/dist/chunks/{websearch-pwgvkz82.js → repository-2j74qy9w.js} +4 -4
- package/dist/chunks/{websearch-7dqw4kz8.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{websearch-q2df8wfr.js → repository-2rahks1y.js} +32 -32
- package/dist/chunks/{websearch-qrt4amjc.js → repository-3373zw91.js} +11 -11
- package/dist/chunks/{websearch-fxjg84zj.js → repository-36mnffrz.js} +4 -4
- package/dist/chunks/{websearch-tbmac1c7.js → repository-3ewed21c.js} +4 -4
- package/dist/chunks/{websearch-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-0hpe1ejf.js → repository-3kjwbdcf.js} +8 -8
- package/dist/chunks/{websearch-xmd91vvj.js → repository-3sfbkq17.js} +7 -7
- package/dist/chunks/{websearch-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/repository-3snht0cr.js +252 -0
- package/dist/chunks/{websearch-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-5930ym18.js → repository-3xcbwh8b.js} +3 -3
- package/dist/chunks/{websearch-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-0686hvdh.js → repository-40v6kns3.js} +6 -6
- package/dist/chunks/{websearch-sgqd4326.js → repository-436fakxd.js} +44 -44
- package/dist/chunks/{websearch-8d0p2m37.js → repository-45g6rp4p.js} +8 -8
- package/dist/chunks/{websearch-gsm4wa7c.js → repository-4f06rze2.js} +11 -11
- package/dist/chunks/{websearch-n3hrb858.js → repository-4hzcvfa9.js} +10 -10
- package/dist/chunks/{websearch-vqch1bvm.js → repository-4pq2ykhk.js} +10 -10
- package/dist/chunks/{websearch-vjpyx0rz.js → repository-4xvg8qhq.js} +78 -78
- package/dist/chunks/{websearch-51f5btjf.js → repository-51f5btjf.js} +1 -1
- package/dist/chunks/{websearch-r94pvvab.js → repository-54ma36ye.js} +4 -4
- package/dist/chunks/{websearch-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-gbfr1xpe.js → repository-5jr1zcyz.js} +37 -37
- package/dist/chunks/{websearch-xfewvta7.js → repository-5nm3sjh9.js} +11 -11
- package/dist/chunks/{websearch-h7m62bs4.js → repository-5qedxm44.js} +7 -7
- package/dist/chunks/{websearch-hkzm6gsg.js → repository-5rf1rhax.js} +21 -21
- package/dist/chunks/{websearch-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-fehfn2fk.js → repository-5txyz6kk.js} +7 -7
- package/dist/chunks/{websearch-evadcerx.js → repository-60ycj86c.js} +24 -24
- package/dist/chunks/{websearch-5bqgp2yr.js → repository-61d2erc5.js} +23 -23
- package/dist/chunks/{websearch-y3wgyeex.js → repository-667yebj2.js} +46 -46
- package/dist/chunks/{websearch-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{websearch-6hxsqshp.js → repository-6b8mt4qe.js} +18 -18
- package/dist/chunks/{websearch-v3vrcc1n.js → repository-6d58n71n.js} +13 -13
- package/dist/chunks/{websearch-8fvwg6tm.js → repository-6evwh1wj.js} +11 -11
- package/dist/chunks/{websearch-yhd8gra5.js → repository-6gb6ah6k.js} +1 -1
- package/dist/chunks/{websearch-5wd01vfq.js → repository-6mksg9xh.js} +22 -22
- package/dist/chunks/{websearch-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-6pc27hjz.js → repository-6pc27hjz.js} +2 -2
- package/dist/chunks/{websearch-96epns3z.js → repository-6t45mx4g.js} +15 -15
- package/dist/chunks/{websearch-1bbkgx8g.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{websearch-vr8db9cx.js → repository-74m68t1r.js} +17 -17
- package/dist/chunks/{websearch-1nwbcgkz.js → repository-7545v071.js} +5 -5
- package/dist/chunks/{websearch-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-vd7rzxqf.js → repository-7pr2hkwv.js} +5 -5
- package/dist/chunks/{websearch-y1hb4gd0.js → repository-7wv6t35z.js} +11 -11
- package/dist/chunks/{websearch-61qee1wg.js → repository-7ys5ezf5.js} +17 -17
- package/dist/chunks/{websearch-c2kkxaw7.js → repository-7zrv9dtw.js} +32 -32
- package/dist/chunks/{websearch-rxbqg574.js → repository-81ye6pg3.js} +22 -22
- package/dist/chunks/{websearch-2dt33739.js → repository-82gfdtdv.js} +14 -14
- package/dist/chunks/{websearch-x2aynqqh.js → repository-82rhge12.js} +9 -9
- package/dist/chunks/{websearch-0cr0d0zp.js → repository-84npfg6g.js} +16 -16
- package/dist/chunks/{websearch-w1eejvng.js → repository-84txncab.js} +5 -5
- package/dist/chunks/{websearch-qagkqpcw.js → repository-86m00gc1.js} +8 -8
- package/dist/chunks/{websearch-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-n5vnxzpd.js → repository-8e7h0d3g.js} +1 -1
- package/dist/chunks/{websearch-9dkc8ryr.js → repository-8h613fcm.js} +22 -22
- package/dist/chunks/{websearch-p1dcr46p.js → repository-8nbxw31j.js} +9 -9
- package/dist/chunks/{websearch-6cd6tdvt.js → repository-92k45pvj.js} +6 -6
- package/dist/chunks/{websearch-94ek1h2f.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{websearch-c5kn5gnh.js → repository-9cr16z8x.js} +11 -11
- package/dist/chunks/{websearch-05f7yy3w.js → repository-9qrdrmps.js} +27 -27
- package/dist/chunks/{websearch-hekxc47r.js → repository-a4ae1mqs.js} +1 -1
- package/dist/chunks/{websearch-d0arqfyn.js → repository-a6azfam0.js} +2 -2
- package/dist/chunks/{websearch-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-zwmnfc54.js → repository-ah4v29zr.js} +23 -23
- package/dist/chunks/{websearch-2d1e4kmr.js → repository-ahjyxdwj.js} +13 -13
- package/dist/chunks/{websearch-jca4demv.js → repository-ak8wweg5.js} +2 -2
- package/dist/chunks/{websearch-ez5ddhv1.js → repository-apg4ryxk.js} +7 -7
- package/dist/chunks/{websearch-wzz0kxab.js → repository-awaee7qt.js} +9 -9
- package/dist/chunks/{websearch-0g1d8rzs.js → repository-b0v5ywzm.js} +9 -9
- package/dist/chunks/{websearch-edrmdtr5.js → repository-b27vhd2z.js} +7 -7
- package/dist/chunks/{websearch-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-ws7ptmes.js → repository-b7n1errk.js} +308 -308
- package/dist/chunks/{websearch-yxyz6e19.js → repository-b7sdn3j2.js} +11 -11
- package/dist/chunks/{websearch-akrah417.js → repository-b9ek0cs0.js} +9 -9
- package/dist/chunks/{websearch-a3asrnpr.js → repository-bay05q8f.js} +26 -26
- package/dist/chunks/{websearch-qd23x213.js → repository-bhq0jy72.js} +3 -3
- package/dist/chunks/{websearch-5vpvgcp5.js → repository-bk4cztra.js} +6 -6
- package/dist/chunks/{websearch-f4hbbfr5.js → repository-bkgg21ch.js} +8 -8
- package/dist/chunks/{websearch-980tpvrn.js → repository-bt3gm041.js} +21 -21
- package/dist/chunks/{websearch-ca75245c.js → repository-bxcevcrv.js} +13 -13
- package/dist/chunks/{websearch-nvrwq4aw.js → repository-bxg2qx57.js} +4 -4
- package/dist/chunks/{websearch-by5v678g.js → repository-by5v678g.js} +1 -1
- package/dist/chunks/{websearch-n4bgjaqw.js → repository-c87t5eya.js} +32 -32
- package/dist/chunks/{websearch-cavr175a.js → repository-cavr175a.js} +1 -1
- package/dist/chunks/{websearch-jzama03h.js → repository-cegyq325.js} +5 -5
- package/dist/chunks/{websearch-778grbwn.js → repository-cfkxc3zx.js} +14 -14
- package/dist/chunks/{websearch-28xjebav.js → repository-ckb64qrr.js} +19 -19
- package/dist/chunks/{websearch-ckecvw8r.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{websearch-0t0n3s6e.js → repository-csr47hpp.js} +10 -10
- package/dist/chunks/{websearch-799qv44x.js → repository-cxnbdzcm.js} +39 -39
- package/dist/chunks/{websearch-p6wxjpka.js → repository-d2czbp48.js} +4 -4
- package/dist/chunks/{websearch-jdhxar0c.js → repository-d68cj2ze.js} +11 -11
- package/dist/chunks/{websearch-fhkr8061.js → repository-d7fh38br.js} +11 -11
- package/dist/chunks/{websearch-4d72g925.js → repository-db2txphp.js} +19 -19
- package/dist/chunks/{websearch-9qcjx6an.js → repository-ddg1taeb.js} +6 -6
- package/dist/chunks/{websearch-9xvq3m7s.js → repository-dj9sq318.js} +5 -5
- package/dist/chunks/{websearch-cpneeje0.js → repository-djszqvmq.js} +9 -9
- package/dist/chunks/{websearch-mxvxcxwy.js → repository-dnxkq42g.js} +4 -4
- package/dist/chunks/{websearch-f2pgg28z.js → repository-dpja8khg.js} +44 -44
- package/dist/chunks/{websearch-drwq78ky.js → repository-drwq78ky.js} +1 -1
- package/dist/chunks/{websearch-9ebqtw7h.js → repository-dx8av2x7.js} +17 -17
- package/dist/chunks/{websearch-kzxys592.js → repository-e0dagena.js} +17 -17
- package/dist/chunks/{websearch-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{websearch-tdamenfq.js → repository-ee7enzjx.js} +3 -3
- package/dist/chunks/{websearch-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-9zv42yjh.js → repository-ef9qytv4.js} +15 -15
- package/dist/chunks/{websearch-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-2gpf5cfx.js → repository-ex6sdzkj.js} +13 -13
- package/dist/chunks/{websearch-g5ygsx2x.js → repository-ez9bk2es.js} +10 -10
- package/dist/chunks/{websearch-v0hmbm1z.js → repository-f1gpw9yy.js} +8 -8
- package/dist/chunks/{websearch-yp2x3t23.js → repository-f2n192rq.js} +4 -4
- package/dist/chunks/{websearch-bepwgrwq.js → repository-f346y1sz.js} +7 -7
- package/dist/chunks/{websearch-vs0es854.js → repository-f3fd7e69.js} +7 -7
- package/dist/chunks/{websearch-x9bqvz0y.js → repository-f58hpvk1.js} +10 -10
- package/dist/chunks/{websearch-5vw2fwjd.js → repository-f6ky630e.js} +40 -40
- package/dist/chunks/{websearch-b1628sq9.js → repository-f75xppwz.js} +63 -63
- package/dist/chunks/{websearch-za9cx4qh.js → repository-fad6j005.js} +6 -6
- package/dist/chunks/{websearch-z2vht0hs.js → repository-fbfxcass.js} +17 -17
- package/dist/chunks/{websearch-caa83g2j.js → repository-fbjrfmj9.js} +23 -23
- package/dist/chunks/{websearch-2c0h5q0f.js → repository-fdw6x2n6.js} +30 -30
- package/dist/chunks/{websearch-05b95ysj.js → repository-fkdqjgjc.js} +23 -23
- package/dist/chunks/{websearch-960c15r8.js → repository-fmqp2bpe.js} +37 -37
- package/dist/chunks/{websearch-q3t37ft6.js → repository-fqka1xvk.js} +3 -3
- package/dist/chunks/{websearch-sqmzwr9m.js → repository-fsbk27r1.js} +9 -9
- package/dist/chunks/{websearch-qsrbjrjk.js → repository-ftnrf378.js} +15 -15
- package/dist/chunks/{websearch-2eegacq4.js → repository-g1sxm558.js} +8 -8
- package/dist/chunks/{websearch-t0hgfzs0.js → repository-g5b01x5v.js} +24 -24
- package/dist/chunks/{websearch-vc9a6ex1.js → repository-g5zdntwf.js} +8 -8
- package/dist/chunks/{websearch-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-csbx25gw.js → repository-gp17yma0.js} +29 -29
- package/dist/chunks/{websearch-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-k3sjjeke.js → repository-h0j67pyz.js} +10 -10
- package/dist/chunks/{websearch-57gyqrsv.js → repository-h57x98jw.js} +9 -9
- package/dist/chunks/{websearch-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-9x77fmbz.js → repository-hnr8f6ws.js} +4 -4
- package/dist/chunks/{websearch-z2m27cj8.js → repository-hr7n7dfk.js} +42 -42
- package/dist/chunks/{websearch-jr9y5vde.js → repository-hx5mqagm.js} +44 -44
- package/dist/chunks/{websearch-ve1mvx6y.js → repository-j0dca7h1.js} +38 -38
- package/dist/chunks/{websearch-je90e586.js → repository-j290mkxf.js} +27 -27
- package/dist/chunks/{websearch-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-eyz64kwr.js → repository-jj3kxevf.js} +6 -6
- package/dist/chunks/{websearch-zqxgksca.js → repository-js2zbbsy.js} +5 -5
- package/dist/chunks/{websearch-5q1adabg.js → repository-jw7mqvhb.js} +24 -24
- package/dist/chunks/{websearch-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-w3fb7tfm.js → repository-k6a913mc.js} +3 -3
- package/dist/chunks/{websearch-d7t2ts3e.js → repository-k91vaj61.js} +4 -4
- package/dist/chunks/{websearch-gnj36zes.js → repository-kc72bagp.js} +5 -5
- package/dist/chunks/{websearch-rgz11k33.js → repository-kg3dqxfj.js} +3 -3
- package/dist/chunks/{websearch-kbpc8md5.js → repository-kjnxwy2q.js} +14 -14
- package/dist/chunks/{websearch-n6b4627x.js → repository-knxfq3yn.js} +13 -13
- package/dist/chunks/{websearch-kyrdd354.js → repository-krswtk6s.js} +6 -6
- package/dist/chunks/{websearch-nx2jwr9z.js → repository-kxgkk26h.js} +15 -15
- package/dist/chunks/{websearch-t9bnvksp.js → repository-kxzsw107.js} +23 -23
- package/dist/chunks/{websearch-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-gvs67340.js → repository-m85aqzgd.js} +39 -39
- package/dist/chunks/{websearch-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-s9e7gx2z.js → repository-mdenj6n2.js} +20 -20
- package/dist/chunks/{websearch-86j0da14.js → repository-mm244bga.js} +22 -22
- package/dist/chunks/{websearch-zvxr3k7q.js → repository-mmsj8dfy.js} +21 -21
- package/dist/chunks/{websearch-tb8yxejg.js → repository-mn05vpar.js} +20 -20
- package/dist/chunks/{websearch-0ryd0fps.js → repository-nz569jqt.js} +5 -5
- package/dist/chunks/{websearch-kef2z2dq.js → repository-p1pf9hx4.js} +20 -20
- package/dist/chunks/{websearch-k0ybdv3m.js → repository-p9qne3wm.js} +57 -57
- package/dist/chunks/{websearch-g0445xdp.js → repository-pa8pe2x7.js} +8 -8
- package/dist/chunks/{websearch-5xpznt2d.js → repository-pccq72bz.js} +4 -4
- package/dist/chunks/{websearch-257anzkt.js → repository-pdbx26ag.js} +10 -10
- package/dist/chunks/{websearch-cpy6gm2a.js → repository-pf2hb43r.js} +6 -6
- package/dist/chunks/{websearch-fbrw26kw.js → repository-pj8e2ttv.js} +48 -48
- package/dist/chunks/{websearch-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-qzcmc6vm.js → repository-pnpn4wz1.js} +13 -13
- package/dist/chunks/{websearch-xk747vep.js → repository-pnv527nz.js} +5 -5
- package/dist/chunks/{websearch-wwx8h3qn.js → repository-pptf5a6z.js} +14 -14
- package/dist/chunks/{websearch-14ae4cgv.js → repository-q82chg0w.js} +37 -37
- package/dist/chunks/{websearch-s81rwkm8.js → repository-qevyghr7.js} +5 -5
- package/dist/chunks/{websearch-rxq801p8.js → repository-qf2587vm.js} +27 -27
- package/dist/chunks/{websearch-psnys6wj.js → repository-qhj864bm.js} +20 -20
- package/dist/chunks/{websearch-qjnxxf51.js → repository-qjnxxf51.js} +2 -2
- package/dist/chunks/{websearch-ednp5hmx.js → repository-qm7jrdpz.js} +8 -8
- package/dist/chunks/{websearch-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-p0kwpzsn.js → repository-rfstt2b7.js} +10 -10
- package/dist/chunks/{websearch-ddmh7828.js → repository-rjkc8qw5.js} +5 -5
- package/dist/chunks/{websearch-4n2wcx67.js → repository-rpt1dgh1.js} +14 -14
- package/dist/chunks/{websearch-qc9721hg.js → repository-rskbfe93.js} +3 -3
- package/dist/chunks/{websearch-ytr3z145.js → repository-rwa9kg8s.js} +12 -12
- package/dist/chunks/{websearch-y6kvk90e.js → repository-rzecepek.js} +10 -10
- package/dist/chunks/{websearch-17xffpm7.js → repository-s6sgn3gb.js} +12 -12
- package/dist/chunks/{websearch-gpk8f5ta.js → repository-s9jd6y68.js} +11 -11
- package/dist/chunks/{websearch-edqj2a2f.js → repository-smzj8rfw.js} +26 -26
- package/dist/chunks/{websearch-bwc6a6xj.js → repository-sqdvw4xb.js} +6 -6
- package/dist/chunks/{websearch-s8d7rejh.js → repository-t550f9t1.js} +4 -4
- package/dist/chunks/{websearch-ac0ayam2.js → repository-t5fcdsyj.js} +8 -8
- package/dist/chunks/{websearch-6ca315f3.js → repository-t8c99pq6.js} +170 -170
- package/dist/chunks/{websearch-hq5z72m5.js → repository-t8cezs0c.js} +5 -5
- package/dist/chunks/{websearch-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-0jeegzsf.js → repository-tea56sn9.js} +32 -32
- package/dist/chunks/{websearch-0kzbc53h.js → repository-tgthxese.js} +5 -5
- package/dist/chunks/{websearch-zgptpah9.js → repository-tj650tt1.js} +20 -20
- package/dist/chunks/{websearch-r92qwnnn.js → repository-tqs9jcf6.js} +20 -20
- package/dist/chunks/{websearch-1wa56esf.js → repository-ts1yq6xm.js} +22 -22
- package/dist/chunks/{websearch-3wd4dfc7.js → repository-tt62nkee.js} +25 -25
- package/dist/chunks/{websearch-1rsa83zn.js → repository-ttqxpwhe.js} +23 -23
- package/dist/chunks/{websearch-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-saeg0r1f.js → repository-v8v68fnp.js} +13 -13
- package/dist/chunks/{websearch-cv7hbm4e.js → repository-ve0yqpdc.js} +18 -18
- package/dist/chunks/{websearch-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-qrt17vy0.js → repository-vjx0011y.js} +17 -17
- package/dist/chunks/{websearch-54gghwtf.js → repository-vspmykee.js} +14 -14
- package/dist/chunks/{websearch-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-b4kafrxs.js → repository-vzvmbq7x.js} +36 -36
- package/dist/chunks/{websearch-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-w6zk8pbt.js → repository-w6zk8pbt.js} +1 -1
- package/dist/chunks/{websearch-wd3x2cqz.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{websearch-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-zf8y23pp.js → repository-wgs8hk86.js} +6 -6
- package/dist/chunks/{websearch-fntn2hgv.js → repository-wpzgjbhj.js} +33 -33
- package/dist/chunks/{websearch-x30t6a71.js → repository-wqbbhmw9.js} +26 -26
- package/dist/chunks/{websearch-s47ecn8g.js → repository-ws0hhf19.js} +12 -12
- package/dist/chunks/{websearch-gfhhve88.js → repository-wz5tj16h.js} +5 -5
- package/dist/chunks/{websearch-xy26ekgv.js → repository-wzvzbcsg.js} +12 -12
- package/dist/chunks/{websearch-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-tyvqcb4v.js → repository-x1fz7ram.js} +15 -15
- package/dist/chunks/{websearch-s8e944fn.js → repository-x23wrtd4.js} +16 -16
- package/dist/chunks/{websearch-m4x7pwrx.js → repository-x8e3c47v.js} +26 -26
- package/dist/chunks/{websearch-s6gqes3c.js → repository-xbnvh8b8.js} +18 -18
- package/dist/chunks/{websearch-dmqcgk4z.js → repository-xkntkrq7.js} +5 -5
- package/dist/chunks/{websearch-djp7qhxv.js → repository-xkyyaqys.js} +10 -10
- package/dist/chunks/{websearch-9kh92b6h.js → repository-xr3n93y1.js} +9 -9
- package/dist/chunks/{websearch-wcb8zmgt.js → repository-xts7ca3t.js} +11 -11
- package/dist/chunks/{websearch-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-dq0v80fr.js → repository-y5df08dr.js} +12 -12
- package/dist/chunks/{websearch-d0vt178h.js → repository-y5kv6yf7.js} +29 -29
- package/dist/chunks/{websearch-pg3d8dpb.js → repository-y5rf7nzv.js} +4 -4
- package/dist/chunks/{websearch-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-nmj1tt6c.js → repository-y9zw62b3.js} +14 -14
- package/dist/chunks/{websearch-3gvhhwfh.js → repository-yn23vpp6.js} +15 -15
- package/dist/chunks/{websearch-jsxy3kay.js → repository-yqgpt25r.js} +32 -32
- package/dist/chunks/{websearch-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-0qchn2ta.js → repository-ys0z6e7b.js} +28 -28
- package/dist/chunks/{websearch-hkfg6fzm.js → repository-yt0fqk68.js} +5 -5
- package/dist/chunks/{websearch-z07pqspn.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{websearch-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-3amp6vpt.js → repository-z0vv805r.js} +35 -35
- package/dist/chunks/{websearch-3cf4nv13.js → repository-z2018skw.js} +12 -12
- package/dist/chunks/{websearch-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-zcrspsvn.js → repository-zcrspsvn.js} +1 -1
- package/dist/chunks/{websearch-htmh1dwe.js → repository-zdqwn290.js} +33 -33
- package/dist/chunks/{websearch-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-v4hbc6tt.js → repository-zg91g03d.js} +36 -36
- package/dist/chunks/{websearch-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-ckprxe2m.js → repository-zss2mcem.js} +11 -11
- package/dist/chunks/{websearch-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +75 -75
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +72 -72
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/websearch-swmbq937.js +0 -252
- /package/dist/chunks/{websearch-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./repository-mdenj6n2.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./repository-x23wrtd4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./repository-vzvmbq7x.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-6t45mx4g.js";
|
|
18
18
|
import {
|
|
19
19
|
Service9
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-pnv527nz.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-ddg1taeb.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin23
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin23 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service48;
|
|
43
43
|
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service49;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin2 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin23, exports_skill2 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./repository-5rf1rhax.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-knxfq3yn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./repository-1n9hcfy3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service55
|
|
14
|
+
} from "./repository-p9qne3wm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./repository-ve0yqpdc.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input8,
|
|
29
29
|
Output: () => Output5,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin10,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name8,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name8 = "write";
|
|
39
|
+
var Input8 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -48,24 +48,24 @@ var Output5 = Schema.Struct({
|
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin10 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service15;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service62;
|
|
58
|
+
const formatter = yield* Service14;
|
|
59
|
+
const permission = yield* Service55;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name8,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input8,
|
|
69
69
|
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name8, Input8, Output5, toModelContent6, Plugin10, exports_write };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-kg3dqxfj.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-ee7enzjx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info22,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-fqka1xvk.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-10w0r48r.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-04atd798.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./repository-hr7n7dfk.js";
|
|
22
22
|
import {
|
|
23
23
|
Service44,
|
|
24
24
|
node46
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-51f5btjf.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-z07pqspn.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node44
|
|
34
|
+
} from "./repository-dx8av2x7.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./repository-pccq72bz.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./repository-bxcevcrv.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node31
|
|
47
|
+
} from "./repository-6b8mt4qe.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node56
|
|
51
|
+
} from "./repository-4f06rze2.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./repository-jj3kxevf.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service56,
|
|
68
|
+
node59
|
|
69
|
+
} from "./repository-cfkxc3zx.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service50,
|
|
72
|
+
node52
|
|
73
|
+
} from "./repository-0magjvjs.js";
|
|
74
74
|
import {
|
|
75
75
|
Service40,
|
|
76
76
|
node43
|
|
77
|
-
} from "./
|
|
77
|
+
} from "./repository-g5b01x5v.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./repository-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
82
|
Service33,
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
node37
|
|
84
|
+
} from "./repository-5qedxm44.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./repository-y9zw62b3.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./repository-wgs8hk86.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service70,
|
|
93
|
+
node74
|
|
94
|
+
} from "./repository-xr3n93y1.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service27,
|
|
100
|
+
node30
|
|
101
|
+
} from "./repository-hx5mqagm.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service47,
|
|
104
|
+
node49
|
|
105
|
+
} from "./repository-25cs5cen.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./repository-x8e3c47v.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./repository-d7fh38br.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./repository-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,14 +123,14 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info22,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
135
|
Service: () => Service26,
|
|
136
136
|
Session: () => exports_session,
|
|
@@ -148,7 +148,7 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
152
|
class Service26 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
154
|
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
@@ -156,17 +156,17 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
159
|
+
const projects = yield* Service80;
|
|
160
160
|
const execution = yield* Service40;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
162
|
const transport = yield* Service33;
|
|
163
|
-
const store = yield*
|
|
163
|
+
const store = yield* Service56;
|
|
164
164
|
const instances = yield* Service44;
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
165
|
+
const moves = yield* Service27;
|
|
166
|
+
const jobs = yield* Service50;
|
|
167
|
+
const environments = yield* Service47;
|
|
168
|
+
const locations = yield* Service70;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
171
|
const result = Service26.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -331,22 +331,22 @@ var node29 = Node.makeGlobalNode({
|
|
|
331
331
|
service: Service26,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node52,
|
|
335
|
+
node49,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
338
|
+
node84,
|
|
339
339
|
node43,
|
|
340
|
-
|
|
340
|
+
node37,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
342
|
+
node59,
|
|
343
343
|
node46,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
344
|
+
node44,
|
|
345
|
+
node30,
|
|
346
|
+
node31,
|
|
347
|
+
node74,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node56
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-04atd798.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-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: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info34,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service82,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node86,
|
|
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 Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info34 = 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 NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
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: ID18
|
|
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: ID18,
|
|
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 Service82 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service82, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
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 NotFoundError11({ 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 ?? ID18.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).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 })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service82.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node86 = makeLocationNode({ service: Service82, layer: layer25, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID18, Info34, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node86, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-x23wrtd4.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter2 = {};
|
|
14
|
+
__export(exports_formatter2, {
|
|
15
|
+
Formatter: () => exports_formatter2,
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service14 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service79;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service14.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service14,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node83, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service14, node16, exports_formatter2 };
|