@opencode/core 0.0.0-dev-19335 → 0.0.0-dev-19336
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 +73 -73
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{integration-6hpga0xb.js → location-services-00v0w1pn.js} +25 -25
- package/dist/chunks/{integration-xq5vd1g3.js → location-services-0387ntk2.js} +15 -15
- package/dist/chunks/{integration-5c0f1prt.js → location-services-06dxphr1.js} +4 -4
- package/dist/chunks/{integration-wvmccxaf.js → location-services-0aqaye2v.js} +21 -21
- package/dist/chunks/location-services-0ckm5bhw.js +22 -0
- package/dist/chunks/{integration-nxhqveyz.js → location-services-0f9afca0.js} +5 -5
- package/dist/chunks/{integration-tz90ke85.js → location-services-0kghfr31.js} +36 -36
- package/dist/chunks/location-services-0mesazry.js +4 -0
- package/dist/chunks/{integration-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-5c6m6vsk.js → location-services-0qk6n2y7.js} +36 -36
- package/dist/chunks/{integration-hnr5yq9h.js → location-services-0r7yqxbf.js} +5 -5
- package/dist/chunks/{integration-5h4dzmft.js → location-services-12behdsj.js} +11 -11
- package/dist/chunks/{integration-6rb3844k.js → location-services-1at44jv2.js} +14 -14
- package/dist/chunks/{integration-54artk0j.js → location-services-1c4qjgv9.js} +1 -1
- package/dist/chunks/{integration-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-1dfhrqqs.js → location-services-1dfhrqqs.js} +2 -2
- package/dist/chunks/{integration-x1ngw0s8.js → location-services-1ktzqmb5.js} +15 -15
- package/dist/chunks/{integration-62yneyxz.js → location-services-1s1fbqj5.js} +14 -14
- package/dist/chunks/{integration-3t0sa62q.js → location-services-1sfmn0at.js} +20 -20
- package/dist/chunks/{integration-7q5gmfr7.js → location-services-1v3d03cy.js} +32 -32
- package/dist/chunks/{integration-3r0v66sm.js → location-services-1vb9fm0n.js} +32 -32
- package/dist/chunks/location-services-1x11rq2a.js +18 -0
- package/dist/chunks/{integration-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{integration-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{integration-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-8qcmgz3z.js → location-services-2q8h11r1.js} +9 -9
- package/dist/chunks/{integration-97c0fx89.js → location-services-30qzt7jy.js} +25 -25
- package/dist/chunks/{integration-2chp6tba.js → location-services-31zm1s50.js} +31 -31
- package/dist/chunks/{integration-77k3n89b.js → location-services-34na97t4.js} +4 -4
- package/dist/chunks/{integration-xfzgq77v.js → location-services-3am5m0cf.js} +21 -21
- package/dist/chunks/{integration-gdvy8fx6.js → location-services-3fc6dm20.js} +4 -4
- package/dist/chunks/{integration-wgts12ht.js → location-services-3g0xtcs6.js} +13 -13
- package/dist/chunks/{integration-01gcv941.js → location-services-3gt2xagq.js} +26 -26
- package/dist/chunks/{integration-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-1yvqcgns.js → location-services-3mmc2xt1.js} +11 -11
- package/dist/chunks/{integration-70z1vbrh.js → location-services-3rz3vg39.js} +57 -57
- package/dist/chunks/{integration-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-9fwp41vh.js → location-services-3tey5e4w.js} +10 -10
- package/dist/chunks/{integration-fegk541e.js → location-services-3tt1qkhr.js} +5 -5
- package/dist/chunks/{integration-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-evbgk2k8.js → location-services-3w0fmcng.js} +5 -5
- package/dist/chunks/{integration-j13s2yy7.js → location-services-3xh3zrfj.js} +10 -10
- package/dist/chunks/{integration-trn6vfc7.js → location-services-3znngwgn.js} +9 -9
- package/dist/chunks/{integration-psq2ts59.js → location-services-4crx14pj.js} +10 -10
- package/dist/chunks/{integration-zrrhsv9d.js → location-services-4eavgkwb.js} +8 -8
- package/dist/chunks/{integration-s49bppn0.js → location-services-4hzm3hzr.js} +69 -69
- package/dist/chunks/{integration-pqd1mzxt.js → location-services-4j4p0yst.js} +9 -9
- package/dist/chunks/{integration-hfqk3xwb.js → location-services-4pg6n0t4.js} +14 -14
- package/dist/chunks/{integration-nnffx9v7.js → location-services-4ttr90xy.js} +20 -20
- package/dist/chunks/{integration-d7cw8m3z.js → location-services-4wdwamv9.js} +18 -18
- package/dist/chunks/{integration-adgzdewx.js → location-services-4ycxm7c6.js} +18 -18
- package/dist/chunks/{integration-4j96gx1k.js → location-services-54td8zkb.js} +5 -5
- package/dist/chunks/{integration-1ygqh575.js → location-services-56gdpj1q.js} +9 -9
- package/dist/chunks/{integration-6rj0pkd8.js → location-services-5ap78ss6.js} +41 -41
- package/dist/chunks/{integration-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-jf14zfns.js → location-services-5thce3ah.js} +35 -35
- package/dist/chunks/{integration-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{integration-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-rnfsqz71.js → location-services-6nh5w358.js} +11 -11
- package/dist/chunks/{integration-nnf6b75y.js → location-services-6qtdhq9p.js} +32 -32
- package/dist/chunks/{integration-g7b0jb5m.js → location-services-6t5esrgx.js} +13 -13
- package/dist/chunks/{integration-mhb8h3pe.js → location-services-6wwkxy3b.js} +3 -3
- package/dist/chunks/{integration-71q4at8m.js → location-services-71q4at8m.js} +1 -1
- package/dist/chunks/{integration-11mqr01d.js → location-services-7amtd6bp.js} +13 -13
- package/dist/chunks/{integration-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-0fcsp1cp.js → location-services-7dh69f0v.js} +7 -7
- package/dist/chunks/{integration-qgn6gcr1.js → location-services-7dqw4kz8.js} +5 -5
- package/dist/chunks/{integration-g316fa4m.js → location-services-7emx6ety.js} +13 -13
- package/dist/chunks/{integration-7z7az0f5.js → location-services-7sqxeqwy.js} +4 -4
- package/dist/chunks/{integration-hsvyyagr.js → location-services-7tkmrrpv.js} +40 -40
- package/dist/chunks/{integration-tr6g8z48.js → location-services-81s162yb.js} +9 -9
- package/dist/chunks/{integration-qny5sbzp.js → location-services-8azq3xgr.js} +23 -23
- package/dist/chunks/{integration-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-x93zays9.js → location-services-8f0zq1qa.js} +6 -6
- package/dist/chunks/{integration-a9yqag6z.js → location-services-8jywm6xd.js} +18 -18
- package/dist/chunks/{integration-8p4f9s12.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{integration-t1bhcjx3.js → location-services-96yt6zt0.js} +1 -1
- package/dist/chunks/{integration-axwbg76g.js → location-services-98cmn0hr.js} +17 -17
- package/dist/chunks/{integration-3pft0tdh.js → location-services-98r3f9c4.js} +24 -24
- package/dist/chunks/{integration-em03vsep.js → location-services-9r3q67g7.js} +84 -84
- package/dist/chunks/{integration-tcaxewzn.js → location-services-9tdt6gn5.js} +13 -13
- package/dist/chunks/{integration-296w2s1t.js → location-services-9w95a7ga.js} +23 -23
- package/dist/chunks/{integration-ea0n3w35.js → location-services-9wrk0c7x.js} +15 -15
- package/dist/chunks/{integration-nyh387a9.js → location-services-9xx5ccgp.js} +25 -25
- package/dist/chunks/{integration-nf1dwszp.js → location-services-9yks55mb.js} +17 -17
- package/dist/chunks/{integration-151gbk82.js → location-services-a103fdm3.js} +23 -23
- package/dist/chunks/{integration-a1bz86dw.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{integration-pdv4nb29.js → location-services-a3vv4rs0.js} +9 -9
- package/dist/chunks/{integration-9eh54gx5.js → location-services-a4j6dykb.js} +15 -15
- package/dist/chunks/{integration-zedhchgb.js → location-services-a5y8eyny.js} +24 -24
- package/dist/chunks/{integration-9gh06r58.js → location-services-a8xcd0w8.js} +4 -4
- package/dist/chunks/{integration-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-dghgjkkt.js → location-services-aj8kkpvr.js} +4 -4
- package/dist/chunks/{integration-3pbjq009.js → location-services-akrnn5pm.js} +8 -8
- package/dist/chunks/{integration-r7mna007.js → location-services-b1t5snx6.js} +22 -22
- package/dist/chunks/{integration-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-00a2vb47.js → location-services-bcbmvgj8.js} +46 -46
- package/dist/chunks/{integration-f79e7acg.js → location-services-bcnz578n.js} +2 -2
- package/dist/chunks/{integration-sx1n432n.js → location-services-bf0ztrs3.js} +4 -4
- package/dist/chunks/{integration-gcyqv0ba.js → location-services-bmwmmh03.js} +10 -10
- package/dist/chunks/{integration-z1f4gy9p.js → location-services-bv56xrks.js} +8 -8
- package/dist/chunks/{integration-cfpkc3c9.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/location-services-cgxejw6v.js +462 -0
- package/dist/chunks/{integration-b1vav3zj.js → location-services-cknngr8n.js} +7 -7
- package/dist/chunks/{integration-hfdr1yjj.js → location-services-cq37gk0t.js} +4 -4
- package/dist/chunks/{integration-xwwp0fmq.js → location-services-cy9hrc59.js} +43 -43
- package/dist/chunks/{integration-50zrjbre.js → location-services-d20tfxtv.js} +8 -8
- package/dist/chunks/{integration-b3t12aqp.js → location-services-d50f2zf5.js} +1 -1
- package/dist/chunks/{integration-2nnvtzgn.js → location-services-d5ta482m.js} +5 -5
- package/dist/chunks/{integration-rf2xy082.js → location-services-d9hczm2r.js} +17 -17
- package/dist/chunks/{integration-tjt84ys6.js → location-services-dcfrmvyb.js} +22 -22
- package/dist/chunks/{integration-p2z3a8zb.js → location-services-dcg0h0ke.js} +35 -35
- package/dist/chunks/{integration-gxpp6yv2.js → location-services-dg94tkx3.js} +26 -26
- package/dist/chunks/{integration-5xtgfte3.js → location-services-dgj0dq1g.js} +8 -8
- package/dist/chunks/{integration-vkwcx7sj.js → location-services-dhambjr8.js} +21 -21
- package/dist/chunks/{integration-mj28zxs4.js → location-services-dt6arx9z.js} +5 -5
- package/dist/chunks/{integration-22ce2812.js → location-services-dtz1dq5w.js} +11 -11
- package/dist/chunks/{integration-tcq89gq0.js → location-services-dx15qm69.js} +22 -22
- package/dist/chunks/{integration-jq7fcpt3.js → location-services-e255sby6.js} +29 -29
- package/dist/chunks/{integration-fqh7r1mg.js → location-services-e6ywpf8t.js} +6 -6
- package/dist/chunks/{integration-5jqftpyq.js → location-services-e7v4kvvc.js} +16 -16
- package/dist/chunks/{integration-wd7nrggg.js → location-services-ebcw7cv9.js} +8 -8
- package/dist/chunks/{integration-bc9tah8j.js → location-services-eeaf82dq.js} +8 -8
- package/dist/chunks/{integration-znh9e8s1.js → location-services-efrqks1z.js} +16 -16
- package/dist/chunks/{integration-xq6a131c.js → location-services-egdp0v7k.js} +8 -8
- package/dist/chunks/{integration-v6kh18tr.js → location-services-er56z9m3.js} +4 -4
- package/dist/chunks/{integration-7kn6mjqn.js → location-services-erd68jx8.js} +24 -24
- package/dist/chunks/{integration-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-9gps35nj.js → location-services-ewqwwm8c.js} +8 -8
- package/dist/chunks/{integration-nnsszj5x.js → location-services-f32vetax.js} +11 -11
- package/dist/chunks/{integration-f828m53h.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{integration-n5zjdcc0.js → location-services-f8q7mv7a.js} +1 -1
- package/dist/chunks/{integration-6w2rqcm5.js → location-services-fbrz957q.js} +30 -30
- package/dist/chunks/{integration-1fa9ans5.js → location-services-fgh0kbhd.js} +1 -1
- package/dist/chunks/{integration-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-322atyht.js → location-services-fxf97kjq.js} +10 -10
- package/dist/chunks/{integration-fmmn8x74.js → location-services-fygdb7h7.js} +3 -3
- package/dist/chunks/{integration-6anpkmcx.js → location-services-g35h8zvz.js} +24 -24
- package/dist/chunks/{integration-d26f51j3.js → location-services-g56x3r05.js} +17 -17
- package/dist/chunks/{integration-bq9rkr49.js → location-services-g764418v.js} +3 -3
- package/dist/chunks/{integration-nmng2596.js → location-services-gbjggf4w.js} +41 -41
- package/dist/chunks/{integration-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-h06ac2p8.js → location-services-gjes9ycv.js} +83 -83
- package/dist/chunks/{integration-prqqf107.js → location-services-gkk9gzwj.js} +13 -13
- package/dist/chunks/{integration-s9y8b899.js → location-services-gp27hab3.js} +6 -6
- package/dist/chunks/{integration-64fzttx6.js → location-services-gqsqt983.js} +7 -7
- package/dist/chunks/{integration-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{integration-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{integration-9mrrxw6m.js → location-services-h0r85tvv.js} +11 -11
- package/dist/chunks/{integration-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-b87wvgj6.js → location-services-h7merwq8.js} +20 -20
- package/dist/chunks/{integration-hwagt9fk.js → location-services-hewa18pm.js} +42 -42
- package/dist/chunks/{integration-e82z9tr0.js → location-services-hjt4xg1x.js} +7 -7
- package/dist/chunks/{integration-mh9q4v61.js → location-services-hk3dp6b5.js} +2 -2
- package/dist/chunks/{integration-7e5zvqnb.js → location-services-hm9cthtf.js} +26 -26
- package/dist/chunks/{integration-evdgyt3t.js → location-services-hmtdza7e.js} +43 -43
- package/dist/chunks/{integration-hqg6sb4q.js → location-services-hqxaqnsz.js} +13 -13
- package/dist/chunks/{integration-eftvq2tf.js → location-services-hv7wfk6h.js} +38 -38
- package/dist/chunks/{integration-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-kpr8tjbf.js → location-services-j8b7ra2y.js} +160 -160
- package/dist/chunks/{integration-6n0cjhwh.js → location-services-jd31tk7v.js} +22 -22
- package/dist/chunks/{integration-72mq2vzh.js → location-services-jw1smgdw.js} +6 -6
- package/dist/chunks/{integration-qssq5wvh.js → location-services-k16ay38w.js} +1 -1
- package/dist/chunks/{integration-aj7efv6t.js → location-services-k33dzkhb.js} +25 -25
- package/dist/chunks/{integration-mgw9bq57.js → location-services-k4f6a3yg.js} +22 -22
- package/dist/chunks/{integration-r65t6xh7.js → location-services-k50vc20r.js} +6 -6
- package/dist/chunks/{integration-gvnha4xr.js → location-services-kap76w5z.js} +18 -18
- package/dist/chunks/{integration-a025dhy9.js → location-services-kc564ayd.js} +9 -9
- package/dist/chunks/{integration-kg06axw8.js → location-services-kg06axw8.js} +1 -1
- package/dist/chunks/{integration-07hzebz1.js → location-services-kp0f7k9w.js} +4 -4
- package/dist/chunks/{integration-24sbpj7j.js → location-services-kqd2wwpf.js} +4 -4
- package/dist/chunks/{integration-hf8cnsjw.js → location-services-ksz0h0wp.js} +1 -1
- package/dist/chunks/{integration-7mchzbps.js → location-services-m016k5dt.js} +11 -11
- package/dist/chunks/{integration-1ear0pxv.js → location-services-m14v0kx0.js} +13 -13
- package/dist/chunks/{integration-dt849bc4.js → location-services-m27pyyd3.js} +6 -6
- package/dist/chunks/{integration-981c06fr.js → location-services-m2m38rh4.js} +3 -3
- package/dist/chunks/{integration-afdssyjb.js → location-services-m70sbz6t.js} +4 -4
- package/dist/chunks/{integration-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-bscb95cy.js → location-services-marnn1hp.js} +7 -7
- package/dist/chunks/{integration-jexxy024.js → location-services-mf9m2v67.js} +3 -3
- package/dist/chunks/{integration-epzez8zj.js → location-services-mgn1q268.js} +23 -23
- package/dist/chunks/{integration-mkcjrzeh.js → location-services-mkcjrzeh.js} +1 -1
- package/dist/chunks/{integration-eq1pz5kg.js → location-services-mvfsc1pv.js} +3 -3
- package/dist/chunks/{integration-zd4pz5th.js → location-services-n0ps73j4.js} +37 -37
- package/dist/chunks/{integration-f3p0nvhn.js → location-services-n1wtw7cf.js} +33 -33
- package/dist/chunks/{integration-mbbvnryx.js → location-services-n26aazvb.js} +6 -6
- package/dist/chunks/{integration-v51hrxtf.js → location-services-n3ehebhz.js} +12 -12
- package/dist/chunks/{integration-ds04w90c.js → location-services-n3pz4r15.js} +16 -16
- package/dist/chunks/{integration-a1ehgdnj.js → location-services-n65r81b4.js} +4 -4
- package/dist/chunks/{integration-6jex2xta.js → location-services-n76fdqym.js} +5 -5
- package/dist/chunks/{integration-0frfe85v.js → location-services-nakqg6cg.js} +22 -22
- package/dist/chunks/{integration-2gftwxby.js → location-services-ne17v9pc.js} +18 -18
- package/dist/chunks/{integration-x6332jt5.js → location-services-npm3wgeg.js} +13 -13
- package/dist/chunks/{integration-r1207mrt.js → location-services-nq6tkbxw.js} +17 -17
- package/dist/chunks/{integration-gq6s43k6.js → location-services-nw0bqh17.js} +11 -11
- package/dist/chunks/{integration-n99th6kw.js → location-services-p12hzc12.js} +35 -35
- package/dist/chunks/{integration-tbc4e8rx.js → location-services-p4j0k99t.js} +30 -30
- package/dist/chunks/{integration-8ktk8fvc.js → location-services-p75j69a2.js} +20 -20
- package/dist/chunks/{integration-0fqf4df7.js → location-services-p79ar1tw.js} +11 -11
- package/dist/chunks/{integration-z095fj7m.js → location-services-pjsas99n.js} +6 -6
- package/dist/chunks/{integration-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{integration-dr0zz7zk.js → location-services-pnean495.js} +5 -5
- package/dist/chunks/{integration-5x1f6fxb.js → location-services-q70gtfmt.js} +16 -16
- package/dist/chunks/{integration-depwzj9d.js → location-services-qa4rp7fn.js} +9 -9
- package/dist/chunks/{integration-f3ngv102.js → location-services-qj8eh1ht.js} +4 -4
- package/dist/chunks/{integration-2336b01z.js → location-services-qm7jrdpz.js} +8 -8
- package/dist/chunks/{integration-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-5c1ms1gc.js → location-services-qtmpnr27.js} +47 -47
- package/dist/chunks/{integration-6ymymyv8.js → location-services-r01t9b5y.js} +6 -6
- package/dist/chunks/{integration-ab9238g2.js → location-services-r33ff4dw.js} +4 -4
- package/dist/chunks/{integration-7s02b6me.js → location-services-r9babyk8.js} +1 -1
- package/dist/chunks/{integration-wcbqwdj0.js → location-services-rbr5swsa.js} +18 -18
- package/dist/chunks/{integration-fz9d5ssd.js → location-services-rhd00fat.js} +9 -9
- package/dist/chunks/{integration-s8d7rejh.js → location-services-rhjbct0v.js} +4 -4
- package/dist/chunks/{integration-rk0rec3h.js → location-services-rk0rec3h.js} +2 -2
- package/dist/chunks/{integration-2pncvxwm.js → location-services-rpsdx5vs.js} +7 -7
- package/dist/chunks/{integration-79f8efvt.js → location-services-rv7qyr27.js} +27 -27
- package/dist/chunks/location-services-rvz3wna3.js +247 -0
- package/dist/chunks/{integration-vdbz7hp2.js → location-services-s0avzt1k.js} +27 -27
- package/dist/chunks/{integration-fkctdg7j.js → location-services-s2jzy5b9.js} +11 -11
- package/dist/chunks/{integration-rrxh0c2s.js → location-services-s78rk26g.js} +19 -19
- package/dist/chunks/{integration-cenppacd.js → location-services-sktxfqvp.js} +6 -6
- package/dist/chunks/{integration-atwweske.js → location-services-skw6ndhb.js} +36 -36
- package/dist/chunks/{integration-8s5w1czn.js → location-services-t2bav4cb.js} +10 -10
- package/dist/chunks/{integration-2a4vj1s4.js → location-services-t3nckq9e.js} +18 -18
- package/dist/chunks/{integration-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{integration-awm5ey78.js → location-services-tjasw5j2.js} +22 -22
- package/dist/chunks/{integration-yjrbxx7s.js → location-services-tjbdzdwh.js} +18 -18
- package/dist/chunks/{integration-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-vavfmh0d.js → location-services-twy35tz0.js} +9 -9
- package/dist/chunks/{integration-v5dkyp31.js → location-services-v5dkyp31.js} +1 -1
- package/dist/chunks/{integration-q280h65c.js → location-services-v5w9803s.js} +8 -8
- package/dist/chunks/{integration-pz0tgjyq.js → location-services-v6654y3b.js} +14 -14
- package/dist/chunks/{integration-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-pdbx66ww.js → location-services-vfx896b4.js} +20 -20
- package/dist/chunks/{integration-257dq995.js → location-services-vgtd617j.js} +9 -9
- package/dist/chunks/{integration-4m2pmvxz.js → location-services-vkez6a4k.js} +6 -6
- package/dist/chunks/{integration-fban3jjy.js → location-services-vvv3thrh.js} +12 -12
- package/dist/chunks/{integration-epvhn8rf.js → location-services-vz505d38.js} +8 -8
- package/dist/chunks/{integration-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-3ezse2vx.js → location-services-w0pkcsrz.js} +17 -17
- package/dist/chunks/{integration-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-tdhbec06.js → location-services-w5qh34h0.js} +16 -16
- package/dist/chunks/{integration-qqzfp6vg.js → location-services-w8v69kqr.js} +8 -8
- package/dist/chunks/{integration-p5nfdbsd.js → location-services-wd1wk3fx.js} +25 -25
- package/dist/chunks/{integration-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{integration-8aa1j6tz.js → location-services-wpmxaqyc.js} +6 -6
- package/dist/chunks/{integration-yap5dk6s.js → location-services-wrmagx7v.js} +54 -54
- package/dist/chunks/{integration-320c2pyt.js → location-services-wzxndrfm.js} +25 -25
- package/dist/chunks/{integration-agy7y5ez.js → location-services-x0b2ccgt.js} +26 -26
- package/dist/chunks/{integration-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-x43y2vfs.js → location-services-x43y2vfs.js} +2 -2
- package/dist/chunks/{integration-eag1s9wb.js → location-services-x95pbp60.js} +36 -36
- package/dist/chunks/{integration-6jnybvqn.js → location-services-xekzrwwc.js} +9 -9
- package/dist/chunks/{integration-fv2dr89n.js → location-services-xvbxf676.js} +32 -32
- package/dist/chunks/{integration-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{integration-h5e20h2k.js → location-services-y9gdx2th.js} +4 -4
- package/dist/chunks/{integration-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{integration-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{integration-mmvk1zyz.js → location-services-yt1hy964.js} +20 -20
- package/dist/chunks/{integration-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-q4xjn5nd.js → location-services-z5jxp7ad.js} +27 -27
- package/dist/chunks/{integration-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{integration-2ee8pmxs.js → location-services-z69s9t6b.js} +5 -5
- package/dist/chunks/{integration-sadc1m9b.js → location-services-z7vx10hx.js} +15 -15
- package/dist/chunks/{integration-nccr955a.js → location-services-z7wszd63.js} +18 -18
- package/dist/chunks/{integration-bzbb1kp2.js → location-services-zd0y80kv.js} +11 -11
- package/dist/chunks/{integration-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{integration-437h2b82.js → location-services-zg809rcf.js} +27 -27
- package/dist/chunks/{integration-8ndvbjad.js → location-services-zhj44hqa.js} +3 -3
- package/dist/chunks/{integration-egy33snj.js → location-services-zmm5wz6q.js} +46 -46
- package/dist/chunks/{integration-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-0nm12y21.js → location-services-zv3e7t68.js} +2 -2
- package/dist/chunks/{integration-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +75 -75
- 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 +117 -117
- package/dist/config/plugin/command.js +209 -209
- 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 +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- 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 +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +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 +79 -79
- package/dist/database/database.js +68 -68
- 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 +77 -77
- 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 +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 +72 -72
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- 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 +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 +79 -79
- 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 +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 +131 -131
- 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 +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- 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 +7 -7
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- 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 +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- 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 +117 -117
- 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 +133 -133
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +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 +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- 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 +73 -73
- 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 +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- 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 +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- 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 +121 -121
- 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 +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 +210 -210
- package/dist/tool/plugin/webfetch.js +105 -105
- 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 +11 -11
- 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 +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- 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 +2 -2
- 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/integration-45th5jwr.js +0 -18
- package/dist/chunks/integration-5re7vdb3.js +0 -247
- package/dist/chunks/integration-gbadjzag.js +0 -4
- package/dist/chunks/integration-r3v06hfv.js +0 -22
- package/dist/chunks/integration-ypk4vtwt.js +0 -462
- /package/dist/chunks/{integration-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-paphc93g.js → location-services-paphc93g.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-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
|
-
Service79,
|
|
6
|
-
node84
|
|
7
|
-
} from "./integration-5x1f6fxb.js";
|
|
8
|
-
import {
|
|
9
|
-
Event20,
|
|
10
5
|
Service78,
|
|
11
6
|
node83
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service72,
|
|
15
|
-
node77
|
|
16
|
-
} from "./integration-62yneyxz.js";
|
|
7
|
+
} from "./location-services-q70gtfmt.js";
|
|
17
8
|
import {
|
|
18
|
-
|
|
19
|
-
node54
|
|
20
|
-
} from "./integration-6anpkmcx.js";
|
|
21
|
-
import {
|
|
22
|
-
ID17,
|
|
9
|
+
Event20,
|
|
23
10
|
Service77,
|
|
24
11
|
node82
|
|
25
|
-
} from "./
|
|
12
|
+
} from "./location-services-00v0w1pn.js";
|
|
13
|
+
import {
|
|
14
|
+
Service69,
|
|
15
|
+
node74
|
|
16
|
+
} from "./location-services-1s1fbqj5.js";
|
|
17
|
+
import {
|
|
18
|
+
Service67,
|
|
19
|
+
node71
|
|
20
|
+
} from "./location-services-g35h8zvz.js";
|
|
21
|
+
import {
|
|
22
|
+
ID15,
|
|
23
|
+
Service76,
|
|
24
|
+
node81
|
|
25
|
+
} from "./location-services-0aqaye2v.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service75,
|
|
34
|
+
node80
|
|
35
|
+
} from "./location-services-z5jxp7ad.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: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
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: () => Service32,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node36
|
|
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: ID14.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = 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*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service69;
|
|
178
|
+
const environment = yield* Service67;
|
|
179
|
+
const bus = yield* Service78;
|
|
180
|
+
const forms = yield* Service76;
|
|
181
|
+
const integration = yield* Service75;
|
|
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 layer13 = (options) => Layer.effect(Service27, 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 = ID14.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(Service27, 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 layer13 = (options) => Layer.effect(Service27, 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 = ID15.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(Service27, Effect.gen(function* () {
|
|
|
358
358
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
359
359
|
})
|
|
360
360
|
};
|
|
361
|
-
const toTool = (server, entry, def) => new
|
|
361
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service27, 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(Service67, 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));
|
|
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service32.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(Service27, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service32,
|
|
713
|
+
layer: layer15(options),
|
|
714
|
+
deps: [node74, node71, node83, node81, node80, node82]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node36 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options4, layer15, configured4, node36, exports_mcp4 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./location-services-hmtdza7e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service49
|
|
10
|
+
} from "./location-services-x0b2ccgt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin12,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
22
|
description: () => description4,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin12 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service49;
|
|
51
|
+
const permission = yield* Service61;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description4,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin21 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output7, description4, toModelOutput2, Plugin12, exports_skill };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-services-q70gtfmt.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-hmtdza7e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info10,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service49,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node53,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event11 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info10 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service49 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service78;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service49.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node53 = makeLocationNode({
|
|
112
|
+
service: Service49,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node83]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID6, Name2, available2, toModelOutput3, prepare3, Service49, node53, exports_skill5, Event11 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool2 = {};
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service69
|
|
8
|
+
} from "./location-services-1s1fbqj5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./location-services-g35h8zvz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service59
|
|
14
|
+
} from "./location-services-ne17v9pc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service43,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-7amtd6bp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./location-services-hmtdza7e.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service60,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-z7wszd63.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin7 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service67;
|
|
112
|
+
const access = yield* Service60;
|
|
113
|
+
const fileMutation = yield* Service43;
|
|
114
|
+
const formatter = yield* Service59;
|
|
115
|
+
const location = yield* Service69;
|
|
116
|
+
const permission = yield* Service61;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin15 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name5, Input5, Applied2, Output3, toModelContent4, Plugin7, exports_patch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service7.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service7, node10, exports_discovery };
|