@opencode/core 0.0.0-dev-19526 → 0.0.0-dev-19529
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +80 -80
- package/dist/chunks/{location-service-map-3ft3p6xv.js → credential-025stnsb.js} +4 -4
- package/dist/chunks/{location-service-map-qa515kys.js → credential-04k593ph.js} +37 -37
- package/dist/chunks/{location-service-map-rhjbct0v.js → credential-0gdmqesm.js} +4 -4
- package/dist/chunks/{location-service-map-d29d5e4w.js → credential-0k50dt3x.js} +13 -13
- package/dist/chunks/{location-service-map-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-service-map-dmxszfc8.js → credential-0qbfsv0x.js} +4 -4
- package/dist/chunks/{location-service-map-rd68kf8k.js → credential-108vvwmb.js} +26 -26
- package/dist/chunks/{location-service-map-44wkazz6.js → credential-137edvbp.js} +10 -10
- package/dist/chunks/{location-service-map-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-70ghb00d.js → credential-1e9w7pgh.js} +10 -10
- package/dist/chunks/{location-service-map-7sfr0s8h.js → credential-1eft6v2a.js} +5 -5
- package/dist/chunks/{location-service-map-t0sqncza.js → credential-1q5awywt.js} +5 -5
- package/dist/chunks/{location-service-map-d35n3ytx.js → credential-1xhwvcn8.js} +24 -24
- package/dist/chunks/{location-service-map-j8pqb2xg.js → credential-1y31sz3y.js} +10 -10
- package/dist/chunks/{location-service-map-56gdpj1q.js → credential-1ygqh575.js} +9 -9
- package/dist/chunks/{location-service-map-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-2402vzrj.js → credential-2402vzrj.js} +1 -1
- package/dist/chunks/{location-service-map-z63w68vq.js → credential-29x78va6.js} +6 -6
- package/dist/chunks/{location-service-map-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-m2d0j7c0.js → credential-2bt6bea8.js} +9 -9
- package/dist/chunks/{location-service-map-nnzxvn8r.js → credential-2hkwsqj8.js} +34 -34
- package/dist/chunks/{location-service-map-qr8csav2.js → credential-2qp6y8xf.js} +5 -5
- package/dist/chunks/{location-service-map-e240csg8.js → credential-30e04pyd.js} +20 -20
- package/dist/chunks/{location-service-map-2jmhezps.js → credential-32k62b7w.js} +20 -20
- package/dist/chunks/{location-service-map-yt6tv3nz.js → credential-34ytdzas.js} +1 -1
- package/dist/chunks/{location-service-map-0wa7p661.js → credential-356gzxb5.js} +12 -12
- package/dist/chunks/{location-service-map-62b5vckm.js → credential-37vne506.js} +9 -9
- package/dist/chunks/{location-service-map-4bw7nj7e.js → credential-383y241e.js} +51 -51
- package/dist/chunks/{location-service-map-qtvfk11k.js → credential-3c04bhmx.js} +15 -15
- package/dist/chunks/{location-service-map-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-0ytf8312.js → credential-3gdxf9my.js} +15 -15
- package/dist/chunks/{location-service-map-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-qx1bsczb.js → credential-3hjzpa7c.js} +6 -6
- package/dist/chunks/{location-service-map-39r80e1r.js → credential-3jp54z3r.js} +1 -1
- package/dist/chunks/{location-service-map-5dd1v3sc.js → credential-3nswzzay.js} +12 -12
- package/dist/chunks/{location-service-map-z6km8w65.js → credential-3pwgdhn9.js} +19 -19
- package/dist/chunks/{location-service-map-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-e4emtts5.js → credential-4f3mwee9.js} +4 -4
- package/dist/chunks/{location-service-map-knw8azhs.js → credential-4faqw2br.js} +26 -26
- package/dist/chunks/{location-service-map-hwk14yfv.js → credential-4jsr3np4.js} +9 -9
- package/dist/chunks/{location-service-map-htw1ycyk.js → credential-4mp12xfm.js} +9 -9
- package/dist/chunks/{location-service-map-4y66k410.js → credential-4y66k410.js} +2 -2
- package/dist/chunks/{location-service-map-b0y5dw0t.js → credential-4y8npecy.js} +24 -24
- package/dist/chunks/{location-service-map-s7t06fzn.js → credential-52brkwct.js} +3 -3
- package/dist/chunks/{location-service-map-kppgwn69.js → credential-55wx515q.js} +14 -14
- package/dist/chunks/{location-service-map-3bxse654.js → credential-57kf9cn6.js} +11 -11
- package/dist/chunks/{location-service-map-tw96capc.js → credential-5843mwj1.js} +77 -77
- package/dist/chunks/{location-service-map-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-ws4yv80v.js → credential-5kptn8c0.js} +9 -9
- package/dist/chunks/{location-service-map-wjqg5mtv.js → credential-5rhtwdx6.js} +8 -8
- package/dist/chunks/{location-service-map-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-j4kxwsds.js → credential-5tc6z34b.js} +24 -24
- package/dist/chunks/{location-service-map-tf0c8dww.js → credential-5vbbbddv.js} +22 -22
- package/dist/chunks/{location-service-map-e8vep78m.js → credential-5x0qqm75.js} +5 -5
- package/dist/chunks/{location-service-map-3ep00wvs.js → credential-65a5j36j.js} +11 -11
- package/dist/chunks/{location-service-map-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-ab9238g2.js → credential-6anwy9fs.js} +6 -6
- package/dist/chunks/{location-service-map-z143cnk6.js → credential-6bsje7ws.js} +3 -3
- package/dist/chunks/{location-service-map-p4ra41gf.js → credential-6f89xh0p.js} +47 -47
- package/dist/chunks/{location-service-map-x85ct4pa.js → credential-6gbp1941.js} +4 -4
- package/dist/chunks/{location-service-map-ara44wmm.js → credential-6ghnv2dz.js} +28 -28
- package/dist/chunks/credential-6kdq0pjd.js +4 -0
- package/dist/chunks/{location-service-map-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-wseagqzp.js → credential-6nvz1bm7.js} +14 -14
- package/dist/chunks/{location-service-map-yhsntfs8.js → credential-6qbmmse8.js} +43 -43
- package/dist/chunks/{location-service-map-71q4at8m.js → credential-71q4at8m.js} +1 -1
- package/dist/chunks/{location-service-map-0khhz0x2.js → credential-784ptbr4.js} +18 -18
- package/dist/chunks/{location-service-map-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-0jwsre1p.js → credential-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-service-map-ywzm6tvd.js → credential-7qr38kzh.js} +15 -15
- package/dist/chunks/{location-service-map-n858xwcz.js → credential-7t3evy4q.js} +6 -6
- package/dist/chunks/{location-service-map-qj8qcdcr.js → credential-7tjcxw0h.js} +17 -17
- package/dist/chunks/{location-service-map-dea0ze15.js → credential-824g01v9.js} +10 -10
- package/dist/chunks/{location-service-map-te0y5yvz.js → credential-87deq66t.js} +8 -8
- package/dist/chunks/{location-service-map-p96jhc2f.js → credential-88fd6wt9.js} +10 -10
- package/dist/chunks/{location-service-map-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-7z4xahb4.js → credential-8dmhhx1w.js} +32 -32
- package/dist/chunks/{location-service-map-8p4f9s12.js → credential-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-service-map-trmn0xjy.js → credential-8yey56tc.js} +26 -26
- package/dist/chunks/{location-service-map-m46exch3.js → credential-90dkwxdw.js} +6 -6
- package/dist/chunks/{location-service-map-hwp109rr.js → credential-92hfss88.js} +4 -4
- package/dist/chunks/{location-service-map-a1bz86dw.js → credential-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-service-map-5qev0qcg.js → credential-a2e86qtx.js} +20 -20
- package/dist/chunks/{location-service-map-fgzdj8zs.js → credential-a2zg7mdw.js} +14 -14
- package/dist/chunks/{location-service-map-jfe769zj.js → credential-a402s24a.js} +11 -11
- package/dist/chunks/{location-service-map-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-xrk2t408.js → credential-adtgbey4.js} +11 -11
- package/dist/chunks/{location-service-map-p8psh417.js → credential-ajpz4c85.js} +16 -16
- package/dist/chunks/{location-service-map-vmb1g9yg.js → credential-anjj55s4.js} +3 -3
- package/dist/chunks/{location-service-map-mjymc32g.js → credential-axmvebxj.js} +21 -21
- package/dist/chunks/{location-service-map-7exjqjm0.js → credential-aybmp5ad.js} +14 -14
- package/dist/chunks/{location-service-map-vnraxnqt.js → credential-az27rkrd.js} +3 -3
- package/dist/chunks/{location-service-map-86f6e8sz.js → credential-b3v47ypf.js} +16 -16
- package/dist/chunks/{location-service-map-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-nmt3ecvr.js → credential-bcw3k3x0.js} +13 -13
- package/dist/chunks/{location-service-map-26k6twgg.js → credential-bdx9dffp.js} +34 -34
- package/dist/chunks/{location-service-map-63kywkak.js → credential-bn33stbn.js} +9 -9
- package/dist/chunks/{location-service-map-jj63jgrn.js → credential-bpqahvg7.js} +8 -8
- package/dist/chunks/{location-service-map-761wwe1s.js → credential-bzy4s6e0.js} +77 -77
- package/dist/chunks/{location-service-map-extvp8fg.js → credential-c2jb4sd6.js} +20 -20
- package/dist/chunks/{location-service-map-2hnb5zpz.js → credential-c5r41xyy.js} +16 -16
- package/dist/chunks/{location-service-map-3vw45jna.js → credential-cbc0s4e1.js} +155 -155
- package/dist/chunks/{location-service-map-cfpkc3c9.js → credential-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-service-map-bwchgx6d.js → credential-ck93fedy.js} +38 -38
- package/dist/chunks/{location-service-map-macjbbq7.js → credential-cnyg1n0p.js} +13 -13
- package/dist/chunks/{location-service-map-mfhfdr54.js → credential-csf2jhsg.js} +4 -4
- package/dist/chunks/{location-service-map-dnhktrnt.js → credential-cxfsjqk4.js} +11 -11
- package/dist/chunks/{location-service-map-7azwfx08.js → credential-dc6tzc5b.js} +9 -9
- package/dist/chunks/{location-service-map-ezjty4fe.js → credential-deerssnd.js} +20 -20
- package/dist/chunks/{location-service-map-t1gg20rg.js → credential-djmr82th.js} +20 -20
- package/dist/chunks/{location-service-map-vy5x89ec.js → credential-dpk4wwe7.js} +13 -13
- package/dist/chunks/{location-service-map-j8eq448m.js → credential-dx6t9n3e.js} +47 -47
- package/dist/chunks/{location-service-map-96nkrwpx.js → credential-e518rnqz.js} +15 -15
- package/dist/chunks/{location-service-map-bsqxgfej.js → credential-e9h89vp0.js} +24 -24
- package/dist/chunks/credential-ep4amt4t.js +462 -0
- package/dist/chunks/{location-service-map-nv5vn7qx.js → credential-eraanh1f.js} +6 -6
- package/dist/chunks/{location-service-map-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-z8v5b26b.js → credential-f0q7zmqq.js} +27 -27
- package/dist/chunks/{location-service-map-df1gd0ha.js → credential-f1zbxv7x.js} +7 -7
- package/dist/chunks/{location-service-map-1acjjqhc.js → credential-f2n192rq.js} +4 -4
- package/dist/chunks/{location-service-map-tdhe5xga.js → credential-f32czd11.js} +11 -11
- package/dist/chunks/{location-service-map-h29kfqze.js → credential-f3hm7x99.js} +8 -8
- package/dist/chunks/{location-service-map-f828m53h.js → credential-f828m53h.js} +2 -2
- package/dist/chunks/{location-service-map-81g1qsdc.js → credential-fb0qyvep.js} +13 -13
- package/dist/chunks/{location-service-map-0af7c97v.js → credential-ff0svapt.js} +2 -2
- package/dist/chunks/{location-service-map-sb1hd4c5.js → credential-fkd2ewj5.js} +12 -12
- package/dist/chunks/{location-service-map-v39hw6t4.js → credential-fnjg1z38.js} +22 -22
- package/dist/chunks/{location-service-map-sc041ka6.js → credential-fqjr7ce9.js} +28 -28
- package/dist/chunks/{location-service-map-3dj6qs5p.js → credential-fs1f3z87.js} +3 -3
- package/dist/chunks/{location-service-map-ncx1zfyg.js → credential-fs6bp36w.js} +5 -5
- package/dist/chunks/{location-service-map-wgjsebpd.js → credential-fschjpvb.js} +9 -9
- package/dist/chunks/{location-service-map-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-cgfbfj64.js → credential-g1r5npbb.js} +11 -11
- package/dist/chunks/{location-service-map-6ddbedq8.js → credential-g500fjm7.js} +1 -1
- package/dist/chunks/{location-service-map-31e57ssv.js → credential-g59fyfvz.js} +16 -16
- package/dist/chunks/{location-service-map-ya1kd0gg.js → credential-g9d49rzx.js} +15 -15
- package/dist/chunks/{location-service-map-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-g4yfjkxt.js → credential-gfpqwj54.js} +40 -40
- package/dist/chunks/{location-service-map-ks9p6dk0.js → credential-ggh4w9bp.js} +4 -4
- package/dist/chunks/{location-service-map-p0cntz7p.js → credential-gy4p1xkh.js} +1 -1
- package/dist/chunks/{location-service-map-9na6ydfm.js → credential-gzfav7zd.js} +5 -5
- package/dist/chunks/{location-service-map-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-service-map-2dckjqza.js → credential-h2bhmd9t.js} +27 -27
- package/dist/chunks/{location-service-map-x8cnzhn9.js → credential-h51gdt4r.js} +13 -13
- package/dist/chunks/{location-service-map-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-xdaq4n9p.js → credential-h727evg8.js} +41 -41
- package/dist/chunks/{location-service-map-a6qgqttc.js → credential-h7tghspc.js} +28 -28
- package/dist/chunks/{location-service-map-vmcg8w16.js → credential-h7y0pvw8.js} +5 -5
- package/dist/chunks/{location-service-map-tcemetme.js → credential-h8wfmpj2.js} +17 -17
- package/dist/chunks/{location-service-map-4bytqjtr.js → credential-hy1g3bgf.js} +1 -1
- package/dist/chunks/{location-service-map-bjykd02c.js → credential-j320jmqx.js} +18 -18
- package/dist/chunks/{location-service-map-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-cr14a9k8.js → credential-j6s0ns1m.js} +27 -27
- package/dist/chunks/{location-service-map-jqhjw8sv.js → credential-j7knmneh.js} +12 -12
- package/dist/chunks/{location-service-map-eky9x2ec.js → credential-j7m6ehyz.js} +15 -15
- package/dist/chunks/{location-service-map-paphc93g.js → credential-j935v87r.js} +2 -2
- package/dist/chunks/{location-service-map-va5qff5x.js → credential-jbjr1a4g.js} +6 -6
- package/dist/chunks/{location-service-map-pbfwh0cy.js → credential-jfqtm2ew.js} +7 -7
- package/dist/chunks/{location-service-map-kwekmzq6.js → credential-jg4wsava.js} +13 -13
- package/dist/chunks/{location-service-map-ezb7zwca.js → credential-jjsk41ar.js} +26 -26
- package/dist/chunks/{location-service-map-vze96k0n.js → credential-jrrn2k62.js} +4 -4
- package/dist/chunks/{location-service-map-qn4ba14w.js → credential-jv01nqvq.js} +5 -5
- package/dist/chunks/{location-service-map-n79p6j0f.js → credential-jvc6geyb.js} +20 -20
- package/dist/chunks/{location-service-map-h71w788e.js → credential-jwx4y25k.js} +9 -9
- package/dist/chunks/{location-service-map-h2qnwgpk.js → credential-k2v7tfaw.js} +23 -23
- package/dist/chunks/{location-service-map-drkcdcj5.js → credential-k54dv39c.js} +4 -4
- package/dist/chunks/{location-service-map-ckyhaqeq.js → credential-k6q20m6t.js} +32 -32
- package/dist/chunks/{location-service-map-94zcscr3.js → credential-k7ckb9zr.js} +9 -9
- package/dist/chunks/{location-service-map-bn8z4hgt.js → credential-kead0yev.js} +26 -26
- package/dist/chunks/{location-service-map-q1gq60c3.js → credential-kfef4ady.js} +52 -52
- package/dist/chunks/{location-service-map-kg06axw8.js → credential-kg06axw8.js} +1 -1
- package/dist/chunks/{location-service-map-bj73k9qk.js → credential-kmgatmpx.js} +33 -33
- package/dist/chunks/{location-service-map-kv4vw2nb.js → credential-kn9ky0zj.js} +32 -32
- package/dist/chunks/{location-service-map-2t6pc9fw.js → credential-kp963v2v.js} +28 -28
- package/dist/chunks/{location-service-map-fq9618wy.js → credential-kyktj0vd.js} +6 -6
- package/dist/chunks/{location-service-map-mfkt00wb.js → credential-m1bsv6jj.js} +43 -43
- package/dist/chunks/{location-service-map-fgj68e1w.js → credential-m5kafssk.js} +65 -65
- package/dist/chunks/{location-service-map-4r27yeqf.js → credential-m7ze9y9x.js} +6 -6
- package/dist/chunks/{location-service-map-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-2t2p0k4y.js → credential-mc5fskgh.js} +11 -11
- package/dist/chunks/{location-service-map-rbbbqjtt.js → credential-mche7wjp.js} +6 -6
- package/dist/chunks/{location-service-map-q10f7s3e.js → credential-mdcergxs.js} +10 -10
- package/dist/chunks/{location-service-map-9fh4948w.js → credential-mgxxs7qr.js} +15 -15
- package/dist/chunks/{location-service-map-1bbkgx8g.js → credential-mhkvc446.js} +3 -3
- package/dist/chunks/{location-service-map-88s37jky.js → credential-mxfg1vns.js} +26 -26
- package/dist/chunks/credential-n7dsh0d3.js +26 -0
- package/dist/chunks/{location-service-map-n1jps1an.js → credential-n9ke8tjh.js} +11 -11
- package/dist/chunks/{location-service-map-nhy5jxhy.js → credential-nhy5jxhy.js} +1 -1
- package/dist/chunks/{location-service-map-cmwqdmc2.js → credential-njr1pezb.js} +6 -6
- package/dist/chunks/{location-service-map-k9s3w0m2.js → credential-nnn8deah.js} +18 -18
- package/dist/chunks/credential-p2h6zvwc.js +18 -0
- package/dist/chunks/{location-service-map-z8xc4d6k.js → credential-p8dxdehy.js} +24 -24
- package/dist/chunks/{location-service-map-mbmajcqq.js → credential-pgt8aa90.js} +4 -4
- package/dist/chunks/{location-service-map-temrxnya.js → credential-pgy0xeev.js} +5 -5
- package/dist/chunks/{location-service-map-mqhbcrz9.js → credential-phwwwv48.js} +15 -15
- package/dist/chunks/{location-service-map-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-wdq75b5e.js → credential-pmv4bga1.js} +6 -6
- package/dist/chunks/{location-service-map-g2pa3hw7.js → credential-ps0k9z1z.js} +29 -29
- package/dist/chunks/{location-service-map-tfsvbd81.js → credential-pym3tcck.js} +19 -19
- package/dist/chunks/{location-service-map-gk3dk4ww.js → credential-qfvgma3d.js} +30 -30
- package/dist/chunks/{location-service-map-pmr4s4kc.js → credential-qq11w61w.js} +4 -4
- package/dist/chunks/{location-service-map-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-xn5rvdk3.js → credential-qtkzm0vp.js} +8 -8
- package/dist/chunks/{location-service-map-cjbknnmw.js → credential-qy4w3bxg.js} +24 -24
- package/dist/chunks/{location-service-map-gk84n282.js → credential-qzj2vqtz.js} +12 -12
- package/dist/chunks/{location-service-map-r9mregkx.js → credential-r9mregkx.js} +2 -2
- package/dist/chunks/{location-service-map-7m9vf5rx.js → credential-rb5q7yxt.js} +5 -5
- package/dist/chunks/{location-service-map-z8zdqtej.js → credential-rc3vhjpg.js} +11 -11
- package/dist/chunks/{location-service-map-hz1mcyvk.js → credential-rf48t08f.js} +2 -2
- package/dist/chunks/credential-rjd8bv89.js +247 -0
- package/dist/chunks/{location-service-map-n061tvb2.js → credential-rsb1fe67.js} +5 -5
- package/dist/chunks/{location-service-map-816k9hah.js → credential-rw56aqa4.js} +11 -11
- package/dist/chunks/{location-service-map-35vexpw6.js → credential-s3939hvd.js} +6 -6
- package/dist/chunks/{location-service-map-yrznvahk.js → credential-s4enseaf.js} +2 -2
- package/dist/chunks/{location-service-map-9nrh9r5h.js → credential-s8evpm24.js} +9 -9
- package/dist/chunks/{location-service-map-m15xpe5b.js → credential-sazt4qeq.js} +21 -21
- package/dist/chunks/{location-service-map-c5gn303e.js → credential-shh6fz4q.js} +4 -4
- package/dist/chunks/{location-service-map-6705qv0g.js → credential-t2pqv1sz.js} +17 -17
- package/dist/chunks/{location-service-map-3b11dhj6.js → credential-t2q9as2k.js} +8 -8
- package/dist/chunks/{location-service-map-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → credential-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-02ewr2by.js → credential-tcjd441j.js} +11 -11
- package/dist/chunks/{location-service-map-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-gv6a8nnw.js → credential-th5km1p3.js} +5 -5
- package/dist/chunks/{location-service-map-mst48ss9.js → credential-thqjg0hd.js} +6 -6
- package/dist/chunks/{location-service-map-fzj6gxj4.js → credential-tj02xv2p.js} +26 -26
- package/dist/chunks/{location-service-map-pp0wchrp.js → credential-tj0j24wc.js} +10 -10
- package/dist/chunks/{location-service-map-n0a4p06j.js → credential-trn0ebkj.js} +2 -2
- package/dist/chunks/{location-service-map-056n2m1g.js → credential-tv8vkxw9.js} +11 -11
- package/dist/chunks/{location-service-map-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-21fn2vng.js → credential-tyzndn2s.js} +24 -24
- package/dist/chunks/{location-service-map-34ha2cd1.js → credential-v0rc55wa.js} +11 -11
- package/dist/chunks/{location-service-map-9we513x8.js → credential-vd0a34xb.js} +6 -6
- package/dist/chunks/{location-service-map-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-2g9xpxn7.js → credential-vj2t5vfg.js} +3 -3
- package/dist/chunks/{location-service-map-et0rkxxj.js → credential-vkt5fbj2.js} +5 -5
- package/dist/chunks/{location-service-map-cq37gk0t.js → credential-vkxpz7g2.js} +4 -4
- package/dist/chunks/{location-service-map-0b8gwnph.js → credential-vparcg9p.js} +7 -7
- package/dist/chunks/{location-service-map-v8zv6t8m.js → credential-vqeat92e.js} +43 -43
- package/dist/chunks/{location-service-map-4s1bbv2b.js → credential-vs4ph552.js} +23 -23
- package/dist/chunks/{location-service-map-mn5vge6e.js → credential-vv2ntgne.js} +29 -29
- package/dist/chunks/{location-service-map-8y6qdvyf.js → credential-vx1b4c7n.js} +14 -14
- package/dist/chunks/{location-service-map-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-bpn4p6tf.js → credential-w4whswvt.js} +16 -16
- package/dist/chunks/{location-service-map-cmwkp3r5.js → credential-w4zny49r.js} +8 -8
- package/dist/chunks/{location-service-map-kb9ghrr9.js → credential-w8z81xec.js} +14 -14
- package/dist/chunks/{location-service-map-2aptycgy.js → credential-w90cbs64.js} +7 -7
- package/dist/chunks/{location-service-map-cwbx0rfg.js → credential-w9hf3j60.js} +17 -17
- package/dist/chunks/{location-service-map-dtw4xqq5.js → credential-wayj738j.js} +41 -41
- package/dist/chunks/{location-service-map-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-s8esax8r.js → credential-x6we754t.js} +42 -42
- package/dist/chunks/{location-service-map-dd8nvef4.js → credential-xbwpbga0.js} +11 -11
- package/dist/chunks/{location-service-map-tfe8r9yw.js → credential-xpj3gpes.js} +6 -6
- package/dist/chunks/{location-service-map-jvf3yq6v.js → credential-xw0r27ex.js} +4 -4
- package/dist/chunks/{location-service-map-bg55d598.js → credential-xy7r7wb6.js} +22 -22
- package/dist/chunks/{location-service-map-sv3tjegf.js → credential-xzv329k9.js} +6 -6
- package/dist/chunks/{location-service-map-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-41raftcs.js → credential-y4tdvyse.js} +24 -24
- package/dist/chunks/{location-service-map-r3fekxty.js → credential-y4zgnm30.js} +43 -43
- package/dist/chunks/{location-service-map-y71avatq.js → credential-y71avatq.js} +1 -1
- package/dist/chunks/{location-service-map-76qxyhw0.js → credential-ycxn0eaf.js} +32 -32
- package/dist/chunks/{location-service-map-72j5x3sg.js → credential-yf17ygct.js} +13 -13
- package/dist/chunks/{location-service-map-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-cr07tj7n.js → credential-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-service-map-5h0nedhb.js → credential-yyfky2bj.js} +1 -1
- package/dist/chunks/{location-service-map-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-81fdkyjj.js → credential-z8gz5v71.js} +20 -20
- package/dist/chunks/{location-service-map-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-rmj8e3tp.js → credential-zfcp8yb0.js} +3 -3
- package/dist/chunks/{location-service-map-2dgw9s7c.js → credential-zgsse2vy.js} +1 -1
- package/dist/chunks/{location-service-map-y4tf6mjn.js → credential-zh5vq5ax.js} +20 -20
- package/dist/chunks/{location-service-map-tvwcnnqz.js → credential-zkcb3wjz.js} +36 -36
- package/dist/chunks/{location-service-map-4c22vnh1.js → credential-znsaqkh0.js} +9 -9
- package/dist/chunks/{location-service-map-fzy32552.js → credential-zpn9qnw3.js} +4 -4
- package/dist/chunks/{location-service-map-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +350 -350
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- 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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- 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/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- 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 +95 -95
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +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 +86 -86
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/location-service-map-5n0hn1pm.js +0 -462
- package/dist/chunks/location-service-map-8vj7k6c5.js +0 -26
- package/dist/chunks/location-service-map-hgd4btym.js +0 -18
- package/dist/chunks/location-service-map-mj4svvj3.js +0 -247
- package/dist/chunks/location-service-map-qapv375x.js +0 -4
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-hrnqkpcd.js → credential-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → credential-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./credential-m1bsv6jj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./credential-h51gdt4r.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin43
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin43 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service64;
|
|
27
|
+
const shell = yield* Service68;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin24 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin43, exports_shell2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-g1r5npbb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-4f3mwee9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./credential-fqjr7ce9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./credential-e9h89vp0.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./credential-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID14,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./credential-njr1pezb.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID9.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID9.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service79;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID14.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin3 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID14.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -315,4 +315,4 @@ function claim(token) {
|
|
|
315
315
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-vparcg9p.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-zgsse2vy.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info22,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info22 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info22, exports_permission2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-4f3mwee9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-vj2t5vfg.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service19,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-p2h6zvwc.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-cbc0s4e1.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service19,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
39
|
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
45
|
const kv = yield* Service78;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service19.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service19,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-6f89xh0p.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./credential-fschjpvb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./credential-90dkwxdw.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-p2h6zvwc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./credential-bpqahvg7.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-f1zbxv7x.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service48
|
|
23
|
+
} from "./credential-5tc6z34b.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./credential-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service30;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service70;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service48;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service43;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-g1r5npbb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-4f3mwee9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./credential-fqjr7ce9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./credential-e9h89vp0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID14
|
|
17
|
+
} from "./credential-njr1pezb.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-tj0j24wc.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./credential-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID14.make("digitalocean");
|
|
30
|
+
var integrationID = ID9.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-4f3mwee9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./credential-g59fyfvz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID4
|
|
11
|
+
} from "./credential-6kdq0pjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service68,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node72
|
|
16
|
+
} from "./credential-h51gdt4r.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./credential-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event5,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info6,
|
|
31
|
+
NotFoundError: () => NotFoundError4,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service44,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node47
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info6 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID4
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID4
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service44 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const shell = yield* Service68;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID4.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service44.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node47 = makeLocationNode({
|
|
274
|
+
service: Service44,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node79, node72]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info6, CreateInput2, UpdateInput2, NotFoundError4, ExitedError2, Service44, node47, exports_pty, Event5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service30
|
|
3
|
+
} from "./credential-90dkwxdw.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-p2h6zvwc.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-f1zbxv7x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./credential-5tc6z34b.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service30;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service70,
|
|
10
|
+
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service70 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service70.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node75 = makeLocationNode({ service: Service70, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service70, node75, exports_hooks };
|