@opencode/core 0.0.0-dev-19336 → 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/agent.js +59 -59
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +51 -51
- package/dist/catalog.js +60 -60
- package/dist/chunks/{location-services-1dfhrqqs.js → location-services-0hpxrkyb.js} +3 -3
- package/dist/chunks/{location-services-bmwmmh03.js → location-services-0wd6em3j.js} +7 -7
- package/dist/chunks/{location-services-5thce3ah.js → location-services-0zj4cm3y.js} +26 -26
- package/dist/chunks/{location-services-a5y8eyny.js → location-services-11m7nw5e.js} +22 -22
- package/dist/chunks/{location-services-vvv3thrh.js → location-services-15v2jbpx.js} +11 -11
- package/dist/chunks/{location-services-3xh3zrfj.js → location-services-162h2cbr.js} +10 -10
- package/dist/chunks/{location-services-3znngwgn.js → location-services-16td4x31.js} +7 -7
- package/dist/chunks/{location-services-n0ps73j4.js → location-services-1mapar6n.js} +11 -11
- package/dist/chunks/{location-services-1c4qjgv9.js → location-services-1qdk8c0g.js} +1 -1
- package/dist/chunks/{location-services-56gdpj1q.js → location-services-1ygqh575.js} +7 -7
- package/dist/chunks/{location-services-kqd2wwpf.js → location-services-24sbpj7j.js} +3 -3
- package/dist/chunks/{location-services-d9hczm2r.js → location-services-27j8ahm1.js} +17 -17
- package/dist/chunks/{location-services-dx15qm69.js → location-services-28fzndev.js} +19 -19
- package/dist/chunks/{location-services-d20tfxtv.js → location-services-28pzpvq0.js} +8 -8
- package/dist/chunks/{location-services-hmtdza7e.js → location-services-2acm1nys.js} +50 -50
- package/dist/chunks/{location-services-x95pbp60.js → location-services-2m4pqqb5.js} +27 -27
- package/dist/chunks/{location-services-egdp0v7k.js → location-services-2m8nxcnz.js} +3 -3
- package/dist/chunks/{location-services-k50vc20r.js → location-services-2wdxjxp6.js} +5 -5
- package/dist/chunks/{location-services-dt6arx9z.js → location-services-2xwaa7cw.js} +4 -4
- package/dist/chunks/{location-services-a103fdm3.js → location-services-2z317dgv.js} +25 -25
- package/dist/chunks/{location-services-3w0fmcng.js → location-services-37s12vcn.js} +3 -3
- package/dist/chunks/{location-services-f8q7mv7a.js → location-services-380vjcmd.js} +1 -1
- package/dist/chunks/{location-services-skw6ndhb.js → location-services-38acbevk.js} +35 -35
- package/dist/chunks/{location-services-dhambjr8.js → location-services-3wy413zp.js} +21 -21
- package/dist/chunks/{location-services-g764418v.js → location-services-3xwj35jq.js} +1 -1
- package/dist/chunks/{location-services-7sqxeqwy.js → location-services-3ythc6yv.js} +3 -3
- package/dist/chunks/{location-services-fgh0kbhd.js → location-services-4b6bntqd.js} +1 -1
- package/dist/chunks/{location-services-t2bav4cb.js → location-services-4gp2y10s.js} +6 -6
- package/dist/chunks/{location-services-g35h8zvz.js → location-services-4k845csn.js} +19 -19
- package/dist/chunks/{location-services-1x11rq2a.js → location-services-4v7qdvcn.js} +4 -4
- package/dist/chunks/{location-services-7amtd6bp.js → location-services-4zsc87zk.js} +11 -11
- package/dist/chunks/{location-services-0r7yqxbf.js → location-services-510m7gjw.js} +3 -3
- package/dist/chunks/{location-services-dcfrmvyb.js → location-services-51t4ys7s.js} +22 -22
- package/dist/chunks/{location-services-f32vetax.js → location-services-55bzypr0.js} +10 -10
- package/dist/chunks/{location-services-5ap78ss6.js → location-services-5bfzavyb.js} +39 -39
- package/dist/chunks/{location-services-4ycxm7c6.js → location-services-5bzad00n.js} +15 -15
- package/dist/chunks/{location-services-0387ntk2.js → location-services-5dcgz3aq.js} +12 -12
- package/dist/chunks/{location-services-6wwkxy3b.js → location-services-5etegeke.js} +1 -1
- package/dist/chunks/{location-services-j8b7ra2y.js → location-services-5fs5z9r9.js} +168 -168
- package/dist/chunks/{location-services-31zm1s50.js → location-services-5kh2vy3t.js} +32 -32
- package/dist/chunks/{location-services-a4j6dykb.js → location-services-5vm6jgpp.js} +10 -10
- package/dist/chunks/{location-services-fbrz957q.js → location-services-6320hmrj.js} +16 -16
- package/dist/chunks/location-services-6753kygg.js +22 -0
- package/dist/chunks/{location-services-6qtdhq9p.js → location-services-6c1jg7x4.js} +27 -27
- package/dist/chunks/{location-services-r33ff4dw.js → location-services-6ersrjne.js} +3 -3
- package/dist/chunks/{location-services-erd68jx8.js → location-services-6fjmxycd.js} +22 -22
- package/dist/chunks/{location-services-w8v69kqr.js → location-services-6sj05tzn.js} +6 -6
- package/dist/chunks/{location-services-h0r85tvv.js → location-services-6y3njc5p.js} +10 -10
- package/dist/chunks/{location-services-nw0bqh17.js → location-services-6z6w9rms.js} +9 -9
- package/dist/chunks/{location-services-3mmc2xt1.js → location-services-6zkt8sc0.js} +9 -9
- package/dist/chunks/{location-services-mvfsc1pv.js → location-services-73tb2d7t.js} +2 -2
- package/dist/chunks/{location-services-aj8kkpvr.js → location-services-78hqr335.js} +4 -4
- package/dist/chunks/{location-services-12behdsj.js → location-services-7f4cfqjs.js} +10 -10
- package/dist/chunks/{location-services-eeaf82dq.js → location-services-7j2qha59.js} +7 -7
- package/dist/chunks/{location-services-n3ehebhz.js → location-services-7vc3mrhj.js} +8 -8
- package/dist/chunks/{location-services-fygdb7h7.js → location-services-7ybwwvvx.js} +3 -3
- package/dist/chunks/{location-services-3tey5e4w.js → location-services-7zdm33ac.js} +7 -7
- package/dist/chunks/{location-services-4ttr90xy.js → location-services-85fsg3cm.js} +19 -19
- package/dist/chunks/{location-services-nq6tkbxw.js → location-services-8k3jg3eh.js} +14 -14
- package/dist/chunks/{location-services-z7wszd63.js → location-services-8ncan3qx.js} +16 -16
- package/dist/chunks/location-services-8rfyvjw4.js +462 -0
- package/dist/chunks/{location-services-zd0y80kv.js → location-services-9jzbrzc0.js} +13 -13
- package/dist/chunks/{location-services-xvbxf676.js → location-services-9kvjnr81.js} +31 -31
- package/dist/chunks/{location-services-2q8h11r1.js → location-services-9n75fd9y.js} +4 -4
- package/dist/chunks/{location-services-yt1hy964.js → location-services-9pfdanbq.js} +18 -18
- package/dist/chunks/{location-services-hm9cthtf.js → location-services-9r2qpqkx.js} +26 -26
- package/dist/chunks/{location-services-mgn1q268.js → location-services-9z8a7pbd.js} +24 -24
- package/dist/chunks/{location-services-qa4rp7fn.js → location-services-9zswys26.js} +7 -7
- package/dist/chunks/{location-services-3g0xtcs6.js → location-services-a5abhest.js} +12 -12
- package/dist/chunks/{location-services-w0pkcsrz.js → location-services-at0srrj9.js} +16 -16
- package/dist/chunks/{location-services-8azq3xgr.js → location-services-at5nfy9r.js} +20 -20
- package/dist/chunks/{location-services-54td8zkb.js → location-services-avay8ehz.js} +4 -4
- package/dist/chunks/{location-services-k16ay38w.js → location-services-b2jx7zxs.js} +1 -1
- package/dist/chunks/{location-services-bf0ztrs3.js → location-services-bct739vz.js} +3 -3
- package/dist/chunks/{location-services-6nh5w358.js → location-services-bdetpt2n.js} +7 -7
- package/dist/chunks/{location-services-cq37gk0t.js → location-services-bha4atvq.js} +1 -1
- package/dist/chunks/{location-services-zhj44hqa.js → location-services-brzmmewp.js} +2 -2
- package/dist/chunks/{location-services-marnn1hp.js → location-services-bscb95cy.js} +6 -6
- package/dist/chunks/{location-services-s78rk26g.js → location-services-bt4gwd2t.js} +20 -20
- package/dist/chunks/{location-services-dg94tkx3.js → location-services-btas0783.js} +25 -25
- package/dist/chunks/{location-services-7tkmrrpv.js → location-services-btq6dtd4.js} +29 -29
- package/dist/chunks/{location-services-zmm5wz6q.js → location-services-cpq8mvz9.js} +33 -33
- package/dist/chunks/{location-services-0f9afca0.js → location-services-cr07tj7n.js} +3 -3
- package/dist/chunks/{location-services-9wrk0c7x.js → location-services-d5mjh5gn.js} +18 -18
- package/dist/chunks/{location-services-e6ywpf8t.js → location-services-dpwabj80.js} +4 -4
- package/dist/chunks/{location-services-9r3q67g7.js → location-services-dqm30p7h.js} +73 -73
- package/dist/chunks/{location-services-efrqks1z.js → location-services-drbyteps.js} +18 -18
- package/dist/chunks/{location-services-n65r81b4.js → location-services-dt8w12tc.js} +4 -4
- package/dist/chunks/{location-services-30qzt7jy.js → location-services-dvanp92t.js} +16 -16
- package/dist/chunks/{location-services-vfx896b4.js → location-services-dxea83ar.js} +15 -15
- package/dist/chunks/{location-services-qtmpnr27.js → location-services-dxth83mh.js} +46 -46
- package/dist/chunks/{location-services-8jywm6xd.js → location-services-dyp5k833.js} +16 -16
- package/dist/chunks/{location-services-98cmn0hr.js → location-services-dzx5qajy.js} +15 -15
- package/dist/chunks/{location-services-1s1fbqj5.js → location-services-e4zvp2f4.js} +16 -16
- package/dist/chunks/{location-services-a3vv4rs0.js → location-services-e7p6faa2.js} +6 -6
- package/dist/chunks/{location-services-rhjbct0v.js → location-services-eaj1djv9.js} +7 -7
- package/dist/chunks/{location-services-kap76w5z.js → location-services-eebkyynq.js} +21 -21
- package/dist/chunks/{location-services-akrnn5pm.js → location-services-ep6z9mt6.js} +6 -6
- package/dist/chunks/{location-services-m2m38rh4.js → location-services-eq4p078r.js} +2 -2
- package/dist/chunks/{location-services-rhd00fat.js → location-services-ex5k2c35.js} +5 -5
- package/dist/chunks/{location-services-3rz3vg39.js → location-services-f5bs5vv8.js} +50 -50
- package/dist/chunks/{location-services-4eavgkwb.js → location-services-f9yp8s8r.js} +5 -5
- package/dist/chunks/{location-services-fxf97kjq.js → location-services-fafkyc6a.js} +10 -10
- package/dist/chunks/{location-services-sktxfqvp.js → location-services-fbtcayzh.js} +5 -5
- package/dist/chunks/{location-services-v5dkyp31.js → location-services-fdv30zvt.js} +6 -6
- package/dist/chunks/{location-services-n3pz4r15.js → location-services-fk8q8cg8.js} +15 -15
- package/dist/chunks/{location-services-hqxaqnsz.js → location-services-fnhdbvfa.js} +13 -13
- package/dist/chunks/{location-services-ne17v9pc.js → location-services-g09rc90z.js} +16 -16
- package/dist/chunks/{location-services-qm7jrdpz.js → location-services-g2y161wv.js} +7 -7
- package/dist/chunks/{location-services-bcnz578n.js → location-services-g3599gw0.js} +1 -1
- package/dist/chunks/{location-services-p12hzc12.js → location-services-gacdy71v.js} +22 -22
- package/dist/chunks/{location-services-3fc6dm20.js → location-services-gdvy8fx6.js} +3 -3
- package/dist/chunks/{location-services-er56z9m3.js → location-services-h1n238ac.js} +2 -2
- package/dist/chunks/{location-services-9xx5ccgp.js → location-services-h4r1yjny.js} +29 -29
- package/dist/chunks/{location-services-jd31tk7v.js → location-services-h5e374w5.js} +20 -20
- package/dist/chunks/{location-services-h7merwq8.js → location-services-h5pwjbm9.js} +20 -20
- package/dist/chunks/{location-services-4crx14pj.js → location-services-h9zmmqvn.js} +11 -11
- package/dist/chunks/{location-services-b1t5snx6.js → location-services-hpdzznjk.js} +20 -20
- package/dist/chunks/{location-services-nakqg6cg.js → location-services-hq4ymc60.js} +18 -18
- package/dist/chunks/{location-services-pjsas99n.js → location-services-j1t1n678.js} +6 -6
- package/dist/chunks/{location-services-rbr5swsa.js → location-services-j3xb24h1.js} +17 -17
- package/dist/chunks/{location-services-q70gtfmt.js → location-services-j81s0rnf.js} +13 -13
- package/dist/chunks/{location-services-npm3wgeg.js → location-services-jh4j6rwm.js} +11 -11
- package/dist/chunks/{location-services-gkk9gzwj.js → location-services-jhz8yd6p.js} +8 -8
- package/dist/chunks/{location-services-cy9hrc59.js → location-services-jk10gy5t.js} +33 -33
- package/dist/chunks/{location-services-k33dzkhb.js → location-services-jk9qnxpz.js} +39 -39
- package/dist/chunks/{location-services-tjbdzdwh.js → location-services-jphykfrz.js} +19 -19
- package/dist/chunks/{location-services-m27pyyd3.js → location-services-jtp7wgq3.js} +7 -7
- package/dist/chunks/{location-services-34na97t4.js → location-services-jzjzmfk7.js} +4 -4
- package/dist/chunks/{location-services-9w95a7ga.js → location-services-k5rw4hnc.js} +22 -22
- package/dist/chunks/{location-services-e255sby6.js → location-services-k67g98nv.js} +26 -26
- package/dist/chunks/{location-services-rpsdx5vs.js → location-services-k8n37kmc.js} +6 -6
- package/dist/chunks/{location-services-v5w9803s.js → location-services-ka2k270b.js} +7 -7
- package/dist/chunks/{location-services-96yt6zt0.js → location-services-kcwf74x3.js} +1 -1
- package/dist/chunks/{location-services-0kghfr31.js → location-services-kf1g5n2n.js} +20 -20
- package/dist/chunks/{location-services-s0avzt1k.js → location-services-kjd67z7p.js} +25 -25
- package/dist/chunks/{location-services-cknngr8n.js → location-services-kp0txnpa.js} +5 -5
- package/dist/chunks/{location-services-gbjggf4w.js → location-services-m48bak5g.js} +37 -37
- package/dist/chunks/{location-services-xekzrwwc.js → location-services-m86bnw2c.js} +7 -7
- package/dist/chunks/{location-services-w5qh34h0.js → location-services-m9d2dprq.js} +26 -26
- package/dist/chunks/{location-services-qj8eh1ht.js → location-services-magykp64.js} +3 -3
- package/dist/chunks/{location-services-a8xcd0w8.js → location-services-mr60nntp.js} +1 -1
- package/dist/chunks/{location-services-0qk6n2y7.js → location-services-mw0hasaz.js} +28 -28
- package/dist/chunks/{location-services-0aqaye2v.js → location-services-n4wjpn8n.js} +28 -28
- package/dist/chunks/{location-services-dcg0h0ke.js → location-services-n5ftgbap.js} +32 -32
- package/dist/chunks/{location-services-ebcw7cv9.js → location-services-n5pps5m7.js} +4 -4
- package/dist/chunks/{location-services-r01t9b5y.js → location-services-ncqtmwmy.js} +7 -7
- package/dist/chunks/{location-services-m14v0kx0.js → location-services-nmts8jzf.js} +10 -10
- package/dist/chunks/{location-services-1vb9fm0n.js → location-services-ntzg9vqq.js} +30 -30
- package/dist/chunks/location-services-nzxgkcr5.js +247 -0
- package/dist/chunks/{location-services-y9gdx2th.js → location-services-pa0527fm.js} +3 -3
- package/dist/chunks/{location-services-06dxphr1.js → location-services-paegk39x.js} +3 -3
- package/dist/chunks/{location-services-rk0rec3h.js → location-services-pdqbsy2v.js} +7 -7
- package/dist/chunks/{location-services-1ktzqmb5.js → location-services-pswdd2t8.js} +13 -13
- package/dist/chunks/{location-services-ksz0h0wp.js → location-services-q1c4k7jk.js} +1 -1
- package/dist/chunks/{location-services-e7v4kvvc.js → location-services-qe24w9vn.js} +11 -11
- package/dist/chunks/{location-services-7dqw4kz8.js → location-services-qgn6gcr1.js} +4 -4
- package/dist/chunks/{location-services-p75j69a2.js → location-services-qq9z19f4.js} +17 -17
- package/dist/chunks/{location-services-kc564ayd.js → location-services-qv2bye7a.js} +7 -7
- package/dist/chunks/{location-services-ewqwwm8c.js → location-services-qx1zvxc9.js} +9 -9
- package/dist/chunks/{location-services-1v3d03cy.js → location-services-r537c3kh.js} +21 -21
- package/dist/chunks/{location-services-hewa18pm.js → location-services-r69tr7x2.js} +42 -42
- package/dist/chunks/{location-services-dtz1dq5w.js → location-services-rcxgw5yf.js} +9 -9
- package/dist/chunks/{location-services-r9babyk8.js → location-services-rstnkd3y.js} +1 -1
- package/dist/chunks/{location-services-3am5m0cf.js → location-services-s2qffcb7.js} +5 -5
- package/dist/chunks/{location-services-9tdt6gn5.js → location-services-s2yb2sz1.js} +12 -12
- package/dist/chunks/{location-services-7emx6ety.js → location-services-s3fqj7fn.js} +22 -22
- package/dist/chunks/{location-services-pnean495.js → location-services-s9vxrr1q.js} +4 -4
- package/dist/chunks/{location-services-3gt2xagq.js → location-services-sh26c022.js} +24 -24
- package/dist/chunks/{location-services-p4j0k99t.js → location-services-snjhnxkw.js} +22 -22
- package/dist/chunks/{location-services-9yks55mb.js → location-services-szvm6efx.js} +18 -18
- package/dist/chunks/{location-services-m70sbz6t.js → location-services-t2az9yje.js} +3 -3
- package/dist/chunks/{location-services-zv3e7t68.js → location-services-t2w3xr5a.js} +1 -1
- package/dist/chunks/{location-services-z69s9t6b.js → location-services-t8r3ep1g.js} +4 -4
- package/dist/chunks/{location-services-jw1smgdw.js → location-services-tc8mvhgg.js} +3 -3
- package/dist/chunks/{location-services-gjes9ycv.js → location-services-tfs8xndz.js} +84 -84
- package/dist/chunks/{location-services-4wdwamv9.js → location-services-tjzgn1x1.js} +16 -16
- package/dist/chunks/{location-services-gp27hab3.js → location-services-tmz1m10x.js} +5 -5
- package/dist/chunks/{location-services-g56x3r05.js → location-services-tr9c2tdg.js} +17 -17
- package/dist/chunks/{location-services-6t5esrgx.js → location-services-ts6t2md9.js} +14 -14
- package/dist/chunks/{location-services-wrmagx7v.js → location-services-txm7s3af.js} +53 -53
- package/dist/chunks/{location-services-tjasw5j2.js → location-services-ty4y3jpx.js} +17 -17
- package/dist/chunks/{location-services-zg809rcf.js → location-services-v055rr52.js} +24 -24
- package/dist/chunks/{location-services-z5jxp7ad.js → location-services-v0qc9apc.js} +31 -31
- package/dist/chunks/{location-services-98r3f9c4.js → location-services-v17vgq8s.js} +27 -27
- package/dist/chunks/{location-services-vgtd617j.js → location-services-v5fza2qm.js} +7 -7
- package/dist/chunks/{location-services-mf9m2v67.js → location-services-vjnb44yt.js} +3 -3
- package/dist/chunks/{location-services-81s162yb.js → location-services-vk1048p9.js} +14 -14
- package/dist/chunks/{location-services-vz505d38.js → location-services-vqa79sa2.js} +6 -6
- package/dist/chunks/{location-services-x0b2ccgt.js → location-services-vxqn53pa.js} +24 -24
- package/dist/chunks/{location-services-4j4p0yst.js → location-services-vyjzrkx0.js} +7 -7
- package/dist/chunks/{location-services-m016k5dt.js → location-services-w28m7x89.js} +11 -11
- package/dist/chunks/{location-services-n26aazvb.js → location-services-w76aks9p.js} +8 -8
- package/dist/chunks/{location-services-d50f2zf5.js → location-services-w79zsp0s.js} +1 -1
- package/dist/chunks/{location-services-d5ta482m.js → location-services-wb0heqy3.js} +3 -3
- package/dist/chunks/{location-services-hk3dp6b5.js → location-services-wfjdd711.js} +1 -1
- package/dist/chunks/{location-services-k4f6a3yg.js → location-services-wnttaxta.js} +23 -23
- package/dist/chunks/{location-services-dgj0dq1g.js → location-services-x3et2xth.js} +7 -7
- package/dist/chunks/{location-services-4pg6n0t4.js → location-services-xdj7hph9.js} +6 -6
- package/dist/chunks/{location-services-n1wtw7cf.js → location-services-xsa3sn4e.js} +36 -36
- package/dist/chunks/{location-services-n76fdqym.js → location-services-xsdh20fb.js} +5 -5
- package/dist/chunks/{location-services-wd1wk3fx.js → location-services-xxdsfsv4.js} +22 -22
- package/dist/chunks/{location-services-1at44jv2.js → location-services-y3tjje57.js} +14 -14
- package/dist/chunks/{location-services-00v0w1pn.js → location-services-y8nep4sr.js} +32 -32
- package/dist/chunks/{location-services-v6654y3b.js → location-services-ycaafw61.js} +15 -15
- package/dist/chunks/{location-services-s2jzy5b9.js → location-services-ycmd6xcg.js} +9 -9
- package/dist/chunks/{location-services-4hzm3hzr.js → location-services-yfq8zh9v.js} +60 -60
- package/dist/chunks/{location-services-p79ar1tw.js → location-services-yx9tt4ea.js} +9 -9
- package/dist/chunks/{location-services-rv7qyr27.js → location-services-z43vqr8p.js} +23 -23
- package/dist/chunks/{location-services-8f0zq1qa.js → location-services-z50tb7yx.js} +4 -4
- package/dist/chunks/{location-services-z7vx10hx.js → location-services-zdhmhzs2.js} +12 -12
- package/dist/chunks/{location-services-bv56xrks.js → location-services-zerdtc7d.js} +4 -4
- package/dist/chunks/{location-services-t3nckq9e.js → location-services-zgwwbszc.js} +16 -16
- package/dist/chunks/{location-services-hv7wfk6h.js → location-services-znc92hjm.js} +40 -40
- package/dist/chunks/{location-services-kp0f7k9w.js → location-services-zr33rhch.js} +1 -1
- package/dist/chunks/{location-services-wzxndrfm.js → location-services-zr7mteb2.js} +24 -24
- package/dist/chunks/{location-services-7dh69f0v.js → location-services-zw66t5ma.js} +7 -7
- package/dist/chunks/{location-services-1sfmn0at.js → location-services-zwzjy0a1.js} +18 -18
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/command.js +63 -63
- package/dist/config/discovery.js +52 -52
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +86 -86
- package/dist/config/plugin/command.js +168 -168
- package/dist/config/plugin/compaction.js +117 -117
- package/dist/config/plugin/formatter.js +85 -85
- package/dist/config/plugin/image.js +84 -84
- package/dist/config/plugin/instruction.js +56 -56
- package/dist/config/plugin/location-watcher.js +83 -83
- package/dist/config/plugin/mcp.js +92 -92
- package/dist/config/plugin/policy.js +82 -82
- package/dist/config/plugin/provider.js +82 -82
- package/dist/config/plugin/reference.js +86 -86
- package/dist/config/plugin/shell.js +84 -84
- package/dist/config/plugin/skill-file.js +66 -66
- package/dist/config/plugin/skill.js +100 -100
- package/dist/config/plugin/snapshot.js +84 -84
- package/dist/config/plugin/source.js +86 -86
- package/dist/config/plugin/tool-output.js +86 -86
- package/dist/config/plugin/websearch.js +82 -82
- package/dist/config/plugin/worktree.js +85 -85
- package/dist/config.js +89 -89
- package/dist/credential.js +60 -60
- package/dist/database/database.js +50 -50
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +9 -9
- package/dist/database/migration.gen.js +35 -35
- package/dist/database/migration.js +36 -36
- package/dist/database/v1-migration.bun.js +12 -12
- package/dist/effect/app-node-builder.js +223 -223
- package/dist/environment/environment.js +59 -59
- package/dist/environment/index.js +61 -61
- package/dist/event-logger.js +13 -13
- package/dist/file-access.js +69 -69
- package/dist/file-mutation.js +60 -60
- package/dist/filesystem/location-watcher.js +175 -175
- package/dist/filesystem/search.js +68 -68
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +67 -67
- package/dist/form.js +64 -64
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +59 -59
- package/dist/generate.js +68 -68
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance.js +297 -297
- package/dist/instruction-discovery.js +58 -58
- package/dist/instructions/builtins.js +57 -57
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +63 -63
- package/dist/job.js +57 -57
- package/dist/kv.js +51 -51
- package/dist/location-activity.js +55 -55
- package/dist/location-mutation.js +30 -30
- package/dist/location-service-map.js +56 -56
- package/dist/location-services.js +300 -300
- package/dist/location.js +59 -59
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +76 -76
- package/dist/mcp/instructions.js +90 -90
- package/dist/mcp/stdio.js +56 -56
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +63 -63
- package/dist/model.js +8 -8
- package/dist/models-dev.js +64 -64
- package/dist/permission/saved.js +55 -55
- package/dist/permission.js +76 -76
- package/dist/persistent-pty/index.js +60 -60
- package/dist/persistent-pty.js +50 -50
- package/dist/plugin/agent.js +69 -69
- package/dist/plugin/command.js +67 -67
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +173 -173
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +275 -275
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +53 -53
- package/dist/plugin/module.js +4 -4
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +67 -67
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +86 -86
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
- package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
- package/dist/plugin/provider/configured.js +84 -84
- package/dist/plugin/provider/digitalocean.js +55 -55
- package/dist/plugin/provider/github-copilot.js +57 -57
- 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 +53 -53
- package/dist/plugin/provider/lmstudio.js +85 -85
- package/dist/plugin/provider/modal.js +56 -56
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +87 -87
- package/dist/plugin/provider/openai.js +56 -56
- package/dist/plugin/provider/opencode.js +56 -56
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +52 -52
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +86 -86
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +87 -87
- package/dist/plugin/provider/xai.js +54 -54
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +119 -119
- package/dist/plugin/sdk.js +50 -50
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +98 -98
- package/dist/plugin/supervisor.js +290 -290
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +56 -56
- package/dist/plugin/vcs/hg.js +56 -56
- package/dist/plugin/warming.js +82 -82
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +181 -181
- package/dist/project/schema.js +7 -7
- package/dist/project.js +58 -58
- package/dist/provider.js +7 -7
- package/dist/pty.js +54 -54
- package/dist/reference/instructions.js +59 -59
- package/dist/reference.js +61 -61
- package/dist/repository-cache.js +54 -54
- package/dist/ripgrep.js +63 -63
- package/dist/rpc.js +56 -56
- package/dist/session/command.js +51 -51
- package/dist/session/compaction.js +93 -93
- package/dist/session/context.js +114 -114
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +117 -117
- package/dist/session/execution.js +90 -90
- package/dist/session/generate.js +114 -114
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +55 -55
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +52 -52
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +64 -64
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +78 -78
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +94 -94
- package/dist/session/projector.js +56 -56
- package/dist/session/prompt.js +69 -69
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +56 -56
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +182 -182
- package/dist/session/runner/model.js +63 -63
- package/dist/session/runner/retry.js +80 -80
- package/dist/session/runner/step.js +85 -85
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +129 -129
- package/dist/session/shell.js +95 -95
- package/dist/session/skill.js +67 -67
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +58 -58
- package/dist/session/subagent-job.js +165 -165
- package/dist/session/title.js +113 -113
- package/dist/session/to-session-error.js +77 -77
- package/dist/session/transfer.js +117 -117
- package/dist/session.js +174 -174
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +5 -5
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +70 -70
- package/dist/skill.js +75 -75
- package/dist/snapshot.js +61 -61
- package/dist/tool/mcp.js +89 -89
- package/dist/tool/plugin/edit.js +82 -82
- package/dist/tool/plugin/glob.js +85 -85
- package/dist/tool/plugin/grep.js +89 -89
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +82 -82
- package/dist/tool/plugin/question.js +70 -70
- package/dist/tool/plugin/read.js +90 -90
- package/dist/tool/plugin/shell.js +171 -171
- package/dist/tool/plugin/skill.js +76 -76
- package/dist/tool/plugin/subagent.js +172 -172
- package/dist/tool/plugin/webfetch.js +75 -75
- package/dist/tool/plugin/websearch.js +77 -77
- package/dist/tool/plugin/write.js +86 -86
- package/dist/tool/read-filesystem.js +65 -65
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +13 -13
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +59 -59
- package/dist/websearch.js +60 -60
- package/dist/wellknown/plugin.js +52 -52
- package/dist/wellknown.js +55 -55
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +58 -58
- package/dist/worktree/git.js +2 -2
- package/dist/worktree/refresh.js +293 -293
- package/dist/worktree.js +60 -60
- package/package.json +8 -8
- package/dist/chunks/location-services-0ckm5bhw.js +0 -22
- package/dist/chunks/location-services-cgxejw6v.js +0 -462
- package/dist/chunks/location-services-rvz3wna3.js +0 -247
- /package/dist/chunks/{location-services-gqsqt983.js → location-services-27x26mvx.js} +0 -0
- /package/dist/chunks/{location-services-wpmxaqyc.js → location-services-8y62cfgq.js} +0 -0
- /package/dist/chunks/{location-services-bcbmvgj8.js → location-services-e2dtrqwf.js} +0 -0
- /package/dist/chunks/{location-services-3tt1qkhr.js → location-services-sqbb0ctm.js} +0 -0
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./location-services-
|
|
3
|
+
node70
|
|
4
|
+
} from "./location-services-55bzypr0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./location-services-
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./location-services-j81s0rnf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./location-services-
|
|
10
|
+
ID15,
|
|
11
|
+
Service71,
|
|
12
|
+
node76
|
|
13
|
+
} from "./location-services-s3fqj7fn.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./location-services-
|
|
15
|
+
ID11
|
|
16
|
+
} from "./location-services-jtp7wgq3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./location-services-
|
|
18
|
+
Service41,
|
|
19
|
+
node44
|
|
20
|
+
} from "./location-services-6y3njc5p.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./location-services-
|
|
22
|
+
ID10
|
|
23
|
+
} from "./location-services-15v2jbpx.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID9,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./location-services-
|
|
27
|
+
} from "./location-services-y8nep4sr.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID7,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./location-services-
|
|
33
|
+
Service61,
|
|
34
|
+
node65
|
|
35
|
+
} from "./location-services-v0qc9apc.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./location-services-
|
|
37
|
+
Service60,
|
|
38
|
+
node64
|
|
39
|
+
} from "./location-services-9r2qpqkx.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./location-services-
|
|
41
|
+
Service76,
|
|
42
|
+
node81
|
|
43
|
+
} from "./location-services-m9d2dprq.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./location-services-
|
|
45
|
+
Service78,
|
|
46
|
+
node83
|
|
47
|
+
} from "./location-services-jh4j6rwm.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
50
|
} from "./location-services-922hggd3.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./location-services-
|
|
52
|
+
Info30,
|
|
53
|
+
Ref4,
|
|
54
|
+
Service73,
|
|
55
|
+
node78
|
|
56
|
+
} from "./location-services-e4zvp2f4.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./location-services-
|
|
58
|
+
Service50,
|
|
59
|
+
node53
|
|
60
|
+
} from "./location-services-qx1zvxc9.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./location-services-
|
|
62
|
+
ID5
|
|
63
|
+
} from "./location-services-k67g98nv.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./location-services-
|
|
65
|
+
Service23,
|
|
66
|
+
node27
|
|
67
|
+
} from "./location-services-txm7s3af.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./location-services-
|
|
69
|
+
Service72,
|
|
70
|
+
node77
|
|
71
|
+
} from "./location-services-ka2k270b.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./location-services-
|
|
73
|
+
Service68,
|
|
74
|
+
node73
|
|
75
|
+
} from "./location-services-2acm1nys.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./location-services-
|
|
77
|
+
Service57,
|
|
78
|
+
node61
|
|
79
|
+
} from "./location-services-28fzndev.js";
|
|
80
80
|
import {
|
|
81
81
|
Source3,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./location-services-
|
|
82
|
+
Service30,
|
|
83
|
+
node34
|
|
84
|
+
} from "./location-services-z43vqr8p.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./location-services-
|
|
86
|
+
Info25,
|
|
87
|
+
Service67,
|
|
88
|
+
node72
|
|
89
|
+
} from "./location-services-vxqn53pa.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./location-services-
|
|
91
|
+
Service17,
|
|
92
|
+
node21
|
|
93
|
+
} from "./location-services-dqm30p7h.js";
|
|
94
94
|
import {
|
|
95
95
|
Service52,
|
|
96
|
-
|
|
97
|
-
} from "./location-services-
|
|
96
|
+
node55
|
|
97
|
+
} from "./location-services-xxdsfsv4.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./location-services-
|
|
99
|
+
Service66,
|
|
100
|
+
node71
|
|
101
|
+
} from "./location-services-eebkyynq.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./location-services-
|
|
103
|
+
Service51,
|
|
104
|
+
node54
|
|
105
|
+
} from "./location-services-at5nfy9r.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./location-services-
|
|
107
|
+
ID4,
|
|
108
|
+
Service16,
|
|
109
|
+
node20
|
|
110
|
+
} from "./location-services-btas0783.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
113
|
Info4,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./location-services-
|
|
116
|
+
Service15,
|
|
117
|
+
node19
|
|
118
|
+
} from "./location-services-btq6dtd4.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./location-services-
|
|
120
|
+
Service14,
|
|
121
|
+
node18
|
|
122
|
+
} from "./location-services-wnttaxta.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
125
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -140,36 +140,36 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const catalog = yield*
|
|
146
|
-
const commands = yield*
|
|
147
|
-
const bus = yield*
|
|
148
|
-
const integration = yield*
|
|
149
|
-
const kv = yield*
|
|
150
|
-
const mcp = yield*
|
|
151
|
-
const location = yield*
|
|
152
|
-
const reference = yield*
|
|
153
|
-
const rpc = yield*
|
|
154
|
-
const skill = yield*
|
|
155
|
-
const tools = yield*
|
|
156
|
-
const vcs = yield*
|
|
157
|
-
const websearch = yield*
|
|
158
|
-
const generate = yield*
|
|
159
|
-
const permission = yield*
|
|
160
|
-
const hooks = yield*
|
|
161
|
-
const sessions = yield*
|
|
143
|
+
const agents = yield* Service71;
|
|
144
|
+
const aisdk = yield* Service41;
|
|
145
|
+
const catalog = yield* Service60;
|
|
146
|
+
const commands = yield* Service76;
|
|
147
|
+
const bus = yield* Service79;
|
|
148
|
+
const integration = yield* Service61;
|
|
149
|
+
const kv = yield* Service78;
|
|
150
|
+
const mcp = yield* Service23;
|
|
151
|
+
const location = yield* Service73;
|
|
152
|
+
const reference = yield* Service30;
|
|
153
|
+
const rpc = yield* Service66;
|
|
154
|
+
const skill = yield* Service67;
|
|
155
|
+
const tools = yield* Service57;
|
|
156
|
+
const vcs = yield* Service51;
|
|
157
|
+
const websearch = yield* Service16;
|
|
158
|
+
const generate = yield* Service14;
|
|
159
|
+
const permission = yield* Service68;
|
|
160
|
+
const hooks = yield* Service72;
|
|
161
|
+
const sessions = yield* Service17;
|
|
162
162
|
const persistentPty = yield* Service52;
|
|
163
|
-
const locations = yield*
|
|
164
|
-
const worktrees = yield*
|
|
165
|
-
const locationInfo = () => new
|
|
163
|
+
const locations = yield* Service50;
|
|
164
|
+
const worktrees = yield* Service15;
|
|
165
|
+
const locationInfo = () => new Info30({
|
|
166
166
|
directory: location.directory,
|
|
167
167
|
workspaceID: location.workspaceID,
|
|
168
168
|
project: location.project
|
|
169
169
|
});
|
|
170
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
170
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
171
171
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
172
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
172
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
|
|
173
173
|
});
|
|
174
174
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
175
175
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -181,7 +181,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
181
|
return Effect.gen(function* () {
|
|
182
182
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
183
183
|
const plugins = yield* Plugin.Service;
|
|
184
|
-
const target = yield*
|
|
184
|
+
const target = yield* Service15;
|
|
185
185
|
yield* plugins.awaitActivation;
|
|
186
186
|
return yield* run(target);
|
|
187
187
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
@@ -189,10 +189,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
189
189
|
const decodeWorktree = Schema.decodeUnknownEffect(Info4);
|
|
190
190
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
191
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
|
-
const location = yield*
|
|
193
|
-
const agents = yield*
|
|
192
|
+
const location = yield* Service73;
|
|
193
|
+
const agents = yield* Service71;
|
|
194
194
|
return {
|
|
195
|
-
location: new
|
|
195
|
+
location: new Info30({
|
|
196
196
|
directory: location.directory,
|
|
197
197
|
workspaceID: location.workspaceID,
|
|
198
198
|
project: location.project
|
|
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
224
224
|
transform: (callback) => agents.transform((editor) => {
|
|
225
225
|
callback({
|
|
226
226
|
list: () => mutable(editor.list()),
|
|
227
|
-
get: (id) => mutable(editor.get(
|
|
228
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
229
|
-
update: (id, update) => editor.update(
|
|
230
|
-
remove: (id) => editor.remove(
|
|
227
|
+
get: (id) => mutable(editor.get(ID15.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID15.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID15.make(id))
|
|
231
231
|
});
|
|
232
232
|
})
|
|
233
233
|
},
|
|
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
262
|
catalog: {
|
|
263
263
|
provider: {
|
|
264
264
|
list: () => response(catalog.provider.available()),
|
|
265
|
-
get: (input) => catalog.provider.get(
|
|
265
|
+
get: (input) => catalog.provider.get(ID11.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
|
|
266
266
|
},
|
|
267
267
|
model: {
|
|
268
268
|
list: () => response(catalog.model.available()),
|
|
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
273
273
|
callback({
|
|
274
274
|
provider: {
|
|
275
275
|
list: () => mutable(editor.provider.list()),
|
|
276
|
-
get: (id) => mutable(editor.provider.get(
|
|
277
|
-
update: (id, update) => editor.provider.update(
|
|
278
|
-
remove: (id) => editor.provider.remove(
|
|
276
|
+
get: (id) => mutable(editor.provider.get(ID11.make(id))),
|
|
277
|
+
update: (id, update) => editor.provider.update(ID11.make(id), update),
|
|
278
|
+
remove: (id) => editor.provider.remove(ID11.make(id))
|
|
279
279
|
},
|
|
280
280
|
model: {
|
|
281
|
-
get: (providerID, modelID) => mutable(editor.model.get(
|
|
282
|
-
update: (providerID, modelID, update) => editor.model.update(
|
|
283
|
-
remove: (providerID, modelID) => editor.model.remove(
|
|
281
|
+
get: (providerID, modelID) => mutable(editor.model.get(ID11.make(providerID), ID10.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID11.make(providerID), ID10.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID11.make(providerID), ID10.make(modelID)),
|
|
284
284
|
default: {
|
|
285
285
|
get: editor.model.default.get,
|
|
286
|
-
set: (providerID, modelID) => editor.model.default.set(
|
|
286
|
+
set: (providerID, modelID) => editor.model.default.set(ID11.make(providerID), ID10.make(modelID))
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
});
|
|
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
307
307
|
},
|
|
308
308
|
integration: {
|
|
309
309
|
list: () => response(integration.list()),
|
|
310
|
-
get: (input) => response(integration.get(
|
|
310
|
+
get: (input) => response(integration.get(ID7.make(input.integrationID))),
|
|
311
311
|
connect: {
|
|
312
312
|
key: (input) => integration.connection.key({
|
|
313
|
-
integrationID:
|
|
313
|
+
integrationID: ID7.make(input.integrationID),
|
|
314
314
|
key: input.key,
|
|
315
315
|
answer: input.answer,
|
|
316
316
|
label: input.label
|
|
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
318
318
|
},
|
|
319
319
|
oauth: {
|
|
320
320
|
connect: (input) => response(integration.oauth.connect({
|
|
321
|
-
integrationID:
|
|
321
|
+
integrationID: ID7.make(input.integrationID),
|
|
322
322
|
methodID: MethodID2.make(input.methodID),
|
|
323
323
|
answer: input.answer,
|
|
324
324
|
label: input.label
|
|
325
325
|
})),
|
|
326
326
|
status: (input) => response(integration.oauth.status({
|
|
327
|
-
integrationID:
|
|
327
|
+
integrationID: ID7.make(input.integrationID),
|
|
328
328
|
attemptID: AttemptID2.make(input.attemptID)
|
|
329
329
|
})),
|
|
330
330
|
complete: (input) => integration.oauth.complete({
|
|
331
|
-
integrationID:
|
|
331
|
+
integrationID: ID7.make(input.integrationID),
|
|
332
332
|
attemptID: AttemptID2.make(input.attemptID),
|
|
333
333
|
code: input.code
|
|
334
334
|
}),
|
|
335
335
|
cancel: (input) => integration.oauth.cancel({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID7.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})
|
|
339
339
|
},
|
|
340
340
|
command: {
|
|
341
341
|
connect: (input) => response(integration.command.connect({
|
|
342
|
-
integrationID:
|
|
342
|
+
integrationID: ID7.make(input.integrationID),
|
|
343
343
|
methodID: MethodID2.make(input.methodID),
|
|
344
344
|
label: input.label
|
|
345
345
|
})),
|
|
346
346
|
status: (input) => response(integration.command.status({
|
|
347
|
-
integrationID:
|
|
347
|
+
integrationID: ID7.make(input.integrationID),
|
|
348
348
|
attemptID: AttemptID2.make(input.attemptID)
|
|
349
349
|
})),
|
|
350
350
|
cancel: (input) => integration.command.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID7.make(input.integrationID),
|
|
352
352
|
attemptID: AttemptID2.make(input.attemptID)
|
|
353
353
|
})
|
|
354
354
|
},
|
|
355
355
|
reload: integration.reload,
|
|
356
356
|
connection: {
|
|
357
|
-
active: (id) => integration.connection.active(
|
|
358
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
357
|
+
active: (id) => integration.connection.active(ID7.make(id)),
|
|
358
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID9.make(connection.id) } : connection)
|
|
359
359
|
},
|
|
360
360
|
transform: (callback) => integration.transform((editor) => {
|
|
361
361
|
callback({
|
|
362
362
|
list: () => mutable(editor.list()),
|
|
363
|
-
get: (id) => mutable(editor.get(
|
|
364
|
-
update: (id, update) => editor.update(
|
|
365
|
-
remove: (id) => editor.remove(
|
|
363
|
+
get: (id) => mutable(editor.get(ID7.make(id))),
|
|
364
|
+
update: (id, update) => editor.update(ID7.make(id), update),
|
|
365
|
+
remove: (id) => editor.remove(ID7.make(id)),
|
|
366
366
|
method: {
|
|
367
|
-
list: (id) => editor.method.list(
|
|
367
|
+
list: (id) => editor.method.list(ID7.make(id)),
|
|
368
368
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
369
|
-
remove: (id, method) => editor.method.remove(
|
|
369
|
+
remove: (id, method) => editor.method.remove(ID7.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
})
|
|
@@ -376,10 +376,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
376
376
|
const ref = locationRef(input);
|
|
377
377
|
if (ref && !isCurrentLocation(ref))
|
|
378
378
|
return Effect.gen(function* () {
|
|
379
|
-
const location = yield*
|
|
380
|
-
const mcp = yield*
|
|
379
|
+
const location = yield* Service73;
|
|
380
|
+
const mcp = yield* Service23;
|
|
381
381
|
return {
|
|
382
|
-
location: new
|
|
382
|
+
location: new Info30({
|
|
383
383
|
directory: location.directory,
|
|
384
384
|
workspaceID: location.workspaceID,
|
|
385
385
|
project: location.project
|
|
@@ -428,7 +428,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
428
428
|
callback({
|
|
429
429
|
list: () => mutable(editor.list()),
|
|
430
430
|
get: editor.get,
|
|
431
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
431
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info25)(value)),
|
|
432
432
|
update: editor.update,
|
|
433
433
|
remove: editor.remove
|
|
434
434
|
});
|
|
@@ -456,19 +456,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
456
456
|
providers: () => response(websearch.providers()),
|
|
457
457
|
query: (input) => response(websearch.query({
|
|
458
458
|
query: input.query,
|
|
459
|
-
providerID: input.providerID === undefined ? undefined :
|
|
459
|
+
providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
|
|
460
460
|
})),
|
|
461
461
|
reload: websearch.reload,
|
|
462
462
|
transform: (callback) => websearch.transform((editor) => {
|
|
463
463
|
callback({
|
|
464
464
|
add: (definition) => editor.add({
|
|
465
|
-
id:
|
|
465
|
+
id: ID4.make(definition.id),
|
|
466
466
|
name: definition.name,
|
|
467
467
|
execute: definition.execute
|
|
468
468
|
}),
|
|
469
469
|
default: {
|
|
470
470
|
get: editor.default.get,
|
|
471
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
471
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
|
|
472
472
|
}
|
|
473
473
|
});
|
|
474
474
|
})
|
|
@@ -495,7 +495,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
495
495
|
title: input?.title,
|
|
496
496
|
agent: input?.agent,
|
|
497
497
|
model: input?.model,
|
|
498
|
-
location: input?.location ??
|
|
498
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
499
499
|
}),
|
|
500
500
|
get: (input) => sessions.get(input.sessionID),
|
|
501
501
|
switchAgent: sessions.switchAgent,
|
|
@@ -514,29 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
514
514
|
return context;
|
|
515
515
|
});
|
|
516
516
|
var requirements3 = LayerNode.group([
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
517
|
+
node70,
|
|
518
|
+
node76,
|
|
519
|
+
node44,
|
|
520
|
+
node64,
|
|
521
|
+
node81,
|
|
522
|
+
node84,
|
|
523
|
+
node65,
|
|
522
524
|
node83,
|
|
523
|
-
|
|
525
|
+
node27,
|
|
526
|
+
node78,
|
|
527
|
+
node34,
|
|
528
|
+
node71,
|
|
529
|
+
node72,
|
|
524
530
|
node61,
|
|
525
|
-
node36,
|
|
526
|
-
node74,
|
|
527
|
-
node49,
|
|
528
|
-
node22,
|
|
529
|
-
node53,
|
|
530
531
|
node54,
|
|
531
|
-
|
|
532
|
-
|
|
532
|
+
node20,
|
|
533
|
+
node19,
|
|
534
|
+
node18,
|
|
535
|
+
node73,
|
|
536
|
+
node77,
|
|
533
537
|
node21,
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
node68,
|
|
537
|
-
node23,
|
|
538
|
-
node56,
|
|
539
|
-
node41
|
|
538
|
+
node55,
|
|
539
|
+
node53
|
|
540
540
|
]);
|
|
541
541
|
function storage2(kv, pluginID) {
|
|
542
542
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -563,7 +563,7 @@ function methodImplementation(input) {
|
|
|
563
563
|
if ("authorize" in input) {
|
|
564
564
|
const refresh = input.refresh;
|
|
565
565
|
return {
|
|
566
|
-
integrationID:
|
|
566
|
+
integrationID: ID7.make(input.integrationID),
|
|
567
567
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
568
568
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
569
569
|
if (authorization.mode === "auto") {
|
|
@@ -583,18 +583,18 @@ function methodImplementation(input) {
|
|
|
583
583
|
}
|
|
584
584
|
if (input.method.type === "env") {
|
|
585
585
|
return {
|
|
586
|
-
integrationID:
|
|
586
|
+
integrationID: ID7.make(input.integrationID),
|
|
587
587
|
method: input.method
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
if (input.method.type === "command") {
|
|
591
591
|
return {
|
|
592
|
-
integrationID:
|
|
592
|
+
integrationID: ID7.make(input.integrationID),
|
|
593
593
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
596
|
return {
|
|
597
|
-
integrationID:
|
|
597
|
+
integrationID: ID7.make(input.integrationID),
|
|
598
598
|
method: input.method
|
|
599
599
|
};
|
|
600
600
|
}
|