@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node79
|
|
7
|
+
} from "./credential-g59fyfvz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service36,
|
|
10
|
+
node39
|
|
11
|
+
} from "./credential-vx1b4c7n.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./credential-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
26
|
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer16,
|
|
29
|
+
node: () => node38,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options3 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service35 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service35, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const ripgrep = yield* Service36;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service35.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service35, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service74;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service35.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service35.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,8 +174,8 @@ var fffLayer2 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service74;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer13 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured3(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service35, layer: layer16(options), deps: [node79, node39] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node38 = configured3();
|
|
189
189
|
|
|
190
|
-
export { Options3,
|
|
190
|
+
export { Options3, Service35, ripgrepLayer2, fffLayer2, layer16, configured3, node38, exports_search };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin4
|
|
3
|
+
} from "./credential-vkt5fbj2.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin6
|
|
6
|
+
} from "./credential-xpj3gpes.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin5
|
|
9
|
+
} from "./credential-3hjzpa7c.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin8
|
|
12
|
+
} from "./credential-gzfav7zd.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin7
|
|
15
|
+
} from "./credential-7t3evy4q.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin4,
|
|
20
|
+
Plugin6,
|
|
21
|
+
Plugin5,
|
|
22
|
+
Plugin8,
|
|
23
|
+
Plugin7
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-njr1pezb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service59,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node63
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID14,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service59 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service59.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node63 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service59, locationLayer2, node63, exports_aisdk };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID14,
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
13
|
Request: () => Request3,
|
|
@@ -24,7 +24,7 @@ import { Effect, Schema, Struct } from "effect";
|
|
|
24
24
|
import { Provider } from "@opencode/schema/provider";
|
|
25
25
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
26
26
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
27
|
-
var
|
|
27
|
+
var ID14 = Provider.ID;
|
|
28
28
|
var AISDK_PREFIX2 = "aisdk:";
|
|
29
29
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
30
30
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -144,7 +144,7 @@ function mergeHeaders2(base, overlay) {
|
|
|
144
144
|
}
|
|
145
145
|
var Request3 = Provider.Request;
|
|
146
146
|
var Settings2 = Provider.Settings;
|
|
147
|
-
var
|
|
147
|
+
var Info28 = Provider.Info;
|
|
148
148
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
149
149
|
const module = yield* Effect.tryPromise({
|
|
150
150
|
try: () => {
|
|
@@ -166,4 +166,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
166
166
|
return module;
|
|
167
167
|
});
|
|
168
168
|
|
|
169
|
-
export {
|
|
169
|
+
export { ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info28, exports_provider3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service32,
|
|
3
|
+
node35,
|
|
4
|
+
canonical2
|
|
5
|
+
} from "./credential-824g01v9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service30,
|
|
8
|
+
node33
|
|
9
|
+
} from "./credential-90dkwxdw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service72
|
|
12
|
+
} from "./credential-j7m6ehyz.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-rjd8bv89.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service32, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service72).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -39,22 +39,22 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
39
39
|
}, { idleTimeToLive: Duration.infinity });
|
|
40
40
|
const map = {
|
|
41
41
|
...inner,
|
|
42
|
-
get: (ref) => inner.get(
|
|
43
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
44
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
42
|
+
get: (ref) => inner.get(canonical2(ref)),
|
|
43
|
+
contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
|
|
44
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
|
|
45
45
|
invalidate: (ref) => Effect.suspend(() => {
|
|
46
|
-
const key =
|
|
46
|
+
const key = canonical2(ref);
|
|
47
47
|
const build = Option.getOrUndefined(MutableHashMap.get(builds, key));
|
|
48
48
|
MutableHashMap.remove(builds, key);
|
|
49
49
|
return inner.invalidate(key).pipe(Effect.andThen(build?.close ?? Effect.void));
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node33.replace(Layer.succeed(Service30, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node35.replace(Layer.succeed(Service32, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service19,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service19 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service19.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service19, awaitActivation2, exports_service };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-4f3mwee9.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event10,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info12,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service52,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node56
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event10 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info12 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service52 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info12.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service52.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID8.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID8.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node56 = makeLocationNode({ service: Service52, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info12, Service52, node56, exports_agent3, Event10 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-h51gdt4r.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-fqjr7ce9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID9,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-e9h89vp0.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID9.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-fs1f3z87.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
|
+
Info: () => Info10,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service50,
|
|
21
|
+
node: () => node54
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
|
+
var Info10 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service50 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID7.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service50.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node54 = makeGlobalNode({ service: Service50, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID7, Info10, ListInput4, AddInput2, Service50, node54, exports_saved };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./credential-e9h89vp0.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-njr1pezb.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service57;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID9.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|