@opencode/core 0.0.0-dev-19386 → 0.0.0-dev-19388
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-retention-fgh0kbhd.js → filesystem-056y9sk5.js} +1 -1
- package/dist/chunks/{file-retention-7dqw4kz8.js → filesystem-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-retention-dae8r372.js → filesystem-0n7kkwyn.js} +26 -26
- package/dist/chunks/{file-retention-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-rbygrj0c.js → filesystem-13bwbegs.js} +6 -6
- package/dist/chunks/{file-retention-r8xr0va3.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-m27pyyd3.js → filesystem-1b1ar3e7.js} +6 -6
- package/dist/chunks/{file-retention-9gcr2md5.js → filesystem-1b4ff5b6.js} +23 -23
- package/dist/chunks/{file-retention-pdbeap0x.js → filesystem-1batb0zb.js} +35 -35
- package/dist/chunks/{file-retention-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-1eyaby9q.js → filesystem-1eyaby9q.js} +2 -2
- package/dist/chunks/{file-retention-k16ay38w.js → filesystem-1fbj5668.js} +1 -1
- package/dist/chunks/{file-retention-sy1kpmqf.js → filesystem-1fqh06zb.js} +48 -48
- package/dist/chunks/{file-retention-z2ryqxvw.js → filesystem-1jgwmmhy.js} +4 -4
- package/dist/chunks/{file-retention-vkvntndg.js → filesystem-1rheacw5.js} +36 -36
- package/dist/chunks/{file-retention-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-145w6188.js → filesystem-24c7s165.js} +24 -24
- package/dist/chunks/{file-retention-mtjehpx1.js → filesystem-25852kw6.js} +82 -82
- package/dist/chunks/{file-retention-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-h7ygw6q4.js → filesystem-2bt6bea8.js} +9 -9
- package/dist/chunks/{file-retention-g72gjvtz.js → filesystem-2m10wfgt.js} +9 -9
- package/dist/chunks/{file-retention-7zm91xf9.js → filesystem-2mdf44cj.js} +9 -9
- package/dist/chunks/{file-retention-skefxpr1.js → filesystem-2stek9w5.js} +9 -9
- package/dist/chunks/{file-retention-d3dfkvzz.js → filesystem-33zmxq1h.js} +8 -8
- package/dist/chunks/{file-retention-s6b7x209.js → filesystem-385xck8a.js} +8 -8
- package/dist/chunks/{file-retention-g84nn1aa.js → filesystem-394r11tr.js} +30 -30
- package/dist/chunks/{file-retention-vhkdtr9q.js → filesystem-3h6cqk62.js} +19 -19
- package/dist/chunks/{file-retention-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-qmf2gm4z.js → filesystem-3s4rvetn.js} +10 -10
- package/dist/chunks/{file-retention-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-zw7j6aej.js → filesystem-3t5n67ye.js} +12 -12
- package/dist/chunks/{file-retention-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-8tdr907c.js → filesystem-3vb6kzdw.js} +8 -8
- package/dist/chunks/{file-retention-7h5zs7mz.js → filesystem-469vaqsc.js} +11 -11
- package/dist/chunks/{file-retention-sgs3z1tt.js → filesystem-4dszt5y5.js} +34 -34
- package/dist/chunks/{file-retention-wnsbns26.js → filesystem-4e3yc908.js} +20 -20
- package/dist/chunks/{file-retention-ksarex0k.js → filesystem-4jamjfh1.js} +10 -10
- package/dist/chunks/{file-retention-r0z7zczf.js → filesystem-4maj8g0n.js} +25 -25
- package/dist/chunks/{file-retention-vtzb9n73.js → filesystem-4rqn3ef5.js} +8 -8
- package/dist/chunks/{file-retention-z69s9t6b.js → filesystem-4vaczfm4.js} +5 -5
- package/dist/chunks/{file-retention-qj8eh1ht.js → filesystem-50mzsvk4.js} +4 -4
- package/dist/chunks/{file-retention-9wx978ps.js → filesystem-511fzf0h.js} +22 -22
- package/dist/chunks/{file-retention-c5khdk00.js → filesystem-51whyq4r.js} +7 -7
- package/dist/chunks/{file-retention-g1gr4bmr.js → filesystem-55z3fzyw.js} +8 -8
- package/dist/chunks/{file-retention-56gdpj1q.js → filesystem-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-retention-96yt6zt0.js → filesystem-57zwapjz.js} +1 -1
- package/dist/chunks/{file-retention-dpazbx79.js → filesystem-5bmw5kj7.js} +36 -36
- package/dist/chunks/{file-retention-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-6g22vg9c.js → filesystem-5gachfgg.js} +8 -8
- package/dist/chunks/{file-retention-fjmrr6sh.js → filesystem-5kptn8c0.js} +9 -9
- package/dist/chunks/{file-retention-v2rsyevg.js → filesystem-5pa6vm4n.js} +9 -9
- package/dist/chunks/{file-retention-8v4qx0e5.js → filesystem-5pg93txw.js} +15 -15
- package/dist/chunks/{file-retention-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-5mpmyavn.js → filesystem-617hgdan.js} +46 -46
- package/dist/chunks/{file-retention-57a7s0s0.js → filesystem-621rr81n.js} +11 -11
- package/dist/chunks/{file-retention-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-gckxsv6v.js → filesystem-67dj31rt.js} +18 -18
- package/dist/chunks/{file-retention-fqfsm8yp.js → filesystem-67pthv0s.js} +29 -29
- package/dist/chunks/{file-retention-tt4eawst.js → filesystem-6e93yj3m.js} +3 -3
- package/dist/chunks/{file-retention-2402vzrj.js → filesystem-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-retention-xje3kg99.js → filesystem-6k9awrbh.js} +12 -12
- package/dist/chunks/{file-retention-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-ynwbtj63.js → filesystem-6rzja1f9.js} +3 -3
- package/dist/chunks/{file-retention-xb3fxaqb.js → filesystem-6v7jgxpn.js} +9 -9
- package/dist/chunks/{file-retention-n1nkedfb.js → filesystem-6vkh6tth.js} +29 -29
- package/dist/chunks/{file-retention-xws4r01w.js → filesystem-6yt31z2p.js} +12 -12
- package/dist/chunks/{file-retention-3jxfnes4.js → filesystem-701y5145.js} +30 -30
- package/dist/chunks/{file-retention-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-ebc7h8jh.js → filesystem-737983wq.js} +4 -4
- package/dist/chunks/{file-retention-73tb2d7t.js → filesystem-73tb2d7t.js} +1 -1
- package/dist/chunks/{file-retention-mma0v91q.js → filesystem-795b89xp.js} +26 -26
- package/dist/chunks/{file-retention-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-kc4sfmzp.js → filesystem-7cfynq8y.js} +151 -151
- package/dist/chunks/{file-retention-3wwz76hv.js → filesystem-7fe4gxq1.js} +11 -11
- package/dist/chunks/{file-retention-97k74ssb.js → filesystem-7v6dnkvf.js} +32 -32
- package/dist/chunks/{file-retention-372vbskw.js → filesystem-7zjk8agd.js} +7 -7
- package/dist/chunks/{file-retention-rsym84ch.js → filesystem-81swgkk7.js} +7 -7
- package/dist/chunks/{file-retention-844ef7ks.js → filesystem-844ef7ks.js} +1 -1
- package/dist/chunks/{file-retention-fheq99qy.js → filesystem-86b59fvh.js} +14 -14
- package/dist/chunks/{file-retention-zmf3sk4j.js → filesystem-88gqx8fx.js} +43 -43
- package/dist/chunks/{file-retention-q62bfh0y.js → filesystem-895sbn4q.js} +26 -26
- package/dist/chunks/{file-retention-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{file-retention-e2q3914e.js → filesystem-8bfq94b1.js} +64 -64
- package/dist/chunks/{file-retention-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-retention-b8xvyn6f.js → filesystem-8qgzw9wd.js} +6 -6
- package/dist/chunks/{file-retention-e5fc1vxw.js → filesystem-8v4d8r02.js} +1 -1
- package/dist/chunks/{file-retention-6sjcznm0.js → filesystem-915024ph.js} +23 -23
- package/dist/chunks/{file-retention-fptf14bk.js → filesystem-91pqtkcw.js} +17 -17
- package/dist/chunks/{file-retention-85h696dp.js → filesystem-94f5g9k1.js} +37 -37
- package/dist/chunks/{file-retention-3gtbxjg2.js → filesystem-9a3ed6hb.js} +3 -3
- package/dist/chunks/{file-retention-vhdv10mr.js → filesystem-9fyw720m.js} +24 -24
- package/dist/chunks/{file-retention-f3ef4mcb.js → filesystem-9g3vdk5q.js} +26 -26
- package/dist/chunks/{file-retention-5r18snb0.js → filesystem-9gqgjvk8.js} +13 -13
- package/dist/chunks/filesystem-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-retention-tjsj89dc.js → filesystem-9zswys26.js} +9 -9
- package/dist/chunks/{file-retention-tjk5t6k4.js → filesystem-a0ptexgx.js} +4 -4
- package/dist/chunks/{file-retention-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-retention-ksz0h0wp.js → filesystem-a1z5mzke.js} +1 -1
- package/dist/chunks/{file-retention-3jd9t3qm.js → filesystem-a5stevxr.js} +16 -16
- package/dist/chunks/{file-retention-w4dyxxvc.js → filesystem-a9mh0r96.js} +12 -12
- package/dist/chunks/{file-retention-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-xphcp306.js → filesystem-ac88cgcg.js} +15 -15
- package/dist/chunks/{file-retention-xhqkdcr0.js → filesystem-ak7vzz1a.js} +2 -2
- package/dist/chunks/filesystem-ang5fwfr.js +247 -0
- package/dist/chunks/{file-retention-747jvnpw.js → filesystem-attwfgmv.js} +19 -19
- package/dist/chunks/{file-retention-0gnnjz3v.js → filesystem-b4bcrb8b.js} +4 -4
- package/dist/chunks/{file-retention-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-efp272bp.js → filesystem-b6mfpxes.js} +42 -42
- package/dist/chunks/{file-retention-ksry9d8f.js → filesystem-bqvawe2y.js} +42 -42
- package/dist/chunks/{file-retention-bw7hten5.js → filesystem-bzq013b3.js} +3 -3
- package/dist/chunks/{file-retention-qx7k4qp2.js → filesystem-c36wc4f0.js} +41 -41
- package/dist/chunks/{file-retention-bczj9gek.js → filesystem-c3mh7abg.js} +16 -16
- package/dist/chunks/{file-retention-4t6adyww.js → filesystem-c7jd750q.js} +9 -9
- package/dist/chunks/{file-retention-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-retention-xq8kymca.js → filesystem-cqvt4heg.js} +11 -11
- package/dist/chunks/{file-retention-jyv4pdcd.js → filesystem-cr9wy6w1.js} +6 -6
- package/dist/chunks/{file-retention-94npywv2.js → filesystem-d2z85qgk.js} +4 -4
- package/dist/chunks/{file-retention-83k0aw9t.js → filesystem-dbmcae2r.js} +22 -22
- package/dist/chunks/{file-retention-90w6g2p5.js → filesystem-dmmdt4bf.js} +25 -25
- package/dist/chunks/{file-retention-vdq7pbmg.js → filesystem-dp24j7vv.js} +3 -3
- package/dist/chunks/{file-retention-ykmmkvse.js → filesystem-dtx2zz03.js} +20 -20
- package/dist/chunks/{file-retention-1wcfs5an.js → filesystem-dwgb0r40.js} +2 -2
- package/dist/chunks/{file-retention-6jftzada.js → filesystem-dx6jvs3w.js} +12 -12
- package/dist/chunks/{file-retention-n3gg6d5p.js → filesystem-dxadfsz3.js} +17 -17
- package/dist/chunks/{file-retention-mwmzgnyj.js → filesystem-e7z2mpna.js} +19 -19
- package/dist/chunks/{file-retention-753tsz20.js → filesystem-e7z714tc.js} +12 -12
- package/dist/chunks/{file-retention-nhy5jxhy.js → filesystem-e82z9tr0.js} +7 -7
- package/dist/chunks/{file-retention-rsx8nqs6.js → filesystem-e8tzj1q5.js} +11 -11
- package/dist/chunks/{file-retention-bpewhtra.js → filesystem-eddqeyr4.js} +35 -35
- package/dist/chunks/{file-retention-x7s3znm0.js → filesystem-ede8bgtj.js} +28 -28
- package/dist/chunks/{file-retention-rtathh62.js → filesystem-ednp5hmx.js} +5 -5
- package/dist/chunks/{file-retention-8he2t7jm.js → filesystem-eh06tsh4.js} +25 -24
- package/dist/chunks/{file-retention-65wkgmh5.js → filesystem-eqqhapwp.js} +22 -22
- package/dist/chunks/{file-retention-70kj4k29.js → filesystem-er06bvme.js} +17 -17
- package/dist/chunks/{file-retention-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-f828m53h.js → filesystem-f828m53h.js} +2 -2
- package/dist/chunks/{file-retention-ynnzzba7.js → filesystem-fp9646aj.js} +3 -3
- package/dist/chunks/{file-retention-pahz8e0w.js → filesystem-fqz39t5z.js} +5 -5
- package/dist/chunks/{file-retention-th9pr1j7.js → filesystem-fwvt04sz.js} +4 -4
- package/dist/chunks/{file-retention-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-jr7591m5.js → filesystem-g0e3tkhh.js} +11 -11
- package/dist/chunks/{file-retention-pdaxh6j6.js → filesystem-gb23bvxt.js} +19 -19
- package/dist/chunks/{file-retention-s8d7rejh.js → filesystem-gbt6w4kb.js} +8 -8
- package/dist/chunks/{file-retention-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-3fc6dm20.js → filesystem-gdvy8fx6.js} +4 -4
- package/dist/chunks/{file-retention-nd93s368.js → filesystem-gfybhtft.js} +19 -18
- package/dist/chunks/{file-retention-9f1txmwq.js → filesystem-gps6vdk6.js} +18 -18
- package/dist/chunks/{file-retention-xnafzea3.js → filesystem-gr04s9gg.js} +27 -27
- package/dist/chunks/{file-retention-sjj15vqw.js → filesystem-gzcwfc4e.js} +20 -20
- package/dist/chunks/{file-retention-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-fm13v0aj.js → filesystem-h24d087c.js} +15 -15
- package/dist/chunks/{file-retention-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-ka2k270b.js → filesystem-hd29wc17.js} +8 -8
- package/dist/chunks/{file-retention-twb5wmxd.js → filesystem-hf9zzdc2.js} +10 -10
- package/dist/chunks/{file-retention-n76fdqym.js → filesystem-hfqxjmzm.js} +5 -5
- package/dist/chunks/{file-retention-276j33cf.js → filesystem-hhstr0w6.js} +22 -22
- package/dist/chunks/{file-retention-fb8eapp7.js → filesystem-hjs68xrf.js} +36 -36
- package/dist/chunks/{file-retention-hnr5yq9h.js → filesystem-hnr5yq9h.js} +2 -2
- package/dist/chunks/{file-retention-910sr6dw.js → filesystem-ht3akpg4.js} +12 -12
- package/dist/chunks/{file-retention-vwt4pwz2.js → filesystem-htp6s35y.js} +13 -13
- package/dist/chunks/{file-retention-ppj7fmgk.js → filesystem-j2mhjbmg.js} +31 -31
- package/dist/chunks/{file-retention-waa2mmfw.js → filesystem-j55f1gt8.js} +15 -15
- package/dist/chunks/{file-retention-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-ptyjv6sg.js → filesystem-jane354b.js} +3 -3
- package/dist/chunks/{file-retention-r9babyk8.js → filesystem-jbddx18m.js} +1 -1
- package/dist/chunks/{file-retention-vsjh5n0j.js → filesystem-jbjar616.js} +30 -30
- package/dist/chunks/{file-retention-jefma2gq.js → filesystem-jefma2gq.js} +3 -3
- package/dist/chunks/{file-retention-kb4mbprj.js → filesystem-jk60jt88.js} +11 -11
- package/dist/chunks/filesystem-jx1df3jm.js +22 -0
- package/dist/chunks/{file-retention-dyh18y4s.js → filesystem-k44km4nj.js} +17 -17
- package/dist/chunks/{file-retention-kg06axw8.js → filesystem-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-n3jzkq55.js → filesystem-ky6k48re.js} +30 -30
- package/dist/chunks/{file-retention-f8q7mv7a.js → filesystem-m1y8ttrx.js} +1 -1
- package/dist/chunks/{file-retention-gcbt0df5.js → filesystem-m7m032ab.js} +28 -28
- package/dist/chunks/{file-retention-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-2y34zzjz.js → filesystem-m9wy7qrr.js} +6 -6
- package/dist/chunks/{file-retention-75dhgn7f.js → filesystem-mhkcfdm3.js} +23 -23
- package/dist/chunks/{file-retention-mkcjrzeh.js → filesystem-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-retention-5q5vxjc4.js → filesystem-mkv6pa3p.js} +16 -16
- package/dist/chunks/{file-retention-phc8pspp.js → filesystem-mrtpz622.js} +3 -3
- package/dist/chunks/{file-retention-rsdf2nvv.js → filesystem-msq0jde0.js} +4 -4
- package/dist/chunks/{file-retention-4wqzyra5.js → filesystem-myg80vbs.js} +31 -31
- package/dist/chunks/{file-retention-jy790zpn.js → filesystem-n4vj9ajn.js} +10 -10
- package/dist/chunks/{file-retention-dyh5ke7e.js → filesystem-n8r29p3x.js} +15 -15
- package/dist/chunks/{file-retention-akrnn5pm.js → filesystem-nbzsj80d.js} +8 -8
- package/dist/chunks/{file-retention-0hdv8hr0.js → filesystem-nt7y0b6y.js} +9 -9
- package/dist/chunks/{file-retention-tm7zr4pr.js → filesystem-nw2nz702.js} +4 -4
- package/dist/chunks/{file-retention-yt0fqk68.js → filesystem-nxhqveyz.js} +5 -5
- package/dist/chunks/{file-retention-91rf1wrq.js → filesystem-p1by39wd.js} +38 -38
- package/dist/chunks/{file-retention-wx9wy1qm.js → filesystem-p33ejz0k.js} +1 -1
- package/dist/chunks/{file-retention-sxbnakwy.js → filesystem-p613tt29.js} +2 -2
- package/dist/chunks/{file-retention-6bsje7ws.js → filesystem-p6r5yh53.js} +3 -3
- package/dist/chunks/{file-retention-j15mfg1p.js → filesystem-pf2hb43r.js} +6 -6
- package/dist/chunks/{file-retention-w78zdbkg.js → filesystem-pf7e094e.js} +8 -8
- package/dist/chunks/{file-retention-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-n5h13zaa.js → filesystem-pndg43xp.js} +7 -7
- package/dist/chunks/{file-retention-txd1j2wz.js → filesystem-q1mwthsg.js} +11 -11
- package/dist/chunks/{file-retention-j83byb14.js → filesystem-q2b1ymqp.js} +4 -4
- package/dist/chunks/{file-retention-y984hjy8.js → filesystem-q3j0kqfw.js} +27 -27
- package/dist/chunks/{file-retention-fw9y5yd9.js → filesystem-q5933jwj.js} +23 -23
- package/dist/chunks/{file-retention-afdssyjb.js → filesystem-q5asdkn4.js} +4 -4
- package/dist/chunks/{file-retention-hnsp6gvf.js → filesystem-qam20mpp.js} +15 -15
- package/dist/chunks/{file-retention-6ydpdfpt.js → filesystem-qgj7q01q.js} +29 -29
- package/dist/chunks/filesystem-qj0x7chz.js +462 -0
- package/dist/chunks/{file-retention-bcnz578n.js → filesystem-qk7hwtaf.js} +2 -2
- package/dist/chunks/{file-retention-098kyh1n.js → filesystem-qpnsqa9x.js} +15 -15
- package/dist/chunks/{file-retention-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-pp4q2nd9.js → filesystem-r837shg4.js} +46 -46
- package/dist/chunks/{file-retention-rdzktax9.js → filesystem-r9dyd1jw.js} +4 -4
- package/dist/chunks/{file-retention-4wt9y66g.js → filesystem-rf9vrjw2.js} +12 -12
- package/dist/chunks/{file-retention-mv5ftj3m.js → filesystem-rgp0xy6k.js} +12 -12
- package/dist/chunks/{file-retention-raekatpd.js → filesystem-rv8k5jkc.js} +8 -8
- package/dist/chunks/{file-retention-0aj2jf1n.js → filesystem-rxhbvfmr.js} +28 -28
- package/dist/chunks/{file-retention-4m1wn79y.js → filesystem-s84w5bg7.js} +18 -18
- package/dist/chunks/{file-retention-p3p972wa.js → filesystem-s857ash9.js} +5 -5
- package/dist/chunks/{file-retention-tsxa73g8.js → filesystem-sfbacvk4.js} +13 -13
- package/dist/chunks/{file-retention-a7p8711m.js → filesystem-sj9w4s23.js} +15 -15
- package/dist/chunks/{file-retention-q51nheh5.js → filesystem-sp5zyyma.js} +7 -7
- package/dist/chunks/{file-retention-qa3qhgw8.js → filesystem-t2fc4mz5.js} +4 -4
- package/dist/chunks/{file-retention-3ksxwg4k.js → filesystem-t4rrxcfh.js} +27 -27
- package/dist/chunks/{file-retention-75xqksf8.js → filesystem-t5w9h8rb.js} +20 -20
- package/dist/chunks/{file-retention-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-gv6a8nnw.js → filesystem-th5km1p3.js} +5 -5
- package/dist/chunks/{file-retention-pjjbt500.js → filesystem-tj953jaq.js} +33 -33
- package/dist/chunks/{file-retention-dmh4mpcg.js → filesystem-tkrrbede.js} +15 -15
- package/dist/chunks/{file-retention-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-ahtv500y.js → filesystem-tyyqsn0v.js} +6 -6
- package/dist/chunks/{file-retention-2qp6y8xf.js → filesystem-tz2bjj40.js} +5 -5
- package/dist/chunks/{file-retention-zhw0490b.js → filesystem-v0zwhkz5.js} +13 -13
- package/dist/chunks/{file-retention-84j6bdr5.js → filesystem-v31hq529.js} +47 -47
- package/dist/chunks/{file-retention-ebah8r6x.js → filesystem-v32t8jx1.js} +6 -6
- package/dist/chunks/{file-retention-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-kkta2ctq.js → filesystem-vnwx8xqr.js} +15 -15
- package/dist/chunks/{file-retention-hfdr1yjj.js → filesystem-vyy6cxw9.js} +4 -4
- package/dist/chunks/{file-retention-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-ygk5pt6v.js → filesystem-w1ph7bey.js} +32 -32
- package/dist/chunks/{file-retention-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-6p79xx13.js → filesystem-wazkm2x0.js} +13 -13
- package/dist/chunks/{file-retention-1ct8tqx8.js → filesystem-wcdb3cer.js} +26 -26
- package/dist/chunks/{file-retention-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-0v9xjpmp.js → filesystem-wgn8rn3k.js} +55 -55
- package/dist/chunks/{file-retention-vc35pqxv.js → filesystem-wjy94g25.js} +13 -13
- package/dist/chunks/{file-retention-d750cxjj.js → filesystem-wpej6h4s.js} +15 -15
- package/dist/chunks/{file-retention-wr0wz2nx.js → filesystem-wrdw2bq8.js} +3 -3
- package/dist/chunks/{file-retention-q4p7gt18.js → filesystem-wv978b9k.js} +20 -20
- package/dist/chunks/{file-retention-ecw23q2j.js → filesystem-wx8vgsfk.js} +24 -24
- package/dist/chunks/{file-retention-sxpvbsth.js → filesystem-wy1hgqd7.js} +9 -9
- package/dist/chunks/{file-retention-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-x43y2vfs.js → filesystem-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-retention-egpdn9z5.js → filesystem-xax1yraj.js} +11 -11
- package/dist/chunks/{file-retention-5ctkr95j.js → filesystem-xhngfy0e.js} +79 -79
- package/dist/chunks/{file-retention-vhkpr0st.js → filesystem-xkjxrpcb.js} +15 -15
- package/dist/chunks/{file-retention-banqffvw.js → filesystem-xpxjkdch.js} +7 -7
- package/dist/chunks/{file-retention-q6wpp224.js → filesystem-xrxwtwha.js} +4 -4
- package/dist/chunks/{file-retention-mzbpx9yh.js → filesystem-xtfcs0yj.js} +6 -6
- package/dist/chunks/{file-retention-0je2mk44.js → filesystem-xy0sa79b.js} +6 -6
- package/dist/chunks/{file-retention-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{file-retention-8nahm7e2.js → filesystem-y9jmv78b.js} +4 -4
- package/dist/chunks/{file-retention-ne8aj7mp.js → filesystem-ydckf0vr.js} +26 -26
- package/dist/chunks/{file-retention-h77cxaca.js → filesystem-ydq1q308.js} +26 -26
- package/dist/chunks/{file-retention-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-zdwm66qa.js → filesystem-ywa60t48.js} +11 -11
- package/dist/chunks/{file-retention-01z5yxwd.js → filesystem-yxjsdcwg.js} +5 -5
- package/dist/chunks/{file-retention-4w6txemy.js → filesystem-yytdt4jf.js} +7 -7
- package/dist/chunks/{file-retention-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-11t8qrtw.js → filesystem-z0ff4ppm.js} +8 -8
- package/dist/chunks/{file-retention-nhvhf6q8.js → filesystem-z1f4gy9p.js} +8 -8
- package/dist/chunks/{file-retention-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-pv3jdcwf.js → filesystem-zd00mhnz.js} +16 -16
- package/dist/chunks/{file-retention-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-b348asm8.js → filesystem-zesa0009.js} +6 -6
- package/dist/chunks/{file-retention-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-3jyr1z4v.js → filesystem-zx94nz29.js} +7 -7
- package/dist/chunks/{file-retention-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +73 -73
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +113 -113
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +114 -114
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +3 -3
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +95 -95
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +84 -84
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +97 -97
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/package.json +8 -8
- package/dist/chunks/file-retention-0xpa0xtz.js +0 -247
- package/dist/chunks/file-retention-4vr8ch1c.js +0 -462
- package/dist/chunks/file-retention-d0qewjeg.js +0 -22
- package/dist/chunks/file-retention-dxj72tfx.js +0 -18
- /package/dist/chunks/{file-retention-0mesazry.js → filesystem-0mesazry.js} +0 -0
- /package/dist/chunks/{file-retention-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-paphc93g.js → filesystem-paphc93g.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-1b1ar3e7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node74
|
|
12
|
+
} from "./filesystem-jk60jt88.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-qk7hwtaf.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Ref3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-3t5n67ye.js";
|
|
21
21
|
import {
|
|
22
22
|
ID8,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service61,
|
|
24
|
+
node66
|
|
25
|
+
} from "./filesystem-67pthv0s.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service60,
|
|
28
|
+
node65
|
|
29
|
+
} from "./filesystem-ydckf0vr.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service59,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
41
41
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
@@ -43,7 +43,7 @@ __export(exports_model_resolver, {
|
|
|
43
43
|
fromCatalogModel: () => fromCatalogModel2,
|
|
44
44
|
hasPackage: () => hasPackage2,
|
|
45
45
|
layer: () => layer24,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node64,
|
|
47
47
|
resolveModel: () => resolveModel2,
|
|
48
48
|
withVariant: () => withVariant2
|
|
49
49
|
});
|
|
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
53
53
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
54
54
|
import { Npm } from "@opencode/util/npm";
|
|
55
55
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
56
|
-
providerID:
|
|
57
|
-
modelID:
|
|
56
|
+
providerID: ID15,
|
|
57
|
+
modelID: ID13,
|
|
58
58
|
variant: VariantID2
|
|
59
59
|
}) {
|
|
60
60
|
get message() {
|
|
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
66
|
-
providerID:
|
|
67
|
-
modelID:
|
|
66
|
+
providerID: ID15,
|
|
67
|
+
modelID: ID13,
|
|
68
68
|
package: Schema.String
|
|
69
69
|
}) {
|
|
70
70
|
get message() {
|
|
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
76
|
-
providerID:
|
|
77
|
-
modelID:
|
|
76
|
+
providerID: ID15,
|
|
77
|
+
modelID: ID13,
|
|
78
78
|
variables: Schema.Array(Schema.String)
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
86
|
-
providerID:
|
|
87
|
-
modelID:
|
|
86
|
+
providerID: ID15,
|
|
87
|
+
modelID: ID13,
|
|
88
88
|
route: Schema.String
|
|
89
89
|
}) {
|
|
90
90
|
get message() {
|
|
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service59 extends Context.Service()("@opencode/ModelResolver") {
|
|
96
96
|
}
|
|
97
97
|
var withVariant2 = (model, variantID) => {
|
|
98
98
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -218,11 +218,11 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
218
218
|
});
|
|
219
219
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
220
220
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
221
|
-
var layer24 = Layer.effect(
|
|
222
|
-
const catalog = yield*
|
|
223
|
-
const integrations = yield*
|
|
221
|
+
var layer24 = Layer.effect(Service59, Effect.gen(function* () {
|
|
222
|
+
const catalog = yield* Service60;
|
|
223
|
+
const integrations = yield* Service61;
|
|
224
224
|
const npm = yield* Npm.Service;
|
|
225
|
-
const aisdk = yield*
|
|
225
|
+
const aisdk = yield* Service69;
|
|
226
226
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
227
227
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
228
228
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
|
|
@@ -246,7 +246,7 @@ var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
246
246
|
compaction: selected.compaction
|
|
247
247
|
};
|
|
248
248
|
});
|
|
249
|
-
return
|
|
249
|
+
return Service59.of({
|
|
250
250
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
251
251
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
252
252
|
if (!selected)
|
|
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
263
263
|
const name = packageName2(packageName);
|
|
264
264
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
265
265
|
}
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
266
|
+
var node64 = makeLocationNode({
|
|
267
|
+
service: Service59,
|
|
268
268
|
layer: layer24,
|
|
269
|
-
deps: [
|
|
269
|
+
deps: [node65, node66, Npm.node, node74]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
272
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node64, exports_model_resolver };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./filesystem-dx6jvs3w.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-bqvawe2y.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service37,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service37 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service37.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node41 = makeLocationNode({
|
|
112
|
+
service: Service37,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID6, Name2, available2, toModelOutput3, prepare3, Service37, node41, exports_skill5, Event7 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin33,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin33 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint2,
|
|
83
|
+
export { endpoint2, Plugin33, exports_exa };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./filesystem-a5stevxr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./filesystem-gps6vdk6.js";
|
|
10
10
|
import {
|
|
11
11
|
Service8
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-sj9w4s23.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service9
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-q1mwthsg.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Plugin: () => Plugin29,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name11 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin29 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service9;
|
|
62
|
-
const access = yield*
|
|
62
|
+
const access = yield* Service16;
|
|
63
63
|
const sessionInstructions = yield* Service8;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin20 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -167,7 +167,8 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
167
167
|
`);
|
|
168
168
|
}
|
|
169
169
|
const start = output.type === "text-page" ? output.offset : 1;
|
|
170
|
-
const
|
|
170
|
+
const text = output.type === "file" ? output.content.replace(/\n$/, "") : output.content;
|
|
171
|
+
const lines = output.content === "" ? [] : text.split(`
|
|
171
172
|
`);
|
|
172
173
|
const content = [
|
|
173
174
|
lines.length === 0 ? `Read file ${path}, 0 lines` : `Read file ${path}, lines ${start}-${start + lines.length - 1}`
|
|
@@ -179,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
179
180
|
`);
|
|
180
181
|
};
|
|
181
182
|
|
|
182
|
-
export {
|
|
183
|
+
export { name11, Input11, Plugin29, toModelContent6, exports_read };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service41,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured6,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node45,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load2());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service41 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service41.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service41.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service41).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service41, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured6(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service41, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node45 = configured6();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options7, Service41, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured6, node45, exports_watcher };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-33zmxq1h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./filesystem-dx6jvs3w.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service66
|
|
11
|
+
} from "./filesystem-tj953jaq.js";
|
|
12
12
|
import {
|
|
13
13
|
ID8,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./filesystem-67pthv0s.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID15
|
|
23
|
+
} from "./filesystem-1b1ar3e7.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-51whyq4r.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
33
|
+
var providerID = ID15.make("snowflake-cortex");
|
|
34
34
|
var integrationID = ID8.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service66;
|
|
57
|
+
const integrations = yield* Service61;
|
|
58
|
+
const bus = yield* Service79;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-bzq013b3.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-wrdw2bq8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|