@opencode/core 0.0.0-dev-19355 → 0.0.0-dev-19358
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/{mime-esqzzyt4.js → command-04rtynqt.js} +20 -20
- package/dist/chunks/{mime-fbytrd5k.js → command-06wjbj88.js} +16 -16
- package/dist/chunks/{mime-gf9g8h4v.js → command-070a9e04.js} +39 -39
- package/dist/chunks/{mime-17ct7hrw.js → command-0btf9jkj.js} +4 -4
- package/dist/chunks/{mime-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{mime-wm69nqhy.js → command-0w6bwpjx.js} +36 -36
- package/dist/chunks/{mime-abr6rqa0.js → command-138p5ddt.js} +20 -20
- package/dist/chunks/{mime-nz9phg4y.js → command-13mzqdtz.js} +11 -11
- package/dist/chunks/{mime-ypfzqse4.js → command-15n42rft.js} +26 -26
- package/dist/chunks/{mime-5g8036jg.js → command-19av3p62.js} +10 -10
- package/dist/chunks/{mime-g8d3gcyj.js → command-19vf66h0.js} +7 -7
- package/dist/chunks/{mime-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-1dfhrqqs.js → command-1dfhrqqs.js} +2 -2
- package/dist/chunks/{mime-r9babyk8.js → command-1wxb385z.js} +1 -1
- package/dist/chunks/{mime-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{mime-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-z29e59cf.js → command-24w00f77.js} +25 -25
- package/dist/chunks/{mime-z63w68vq.js → command-29x78va6.js} +6 -6
- package/dist/chunks/{mime-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-j6xbhd1n.js → command-2a7hagjp.js} +6 -6
- package/dist/chunks/{mime-a8zr1srk.js → command-2femdq6k.js} +8 -8
- package/dist/chunks/{mime-a8bn8zg0.js → command-2pnhn36q.js} +21 -21
- package/dist/chunks/{mime-9xvq3m7s.js → command-2qp6y8xf.js} +5 -5
- package/dist/chunks/{mime-kwkb1ck3.js → command-2rfrcgce.js} +32 -32
- package/dist/chunks/{mime-9w9315k4.js → command-2xe896hw.js} +283 -283
- package/dist/chunks/{mime-tej55220.js → command-31wrjn3h.js} +16 -16
- package/dist/chunks/{mime-7rx77mxx.js → command-33xc6zn2.js} +7 -7
- package/dist/chunks/{mime-a9e2mfvf.js → command-39q35cms.js} +17 -17
- package/dist/chunks/{mime-bknjtf9r.js → command-3eg94j8w.js} +41 -41
- package/dist/chunks/{mime-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-qe0022s7.js → command-3kpvh92z.js} +21 -21
- package/dist/chunks/{mime-h8m09asr.js → command-3m9dzf4r.js} +1 -1
- package/dist/chunks/{mime-4653w0q1.js → command-3nc90kmd.js} +3 -3
- package/dist/chunks/{mime-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-8pv0ysaw.js → command-43t6csf6.js} +15 -15
- package/dist/chunks/{mime-ytptr1j0.js → command-454ap3be.js} +9 -9
- package/dist/chunks/{mime-fzbvp66m.js → command-45d0vtt8.js} +6 -6
- package/dist/chunks/{mime-x940zq77.js → command-48q4dgm3.js} +10 -10
- package/dist/chunks/{mime-s2czs639.js → command-493vsnxm.js} +15 -15
- package/dist/chunks/{mime-wndfc8sb.js → command-49grzd0n.js} +9 -9
- package/dist/chunks/{mime-csret9jn.js → command-4a54se45.js} +44 -44
- package/dist/chunks/{mime-mn0vvavy.js → command-4bj5xf3m.js} +24 -24
- package/dist/chunks/{mime-tfngb0ww.js → command-4da4ndpv.js} +4 -4
- package/dist/chunks/{mime-60kn0s46.js → command-4e5nbqbj.js} +54 -54
- package/dist/chunks/{mime-ahd542yp.js → command-4e7426jc.js} +8 -8
- package/dist/chunks/{mime-n76fdqym.js → command-4mkcvr19.js} +5 -5
- package/dist/chunks/{mime-ehsf13pq.js → command-4pre3909.js} +13 -13
- package/dist/chunks/{mime-t9bxbmcs.js → command-4wn6b914.js} +33 -33
- package/dist/chunks/{mime-56gdpj1q.js → command-56gdpj1q.js} +2 -2
- package/dist/chunks/{mime-2a94svd1.js → command-59zahvaa.js} +18 -18
- package/dist/chunks/{mime-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-bd7wktek.js → command-5epte933.js} +3 -3
- package/dist/chunks/{mime-k16ay38w.js → command-5nsrms9d.js} +1 -1
- package/dist/chunks/{mime-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-yvdxbma0.js → command-5xp4z8zk.js} +7 -7
- package/dist/chunks/command-619r8v3y.js +18 -0
- package/dist/chunks/{mime-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{mime-y5mrfvw4.js → command-68xpwqwy.js} +9 -9
- package/dist/chunks/{mime-7a4aatde.js → command-6c1g49x3.js} +9 -9
- package/dist/chunks/command-6kdq0pjd.js +4 -0
- package/dist/chunks/{mime-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-xdp8bq0v.js → command-6tqsccrn.js} +80 -80
- package/dist/chunks/{mime-71q4at8m.js → command-71q4at8m.js} +1 -1
- package/dist/chunks/{mime-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-607tc6va.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{mime-rhx683sy.js → command-7ebn0nc0.js} +6 -6
- package/dist/chunks/{mime-g449k317.js → command-7nwrad04.js} +25 -25
- package/dist/chunks/{mime-n1j5t38b.js → command-7qse0qpb.js} +26 -26
- package/dist/chunks/{mime-96yt6zt0.js → command-83x6p9kd.js} +1 -1
- package/dist/chunks/{mime-ctfy1qrj.js → command-86g4d0kj.js} +51 -51
- package/dist/chunks/{mime-6z4wb64c.js → command-88sz8qcd.js} +4 -4
- package/dist/chunks/{mime-h1sw4cag.js → command-89t020sf.js} +38 -38
- package/dist/chunks/{mime-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-mhntmvf8.js → command-8ezz0qpe.js} +13 -13
- package/dist/chunks/{mime-cff8k9ch.js → command-8jdy407s.js} +32 -32
- package/dist/chunks/{mime-59g81e4r.js → command-8n2avc0p.js} +6 -6
- package/dist/chunks/{mime-8p4f9s12.js → command-8p4f9s12.js} +2 -2
- package/dist/chunks/{mime-kjt99ang.js → command-8r7f04jj.js} +15 -15
- package/dist/chunks/{mime-5kptn8c0.js → command-8w9tvb25.js} +9 -9
- package/dist/chunks/{mime-hqjyvh1c.js → command-9139jgcd.js} +9 -9
- package/dist/chunks/{mime-asctxbtd.js → command-9hkkgm6z.js} +11 -11
- package/dist/chunks/{mime-sr9h8evr.js → command-9maaan9b.js} +14 -14
- package/dist/chunks/{mime-n9aqzp6a.js → command-9rqme4wv.js} +26 -26
- package/dist/chunks/{mime-r7wp53q3.js → command-9t5zm95t.js} +6 -6
- package/dist/chunks/{mime-6h3jpx6s.js → command-9td3nvch.js} +6 -6
- package/dist/chunks/{mime-aksgs6gj.js → command-a02rj634.js} +16 -16
- package/dist/chunks/{mime-a1bz86dw.js → command-a1bz86dw.js} +3 -3
- package/dist/chunks/{mime-7edrnw3d.js → command-a70vfxwz.js} +15 -15
- package/dist/chunks/{mime-meg78na6.js → command-a72wxtdj.js} +26 -26
- package/dist/chunks/{mime-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-dha95t54.js → command-afvn2d8y.js} +17 -17
- package/dist/chunks/{mime-05r3kpr5.js → command-anbsab5w.js} +30 -30
- package/dist/chunks/{mime-0f9afca0.js → command-avm8jn6n.js} +5 -5
- package/dist/chunks/{mime-eah4eh88.js → command-axfg0z4e.js} +15 -15
- package/dist/chunks/{mime-0yjqc67b.js → command-az9ecw0v.js} +11 -11
- package/dist/chunks/{mime-jybn881g.js → command-azw47gg7.js} +50 -50
- package/dist/chunks/{mime-61m8m2d6.js → command-b11rdt3w.js} +8 -8
- package/dist/chunks/{mime-jhyy3hk6.js → command-b3wkxfg9.js} +1 -1
- package/dist/chunks/{mime-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-f7prfycf.js → command-be4a9pdg.js} +18 -18
- package/dist/chunks/{mime-881wxzwh.js → command-bhgdfcz0.js} +9 -9
- package/dist/chunks/{mime-a1t1mczq.js → command-bjy2htfa.js} +26 -26
- package/dist/chunks/{mime-m27pyyd3.js → command-c7ecgrk6.js} +6 -6
- package/dist/chunks/{mime-cfpkc3c9.js → command-cfpkc3c9.js} +2 -2
- package/dist/chunks/{mime-6tpecvfp.js → command-cmfpwhr1.js} +9 -9
- package/dist/chunks/{mime-ravsmpkf.js → command-cpj6a2aa.js} +45 -45
- package/dist/chunks/{mime-3q51rrqb.js → command-cwj87dc4.js} +20 -20
- package/dist/chunks/command-d3ggx689.js +247 -0
- package/dist/chunks/{mime-mj3ecsg2.js → command-d5ze1g7q.js} +22 -22
- package/dist/chunks/{mime-ba8r4wxs.js → command-d6gjw5d8.js} +24 -24
- package/dist/chunks/{mime-nh75d5y5.js → command-dcf26w67.js} +18 -18
- package/dist/chunks/{mime-ntdyn9jn.js → command-de8rrxbc.js} +7 -7
- package/dist/chunks/{mime-hkcw1wdp.js → command-dmmjs2b8.js} +10 -10
- package/dist/chunks/{mime-z5yp79za.js → command-dt88errb.js} +9 -9
- package/dist/chunks/{mime-4kmd259e.js → command-dvqsfc3k.js} +9 -9
- package/dist/chunks/{mime-e052s0h1.js → command-dx63s7w1.js} +12 -12
- package/dist/chunks/{mime-9jb0tq3v.js → command-dzcz3c2s.js} +36 -36
- package/dist/chunks/{mime-n80xx9fb.js → command-e7sdhxas.js} +20 -20
- package/dist/chunks/{mime-e82z9tr0.js → command-e82z9tr0.js} +1 -1
- package/dist/chunks/{mime-6thzw8pj.js → command-ebc7h8jh.js} +4 -4
- package/dist/chunks/{mime-6evh74rk.js → command-ehzj4vhg.js} +15 -15
- package/dist/chunks/{mime-z69s9t6b.js → command-en74w496.js} +5 -5
- package/dist/chunks/{mime-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-yp2x3t23.js → command-f2n192rq.js} +4 -4
- package/dist/chunks/{mime-3w9pc8m5.js → command-f4pamck6.js} +15 -15
- package/dist/chunks/{mime-f828m53h.js → command-f828m53h.js} +2 -2
- package/dist/chunks/{mime-qh42d1qk.js → command-farf7nq9.js} +11 -11
- package/dist/chunks/{mime-t8jgb82e.js → command-fer3tpfm.js} +11 -11
- package/dist/chunks/{mime-fbn4bmmr.js → command-fgxdmbj2.js} +172 -172
- package/dist/chunks/{mime-kgbwk399.js → command-fwcwebn7.js} +3 -3
- package/dist/chunks/{mime-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{mime-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-gdvy8fx6.js → command-gdvy8fx6.js} +1 -1
- package/dist/chunks/{mime-e4ffge7e.js → command-gepnxnka.js} +11 -11
- package/dist/chunks/{mime-wd39cpyz.js → command-gfc9zyvq.js} +20 -20
- package/dist/chunks/{mime-m86bnw2c.js → command-gsx0ryk4.js} +9 -9
- package/dist/chunks/{mime-fgh0kbhd.js → command-gt0cxfk7.js} +1 -1
- package/dist/chunks/{mime-h03wrkyp.js → command-h03wrkyp.js} +2 -2
- package/dist/chunks/{mime-t68d5vfj.js → command-h113rvhb.js} +46 -46
- package/dist/chunks/{mime-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-kmehkn3p.js → command-h9nzt5cp.js} +17 -17
- package/dist/chunks/{mime-9hhm4v0k.js → command-hcxgcq81.js} +7 -7
- package/dist/chunks/{mime-147dq4v0.js → command-hdt6myfc.js} +25 -25
- package/dist/chunks/{mime-bajakh74.js → command-hfdr1yjj.js} +4 -4
- package/dist/chunks/{mime-dtbtf822.js → command-hgdt9556.js} +17 -17
- package/dist/chunks/{mime-2yfv78r4.js → command-hh0vmts5.js} +11 -11
- package/dist/chunks/{mime-c9q78346.js → command-hm0hsyzs.js} +42 -42
- package/dist/chunks/{mime-s90d8d6b.js → command-hwe7x4em.js} +6 -6
- package/dist/chunks/{mime-dz9f79na.js → command-hxvm7zmc.js} +4 -4
- package/dist/chunks/{mime-amc1cbdz.js → command-hzcxg4q9.js} +16 -16
- package/dist/chunks/{mime-wthcjz8p.js → command-j052dg5b.js} +16 -16
- package/dist/chunks/{mime-j311gd59.js → command-j5208yae.js} +7 -7
- package/dist/chunks/{mime-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-mk80x0zp.js → command-j7nbk787.js} +32 -32
- package/dist/chunks/{mime-paphc93g.js → command-j935v87r.js} +2 -2
- package/dist/chunks/{mime-2x0nmk7c.js → command-j9vx3v9v.js} +24 -24
- package/dist/chunks/{mime-5fasw0a0.js → command-jh9frvw6.js} +7 -7
- package/dist/chunks/{mime-fygdb7h7.js → command-jhetwysa.js} +3 -3
- package/dist/chunks/{mime-9k65wgt7.js → command-jjc29zvc.js} +24 -24
- package/dist/chunks/{mime-zv0815bp.js → command-jm23p7wd.js} +21 -21
- package/dist/chunks/{mime-ec8389mk.js → command-jva4mgym.js} +4 -4
- package/dist/chunks/{mime-xw0r27ex.js → command-jvf3yq6v.js} +4 -4
- package/dist/chunks/{mime-wz2xtaq2.js → command-jxpa08fn.js} +20 -20
- package/dist/chunks/{mime-8j021b5c.js → command-jym9kedx.js} +10 -10
- package/dist/chunks/{mime-g4m1ed26.js → command-jz5y6dvz.js} +24 -24
- package/dist/chunks/{mime-w6zk8pbt.js → command-k0nnq3t9.js} +6 -6
- package/dist/chunks/{mime-844ef7ks.js → command-kbmmzrfa.js} +8 -8
- package/dist/chunks/{mime-s43xmd6b.js → command-kd4mv8p1.js} +25 -25
- package/dist/chunks/{mime-1awm1f41.js → command-keyg98zt.js} +10 -10
- package/dist/chunks/{mime-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{mime-bcnz578n.js → command-kh9gj6fg.js} +2 -2
- package/dist/chunks/{mime-vaa0ttwg.js → command-kqvbfj3r.js} +7 -7
- package/dist/chunks/{mime-ks2pnnqs.js → command-ksdnvjw1.js} +19 -19
- package/dist/chunks/{mime-k55zexpw.js → command-kyrc5g5p.js} +3 -3
- package/dist/chunks/{mime-wj4n53es.js → command-kzxpw37x.js} +25 -25
- package/dist/chunks/{mime-7myc9s23.js → command-m3wyk9nc.js} +8 -8
- package/dist/chunks/{mime-mvnqeezz.js → command-m9tpa25m.js} +24 -24
- package/dist/chunks/{mime-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
- package/dist/chunks/{mime-bkx4j9d8.js → command-msjfgnq6.js} +9 -9
- package/dist/chunks/{mime-b56d0mkq.js → command-mzfawknz.js} +20 -20
- package/dist/chunks/{mime-j08ms6kj.js → command-n4fdf33j.js} +9 -9
- package/dist/chunks/{mime-k3exstdw.js → command-naqvy1vc.js} +9 -9
- package/dist/chunks/{mime-gvwamc12.js → command-nedyw519.js} +16 -16
- package/dist/chunks/{mime-14v24y0y.js → command-nfhmz961.js} +9 -9
- package/dist/chunks/{mime-ey35sjvt.js → command-nmxjcnz2.js} +4 -4
- package/dist/chunks/{mime-4srsap5e.js → command-nsk5ybg9.js} +13 -13
- package/dist/chunks/{mime-9yrjndkh.js → command-pbe99m00.js} +43 -43
- package/dist/chunks/{mime-54kdt99r.js → command-pbtsv70y.js} +8 -8
- package/dist/chunks/{mime-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{mime-y67sb11d.js → command-pt50yj7n.js} +15 -15
- package/dist/chunks/{mime-0cxtbk44.js → command-q3e3pxrn.js} +2 -2
- package/dist/chunks/{mime-3j7fvqyb.js → command-qkwnakvm.js} +12 -12
- package/dist/chunks/{mime-bw0vgseb.js → command-qm7jrdpz.js} +5 -5
- package/dist/chunks/{mime-7y5rpdmb.js → command-qn2q96g0.js} +24 -24
- package/dist/chunks/{mime-v88tv166.js → command-qpt82rvw.js} +4 -4
- package/dist/chunks/{mime-5ymgv7yt.js → command-qq9xggvz.js} +6 -6
- package/dist/chunks/{mime-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-ambtdzxj.js → command-qx3fns1j.js} +37 -37
- package/dist/chunks/{mime-gmwqsgsq.js → command-qx4eckdq.js} +22 -22
- package/dist/chunks/{mime-zx76pqxb.js → command-qxnh841b.js} +12 -12
- package/dist/chunks/{mime-r5x6zcsm.js → command-r5x6zcsm.js} +1 -1
- package/dist/chunks/{mime-qme7tjp0.js → command-r5zgsrw8.js} +41 -41
- package/dist/chunks/{mime-00z3vp5f.js → command-r98e92ep.js} +4 -4
- package/dist/chunks/{mime-kt2sgyks.js → command-rf1gapgg.js} +37 -37
- package/dist/chunks/command-rq3zbgk8.js +22 -0
- package/dist/chunks/{mime-2g7hz5m3.js → command-rryqg9dq.js} +11 -11
- package/dist/chunks/{mime-ep72rke2.js → command-rwatm0mm.js} +10 -10
- package/dist/chunks/{mime-43k15f45.js → command-rz527k5r.js} +4 -4
- package/dist/chunks/{mime-6tg78grf.js → command-s1hyvedr.js} +20 -20
- package/dist/chunks/{mime-yrznvahk.js → command-s4enseaf.js} +2 -2
- package/dist/chunks/{mime-0ncv4ata.js → command-s6c8tzhk.js} +30 -30
- package/dist/chunks/{mime-dn9h7eav.js → command-s8adj76m.js} +8 -8
- package/dist/chunks/{mime-t550f9t1.js → command-s8d7rejh.js} +4 -4
- package/dist/chunks/{mime-34qkk49m.js → command-s8x2ny25.js} +28 -28
- package/dist/chunks/{mime-serrjkd9.js → command-se0tgtr4.js} +18 -18
- package/dist/chunks/{mime-e53bzx64.js → command-snt4nv2a.js} +13 -13
- package/dist/chunks/{mime-q8a4xmw6.js → command-sp31zz3t.js} +33 -33
- package/dist/chunks/{mime-4avrx5wd.js → command-spwgk4wz.js} +16 -16
- package/dist/chunks/{mime-bgs9y14h.js → command-sqbb0ctm.js} +5 -5
- package/dist/chunks/{mime-kkzk1ten.js → command-st4t0jjg.js} +2 -2
- package/dist/chunks/{mime-skxbarzk.js → command-sxyb6qad.js} +4 -4
- package/dist/chunks/{mime-f8q7mv7a.js → command-t8mcaem5.js} +1 -1
- package/dist/chunks/{mime-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-nzccrkwj.js → command-tc265fkx.js} +5 -5
- package/dist/chunks/{mime-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{mime-gv6a8nnw.js → command-th5km1p3.js} +5 -5
- package/dist/chunks/{mime-8esnxs8p.js → command-tjsj89dc.js} +2 -2
- package/dist/chunks/{mime-4k0jqa6e.js → command-tknkg6rx.js} +21 -21
- package/dist/chunks/{mime-w5gt5bhe.js → command-tkzgmprh.js} +25 -25
- package/dist/chunks/{mime-yz1nfdta.js → command-tqnq6q5q.js} +17 -17
- package/dist/chunks/{mime-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-zq4dpeeb.js → command-v07j1kge.js} +54 -54
- package/dist/chunks/{mime-ted8n9gy.js → command-v48pvb4n.js} +11 -11
- package/dist/chunks/{mime-kg5pa6va.js → command-v8k1872w.js} +8 -8
- package/dist/chunks/{mime-x6n2md0c.js → command-vcxc4q3p.js} +4 -4
- package/dist/chunks/{mime-tpkndvr8.js → command-vd8e5h8f.js} +28 -28
- package/dist/chunks/{mime-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-eq23s0y6.js → command-vmq7ehpy.js} +5 -5
- package/dist/chunks/{mime-5k3vsv6f.js → command-vmysjhj7.js} +10 -10
- package/dist/chunks/{mime-84she4hh.js → command-vpt86awd.js} +12 -12
- package/dist/chunks/{mime-zhcrb8m7.js → command-vragf7xq.js} +11 -11
- package/dist/chunks/{mime-hz30zgkd.js → command-vxwzppst.js} +9 -9
- package/dist/chunks/{mime-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-wmv9egk5.js → command-w17k3rsr.js} +17 -17
- package/dist/chunks/{mime-2vnwx32a.js → command-w2q9x1k3.js} +8 -8
- package/dist/chunks/{mime-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-rss6435k.js → command-w6a1w976.js} +12 -12
- package/dist/chunks/{mime-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{mime-gprxcdde.js → command-wfbxv8er.js} +5 -5
- package/dist/chunks/{mime-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-x43y2vfs.js → command-x43y2vfs.js} +2 -2
- package/dist/chunks/{mime-92d7yd67.js → command-xe22fbq9.js} +12 -12
- package/dist/chunks/{mime-6a3xk1zp.js → command-xj439p2s.js} +11 -11
- package/dist/chunks/{mime-hspqza3a.js → command-xnk8ss56.js} +36 -36
- package/dist/chunks/{mime-q931v04c.js → command-xzja1t39.js} +5 -5
- package/dist/chunks/{mime-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-hg23ad5h.js → command-y22f4a62.js} +12 -12
- package/dist/chunks/{mime-dpkg50ah.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{mime-qq2f46q1.js → command-yg5c8d2j.js} +28 -28
- package/dist/chunks/{mime-dx3qdj35.js → command-ygakqxjr.js} +24 -24
- package/dist/chunks/{mime-gnc7jk76.js → command-ygtg2ex0.js} +24 -24
- package/dist/chunks/{mime-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-hwk9ssg6.js → command-yrwypdbr.js} +22 -22
- package/dist/chunks/{mime-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-dep21bfz.js → command-z1f4gy9p.js} +6 -6
- package/dist/chunks/{mime-retsea61.js → command-z7vtm5t9.js} +86 -86
- package/dist/chunks/{mime-pteysx26.js → command-z9g6acw9.js} +6 -6
- package/dist/chunks/{mime-ktvgb8nj.js → command-zc36c13q.js} +30 -30
- package/dist/chunks/{mime-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-6nrqe4y5.js → command-zfsxp10c.js} +5 -5
- package/dist/chunks/{mime-j9rw4vtk.js → command-zg7s7pjs.js} +18 -18
- package/dist/chunks/{mime-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-72dg5627.js → command-ztzqvfjg.js} +16 -16
- package/dist/chunks/{mime-f8zs2stk.js → command-zx4qqgq6.js} +11 -11
- package/dist/chunks/{mime-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-ksz0h0wp.js → command-zxwpk2nb.js} +1 -1
- package/dist/chunks/{mime-7ha57z4m.js → command-zy3h4kss.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +81 -81
- package/dist/database/database.js +64 -64
- 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.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 +362 -362
- 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 +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 +89 -89
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- 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 +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- 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 +97 -97
- 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 +5 -5
- package/dist/plugin/internal.js +324 -324
- 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 +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +2 -2
- 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 +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- 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 +123 -123
- 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 +15 -15
- 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 +88 -88
- 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 +126 -126
- 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 +223 -223
- 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 +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- 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 +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/mime-sy7rm5tp.js +0 -247
- package/dist/chunks/mime-v1faaxn9.js +0 -18
- package/dist/chunks/mime-xrsqh21y.js +0 -4
- package/dist/chunks/mime-zdjxcwde.js +0 -22
- /package/dist/chunks/{mime-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./command-qn2q96g0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./command-86g4d0kj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./command-hdt6myfc.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin26 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service53;
|
|
53
|
+
const forms = yield* Service75;
|
|
54
|
+
const websearch = yield* Service15;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name7];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name7, NO_RESULTS2, description5, Input7, Plugin26, exports_websearch2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-s8d7rejh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID6,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service49,
|
|
13
|
+
node52
|
|
14
|
+
} from "./command-jz5y6dvz.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
20
|
var exports_instructions3 = {};
|
|
21
21
|
__export(exports_instructions3, {
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service33,
|
|
23
23
|
SkillInstructions: () => exports_instructions3,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node38
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID6,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,17 +60,17 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service33 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service49;
|
|
67
|
+
return Service33.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
73
|
+
return make21({
|
|
74
74
|
key: Key3.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node38 = makeLocationNode({ service: Service33, layer, deps: [node52] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service33, node38, exports_instructions3 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node55
|
|
5
|
+
} from "./command-fer3tpfm.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-88sz8qcd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service62,
|
|
12
|
+
node67
|
|
13
|
+
} from "./command-w2q9x1k3.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-86g4d0kj.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-rryqg9dq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./command-jjc29zvc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service30,
|
|
25
|
+
node35
|
|
26
|
+
} from "./command-xj439p2s.js";
|
|
27
27
|
import {
|
|
28
28
|
make13
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-e82z9tr0.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-b3wkxfg9.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./command-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service29,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer12,
|
|
45
|
+
node: () => node34,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
|
|
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
189
189
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
190
190
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
191
191
|
|
|
192
|
-
class
|
|
192
|
+
class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
const hooks = yield*
|
|
196
|
-
const transport = yield*
|
|
194
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
195
|
+
const hooks = yield* Service62;
|
|
196
|
+
const transport = yield* Service30;
|
|
197
197
|
const app = yield* Metadata2;
|
|
198
198
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
199
199
|
const session = input.scope.session;
|
|
@@ -201,7 +201,7 @@ var layer8 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
201
201
|
const model = resolved.model;
|
|
202
202
|
const tools = input.scope.tools ?? {
|
|
203
203
|
definitions: [],
|
|
204
|
-
execute: () => new
|
|
204
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
205
205
|
};
|
|
206
206
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
207
207
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -261,12 +261,12 @@ var layer8 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
261
261
|
executeTool
|
|
262
262
|
};
|
|
263
263
|
});
|
|
264
|
-
return
|
|
264
|
+
return Service29.of({ prepare });
|
|
265
265
|
}));
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
266
|
+
var node34 = makeLocationNode({
|
|
267
|
+
service: Service29,
|
|
268
|
+
layer: layer12,
|
|
269
|
+
deps: [node67, node35, node55]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
272
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service29, layer12, node34, exports_model_request };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-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: () => Info23,
|
|
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 Info23 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info23, exports_mcp5 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service50,
|
|
3
|
+
node53,
|
|
4
|
+
canonical2
|
|
5
|
+
} from "./command-xe22fbq9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service44,
|
|
8
|
+
node47
|
|
9
|
+
} from "./command-hwe7x4em.js";
|
|
10
10
|
import {
|
|
11
11
|
layer2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-d3ggx689.js";
|
|
13
13
|
|
|
14
14
|
// src/location-services.ts
|
|
15
15
|
import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
16
16
|
function buildLocationServiceMap2(replacements = []) {
|
|
17
|
-
return Layer.effect(
|
|
17
|
+
return Layer.effect(Service50, Effect.gen(function* () {
|
|
18
18
|
const owner = yield* Effect.scope;
|
|
19
19
|
const booting = MutableHashMap.empty();
|
|
20
20
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -32,21 +32,21 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
32
32
|
}, { idleTimeToLive: Duration.infinity });
|
|
33
33
|
const map = {
|
|
34
34
|
...inner,
|
|
35
|
-
get: (ref) => inner.get(
|
|
36
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
37
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
35
|
+
get: (ref) => inner.get(canonical2(ref)),
|
|
36
|
+
contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
|
|
37
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
|
|
38
38
|
invalidate: (ref) => Effect.suspend(() => {
|
|
39
|
-
const key =
|
|
39
|
+
const key = canonical2(ref);
|
|
40
40
|
MutableHashMap.remove(booting, key);
|
|
41
41
|
return inner.invalidate(key);
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
const bindings = [
|
|
45
|
-
|
|
45
|
+
node47.replace(Layer.succeed(Service44, {
|
|
46
46
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
47
47
|
})),
|
|
48
48
|
...replacements,
|
|
49
|
-
|
|
49
|
+
node53.replace(Layer.succeed(Service50, map))
|
|
50
50
|
];
|
|
51
51
|
return map;
|
|
52
52
|
}));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-5epte933.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-5xp4z8zk.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-s8d7rejh.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-hfdr1yjj.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-88sz8qcd.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load2,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load2 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load2, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-hxvm7zmc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./command-yg5c8d2j.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service67,
|
|
15
|
+
node72
|
|
16
|
+
} from "./command-hgdt9556.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node63
|
|
20
|
+
} from "./command-m9tpa25m.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service75,
|
|
24
|
+
node80
|
|
25
|
+
} from "./command-qn2q96g0.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node79
|
|
35
|
+
} from "./command-bjy2htfa.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./command-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: () => Service36,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool2,
|
|
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: () => node40
|
|
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: ID13.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -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 Service36 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(Service36, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service67;
|
|
178
|
+
const environment = yield* Service59;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service75;
|
|
181
|
+
const integration = yield* Service74;
|
|
182
|
+
const credentials = yield* Service77;
|
|
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 layer12 = (options) => Layer.effect(Service23, 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 = ID13.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer12 = (options) => Layer.effect(Service23, 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 layer12 = (options) => Layer.effect(Service23, 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 = ID14.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer12 = (options) => Layer.effect(Service23, 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(Service59, 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 layer12 = (options) => Layer.effect(Service23, 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(Event19.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 layer12 = (options) => Layer.effect(Service23, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service36.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer12 = (options) => Layer.effect(Service23, 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: Service36,
|
|
713
|
+
layer: layer16(options),
|
|
714
|
+
deps: [node72, node63, node84, node80, node79, node82]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node40 = 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, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options5, layer16, configured5, node40, exports_mcp4 };
|