@opencode/core 0.0.0-dev-19337 → 0.0.0-dev-19338
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 +81 -81
- 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/{credential-1dfhrqqs.js → location-services-0hpxrkyb.js} +5 -5
- package/dist/chunks/{credential-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-151mpj9e.js → location-services-0wd6em3j.js} +10 -10
- package/dist/chunks/{credential-5gnvgr1s.js → location-services-0zj4cm3y.js} +35 -35
- package/dist/chunks/{credential-vsa2623n.js → location-services-11m7nw5e.js} +22 -22
- package/dist/chunks/{credential-b5hymcep.js → location-services-15v2jbpx.js} +10 -10
- package/dist/chunks/{credential-79ygexg1.js → location-services-162h2cbr.js} +10 -10
- package/dist/chunks/{credential-jvmxcf50.js → location-services-16td4x31.js} +9 -9
- package/dist/chunks/{credential-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-cbqmp7b7.js → location-services-1mapar6n.js} +20 -20
- package/dist/chunks/{credential-jj6pqn3w.js → location-services-1qdk8c0g.js} +1 -1
- package/dist/chunks/{credential-1ygqh575.js → location-services-1ygqh575.js} +2 -2
- package/dist/chunks/{credential-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{credential-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{credential-hyj2vz80.js → location-services-24sbpj7j.js} +4 -4
- package/dist/chunks/{credential-vyje1mnf.js → location-services-27j8ahm1.js} +17 -17
- package/dist/chunks/{credential-8483wvpx.js → location-services-27x26mvx.js} +7 -7
- package/dist/chunks/{credential-h1z6jwhd.js → location-services-28fzndev.js} +25 -25
- package/dist/chunks/{credential-mhayska3.js → location-services-28pzpvq0.js} +6 -6
- package/dist/chunks/{credential-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-wfr0f2wv.js → location-services-2acm1nys.js} +54 -54
- package/dist/chunks/{credential-v6pdazz0.js → location-services-2m4pqqb5.js} +36 -36
- package/dist/chunks/{credential-fyjrpq2n.js → location-services-2m8nxcnz.js} +5 -5
- package/dist/chunks/{credential-j10vveh1.js → location-services-2wdxjxp6.js} +6 -6
- package/dist/chunks/{credential-6gdcbxbt.js → location-services-2xwaa7cw.js} +5 -5
- package/dist/chunks/{credential-a2tdmfa4.js → location-services-2z317dgv.js} +21 -21
- package/dist/chunks/{credential-z3pw5915.js → location-services-37s12vcn.js} +5 -5
- package/dist/chunks/{credential-0pyqcms3.js → location-services-380vjcmd.js} +1 -1
- package/dist/chunks/{credential-1j4x7018.js → location-services-38acbevk.js} +33 -33
- package/dist/chunks/{credential-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-f0yr6nyc.js → location-services-3wy413zp.js} +23 -23
- package/dist/chunks/{credential-xzr3fv1j.js → location-services-3xwj35jq.js} +7 -7
- package/dist/chunks/{credential-shh6fz4q.js → location-services-3ythc6yv.js} +4 -4
- package/dist/chunks/{credential-ng5shs3s.js → location-services-4b6bntqd.js} +1 -1
- package/dist/chunks/{credential-egqpk7m0.js → location-services-4gp2y10s.js} +10 -10
- package/dist/chunks/{credential-2jhbac8t.js → location-services-4k845csn.js} +20 -20
- package/dist/chunks/location-services-4v7qdvcn.js +18 -0
- package/dist/chunks/{credential-4css7a44.js → location-services-4zsc87zk.js} +12 -12
- package/dist/chunks/{credential-hcz3zddy.js → location-services-510m7gjw.js} +5 -5
- package/dist/chunks/{credential-nahk2kxe.js → location-services-51t4ys7s.js} +24 -24
- package/dist/chunks/{credential-0bnjtszc.js → location-services-55bzypr0.js} +11 -11
- package/dist/chunks/{credential-r4k4q95n.js → location-services-5bfzavyb.js} +41 -41
- package/dist/chunks/{credential-e4bvg1nj.js → location-services-5bzad00n.js} +16 -16
- package/dist/chunks/{credential-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-qmthdazp.js → location-services-5dcgz3aq.js} +16 -16
- package/dist/chunks/{credential-rc4v7jdw.js → location-services-5etegeke.js} +3 -3
- package/dist/chunks/{credential-e8184ah6.js → location-services-5fs5z9r9.js} +162 -162
- package/dist/chunks/{credential-mx65tve6.js → location-services-5kh2vy3t.js} +30 -30
- package/dist/chunks/{credential-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-17qwwr3r.js → location-services-5vm6jgpp.js} +15 -15
- package/dist/chunks/{credential-wvhct48y.js → location-services-6320hmrj.js} +20 -20
- package/dist/chunks/{credential-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/location-services-6753kygg.js +22 -0
- package/dist/chunks/{credential-98408z27.js → location-services-6c1jg7x4.js} +32 -32
- package/dist/chunks/{credential-qz49fwgp.js → location-services-6ersrjne.js} +4 -4
- package/dist/chunks/{credential-zrrbqdrq.js → location-services-6fjmxycd.js} +32 -32
- package/dist/chunks/{credential-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-pc200wed.js → location-services-6sj05tzn.js} +8 -8
- package/dist/chunks/{credential-jx42jpcz.js → location-services-6y3njc5p.js} +11 -11
- package/dist/chunks/{credential-n6avr4zf.js → location-services-6z6w9rms.js} +6 -6
- package/dist/chunks/{credential-1b5rdxkb.js → location-services-6zkt8sc0.js} +11 -11
- package/dist/chunks/{credential-71q4at8m.js → location-services-71q4at8m.js} +1 -1
- package/dist/chunks/{credential-1bbkgx8g.js → location-services-73tb2d7t.js} +3 -3
- package/dist/chunks/{credential-55r4thj5.js → location-services-78hqr335.js} +4 -4
- package/dist/chunks/{credential-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-ahcp8nkf.js → location-services-7f4cfqjs.js} +3 -3
- package/dist/chunks/{credential-73t188jy.js → location-services-7j2qha59.js} +8 -8
- package/dist/chunks/{credential-gp1yc2vx.js → location-services-7vc3mrhj.js} +12 -12
- package/dist/chunks/{credential-k8r06fnw.js → location-services-7ybwwvvx.js} +3 -3
- package/dist/chunks/{credential-jefma2gq.js → location-services-7zdm33ac.js} +10 -10
- package/dist/chunks/{credential-fw4rsm43.js → location-services-85fsg3cm.js} +24 -24
- package/dist/chunks/{credential-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-stb366ab.js → location-services-8k3jg3eh.js} +17 -17
- package/dist/chunks/{credential-x0srfm87.js → location-services-8ncan3qx.js} +18 -18
- package/dist/chunks/{credential-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/location-services-8rfyvjw4.js +462 -0
- package/dist/chunks/{credential-vr2q3kmy.js → location-services-8y62cfgq.js} +6 -6
- package/dist/chunks/{credential-5w5ha1nc.js → location-services-9jzbrzc0.js} +7 -7
- package/dist/chunks/{credential-cqwj9awd.js → location-services-9kvjnr81.js} +25 -25
- package/dist/chunks/{credential-8meg8dre.js → location-services-9n75fd9y.js} +9 -9
- package/dist/chunks/{credential-h32nz7rm.js → location-services-9pfdanbq.js} +18 -18
- package/dist/chunks/{credential-yjc83x66.js → location-services-9r2qpqkx.js} +25 -25
- package/dist/chunks/{credential-w8gzpttc.js → location-services-9z8a7pbd.js} +16 -16
- package/dist/chunks/{credential-0996nyz8.js → location-services-9zswys26.js} +9 -9
- package/dist/chunks/{credential-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{credential-vgcq2s3r.js → location-services-a5abhest.js} +10 -10
- package/dist/chunks/{credential-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-b8s54zd1.js → location-services-at0srrj9.js} +17 -17
- package/dist/chunks/{credential-nkz5kzvr.js → location-services-at5nfy9r.js} +20 -20
- package/dist/chunks/{credential-eere18dq.js → location-services-avay8ehz.js} +5 -5
- package/dist/chunks/{credential-abkdt1xb.js → location-services-b2jx7zxs.js} +1 -1
- package/dist/chunks/{credential-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-bct739vz.js → location-services-bct739vz.js} +1 -1
- package/dist/chunks/{credential-5e20nh0k.js → location-services-bdetpt2n.js} +11 -11
- package/dist/chunks/{credential-2tfmgkzg.js → location-services-bha4atvq.js} +4 -4
- package/dist/chunks/{credential-31dzdahz.js → location-services-brzmmewp.js} +3 -3
- package/dist/chunks/{credential-pjedbq3k.js → location-services-bscb95cy.js} +4 -4
- package/dist/chunks/{credential-exydcs1h.js → location-services-bt4gwd2t.js} +18 -18
- package/dist/chunks/{credential-gg9d5pah.js → location-services-btas0783.js} +16 -16
- package/dist/chunks/{credential-tdw0q9zr.js → location-services-btq6dtd4.js} +29 -29
- package/dist/chunks/{credential-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{credential-cb5dpwd3.js → location-services-cpq8mvz9.js} +40 -40
- package/dist/chunks/{credential-mtft99cd.js → location-services-cr07tj7n.js} +5 -5
- package/dist/chunks/{credential-9a1bzkpj.js → location-services-d5mjh5gn.js} +12 -12
- package/dist/chunks/{credential-dnba0na5.js → location-services-dpwabj80.js} +8 -8
- package/dist/chunks/{credential-nc3q5shn.js → location-services-dqm30p7h.js} +80 -80
- package/dist/chunks/{credential-y91nxhfn.js → location-services-drbyteps.js} +13 -13
- package/dist/chunks/{credential-5hrkz7py.js → location-services-dt8w12tc.js} +4 -4
- package/dist/chunks/{credential-fbp1d1k7.js → location-services-dvanp92t.js} +20 -20
- package/dist/chunks/{credential-hhf650b6.js → location-services-dxea83ar.js} +20 -20
- package/dist/chunks/{credential-40wszbrc.js → location-services-dxth83mh.js} +43 -43
- package/dist/chunks/{credential-npsw1jjn.js → location-services-dyp5k833.js} +15 -15
- package/dist/chunks/{credential-m4vn3qv8.js → location-services-dzx5qajy.js} +17 -17
- package/dist/chunks/{credential-3gfpy94r.js → location-services-e2dtrqwf.js} +46 -46
- package/dist/chunks/{credential-mj233eqc.js → location-services-e4zvp2f4.js} +16 -16
- package/dist/chunks/{credential-28prswrc.js → location-services-e7p6faa2.js} +9 -9
- package/dist/chunks/{credential-eaj1djv9.js → location-services-eaj1djv9.js} +1 -1
- package/dist/chunks/{credential-w031r0ta.js → location-services-eebkyynq.js} +15 -15
- package/dist/chunks/{credential-h74ge2a2.js → location-services-ep6z9mt6.js} +11 -11
- package/dist/chunks/{credential-hrj4tf28.js → location-services-eq4p078r.js} +3 -3
- package/dist/chunks/{credential-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-y8ztsxtk.js → location-services-ex5k2c35.js} +9 -9
- package/dist/chunks/{credential-2998kf83.js → location-services-f5bs5vv8.js} +51 -51
- package/dist/chunks/{credential-hdnk95c8.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{credential-c3xdpmrh.js → location-services-f9yp8s8r.js} +11 -11
- package/dist/chunks/{credential-2566302p.js → location-services-fafkyc6a.js} +7 -7
- package/dist/chunks/{credential-wnbzzbw2.js → location-services-fbtcayzh.js} +9 -9
- package/dist/chunks/{credential-a2ew8a62.js → location-services-fdv30zvt.js} +7 -7
- package/dist/chunks/{credential-2tw57gz0.js → location-services-fk8q8cg8.js} +11 -11
- package/dist/chunks/{credential-mkw2wvv0.js → location-services-fnhdbvfa.js} +12 -12
- package/dist/chunks/{credential-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-qzteyjp0.js → location-services-g09rc90z.js} +15 -15
- package/dist/chunks/{credential-2nbt55tc.js → location-services-g2y161wv.js} +6 -6
- package/dist/chunks/{credential-526v470z.js → location-services-g3599gw0.js} +2 -2
- package/dist/chunks/{credential-eg6kvm4e.js → location-services-gacdy71v.js} +31 -31
- package/dist/chunks/{credential-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-3fc6dm20.js → location-services-gdvy8fx6.js} +4 -4
- package/dist/chunks/{credential-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{credential-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-rxhbz9hr.js → location-services-h1n238ac.js} +4 -4
- package/dist/chunks/{credential-e1pb9r1r.js → location-services-h4r1yjny.js} +32 -32
- package/dist/chunks/{credential-1hanh0e3.js → location-services-h5e374w5.js} +17 -17
- package/dist/chunks/{credential-g3nd3rk8.js → location-services-h5pwjbm9.js} +10 -10
- package/dist/chunks/{credential-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-ddtk0mvx.js → location-services-h9zmmqvn.js} +10 -10
- package/dist/chunks/{credential-nhy5jxhy.js → location-services-hjt4xg1x.js} +4 -4
- package/dist/chunks/{credential-ahymmsbp.js → location-services-hpdzznjk.js} +19 -19
- package/dist/chunks/{credential-b9pe0b4x.js → location-services-hq4ymc60.js} +18 -18
- package/dist/chunks/{credential-eckjfj34.js → location-services-j1t1n678.js} +6 -6
- package/dist/chunks/{credential-d94m8qs1.js → location-services-j3xb24h1.js} +18 -18
- package/dist/chunks/{credential-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-q19fwqr8.js → location-services-j81s0rnf.js} +4 -4
- package/dist/chunks/{credential-j4m9dw8y.js → location-services-jh4j6rwm.js} +10 -10
- package/dist/chunks/{credential-p71dzhbg.js → location-services-jhz8yd6p.js} +10 -10
- package/dist/chunks/{credential-rp0q961h.js → location-services-jk10gy5t.js} +37 -37
- package/dist/chunks/{credential-st0tfbhf.js → location-services-jk9qnxpz.js} +29 -29
- package/dist/chunks/{credential-dqv7d9mx.js → location-services-jphykfrz.js} +18 -18
- package/dist/chunks/{credential-9p3b3m98.js → location-services-jtp7wgq3.js} +8 -8
- package/dist/chunks/{credential-rnwa6k7x.js → location-services-jzjzmfk7.js} +4 -4
- package/dist/chunks/{credential-rgcx19v1.js → location-services-k5rw4hnc.js} +22 -22
- package/dist/chunks/{credential-1adagaa7.js → location-services-k67g98nv.js} +23 -23
- package/dist/chunks/{credential-6ee1nj74.js → location-services-k8n37kmc.js} +7 -7
- package/dist/chunks/{credential-w2q9x1k3.js → location-services-ka2k270b.js} +8 -8
- package/dist/chunks/{credential-gf4qtxm6.js → location-services-kcwf74x3.js} +1 -1
- package/dist/chunks/{credential-jxzmtya1.js → location-services-kf1g5n2n.js} +30 -30
- package/dist/chunks/{credential-kg06axw8.js → location-services-kg06axw8.js} +1 -1
- package/dist/chunks/{credential-qdmm088d.js → location-services-kjd67z7p.js} +27 -27
- package/dist/chunks/{credential-r50xb6dr.js → location-services-kp0txnpa.js} +11 -11
- package/dist/chunks/{credential-q5zfzp2a.js → location-services-m48bak5g.js} +43 -43
- package/dist/chunks/{credential-pnv527nz.js → location-services-m86bnw2c.js} +5 -5
- package/dist/chunks/{credential-6va5e0hk.js → location-services-m9d2dprq.js} +24 -24
- package/dist/chunks/{credential-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-kk00bynn.js → location-services-magykp64.js} +21 -21
- package/dist/chunks/{credential-mkcjrzeh.js → location-services-mkcjrzeh.js} +1 -1
- package/dist/chunks/{credential-t5pp6k6z.js → location-services-mr60nntp.js} +4 -4
- package/dist/chunks/{credential-h4rz3t7g.js → location-services-mw0hasaz.js} +36 -36
- package/dist/chunks/{credential-rxzbznts.js → location-services-n4wjpn8n.js} +26 -26
- package/dist/chunks/{credential-p7m6avpa.js → location-services-n5ftgbap.js} +35 -35
- package/dist/chunks/{credential-9rdh6ewn.js → location-services-n5pps5m7.js} +5 -5
- package/dist/chunks/{credential-z2qvtray.js → location-services-ncqtmwmy.js} +4 -4
- package/dist/chunks/{credential-z8awfy9p.js → location-services-nmts8jzf.js} +13 -13
- package/dist/chunks/{credential-7y8s6rgk.js → location-services-ntzg9vqq.js} +32 -32
- package/dist/chunks/location-services-nzxgkcr5.js +247 -0
- package/dist/chunks/{credential-6jrdwt83.js → location-services-pa0527fm.js} +4 -4
- package/dist/chunks/{credential-64kphnzf.js → location-services-paegk39x.js} +4 -4
- package/dist/chunks/{credential-j935v87r.js → location-services-paphc93g.js} +2 -2
- package/dist/chunks/{credential-81swgkk7.js → location-services-pdqbsy2v.js} +7 -7
- package/dist/chunks/{credential-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{credential-0n3rk2gt.js → location-services-pswdd2t8.js} +14 -14
- package/dist/chunks/{credential-vyqtz9n7.js → location-services-q1c4k7jk.js} +1 -1
- package/dist/chunks/{credential-g7hryrp6.js → location-services-qe24w9vn.js} +16 -16
- package/dist/chunks/{credential-7dqw4kz8.js → location-services-qgn6gcr1.js} +5 -5
- package/dist/chunks/{credential-wrxgasq3.js → location-services-qq9z19f4.js} +20 -20
- package/dist/chunks/{credential-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-s2aq5fn4.js → location-services-qv2bye7a.js} +9 -9
- package/dist/chunks/{credential-71qmvsg5.js → location-services-qx1zvxc9.js} +8 -8
- package/dist/chunks/{credential-2a29v3a8.js → location-services-r537c3kh.js} +26 -26
- package/dist/chunks/{credential-p0sx4xrp.js → location-services-r69tr7x2.js} +43 -43
- package/dist/chunks/{credential-gh3h736b.js → location-services-rcxgw5yf.js} +11 -11
- package/dist/chunks/{credential-cd4mc13g.js → location-services-rstnkd3y.js} +1 -1
- package/dist/chunks/{credential-gb35scn0.js → location-services-s2qffcb7.js} +14 -14
- package/dist/chunks/{credential-bawspjyh.js → location-services-s2yb2sz1.js} +13 -13
- package/dist/chunks/{credential-249nn8tn.js → location-services-s3fqj7fn.js} +24 -24
- package/dist/chunks/{credential-rhhgd1jt.js → location-services-s9vxrr1q.js} +5 -5
- package/dist/chunks/{credential-6kqsmg0b.js → location-services-sh26c022.js} +25 -25
- package/dist/chunks/{credential-w4enfkwp.js → location-services-snjhnxkw.js} +16 -16
- package/dist/chunks/{credential-b0grxa7w.js → location-services-sqbb0ctm.js} +5 -5
- package/dist/chunks/{credential-z6rkfk30.js → location-services-szvm6efx.js} +17 -17
- package/dist/chunks/{credential-tz4n1mmd.js → location-services-t2az9yje.js} +4 -4
- package/dist/chunks/{credential-593yh7cm.js → location-services-t2w3xr5a.js} +2 -2
- package/dist/chunks/{credential-6qw5vjfk.js → location-services-t8r3ep1g.js} +5 -5
- package/dist/chunks/{credential-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-pn0ve21a.js → location-services-tc8mvhgg.js} +6 -6
- package/dist/chunks/{credential-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{credential-j9cg0esf.js → location-services-tfs8xndz.js} +85 -85
- package/dist/chunks/{credential-96h9wr4f.js → location-services-tjzgn1x1.js} +11 -11
- package/dist/chunks/{credential-fr2qe1q3.js → location-services-tmz1m10x.js} +6 -6
- package/dist/chunks/{credential-0y6fnfyn.js → location-services-tr9c2tdg.js} +16 -16
- package/dist/chunks/{credential-b1jm75xs.js → location-services-ts6t2md9.js} +13 -13
- package/dist/chunks/{credential-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-a5gt7g2r.js → location-services-twy35tz0.js} +9 -9
- package/dist/chunks/{credential-p6d8qxhz.js → location-services-txm7s3af.js} +52 -52
- package/dist/chunks/{credential-jh4fk4tf.js → location-services-ty4y3jpx.js} +18 -18
- package/dist/chunks/{credential-89spjjbp.js → location-services-v055rr52.js} +27 -27
- package/dist/chunks/{credential-w27d4nw8.js → location-services-v0qc9apc.js} +24 -24
- package/dist/chunks/{credential-et95z6r9.js → location-services-v17vgq8s.js} +30 -30
- package/dist/chunks/{credential-22rswy7q.js → location-services-v5fza2qm.js} +9 -9
- package/dist/chunks/{credential-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-7jdsj2a9.js → location-services-vjnb44yt.js} +3 -3
- package/dist/chunks/{credential-ja89yahs.js → location-services-vk1048p9.js} +12 -12
- package/dist/chunks/{credential-ghk9cxjs.js → location-services-vkez6a4k.js} +6 -6
- package/dist/chunks/{credential-dyhhrnbz.js → location-services-vqa79sa2.js} +8 -8
- package/dist/chunks/{credential-wptwfzfm.js → location-services-vxqn53pa.js} +22 -22
- package/dist/chunks/{credential-4jmdj23e.js → location-services-vyjzrkx0.js} +9 -9
- package/dist/chunks/{credential-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-98g7fywj.js → location-services-w28m7x89.js} +11 -11
- package/dist/chunks/{credential-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-j1etvyav.js → location-services-w76aks9p.js} +6 -6
- package/dist/chunks/{credential-gx1zhcta.js → location-services-w79zsp0s.js} +1 -1
- package/dist/chunks/{credential-gj6dbvth.js → location-services-wb0heqy3.js} +5 -5
- package/dist/chunks/{credential-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{credential-10es6fvg.js → location-services-wfjdd711.js} +2 -2
- package/dist/chunks/{credential-4rym0agr.js → location-services-wnttaxta.js} +22 -22
- package/dist/chunks/{credential-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-q26tgv94.js → location-services-x3et2xth.js} +8 -8
- package/dist/chunks/{credential-x43y2vfs.js → location-services-x43y2vfs.js} +2 -2
- package/dist/chunks/{credential-trjjxkd4.js → location-services-xdj7hph9.js} +11 -11
- package/dist/chunks/{credential-vqh4gwbt.js → location-services-xsa3sn4e.js} +23 -23
- package/dist/chunks/{credential-yww5gzhe.js → location-services-xsdh20fb.js} +5 -5
- package/dist/chunks/{credential-qdykr49y.js → location-services-xxdsfsv4.js} +27 -27
- package/dist/chunks/{credential-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-3gfv59ch.js → location-services-y3tjje57.js} +12 -12
- package/dist/chunks/{credential-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{credential-m1gz7xkc.js → location-services-y8nep4sr.js} +28 -28
- package/dist/chunks/{credential-enygcmwv.js → location-services-ycaafw61.js} +17 -17
- package/dist/chunks/{credential-5cnp842v.js → location-services-ycmd6xcg.js} +11 -11
- package/dist/chunks/{credential-6dtevzgb.js → location-services-yfq8zh9v.js} +61 -61
- package/dist/chunks/{credential-1acjjqhc.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{credential-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-s4enseaf.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{credential-3k31r9j9.js → location-services-yx9tt4ea.js} +11 -11
- package/dist/chunks/{credential-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-efhzxcq4.js → location-services-z43vqr8p.js} +24 -24
- package/dist/chunks/{credential-3x4a4zpr.js → location-services-z50tb7yx.js} +6 -6
- package/dist/chunks/{credential-29x78va6.js → location-services-z63w68vq.js} +6 -6
- package/dist/chunks/{credential-3fh0rg45.js → location-services-zdhmhzs2.js} +15 -15
- package/dist/chunks/{credential-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-nhvhf6q8.js → location-services-zerdtc7d.js} +6 -6
- package/dist/chunks/{credential-ntdnj22e.js → location-services-zgwwbszc.js} +15 -15
- package/dist/chunks/{credential-t0vv7hjv.js → location-services-znc92hjm.js} +39 -39
- package/dist/chunks/{credential-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-w7cj9ekx.js → location-services-zr33rhch.js} +4 -4
- package/dist/chunks/{credential-ac32kc2r.js → location-services-zr7mteb2.js} +25 -25
- package/dist/chunks/{credential-w09rpk5j.js → location-services-zw66t5ma.js} +7 -7
- package/dist/chunks/{credential-dp84dkzj.js → location-services-zwzjy0a1.js} +20 -20
- package/dist/chunks/{credential-zxq2ej10.js → location-services-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 +83 -83
- 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 +153 -153
- 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 +117 -117
- 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 +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 +362 -362
- 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 +86 -86
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +1 -1
- 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 +98 -98
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- 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 +350 -350
- package/dist/location.js +82 -82
- 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 +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 +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 +86 -86
- 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 +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 +343 -343
- package/dist/plugin/update.js +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- 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 +122 -122
- package/dist/session/generate.js +146 -146
- 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 +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- 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 +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 +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- 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 +209 -209
- 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 +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- 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 +96 -96
- 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 +204 -204
- package/dist/tool/plugin/webfetch.js +99 -99
- package/dist/tool/plugin/websearch.js +105 -105
- 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 +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +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 +1 -1
- 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 +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/credential-b01ntp0y.js +0 -462
- package/dist/chunks/credential-bqchtq7z.js +0 -247
- package/dist/chunks/credential-jrj2y5pk.js +0 -22
- package/dist/chunks/credential-rap9a73h.js +0 -18
- /package/dist/chunks/{credential-0mesazry.js → location-services-0mesazry.js} +0 -0
- /package/dist/chunks/{credential-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-j81s0rnf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event13,
|
|
10
|
+
Service63,
|
|
11
|
+
node67
|
|
12
|
+
} from "./location-services-y8nep4sr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service73,
|
|
15
|
+
node78
|
|
16
|
+
} from "./location-services-e4zvp2f4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service55,
|
|
19
19
|
node58
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-4k845csn.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID8,
|
|
23
|
+
Service62,
|
|
24
|
+
node66
|
|
25
|
+
} from "./location-services-n4wjpn8n.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service61,
|
|
34
|
+
node65
|
|
35
|
+
} from "./location-services-v0qc9apc.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-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: () => NotFoundError3,
|
|
45
|
+
Options: () => Options2,
|
|
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: () => Service23,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool2,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured2,
|
|
66
|
+
layer: () => layer11,
|
|
67
|
+
node: () => node27
|
|
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 Tool2 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 NotFoundError3 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 Service23 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options2 = 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 layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service73;
|
|
178
|
+
const environment = yield* Service55;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service62;
|
|
181
|
+
const integration = yield* Service61;
|
|
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 layer13 = (options) => Layer.effect(Service29, 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 layer13 = (options) => Layer.effect(Service29, 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 NotFoundError3({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service29, 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 layer13 = (options) => Layer.effect(Service29, 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 Tool2({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service29, 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(Service55, 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 layer13 = (options) => Layer.effect(Service29, 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(Event13.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 layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service23.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured2(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service23,
|
|
713
|
+
layer: layer11(options),
|
|
714
|
+
deps: [node78, node58, node84, node66, node65, node67]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node27 = configured2();
|
|
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, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service23, Options2, layer11, configured2, node27, exports_mcp4 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-7f4cfqjs.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service79,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-j81s0rnf.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update3
|
|
18
|
+
} from "./location-services-0hpxrkyb.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-8p4f9s12.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-a1bz86dw.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-services-6320hmrj.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-services-bha4atvq.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-services-tjzgn1x1.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-services-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-services-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -245,7 +245,7 @@ function run(db, event) {
|
|
|
245
245
|
updateCompaction: updateMessage,
|
|
246
246
|
appendMessage
|
|
247
247
|
};
|
|
248
|
-
yield*
|
|
248
|
+
yield* update3(adapter, event);
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
function insertMessage(db, event, message) {
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node31, exports_projector };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./location-services-e4zvp2f4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./location-services-8ncan3qx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./location-services-hpdzznjk.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./location-services-5dcgz3aq.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input8,
|
|
36
|
+
Plugin: () => Plugin23,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name8,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name8 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input8 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin23 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service36;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service73;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name8,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input8,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin20 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name8, Input8, Plugin23, toModelContent4, exports_read };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-j81s0rnf.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./location-services-y8nep4sr.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-n4wjpn8n.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
|
+
ID: () => ID7,
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service61,
|
|
43
|
+
node: () => node65
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/integration";
|
|
65
|
+
var ID7 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info20 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service61 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service63;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info20.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service61.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node65 = makeLocationNode({
|
|
569
|
+
service: Service61,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node67, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service61, node65, exports_integration, Event11 };
|