@opencode/core 0.0.0-dev-19317 → 0.0.0-dev-19326
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{repository-3dj2kwsy.js → config-0855v69s.js} +21 -21
- package/dist/chunks/{repository-1tjg7tvh.js → config-0996nyz8.js} +8 -8
- package/dist/chunks/{repository-ahpy00m2.js → config-09d0879q.js} +26 -26
- package/dist/chunks/{repository-jgw85x6m.js → config-0ke0pmzz.js} +20 -20
- package/dist/chunks/{repository-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-f0v0ycm1.js → config-0ss0418f.js} +22 -22
- package/dist/chunks/{repository-2qyxhzr1.js → config-1657v3ya.js} +13 -13
- package/dist/chunks/{repository-wn91f6p1.js → config-16ka791j.js} +21 -21
- package/dist/chunks/{repository-mh0z80me.js → config-1bmavh6p.js} +10 -10
- package/dist/chunks/{repository-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-1dfhrqqs.js → config-1dfhrqqs.js} +2 -2
- package/dist/chunks/{repository-fa62265d.js → config-1kpn8rme.js} +17 -17
- package/dist/chunks/{repository-h165c536.js → config-1p5m71zp.js} +16 -16
- package/dist/chunks/{repository-z0tfr0p6.js → config-1pdyq1wn.js} +6 -6
- package/dist/chunks/{repository-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{repository-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{repository-g48a3zmh.js → config-23srbqd1.js} +12 -12
- package/dist/chunks/{repository-swtg4spb.js → config-27q3k98w.js} +9 -9
- package/dist/chunks/{repository-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-pk2244jm.js → config-2f04pwep.js} +3 -3
- package/dist/chunks/{repository-e72k63ab.js → config-2h688s1b.js} +3 -3
- package/dist/chunks/{repository-bsbmndgv.js → config-2h6dm58y.js} +1 -1
- package/dist/chunks/{repository-fcsd4zs5.js → config-2je79byv.js} +11 -11
- package/dist/chunks/{repository-9pn042z2.js → config-2ns57ds1.js} +11 -11
- package/dist/chunks/{repository-kw9bzk6g.js → config-2vw323ye.js} +20 -20
- package/dist/chunks/{repository-txft1z8e.js → config-3bzdj17n.js} +16 -16
- package/dist/chunks/{repository-gdvy8fx6.js → config-3fc6dm20.js} +4 -4
- package/dist/chunks/{repository-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-wt2bvgvt.js → config-3jhh6dbq.js} +11 -11
- package/dist/chunks/{repository-arkn2b9y.js → config-3ps341yf.js} +30 -30
- package/dist/chunks/{repository-a5tz83rk.js → config-3r916n3t.js} +6 -6
- package/dist/chunks/{repository-cb945wyk.js → config-3rhrbxnc.js} +33 -33
- package/dist/chunks/{repository-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-615kspf3.js → config-417t6bcw.js} +26 -26
- package/dist/chunks/{repository-pt8770bk.js → config-46k8jh69.js} +6 -6
- package/dist/chunks/{repository-bcn5dnkb.js → config-46x4mgr1.js} +4 -4
- package/dist/chunks/{repository-kpgmbxv4.js → config-4kzv7xnq.js} +9 -9
- package/dist/chunks/{repository-2bqak6vk.js → config-4w87xhbp.js} +9 -9
- package/dist/chunks/{repository-f4ay2dft.js → config-569tr4pc.js} +4 -4
- package/dist/chunks/{repository-786rp8pk.js → config-595h6ds1.js} +11 -11
- package/dist/chunks/{repository-ttm38dpy.js → config-5b85kcdj.js} +6 -6
- package/dist/chunks/{repository-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-5kptn8c0.js → config-5kptn8c0.js} +2 -2
- package/dist/chunks/{repository-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-4r8zj0xa.js → config-5wxd9yx9.js} +10 -10
- package/dist/chunks/{repository-vxwzppst.js → config-5z63511r.js} +9 -9
- package/dist/chunks/{repository-9t7dzp30.js → config-5zqnyxe9.js} +33 -33
- package/dist/chunks/{repository-tcjn4qbc.js → config-64gy2aef.js} +43 -43
- package/dist/chunks/{repository-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{repository-m23z2hgx.js → config-6c3m5f2h.js} +43 -43
- package/dist/chunks/{repository-02smmm4r.js → config-6f6emysg.js} +30 -30
- package/dist/chunks/{repository-gn1fbr6b.js → config-6h3kda3t.js} +9 -9
- package/dist/chunks/{repository-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{repository-arbskmtj.js → config-6m1eqfa8.js} +9 -9
- package/dist/chunks/{repository-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-9kp37p9x.js → config-6nwx2zxy.js} +20 -20
- package/dist/chunks/{repository-50364jye.js → config-6t1wqbey.js} +46 -46
- package/dist/chunks/{repository-qsdt89h7.js → config-6x6kmq59.js} +24 -24
- package/dist/chunks/{repository-tq3zj2mx.js → config-70fmpgwx.js} +4 -4
- package/dist/chunks/{repository-k16ay38w.js → config-710w2ech.js} +1 -1
- package/dist/chunks/{repository-71q4at8m.js → config-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-ww34bdfa.js → config-72vjph7r.js} +38 -38
- package/dist/chunks/{repository-jqb83hwr.js → config-750qgww0.js} +20 -20
- package/dist/chunks/{repository-t5vzjtwz.js → config-77hyqjn8.js} +21 -21
- package/dist/chunks/{repository-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-sbnsh8k5.js → config-7bvkr4r5.js} +8 -8
- package/dist/chunks/{repository-yg76m3am.js → config-7wpfh6mv.js} +7 -7
- package/dist/chunks/{repository-16j2nq32.js → config-7xasq64h.js} +19 -19
- package/dist/chunks/{repository-9pntmsg4.js → config-7z5tcpnz.js} +5 -5
- package/dist/chunks/{repository-rk0rec3h.js → config-81swgkk7.js} +9 -9
- package/dist/chunks/{repository-wjvnh3e5.js → config-8cmk2yrh.js} +2 -2
- package/dist/chunks/{repository-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-zk0g9nwz.js → config-8ddxx89t.js} +10 -10
- package/dist/chunks/{repository-2c593dpe.js → config-8g9ddwam.js} +24 -24
- package/dist/chunks/{repository-4c8re0tx.js → config-8gq3smt3.js} +7 -7
- package/dist/chunks/{repository-zxy676qc.js → config-8h5hgdex.js} +17 -17
- package/dist/chunks/{repository-kzx5e7cb.js → config-8kw6wws5.js} +167 -167
- package/dist/chunks/{repository-8p4f9s12.js → config-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-ksz0h0wp.js → config-8qk9tw02.js} +1 -1
- package/dist/chunks/{repository-j9c14zc8.js → config-8sghyhzw.js} +8 -8
- package/dist/chunks/{repository-cjwramev.js → config-9cc1d2dv.js} +8 -8
- package/dist/chunks/{repository-p66jjbas.js → config-9eec6gj3.js} +8 -8
- package/dist/chunks/{repository-z2v8zvr3.js → config-9m00pm0q.js} +24 -24
- package/dist/chunks/{repository-m27pyyd3.js → config-9qn3qky1.js} +8 -8
- package/dist/chunks/{repository-h7q5ckcv.js → config-9qrewpmc.js} +18 -18
- package/dist/chunks/config-9sh4wc5j.js +18 -0
- package/dist/chunks/{repository-7796pmke.js → config-a0d0vtpt.js} +38 -38
- package/dist/chunks/{repository-a1bz86dw.js → config-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-k6mvgpmx.js → config-a1vyps7d.js} +13 -13
- package/dist/chunks/{repository-36t2ng94.js → config-a2vkvq8c.js} +19 -19
- package/dist/chunks/{repository-zhxw6mnd.js → config-a4r18kjz.js} +2 -2
- package/dist/chunks/{repository-n4w1yhk7.js → config-a5ashrgz.js} +13 -13
- package/dist/chunks/{repository-hteedcyj.js → config-a6mbpaxv.js} +35 -35
- package/dist/chunks/{repository-vmvf27d6.js → config-a76rpznm.js} +17 -17
- package/dist/chunks/{repository-n76fdqym.js → config-a9ab9jmj.js} +5 -5
- package/dist/chunks/{repository-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-nyw36zg8.js → config-ae18dp5m.js} +17 -17
- package/dist/chunks/{repository-2f0bjgcj.js → config-ag9w8cw1.js} +5 -5
- package/dist/chunks/{repository-hjza1htt.js → config-agn6xsk2.js} +10 -10
- package/dist/chunks/{repository-vncycja5.js → config-an7cqtb7.js} +4 -4
- package/dist/chunks/{repository-e3rrrskg.js → config-arvcqt8y.js} +4 -4
- package/dist/chunks/{repository-paks601p.js → config-aswydtf6.js} +32 -32
- package/dist/chunks/{repository-zsf3bcce.js → config-avakt016.js} +16 -16
- package/dist/chunks/{repository-bn183kc6.js → config-ave3hafy.js} +20 -20
- package/dist/chunks/{repository-6c6pe1h9.js → config-aw657cyw.js} +20 -20
- package/dist/chunks/{repository-983mj5wh.js → config-az8cwyq3.js} +31 -31
- package/dist/chunks/{repository-mmwr6ta3.js → config-b0nvwstj.js} +16 -16
- package/dist/chunks/{repository-594bb0zr.js → config-b1fgh70n.js} +14 -14
- package/dist/chunks/{repository-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-qa2rds3b.js → config-bcgkk1hh.js} +25 -25
- package/dist/chunks/{repository-cq37gk0t.js → config-bha4atvq.js} +4 -4
- package/dist/chunks/{repository-mf7gv44a.js → config-brxdqda1.js} +11 -11
- package/dist/chunks/{repository-tbcgmyg4.js → config-bty8pd59.js} +53 -53
- package/dist/chunks/{repository-qg6rt9vr.js → config-c0hqkr96.js} +19 -19
- package/dist/chunks/{repository-yfc3q1gy.js → config-c43swxyx.js} +11 -11
- package/dist/chunks/{repository-m1kdqrrt.js → config-cdfjc51s.js} +28 -28
- package/dist/chunks/{repository-cfpkc3c9.js → config-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-x3et2xth.js → config-cmwkp3r5.js} +6 -6
- package/dist/chunks/{repository-awakh2te.js → config-cs6ph7bb.js} +29 -29
- package/dist/chunks/{repository-hkfg6fzm.js → config-d2aac7k2.js} +5 -5
- package/dist/chunks/{repository-1pdzqgga.js → config-d605brer.js} +22 -22
- package/dist/chunks/{repository-k1dwx0ea.js → config-d7dy7kyk.js} +6 -6
- package/dist/chunks/{repository-66v2kt92.js → config-d9ktfn67.js} +41 -41
- package/dist/chunks/{repository-w4x6a4ey.js → config-dr3kpc4j.js} +3 -3
- package/dist/chunks/{repository-rhjbct0v.js → config-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-76dvax8j.js → config-ebk4es1x.js} +26 -26
- package/dist/chunks/{repository-hvbtbey6.js → config-edyamwfh.js} +10 -10
- package/dist/chunks/{repository-tfngb0ww.js → config-eeke5b1b.js} +4 -4
- package/dist/chunks/{repository-059964m6.js → config-ek30kmvs.js} +46 -46
- package/dist/chunks/{repository-73tb2d7t.js → config-eq1pz5kg.js} +3 -3
- package/dist/chunks/{repository-qmxj8h0d.js → config-es83e26n.js} +10 -10
- package/dist/chunks/{repository-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-gs888y4z.js → config-exhy6fht.js} +8 -8
- package/dist/chunks/{repository-f828m53h.js → config-f828m53h.js} +2 -2
- package/dist/chunks/{repository-fygdb7h7.js → config-fa0cr6zp.js} +3 -3
- package/dist/chunks/{repository-qgn6gcr1.js → config-fcrkznn8.js} +5 -5
- package/dist/chunks/{repository-r9babyk8.js → config-ffx4mq6v.js} +1 -1
- package/dist/chunks/{repository-ratrq7cm.js → config-fm2qvscf.js} +4 -4
- package/dist/chunks/{repository-rwey6xtr.js → config-fnbgnbzv.js} +291 -291
- package/dist/chunks/{repository-045wck3r.js → config-fq03nfpt.js} +4 -4
- package/dist/chunks/{repository-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-9cq2d911.js → config-fyjrpq2n.js} +5 -5
- package/dist/chunks/{repository-zaph8b8m.js → config-g2cy8dr6.js} +7 -7
- package/dist/chunks/{repository-1f0q2knt.js → config-g5h2gn6b.js} +34 -34
- package/dist/chunks/{repository-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-x5wwe36q.js → config-gf6d3hm7.js} +8 -8
- package/dist/chunks/{repository-t0db4qcz.js → config-gmzg7h0g.js} +10 -10
- package/dist/chunks/{repository-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-dj0r9pya.js → config-h1r3fqyy.js} +30 -30
- package/dist/chunks/{repository-1ajye52f.js → config-h44tzz0d.js} +22 -22
- package/dist/chunks/{repository-2p43b4z4.js → config-h6bavb35.js} +8 -8
- package/dist/chunks/{repository-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-2pmrb1d6.js → config-h7vqmq4a.js} +7 -7
- package/dist/chunks/{repository-yjptyezs.js → config-hcz3zddy.js} +5 -5
- package/dist/chunks/{repository-tesasq7y.js → config-hgyqvasf.js} +11 -11
- package/dist/chunks/{repository-wsnptkpy.js → config-hhgar3wg.js} +17 -17
- package/dist/chunks/{repository-47gsdddb.js → config-hjt4xg1x.js} +7 -7
- package/dist/chunks/{repository-0bps82y7.js → config-hwe7x4em.js} +6 -6
- package/dist/chunks/{repository-71wj71z5.js → config-j3nfxkmh.js} +11 -11
- package/dist/chunks/{repository-2y34zzjz.js → config-j5208yae.js} +4 -4
- package/dist/chunks/{repository-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-w3b0evb0.js → config-j5t0v273.js} +18 -18
- package/dist/chunks/{repository-8fkaqdjp.js → config-jdqkc47c.js} +41 -41
- package/dist/chunks/{repository-fmyvj1jr.js → config-jefma2gq.js} +10 -10
- package/dist/chunks/{repository-476t6gmh.js → config-js9tnhwr.js} +15 -15
- package/dist/chunks/{repository-6xyd484e.js → config-jt79ytas.js} +14 -14
- package/dist/chunks/{repository-embw8kgh.js → config-jvf3yq6v.js} +4 -4
- package/dist/chunks/{repository-0xvyn13b.js → config-jw0bnz0n.js} +63 -63
- package/dist/chunks/{repository-nv9askeb.js → config-jzg51yg2.js} +10 -10
- package/dist/chunks/{repository-6xrzfrk8.js → config-k0wscy4g.js} +20 -20
- package/dist/chunks/{repository-vzkegt94.js → config-k6zar0y3.js} +51 -51
- package/dist/chunks/{repository-hrxs1993.js → config-k7d0894y.js} +6 -6
- package/dist/chunks/{repository-n7698azc.js → config-k9msfnd5.js} +15 -15
- package/dist/chunks/{repository-9j04cpa9.js → config-kch7s5fg.js} +22 -22
- package/dist/chunks/{repository-kg06axw8.js → config-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-bh01taga.js → config-kjsr3m9q.js} +10 -10
- package/dist/chunks/{repository-5naxf7j8.js → config-kq5zg6vn.js} +3 -3
- package/dist/chunks/{repository-jb0x01rj.js → config-m1tpde6x.js} +26 -26
- package/dist/chunks/{repository-jyjh1hv5.js → config-m536chkd.js} +11 -11
- package/dist/chunks/{repository-h7ygw6q4.js → config-m86bnw2c.js} +9 -9
- package/dist/chunks/{repository-jhhkcjkk.js → config-m8zqamnv.js} +18 -18
- package/dist/chunks/{repository-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-zgjvenhq.js → config-mhz3pcww.js} +6 -6
- package/dist/chunks/{repository-mkcjrzeh.js → config-mkcjrzeh.js} +1 -1
- package/dist/chunks/{repository-994195wy.js → config-n1n4h8c9.js} +47 -47
- package/dist/chunks/{repository-y01f7qch.js → config-n5w420h3.js} +20 -20
- package/dist/chunks/{repository-p55xqwj6.js → config-nct1ykg9.js} +28 -30
- package/dist/chunks/{repository-tts5d3vq.js → config-ncydacn5.js} +15 -15
- package/dist/chunks/{repository-7hy3mtbm.js → config-njmpc6zs.js} +9 -9
- package/dist/chunks/{repository-4em4qkvj.js → config-njtrxhve.js} +24 -24
- package/dist/chunks/{repository-bb1ss1nb.js → config-nv66vt51.js} +25 -25
- package/dist/chunks/{repository-ckjvqjqe.js → config-nzdya8zy.js} +24 -24
- package/dist/chunks/{repository-z69s9t6b.js → config-p0cja4mf.js} +5 -5
- package/dist/chunks/{repository-php4m0nf.js → config-p72z5xx6.js} +2 -2
- package/dist/chunks/{repository-msq0jde0.js → config-paegk39x.js} +4 -4
- package/dist/chunks/{repository-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-ebn37zs9.js → config-pkkn2rmb.js} +20 -20
- package/dist/chunks/{repository-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{repository-38sxx9hd.js → config-ppvatkm2.js} +21 -21
- package/dist/chunks/{repository-yn917984.js → config-pv3gegc9.js} +13 -13
- package/dist/chunks/{repository-g71p6t9p.js → config-pztqrn0p.js} +11 -11
- package/dist/chunks/{repository-8wsye86r.js → config-q7wajf8z.js} +8 -8
- package/dist/chunks/{repository-wq9rcnez.js → config-qa8kzgyn.js} +23 -23
- package/dist/chunks/{repository-a4hnh0bm.js → config-qh3g5vy3.js} +11 -11
- package/dist/chunks/{repository-jw80jp6b.js → config-qj8eh1ht.js} +4 -4
- package/dist/chunks/{repository-gb6yb404.js → config-qn5k0834.js} +28 -28
- package/dist/chunks/{repository-mvptyta3.js → config-qpvszq3c.js} +9 -9
- package/dist/chunks/{repository-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-8g9ptmgy.js → config-qvq50n5y.js} +56 -56
- package/dist/chunks/{repository-3kem7kwr.js → config-qw7k9z72.js} +16 -16
- package/dist/chunks/{repository-6zr7k3aq.js → config-qy2rkr1m.js} +16 -16
- package/dist/chunks/{repository-cpy6gm2a.js → config-qz49fwgp.js} +4 -4
- package/dist/chunks/{repository-a08t2777.js → config-qzyzax4f.js} +17 -17
- package/dist/chunks/{repository-vepva715.js → config-rmxfyypy.js} +6 -6
- package/dist/chunks/{repository-v9t95238.js → config-rr1nvx41.js} +17 -17
- package/dist/chunks/{repository-2d626495.js → config-rzdsnkcx.js} +9 -9
- package/dist/chunks/{repository-8w4ne1ng.js → config-rzpkkh53.js} +27 -27
- package/dist/chunks/{repository-f8q7mv7a.js → config-s7xtjryh.js} +1 -1
- package/dist/chunks/{repository-164c4x8d.js → config-saxdmq1r.js} +4 -4
- package/dist/chunks/{repository-gszsphzc.js → config-sdtja0vv.js} +5 -5
- package/dist/chunks/{repository-5ffk5gzk.js → config-sm6x67bg.js} +88 -88
- package/dist/chunks/{repository-2ehqxkpw.js → config-sys0fgg0.js} +18 -18
- package/dist/chunks/{repository-bkqb0v3f.js → config-t12g5sta.js} +6 -6
- package/dist/chunks/{repository-6cw0q144.js → config-t366rswz.js} +4 -4
- package/dist/chunks/{repository-96yt6zt0.js → config-t9e6e84n.js} +1 -1
- package/dist/chunks/{repository-vbzh8kc2.js → config-tayfb0c8.js} +25 -25
- package/dist/chunks/{repository-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{repository-89scvk1m.js → config-tn5yj8k7.js} +3 -3
- package/dist/chunks/{repository-h0r85tvv.js → config-tqkm9jbq.js} +11 -11
- package/dist/chunks/{repository-6prdtfsq.js → config-tsvnnaee.js} +9 -9
- package/dist/chunks/{repository-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-jk1sm5e0.js → config-vptjw3ks.js} +26 -26
- package/dist/chunks/{repository-1awm1f41.js → config-vrmbk9b3.js} +14 -14
- package/dist/chunks/{repository-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-43k15f45.js → config-vzrz8rh7.js} +4 -4
- package/dist/chunks/{repository-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-p33ejz0k.js → config-w79zsp0s.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{repository-66cmz1z4.js → config-wmnhw0x1.js} +30 -30
- package/dist/chunks/{repository-f28ytfvt.js → config-wtkq24h6.js} +19 -19
- package/dist/chunks/{repository-f76ze5tv.js → config-wy9ptrhe.js} +35 -35
- package/dist/chunks/{repository-3ythc6yv.js → config-x0511brf.js} +4 -4
- package/dist/chunks/config-x0r8f7ss.js +22 -0
- package/dist/chunks/{repository-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-r4prmjef.js → config-x1xcpfha.js} +17 -17
- package/dist/chunks/{repository-x43y2vfs.js → config-x43y2vfs.js} +2 -2
- package/dist/chunks/{repository-wr1pgfqd.js → config-xaqy8fp9.js} +24 -24
- package/dist/chunks/{repository-s6wjkaab.js → config-xhkkqpm4.js} +18 -18
- package/dist/chunks/{repository-y7vh14v8.js → config-xjc405nr.js} +11 -11
- package/dist/chunks/config-xr5bxs3t.js +247 -0
- package/dist/chunks/{repository-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-jpcfnxx6.js → config-y1xxajfh.js} +15 -15
- package/dist/chunks/{repository-akymg2m4.js → config-y6a6ax70.js} +5 -5
- package/dist/chunks/{repository-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{repository-tkms5754.js → config-y8jrhqey.js} +18 -18
- package/dist/chunks/{repository-yzygp3kb.js → config-y8m4913b.js} +30 -30
- package/dist/chunks/{repository-35adck8a.js → config-yckmmtqy.js} +26 -26
- package/dist/chunks/{repository-4cbfc9qt.js → config-ycsq97p8.js} +27 -27
- package/dist/chunks/{repository-g8e8xch5.js → config-yfs0d73w.js} +82 -82
- package/dist/chunks/{repository-1acjjqhc.js → config-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-cct48r6v.js → config-ytmtmg8c.js} +22 -22
- package/dist/chunks/{repository-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-2vgzs72b.js → config-z2qbjhyn.js} +5 -5
- package/dist/chunks/{repository-s1taq3yv.js → config-z3q09gkz.js} +15 -15
- package/dist/chunks/{repository-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-yy3gmdz3.js → config-ze5v0a14.js} +8 -8
- package/dist/chunks/{repository-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-wa9n8nyq.js → config-zerdtc7d.js} +8 -8
- package/dist/chunks/{repository-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-fgh0kbhd.js → config-zxgnc9zk.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → config-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 +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +95 -95
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +109 -109
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +115 -115
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -85
- package/package.json +8 -8
- package/dist/chunks/repository-e5dbcc46.js +0 -22
- package/dist/chunks/repository-phz3h32g.js +0 -18
- package/dist/chunks/repository-tb3zndzb.js +0 -247
- /package/dist/chunks/{repository-0mesazry.js → config-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a1tpkmh4.js → config-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-paphc93g.js → config-paphc93g.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-arvcqt8y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service63,
|
|
11
|
+
node68
|
|
12
|
+
} from "./config-h1r3fqyy.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node81
|
|
16
|
+
} from "./config-a76rpznm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service58,
|
|
19
|
+
node62
|
|
20
|
+
} from "./config-9m00pm0q.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID8,
|
|
23
|
+
Service54,
|
|
24
|
+
node58
|
|
25
|
+
} from "./config-09d0879q.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service53,
|
|
34
|
+
node57
|
|
35
|
+
} from "./config-wmnhw0x1.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./config-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: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service38,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer16,
|
|
67
|
+
node: () => node42
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID7.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service76;
|
|
178
|
+
const environment = yield* Service58;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service54;
|
|
181
|
+
const integration = yield* Service53;
|
|
182
|
+
const credentials = yield* Service63;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID7.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID8.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -358,7 +358,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
358
358
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
359
359
|
})
|
|
360
360
|
};
|
|
361
|
-
const toTool = (server, entry, def) => new
|
|
361
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* 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(
|
|
436
|
+
const result = yield* 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(Service58, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service38.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service38,
|
|
713
|
+
layer: layer16(options),
|
|
714
|
+
deps: [node81, node62, node84, node58, node57, node68]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node42 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options5, layer16, configured5, node42, exports_mcp4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service57,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node61,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service57 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service57.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured8(options) {
|
|
209
|
+
return makeLocationNode({ service: Service57, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node61 = configured8();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options7, Service57, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured8, node61, exports_select };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./config-z3q09gkz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service26
|
|
6
|
+
} from "./config-yfs0d73w.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service26;
|
|
24
|
+
const jobs = yield* Service48;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./config-qvq50n5y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service47
|
|
10
|
+
} from "./config-xaqy8fp9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input11,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin43,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name11,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name11 = "skill";
|
|
30
|
+
var Input11 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin43 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service47;
|
|
51
|
+
const permission = yield* Service66;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name11,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input11,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name11,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin20 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name11, Input11, Output8, description5, toModelOutput2, Plugin43, exports_skill3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
11
|
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
18
|
var node7 = makeLocationNode({
|
|
19
|
-
service:
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-arvcqt8y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node42
|
|
8
|
+
} from "./config-bty8pd59.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node71
|
|
12
|
+
} from "./config-qvq50n5y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service72,
|
|
15
|
+
node77
|
|
16
|
+
} from "./config-nzdya8zy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-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: () => Service37,
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41
|
|
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 name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service72;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service66;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -62,7 +62,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name14(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -99,7 +99,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
99
99
|
output: result.structured ?? (text === "" ? null : text),
|
|
100
100
|
...content.length === 0 ? {} : { content }
|
|
101
101
|
};
|
|
102
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
102
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -112,12 +112,12 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node41 = makeLocationNode({
|
|
118
|
+
service: Service37,
|
|
119
|
+
layer: layer15,
|
|
120
|
+
deps: [node77, node42, node84, node71]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2,
|
|
123
|
+
export { namespace2, name14, Service37, layer15, node41, exports_mcp3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
|