@opencode/core 0.0.0-dev-21112 → 0.0.0-dev-21115
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{job-y5rf7nzv.js → filesystem-0br3sbwn.js} +4 -4
- package/dist/chunks/{job-ygdna4kr.js → filesystem-0bwnrbmb.js} +5 -5
- package/dist/chunks/{job-mccdgat0.js → filesystem-0hggy7w0.js} +7 -7
- package/dist/chunks/{job-d38556p2.js → filesystem-0ptcjm3n.js} +31 -31
- package/dist/chunks/{job-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{job-ck327ev6.js → filesystem-17dj978g.js} +13 -13
- package/dist/chunks/{job-bvd5z42w.js → filesystem-19skgejj.js} +33 -33
- package/dist/chunks/{job-r8xr0va3.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{job-kq1kh5hf.js → filesystem-1h7vnna9.js} +26 -26
- package/dist/chunks/{job-jhc0stxs.js → filesystem-1hvznjfa.js} +8 -8
- package/dist/chunks/{job-81q2xnhg.js → filesystem-21zphryg.js} +20 -20
- package/dist/chunks/{job-swymws4c.js → filesystem-28g3h2p9.js} +18 -18
- package/dist/chunks/{job-dxxdd5gf.js → filesystem-29890e08.js} +11 -11
- package/dist/chunks/{job-8kvx9d9a.js → filesystem-2b90fqtz.js} +25 -25
- package/dist/chunks/{job-1y283654.js → filesystem-2k71kv7p.js} +4 -4
- package/dist/chunks/{job-wg81ww38.js → filesystem-2ryng5r3.js} +4 -4
- package/dist/chunks/{job-9r4f3n38.js → filesystem-2skmtqcp.js} +40 -40
- package/dist/chunks/{job-9cememrc.js → filesystem-2tba787a.js} +13 -13
- package/dist/chunks/{job-hfqcc610.js → filesystem-31tn9gew.js} +1 -1
- package/dist/chunks/{job-31xfzrxg.js → filesystem-31xfzrxg.js} +2 -2
- package/dist/chunks/{job-vmc6r1cj.js → filesystem-36sqq72v.js} +13 -13
- package/dist/chunks/{job-v3xkyz7p.js → filesystem-3b7fp0n4.js} +29 -29
- package/dist/chunks/{job-9csbzq3k.js → filesystem-3cdadc0g.js} +331 -331
- package/dist/chunks/{job-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-xt4njr3s.js → filesystem-3g8j9he4.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
- package/dist/chunks/{job-p5jqnpch.js → filesystem-3jht15wj.js} +5 -5
- package/dist/chunks/{job-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-hmf5dsnm.js → filesystem-3yjxsfxn.js} +11 -11
- package/dist/chunks/{job-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-2358bwaq.js → filesystem-47hh6670.js} +43 -43
- package/dist/chunks/{job-pe2b4pg4.js → filesystem-4jr2t3r5.js} +19 -19
- package/dist/chunks/{job-wk5z6jzv.js → filesystem-4nj4bn9q.js} +5 -5
- package/dist/chunks/{job-42g932k2.js → filesystem-4nram3bh.js} +34 -34
- package/dist/chunks/{job-rcph0yae.js → filesystem-4pg70dfd.js} +17 -17
- package/dist/chunks/{job-0qyq0657.js → filesystem-4qsm04pf.js} +11 -11
- package/dist/chunks/{job-98h8vcmf.js → filesystem-4qv1jwt6.js} +15 -15
- package/dist/chunks/{job-jk42ka2z.js → filesystem-50mm2e4j.js} +13 -13
- package/dist/chunks/{job-8tayx2nk.js → filesystem-52tysmw0.js} +4 -4
- package/dist/chunks/{job-nxm9x0fe.js → filesystem-54e3zbs2.js} +37 -37
- package/dist/chunks/{job-0wjm486e.js → filesystem-54e68rcj.js} +17 -17
- package/dist/chunks/{job-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/filesystem-5c3dk14k.js +257 -0
- package/dist/chunks/{job-1pxz8ven.js → filesystem-5fykfdj7.js} +5 -5
- package/dist/chunks/{job-nz36rv7r.js → filesystem-5g0r8mw0.js} +75 -75
- package/dist/chunks/{job-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{job-5f78e0bk.js → filesystem-5mbhh97n.js} +15 -15
- package/dist/chunks/{job-cs1fz2ym.js → filesystem-5spw73f5.js} +33 -33
- package/dist/chunks/{job-yn9v0zkv.js → filesystem-5yah39qj.js} +14 -14
- package/dist/chunks/{job-1dxcywt8.js → filesystem-6195sx0d.js} +1 -1
- package/dist/chunks/{job-5802gy43.js → filesystem-6d555efv.js} +12 -12
- package/dist/chunks/{job-dp9jtaaz.js → filesystem-6dft0n0z.js} +13 -13
- package/dist/chunks/{job-rkprpv83.js → filesystem-6pc27hjz.js} +6 -6
- package/dist/chunks/{job-s1f6gdw2.js → filesystem-6rn9tjsv.js} +19 -19
- package/dist/chunks/{job-r21rn0zz.js → filesystem-6v1na7aa.js} +19 -19
- package/dist/chunks/{job-4meka6v1.js → filesystem-6vfdg03v.js} +92 -92
- package/dist/chunks/{job-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
- package/dist/chunks/{job-waj06c1d.js → filesystem-6xpza5js.js} +14 -14
- package/dist/chunks/{job-tx9w5tca.js → filesystem-73kdj4zj.js} +8 -8
- package/dist/chunks/{job-67690ebn.js → filesystem-7411t0rb.js} +23 -23
- package/dist/chunks/{job-775gj3j1.js → filesystem-775gj3j1.js} +2 -2
- package/dist/chunks/{job-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-yfq0f3ty.js → filesystem-7bmsykhc.js} +5 -5
- package/dist/chunks/{job-xh9n323v.js → filesystem-7tn6cq86.js} +10 -10
- package/dist/chunks/{job-44nt178b.js → filesystem-7ttm26fm.js} +39 -39
- package/dist/chunks/{job-fwb3fm18.js → filesystem-7twy6p59.js} +33 -33
- package/dist/chunks/{job-ez6t5hx2.js → filesystem-7tyngnxg.js} +23 -23
- package/dist/chunks/{job-kq0z1tjb.js → filesystem-7y32s7nh.js} +11 -11
- package/dist/chunks/{job-ay56yawg.js → filesystem-82dp36an.js} +30 -30
- package/dist/chunks/{job-w1eejvng.js → filesystem-84txncab.js} +5 -5
- package/dist/chunks/{job-t2rny1q8.js → filesystem-8860rs9w.js} +29 -29
- package/dist/chunks/{job-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{job-3k0ta86q.js → filesystem-8g8s565e.js} +16 -16
- package/dist/chunks/{job-2395y7e1.js → filesystem-8jrs9qj5.js} +8 -8
- package/dist/chunks/{job-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
- package/dist/chunks/{job-pt1ss6jy.js → filesystem-8n9x2wf6.js} +3 -3
- package/dist/chunks/{job-t8gxprjd.js → filesystem-90441yjw.js} +31 -31
- package/dist/chunks/{job-91qna3x0.js → filesystem-91qna3x0.js} +3 -3
- package/dist/chunks/{job-eqdqwaa8.js → filesystem-94ggxbym.js} +8 -8
- package/dist/chunks/{job-3bbkcze6.js → filesystem-9530x2tr.js} +28 -28
- package/dist/chunks/{job-gp792ppf.js → filesystem-9b791780.js} +21 -21
- package/dist/chunks/{job-xxa9ptsg.js → filesystem-9gym5b9t.js} +8 -8
- package/dist/chunks/{job-x2prm6ae.js → filesystem-9hvksth9.js} +4 -4
- package/dist/chunks/{job-744z4pjx.js → filesystem-9rd6b9g5.js} +11 -11
- package/dist/chunks/{job-tqa9g821.js → filesystem-9s1sgp6t.js} +10 -10
- package/dist/chunks/{job-6v23mrsw.js → filesystem-a5rre0n2.js} +11 -11
- package/dist/chunks/{job-er2q2s93.js → filesystem-aacha31a.js} +12 -12
- package/dist/chunks/{job-08zhq3v6.js → filesystem-ae3qby2d.js} +3 -3
- package/dist/chunks/{job-qvb3nf84.js → filesystem-ahd542yp.js} +8 -8
- package/dist/chunks/{job-pa6wp5yh.js → filesystem-am46xzge.js} +16 -16
- package/dist/chunks/{job-zv29qtws.js → filesystem-aq1qqrws.js} +8 -8
- package/dist/chunks/{job-8a0tbawn.js → filesystem-aqcmm3nt.js} +17 -17
- package/dist/chunks/{job-hk4kyacq.js → filesystem-arhbgn6d.js} +23 -23
- package/dist/chunks/{job-rkx677gg.js → filesystem-avxg4bz6.js} +5 -5
- package/dist/chunks/{job-fn5wdjwd.js → filesystem-b13z9rmw.js} +6 -6
- package/dist/chunks/{job-6n5tmcsn.js → filesystem-b56cbvtn.js} +24 -24
- package/dist/chunks/{job-0w52vqev.js → filesystem-b8f4q0tg.js} +2 -2
- package/dist/chunks/{job-faj2svbs.js → filesystem-bdm4x938.js} +9 -9
- package/dist/chunks/{job-zqy5zsvc.js → filesystem-bdttsgpp.js} +8 -8
- package/dist/chunks/{job-m8cz1ghn.js → filesystem-bgqqx5zr.js} +11 -11
- package/dist/chunks/{job-ywt8jp22.js → filesystem-bjx1sjef.js} +9 -9
- package/dist/chunks/{job-tsrjfj85.js → filesystem-bken5pff.js} +8 -8
- package/dist/chunks/{job-1bfrgapb.js → filesystem-bmd3gdvw.js} +12 -12
- package/dist/chunks/{job-f5r4rnzc.js → filesystem-bq69xjnm.js} +14 -14
- package/dist/chunks/{job-tfskcm3z.js → filesystem-c3whw6mq.js} +49 -49
- package/dist/chunks/{job-rj3eygr5.js → filesystem-c41wscbt.js} +2 -2
- package/dist/chunks/{job-rm21d51n.js → filesystem-c4n1rcnv.js} +5 -5
- package/dist/chunks/{job-6cav1d9v.js → filesystem-c5ar4wn8.js} +33 -33
- package/dist/chunks/{job-da185en6.js → filesystem-c653ykz4.js} +9 -9
- package/dist/chunks/{job-sa8ekw3f.js → filesystem-c8ax2afj.js} +2 -2
- package/dist/chunks/{job-gdc55jvc.js → filesystem-cctqj699.js} +4 -4
- package/dist/chunks/{job-p6y63wrz.js → filesystem-cgywp1fk.js} +4 -4
- package/dist/chunks/{job-s2navjnm.js → filesystem-ck0axc3h.js} +21 -21
- package/dist/chunks/{job-33a8026s.js → filesystem-cnt075nt.js} +6 -6
- package/dist/chunks/{job-k0qzeszc.js → filesystem-cnz0t7gv.js} +50 -50
- package/dist/chunks/{job-cwa6csj7.js → filesystem-d4he2qe1.js} +9 -9
- package/dist/chunks/{job-m9n427xj.js → filesystem-d5v0ynkb.js} +23 -23
- package/dist/chunks/{job-nd4tfyg0.js → filesystem-d7x0sh0y.js} +9 -9
- package/dist/chunks/{job-ad1gt5z6.js → filesystem-d9zk1kzb.js} +12 -12
- package/dist/chunks/{job-6ek5mamz.js → filesystem-dm9jh1jc.js} +4 -4
- package/dist/chunks/{job-6f203fky.js → filesystem-dpe3qaa2.js} +21 -21
- package/dist/chunks/{job-y71avatq.js → filesystem-dpkg50ah.js} +4 -4
- package/dist/chunks/{job-dqxsqydv.js → filesystem-dqxsqydv.js} +1 -1
- package/dist/chunks/{job-drwq78ky.js → filesystem-drwq78ky.js} +1 -1
- package/dist/chunks/{job-ye9cngvp.js → filesystem-e3bjvath.js} +313 -313
- package/dist/chunks/{job-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
- package/dist/chunks/{job-jxty7jvr.js → filesystem-ef4sbe81.js} +13 -13
- package/dist/chunks/{job-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-pc0k0p8h.js → filesystem-egxbfeba.js} +13 -13
- package/dist/chunks/{job-c1fqxshp.js → filesystem-es1vcfrp.js} +3 -3
- package/dist/chunks/{job-2txft6xz.js → filesystem-eshq8zc9.js} +29 -29
- package/dist/chunks/{job-zvy6w0zs.js → filesystem-exd3eysm.js} +6 -6
- package/dist/chunks/{job-rzcz91ek.js → filesystem-ezj8x98p.js} +22 -22
- package/dist/chunks/{job-afdssyjb.js → filesystem-f73rjn58.js} +4 -4
- package/dist/chunks/{job-fcy631f0.js → filesystem-fcy631f0.js} +1 -1
- package/dist/chunks/{job-pfvte5ex.js → filesystem-fjawchmc.js} +23 -23
- package/dist/chunks/{job-54jctmtt.js → filesystem-ftwe0wjn.js} +25 -25
- package/dist/chunks/{job-hvg55y1m.js → filesystem-fyh9zv7n.js} +11 -11
- package/dist/chunks/{job-vqq02yr7.js → filesystem-g72rcnd5.js} +11 -11
- package/dist/chunks/{job-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-t79xkb5x.js → filesystem-gdn0pcxg.js} +9 -9
- package/dist/chunks/{job-jxrsvt8d.js → filesystem-ge8cn2g4.js} +14 -14
- package/dist/chunks/{job-802megp1.js → filesystem-gj0f7hmv.js} +11 -11
- package/dist/chunks/{job-cgzvyhvv.js → filesystem-gprpxr1a.js} +3 -3
- package/dist/chunks/{job-mjtg0kct.js → filesystem-grebtwqa.js} +3 -3
- package/dist/chunks/{job-7ehe1q82.js → filesystem-gw6vzxdc.js} +85 -85
- package/dist/chunks/{job-zwe6tn9h.js → filesystem-gz7stbg7.js} +28 -28
- package/dist/chunks/{job-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/filesystem-hgb5t0z4.js +26 -0
- package/dist/chunks/{job-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
- package/dist/chunks/{job-khmqacep.js → filesystem-hq3c8me3.js} +4 -4
- package/dist/chunks/{job-s74x8zwn.js → filesystem-hr3qq9f0.js} +12 -12
- package/dist/chunks/{job-kya4n3gt.js → filesystem-hvhy7z48.js} +45 -45
- package/dist/chunks/{job-ee0kfng7.js → filesystem-hxbvn061.js} +4 -4
- package/dist/chunks/{job-d2wek193.js → filesystem-hxnvgzay.js} +28 -28
- package/dist/chunks/{job-z0dmr40s.js → filesystem-jekssrtq.js} +5 -5
- package/dist/chunks/{job-190jc4zy.js → filesystem-jhwg2zyb.js} +26 -26
- package/dist/chunks/{job-r38b4gm7.js → filesystem-jjwvvtts.js} +9 -9
- package/dist/chunks/{job-wzhq9xxz.js → filesystem-kbkr9xqm.js} +11 -11
- package/dist/chunks/{job-782zrs06.js → filesystem-kecqjjhm.js} +5 -5
- package/dist/chunks/{job-kf8xxjz9.js → filesystem-kf6ef46w.js} +3 -3
- package/dist/chunks/{job-tk518f6g.js → filesystem-kkc1286b.js} +181 -181
- package/dist/chunks/{job-e04mjppw.js → filesystem-kv4nafzy.js} +20 -20
- package/dist/chunks/{job-qmgn8zg7.js → filesystem-kvycfk4x.js} +2 -2
- package/dist/chunks/{job-kwb1v3vj.js → filesystem-kwb1v3vj.js} +1 -1
- package/dist/chunks/{job-gx4kjbww.js → filesystem-kwc5mqtp.js} +20 -20
- package/dist/chunks/{job-7n3gnz9r.js → filesystem-m1tssyfj.js} +19 -19
- package/dist/chunks/{job-re0zn3g0.js → filesystem-m4hvwz78.js} +45 -45
- package/dist/chunks/{job-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
- package/dist/chunks/{job-8jxeyxc9.js → filesystem-mg7ax2mm.js} +5 -5
- package/dist/chunks/{job-bte6ngej.js → filesystem-mhxr1bqn.js} +30 -30
- package/dist/chunks/{job-pdb8rjdp.js → filesystem-mp3jz30m.js} +18 -18
- package/dist/chunks/{job-1g3z0azh.js → filesystem-mp8xt2b6.js} +15 -15
- package/dist/chunks/{job-bmr56wjg.js → filesystem-mv3hx7wz.js} +4 -4
- package/dist/chunks/{job-hder4p07.js → filesystem-mx270ras.js} +55 -55
- package/dist/chunks/{job-4j4tgtq5.js → filesystem-n1n192bv.js} +4 -4
- package/dist/chunks/{job-gt0x4809.js → filesystem-n83pc6nt.js} +17 -17
- package/dist/chunks/{job-vscxjy0v.js → filesystem-nd88y20t.js} +51 -51
- package/dist/chunks/{job-4s76bvka.js → filesystem-nx34addm.js} +28 -28
- package/dist/chunks/{job-84mtzs8k.js → filesystem-nx4m0zkv.js} +14 -14
- package/dist/chunks/{job-a3tzcvmz.js → filesystem-nzam4yy8.js} +32 -32
- package/dist/chunks/{job-ph29776d.js → filesystem-p184cp8z.js} +24 -24
- package/dist/chunks/{job-jxpbf905.js → filesystem-p2m78kzx.js} +27 -27
- package/dist/chunks/{job-p4mj4rdp.js → filesystem-p37cw4rj.js} +8 -8
- package/dist/chunks/{job-am8zjywx.js → filesystem-p830xjpf.js} +4 -4
- package/dist/chunks/{job-32w60ewp.js → filesystem-pcf1k9th.js} +6 -6
- package/dist/chunks/{job-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{job-z9g794zs.js → filesystem-pm7qxhdn.js} +16 -16
- package/dist/chunks/{job-1v130mpx.js → filesystem-pn51f503.js} +33 -33
- package/dist/chunks/{job-yjsx3ryv.js → filesystem-pnpark4m.js} +11 -11
- package/dist/chunks/{job-247t7n51.js → filesystem-px0t714r.js} +45 -45
- package/dist/chunks/{job-nfnb91wf.js → filesystem-q39jr00q.js} +15 -15
- package/dist/chunks/{job-8a524ch7.js → filesystem-qe1s42gn.js} +7 -7
- package/dist/chunks/{job-qgn6gcr1.js → filesystem-qgn6gcr1.js} +1 -1
- package/dist/chunks/{job-7sbkp4xb.js → filesystem-qm0v3jhh.js} +5 -5
- package/dist/chunks/{job-rxn86gf6.js → filesystem-qnanp676.js} +13 -13
- package/dist/chunks/{job-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{job-9pg1zzvb.js → filesystem-qnfp6tbh.js} +20 -20
- package/dist/chunks/{job-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{job-4e4k5cgw.js → filesystem-qt6dmeqv.js} +22 -22
- package/dist/chunks/{job-b039cdhy.js → filesystem-qtydkzp2.js} +13 -13
- package/dist/chunks/{job-sxcaecc0.js → filesystem-r2z489rp.js} +3 -3
- package/dist/chunks/{job-y7sdd497.js → filesystem-r6vbntqp.js} +28 -28
- package/dist/chunks/{job-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-rrz44tnd.js → filesystem-rfvwjc43.js} +14 -14
- package/dist/chunks/{job-eaj1djv9.js → filesystem-rhjbct0v.js} +8 -8
- package/dist/chunks/{job-95vmf0cx.js → filesystem-rk4ytr24.js} +32 -32
- package/dist/chunks/{job-sjhrg4z8.js → filesystem-rm41ckhw.js} +19 -19
- package/dist/chunks/{job-866j0qgd.js → filesystem-rprbf42d.js} +11 -11
- package/dist/chunks/{job-3zxgx73k.js → filesystem-rqvp8wbx.js} +26 -26
- package/dist/chunks/{job-e9w0xgk5.js → filesystem-rv9gmw75.js} +51 -51
- package/dist/chunks/{job-tpg09gg7.js → filesystem-s34pyban.js} +33 -33
- package/dist/chunks/{job-d1rddd69.js → filesystem-s38be59g.js} +9 -9
- package/dist/chunks/{job-yyc2c3pa.js → filesystem-sez3r76e.js} +18 -18
- package/dist/chunks/{job-q54p6b31.js → filesystem-sg5keyww.js} +14 -14
- package/dist/chunks/{job-p3tsgby1.js → filesystem-spbssw6h.js} +5 -5
- package/dist/chunks/{job-0ks9zhpr.js → filesystem-sq924wt0.js} +44 -44
- package/dist/chunks/{job-vcbrf7nh.js → filesystem-ssccxh5t.js} +47 -47
- package/dist/chunks/{job-syv4x271.js → filesystem-syv4x271.js} +1 -1
- package/dist/chunks/{job-y4qwpzs9.js → filesystem-szea9bb9.js} +3 -3
- package/dist/chunks/{job-rwsg7th0.js → filesystem-t2xadz2n.js} +24 -24
- package/dist/chunks/{job-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{job-q9en3hpz.js → filesystem-tetb2eh9.js} +16 -16
- package/dist/chunks/{job-1248teyj.js → filesystem-tjkhcpzj.js} +6 -6
- package/dist/chunks/{job-rert0e01.js → filesystem-tkb22qbm.js} +2 -2
- package/dist/chunks/{job-tm0kqsz3.js → filesystem-tm0kqsz3.js} +1 -1
- package/dist/chunks/{job-x8mwr189.js → filesystem-tr05qqqw.js} +27 -27
- package/dist/chunks/{job-dq407baf.js → filesystem-tt8gc4fv.js} +6 -6
- package/dist/chunks/{job-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
- package/dist/chunks/{job-v0es1rhs.js → filesystem-v0es1rhs.js} +2 -2
- package/dist/chunks/filesystem-v1faaxn9.js +18 -0
- package/dist/chunks/{job-0bf787b1.js → filesystem-v5fjrhee.js} +8 -8
- package/dist/chunks/{job-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
- package/dist/chunks/{job-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{job-tpw005b1.js → filesystem-vpwnda87.js} +11 -11
- package/dist/chunks/{job-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{job-gwaf4cyv.js → filesystem-wj7gfkjw.js} +10 -10
- package/dist/chunks/{job-696t2cy7.js → filesystem-wqh2nmj8.js} +13 -13
- package/dist/chunks/{job-2ygtdfg2.js → filesystem-ws55xcqv.js} +29 -29
- package/dist/chunks/{job-d88k20pt.js → filesystem-x0js5z9m.js} +14 -14
- package/dist/chunks/{job-9ahf605z.js → filesystem-x5dpmst1.js} +5 -5
- package/dist/chunks/{job-vfz1kjtz.js → filesystem-x655svz3.js} +29 -29
- package/dist/chunks/{job-zw2hpfmh.js → filesystem-x661k3y3.js} +4 -4
- package/dist/chunks/{job-b8s6fp5j.js → filesystem-x70h8yxe.js} +21 -21
- package/dist/chunks/{job-e2f548m5.js → filesystem-xdzjfc6h.js} +19 -19
- package/dist/chunks/{job-b39124se.js → filesystem-xhsyhkgy.js} +8 -8
- package/dist/chunks/{job-1zj7cxje.js → filesystem-xnj3z44z.js} +44 -44
- package/dist/chunks/{job-7kvnyt6p.js → filesystem-xpcyt536.js} +5 -5
- package/dist/chunks/{job-4yxncqzk.js → filesystem-xzbcv6sc.js} +11 -11
- package/dist/chunks/{job-vhdxrt7h.js → filesystem-y1eegr9d.js} +27 -27
- package/dist/chunks/{job-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-3ga9zd2f.js → filesystem-y2gb4wfj.js} +4 -4
- package/dist/chunks/{job-1v8dj1h2.js → filesystem-y4ecwc5f.js} +25 -25
- package/dist/chunks/{job-gbqsrtzy.js → filesystem-yf1vvm7e.js} +34 -34
- package/dist/chunks/{job-bkp4f76d.js → filesystem-ygb8ps8p.js} +9 -9
- package/dist/chunks/{job-8hmjtt7t.js → filesystem-yjk0grsx.js} +13 -13
- package/dist/chunks/{job-6xcd06cn.js → filesystem-yt27412q.js} +3 -3
- package/dist/chunks/{job-nm4299rz.js → filesystem-yx0rmv9r.js} +8 -8
- package/dist/chunks/{job-9k0qe3x2.js → filesystem-yxez6nsc.js} +24 -24
- package/dist/chunks/{job-5hr13e4c.js → filesystem-yzyjrx0r.js} +8 -8
- package/dist/chunks/{job-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-9mbkb3sc.js → filesystem-z1scnmev.js} +9 -9
- package/dist/chunks/{job-78jnw47a.js → filesystem-zcsvtq6v.js} +7 -7
- package/dist/chunks/{job-tegs1ycp.js → filesystem-zdwe30dy.js} +6 -6
- package/dist/chunks/{job-qrytbsaj.js → filesystem-zgt4m87r.js} +34 -34
- package/dist/chunks/{job-66r9f6z1.js → filesystem-zk8c4w5t.js} +5 -5
- package/dist/chunks/{job-spec05k6.js → filesystem-zkab28hs.js} +2 -2
- package/dist/chunks/{job-z0gr4p3m.js → filesystem-zp71cjem.js} +34 -34
- package/dist/chunks/{job-xnb4btwz.js → filesystem-zq3xyeg8.js} +14 -14
- package/dist/chunks/{job-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/job-619r8v3y.js +0 -18
- package/dist/chunks/job-67mv0zeb.js +0 -26
- package/dist/chunks/job-mgh2a7gf.js +0 -257
- /package/dist/chunks/{job-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{job-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{job-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{job-pyv0edze.js → filesystem-pyv0edze.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service85,
|
|
6
|
+
node89
|
|
7
|
+
} from "./filesystem-bmd3gdvw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./filesystem-s34pyban.js";
|
|
13
13
|
import {
|
|
14
14
|
Service82,
|
|
15
15
|
node86
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-b8f4q0tg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node83
|
|
20
|
+
} from "./filesystem-9b791780.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service74,
|
|
24
|
+
node77
|
|
25
|
+
} from "./filesystem-8860rs9w.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service72,
|
|
34
|
+
node75
|
|
35
|
+
} from "./filesystem-pn51f503.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service30,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node33
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service82;
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
116
|
+
const environment = yield* Service80;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
|
+
const forms = yield* Service74;
|
|
119
|
+
const integration = yield* Service72;
|
|
120
|
+
const credentials = yield* Service73;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID12.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError2({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID14.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service80, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service30.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [node86,
|
|
535
|
+
service: Service30,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node86, node83, node89, node77, node75, node76]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node33 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service30, Options3, layer15, configured3, node33, exports_mcp4 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./filesystem-bmd3gdvw.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event11,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info13,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service50,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node54
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event11 } from "@opencode/schema/command";
|
|
28
|
+
var Info13 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service50 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info13.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service50.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node54 = makeLocationNode({
|
|
75
|
+
service: Service50,
|
|
76
|
+
layer: layer22,
|
|
77
|
+
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info13, NotFoundError5, ExecutionError2, Service50, layer22, node54, exports_command5, Event11 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./filesystem-qt6dmeqv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./filesystem-c3whw6mq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service43,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-wj7gfkjw.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make3
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service36;
|
|
35
|
+
const managed = yield* Service43;
|
|
36
|
+
const watcher = yield* Service37;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./filesystem-bmd3gdvw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./filesystem-nd88y20t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node65
|
|
12
|
+
} from "./filesystem-mx270ras.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service46,
|
|
15
|
+
node50
|
|
16
|
+
} from "./filesystem-p184cp8z.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service29 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service30;
|
|
42
|
+
const tools = yield* Service46;
|
|
43
|
+
const bus = yield* Service85;
|
|
44
|
+
const permission = yield* Service62;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer16 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: { input: input ?? {} },
|
|
@@ -105,7 +105,7 @@ var layer16 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer16 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node32 = makeLocationNode({
|
|
124
|
+
service: Service29,
|
|
125
|
+
layer: layer14,
|
|
126
|
+
deps: [node50, node33, node89, node65]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service29, layer14, node32, exports_mcp3 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-91qna3x0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service47,
|
|
17
|
+
node51
|
|
18
|
+
} from "./filesystem-bdm4x938.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node73
|
|
22
|
+
} from "./filesystem-73kdj4zj.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
35
|
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service46,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node50
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service46 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service70;
|
|
58
|
+
const image = yield* Service47;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service46.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node50 = makeLocationNode({
|
|
277
|
+
service: Service46,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node73, node51]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service46, node50, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|