@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node6, bound2, exports_instance2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-4f3mwee9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID14
|
|
6
|
+
} from "./credential-njr1pezb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID13
|
|
9
|
+
} from "./credential-tj0j24wc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event17
|
|
12
|
+
} from "./credential-fqjr7ce9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID9
|
|
15
|
+
} from "./credential-e9h89vp0.js";
|
|
16
16
|
import {
|
|
17
17
|
Service56
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./credential-a2e86qtx.js";
|
|
19
19
|
import {
|
|
20
20
|
get2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-3nswzzay.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID14.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID13.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./credential-m1bsv6jj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin14,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin14 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service64;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -93,4 +93,4 @@ var Plugin45 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin14, exports_warming };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./credential-1e9w7pgh.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
15
|
Service78,
|
|
16
16
|
node83
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-vj2t5vfg.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service60,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service60 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service78;
|
|
110
|
-
return
|
|
110
|
+
return Service60.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node64 = makeGlobalNode({
|
|
171
|
+
service: Service60,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node83]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node64, exports_repository_cache };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service52
|
|
4
|
+
} from "./credential-p8dxdehy.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./credential-m1bsv6jj.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-6bsje7ws.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service54
|
|
14
|
+
} from "./credential-qzj2vqtz.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service49
|
|
18
|
+
} from "./credential-383y241e.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service14
|
|
21
|
+
} from "./credential-bzy4s6e0.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make10
|
|
27
|
+
} from "./credential-rc3vhjpg.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./credential-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Output: () => Output4,
|
|
37
|
+
Plugin: () => Plugin20,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description3,
|
|
40
|
+
name: () => name5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name5 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input5 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input12 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output4 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description3 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description5 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin20 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service14;
|
|
84
|
+
const jobs = yield* Service54;
|
|
85
|
+
const agents = yield* Service52;
|
|
86
|
+
const config = yield* Service64;
|
|
87
|
+
const permission = yield* Service49;
|
|
88
|
+
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name5,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description3,
|
|
93
|
+
input: Input5,
|
|
94
|
+
output: Output4,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin13 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name5,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin13 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID8.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name5];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name5, Input5, Output4, description3, Plugin20, exports_subagent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node81
|
|
7
|
+
} from "./credential-1e9w7pgh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID17
|
|
10
|
+
} from "./credential-dc6tzc5b.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-fs1f3z87.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-4f3mwee9.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./credential-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node79
|
|
31
|
+
} from "./credential-g59fyfvz.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical3
|
|
35
|
+
} from "./credential-th5km1p3.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make21
|
|
38
|
+
} from "./credential-65a5j36j.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./credential-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./credential-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event18,
|
|
53
|
+
Info: () => Info30,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service73,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node78
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info30 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event18 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service73 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service74;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make21;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event18.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical3(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical3(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical3(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service73.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node78 = makeLocationNode({
|
|
273
|
+
service: Service73,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node81, node84, node85, AppProcess.node, node79, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info30, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event18, Service73, node78, exports_worktree2, OperationError2 };
|