@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,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./credential-g59fyfvz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./credential-m1bsv6jj.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-tj02xv2p.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin40
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin40 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service64;
|
|
35
|
+
const location = yield* Service74;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin40, exports_reference };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info11,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info11 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./credential-tyzndn2s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./credential-383y241e.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin46,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin46 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service58;
|
|
57
|
+
const permission = yield* Service49;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin46, exports_question };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event19,
|
|
13
|
+
ID: () => ID17,
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event19 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info33, UpdateInput4, Event19, Vcs3, exports_schema };
|
|
@@ -1,31 +1,31 @@
|
|
|
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
|
+
ID14,
|
|
17
17
|
packageName2,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-njr1pezb.js";
|
|
20
20
|
import {
|
|
21
21
|
iife2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./credential-1kg9ymc8.js";
|
|
23
23
|
import {
|
|
24
24
|
which2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./credential-qaymkmh1.js";
|
|
26
26
|
import {
|
|
27
27
|
configuredSettings2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./credential-1eft6v2a.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/azure.ts
|
|
31
31
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,7 +45,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
45
45
|
var AzurePlugin2 = define({
|
|
46
46
|
id: "opencode.provider.azure",
|
|
47
47
|
effect: Effect.fn(function* (ctx) {
|
|
48
|
-
const configured = yield* configuredSettings2(
|
|
48
|
+
const configured = yield* configuredSettings2(ID14.azure);
|
|
49
49
|
const processes = yield* AppProcess.Service;
|
|
50
50
|
const bus = yield* Service79;
|
|
51
51
|
const tokens = new Map;
|
|
@@ -81,13 +81,13 @@ var AzurePlugin2 = define({
|
|
|
81
81
|
});
|
|
82
82
|
yield* ctx.integration.transform((editor) => {
|
|
83
83
|
editor.method.update({
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID14.azure,
|
|
85
85
|
method: { type: "key", label: "API key", form: form() }
|
|
86
86
|
});
|
|
87
87
|
if (!available)
|
|
88
88
|
return;
|
|
89
89
|
editor.method.update({
|
|
90
|
-
integrationID:
|
|
90
|
+
integrationID: ID14.azure,
|
|
91
91
|
method: {
|
|
92
92
|
id: methodID,
|
|
93
93
|
type: "oauth",
|
|
@@ -119,7 +119,7 @@ var AzurePlugin2 = define({
|
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
122
|
-
const connection = yield* ctx.integration.connection.active(
|
|
122
|
+
const connection = yield* ctx.integration.connection.active(ID14.azure);
|
|
123
123
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
124
124
|
return;
|
|
125
125
|
})) : undefined;
|
|
@@ -133,7 +133,7 @@ var AzurePlugin2 = define({
|
|
|
133
133
|
yield* load();
|
|
134
134
|
yield* ctx.catalog.transform((evt) => {
|
|
135
135
|
for (const item of evt.provider.list()) {
|
|
136
|
-
if (item.provider.id !==
|
|
136
|
+
if (item.provider.id !== ID14.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
137
137
|
continue;
|
|
138
138
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
139
139
|
if (resourceName)
|
|
@@ -157,11 +157,11 @@ var AzurePlugin2 = define({
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
160
|
-
yield* bus.subscribe(
|
|
160
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
161
161
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
162
|
-
if (evt.model.providerID !==
|
|
162
|
+
if (evt.model.providerID !== ID14.azure)
|
|
163
163
|
return;
|
|
164
|
-
const connection = yield* ctx.integration.connection.active(
|
|
164
|
+
const connection = yield* ctx.integration.connection.active(ID14.azure);
|
|
165
165
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
166
166
|
return;
|
|
167
167
|
})) : undefined;
|
|
@@ -174,7 +174,7 @@ var AzurePlugin2 = define({
|
|
|
174
174
|
evt.request.headers.delete("x-api-key");
|
|
175
175
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
176
176
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
177
|
-
}), { providerID:
|
|
177
|
+
}), { providerID: ID14.azure });
|
|
178
178
|
})
|
|
179
179
|
});
|
|
180
180
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-fs1f3z87.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-4f3mwee9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service30
|
|
9
|
+
} from "./credential-90dkwxdw.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID3,
|
|
15
|
+
Service37
|
|
16
|
+
} from "./credential-8dmhhx1w.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./credential-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./credential-f1zbxv7x.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./credential-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./credential-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service30;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service37;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service30;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service37;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID3.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-fs1f3z87.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service18,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node23,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service18 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make18({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service18.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node23 = makeLocationNode({ service: Service18, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service18, node23, exports_instruction_entry };
|
|
@@ -1,57 +1,57 @@
|
|
|
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
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node71
|
|
12
|
+
} from "./credential-1xhwvcn8.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service68,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node72
|
|
20
|
+
} from "./credential-h51gdt4r.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service70,
|
|
23
|
+
node75
|
|
24
|
+
} from "./credential-bpqahvg7.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service62,
|
|
27
|
+
node66
|
|
28
|
+
} from "./credential-qtkzm0vp.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./credential-6bsje7ws.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service64,
|
|
35
|
+
node68
|
|
36
|
+
} from "./credential-m1bsv6jj.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./credential-fkd2ewj5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./credential-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError10,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service61,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node65
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service61 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service61, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service74;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service68;
|
|
94
|
+
const environment = yield* Service67;
|
|
95
|
+
const hooks = yield* Service70;
|
|
96
|
+
const environments = yield* Service62;
|
|
97
|
+
const config = yield* Service64;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError10({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError10({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service61.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node65 = makeLocationNode({
|
|
320
|
+
service: Service61,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
|
-
|
|
324
|
+
node79,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node72,
|
|
327
|
+
node71,
|
|
328
|
+
node75,
|
|
329
|
+
node66,
|
|
330
|
+
node68,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError10, RETENTION2, DIRECTORY2, Service61, cleanup2, node65, exports_shell4 };
|