@opencode-ai/core 0.0.0-dev-19212 → 0.0.0-dev-19214
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{reference-y6nt3k22.js → shell-00aww1yf.js} +2 -2
- package/dist/chunks/{reference-0pkwxjdh.js → shell-00m11tas.js} +11 -11
- package/dist/chunks/{reference-w03xx005.js → shell-03f98ybe.js} +24 -24
- package/dist/chunks/{reference-x8wn8zn7.js → shell-07st23v6.js} +33 -33
- package/dist/chunks/{reference-r4fs0yvq.js → shell-0bmd60eh.js} +18 -18
- package/dist/chunks/{reference-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
- package/dist/chunks/{reference-5cmvkkst.js → shell-0jskpge6.js} +4 -4
- package/dist/chunks/{reference-sf4mqfcw.js → shell-0m561qeb.js} +8 -8
- package/dist/chunks/{reference-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{reference-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
- package/dist/chunks/{reference-5bk2z4g2.js → shell-0tm8rvrz.js} +6 -6
- package/dist/chunks/{reference-jj4631b0.js → shell-15wrc8zw.js} +11 -11
- package/dist/chunks/{reference-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
- package/dist/chunks/{reference-bz9mz44d.js → shell-1rx77as6.js} +30 -30
- package/dist/chunks/{reference-fvanntqq.js → shell-1tq060df.js} +4 -4
- package/dist/chunks/{reference-r9vqe5sy.js → shell-1vbd6b48.js} +15 -15
- package/dist/chunks/{reference-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{reference-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{reference-z63w68vq.js → shell-29x78va6.js} +6 -6
- package/dist/chunks/{reference-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-njkh1s3y.js → shell-2b10552f.js} +8 -8
- package/dist/chunks/{reference-vweaxkb2.js → shell-2gdv49he.js} +37 -37
- package/dist/chunks/{reference-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
- package/dist/chunks/{reference-3gzh0vtz.js → shell-2pb5ppxq.js} +9 -9
- package/dist/chunks/{reference-14hmenm3.js → shell-2qrq5jg3.js} +3 -3
- package/dist/chunks/{reference-67cp0t3n.js → shell-2qzq6ga3.js} +5 -5
- package/dist/chunks/{reference-g2tqkshq.js → shell-2vt5h35m.js} +26 -26
- package/dist/chunks/{reference-trss6eke.js → shell-3bjb2hjh.js} +27 -27
- package/dist/chunks/{reference-8dtfw9dp.js → shell-3gm33j7d.js} +15 -15
- package/dist/chunks/{reference-r4ftc533.js → shell-3gzfz3hk.js} +35 -35
- package/dist/chunks/{reference-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-0xd2d7hb.js → shell-3jj6bjb6.js} +5 -5
- package/dist/chunks/{reference-16p10fwd.js → shell-3kbcwn9y.js} +17 -17
- package/dist/chunks/{reference-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
- package/dist/chunks/{reference-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-gwybkery.js → shell-3yfy8pbr.js} +16 -16
- package/dist/chunks/{reference-dryn3h34.js → shell-4039hvv9.js} +10 -10
- package/dist/chunks/{reference-p8mkgytk.js → shell-42nrxqjf.js} +33 -33
- package/dist/chunks/{reference-vg3d5k3k.js → shell-447tz61m.js} +23 -23
- package/dist/chunks/{reference-fm6rrk6d.js → shell-44tjj06n.js} +38 -38
- package/dist/chunks/{reference-454k5vzh.js → shell-454k5vzh.js} +1 -1
- package/dist/chunks/{reference-86s3977f.js → shell-45t9anda.js} +1 -1
- package/dist/chunks/{reference-eg4pr325.js → shell-46e97tr7.js} +10 -10
- package/dist/chunks/{reference-sxfxx2yk.js → shell-46ypjb8x.js} +30 -30
- package/dist/chunks/{reference-emtnqcre.js → shell-4bnef52n.js} +25 -25
- package/dist/chunks/{reference-j3qa67je.js → shell-4g0b7sjj.js} +17 -17
- package/dist/chunks/{reference-4qjtp74j.js → shell-4qjtp74j.js} +2 -2
- package/dist/chunks/{reference-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
- package/dist/chunks/{reference-1gdy6sdc.js → shell-4rp8h9vr.js} +9 -9
- package/dist/chunks/{reference-4829mzp8.js → shell-4rqy6gt6.js} +10 -10
- package/dist/chunks/{reference-g97bp859.js → shell-4t5xtn3n.js} +20 -20
- package/dist/chunks/{reference-1ygqh575.js → shell-56gdpj1q.js} +9 -9
- package/dist/chunks/{reference-xb8haxn3.js → shell-5chzen2f.js} +16 -16
- package/dist/chunks/{reference-ngxtnptd.js → shell-5ctdmadx.js} +8 -8
- package/dist/chunks/{reference-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-0084cjzv.js → shell-5fc6d9pe.js} +20 -20
- package/dist/chunks/{reference-kwjjfgw8.js → shell-5fkgmv3x.js} +32 -32
- package/dist/chunks/{reference-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
- package/dist/chunks/{reference-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
- package/dist/chunks/{reference-xev5h8m1.js → shell-5n18k7nt.js} +6 -6
- package/dist/chunks/{reference-zn2pq4p8.js → shell-5nzbd5n0.js} +5 -5
- package/dist/chunks/{reference-5ngsm0n8.js → shell-6ff6vtqe.js} +5 -5
- package/dist/chunks/{reference-6cd6tdvt.js → shell-6kgc56n8.js} +6 -6
- package/dist/chunks/{reference-pkdexze4.js → shell-6v3jf47k.js} +19 -19
- package/dist/chunks/{reference-711hfp6y.js → shell-711hfp6y.js} +2 -2
- package/dist/chunks/{reference-72nftnjy.js → shell-72nftnjy.js} +2 -2
- package/dist/chunks/{reference-mhkvc446.js → shell-73tb2d7t.js} +3 -3
- package/dist/chunks/{reference-e5b0qn1c.js → shell-74jy76yg.js} +1 -1
- package/dist/chunks/{reference-18se47gg.js → shell-759pz1a2.js} +8 -8
- package/dist/chunks/{reference-0x6rv59f.js → shell-75zmbk21.js} +46 -46
- package/dist/chunks/{reference-3cae9tw6.js → shell-768fctrn.js} +14 -14
- package/dist/chunks/{reference-ztnyd3e4.js → shell-76wr4mq2.js} +9 -9
- package/dist/chunks/{reference-fexhrjwy.js → shell-7769r81k.js} +16 -16
- package/dist/chunks/{reference-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-6bwsc8qf.js → shell-7cpqsz3a.js} +35 -35
- package/dist/chunks/{reference-5k3f87xj.js → shell-7haxhjsc.js} +1 -1
- package/dist/chunks/{reference-1r334jan.js → shell-7k21e5kk.js} +6 -6
- package/dist/chunks/{reference-esxkkh19.js → shell-7w2wm759.js} +20 -20
- package/dist/chunks/{reference-qa3qhgw8.js → shell-806j49yq.js} +4 -4
- package/dist/chunks/{reference-pgnsvmsq.js → shell-8433ak71.js} +13 -13
- package/dist/chunks/{reference-12d3xw68.js → shell-871gwe26.js} +23 -23
- package/dist/chunks/{reference-k0zpnkm5.js → shell-8fsmte50.js} +4 -4
- package/dist/chunks/{reference-pztv92z9.js → shell-8fvescvn.js} +11 -11
- package/dist/chunks/{reference-5xenskfm.js → shell-8k5e3xq5.js} +50 -50
- package/dist/chunks/{reference-q1gnbgak.js → shell-8mtzvntg.js} +22 -22
- package/dist/chunks/{reference-spxrvp3q.js → shell-9199mjkg.js} +34 -34
- package/dist/chunks/{reference-8ss6hdvh.js → shell-95z3gcrg.js} +4 -4
- package/dist/chunks/{reference-etjqf465.js → shell-9660t85j.js} +57 -57
- package/dist/chunks/{reference-e0j83zpa.js → shell-9kksqv7m.js} +9 -9
- package/dist/chunks/{reference-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
- package/dist/chunks/{reference-mcxg6pmm.js → shell-9t99dw5q.js} +1 -1
- package/dist/chunks/{reference-a17pxmag.js → shell-9yf2qrwc.js} +11 -11
- package/dist/chunks/{reference-fa3xpm51.js → shell-a26qnsqg.js} +16 -16
- package/dist/chunks/{reference-vkfv6j0y.js → shell-a9c7wcwq.js} +12 -12
- package/dist/chunks/{reference-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-a2vgq88x.js → shell-af7y0kpf.js} +11 -11
- package/dist/chunks/{reference-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
- package/dist/chunks/{reference-9pvr9h0s.js → shell-ane3y94c.js} +11 -11
- package/dist/chunks/{reference-hmw71aj6.js → shell-anhky6p6.js} +14 -14
- package/dist/chunks/{reference-68prq3sc.js → shell-apamhaje.js} +32 -32
- package/dist/chunks/{reference-692yah3v.js → shell-av8xxqjs.js} +5 -5
- package/dist/chunks/{reference-f7tmr1cs.js → shell-az9b9mm6.js} +4 -4
- package/dist/chunks/shell-b3t4emvz.js +22 -0
- package/dist/chunks/{reference-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-d05z5f6t.js → shell-b9mymrzg.js} +41 -41
- package/dist/chunks/{reference-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
- package/dist/chunks/shell-bax423tc.js +247 -0
- package/dist/chunks/{reference-bsvvsrn1.js → shell-bcezcar3.js} +5 -5
- package/dist/chunks/{reference-1ks609kc.js → shell-be80r41v.js} +32 -32
- package/dist/chunks/{reference-an7cqtb7.js → shell-bf0ztrs3.js} +4 -4
- package/dist/chunks/{reference-mqv5z4da.js → shell-c71cneyv.js} +7 -7
- package/dist/chunks/shell-c9tsen2f.js +460 -0
- package/dist/chunks/{reference-6mj2pf94.js → shell-cgqryxpd.js} +5 -5
- package/dist/chunks/{reference-bcv0c355.js → shell-cmwx9h7j.js} +4 -4
- package/dist/chunks/{reference-rmk9teax.js → shell-cqn5ay5r.js} +19 -19
- package/dist/chunks/{reference-x2q61z0h.js → shell-crpvf69r.js} +18 -18
- package/dist/chunks/{reference-d72308c8.js → shell-d72308c8.js} +2 -2
- package/dist/chunks/{reference-mzj84rkx.js → shell-d8bdgt1m.js} +10 -10
- package/dist/chunks/{reference-jfgx1kn9.js → shell-ddcwh8jf.js} +3 -3
- package/dist/chunks/{reference-pv06p42z.js → shell-dsf572e0.js} +4 -4
- package/dist/chunks/{reference-3v8a3rwp.js → shell-dsfx0j74.js} +9 -9
- package/dist/chunks/{reference-r5cm8qwg.js → shell-dy3b9v5q.js} +9 -9
- package/dist/chunks/{reference-evv0wppe.js → shell-e0y4b763.js} +16 -16
- package/dist/chunks/{reference-tjtqfkq6.js → shell-e6cve5mm.js} +31 -31
- package/dist/chunks/{reference-e82z9tr0.js → shell-e82z9tr0.js} +1 -1
- package/dist/chunks/{reference-ms9ez6yh.js → shell-e83y27r5.js} +7 -7
- package/dist/chunks/{reference-41p65mbg.js → shell-e9ez9tj0.js} +24 -24
- package/dist/chunks/{reference-snsfg8hg.js → shell-ebbc4kwn.js} +26 -26
- package/dist/chunks/{reference-1dvtgkhr.js → shell-esp3dmb3.js} +3 -3
- package/dist/chunks/{reference-3qew0nv7.js → shell-ex0wtrk2.js} +15 -15
- package/dist/chunks/{reference-0ynctp82.js → shell-ex76qa1h.js} +15 -15
- package/dist/chunks/{reference-xc4h7e7s.js → shell-ez6kpqxh.js} +22 -22
- package/dist/chunks/{reference-5ehqaa7d.js → shell-f0vxf23b.js} +24 -24
- package/dist/chunks/{reference-x6z3jawz.js → shell-f1keh2an.js} +24 -24
- package/dist/chunks/{reference-hjrjbgez.js → shell-famd3pv6.js} +5 -5
- package/dist/chunks/{reference-6wt2d068.js → shell-ff1h9ct4.js} +24 -24
- package/dist/chunks/{reference-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{reference-fxypknc8.js → shell-fxypknc8.js} +1 -1
- package/dist/chunks/{reference-y5ey60w0.js → shell-g3k4d7kp.js} +11 -11
- package/dist/chunks/{reference-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-a3hbghzv.js → shell-gd943ppd.js} +25 -25
- package/dist/chunks/{reference-gdvy8fx6.js → shell-gdvy8fx6.js} +1 -1
- package/dist/chunks/{reference-kw0c7kv6.js → shell-gtdavqjy.js} +18 -18
- package/dist/chunks/{reference-1pxjmmqp.js → shell-gvphy7jk.js} +8 -8
- package/dist/chunks/{reference-2n1jf9zw.js → shell-h1byzm8g.js} +7 -7
- package/dist/chunks/{reference-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
- package/dist/chunks/{reference-g937y3ww.js → shell-hjp2pbpf.js} +1 -1
- package/dist/chunks/{reference-2yberneh.js → shell-hn4sjpb5.js} +2 -2
- package/dist/chunks/{reference-hn57h045.js → shell-hn57h045.js} +1 -1
- package/dist/chunks/{reference-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
- package/dist/chunks/{reference-wvd7xkhd.js → shell-htbxhgrz.js} +17 -17
- package/dist/chunks/{reference-wyrajqkf.js → shell-hycyp8g1.js} +33 -33
- package/dist/chunks/{reference-v72skxvp.js → shell-j34gsgr1.js} +18 -18
- package/dist/chunks/{reference-qwrhw08z.js → shell-j3m9zsv2.js} +28 -28
- package/dist/chunks/{reference-agc30tdk.js → shell-j80pgsaj.js} +11 -11
- package/dist/chunks/{reference-paphc93g.js → shell-j935v87r.js} +2 -2
- package/dist/chunks/{reference-a3jrf4x9.js → shell-jq9g1dav.js} +10 -10
- package/dist/chunks/{reference-e7ngq1fb.js → shell-jqrqy21d.js} +3 -3
- package/dist/chunks/{reference-2zjvjrq5.js → shell-jv6tbxxe.js} +8 -8
- package/dist/chunks/{reference-qh8mgzry.js → shell-jvc265pg.js} +9 -9
- package/dist/chunks/{reference-tcttdp38.js → shell-jzqf3jx6.js} +13 -13
- package/dist/chunks/{reference-kjmqhh6j.js → shell-jzyxh6de.js} +30 -30
- package/dist/chunks/{reference-ea1bn3s4.js → shell-k3djfchk.js} +18 -18
- package/dist/chunks/{reference-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
- package/dist/chunks/{reference-jdqgf29y.js → shell-kfqx8kb7.js} +6 -6
- package/dist/chunks/{reference-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{reference-hw4pv20g.js → shell-kvsjn1dr.js} +2 -2
- package/dist/chunks/{reference-5kw2ja90.js → shell-kvxwx3nk.js} +18 -18
- package/dist/chunks/{reference-y18qbtn0.js → shell-kyb951k0.js} +3 -3
- package/dist/chunks/{reference-4z6b0fg6.js → shell-m4bpwynw.js} +6 -6
- package/dist/chunks/{reference-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/shell-mf5kcrna.js +4 -0
- package/dist/chunks/{reference-8efgc05f.js → shell-mt97rwwj.js} +15 -15
- package/dist/chunks/{reference-yhr218qz.js → shell-mtcjf44p.js} +4 -4
- package/dist/chunks/{reference-xrq8ec0v.js → shell-mtvcp45q.js} +15 -15
- package/dist/chunks/{reference-g2xm0wwc.js → shell-mwm6j4mv.js} +11 -11
- package/dist/chunks/{reference-n3zdm92s.js → shell-n3m3nbex.js} +4 -4
- package/dist/chunks/{reference-e8dmw4nq.js → shell-n5vm294d.js} +29 -29
- package/dist/chunks/{reference-w26538p1.js → shell-n87qk14a.js} +24 -24
- package/dist/chunks/{reference-z407bpgn.js → shell-n8z0sp8q.js} +21 -21
- package/dist/chunks/{reference-v60ecprk.js → shell-nag7dxjf.js} +9 -9
- package/dist/chunks/{reference-4s516vzf.js → shell-nd9cq3a7.js} +9 -9
- package/dist/chunks/{reference-j2823k0a.js → shell-ng39vjdn.js} +2 -2
- package/dist/chunks/{reference-4h3djfaw.js → shell-nwrk5bab.js} +35 -35
- package/dist/chunks/{reference-1qw2s0et.js → shell-nxrz604p.js} +5 -5
- package/dist/chunks/{reference-t87rya8x.js → shell-ny0wre0x.js} +18 -18
- package/dist/chunks/{reference-mb6p4x5v.js → shell-nzfzr9h0.js} +43 -43
- package/dist/chunks/{reference-pjrq25az.js → shell-p58t2f8x.js} +22 -22
- package/dist/chunks/{reference-1n116cmy.js → shell-pbhkjpds.js} +9 -9
- package/dist/chunks/{reference-6efxj6ke.js → shell-pdy88f7k.js} +4 -4
- package/dist/chunks/{reference-bdqrk2vk.js → shell-pjedbq3k.js} +4 -4
- package/dist/chunks/{reference-asb6ptdj.js → shell-pjjtcy2p.js} +10 -10
- package/dist/chunks/{reference-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{reference-cawt2ka0.js → shell-pprv0vrv.js} +32 -32
- package/dist/chunks/{reference-g41n1fn3.js → shell-pxednv00.js} +5 -5
- package/dist/chunks/{reference-q509s3k3.js → shell-q509s3k3.js} +1 -1
- package/dist/chunks/{reference-x41jnft1.js → shell-q57b8tdc.js} +57 -57
- package/dist/chunks/{reference-z6q3sy01.js → shell-q9b8xy67.js} +9 -9
- package/dist/chunks/{reference-fcrkznn8.js → shell-qgn6gcr1.js} +5 -5
- package/dist/chunks/{reference-8s7rem2e.js → shell-qhchxjqx.js} +5 -5
- package/dist/chunks/{reference-18tdf853.js → shell-qr58g126.js} +7 -7
- package/dist/chunks/{reference-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-rx1jg21z.js → shell-r8cfqb6n.js} +166 -166
- package/dist/chunks/{reference-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
- package/dist/chunks/{reference-6k404gxp.js → shell-rh6rd7ag.js} +4 -4
- package/dist/chunks/{reference-b2vrfppg.js → shell-rpqdjjqf.js} +18 -18
- package/dist/chunks/{reference-3vnt15xv.js → shell-ryhm87t0.js} +43 -43
- package/dist/chunks/{reference-a9zfrvqc.js → shell-rzejcw32.js} +5 -5
- package/dist/chunks/{reference-xqsy6kp0.js → shell-rzyn4jtv.js} +1 -1
- package/dist/chunks/{reference-1qh4pj30.js → shell-s375ke01.js} +24 -24
- package/dist/chunks/{reference-qmgss0yx.js → shell-s440spbv.js} +22 -22
- package/dist/chunks/{reference-xcjh69t4.js → shell-s85evsrx.js} +15 -15
- package/dist/chunks/{reference-ah5d5vc5.js → shell-s8nmbtd4.js} +9 -9
- package/dist/chunks/{reference-5mmddgh2.js → shell-sa3v8zc4.js} +10 -10
- package/dist/chunks/{reference-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
- package/dist/chunks/{reference-j8tds478.js → shell-smfx8wrd.js} +9 -9
- package/dist/chunks/{reference-yegg0avx.js → shell-st0xy9pc.js} +84 -84
- package/dist/chunks/{reference-8nfv3dr6.js → shell-swa286b8.js} +13 -13
- package/dist/chunks/{reference-gaw4vzx1.js → shell-swx5t4h5.js} +11 -11
- package/dist/chunks/{reference-7x2s7bzw.js → shell-t2cat712.js} +17 -17
- package/dist/chunks/{reference-pzqtgemf.js → shell-t2h14k12.js} +11 -11
- package/dist/chunks/{reference-84p78t7c.js → shell-t98tbty9.js} +11 -11
- package/dist/chunks/{reference-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-6md5mvvn.js → shell-tcxv96y6.js} +15 -15
- package/dist/chunks/{reference-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
- package/dist/chunks/{reference-mkqxwqz2.js → shell-v0z4favv.js} +7 -7
- package/dist/chunks/{reference-t7jrq559.js → shell-v623p3vn.js} +8 -8
- package/dist/chunks/{reference-krma7hp6.js → shell-v8hftjms.js} +19 -19
- package/dist/chunks/{reference-sht6jbn9.js → shell-vk2ezsxw.js} +26 -26
- package/dist/chunks/{reference-d7na6v95.js → shell-vkh6dqf1.js} +3 -3
- package/dist/chunks/{reference-sznyev98.js → shell-vnwmzs4a.js} +5 -5
- package/dist/chunks/{reference-2w60sym0.js → shell-vprv6wac.js} +45 -45
- package/dist/chunks/{reference-s3eqpch7.js → shell-vqe9fq18.js} +1 -1
- package/dist/chunks/{reference-n97at88n.js → shell-vxzwg83z.js} +15 -15
- package/dist/chunks/{reference-hfg87k89.js → shell-w0nm8ced.js} +24 -24
- package/dist/chunks/{reference-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-21psq759.js → shell-w7q1nt0x.js} +15 -15
- package/dist/chunks/{reference-vyc39jy3.js → shell-w7q2j5hm.js} +13 -13
- package/dist/chunks/{reference-8q4ja06g.js → shell-waq1hr54.js} +15 -15
- package/dist/chunks/{reference-50xx9m7g.js → shell-wc7kexz2.js} +9 -9
- package/dist/chunks/{reference-018mknr8.js → shell-wd340t2h.js} +17 -17
- package/dist/chunks/{reference-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{reference-g77vssk4.js → shell-wkjngxy5.js} +3 -3
- package/dist/chunks/{reference-k1m6m3k9.js → shell-wkzk3h6w.js} +14 -14
- package/dist/chunks/{reference-tk4kvvnf.js → shell-wmwak4mn.js} +24 -24
- package/dist/chunks/{reference-k3895j1r.js → shell-wxx0ch5c.js} +24 -24
- package/dist/chunks/{reference-ffynz4t3.js → shell-wz16cg5z.js} +20 -20
- package/dist/chunks/{reference-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-ef7xpky4.js → shell-x629tvq7.js} +18 -18
- package/dist/chunks/{reference-snxwbbja.js → shell-xg3vtz5h.js} +4 -4
- package/dist/chunks/{reference-v5qh35yv.js → shell-xk1h8syj.js} +9 -9
- package/dist/chunks/{reference-4sjb0t0m.js → shell-xmwqh1zw.js} +30 -30
- package/dist/chunks/{reference-e579sj9a.js → shell-xnf7zpzd.js} +11 -11
- package/dist/chunks/{reference-q05vaz4s.js → shell-xwmwycrq.js} +5 -5
- package/dist/chunks/{reference-d657j5sf.js → shell-xy6tr93g.js} +8 -8
- package/dist/chunks/{reference-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-y2cqme3r.js → shell-y2cqme3r.js} +2 -2
- package/dist/chunks/{reference-1c2r3nav.js → shell-y68fmg6q.js} +6 -6
- package/dist/chunks/{reference-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{reference-yfbd16n1.js → shell-yfbd16n1.js} +2 -2
- package/dist/chunks/{reference-dbhz56x7.js → shell-yj7asw96.js} +15 -15
- package/dist/chunks/{reference-f2n192rq.js → shell-yp2x3t23.js} +4 -4
- package/dist/chunks/{reference-dnahm207.js → shell-yqgcr8m8.js} +23 -23
- package/dist/chunks/{reference-2sqse76q.js → shell-yw1br2hz.js} +76 -76
- package/dist/chunks/{reference-09ywgxwg.js → shell-yw9364ag.js} +4 -4
- package/dist/chunks/{reference-y3t4revc.js → shell-yzbh0z81.js} +4 -4
- package/dist/chunks/{reference-9v2dm5wj.js → shell-z0hzsv9t.js} +14 -14
- package/dist/chunks/{reference-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
- package/dist/chunks/{reference-asvzsbd0.js → shell-z3zp40bp.js} +13 -13
- package/dist/chunks/{reference-856yxx7h.js → shell-zmdaybe6.js} +10 -10
- package/dist/chunks/{reference-6w0j3k4h.js → shell-zmghpns8.js} +4 -4
- package/dist/chunks/{reference-vr25nrf1.js → shell-zvpejf85.js} +46 -46
- package/dist/chunks/{reference-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +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 +96 -96
- package/dist/config/plugin/skill.js +135 -135
- 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 +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +355 -355
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +348 -348
- package/dist/instruction-discovery.js +83 -83
- 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 +125 -125
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +121 -121
- 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 +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- 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 +2 -2
- package/dist/plugin/plan.js +96 -96
- 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/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 +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- 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 +155 -155
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +84 -84
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -120
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +108 -108
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +99 -99
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/reference-584ntgtv.js +0 -460
- package/dist/chunks/reference-7zk4hah4.js +0 -4
- package/dist/chunks/reference-ehdge3wy.js +0 -22
- package/dist/chunks/reference-yb1x73y0.js +0 -247
- /package/dist/chunks/{reference-0fabt78z.js → shell-0fabt78z.js} +0 -0
- /package/dist/chunks/{reference-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3t738kvx.js → shell-3t738kvx.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-41nvscxy.js → shell-41nvscxy.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-982e01ww.js → shell-982e01ww.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mntxs535.js → shell-mntxs535.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{reference-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node35
|
|
4
|
+
} from "./shell-15wrc8zw.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-zmghpns8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID7,
|
|
11
|
+
Service53,
|
|
12
|
+
node57
|
|
13
|
+
} from "./shell-03f98ybe.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
ID13
|
|
16
|
+
} from "./shell-m4bpwynw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service44,
|
|
19
|
+
node48
|
|
20
|
+
} from "./shell-j80pgsaj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./shell-pjjtcy2p.js";
|
|
24
24
|
import {
|
|
25
25
|
ID14,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-wmwak4mn.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID9,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service57,
|
|
34
|
+
node61
|
|
35
|
+
} from "./shell-s375ke01.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service43,
|
|
38
|
+
node47
|
|
39
|
+
} from "./shell-4bnef52n.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service59,
|
|
42
|
+
node63
|
|
43
|
+
} from "./shell-n8z0sp8q.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service78,
|
|
46
|
+
node83
|
|
47
|
+
} from "./shell-d8bdgt1m.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./shell-p8qxwesx.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
52
|
+
Info30,
|
|
53
53
|
Ref4,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
57
|
-
import {
|
|
58
|
-
Service43,
|
|
59
|
-
node46
|
|
60
|
-
} from "./reference-d657j5sf.js";
|
|
54
|
+
Service72,
|
|
55
|
+
node77
|
|
56
|
+
} from "./shell-7769r81k.js";
|
|
61
57
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
Service48,
|
|
59
|
+
node52
|
|
60
|
+
} from "./shell-xy6tr93g.js";
|
|
64
61
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./reference-5xenskfm.js";
|
|
62
|
+
ID15
|
|
63
|
+
} from "./shell-n87qk14a.js";
|
|
68
64
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
65
|
+
Service20,
|
|
66
|
+
node24
|
|
67
|
+
} from "./shell-8k5e3xq5.js";
|
|
72
68
|
import {
|
|
73
69
|
Service64,
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
70
|
+
node68
|
|
71
|
+
} from "./shell-5ctdmadx.js";
|
|
76
72
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
73
|
+
Service45,
|
|
74
|
+
node49
|
|
75
|
+
} from "./shell-9660t85j.js";
|
|
76
|
+
import {
|
|
77
|
+
Service55,
|
|
78
|
+
node59
|
|
79
|
+
} from "./shell-s440spbv.js";
|
|
80
80
|
import {
|
|
81
81
|
Source5,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service49,
|
|
83
|
+
node53
|
|
84
|
+
} from "./shell-wxx0ch5c.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info5,
|
|
87
|
+
Service31,
|
|
88
|
+
node36
|
|
89
|
+
} from "./shell-3yfy8pbr.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
94
|
-
import {
|
|
95
|
-
Service56,
|
|
96
|
-
node60
|
|
97
|
-
} from "./reference-xc4h7e7s.js";
|
|
91
|
+
Service13,
|
|
92
|
+
node17
|
|
93
|
+
} from "./shell-yw1br2hz.js";
|
|
98
94
|
import {
|
|
99
95
|
Service75,
|
|
100
96
|
node80
|
|
101
|
-
} from "./
|
|
97
|
+
} from "./shell-ez6kpqxh.js";
|
|
102
98
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
99
|
+
Service32,
|
|
100
|
+
node37
|
|
101
|
+
} from "./shell-w7q1nt0x.js";
|
|
106
102
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
103
|
+
Service28,
|
|
104
|
+
node32
|
|
105
|
+
} from "./shell-4g0b7sjj.js";
|
|
106
|
+
import {
|
|
107
|
+
ID16,
|
|
108
|
+
Service70,
|
|
109
|
+
node75
|
|
110
|
+
} from "./shell-447tz61m.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info11,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./
|
|
116
|
+
Service56,
|
|
117
|
+
node60
|
|
118
|
+
} from "./shell-hycyp8g1.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service33,
|
|
121
|
+
node38
|
|
122
|
+
} from "./shell-4t5xtn3n.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
|
-
} from "./
|
|
125
|
+
} from "./shell-9rqn6x4v.js";
|
|
126
126
|
|
|
127
127
|
// src/plugin/host.ts
|
|
128
128
|
var exports_host = {};
|
|
@@ -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*
|
|
143
|
+
const agents = yield* Service53;
|
|
144
|
+
const aisdk = yield* Service44;
|
|
145
|
+
const catalog = yield* Service43;
|
|
146
|
+
const commands = yield* Service59;
|
|
147
147
|
const bus = yield* Service79;
|
|
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*
|
|
162
|
-
const persistentPty = yield*
|
|
163
|
-
const locations = yield*
|
|
164
|
-
const worktrees = yield*
|
|
165
|
-
const locationInfo = () => new
|
|
148
|
+
const integration = yield* Service57;
|
|
149
|
+
const kv = yield* Service78;
|
|
150
|
+
const mcp = yield* Service20;
|
|
151
|
+
const location = yield* Service72;
|
|
152
|
+
const reference = yield* Service49;
|
|
153
|
+
const rpc = yield* Service32;
|
|
154
|
+
const skill = yield* Service31;
|
|
155
|
+
const tools = yield* Service55;
|
|
156
|
+
const vcs = yield* Service28;
|
|
157
|
+
const websearch = yield* Service70;
|
|
158
|
+
const generate = yield* Service33;
|
|
159
|
+
const permission = yield* Service45;
|
|
160
|
+
const hooks = yield* Service64;
|
|
161
|
+
const sessions = yield* Service13;
|
|
162
|
+
const persistentPty = yield* Service75;
|
|
163
|
+
const locations = yield* Service48;
|
|
164
|
+
const worktrees = yield* Service56;
|
|
165
|
+
const locationInfo = () => new Info30({
|
|
166
166
|
directory: location.directory,
|
|
167
167
|
workspaceID: location.workspaceID,
|
|
168
168
|
project: location.project
|
|
169
169
|
});
|
|
170
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 : ID15.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,18 +181,18 @@ 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* Service56;
|
|
185
185
|
yield* plugins.awaitActivation;
|
|
186
186
|
return yield* run(target);
|
|
187
187
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
188
188
|
};
|
|
189
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
189
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info11);
|
|
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* Service72;
|
|
193
|
+
const agents = yield* Service53;
|
|
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(ID7.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID7.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID7.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID7.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(ID13.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(ID13.make(id))),
|
|
277
|
+
update: (id, update) => editor.provider.update(ID13.make(id), update),
|
|
278
|
+
remove: (id) => editor.provider.remove(ID13.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(ID13.make(providerID), ID12.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID13.make(providerID), ID12.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(ID13.make(providerID), ID12.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(ID9.make(input.integrationID))),
|
|
311
311
|
connect: {
|
|
312
312
|
key: (input) => integration.connection.key({
|
|
313
|
-
integrationID:
|
|
313
|
+
integrationID: ID9.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: ID9.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: ID9.make(input.integrationID),
|
|
328
328
|
attemptID: AttemptID2.make(input.attemptID)
|
|
329
329
|
})),
|
|
330
330
|
complete: (input) => integration.oauth.complete({
|
|
331
|
-
integrationID:
|
|
331
|
+
integrationID: ID9.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: ID9.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: ID9.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: ID9.make(input.integrationID),
|
|
348
348
|
attemptID: AttemptID2.make(input.attemptID)
|
|
349
349
|
})),
|
|
350
350
|
cancel: (input) => integration.command.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID9.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(
|
|
357
|
+
active: (id) => integration.connection.active(ID9.make(id)),
|
|
358
358
|
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.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(ID9.make(id))),
|
|
364
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
365
|
+
remove: (id) => editor.remove(ID9.make(id)),
|
|
366
366
|
method: {
|
|
367
|
-
list: (id) => editor.method.list(
|
|
367
|
+
list: (id) => editor.method.list(ID9.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(ID9.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* Service72;
|
|
380
|
+
const mcp = yield* Service20;
|
|
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(Info5)(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 : ID16.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: ID16.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 : ID16.make(selection))
|
|
472
472
|
}
|
|
473
473
|
});
|
|
474
474
|
})
|
|
@@ -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
|
+
node35,
|
|
518
|
+
node57,
|
|
519
|
+
node48,
|
|
520
|
+
node47,
|
|
521
|
+
node63,
|
|
522
522
|
node84,
|
|
523
|
-
|
|
524
|
-
|
|
523
|
+
node61,
|
|
524
|
+
node83,
|
|
525
|
+
node24,
|
|
526
|
+
node77,
|
|
527
|
+
node53,
|
|
528
|
+
node37,
|
|
529
|
+
node36,
|
|
530
|
+
node59,
|
|
531
|
+
node32,
|
|
532
|
+
node75,
|
|
533
|
+
node60,
|
|
525
534
|
node38,
|
|
526
|
-
|
|
527
|
-
node76,
|
|
528
|
-
node80,
|
|
529
|
-
node50,
|
|
530
|
-
node45,
|
|
531
|
-
node26,
|
|
532
|
-
node52,
|
|
535
|
+
node49,
|
|
533
536
|
node68,
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
node27,
|
|
538
|
-
node60,
|
|
539
|
-
node46
|
|
537
|
+
node17,
|
|
538
|
+
node80,
|
|
539
|
+
node52
|
|
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: ID9.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: ID9.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: ID9.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: ID9.make(input.integrationID),
|
|
598
598
|
method: input.method
|
|
599
599
|
};
|
|
600
600
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin13
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart, ToolFailure } from "@opencode-ai/ai";
|
|
13
13
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
@@ -20,7 +20,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
20
20
|
})
|
|
21
21
|
});
|
|
22
22
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
23
|
-
var
|
|
23
|
+
var Plugin13 = {
|
|
24
24
|
id: "opencode.tools",
|
|
25
25
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
26
26
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -51,4 +51,4 @@ var Plugin20 = {
|
|
|
51
51
|
})
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
export { MoveInput2,
|
|
54
|
+
export { MoveInput2, Plugin13, exports_opencode };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-m4bpwynw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info26,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pjjtcy2p.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID13.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID12.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info26.make({
|
|
92
|
+
...Info26.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID12.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|