@opencode/core 0.0.0-dev-20420 → 0.0.0-dev-20425
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{image-jexxy024.js → command-08rawchj.js} +3 -3
- package/dist/chunks/{image-nsfzc1qf.js → command-09nnxt9p.js} +26 -26
- package/dist/chunks/{image-ra8smtek.js → command-0gys68wh.js} +20 -20
- package/dist/chunks/{image-prmgem5b.js → command-0hf9g8pg.js} +6 -6
- package/dist/chunks/command-0j77ygfz.js +25 -0
- package/dist/chunks/{image-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-gv6a8nnw.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{image-jj72jhew.js → command-0w1gqsy8.js} +6 -6
- package/dist/chunks/{image-zeffrx5b.js → command-0yc0bfdq.js} +5 -5
- package/dist/chunks/{image-syx3683f.js → command-125a3gzs.js} +1 -1
- package/dist/chunks/{image-e1vxf24z.js → command-12vfn7rq.js} +20 -20
- package/dist/chunks/{image-ts4697w6.js → command-15nv6dks.js} +33 -33
- package/dist/chunks/{image-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-x1dwmb2w.js → command-1rvfxwwy.js} +16 -16
- package/dist/chunks/{image-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{image-7w5kah94.js → command-22adywx4.js} +33 -33
- package/dist/chunks/{image-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-yrznvahk.js → command-2ccvkpx1.js} +2 -2
- package/dist/chunks/{image-69hv900b.js → command-2f06s3ns.js} +11 -11
- package/dist/chunks/{image-h7ygw6q4.js → command-2j5hbwxg.js} +9 -9
- package/dist/chunks/{image-kxpygcw9.js → command-2jmaghvr.js} +4 -4
- package/dist/chunks/{image-vgxhzj35.js → command-2ss4kerk.js} +11 -11
- package/dist/chunks/{image-v6ghzfeb.js → command-2vgzs72b.js} +5 -5
- package/dist/chunks/{image-rr741bpx.js → command-2ztps42y.js} +4 -4
- package/dist/chunks/{image-9352f8b0.js → command-32qqfmzq.js} +9 -9
- package/dist/chunks/{image-zqerc4cv.js → command-392y4h0x.js} +20 -20
- package/dist/chunks/{image-xdrba4jw.js → command-3b9qt4hj.js} +9 -9
- package/dist/chunks/{image-psazpmmj.js → command-3cegwx68.js} +2 -2
- package/dist/chunks/{image-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-g0445xdp.js → command-3hfr6h8q.js} +8 -8
- package/dist/chunks/{image-wrbnapbr.js → command-3pcwt893.js} +3 -3
- package/dist/chunks/{image-4txpgtd5.js → command-3r3hs3sk.js} +6 -6
- package/dist/chunks/{image-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-57ez7d0k.js → command-3v5tjer0.js} +2 -2
- package/dist/chunks/{image-f2ra6ejh.js → command-3yhkhgds.js} +24 -24
- package/dist/chunks/{image-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{image-ave9n0d8.js → command-435p94mv.js} +15 -15
- package/dist/chunks/{image-hehaxqkv.js → command-44pdqs77.js} +4 -4
- package/dist/chunks/{image-x5c3aeq5.js → command-4c2df9zx.js} +8 -8
- package/dist/chunks/{image-4m5fa9e1.js → command-4ep12pyx.js} +30 -30
- package/dist/chunks/{image-92pqcnfv.js → command-4rsgbdp7.js} +43 -43
- package/dist/chunks/{image-1vsy90zb.js → command-4s1v5szb.js} +24 -24
- package/dist/chunks/{image-pq8fxsmn.js → command-4tmhkwhh.js} +34 -34
- package/dist/chunks/{image-bdw71yz3.js → command-4v12cqac.js} +12 -12
- package/dist/chunks/{image-a8vt68jm.js → command-4xjmh1rg.js} +18 -18
- package/dist/chunks/{image-r94pvvab.js → command-54ma36ye.js} +4 -4
- package/dist/chunks/{image-fz0jyhtj.js → command-569pzwc8.js} +24 -24
- package/dist/chunks/{image-33w4ejhs.js → command-56gdpj1q.js} +6 -6
- package/dist/chunks/{image-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{image-yvq70187.js → command-5dhr1a59.js} +16 -16
- package/dist/chunks/{image-e1gx0x5b.js → command-5dkrrsy6.js} +11 -11
- package/dist/chunks/{image-2smhrpmj.js → command-5qfqt7q0.js} +8 -8
- package/dist/chunks/{image-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-aj1p7gt3.js → command-60cawxsn.js} +6 -6
- package/dist/chunks/{image-dweptn8x.js → command-654bmfkb.js} +4 -4
- package/dist/chunks/{image-ffpqsr69.js → command-65j7h7z0.js} +22 -22
- package/dist/chunks/{image-2ptzyb5x.js → command-65zh2nvj.js} +17 -17
- package/dist/chunks/{image-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{image-f3ngv102.js → command-6sr3ve8g.js} +21 -21
- package/dist/chunks/{image-bczcn6w4.js → command-6t2wbhs5.js} +4 -4
- package/dist/chunks/{image-pf9vtx43.js → command-6tj04ent.js} +12 -12
- package/dist/chunks/{image-08cc3crx.js → command-6z9y85k1.js} +12 -12
- package/dist/chunks/{image-qytp0p6t.js → command-70h48ehn.js} +3 -3
- package/dist/chunks/{image-y4f6tqdt.js → command-7699xt8c.js} +24 -24
- package/dist/chunks/{image-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
- package/dist/chunks/{image-3fh5m38b.js → command-7fsqtpfs.js} +5 -5
- package/dist/chunks/{image-jr6nesqj.js → command-7ggg3cvf.js} +43 -43
- package/dist/chunks/{image-12htfbcb.js → command-7ghtgw7y.js} +11 -11
- package/dist/chunks/{image-m6fsgx1c.js → command-7gjme12f.js} +10 -10
- package/dist/chunks/{image-yc4m8b4c.js → command-7nk06whx.js} +48 -48
- package/dist/chunks/{image-3pbjq009.js → command-7skj7b3t.js} +11 -11
- package/dist/chunks/{image-3pemy4mj.js → command-7zextwbv.js} +43 -43
- package/dist/chunks/{image-sadm9mde.js → command-82n2gc37.js} +9 -9
- package/dist/chunks/{image-2ffw9mnr.js → command-83zswggx.js} +11 -11
- package/dist/chunks/{image-gfvb90ym.js → command-84h8c373.js} +2 -2
- package/dist/chunks/{image-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{image-xzbn3rqq.js → command-86efd22a.js} +6 -6
- package/dist/chunks/{image-jr7yx8jc.js → command-86qnsy51.js} +5 -5
- package/dist/chunks/{image-4a1xd2mc.js → command-88npvcs0.js} +29 -29
- package/dist/chunks/{image-wabfeqb8.js → command-8c3xbmtc.js} +8 -8
- package/dist/chunks/{image-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-w6s43q3f.js → command-8pzy0y0s.js} +11 -11
- package/dist/chunks/{image-z8dtv2mk.js → command-8xf89zsp.js} +2 -2
- package/dist/chunks/command-9hjw92a0.js +26 -0
- package/dist/chunks/{image-4w5f3qm5.js → command-9jbvj98d.js} +8 -8
- package/dist/chunks/{image-spr7x8vd.js → command-9n47bnwc.js} +54 -28
- package/dist/chunks/{image-7npnsjne.js → command-9tmvx2dr.js} +14 -14
- package/dist/chunks/{image-8tr76t7q.js → command-9yeatzar.js} +4 -4
- package/dist/chunks/{image-1gn2b5rd.js → command-9ynvqa68.js} +6 -6
- package/dist/chunks/{image-b27vhd2z.js → command-a46v4e4v.js} +4 -4
- package/dist/chunks/{image-44zg68ra.js → command-a6wxqygz.js} +25 -25
- package/dist/chunks/{image-eeyn7p3y.js → command-a8wbw237.js} +5 -5
- package/dist/chunks/{image-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{image-gq3rpds4.js → command-apvpadp8.js} +40 -40
- package/dist/chunks/{image-qygbw77c.js → command-b3f8fkhc.js} +5 -5
- package/dist/chunks/{image-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-3bc8czyk.js → command-b7b4ctej.js} +5 -5
- package/dist/chunks/{image-k0cjby8k.js → command-b983vmxa.js} +33 -33
- package/dist/chunks/{image-bkhvbshk.js → command-c4v9k59t.js} +28 -28
- package/dist/chunks/{image-ygwcwb09.js → command-c6ttkmc3.js} +4 -4
- package/dist/chunks/{image-zm1zrekh.js → command-cbvt3nfp.js} +11 -11
- package/dist/chunks/{image-z844dt8c.js → command-cgk007dh.js} +11 -11
- package/dist/chunks/{image-y6bxn8ge.js → command-cvw89d3k.js} +18 -18
- package/dist/chunks/{image-tpew0fxa.js → command-d7hcd0ym.js} +11 -11
- package/dist/chunks/{image-aphn2g51.js → command-darx1emg.js} +9 -9
- package/dist/chunks/{image-1sayd3qa.js → command-dcqe2tda.js} +44 -44
- package/dist/chunks/{image-t9zs3egg.js → command-dfe8djrf.js} +4 -4
- package/dist/chunks/{image-nxm207yx.js → command-dpkg50ah.js} +4 -4
- package/dist/chunks/{image-j6x1e07f.js → command-dq0akw48.js} +16 -16
- package/dist/chunks/{image-0r7yqxbf.js → command-dsr2y3g9.js} +5 -5
- package/dist/chunks/{image-csx9mte4.js → command-dw95s81m.js} +23 -23
- package/dist/chunks/{image-dhzxrwkg.js → command-e1m5s5bn.js} +9 -9
- package/dist/chunks/{image-1h2tf2pz.js → command-e3p960dv.js} +5 -5
- package/dist/chunks/{image-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{image-w4y2qeev.js → command-e4nkqe78.js} +33 -33
- package/dist/chunks/{image-etzz3kcr.js → command-e7710hd6.js} +8 -8
- package/dist/chunks/{image-4pdbz8wr.js → command-ebq0q0d7.js} +4 -4
- package/dist/chunks/{image-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-eh21xe1z.js → command-ennp2fy0.js} +44 -44
- package/dist/chunks/{image-zen14cpe.js → command-eps6q5xj.js} +14 -14
- package/dist/chunks/{image-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-vjjxy6yb.js → command-eyhtqccb.js} +7 -7
- package/dist/chunks/{image-anz9cf4w.js → command-ez4dssjv.js} +15 -15
- package/dist/chunks/{image-n6gsfqsz.js → command-ezespax2.js} +313 -313
- package/dist/chunks/{image-yfs06vqd.js → command-f03kf16x.js} +3 -3
- package/dist/chunks/{image-3yscd9tq.js → command-f69ve3h4.js} +16 -16
- package/dist/chunks/{image-54tcyq79.js → command-f75zav2x.js} +2 -2
- package/dist/chunks/{image-n6bdjd7t.js → command-ffh69xw9.js} +8 -8
- package/dist/chunks/{image-g6em3hs7.js → command-fjegnp40.js} +14 -14
- package/dist/chunks/{image-pf2g5091.js → command-fjp52ft7.js} +45 -45
- package/dist/chunks/{image-189xa6nw.js → command-fpq7b0ys.js} +8 -8
- package/dist/chunks/{image-g80d2raz.js → command-g53rxf0r.js} +5 -5
- package/dist/chunks/{image-vev74ge2.js → command-g602k23t.js} +11 -11
- package/dist/chunks/{image-98ya4gjh.js → command-gbr9d7vf.js} +24 -24
- package/dist/chunks/{image-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-e72dvkew.js → command-gfkmrq4p.js} +25 -25
- package/dist/chunks/{image-asb7s1px.js → command-ghaqbwqb.js} +18 -18
- package/dist/chunks/{image-cpneeje0.js → command-gjwgx2c5.js} +9 -9
- package/dist/chunks/{image-pxye9d3v.js → command-gtkdm2kv.js} +73 -73
- package/dist/chunks/{image-3dsy9998.js → command-gzxs6px7.js} +24 -24
- package/dist/chunks/{image-410wgjg3.js → command-h3njkt71.js} +13 -13
- package/dist/chunks/{image-edxf7q0v.js → command-h6t4ec3e.js} +33 -33
- package/dist/chunks/{image-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-vq5ej43a.js → command-h81fdr4s.js} +28 -28
- package/dist/chunks/{image-ngwfcb89.js → command-h9th01k5.js} +13 -13
- package/dist/chunks/{image-f29mbr7f.js → command-h9wp8z5w.js} +4 -4
- package/dist/chunks/{image-sez2zsv2.js → command-hfdbewx1.js} +3 -3
- package/dist/chunks/{image-3w0fmcng.js → command-hpa0c1fz.js} +5 -5
- package/dist/chunks/{image-z8a1da1q.js → command-hs8jsmzr.js} +20 -20
- package/dist/chunks/command-ht5y0zrb.js +18 -0
- package/dist/chunks/{image-qww8dk20.js → command-htx2nwm0.js} +17 -17
- package/dist/chunks/{image-thwj5qp5.js → command-hv340q6g.js} +10 -10
- package/dist/chunks/{image-abq6qjef.js → command-j02g5jt1.js} +22 -22
- package/dist/chunks/{image-x7g19880.js → command-j1qpxjvn.js} +14 -14
- package/dist/chunks/{image-hkfg6fzm.js → command-j29a7fks.js} +5 -5
- package/dist/chunks/{image-xpb82v70.js → command-j4z1869k.js} +20 -20
- package/dist/chunks/{image-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{image-a89e0tac.js → command-jewzahs7.js} +4 -4
- package/dist/chunks/{image-s349tpfq.js → command-jfh4v34s.js} +24 -24
- package/dist/chunks/{image-py3kkmfq.js → command-jktqzjpa.js} +8 -8
- package/dist/chunks/{image-gbp3tmc2.js → command-jkxz06wq.js} +9 -9
- package/dist/chunks/{image-zrr907e3.js → command-jqnhh969.js} +8 -8
- package/dist/chunks/{image-ma9b7dad.js → command-k2736hxg.js} +3 -3
- package/dist/chunks/{image-vq4s12sx.js → command-k89vh9jf.js} +25 -25
- package/dist/chunks/{image-h9bcwp57.js → command-k8b1rdw7.js} +6 -6
- package/dist/chunks/{image-jv14matq.js → command-k8zgzs4j.js} +7 -7
- package/dist/chunks/{image-rpg9mwd2.js → command-ka0m6rdf.js} +23 -23
- package/dist/chunks/{image-6mk64feq.js → command-ka2772re.js} +11 -11
- package/dist/chunks/{image-bjtzbw4r.js → command-kb9j3d72.js} +3 -3
- package/dist/chunks/{image-e8syvjy6.js → command-kcaq6mcn.js} +15 -15
- package/dist/chunks/{image-wp2da0y2.js → command-kh012ppf.js} +65 -65
- package/dist/chunks/{image-98rjzhgf.js → command-kk5zk3a0.js} +3 -3
- package/dist/chunks/{image-8v60zwy0.js → command-kxv9wf7h.js} +14 -14
- package/dist/chunks/{image-5e9ex5tq.js → command-m01y6ttg.js} +13 -13
- package/dist/chunks/{image-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-m58kmhef.js → command-m58kmhef.js} +2 -2
- package/dist/chunks/{image-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-zeh9ct20.js → command-mazbtkaa.js} +2 -2
- package/dist/chunks/{image-3p6vpnrg.js → command-mjqndqed.js} +5 -5
- package/dist/chunks/{image-44vdmdsx.js → command-mnwrr1qs.js} +5 -5
- package/dist/chunks/{image-dnxkq42g.js → command-mpk0rfs5.js} +4 -4
- package/dist/chunks/{image-jmhnkzbv.js → command-mqafpt2f.js} +1 -1
- package/dist/chunks/{image-wzbyfwsn.js → command-mtk52xmd.js} +3 -3
- package/dist/chunks/{image-eq1pz5kg.js → command-mvfsc1pv.js} +3 -3
- package/dist/chunks/{image-nrbk2kv0.js → command-n0pywpq4.js} +6 -6
- package/dist/chunks/{image-7hdbg4yw.js → command-nf0mv796.js} +13 -13
- package/dist/chunks/{image-87sgw6dv.js → command-nnxgyx76.js} +24 -24
- package/dist/chunks/{image-chn746cp.js → command-npmb1mqa.js} +27 -27
- package/dist/chunks/{image-8c98pape.js → command-nynp1wzk.js} +23 -23
- package/dist/chunks/{image-nzks3jc8.js → command-nzks3jc8.js} +3 -3
- package/dist/chunks/{image-74s3n81d.js → command-p5pf3enj.js} +29 -29
- package/dist/chunks/{image-xtf7vn19.js → command-p72k79qf.js} +15 -15
- package/dist/chunks/{image-09vgy7d7.js → command-paae1hnn.js} +18 -18
- package/dist/chunks/{image-nr1s5933.js → command-pd1qyk1g.js} +24 -24
- package/dist/chunks/{image-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{image-sc24egzq.js → command-prq7hedt.js} +9 -9
- package/dist/chunks/{image-bey9aa5n.js → command-ps47t8qh.js} +21 -21
- package/dist/chunks/{image-8bzcbfjx.js → command-py3n4qdw.js} +20 -20
- package/dist/chunks/{image-7j5e6wjq.js → command-py4awywk.js} +5 -5
- package/dist/chunks/{image-hfz95zw3.js → command-q03fcfcz.js} +16 -16
- package/dist/chunks/{image-apxd6vqt.js → command-q1xs28w9.js} +13 -13
- package/dist/chunks/{image-g9698bze.js → command-q3ezd169.js} +10 -10
- package/dist/chunks/{image-6dcamqcs.js → command-qe6tj4d9.js} +32 -32
- package/dist/chunks/{image-94be766r.js → command-qfcmt2yh.js} +9 -9
- package/dist/chunks/{image-6msgmcgs.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{image-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{image-ydz4e7k1.js → command-qw2yw8z7.js} +19 -19
- package/dist/chunks/{image-nn1s08mm.js → command-r71rh3b2.js} +20 -20
- package/dist/chunks/{image-tbe0yh0n.js → command-r7cqnzm4.js} +24 -24
- package/dist/chunks/{image-257x5s3c.js → command-r7fzpv87.js} +44 -44
- package/dist/chunks/{image-rhraev7y.js → command-r8xr0va3.js} +4 -4
- package/dist/chunks/{image-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-rwm5vee1.js → command-rpg9c19m.js} +4 -4
- package/dist/chunks/{image-q6hzchqe.js → command-rv5kyjjz.js} +6 -6
- package/dist/chunks/{image-y1gke2m2.js → command-rx9ava5n.js} +4 -4
- package/dist/chunks/{image-63pd56y5.js → command-ryr1jwcc.js} +12 -12
- package/dist/chunks/{image-0vwyq9fa.js → command-s1pfhd0y.js} +11 -11
- package/dist/chunks/{image-rc92zmyt.js → command-s22d9hak.js} +17 -17
- package/dist/chunks/{image-2gw8ssgq.js → command-s7wf03n2.js} +11 -11
- package/dist/chunks/{image-87yk6njf.js → command-s7xm0994.js} +24 -24
- package/dist/chunks/{image-9t7a50xb.js → command-s8d7rejh.js} +4 -4
- package/dist/chunks/command-sftyyjfb.js +252 -0
- package/dist/chunks/{image-zd755v0h.js → command-shxgfbnt.js} +7 -7
- package/dist/chunks/{image-vrpbqt8c.js → command-sjtp893p.js} +12 -12
- package/dist/chunks/{image-h6n47w4x.js → command-t8gtdgqz.js} +7 -7
- package/dist/chunks/{image-j9eqrz8s.js → command-t8w8mjvs.js} +15 -15
- package/dist/chunks/{image-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{image-awarry27.js → command-teep55cb.js} +18 -18
- package/dist/chunks/{image-cm4676z0.js → command-tjvfc3yx.js} +20 -20
- package/dist/chunks/{image-4xj83bvy.js → command-tnvqwdy0.js} +10 -10
- package/dist/chunks/{image-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{image-zxwpcx7f.js → command-v2tfw1yv.js} +6 -6
- package/dist/chunks/{image-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{image-fdv5t5g0.js → command-vjbk48r7.js} +26 -26
- package/dist/chunks/{image-m50qhwfm.js → command-vskhrygy.js} +11 -11
- package/dist/chunks/{image-nkh7xb07.js → command-vtk5qamb.js} +13 -13
- package/dist/chunks/{image-1yce9yd2.js → command-vy7jzsr4.js} +12 -12
- package/dist/chunks/{image-44nyv85r.js → command-vz9sc8m2.js} +15 -15
- package/dist/chunks/{image-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{image-dz3gce22.js → command-w08nn5n9.js} +13 -13
- package/dist/chunks/{image-jfr8p1nc.js → command-w17djjzg.js} +14 -14
- package/dist/chunks/{image-xfkkasph.js → command-w19d8598.js} +5 -5
- package/dist/chunks/{image-5esmevc9.js → command-w3hsnjjz.js} +12 -12
- package/dist/chunks/{image-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-39wagmdt.js → command-w5ystqj3.js} +3 -3
- package/dist/chunks/{image-s7vn0b15.js → command-wbsxrhdw.js} +4 -4
- package/dist/chunks/{image-wkkjk60x.js → command-wcw9m44b.js} +35 -35
- package/dist/chunks/{image-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{image-mk3zm8w3.js → command-whhdfx7x.js} +13 -13
- package/dist/chunks/{image-v08hbz58.js → command-wnfrb3a9.js} +15 -15
- package/dist/chunks/{image-v4ya61sm.js → command-wyjbmczw.js} +17 -17
- package/dist/chunks/{image-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-54pn5t4s.js → command-xa8sx6te.js} +37 -37
- package/dist/chunks/{image-9pgc1ftw.js → command-xerakxap.js} +79 -79
- package/dist/chunks/{image-yzyn3x45.js → command-xf862nsz.js} +12 -12
- package/dist/chunks/{image-v9463pt3.js → command-xjbtjqdb.js} +17 -17
- package/dist/chunks/{image-xkntkrq7.js → command-xkntkrq7.js} +2 -2
- package/dist/chunks/{image-e3ygdm6b.js → command-xq9zaz6f.js} +20 -20
- package/dist/chunks/{image-kma0a23x.js → command-xs6tw54q.js} +47 -47
- package/dist/chunks/{image-m9b9fvvz.js → command-xxvyy5kb.js} +12 -12
- package/dist/chunks/{image-9fxxshwk.js → command-y0m37wb8.js} +38 -38
- package/dist/chunks/{image-qq8x5mwt.js → command-y10wk092.js} +7 -7
- package/dist/chunks/{image-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-ywxndyv1.js → command-y5rf7nzv.js} +4 -4
- package/dist/chunks/{image-56b3zt1s.js → command-yf10kn3d.js} +8 -8
- package/dist/chunks/{image-fjzghbfh.js → command-yjxvec77.js} +25 -25
- package/dist/chunks/{image-vdjkcp1a.js → command-ynn332gn.js} +10 -10
- package/dist/chunks/{image-xd3taepx.js → command-ynyq5a7a.js} +17 -17
- package/dist/chunks/{image-51rzsxjq.js → command-yp0e5902.js} +34 -34
- package/dist/chunks/{image-qcv1wgnv.js → command-ypa0y62e.js} +10 -10
- package/dist/chunks/{image-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-wxfthr7h.js → command-ytfj295e.js} +154 -154
- package/dist/chunks/{image-2yv7jqsy.js → command-ytws7ykb.js} +2 -2
- package/dist/chunks/{image-1mr17jyd.js → command-yv60n1xn.js} +5 -5
- package/dist/chunks/{image-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-922hggd3.js → command-z5v4ffb3.js} +1 -11
- package/dist/chunks/{image-a3r4dcrj.js → command-zfme70y8.js} +2 -2
- package/dist/chunks/{image-rk1r2hx8.js → command-znsx74x0.js} +1 -1
- package/dist/chunks/{image-d8sh9q4a.js → command-zqvjtgwh.js} +25 -25
- package/dist/chunks/{image-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-zxq2ej10.js → command-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 +77 -77
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +372 -372
- 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 +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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +110 -106
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +18 -20
- package/dist/github-copilot/models.js +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- 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 +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +4 -4
- 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 +124 -124
- 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 +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +82 -82
- package/dist/schema.js +2 -4
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- 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 +219 -219
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- 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 +3 -3
- 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 +124 -124
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +212 -212
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +124 -124
- 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 +124 -124
- 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 +103 -103
- 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 +220 -220
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- 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 +16 -16
- package/dist/types/filesystem.d.ts +15 -1
- package/dist/types/github-copilot/copilot-provider.d.ts +0 -1
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/types/schema.d.ts +0 -21
- package/dist/types/v1/config/error.d.ts +48 -1433
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +5 -13
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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/variant.js +91 -91
- 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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/image-2g0vd6zq.js +0 -26
- package/dist/chunks/image-qc068m1q.js +0 -18
- package/dist/chunks/image-y8w35d73.js +0 -252
- package/dist/chunks/image-z63w68vq.js +0 -46
- package/dist/types/util/identifier.d.ts +0 -1
- package/dist/types/v1/permission.d.ts +0 -27
- package/dist/util/identifier.js +0 -5
- package/dist/v1/permission.js +0 -51
- /package/dist/chunks/{image-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-8xf89zsp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service20,
|
|
10
|
+
node22
|
|
11
|
+
} from "./command-teep55cb.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service19,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node21,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service19 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service20;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service19.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service19.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service19.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer17 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service19, layer: layer9(options), deps: [node84, node22] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node21 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service19, ripgrepLayer2, fffLayer2, layer9, configured3, node21, exports_search };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service50
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-xf862nsz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./command-0hf9g8pg.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-ht5y0zrb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service53;
|
|
23
23
|
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-8c3xbmtc.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-654bmfkb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-12vfn7rq.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-mpk0rfs5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-nnxgyx76.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service17
|
|
21
|
+
} from "./command-yf10kn3d.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-nynp1wzk.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-dw95s81m.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID5,
|
|
32
|
+
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-zqvjtgwh.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID5
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID12.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
|
|
|
166
166
|
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service17;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID12.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID11.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID11.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
388
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./command-y0m37wb8.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin15
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin15 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service66;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin40 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin15, exports_websearch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-3cegwx68.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-mtk52xmd.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-f75zav2x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
|
+
Info: () => Info11,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service57,
|
|
21
|
+
node: () => node60
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
|
+
var Info11 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service57 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID7.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service57.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID7, Info11, ListInput4, AddInput2, Service57, node60, exports_saved };
|
|
@@ -1,124 +1,124 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-mtk52xmd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-654bmfkb.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-eyhtqccb.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-kb9j3d72.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-rx9ava5n.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-h9wp8z5w.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-5dkrrsy6.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service58,
|
|
33
|
+
node61
|
|
34
|
+
} from "./command-9tmvx2dr.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service14,
|
|
37
|
+
node16
|
|
38
|
+
} from "./command-7699xt8c.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./command-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service36,
|
|
44
|
+
node38
|
|
45
|
+
} from "./command-d7hcd0ym.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./command-e4nkqe78.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make10
|
|
51
|
+
} from "./command-b3f8fkhc.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./command-yv60n1xn.js";
|
|
55
55
|
import {
|
|
56
56
|
Service10,
|
|
57
57
|
node12,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./command-3yhkhgds.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service29,
|
|
62
|
+
node31
|
|
63
|
+
} from "./command-xerakxap.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./command-py3n4qdw.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service11,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node13
|
|
73
|
+
} from "./command-09nnxt9p.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service52
|
|
77
|
+
} from "./command-rpg9c19m.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node78
|
|
80
|
+
} from "./command-vjbk48r7.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node51
|
|
83
|
+
} from "./command-6z9y85k1.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
86
|
make9
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./command-xjbtjqdb.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service28
|
|
90
|
+
} from "./command-ht5y0zrb.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
92
|
+
node23
|
|
93
|
+
} from "./command-r71rh3b2.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./command-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./command-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node11
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
112
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
113
113
|
const bus = yield* Service83;
|
|
114
|
-
const lifecycle = yield*
|
|
115
|
-
const store = yield*
|
|
116
|
-
const context = yield*
|
|
117
|
-
const modelTransport = yield*
|
|
114
|
+
const lifecycle = yield* Service14;
|
|
115
|
+
const store = yield* Service58;
|
|
116
|
+
const context = yield* Service29;
|
|
117
|
+
const modelTransport = yield* Service36;
|
|
118
118
|
const db = (yield* Service84).db;
|
|
119
119
|
const compaction = yield* Service10;
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
120
|
+
const plugins = yield* Service28;
|
|
121
|
+
const title = yield* Service11;
|
|
122
122
|
const steps = yield* make9;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make10(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service52.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node11 = makeLocationNode({
|
|
362
|
+
service: Service52,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
365
|
node87,
|
|
366
|
-
|
|
366
|
+
node16,
|
|
367
367
|
llmClient2,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
368
|
+
node31,
|
|
369
|
+
node38,
|
|
370
|
+
node61,
|
|
371
371
|
node12,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
372
|
+
node23,
|
|
373
|
+
node13,
|
|
374
|
+
node78,
|
|
375
|
+
node51,
|
|
376
376
|
node88
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node11, exports_llm };
|