@opencode/core 0.0.0-dev-19314 → 0.0.0-dev-19316
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{catalog-vh11z94e.js → workspace-0cmfkvjr.js} +30 -30
- package/dist/chunks/{catalog-vyw6j2ga.js → workspace-0em1p5dp.js} +79 -79
- package/dist/chunks/{catalog-eaj1djv9.js → workspace-0gdmqesm.js} +8 -8
- package/dist/chunks/{catalog-ve6nm2s5.js → workspace-0hf9g8pg.js} +6 -6
- package/dist/chunks/{catalog-qgn6gcr1.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{catalog-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{catalog-6xctjfew.js → workspace-0qnka9n6.js} +17 -17
- package/dist/chunks/{catalog-24h78ytr.js → workspace-0s5v0p6k.js} +56 -56
- package/dist/chunks/{catalog-kskkf7z8.js → workspace-0yq4eb34.js} +24 -24
- package/dist/chunks/{catalog-fsz3pvss.js → workspace-10dffqyq.js} +20 -20
- package/dist/chunks/{catalog-mwa0e6a9.js → workspace-12jdhdht.js} +11 -11
- package/dist/chunks/{catalog-rvkfh9gq.js → workspace-15pjexzy.js} +13 -13
- package/dist/chunks/{catalog-qrw3sqwz.js → workspace-19g3xj2s.js} +30 -30
- package/dist/chunks/{catalog-f2n192rq.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{catalog-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{catalog-1dfhrqqs.js → workspace-1dfhrqqs.js} +2 -2
- package/dist/chunks/{catalog-q6ew69a6.js → workspace-1ev0k7s6.js} +8 -8
- package/dist/chunks/{catalog-2e77r6s1.js → workspace-1jyjw0dy.js} +7 -7
- package/dist/chunks/{catalog-z3akje6z.js → workspace-1s5kemrg.js} +25 -25
- package/dist/chunks/{catalog-zdv3kkgs.js → workspace-1s80jvpe.js} +19 -19
- package/dist/chunks/{catalog-ndfxyavn.js → workspace-1tbv6t5g.js} +41 -41
- package/dist/chunks/{catalog-hd29wc17.js → workspace-1vtz46z8.js} +8 -8
- package/dist/chunks/{catalog-phb6trbc.js → workspace-1yafz2c2.js} +21 -21
- package/dist/chunks/{catalog-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-2p2mt04t.js → workspace-2fsj26k1.js} +15 -15
- package/dist/chunks/{catalog-z011f6kj.js → workspace-2nyvck04.js} +9 -9
- package/dist/chunks/{catalog-kpq9nmg7.js → workspace-2vg72gbq.js} +9 -9
- package/dist/chunks/{catalog-ws9qbe8g.js → workspace-2yamwwtx.js} +10 -10
- package/dist/chunks/{catalog-8m0g53hh.js → workspace-317x7tvz.js} +16 -16
- package/dist/chunks/{catalog-q7fgsypg.js → workspace-323qkwbp.js} +7 -7
- package/dist/chunks/{catalog-1ygqh575.js → workspace-33w4ejhs.js} +6 -6
- package/dist/chunks/{catalog-x28agkan.js → workspace-36jkazxa.js} +5 -5
- package/dist/chunks/{catalog-tcf8p114.js → workspace-39mbwg99.js} +19 -19
- package/dist/chunks/{catalog-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{catalog-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-t4r08x47.js → workspace-3q6hd4jt.js} +10 -10
- package/dist/chunks/{catalog-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-qmr73083.js → workspace-3trbxeqx.js} +1 -1
- package/dist/chunks/{catalog-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-sgwpc7eb.js → workspace-3v77a270.js} +21 -21
- package/dist/chunks/{catalog-edx227vk.js → workspace-40ztfmwz.js} +15 -15
- package/dist/chunks/{catalog-cw91yjbh.js → workspace-42h2bxtq.js} +10 -10
- package/dist/chunks/{catalog-rpmqnxye.js → workspace-43bvnm0c.js} +29 -29
- package/dist/chunks/{catalog-twcpwxhh.js → workspace-48hw3qw3.js} +22 -22
- package/dist/chunks/{catalog-hbng0ddp.js → workspace-4d61g8er.js} +44 -44
- package/dist/chunks/{catalog-6xw3seg4.js → workspace-4dg124c5.js} +5 -5
- package/dist/chunks/{catalog-hzhp00rt.js → workspace-4jmdj23e.js} +9 -9
- package/dist/chunks/{catalog-2pt4x9ez.js → workspace-4rd6evxz.js} +20 -20
- package/dist/chunks/{catalog-3cktdchm.js → workspace-4t57t1en.js} +14 -14
- package/dist/chunks/{catalog-jb2wtrpy.js → workspace-4tq5d7x2.js} +20 -20
- package/dist/chunks/{catalog-sv2dresp.js → workspace-4zb7zm34.js} +11 -11
- package/dist/chunks/{catalog-8vza3b95.js → workspace-4zbs3q2b.js} +33 -33
- package/dist/chunks/{catalog-k1mnzbv4.js → workspace-50p99xk2.js} +51 -51
- package/dist/chunks/{catalog-m27damhn.js → workspace-540a1fgr.js} +33 -33
- package/dist/chunks/{catalog-3rnkf2ya.js → workspace-5aktmhjp.js} +15 -15
- package/dist/chunks/{catalog-nyh0bxrv.js → workspace-5cwvq4ff.js} +2 -2
- package/dist/chunks/{catalog-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-c1zsfx0e.js → workspace-5jfbnsm9.js} +47 -47
- package/dist/chunks/{catalog-edv3vkcm.js → workspace-5kmnb5g6.js} +15 -15
- package/dist/chunks/{catalog-twy35tz0.js → workspace-5kptn8c0.js} +9 -9
- package/dist/chunks/{catalog-82q7thsw.js → workspace-5nzafj0m.js} +11 -11
- package/dist/chunks/{catalog-rjephn4x.js → workspace-5pq3v0sk.js} +15 -15
- package/dist/chunks/{catalog-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{catalog-2yk646cz.js → workspace-5yrg3hxm.js} +8 -8
- package/dist/chunks/{catalog-frd4ttas.js → workspace-60stz191.js} +30 -30
- package/dist/chunks/{catalog-5ewh8nef.js → workspace-61tdtcny.js} +10 -10
- package/dist/chunks/{catalog-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{catalog-2k3xjxd0.js → workspace-66j98p5d.js} +25 -25
- package/dist/chunks/{catalog-n9wmbhqb.js → workspace-6gfd5xf8.js} +32 -32
- package/dist/chunks/{catalog-6h73sxmp.js → workspace-6h73sxmp.js} +1 -1
- package/dist/chunks/{catalog-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{catalog-tsr10nng.js → workspace-6st33d4x.js} +23 -23
- package/dist/chunks/{catalog-71q4at8m.js → workspace-71q4at8m.js} +1 -1
- package/dist/chunks/{catalog-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-f7y2pm10.js → workspace-7gb606e6.js} +11 -11
- package/dist/chunks/{catalog-j94hkn30.js → workspace-7gvp9cq5.js} +11 -11
- package/dist/chunks/{catalog-2e53mx0t.js → workspace-7k17nv4j.js} +22 -22
- package/dist/chunks/{catalog-8graa452.js → workspace-7mz653pd.js} +18 -18
- package/dist/chunks/{catalog-7xstwya3.js → workspace-7vbk9m4e.js} +18 -18
- package/dist/chunks/{catalog-06dxphr1.js → workspace-81czwxpn.js} +4 -4
- package/dist/chunks/{catalog-34zqx4h8.js → workspace-83q95eg7.js} +9 -9
- package/dist/chunks/{catalog-2d6j2h4j.js → workspace-84tssp1s.js} +6 -6
- package/dist/chunks/{catalog-q27ehz5p.js → workspace-86jav2f7.js} +23 -23
- package/dist/chunks/{catalog-a1j9agns.js → workspace-8761qpcg.js} +41 -41
- package/dist/chunks/{catalog-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{catalog-sdcerza5.js → workspace-8hpffc5d.js} +12 -12
- package/dist/chunks/{catalog-dj2t23y0.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{catalog-y0bfkth1.js → workspace-8p83gb6h.js} +6 -6
- package/dist/chunks/{catalog-ar604syg.js → workspace-90qgvd9n.js} +20 -20
- package/dist/chunks/{catalog-g5stzahb.js → workspace-91xp5nbf.js} +7 -7
- package/dist/chunks/{catalog-sq7q7bmh.js → workspace-93dyhyad.js} +17 -17
- package/dist/chunks/{catalog-jexxy024.js → workspace-93hpb89x.js} +3 -3
- package/dist/chunks/{catalog-2tfmgkzg.js → workspace-95x6xbkr.js} +4 -4
- package/dist/chunks/{catalog-9xwdqpmq.js → workspace-97s80yy3.js} +23 -23
- package/dist/chunks/{catalog-0bnqww5t.js → workspace-9a52esse.js} +25 -25
- package/dist/chunks/{catalog-kcec12gf.js → workspace-9cex7hp6.js} +59 -59
- package/dist/chunks/{catalog-v8ch97zc.js → workspace-9k2v62xn.js} +1 -1
- package/dist/chunks/{catalog-28vymdj3.js → workspace-9m6qag95.js} +26 -26
- package/dist/chunks/{catalog-5tpexbj8.js → workspace-9mbwqz4q.js} +28 -28
- package/dist/chunks/{catalog-fbwj4cf3.js → workspace-9n5bgjha.js} +3 -3
- package/dist/chunks/{catalog-af4kcksd.js → workspace-9zswys26.js} +9 -9
- package/dist/chunks/{catalog-5c4hm403.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{catalog-gpr9hwk5.js → workspace-a2vj9kk6.js} +17 -17
- package/dist/chunks/{catalog-nbzsj80d.js → workspace-a68v6zx7.js} +8 -8
- package/dist/chunks/{catalog-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-s8zy8myc.js → workspace-af04s6ss.js} +5 -5
- package/dist/chunks/{catalog-k1nz40x5.js → workspace-ak2adswv.js} +18 -18
- package/dist/chunks/{catalog-x3et2xth.js → workspace-asmz7wyz.js} +8 -8
- package/dist/chunks/{catalog-wzz0kxab.js → workspace-awaee7qt.js} +9 -9
- package/dist/chunks/{catalog-hq71n4yd.js → workspace-awhdw3pf.js} +81 -81
- package/dist/chunks/{catalog-dff557dp.js → workspace-awz7xhfp.js} +4 -4
- package/dist/chunks/{catalog-s955fp16.js → workspace-ayjzdqkx.js} +4 -4
- package/dist/chunks/{catalog-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-4deqrz9y.js → workspace-b8gwhbay.js} +22 -22
- package/dist/chunks/{catalog-fhbntj7s.js → workspace-b94pmmqr.js} +293 -293
- package/dist/chunks/{catalog-zcrspsvn.js → workspace-baaqp4zd.js} +4 -4
- package/dist/chunks/{catalog-f6mm58n4.js → workspace-beamd2gc.js} +7 -7
- package/dist/chunks/{catalog-yhwt2gy8.js → workspace-bgqpk6ej.js} +5 -5
- package/dist/chunks/{catalog-d7ydzp53.js → workspace-bh0wyjv7.js} +6 -6
- package/dist/chunks/{catalog-cj5x8pxp.js → workspace-bkqaqtv1.js} +27 -27
- package/dist/chunks/{catalog-4t8agra5.js → workspace-bskx12th.js} +7 -7
- package/dist/chunks/{catalog-x7rdpf84.js → workspace-bsxfqzhc.js} +11 -11
- package/dist/chunks/{catalog-97b6kmne.js → workspace-bt8hdx22.js} +17 -17
- package/dist/chunks/{catalog-rn44hvj6.js → workspace-c0mtdgpv.js} +16 -16
- package/dist/chunks/{catalog-bq9rkr49.js → workspace-c4t116nm.js} +6 -6
- package/dist/chunks/{catalog-m2pky0pt.js → workspace-c82pnra3.js} +33 -33
- package/dist/chunks/{catalog-m0jqrx5p.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{catalog-mp02m0p7.js → workspace-cgnjyr8a.js} +43 -43
- package/dist/chunks/{catalog-7qbm50gx.js → workspace-cjsvwj1q.js} +11 -11
- package/dist/chunks/{catalog-4sgjj86v.js → workspace-cwtysmh4.js} +12 -12
- package/dist/chunks/{catalog-yz2z0bxk.js → workspace-d53dp3ny.js} +11 -11
- package/dist/chunks/{catalog-qhx7we5w.js → workspace-d5a42mez.js} +22 -22
- package/dist/chunks/{catalog-pqzejsmy.js → workspace-dffz74yj.js} +24 -24
- package/dist/chunks/{catalog-x0vzmp4x.js → workspace-dgmwn8ez.js} +8 -8
- package/dist/chunks/{catalog-9xvq3m7s.js → workspace-dj9sq318.js} +5 -5
- package/dist/chunks/{catalog-ze1w2yth.js → workspace-dvzjgrza.js} +41 -41
- package/dist/chunks/{catalog-5krfy9wp.js → workspace-e3b0d0gy.js} +9 -9
- package/dist/chunks/{catalog-m67e1hw0.js → workspace-e4k3fffr.js} +23 -23
- package/dist/chunks/{catalog-w53k8h7n.js → workspace-ed1arge1.js} +18 -18
- package/dist/chunks/{catalog-ks5z595w.js → workspace-eds7zwp6.js} +22 -22
- package/dist/chunks/{catalog-hvmec5hw.js → workspace-eh4km76q.js} +30 -30
- package/dist/chunks/{catalog-pqmd7n9n.js → workspace-ej8xv5ds.js} +3 -3
- package/dist/chunks/{catalog-eq1pz5kg.js → workspace-eq1pz5kg.js} +1 -1
- package/dist/chunks/{catalog-5kw6mx4m.js → workspace-eramvw3w.js} +14 -14
- package/dist/chunks/{catalog-31dz7cp4.js → workspace-esdnemd6.js} +1 -1
- package/dist/chunks/{catalog-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{catalog-4q7fkzhf.js → workspace-ewztbjbx.js} +171 -171
- package/dist/chunks/{catalog-w6zjj74z.js → workspace-f10twq9w.js} +11 -11
- package/dist/chunks/{catalog-a8erdm6c.js → workspace-f4x3f9y9.js} +32 -32
- package/dist/chunks/{catalog-4db49emq.js → workspace-f5agypy8.js} +16 -16
- package/dist/chunks/{catalog-hdnk95c8.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{catalog-psg46h56.js → workspace-fmah640z.js} +11 -11
- package/dist/chunks/{catalog-18cztcj7.js → workspace-fq1h1v14.js} +3 -3
- package/dist/chunks/{catalog-e80w1qah.js → workspace-fvr7jna4.js} +13 -13
- package/dist/chunks/{catalog-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-a9aptax4.js → workspace-g5twr0sp.js} +12 -12
- package/dist/chunks/{catalog-edrmdtr5.js → workspace-g8d3gcyj.js} +4 -4
- package/dist/chunks/{catalog-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-h29kpzw5.js → workspace-gf3khw20.js} +20 -20
- package/dist/chunks/{catalog-dep21bfz.js → workspace-gj9xpvv3.js} +8 -8
- package/dist/chunks/{catalog-t3rjv331.js → workspace-gk38wydt.js} +17 -17
- package/dist/chunks/{catalog-sg1d2vk2.js → workspace-gsyxgrq8.js} +35 -35
- package/dist/chunks/{catalog-th5km1p3.js → workspace-gv6a8nnw.js} +5 -5
- package/dist/chunks/{catalog-a61kmkbd.js → workspace-gwwc15b8.js} +12 -12
- package/dist/chunks/{catalog-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{catalog-f9bavhm2.js → workspace-h2gyv3sg.js} +1 -1
- package/dist/chunks/{catalog-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-xekzrwwc.js → workspace-h7ygw6q4.js} +9 -9
- package/dist/chunks/{catalog-74nd7sqk.js → workspace-hrhrxexm.js} +4 -4
- package/dist/chunks/{catalog-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{catalog-yqt08mc3.js → workspace-j69p6wmc.js} +28 -28
- package/dist/chunks/{catalog-e6nxybdg.js → workspace-j6rj9xt6.js} +40 -40
- package/dist/chunks/{catalog-qg3bbdzf.js → workspace-jab8rdhp.js} +9 -9
- package/dist/chunks/{catalog-fdhfz81z.js → workspace-jwqth68t.js} +19 -19
- package/dist/chunks/{catalog-fge7j7bz.js → workspace-jxn2j4b1.js} +6 -6
- package/dist/chunks/{catalog-76bmq832.js → workspace-k19spz14.js} +4 -4
- package/dist/chunks/{catalog-sfbpkyn2.js → workspace-k1hbjbhr.js} +41 -41
- package/dist/chunks/{catalog-qz995mf7.js → workspace-kenqsagb.js} +9 -9
- package/dist/chunks/{catalog-fkf3p580.js → workspace-kfdzm4dd.js} +27 -27
- package/dist/chunks/{catalog-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-j97698h7.js → workspace-kma43rbx.js} +33 -33
- package/dist/chunks/{catalog-cpy6gm2a.js → workspace-kxpygcw9.js} +6 -6
- package/dist/chunks/{catalog-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
- package/dist/chunks/{catalog-tfgsypgy.js → workspace-mpxhxrb2.js} +18 -18
- package/dist/chunks/{catalog-epaqsvmn.js → workspace-mqy0jkn2.js} +4 -4
- package/dist/chunks/{catalog-2skn2jhw.js → workspace-mrk2ms14.js} +41 -41
- package/dist/chunks/{catalog-1ah30sey.js → workspace-mrw4weg4.js} +5 -5
- package/dist/chunks/{catalog-9k5r9zfs.js → workspace-mtd5x7py.js} +13 -13
- package/dist/chunks/{catalog-v8fgqq5r.js → workspace-mw6ans9c.js} +5 -5
- package/dist/chunks/{catalog-0pry505t.js → workspace-mxj2eewr.js} +20 -20
- package/dist/chunks/{catalog-ghw6t81q.js → workspace-n51qh0r9.js} +6 -6
- package/dist/chunks/{catalog-e82z9tr0.js → workspace-nhy5jxhy.js} +7 -7
- package/dist/chunks/{catalog-50mzsvk4.js → workspace-nrdmrqsx.js} +4 -4
- package/dist/chunks/{catalog-aqktavdm.js → workspace-ntgxvp5h.js} +11 -11
- package/dist/chunks/{catalog-gg2e0fsn.js → workspace-p129658b.js} +17 -17
- package/dist/chunks/{catalog-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-rg6fybtm.js → workspace-pkjnw8xf.js} +15 -15
- package/dist/chunks/{catalog-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-kmgn0akx.js → workspace-pn6nrrpr.js} +27 -27
- package/dist/chunks/{catalog-e0prvjnp.js → workspace-pq4st5kv.js} +2 -2
- package/dist/chunks/{catalog-7r73qr8k.js → workspace-q265yh5d.js} +10 -10
- package/dist/chunks/{catalog-j83byb14.js → workspace-q2b1ymqp.js} +4 -4
- package/dist/chunks/{catalog-4790wwyy.js → workspace-q3jq24j1.js} +8 -8
- package/dist/chunks/{catalog-q509s3k3.js → workspace-q509s3k3.js} +1 -1
- package/dist/chunks/{catalog-04bp4d3m.js → workspace-qkek724z.js} +11 -11
- package/dist/chunks/{catalog-qjnxxf51.js → workspace-qn4ba14w.js} +5 -5
- package/dist/chunks/{catalog-8sjhgdmy.js → workspace-qqbqqn54.js} +38 -38
- package/dist/chunks/{catalog-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-y76hh25e.js → workspace-qzyph8ek.js} +11 -11
- package/dist/chunks/{catalog-vg72p0hv.js → workspace-r0nnab1q.js} +21 -21
- package/dist/chunks/{catalog-1j6et43s.js → workspace-r7x04355.js} +36 -36
- package/dist/chunks/{catalog-w0h9h0tj.js → workspace-rdz2tx67.js} +5 -5
- package/dist/chunks/{catalog-g5azsagd.js → workspace-rjqwr5dw.js} +24 -24
- package/dist/chunks/{catalog-kt5w8vxh.js → workspace-rme5v0wm.js} +10 -10
- package/dist/chunks/{catalog-7jevtdd8.js → workspace-rrjgssxh.js} +46 -46
- package/dist/chunks/{catalog-sv9bpgvh.js → workspace-rs226bz6.js} +5 -5
- package/dist/chunks/{catalog-pt3xaqgj.js → workspace-rtv6ahp9.js} +8 -8
- package/dist/chunks/{catalog-3gxxzsxs.js → workspace-rztdx977.js} +9 -9
- package/dist/chunks/{catalog-btjwyzdk.js → workspace-s2bazk07.js} +24 -24
- package/dist/chunks/{catalog-7cqa05e0.js → workspace-s5g9mpsf.js} +4 -4
- package/dist/chunks/{catalog-gdfetkzz.js → workspace-s6jr34qb.js} +26 -26
- package/dist/chunks/{catalog-0nm12y21.js → workspace-s7731dqm.js} +2 -2
- package/dist/chunks/{catalog-rmdyxgmk.js → workspace-sp5zyyma.js} +8 -8
- package/dist/chunks/{catalog-bjtt1jxj.js → workspace-srvat6zp.js} +6 -6
- package/dist/chunks/{catalog-mha58zyg.js → workspace-t6msp11s.js} +6 -6
- package/dist/chunks/{catalog-wa5kasq6.js → workspace-t6qa8pj9.js} +18 -18
- package/dist/chunks/{catalog-kjy19thq.js → workspace-t7b1xacm.js} +12 -12
- package/dist/chunks/{catalog-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{catalog-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{catalog-ct2en6h6.js → workspace-v1cqtm69.js} +17 -17
- package/dist/chunks/{catalog-kwekj76q.js → workspace-v84z85pp.js} +17 -17
- package/dist/chunks/{catalog-dhrmstn1.js → workspace-v9ct93z2.js} +8 -8
- package/dist/chunks/{catalog-5jtdmvnp.js → workspace-vabb23s0.js} +1 -1
- package/dist/chunks/{catalog-31khtac4.js → workspace-ve0zfa78.js} +11 -11
- package/dist/chunks/{catalog-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{catalog-jy16bfac.js → workspace-vypqtakx.js} +1 -1
- package/dist/chunks/{catalog-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{catalog-46x4mgr1.js → workspace-vze96k0n.js} +4 -4
- package/dist/chunks/{catalog-dg2d7686.js → workspace-w23a9fg2.js} +6 -6
- package/dist/chunks/{catalog-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-6w1jdhe7.js → workspace-wgq3akg3.js} +29 -29
- package/dist/chunks/{catalog-p9ex9vmw.js → workspace-wkwfxgj3.js} +4 -4
- package/dist/chunks/{catalog-mv1x4wsx.js → workspace-wmqmw210.js} +8 -8
- package/dist/chunks/{catalog-k78nprws.js → workspace-wn4kdw9q.js} +4 -4
- package/dist/chunks/{catalog-qvwk2e62.js → workspace-wv6yb1rv.js} +1 -1
- package/dist/chunks/{catalog-7xcp25rj.js → workspace-wwhdthxc.js} +22 -22
- package/dist/chunks/{catalog-37at6pve.js → workspace-wynthrjp.js} +6 -6
- package/dist/chunks/{catalog-nra7f5dx.js → workspace-wzkwse1s.js} +13 -13
- package/dist/chunks/workspace-x04nape8.js +247 -0
- package/dist/chunks/{catalog-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
- package/dist/chunks/{catalog-x51c0s3x.js → workspace-xkzbfh0m.js} +13 -13
- package/dist/chunks/{catalog-d50f2zf5.js → workspace-xmh8jj88.js} +1 -1
- package/dist/chunks/{catalog-81swgkk7.js → workspace-xp88wr07.js} +9 -9
- package/dist/chunks/{catalog-bytp5s4s.js → workspace-xwwm14an.js} +9 -9
- package/dist/chunks/{catalog-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/workspace-y31r8zkp.js +22 -0
- package/dist/chunks/{catalog-dpkg50ah.js → workspace-y71avatq.js} +4 -4
- package/dist/chunks/{catalog-ttn2nyh1.js → workspace-ya5s98jd.js} +11 -11
- package/dist/chunks/{catalog-40b2kbf7.js → workspace-yagmabmz.js} +4 -4
- package/dist/chunks/{catalog-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{catalog-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{catalog-cftz085j.js → workspace-yyhgy33t.js} +10 -10
- package/dist/chunks/{catalog-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{catalog-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{catalog-g96p4sgt.js → workspace-z9xz7t7m.js} +22 -22
- package/dist/chunks/{catalog-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{catalog-t5pa3fj2.js → workspace-zka56nxw.js} +30 -30
- package/dist/chunks/{catalog-hnb8wz5m.js → workspace-zke2pdp6.js} +11 -11
- package/dist/chunks/{catalog-cm5avct9.js → workspace-zqpyhaa2.js} +15 -15
- package/dist/chunks/{catalog-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{catalog-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{catalog-a0x0913y.js → workspace-zyzp2298.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +92 -92
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- 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 +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +87 -87
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/catalog-cs5qeyw2.js +0 -22
- package/dist/chunks/catalog-vdgt1g8x.js +0 -247
- /package/dist/chunks/{catalog-0mesazry.js → workspace-0mesazry.js} +0 -0
- /package/dist/chunks/{catalog-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{catalog-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{catalog-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-paphc93g.js → workspace-paphc93g.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-9n5bgjha.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-wn4kdw9q.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info32,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service75,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info32 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info32({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service75.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info32({
|
|
80
|
+
id: ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service75, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID17, OAuth3, Key4, Value2, Event18, Info32, Service75, node80, exports_credential };
|
|
@@ -1,89 +1,89 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-9n5bgjha.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID8,
|
|
7
|
+
Service59,
|
|
8
|
+
node62
|
|
9
|
+
} from "./workspace-1yafz2c2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service64,
|
|
12
|
+
node67
|
|
13
|
+
} from "./workspace-1s5kemrg.js";
|
|
14
14
|
import {
|
|
15
15
|
combine2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-0gdmqesm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
make13
|
|
19
|
+
} from "./workspace-v84z85pp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service63,
|
|
22
|
+
node66
|
|
23
|
+
} from "./workspace-9m6qag95.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service61,
|
|
26
|
+
node64
|
|
27
|
+
} from "./workspace-v1cqtm69.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service28,
|
|
30
|
+
node32
|
|
31
|
+
} from "./workspace-39mbwg99.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentNotFoundError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-c4t116nm.js";
|
|
35
35
|
import {
|
|
36
36
|
provenance2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./workspace-81czwxpn.js";
|
|
38
38
|
import {
|
|
39
39
|
entriesForRunner2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./workspace-1ev0k7s6.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
42
|
+
Service57,
|
|
43
|
+
node60
|
|
44
|
+
} from "./workspace-gwwc15b8.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service44,
|
|
47
|
+
node48
|
|
48
|
+
} from "./workspace-rjqwr5dw.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service30,
|
|
51
|
+
node34
|
|
52
|
+
} from "./workspace-66j98p5d.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
54
|
+
Service29,
|
|
55
|
+
node33
|
|
56
|
+
} from "./workspace-e4k3fffr.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service23,
|
|
59
|
+
node28
|
|
60
|
+
} from "./workspace-gf3khw20.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
} from "./
|
|
62
|
+
Service32,
|
|
63
|
+
node36
|
|
64
|
+
} from "./workspace-d5a42mez.js";
|
|
65
65
|
import {
|
|
66
66
|
Service24,
|
|
67
67
|
node29
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./workspace-cjsvwj1q.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service26,
|
|
71
|
+
node30
|
|
72
|
+
} from "./workspace-6gfd5xf8.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service52,
|
|
75
|
+
node55
|
|
76
|
+
} from "./workspace-15pjexzy.js";
|
|
77
77
|
import {
|
|
78
78
|
__export
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./workspace-9rqn6x4v.js";
|
|
80
80
|
|
|
81
81
|
// src/session/context.ts
|
|
82
82
|
var exports_context = {};
|
|
83
83
|
__export(exports_context, {
|
|
84
84
|
Service: () => Service22,
|
|
85
85
|
SessionContext: () => exports_context,
|
|
86
|
-
node: () =>
|
|
86
|
+
node: () => node27
|
|
87
87
|
});
|
|
88
88
|
import { Model } from "@opencode/schema/model";
|
|
89
89
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -91,24 +91,24 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
91
91
|
class Service22 extends Context.Service()("@opencode/SessionContext") {
|
|
92
92
|
}
|
|
93
93
|
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const builtins = yield*
|
|
96
|
-
const catalog = yield*
|
|
94
|
+
const agents = yield* Service59;
|
|
95
|
+
const builtins = yield* Service28;
|
|
96
|
+
const catalog = yield* Service64;
|
|
97
97
|
const db = (yield* Service80).db;
|
|
98
|
-
const discovery = yield*
|
|
98
|
+
const discovery = yield* Service63;
|
|
99
99
|
const entries = yield* Service24;
|
|
100
|
-
const location = yield*
|
|
101
|
-
const mcpInstructions = yield*
|
|
102
|
-
const mcpTools = yield*
|
|
103
|
-
const models = yield*
|
|
104
|
-
const modelRequests = yield*
|
|
105
|
-
const referenceInstructions = yield*
|
|
106
|
-
const skillInstructions = yield*
|
|
107
|
-
const store = yield*
|
|
108
|
-
const registry = yield*
|
|
100
|
+
const location = yield* Service61;
|
|
101
|
+
const mcpInstructions = yield* Service29;
|
|
102
|
+
const mcpTools = yield* Service30;
|
|
103
|
+
const models = yield* Service52;
|
|
104
|
+
const modelRequests = yield* Service26;
|
|
105
|
+
const referenceInstructions = yield* Service23;
|
|
106
|
+
const skillInstructions = yield* Service32;
|
|
107
|
+
const store = yield* Service57;
|
|
108
|
+
const registry = yield* Service44;
|
|
109
109
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
110
110
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
111
|
-
const agent = yield* agents.get(
|
|
111
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
112
112
|
if (!agent)
|
|
113
113
|
return;
|
|
114
114
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
161
161
|
agent: { ...agent, info: agent.info },
|
|
162
162
|
instructions: combine2([
|
|
163
163
|
loaded.builtins,
|
|
164
|
-
|
|
164
|
+
make13(loaded.tools.codeModeCatalog),
|
|
165
165
|
loaded.discovery,
|
|
166
166
|
loaded.skills,
|
|
167
167
|
loaded.references,
|
|
@@ -186,26 +186,26 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
186
186
|
return Service22.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
187
187
|
}));
|
|
188
188
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
189
|
-
var
|
|
189
|
+
var node27 = makeLocationNode({
|
|
190
190
|
service: Service22,
|
|
191
191
|
layer,
|
|
192
192
|
deps: [
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
node62,
|
|
194
|
+
node67,
|
|
195
195
|
node85,
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
node32,
|
|
197
|
+
node66,
|
|
198
198
|
node29,
|
|
199
|
-
node81,
|
|
200
|
-
node31,
|
|
201
|
-
node36,
|
|
202
|
-
node35,
|
|
203
|
-
node47,
|
|
204
|
-
node33,
|
|
205
199
|
node64,
|
|
206
|
-
|
|
207
|
-
|
|
200
|
+
node33,
|
|
201
|
+
node34,
|
|
202
|
+
node28,
|
|
203
|
+
node55,
|
|
204
|
+
node30,
|
|
205
|
+
node60,
|
|
206
|
+
node36,
|
|
207
|
+
node48
|
|
208
208
|
]
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export { Service22,
|
|
211
|
+
export { Service22, node27, exports_context };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make18,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make18(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make18, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service53,
|
|
10
|
+
node: () => node56
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service53 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node56 = LayerNode.unbound(Service53, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service53, node56, exports_service2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options6,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options6 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options6, Spec2, exports_plugin3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-qzyph8ek.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-wn4kdw9q.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service75
|
|
11
|
+
} from "./workspace-0cmfkvjr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./workspace-eh4km76q.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID16
|
|
23
|
+
} from "./workspace-84tssp1s.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-91xp5nbf.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID16.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID11.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service75;
|
|
57
|
+
const integrations = yield* Service65;
|
|
58
58
|
const bus = yield* Service79;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|