@opencode/core 0.0.0-dev-19388 → 0.0.0-dev-19389
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{filesystem-q5933jwj.js → tool-00gnxv30.js} +16 -16
- package/dist/chunks/{filesystem-rgp0xy6k.js → tool-01797ny4.js} +12 -12
- package/dist/chunks/{filesystem-r9dyd1jw.js → tool-08xgehk5.js} +4 -4
- package/dist/chunks/{filesystem-9zswys26.js → tool-0996nyz8.js} +9 -9
- package/dist/chunks/{filesystem-s84w5bg7.js → tool-0hhrv268.js} +18 -18
- package/dist/chunks/{filesystem-v0zwhkz5.js → tool-0msc39tg.js} +9 -9
- package/dist/chunks/{filesystem-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-5pg93txw.js → tool-0xf6t1bc.js} +21 -21
- package/dist/chunks/{filesystem-eddqeyr4.js → tool-100kzw8g.js} +39 -39
- package/dist/chunks/{filesystem-xax1yraj.js → tool-13tvcsgk.js} +11 -11
- package/dist/chunks/{filesystem-dbmcae2r.js → tool-1c2q116c.js} +22 -22
- package/dist/chunks/{filesystem-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-j55f1gt8.js → tool-1famk9p6.js} +13 -13
- package/dist/chunks/{filesystem-91pqtkcw.js → tool-1hgt76pw.js} +16 -16
- package/dist/chunks/{filesystem-wy1hgqd7.js → tool-1jwdep4c.js} +9 -9
- package/dist/chunks/{filesystem-yxjsdcwg.js → tool-1kh06mg4.js} +2 -2
- package/dist/chunks/{filesystem-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-msq0jde0.js → tool-22m95qs7.js} +4 -4
- package/dist/chunks/{filesystem-6h73sxmp.js → tool-2402vzrj.js} +5 -5
- package/dist/chunks/{filesystem-z63w68vq.js → tool-29x78va6.js} +6 -6
- package/dist/chunks/{filesystem-ednp5hmx.js → tool-2a4f6v5q.js} +8 -8
- package/dist/chunks/{filesystem-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-jk60jt88.js → tool-2aqbs40b.js} +11 -11
- package/dist/chunks/{filesystem-2stek9w5.js → tool-2ft9rrby.js} +7 -7
- package/dist/chunks/{filesystem-h24d087c.js → tool-2gm42vdj.js} +13 -13
- package/dist/chunks/{filesystem-0jwsre1p.js → tool-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-hfqxjmzm.js → tool-2mnagb0e.js} +5 -5
- package/dist/chunks/{filesystem-2mdf44cj.js → tool-2zk4ah9y.js} +9 -9
- package/dist/chunks/{filesystem-w1ph7bey.js → tool-31v57ene.js} +28 -28
- package/dist/chunks/{filesystem-33zmxq1h.js → tool-32xz9ffh.js} +11 -11
- package/dist/chunks/{filesystem-qk7hwtaf.js → tool-39etbsth.js} +2 -2
- package/dist/chunks/{filesystem-yytdt4jf.js → tool-3a9e8ct5.js} +7 -7
- package/dist/chunks/{filesystem-gdvy8fx6.js → tool-3fc6dm20.js} +4 -4
- package/dist/chunks/{filesystem-eh06tsh4.js → tool-3fe43pwb.js} +23 -23
- package/dist/chunks/{filesystem-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-q3j0kqfw.js → tool-3p0n15sb.js} +24 -24
- package/dist/chunks/{filesystem-7zjk8agd.js → tool-3r6vp6xx.js} +10 -10
- package/dist/chunks/{filesystem-zx94nz29.js → tool-3r7whzgv.js} +7 -7
- package/dist/chunks/{filesystem-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-385xck8a.js → tool-41e240wd.js} +11 -11
- package/dist/chunks/{filesystem-t4rrxcfh.js → tool-43cyd10z.js} +26 -26
- package/dist/chunks/{filesystem-7v6dnkvf.js → tool-442pexa9.js} +27 -27
- package/dist/chunks/{filesystem-ede8bgtj.js → tool-45zx1ce8.js} +24 -24
- package/dist/chunks/{filesystem-t5w9h8rb.js → tool-48gag0he.js} +19 -19
- package/dist/chunks/{filesystem-737983wq.js → tool-49hrpkdk.js} +4 -4
- package/dist/chunks/{filesystem-bqvawe2y.js → tool-4faz70f1.js} +53 -53
- package/dist/chunks/{filesystem-5bmw5kj7.js → tool-4g6am8f5.js} +26 -26
- package/dist/chunks/{filesystem-e7z2mpna.js → tool-4jad23kz.js} +20 -20
- package/dist/chunks/{filesystem-6vkh6tth.js → tool-4kmb4xcf.js} +38 -38
- package/dist/chunks/{filesystem-6v7jgxpn.js → tool-4rggjvr2.js} +7 -7
- package/dist/chunks/{filesystem-a0ptexgx.js → tool-50kt3f8y.js} +4 -4
- package/dist/chunks/{filesystem-eqqhapwp.js → tool-50wkfpjr.js} +24 -24
- package/dist/chunks/{filesystem-4dszt5y5.js → tool-55s895j0.js} +33 -33
- package/dist/chunks/{filesystem-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
- package/dist/chunks/{filesystem-a1bz86dw.js → tool-5c4hm403.js} +3 -3
- package/dist/chunks/{filesystem-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-67pthv0s.js → tool-622ah2gs.js} +28 -28
- package/dist/chunks/{filesystem-ywa60t48.js → tool-62gm3akr.js} +11 -11
- package/dist/chunks/{filesystem-ydq1q308.js → tool-638f9gty.js} +26 -26
- package/dist/chunks/{filesystem-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-qgj7q01q.js → tool-6f5kdbjb.js} +26 -26
- package/dist/chunks/{filesystem-1jgwmmhy.js → tool-6fyrr4w1.js} +4 -4
- package/dist/chunks/tool-6kdq0pjd.js +4 -0
- package/dist/chunks/{filesystem-hd29wc17.js → tool-6m8y77r5.js} +8 -8
- package/dist/chunks/{filesystem-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-9a3ed6hb.js → tool-6ppc03cv.js} +6 -6
- package/dist/chunks/{filesystem-0n7kkwyn.js → tool-6y4tgg16.js} +31 -31
- package/dist/chunks/{filesystem-71q4at8m.js → tool-71q4at8m.js} +1 -1
- package/dist/chunks/{filesystem-bzq013b3.js → tool-72cm32h1.js} +3 -3
- package/dist/chunks/{filesystem-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-pf2hb43r.js → tool-7ebn0nc0.js} +6 -6
- package/dist/chunks/{filesystem-jbddx18m.js → tool-7f3sjtrh.js} +1 -1
- package/dist/chunks/{filesystem-nxhqveyz.js → tool-7gvwkz6m.js} +5 -5
- package/dist/chunks/{filesystem-86b59fvh.js → tool-7jsvadcm.js} +19 -18
- package/dist/chunks/{filesystem-8v4d8r02.js → tool-7k1k30bt.js} +1 -1
- package/dist/chunks/{filesystem-wv978b9k.js → tool-7nb80w0z.js} +23 -23
- package/dist/chunks/{filesystem-1fqh06zb.js → tool-7rzn7488.js} +42 -42
- package/dist/chunks/tool-7s88n6wh.js +247 -0
- package/dist/chunks/{filesystem-1eyaby9q.js → tool-7sdps93t.js} +5 -5
- package/dist/chunks/{filesystem-e8tzj1q5.js → tool-7xzdkz3y.js} +11 -11
- package/dist/chunks/{filesystem-81swgkk7.js → tool-81swgkk7.js} +2 -2
- package/dist/chunks/{filesystem-tj953jaq.js → tool-83n1dzne.js} +30 -30
- package/dist/chunks/{filesystem-895sbn4q.js → tool-84cxy7xh.js} +26 -26
- package/dist/chunks/{filesystem-fp9646aj.js → tool-859kcgs2.js} +3 -3
- package/dist/chunks/{filesystem-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-sp5zyyma.js → tool-8t1wrec1.js} +8 -8
- package/dist/chunks/{filesystem-b6mfpxes.js → tool-8xv0fcmg.js} +35 -35
- package/dist/chunks/{filesystem-p33ejz0k.js → tool-8ypn74s0.js} +1 -1
- package/dist/chunks/{filesystem-795b89xp.js → tool-910hnegs.js} +24 -24
- package/dist/chunks/{filesystem-xtfcs0yj.js → tool-937nxygj.js} +8 -8
- package/dist/chunks/{filesystem-r837shg4.js → tool-99exew75.js} +43 -43
- package/dist/chunks/{filesystem-6e93yj3m.js → tool-9aqmr64f.js} +3 -3
- package/dist/chunks/{filesystem-wgn8rn3k.js → tool-9ggagkar.js} +49 -49
- package/dist/chunks/{filesystem-c3mh7abg.js → tool-9hv8phah.js} +16 -16
- package/dist/chunks/{filesystem-jbjar616.js → tool-9s022y1z.js} +32 -32
- package/dist/chunks/{filesystem-1rheacw5.js → tool-9y5cg855.js} +36 -36
- package/dist/chunks/{filesystem-a9mh0r96.js → tool-a1pcbmkx.js} +16 -16
- package/dist/chunks/{filesystem-t2fc4mz5.js → tool-a46v4e4v.js} +4 -4
- package/dist/chunks/{filesystem-pf7e094e.js → tool-a605f6d0.js} +11 -11
- package/dist/chunks/{filesystem-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-tz2bjj40.js → tool-ag9w8cw1.js} +5 -5
- package/dist/chunks/{filesystem-6rzja1f9.js → tool-amegs12p.js} +9 -9
- package/dist/chunks/{filesystem-attwfgmv.js → tool-apesnbt3.js} +17 -17
- package/dist/chunks/{filesystem-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-dmmdt4bf.js → tool-bgmt3wra.js} +25 -25
- package/dist/chunks/{filesystem-8bfq94b1.js → tool-bkz2mr6p.js} +65 -65
- package/dist/chunks/{filesystem-d2z85qgk.js → tool-bnweey00.js} +4 -4
- package/dist/chunks/{filesystem-jane354b.js → tool-br0bxb5z.js} +3 -3
- package/dist/chunks/{filesystem-z1f4gy9p.js → tool-bv56xrks.js} +8 -8
- package/dist/chunks/{filesystem-gps6vdk6.js → tool-c3er4f98.js} +9 -9
- package/dist/chunks/{filesystem-gzcwfc4e.js → tool-c4ypf6wq.js} +20 -20
- package/dist/chunks/{filesystem-mrtpz622.js → tool-ca9nbgzj.js} +9 -9
- package/dist/chunks/{filesystem-mkv6pa3p.js → tool-ce8ketvm.js} +24 -24
- package/dist/chunks/{filesystem-myg80vbs.js → tool-cfxak8gp.js} +22 -22
- package/dist/chunks/{filesystem-sj9w4s23.js → tool-cgfvzygb.js} +16 -16
- package/dist/chunks/{filesystem-844ef7ks.js → tool-cmwkp3r5.js} +4 -4
- package/dist/chunks/{filesystem-b4bcrb8b.js → tool-d38rwssd.js} +4 -4
- package/dist/chunks/{filesystem-nw2nz702.js → tool-d8nc1xcx.js} +4 -4
- package/dist/chunks/{filesystem-ht3akpg4.js → tool-d8q39vv3.js} +10 -10
- package/dist/chunks/{filesystem-ak7vzz1a.js → tool-d9sn21bc.js} +2 -2
- package/dist/chunks/{filesystem-dwgb0r40.js → tool-dbnvakxz.js} +2 -2
- package/dist/chunks/{filesystem-94f5g9k1.js → tool-dgv4w1ry.js} +33 -33
- package/dist/chunks/{filesystem-8p4f9s12.js → tool-dj2t23y0.js} +2 -2
- package/dist/chunks/{filesystem-jx1df3jm.js → tool-dr8w6t5k.js} +11 -11
- package/dist/chunks/{filesystem-fwvt04sz.js → tool-dw8c19qb.js} +4 -4
- package/dist/chunks/{filesystem-4e3yc908.js → tool-e67ygrb5.js} +20 -20
- package/dist/chunks/{filesystem-1fbj5668.js → tool-e8ge1rnk.js} +1 -1
- package/dist/chunks/{filesystem-zd00mhnz.js → tool-efstz0ke.js} +12 -12
- package/dist/chunks/{filesystem-3s4rvetn.js → tool-egp6178n.js} +10 -10
- package/dist/chunks/{filesystem-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-er06bvme.js → tool-ezs43bsy.js} +17 -17
- package/dist/chunks/{filesystem-55z3fzyw.js → tool-f249p1w2.js} +11 -11
- package/dist/chunks/{filesystem-67dj31rt.js → tool-f65fprkq.js} +11 -11
- package/dist/chunks/{filesystem-hf9zzdc2.js → tool-f9qak17s.js} +8 -8
- package/dist/chunks/{filesystem-vyy6cxw9.js → tool-fab8hzt3.js} +4 -4
- package/dist/chunks/{filesystem-m9wy7qrr.js → tool-fjvydvzm.js} +6 -6
- package/dist/chunks/{filesystem-dp24j7vv.js → tool-fsn1dw54.js} +5 -5
- package/dist/chunks/{filesystem-gb23bvxt.js → tool-fw7ks5z6.js} +15 -15
- package/dist/chunks/{filesystem-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-z0ff4ppm.js → tool-g0aj3r5p.js} +4 -4
- package/dist/chunks/{filesystem-8qgzw9wd.js → tool-g5hp0j3s.js} +20 -20
- package/dist/chunks/{filesystem-056y9sk5.js → tool-g5zf0djh.js} +1 -1
- package/dist/chunks/{filesystem-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-5kptn8c0.js → tool-gfqzzqy5.js} +9 -9
- package/dist/chunks/{filesystem-th5km1p3.js → tool-gv6a8nnw.js} +5 -5
- package/dist/chunks/{filesystem-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
- package/dist/chunks/{filesystem-ac88cgcg.js → tool-h1dazz20.js} +17 -17
- package/dist/chunks/{filesystem-m7m032ab.js → tool-h47mvjjj.js} +28 -28
- package/dist/chunks/{filesystem-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-f828m53h.js → tool-hdnk95c8.js} +2 -2
- package/dist/chunks/{filesystem-e82z9tr0.js → tool-hjt4xg1x.js} +7 -7
- package/dist/chunks/{filesystem-dx6jvs3w.js → tool-hvcjdrj2.js} +4 -4
- package/dist/chunks/{filesystem-v32t8jx1.js → tool-hwe7x4em.js} +6 -6
- package/dist/chunks/{filesystem-xhngfy0e.js → tool-j51g8r26.js} +81 -81
- package/dist/chunks/{filesystem-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-p6r5yh53.js → tool-j7wq2tw5.js} +3 -3
- package/dist/chunks/{filesystem-paphc93g.js → tool-j935v87r.js} +2 -2
- package/dist/chunks/{filesystem-qpnsqa9x.js → tool-j9eppgdd.js} +13 -13
- package/dist/chunks/{filesystem-1b4ff5b6.js → tool-j9tvrbwe.js} +25 -25
- package/dist/chunks/{filesystem-1b1ar3e7.js → tool-jfpzywp2.js} +6 -6
- package/dist/chunks/{filesystem-nbzsj80d.js → tool-jmm88pvs.js} +11 -11
- package/dist/chunks/{filesystem-3t5n67ye.js → tool-jp8xd6mf.js} +12 -12
- package/dist/chunks/{filesystem-tkrrbede.js → tool-jpchzm8t.js} +16 -16
- package/dist/chunks/{filesystem-htp6s35y.js → tool-jw7c8f1w.js} +13 -13
- package/dist/chunks/{filesystem-915024ph.js → tool-jwcaj6se.js} +22 -22
- package/dist/chunks/{filesystem-7cfynq8y.js → tool-jxdevvez.js} +158 -158
- package/dist/chunks/{filesystem-3h6cqk62.js → tool-kap84dg0.js} +18 -18
- package/dist/chunks/{filesystem-kg06axw8.js → tool-kg06axw8.js} +1 -1
- package/dist/chunks/{filesystem-511fzf0h.js → tool-kk8fq19e.js} +24 -24
- package/dist/chunks/{filesystem-dtx2zz03.js → tool-knvy7wqf.js} +20 -20
- package/dist/chunks/{filesystem-cfpkc3c9.js → tool-m0jqrx5p.js} +2 -2
- package/dist/chunks/{filesystem-sfbacvk4.js → tool-m2krvp2x.js} +13 -13
- package/dist/chunks/{filesystem-701y5145.js → tool-m4bw18j8.js} +24 -24
- package/dist/chunks/{filesystem-c36wc4f0.js → tool-m8gmjx38.js} +43 -43
- package/dist/chunks/{filesystem-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-3vb6kzdw.js → tool-mfvn5m8d.js} +8 -8
- package/dist/chunks/{filesystem-mkcjrzeh.js → tool-mkcjrzeh.js} +1 -1
- package/dist/chunks/{filesystem-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
- package/dist/chunks/{filesystem-cqvt4heg.js → tool-n17rpw7s.js} +11 -11
- package/dist/chunks/{filesystem-pndg43xp.js → tool-n6arc57m.js} +7 -7
- package/dist/chunks/{filesystem-wx8vgsfk.js → tool-n6pkm576.js} +21 -21
- package/dist/chunks/tool-n95b3jav.js +18 -0
- package/dist/chunks/{filesystem-n8r29p3x.js → tool-nfs7qh3b.js} +14 -14
- package/dist/chunks/{filesystem-gfybhtft.js → tool-nkhmdx3g.js} +18 -18
- package/dist/chunks/{filesystem-rf9vrjw2.js → tool-nnxzqqg8.js} +17 -17
- package/dist/chunks/{filesystem-gr04s9gg.js → tool-nqz62vb6.js} +21 -21
- package/dist/chunks/{filesystem-ydckf0vr.js → tool-p514mdqe.js} +25 -25
- package/dist/chunks/{filesystem-4jamjfh1.js → tool-p6604nm9.js} +10 -10
- package/dist/chunks/{filesystem-469vaqsc.js → tool-p6rs3vpq.js} +11 -11
- package/dist/chunks/{filesystem-7fe4gxq1.js → tool-pc5wdgkb.js} +11 -11
- package/dist/chunks/{filesystem-e7z714tc.js → tool-pe0c0z4r.js} +12 -12
- package/dist/chunks/{filesystem-rxhbvfmr.js → tool-pjmc1jwj.js} +29 -29
- package/dist/chunks/{filesystem-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-2bt6bea8.js → tool-pnv527nz.js} +9 -9
- package/dist/chunks/{filesystem-qam20mpp.js → tool-pqkb2z9p.js} +17 -17
- package/dist/chunks/{filesystem-y9jmv78b.js → tool-ptq11xx0.js} +6 -6
- package/dist/chunks/{filesystem-wazkm2x0.js → tool-pwk28ted.js} +13 -13
- package/dist/chunks/{filesystem-ky6k48re.js → tool-px9gxtsw.js} +33 -33
- package/dist/chunks/{filesystem-a1z5mzke.js → tool-q2027nw7.js} +1 -1
- package/dist/chunks/{filesystem-xrxwtwha.js → tool-q5qadqqc.js} +4 -4
- package/dist/chunks/{filesystem-j2mhjbmg.js → tool-q8rarcde.js} +28 -28
- package/dist/chunks/{filesystem-2m10wfgt.js → tool-qaed280k.js} +9 -9
- package/dist/chunks/{filesystem-dxadfsz3.js → tool-qek8dtx8.js} +20 -20
- package/dist/chunks/{filesystem-13bwbegs.js → tool-qfv804ab.js} +6 -6
- package/dist/chunks/{filesystem-mhkcfdm3.js → tool-qjqdk9x8.js} +25 -25
- package/dist/chunks/{filesystem-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-24c7s165.js → tool-qyyanj0n.js} +25 -25
- package/dist/chunks/{filesystem-xy0sa79b.js → tool-qzkdxd86.js} +6 -6
- package/dist/chunks/{filesystem-9fyw720m.js → tool-r1q74f54.js} +24 -24
- package/dist/chunks/{filesystem-c7jd750q.js → tool-ra3gq1k7.js} +9 -9
- package/dist/chunks/{filesystem-p613tt29.js → tool-rda0t9vq.js} +5 -5
- package/dist/chunks/{filesystem-gbt6w4kb.js → tool-rhjbct0v.js} +8 -8
- package/dist/chunks/{filesystem-s857ash9.js → tool-rmm45jmv.js} +5 -5
- package/dist/chunks/{filesystem-rv8k5jkc.js → tool-rsv3dyxs.js} +14 -14
- package/dist/chunks/{filesystem-xpxjkdch.js → tool-s006vazc.js} +10 -10
- package/dist/chunks/{filesystem-wcdb3cer.js → tool-s0haq3v3.js} +26 -26
- package/dist/chunks/{filesystem-yrznvahk.js → tool-s4enseaf.js} +2 -2
- package/dist/chunks/{filesystem-tyyqsn0v.js → tool-s6vet9p8.js} +6 -6
- package/dist/chunks/{filesystem-50mzsvk4.js → tool-s8j6jbjj.js} +21 -21
- package/dist/chunks/{filesystem-621rr81n.js → tool-sj71rkrx.js} +11 -11
- package/dist/chunks/{filesystem-5pa6vm4n.js → tool-sq27dbnb.js} +9 -9
- package/dist/chunks/{filesystem-qj0x7chz.js → tool-stbvjbpa.js} +284 -284
- package/dist/chunks/{filesystem-4maj8g0n.js → tool-sxnp3vqk.js} +17 -17
- package/dist/chunks/{filesystem-wjy94g25.js → tool-t0jgeayb.js} +11 -11
- package/dist/chunks/{filesystem-25852kw6.js → tool-t4an9tm5.js} +80 -80
- package/dist/chunks/{filesystem-g0e3tkhh.js → tool-t64d9h47.js} +11 -11
- package/dist/chunks/{filesystem-1batb0zb.js → tool-t7yz8ad7.js} +8 -8
- package/dist/chunks/{filesystem-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-vnwx8xqr.js → tool-tb8rp2yt.js} +24 -24
- package/dist/chunks/{filesystem-89znhe33.js → tool-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-q1mwthsg.js → tool-vce1m6g2.js} +17 -17
- package/dist/chunks/{filesystem-q2b1ymqp.js → tool-ve4pfa0n.js} +4 -4
- package/dist/chunks/{filesystem-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-n4vj9ajn.js → tool-vfpkabdf.js} +10 -10
- package/dist/chunks/{filesystem-hnr5yq9h.js → tool-vmq7ehpy.js} +5 -5
- package/dist/chunks/{filesystem-hhstr0w6.js → tool-vmshp960.js} +24 -24
- package/dist/chunks/{filesystem-fqz39t5z.js → tool-vv3eqyfe.js} +8 -8
- package/dist/chunks/{filesystem-9g3vdk5q.js → tool-vycpdhb1.js} +18 -18
- package/dist/chunks/{filesystem-nt7y0b6y.js → tool-vyqwgby1.js} +9 -9
- package/dist/chunks/{filesystem-k44km4nj.js → tool-vz6rz0af.js} +20 -20
- package/dist/chunks/{filesystem-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-wrdw2bq8.js → tool-w3k36hrr.js} +3 -3
- package/dist/chunks/{filesystem-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-617hgdan.js → tool-wbyq7e0t.js} +46 -46
- package/dist/chunks/{filesystem-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-wpej6h4s.js → tool-wdn3ce2t.js} +3 -3
- package/dist/chunks/{filesystem-jefma2gq.js → tool-wk58jv74.js} +3 -3
- package/dist/chunks/{filesystem-cr9wy6w1.js → tool-wpm2rk0p.js} +6 -6
- package/dist/chunks/{filesystem-5gachfgg.js → tool-ws5qfxv9.js} +9 -9
- package/dist/chunks/{filesystem-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-x43y2vfs.js → tool-x43y2vfs.js} +2 -2
- package/dist/chunks/{filesystem-9gqgjvk8.js → tool-xanzpgaf.js} +18 -18
- package/dist/chunks/{filesystem-6k9awrbh.js → tool-xdepe7a5.js} +10 -10
- package/dist/chunks/{filesystem-xkjxrpcb.js → tool-xnap109e.js} +15 -15
- package/dist/chunks/{filesystem-88gqx8fx.js → tool-xnrzgmbf.js} +44 -44
- package/dist/chunks/{filesystem-hjs68xrf.js → tool-xz0aj5bv.js} +30 -30
- package/dist/chunks/{filesystem-4rqn3ef5.js → tool-y0qtjk0t.js} +11 -11
- package/dist/chunks/{filesystem-51whyq4r.js → tool-y0wsg1r3.js} +7 -7
- package/dist/chunks/{filesystem-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-394r11tr.js → tool-y4xwrefb.js} +20 -20
- package/dist/chunks/{filesystem-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-zesa0009.js → tool-yc73ry1q.js} +6 -6
- package/dist/chunks/{filesystem-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-4vaczfm4.js → tool-ywhnyrnh.js} +5 -5
- package/dist/chunks/{filesystem-v31hq529.js → tool-yxz14c3m.js} +47 -47
- package/dist/chunks/{filesystem-p1by39wd.js → tool-z03197zf.js} +38 -38
- package/dist/chunks/{filesystem-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-m1y8ttrx.js → tool-z1pfg6df.js} +1 -1
- package/dist/chunks/{filesystem-57zwapjz.js → tool-zad871sr.js} +1 -1
- package/dist/chunks/{filesystem-q5asdkn4.js → tool-zcrspsvn.js} +4 -4
- package/dist/chunks/{filesystem-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-6yt31z2p.js → tool-zncx7357.js} +12 -12
- package/dist/chunks/{filesystem-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-a5stevxr.js → tool-zxhfgthz.js} +2 -2
- package/dist/chunks/{filesystem-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -207
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +68 -68
- package/dist/file-access.js +95 -95
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +89 -89
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +95 -95
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- 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 +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +76 -76
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +3 -3
- 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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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 +117 -117
- 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 +117 -117
- 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 +74 -74
- 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 +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- 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 +94 -94
- 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 +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- 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 +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- 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 +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +103 -103
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +3 -3
- 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 +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +91 -91
- package/package.json +8 -8
- package/dist/chunks/filesystem-0mesazry.js +0 -4
- package/dist/chunks/filesystem-9sh4wc5j.js +0 -18
- package/dist/chunks/filesystem-ang5fwfr.js +0 -247
- /package/dist/chunks/{filesystem-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-hvcjdrj2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service71,
|
|
8
|
+
node75
|
|
9
|
+
} from "./tool-83n1dzne.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node72
|
|
13
|
+
} from "./tool-50wkfpjr.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service76,
|
|
19
19
|
node81
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-zxhfgthz.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-vmshp960.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-f9qak17s.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service69,
|
|
36
|
+
Event18,
|
|
37
|
+
node73
|
|
38
|
+
} from "./tool-e67ygrb5.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./tool-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service67,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer24,
|
|
53
|
+
node: () => node71,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options7 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service67 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service67, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const location = yield* Service76;
|
|
100
|
-
const watcher = yield*
|
|
100
|
+
const watcher = yield* Service68;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service71;
|
|
103
|
+
const wellknown = yield* Service69;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -168,7 +168,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
170
170
|
return [
|
|
171
|
-
...yield* Effect.forEach(
|
|
171
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
172
172
|
new Directory({ type: "directory", path: directory })
|
|
173
173
|
];
|
|
174
174
|
});
|
|
@@ -223,8 +223,8 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service67.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured8(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service67,
|
|
248
|
+
layer: layer24(options),
|
|
249
|
+
deps: [node72, node84, FSUtil.node, Global.node, node81, node75, node73]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node71 = configured8();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options7, Service67, Test2, testLayer2, layer24, configured8, node71, exports_config };
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node63
|
|
3
|
+
} from "./tool-r1q74f54.js";
|
|
4
|
+
import {
|
|
5
|
+
node58
|
|
6
|
+
} from "./tool-2aqbs40b.js";
|
|
7
|
+
import {
|
|
8
|
+
node57
|
|
9
|
+
} from "./tool-ce8ketvm.js";
|
|
10
|
+
import {
|
|
11
|
+
node56
|
|
12
|
+
} from "./tool-622ah2gs.js";
|
|
13
|
+
import {
|
|
14
|
+
node55
|
|
15
|
+
} from "./tool-p514mdqe.js";
|
|
16
|
+
import {
|
|
17
|
+
node53
|
|
18
|
+
} from "./tool-xanzpgaf.js";
|
|
19
|
+
import {
|
|
20
|
+
node81,
|
|
21
|
+
boundNode2
|
|
22
|
+
} from "./tool-zxhfgthz.js";
|
|
23
|
+
import {
|
|
24
|
+
configured8,
|
|
25
|
+
node71
|
|
26
|
+
} from "./tool-7rzn7488.js";
|
|
27
|
+
import {
|
|
28
|
+
node78
|
|
29
|
+
} from "./tool-n6pkm576.js";
|
|
30
|
+
import {
|
|
31
|
+
node16
|
|
32
|
+
} from "./tool-pwk28ted.js";
|
|
33
|
+
import {
|
|
34
|
+
node17
|
|
35
|
+
} from "./tool-wdn3ce2t.js";
|
|
36
|
+
import {
|
|
37
|
+
node21
|
|
38
|
+
} from "./tool-442pexa9.js";
|
|
39
|
+
import {
|
|
40
|
+
node20
|
|
41
|
+
} from "./tool-3p0n15sb.js";
|
|
42
|
+
import {
|
|
43
|
+
node54
|
|
44
|
+
} from "./tool-100kzw8g.js";
|
|
45
|
+
import {
|
|
46
|
+
node27
|
|
47
|
+
} from "./tool-sxnp3vqk.js";
|
|
48
|
+
import {
|
|
49
|
+
node67
|
|
50
|
+
} from "./tool-ws5qfxv9.js";
|
|
51
|
+
import {
|
|
52
|
+
node39
|
|
53
|
+
} from "./tool-yxz14c3m.js";
|
|
54
|
+
import {
|
|
55
|
+
Service44,
|
|
56
|
+
node47
|
|
57
|
+
} from "./tool-hwe7x4em.js";
|
|
58
|
+
import {
|
|
59
|
+
node43
|
|
60
|
+
} from "./tool-pqkb2z9p.js";
|
|
61
|
+
import {
|
|
62
|
+
node76
|
|
63
|
+
} from "./tool-6m8y77r5.js";
|
|
64
|
+
import {
|
|
65
|
+
node60
|
|
66
|
+
} from "./tool-4faz70f1.js";
|
|
67
|
+
import {
|
|
68
|
+
node46
|
|
69
|
+
} from "./tool-m2krvp2x.js";
|
|
70
|
+
import {
|
|
71
|
+
configured7,
|
|
72
|
+
node65
|
|
73
|
+
} from "./tool-638f9gty.js";
|
|
74
|
+
import {
|
|
75
|
+
node35
|
|
76
|
+
} from "./tool-fw7ks5z6.js";
|
|
77
|
+
import {
|
|
78
|
+
node66
|
|
79
|
+
} from "./tool-qjqdk9x8.js";
|
|
80
|
+
import {
|
|
81
|
+
node38
|
|
82
|
+
} from "./tool-pjmc1jwj.js";
|
|
83
|
+
import {
|
|
84
|
+
node50
|
|
85
|
+
} from "./tool-q8rarcde.js";
|
|
86
|
+
import {
|
|
87
|
+
node36
|
|
88
|
+
} from "./tool-knvy7wqf.js";
|
|
89
|
+
import {
|
|
90
|
+
node59
|
|
91
|
+
} from "./tool-45zx1ce8.js";
|
|
92
|
+
import {
|
|
93
|
+
node34
|
|
94
|
+
} from "./tool-1c2q116c.js";
|
|
95
|
+
import {
|
|
96
|
+
node33
|
|
97
|
+
} from "./tool-t4an9tm5.js";
|
|
98
|
+
import {
|
|
99
|
+
node64
|
|
100
|
+
} from "./tool-s0haq3v3.js";
|
|
101
|
+
import {
|
|
102
|
+
node77
|
|
103
|
+
} from "./tool-0xf6t1bc.js";
|
|
104
|
+
import {
|
|
105
|
+
node70
|
|
106
|
+
} from "./tool-01797ny4.js";
|
|
107
|
+
import {
|
|
108
|
+
node68
|
|
109
|
+
} from "./tool-99exew75.js";
|
|
110
|
+
import {
|
|
111
|
+
node23
|
|
112
|
+
} from "./tool-f65fprkq.js";
|
|
113
|
+
import {
|
|
114
|
+
node24
|
|
115
|
+
} from "./tool-00gnxv30.js";
|
|
116
|
+
import {
|
|
117
|
+
node25
|
|
118
|
+
} from "./tool-nqz62vb6.js";
|
|
119
|
+
import {
|
|
120
|
+
node28
|
|
121
|
+
} from "./tool-8xv0fcmg.js";
|
|
122
|
+
import {
|
|
123
|
+
node22
|
|
124
|
+
} from "./tool-48gag0he.js";
|
|
125
|
+
import {
|
|
126
|
+
node2
|
|
127
|
+
} from "./tool-m4bw18j8.js";
|
|
128
|
+
import {
|
|
129
|
+
node19
|
|
130
|
+
} from "./tool-c3er4f98.js";
|
|
131
|
+
import {
|
|
132
|
+
node7,
|
|
133
|
+
bound2
|
|
134
|
+
} from "./tool-cmwkp3r5.js";
|
|
135
|
+
import {
|
|
136
|
+
node14
|
|
137
|
+
} from "./tool-84cxy7xh.js";
|
|
138
|
+
import {
|
|
139
|
+
node15
|
|
140
|
+
} from "./tool-cgfvzygb.js";
|
|
141
|
+
import {
|
|
142
|
+
node9
|
|
143
|
+
} from "./tool-vce1m6g2.js";
|
|
144
|
+
import {
|
|
145
|
+
node4
|
|
146
|
+
} from "./tool-4kmb4xcf.js";
|
|
147
|
+
import {
|
|
148
|
+
node3
|
|
149
|
+
} from "./tool-apesnbt3.js";
|
|
150
|
+
import {
|
|
151
|
+
node29
|
|
152
|
+
} from "./tool-6y4tgg16.js";
|
|
153
|
+
import {
|
|
154
|
+
node13
|
|
155
|
+
} from "./tool-43cyd10z.js";
|
|
156
|
+
import {
|
|
157
|
+
node12
|
|
158
|
+
} from "./tool-bkz2mr6p.js";
|
|
159
|
+
import {
|
|
160
|
+
__export
|
|
161
|
+
} from "./tool-9rqn6x4v.js";
|
|
162
|
+
|
|
163
|
+
// src/instance.ts
|
|
164
|
+
var exports_instance = {};
|
|
165
|
+
__export(exports_instance, {
|
|
166
|
+
Instance: () => exports_instance,
|
|
167
|
+
Service: () => Service44,
|
|
168
|
+
graph: () => graph2,
|
|
169
|
+
layer: () => layer2,
|
|
170
|
+
node: () => node47
|
|
171
|
+
});
|
|
172
|
+
import { Effect, Layer } from "effect";
|
|
173
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
174
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
175
|
+
var nodes = [
|
|
176
|
+
node81,
|
|
177
|
+
node78,
|
|
178
|
+
node71,
|
|
179
|
+
node63,
|
|
180
|
+
node53,
|
|
181
|
+
node50,
|
|
182
|
+
node23,
|
|
183
|
+
node25,
|
|
184
|
+
node56,
|
|
185
|
+
node55,
|
|
186
|
+
node54,
|
|
187
|
+
node58,
|
|
188
|
+
node22,
|
|
189
|
+
node76,
|
|
190
|
+
node7,
|
|
191
|
+
node4,
|
|
192
|
+
node3,
|
|
193
|
+
node28,
|
|
194
|
+
node21,
|
|
195
|
+
node20,
|
|
196
|
+
node77,
|
|
197
|
+
node29,
|
|
198
|
+
node68,
|
|
199
|
+
node59,
|
|
200
|
+
node35,
|
|
201
|
+
node65,
|
|
202
|
+
node19,
|
|
203
|
+
node16,
|
|
204
|
+
node17,
|
|
205
|
+
node39,
|
|
206
|
+
node60,
|
|
207
|
+
node66,
|
|
208
|
+
node70,
|
|
209
|
+
node67,
|
|
210
|
+
node34,
|
|
211
|
+
node36,
|
|
212
|
+
node43,
|
|
213
|
+
node57,
|
|
214
|
+
node27,
|
|
215
|
+
node9,
|
|
216
|
+
node38,
|
|
217
|
+
node15,
|
|
218
|
+
node46,
|
|
219
|
+
node14,
|
|
220
|
+
node13,
|
|
221
|
+
node33,
|
|
222
|
+
node64,
|
|
223
|
+
node12,
|
|
224
|
+
node24,
|
|
225
|
+
node2
|
|
226
|
+
];
|
|
227
|
+
var graph2 = LayerNode.group(nodes);
|
|
228
|
+
var vanillaReplacements = [
|
|
229
|
+
node71.replace(configured8({ project: false, global: false })),
|
|
230
|
+
node65.replace(configured7({ project: false, global: false }))
|
|
231
|
+
];
|
|
232
|
+
function layer2(ref, options = {}) {
|
|
233
|
+
const startedAt = performance.now();
|
|
234
|
+
const replacements = [
|
|
235
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
236
|
+
...options.replacements ?? [],
|
|
237
|
+
node81.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
238
|
+
node7.replace(bound2(options.plugins ?? []))
|
|
239
|
+
];
|
|
240
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
|
|
241
|
+
directory: ref.directory,
|
|
242
|
+
workspaceID: ref.workspaceID,
|
|
243
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
244
|
+
})));
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -391,4 +391,4 @@ function update2(adapter, event) {
|
|
|
391
391
|
return project(event);
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
export {
|
|
394
|
+
export { update3, exports_message_updater };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node42
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -341,11 +341,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
|
|
|
341
341
|
}, { discard: true });
|
|
342
342
|
});
|
|
343
343
|
yield* Effect.addFinalizer(() => closeAll);
|
|
344
|
-
return
|
|
344
|
+
return Service37.of({ bind, close, closeAll });
|
|
345
345
|
}));
|
|
346
|
-
var
|
|
346
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
347
347
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
348
348
|
})));
|
|
349
|
-
var
|
|
349
|
+
var node42 = makeGlobalNode({ service: Service37, layer: layer16, deps: [webSocketConstructor2] });
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { Service37, makeLayer2, layer16, node42, exports_model_transport };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-859kcgs2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-hvcjdrj2.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID13,
|
|
25
|
+
Info: () => Info27,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service71,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID13 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID13,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service71 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info27({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service71.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info27({
|
|
80
|
+
id: ID13.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID13, OAuth3, Key4, Value2, Event19, Info27, Service71, node75, exports_credential };
|