@opencode/core 0.0.0-dev-19484 → 0.0.0-dev-19486
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{pty-md2xj9nf.js → websearch-0e2nyqxd.js} +32 -32
- package/dist/chunks/{pty-86rj60hj.js → websearch-0ethqs2v.js} +19 -19
- package/dist/chunks/{pty-s8d7rejh.js → websearch-0gdmqesm.js} +4 -4
- package/dist/chunks/{pty-th49mj5v.js → websearch-0h6rsm0g.js} +15 -15
- package/dist/chunks/{pty-my653yp5.js → websearch-0hc3726d.js} +22 -22
- package/dist/chunks/{pty-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-rgr9kwfb.js → websearch-10eeehcd.js} +7 -7
- package/dist/chunks/{pty-tbesmne2.js → websearch-141wat1w.js} +14 -14
- package/dist/chunks/{pty-tdhe5xga.js → websearch-17j9h1rv.js} +11 -11
- package/dist/chunks/{pty-7y947she.js → websearch-18bat74x.js} +24 -24
- package/dist/chunks/{pty-fqb2p7cx.js → websearch-19vf66h0.js} +4 -4
- package/dist/chunks/{pty-r8xr0va3.js → websearch-1acjjqhc.js} +4 -4
- package/dist/chunks/websearch-1bap58cs.js +170 -0
- package/dist/chunks/{pty-1bbkgx8g.js → websearch-1bbkgx8g.js} +1 -1
- package/dist/chunks/{pty-7yp3q20c.js → websearch-1beypass.js} +41 -41
- package/dist/chunks/{pty-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-8nf61fqw.js → websearch-1dp8ya78.js} +7 -7
- package/dist/chunks/{pty-r88ayxsh.js → websearch-1fg3m0m4.js} +5 -5
- package/dist/chunks/{pty-hd29wc17.js → websearch-1vtz46z8.js} +8 -8
- package/dist/chunks/{pty-1ygqh575.js → websearch-1ygqh575.js} +2 -2
- package/dist/chunks/{pty-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{pty-fn71bqeg.js → websearch-22rg0kdw.js} +18 -18
- package/dist/chunks/{pty-aep6w25k.js → websearch-23zqh2z9.js} +18 -18
- package/dist/chunks/{pty-2402vzrj.js → websearch-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-d4p8tyg8.js → websearch-27bs3zk6.js} +5 -5
- package/dist/chunks/{pty-z63w68vq.js → websearch-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-vednfjt6.js → websearch-2a7rymj9.js} +4 -4
- package/dist/chunks/{pty-11qx6zpw.js → websearch-2hy8qd7w.js} +41 -41
- package/dist/chunks/{pty-d801t9mc.js → websearch-2jj0jrzx.js} +22 -22
- package/dist/chunks/{pty-k4wwmme7.js → websearch-2n295dmf.js} +8 -8
- package/dist/chunks/{pty-qyxb3rgr.js → websearch-2nyzx5hd.js} +33 -33
- package/dist/chunks/{pty-nnvetb0x.js → websearch-2qkxzrz5.js} +11 -11
- package/dist/chunks/{pty-9b90cabz.js → websearch-30724mc5.js} +11 -11
- package/dist/chunks/{pty-6532tvj7.js → websearch-34945060.js} +12 -12
- package/dist/chunks/{pty-2drds6a2.js → websearch-34gdt06v.js} +2 -2
- package/dist/chunks/{pty-vbzxk3ff.js → websearch-34p8a4j8.js} +11 -11
- package/dist/chunks/{pty-0td8n8vp.js → websearch-392nwaxk.js} +17 -17
- package/dist/chunks/{pty-9e0z2fhc.js → websearch-3czyavq2.js} +9 -9
- package/dist/chunks/{pty-rx9j2q4y.js → websearch-3h11gepz.js} +9 -9
- package/dist/chunks/{pty-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-jnyfd4gm.js → websearch-3hf7z3yq.js} +11 -11
- package/dist/chunks/{pty-b3t12aqp.js → websearch-3jp54z3r.js} +1 -1
- package/dist/chunks/{pty-nkscrdhp.js → websearch-3p7b386r.js} +6 -6
- package/dist/chunks/{pty-yj3bp0fe.js → websearch-3s0336h2.js} +25 -25
- package/dist/chunks/{pty-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3ythc6yv.js → websearch-3ythc6yv.js} +1 -1
- package/dist/chunks/{pty-cyxdd1cp.js → websearch-425cn146.js} +56 -56
- package/dist/chunks/{pty-n4m74tcd.js → websearch-44pzkzbe.js} +13 -13
- package/dist/chunks/{pty-4w0n3ep9.js → websearch-46pzsp2w.js} +27 -27
- package/dist/chunks/{pty-brbfzzmd.js → websearch-4fre1sw0.js} +17 -17
- package/dist/chunks/{pty-bahtkn95.js → websearch-4y2184wc.js} +16 -16
- package/dist/chunks/{pty-0ajdgxne.js → websearch-4y66k410.js} +5 -5
- package/dist/chunks/{pty-h7m0p69y.js → websearch-53bb7m18.js} +10 -10
- package/dist/chunks/{pty-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-zftpq6gn.js → websearch-5dc1cckg.js} +13 -13
- package/dist/chunks/{pty-jmn8yr3h.js → websearch-5k9htkrd.js} +25 -25
- package/dist/chunks/{pty-w0vnt3w8.js → websearch-5sa7xthx.js} +11 -11
- package/dist/chunks/{pty-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-7w5wmfhw.js → websearch-5xfgd4tj.js} +8 -8
- package/dist/chunks/{pty-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{pty-mnbh32fx.js → websearch-6d6xcght.js} +6 -6
- package/dist/chunks/{pty-s9zga7k6.js → websearch-6epdn2bt.js} +19 -19
- package/dist/chunks/{pty-w3vr4dnx.js → websearch-6kbfcphw.js} +47 -47
- package/dist/chunks/{pty-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-g646es06.js → websearch-6n50k4gd.js} +12 -12
- package/dist/chunks/{pty-s1a57xgp.js → websearch-6qrsjhc9.js} +1 -1
- package/dist/chunks/{pty-mjymc32g.js → websearch-6sr3ve8g.js} +21 -21
- package/dist/chunks/{pty-fnvmrkhd.js → websearch-7015eamg.js} +3 -3
- package/dist/chunks/{pty-71q4at8m.js → websearch-71q4at8m.js} +1 -1
- package/dist/chunks/{pty-88k2vggc.js → websearch-71t2waba.js} +11 -11
- package/dist/chunks/{pty-77nagcj1.js → websearch-737983wq.js} +4 -4
- package/dist/chunks/{pty-2kze3sed.js → websearch-749w85ht.js} +11 -11
- package/dist/chunks/{pty-ns15zm60.js → websearch-770exhkv.js} +6 -6
- package/dist/chunks/{pty-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-qgn6gcr1.js → websearch-7dqw4kz8.js} +5 -5
- package/dist/chunks/{pty-9fgn877f.js → websearch-7e9mmnrs.js} +17 -17
- package/dist/chunks/{pty-hde40vmr.js → websearch-7k8v9e10.js} +30 -30
- package/dist/chunks/{pty-t3w9f47z.js → websearch-7nm1v87f.js} +1 -1
- package/dist/chunks/{pty-nw3t2cyt.js → websearch-7nz6bfr7.js} +18 -18
- package/dist/chunks/{pty-81swgkk7.js → websearch-81swgkk7.js} +2 -2
- package/dist/chunks/{pty-m77xbvte.js → websearch-86w90e4b.js} +87 -87
- package/dist/chunks/{pty-3esrdmkk.js → websearch-8by0fez5.js} +34 -34
- package/dist/chunks/{pty-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-mgtytz9t.js → websearch-8f26vzsk.js} +3 -3
- package/dist/chunks/{pty-c20cpmqm.js → websearch-8kj2ryp0.js} +5 -5
- package/dist/chunks/{pty-18r19y7d.js → websearch-8ncz32bb.js} +14 -14
- package/dist/chunks/{pty-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-wjsewdbp.js → websearch-8q7nqemf.js} +6 -6
- package/dist/chunks/websearch-8tzv257v.js +22 -0
- package/dist/chunks/{pty-c0g3mrmp.js → websearch-913kkr4a.js} +4 -4
- package/dist/chunks/{pty-2a010xm9.js → websearch-92q9m6v7.js} +4 -4
- package/dist/chunks/{pty-b0grxa7w.js → websearch-94s48bjb.js} +5 -5
- package/dist/chunks/{pty-9v9vhtqj.js → websearch-96944qvb.js} +84 -84
- package/dist/chunks/{pty-cmceympy.js → websearch-96nhex2k.js} +9 -9
- package/dist/chunks/{pty-gzcsr6sv.js → websearch-9drxqmrc.js} +29 -29
- package/dist/chunks/{pty-ge2ncj9q.js → websearch-9jbtaq45.js} +20 -20
- package/dist/chunks/{pty-x7ns4d9a.js → websearch-9kbwcx6p.js} +52 -52
- package/dist/chunks/{pty-4tty76jr.js → websearch-9q5fzp3r.js} +32 -32
- package/dist/chunks/{pty-x8efcx2v.js → websearch-9s9gky82.js} +37 -37
- package/dist/chunks/{pty-fv7vkzc0.js → websearch-9y1ym1xd.js} +32 -32
- package/dist/chunks/{pty-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-apnw61nd.js → websearch-a3tyt3nb.js} +3 -3
- package/dist/chunks/{pty-a5gt7g2r.js → websearch-a5gt7g2r.js} +2 -2
- package/dist/chunks/{pty-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-4wn8n9sn.js → websearch-afs477w8.js} +9 -9
- package/dist/chunks/{pty-0nrybmqd.js → websearch-ak2jpmmk.js} +9 -9
- package/dist/chunks/{pty-n37c4crj.js → websearch-b4s8ej7r.js} +2 -2
- package/dist/chunks/{pty-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-qygybdk4.js → websearch-bjhqr9aw.js} +10 -10
- package/dist/chunks/{pty-2bek0fz1.js → websearch-bp8cq5c4.js} +12 -12
- package/dist/chunks/{pty-wsd4t4dw.js → websearch-bt9grr5a.js} +11 -11
- package/dist/chunks/{pty-2akhs850.js → websearch-bvkp99y7.js} +11 -11
- package/dist/chunks/{pty-qzgv9fd5.js → websearch-bxvdfqxe.js} +15 -15
- package/dist/chunks/{pty-zr1b15nt.js → websearch-bxytjdj3.js} +7 -7
- package/dist/chunks/websearch-by5v678g.js +18 -0
- package/dist/chunks/{pty-r9abkved.js → websearch-byjpa77t.js} +24 -24
- package/dist/chunks/{pty-7ey0dyp0.js → websearch-c3m6azwz.js} +35 -35
- package/dist/chunks/{pty-tph7kmz7.js → websearch-c9mqxpdr.js} +6 -6
- package/dist/chunks/{pty-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-2kbb5zhh.js → websearch-cg25rz5t.js} +18 -18
- package/dist/chunks/{pty-j71f32vt.js → websearch-chzcthkq.js} +11 -11
- package/dist/chunks/{pty-t99v83jx.js → websearch-cjskv54g.js} +8 -8
- package/dist/chunks/{pty-5c0f1prt.js → websearch-csf2jhsg.js} +4 -4
- package/dist/chunks/{pty-6wfk2szc.js → websearch-d6110kr6.js} +23 -23
- package/dist/chunks/{pty-ht1qtvc3.js → websearch-d6fcepcv.js} +7 -7
- package/dist/chunks/{pty-1t6v7t1p.js → websearch-dhedpxax.js} +15 -15
- package/dist/chunks/{pty-gzq6qehx.js → websearch-dhq46et7.js} +23 -23
- package/dist/chunks/{pty-st8jmgs2.js → websearch-dhs2fgcq.js} +20 -20
- package/dist/chunks/{pty-s1k0znnr.js → websearch-dqvm81nv.js} +37 -37
- package/dist/chunks/{pty-a6xvd2sc.js → websearch-dt5qd2kd.js} +20 -20
- package/dist/chunks/{pty-cmwkp3r5.js → websearch-dv1qgsyq.js} +8 -8
- package/dist/chunks/{pty-j1jpgbqt.js → websearch-dw8cbckb.js} +4 -4
- package/dist/chunks/{pty-pmvrcxp3.js → websearch-e2164zrv.js} +291 -291
- package/dist/chunks/{pty-mehhkwtb.js → websearch-e4qhddfc.js} +8 -8
- package/dist/chunks/{pty-jg24vk6e.js → websearch-e8dm1crz.js} +5 -5
- package/dist/chunks/{pty-vkkm3dp3.js → websearch-e8he1v8f.js} +19 -19
- package/dist/chunks/{pty-8rqsbye2.js → websearch-ebh8b152.js} +26 -26
- package/dist/chunks/{pty-v62dx6xs.js → websearch-ec88nqh8.js} +4 -4
- package/dist/chunks/{pty-sj6g8xhe.js → websearch-ef8x10ky.js} +15 -15
- package/dist/chunks/{pty-tz7qhazt.js → websearch-em6xe1nh.js} +17 -17
- package/dist/chunks/{pty-hfdr1yjj.js → websearch-epd1fg1b.js} +4 -4
- package/dist/chunks/{pty-y9ech7jt.js → websearch-epzjjzhh.js} +17 -17
- package/dist/chunks/{pty-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-3tn94wys.js → websearch-ewdynff8.js} +36 -36
- package/dist/chunks/{pty-3nvk9ben.js → websearch-f1a176w2.js} +4 -4
- package/dist/chunks/{pty-g2twwaw3.js → websearch-f415yte9.js} +9 -9
- package/dist/chunks/{pty-f828m53h.js → websearch-f828m53h.js} +2 -2
- package/dist/chunks/{pty-d55k3a02.js → websearch-fampkq6j.js} +27 -27
- package/dist/chunks/{pty-fhs97t90.js → websearch-fhs97t90.js} +2 -2
- package/dist/chunks/{pty-m01vtssh.js → websearch-fm1vrtk7.js} +10 -10
- package/dist/chunks/{pty-cs7ja426.js → websearch-frbkyvnf.js} +67 -67
- package/dist/chunks/{pty-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-3fc6dm20.js → websearch-gdvy8fx6.js} +4 -4
- package/dist/chunks/{pty-3dqftnvs.js → websearch-getpgx4e.js} +1 -1
- package/dist/chunks/{pty-etyswav2.js → websearch-ghbz8b16.js} +12 -12
- package/dist/chunks/{pty-r2qzv5a7.js → websearch-ghwfv39v.js} +12 -7
- package/dist/chunks/{pty-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-bpzbj5p0.js → websearch-gyephz3k.js} +9 -9
- package/dist/chunks/{pty-1fh16wq8.js → websearch-gyppx53v.js} +3 -3
- package/dist/chunks/{pty-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-geymd4gz.js → websearch-h9818f4s.js} +14 -14
- package/dist/chunks/{pty-wfdn8615.js → websearch-ha5pt3jd.js} +20 -20
- package/dist/chunks/{pty-sxw0ed71.js → websearch-hcdx47dt.js} +26 -26
- package/dist/chunks/{pty-3az9pvaz.js → websearch-hhqmne4z.js} +16 -16
- package/dist/chunks/{pty-dedzq1ka.js → websearch-hhxs1qhb.js} +41 -41
- package/dist/chunks/{pty-x4wsccvh.js → websearch-hjt4xg1x.js} +4 -4
- package/dist/chunks/{pty-qn4ba14w.js → websearch-hnr5yq9h.js} +5 -5
- package/dist/chunks/websearch-hr9dp009.js +4 -0
- package/dist/chunks/{pty-pd1qwn8m.js → websearch-htcxgdj2.js} +23 -23
- package/dist/chunks/{pty-0953varj.js → websearch-httkxj35.js} +46 -46
- package/dist/chunks/{pty-gw1k03mf.js → websearch-hvtrc2sr.js} +13 -13
- package/dist/chunks/{pty-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-jexxy024.js → websearch-j7wq2tw5.js} +3 -3
- package/dist/chunks/{pty-vm26s0dq.js → websearch-j86bmkp1.js} +26 -26
- package/dist/chunks/{pty-paphc93g.js → websearch-j935v87r.js} +2 -2
- package/dist/chunks/{pty-7ae90jyv.js → websearch-jeha92wd.js} +2 -2
- package/dist/chunks/{pty-8kyaadyc.js → websearch-jr6636kp.js} +4 -4
- package/dist/chunks/{pty-dpkg50ah.js → websearch-jwcy2c2z.js} +4 -4
- package/dist/chunks/{pty-2ta0t88y.js → websearch-k2dx91xy.js} +20 -20
- package/dist/chunks/{pty-g3xj57nv.js → websearch-k4dxn3tz.js} +24 -24
- package/dist/chunks/{pty-tv8e1ghk.js → websearch-k957qxjd.js} +19 -19
- package/dist/chunks/{pty-eymhvwwk.js → websearch-kc2bkjx5.js} +13 -13
- package/dist/chunks/{pty-kg06axw8.js → websearch-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-bgcsb0ew.js → websearch-kjw20jdv.js} +18 -18
- package/dist/chunks/{pty-p5d32tz9.js → websearch-m3eqw2jv.js} +24 -24
- package/dist/chunks/{pty-kmy1ax01.js → websearch-m5rzwcrv.js} +10 -10
- package/dist/chunks/{pty-63sp6hdr.js → websearch-m89ner95.js} +17 -17
- package/dist/chunks/{pty-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-0ra4p3k2.js → websearch-mkq9nyfe.js} +45 -44
- package/dist/chunks/{pty-newyp0rw.js → websearch-nf90hs02.js} +6 -6
- package/dist/chunks/{pty-z599ng88.js → websearch-ngyp0d6y.js} +6 -6
- package/dist/chunks/websearch-nw6xasnj.js +247 -0
- package/dist/chunks/{pty-vkgkjc09.js → websearch-nx2bgdkf.js} +29 -29
- package/dist/chunks/{pty-4541pte3.js → websearch-p57dvf2n.js} +6 -6
- package/dist/chunks/{pty-5n7nm18q.js → websearch-p7dkzcqc.js} +31 -31
- package/dist/chunks/{pty-hgrjhmfr.js → websearch-ph9094mn.js} +11 -11
- package/dist/chunks/{pty-5ftnf5hj.js → websearch-phmd9p91.js} +17 -17
- package/dist/chunks/{pty-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{pty-yjy4g1rw.js → websearch-pmrvp5wn.js} +29 -29
- package/dist/chunks/{pty-faw67snb.js → websearch-pydkb24f.js} +34 -34
- package/dist/chunks/{pty-yfs8r58s.js → websearch-q4bsck8j.js} +20 -20
- package/dist/chunks/{pty-jqy04vj9.js → websearch-qcr6qbh4.js} +20 -20
- package/dist/chunks/{pty-3dzkcghm.js → websearch-qcyrxr4s.js} +28 -28
- package/dist/chunks/{pty-jp3k4seg.js → websearch-qh8r3z2c.js} +13 -13
- package/dist/chunks/{pty-em649qsx.js → websearch-qmb0hbq7.js} +15 -15
- package/dist/chunks/{pty-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-1f2zrtgd.js → websearch-r2qgbzqp.js} +28 -28
- package/dist/chunks/{pty-r9mregkx.js → websearch-r9mregkx.js} +2 -2
- package/dist/chunks/{pty-rph3zd4r.js → websearch-rph3zd4r.js} +1 -1
- package/dist/chunks/{pty-arf9772r.js → websearch-rwvtw2qe.js} +13 -13
- package/dist/chunks/{pty-j6frpzgk.js → websearch-ry126eqe.js} +20 -20
- package/dist/chunks/{pty-45vpyk18.js → websearch-s1bfjgj9.js} +55 -55
- package/dist/chunks/{pty-yrznvahk.js → websearch-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-h7p7r1dx.js → websearch-s5etbs5z.js} +24 -24
- package/dist/chunks/{pty-b5ybn7cd.js → websearch-s9d09hn2.js} +15 -15
- package/dist/chunks/{pty-byprkm3h.js → websearch-skrwk90v.js} +47 -47
- package/dist/chunks/{pty-8yrxd28w.js → websearch-spqyc52r.js} +9 -9
- package/dist/chunks/{pty-a1a50ys5.js → websearch-sra9araw.js} +5 -5
- package/dist/chunks/{pty-q5asdkn4.js → websearch-t7n9q6bq.js} +4 -4
- package/dist/chunks/{pty-v71xcev7.js → websearch-ta3enh0y.js} +1 -1
- package/dist/chunks/{pty-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-89znhe33.js → websearch-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{pty-evbgk2k8.js → websearch-tn0aqsam.js} +5 -5
- package/dist/chunks/{pty-9fhqnxhc.js → websearch-tp6b6835.js} +22 -22
- package/dist/chunks/{pty-ras7gexc.js → websearch-tq4vh0cn.js} +5 -5
- package/dist/chunks/{pty-t6jsq5az.js → websearch-tqmqc943.js} +10 -10
- package/dist/chunks/{pty-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-14ahvy0s.js → websearch-tx0mr2zc.js} +16 -16
- package/dist/chunks/{pty-y28xdhk3.js → websearch-tx9qvpbt.js} +6 -6
- package/dist/chunks/{pty-0647zyye.js → websearch-v37c0btw.js} +23 -23
- package/dist/chunks/{pty-wb96fp8p.js → websearch-v3f306tg.js} +17 -17
- package/dist/chunks/{pty-411gfsap.js → websearch-vc4s583k.js} +18 -18
- package/dist/chunks/{pty-drknmmyh.js → websearch-vdnmb5h5.js} +9 -9
- package/dist/chunks/{pty-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-1n1j5phf.js → websearch-vjm2gha0.js} +1 -1
- package/dist/chunks/{pty-dy8qh9xy.js → websearch-vkt5fbj2.js} +8 -8
- package/dist/chunks/{pty-bct739vz.js → websearch-vncycja5.js} +4 -4
- package/dist/chunks/{pty-nt6p7phb.js → websearch-vnzp83eb.js} +37 -37
- package/dist/chunks/{pty-ndm8q3nx.js → websearch-vpbm37g3.js} +23 -23
- package/dist/chunks/{pty-ecrv93z9.js → websearch-vvccsdf3.js} +6 -6
- package/dist/chunks/{pty-45796egf.js → websearch-vx5jxt0n.js} +1 -1
- package/dist/chunks/{pty-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-jtanr3ta.js → websearch-w1jw08gg.js} +160 -160
- package/dist/chunks/{pty-gdmgw3kk.js → websearch-w3azyy0p.js} +11 -11
- package/dist/chunks/{pty-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-btvz5hhj.js → websearch-w73qfjrr.js} +6 -6
- package/dist/chunks/{pty-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{pty-6z42be60.js → websearch-wg28sfba.js} +6 -6
- package/dist/chunks/{pty-1qdmrsyh.js → websearch-wgjw9q45.js} +14 -14
- package/dist/chunks/{pty-yttnsetk.js → websearch-wha86atx.js} +8 -8
- package/dist/chunks/{pty-r4x5wh38.js → websearch-wvtn21wb.js} +12 -12
- package/dist/chunks/{pty-yt9d908j.js → websearch-wx8n6yrs.js} +14 -14
- package/dist/chunks/{pty-ea3fqg3s.js → websearch-wym29fwy.js} +15 -15
- package/dist/chunks/{pty-txmfp3zj.js → websearch-x09k08s8.js} +28 -28
- package/dist/chunks/{pty-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-xfqxjp11.js → websearch-xb5qry8h.js} +27 -27
- package/dist/chunks/{pty-a3r4dcrj.js → websearch-xg9t41r3.js} +2 -2
- package/dist/chunks/{pty-9vwx9k7w.js → websearch-xzmaqxd1.js} +17 -17
- package/dist/chunks/{pty-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-9edcvf27.js → websearch-y7gn77t5.js} +9 -9
- package/dist/chunks/{pty-fjnewxg5.js → websearch-ycrqyr1k.js} +22 -22
- package/dist/chunks/{pty-jfaxz2yb.js → websearch-yq45397g.js} +32 -32
- package/dist/chunks/{pty-yvykdhx6.js → websearch-yq577anv.js} +25 -25
- package/dist/chunks/{pty-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-32wbc79b.js → websearch-ywmedxr3.js} +11 -11
- package/dist/chunks/{pty-fhmdnm6f.js → websearch-yynvhz1s.js} +46 -46
- package/dist/chunks/{pty-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-45rd5fs9.js → websearch-z31hh3ha.js} +32 -32
- package/dist/chunks/{pty-tya93gxg.js → websearch-z9ecnefr.js} +13 -13
- package/dist/chunks/{pty-d8qmdhbf.js → websearch-zdw14ag8.js} +6 -6
- package/dist/chunks/{pty-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +71 -71
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +5 -5
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +79 -79
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +78 -78
- package/dist/provider.js +7 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +87 -87
- 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 +118 -118
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/aisdk-native.d.ts +4 -2
- package/dist/types/provider.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/pty-1r48vspq.js +0 -247
- package/dist/chunks/pty-1tm0r3ht.js +0 -4
- package/dist/chunks/pty-1x11rq2a.js +0 -18
- package/dist/chunks/pty-axgp0vgr.js +0 -22
- package/dist/chunks/pty-rzxn8jq1.js +0 -343
- /package/dist/chunks/{pty-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
8
|
+
Service78,
|
|
9
9
|
node82
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-y7gn77t5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service76,
|
|
13
13
|
node80
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-bvkp99y7.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service38,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service38 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID3.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node42 = makeLocationNode({
|
|
139
|
+
service: Service38,
|
|
140
140
|
layer,
|
|
141
141
|
deps: [FSUtil.node, node82, Global.node, node80]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer2 = Layer.succeed(
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID3, Error3, Service38, node42, noopLayer2, exports_snapshot2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-y7gn77t5.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service80,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-8ncz32bb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./websearch-s9d09hn2.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./websearch-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./websearch-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
Service76,
|
|
30
30
|
node80
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-bvkp99y7.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./websearch-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make12
|
|
38
|
+
} from "./websearch-wha86atx.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./websearch-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./websearch-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event5,
|
|
53
|
+
Info: () => Info4,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service20,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node24
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info4 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event5 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service20 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make12;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service20.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,8 +269,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node24 = makeLocationNode({
|
|
273
|
+
service: Service20,
|
|
274
274
|
layer,
|
|
275
275
|
deps: [FSUtil.node, node82, node83, node84, AppProcess.node, node80, Global.node]
|
|
276
276
|
});
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service20, node24, exports_worktree2, OperationError2 };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make18,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-0gdmqesm.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-s1bfjgj9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service32,
|
|
13
|
+
node37
|
|
14
|
+
} from "./websearch-9kbwcx6p.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name13
|
|
18
|
+
} from "./websearch-d6110kr6.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./websearch-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions3 = {};
|
|
25
25
|
__export(exports_instructions3, {
|
|
26
26
|
McpInstructions: () => exports_instructions3,
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
27
|
+
Service: () => Service29,
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service29 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service32;
|
|
69
|
+
return Service29.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make18({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node34 = makeLocationNode({ service: Service29, layer: layer12, deps: [node37] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service29, layer12, node34, exports_instructions3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-s9d09hn2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-s1bfjgj9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -18,15 +18,15 @@ __export(exports_skill5, {
|
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event7,
|
|
21
|
-
ID: () =>
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service39,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -40,7 +40,7 @@ var UrlSource2 = Skill.UrlSource;
|
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
42
|
var Info6 = Skill.Info;
|
|
43
|
-
var
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service39 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service39.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node43 = makeLocationNode({
|
|
112
|
+
service: Service39,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node83]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available2, toModelOutput3, prepare3, Service39, node43, exports_skill5, Event7 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-8ncz32bb.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node79
|
|
12
|
+
} from "./websearch-6d6xcght.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service75,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info30 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info18 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service75 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service75,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node84,
|
|
64
|
+
deps: [node84, node79]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info30({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service75.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node78 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info30, NotFound3, CreateConflict2, Service75, configured10, node78, exports_workspace };
|