@opencode/core 0.0.0-dev-20359 → 0.0.0-dev-20361
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{workspace-dbdfkxme.js → generate-0ag8d68y.js} +17 -17
- package/dist/chunks/{workspace-0zwreqvq.js → generate-0g0872c8.js} +3 -3
- package/dist/chunks/{workspace-6w7cfkdj.js → generate-0m1hjkr9.js} +7 -7
- package/dist/chunks/{workspace-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-2jvjmskk.js → generate-0wrn0h38.js} +29 -29
- package/dist/chunks/{workspace-a4amtzg2.js → generate-137qhyq7.js} +43 -43
- package/dist/chunks/{workspace-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-d5t0ryg1.js → generate-1h0ntq3z.js} +1 -1
- package/dist/chunks/{workspace-qkf6gvgz.js → generate-1q6agpkc.js} +11 -11
- package/dist/chunks/{workspace-2e222wf4.js → generate-1sq11vt2.js} +18 -18
- package/dist/chunks/{workspace-fhbpyr5f.js → generate-1t36cnam.js} +5 -5
- package/dist/chunks/{workspace-ywwxwnda.js → generate-1wwdvsgc.js} +13 -13
- package/dist/chunks/{workspace-mfqp6xfm.js → generate-1ygqh575.js} +6 -6
- package/dist/chunks/{workspace-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-rk2t49m6.js → generate-269d0mcm.js} +32 -32
- package/dist/chunks/{workspace-vasrcznk.js → generate-28586spg.js} +16 -16
- package/dist/chunks/{workspace-nak702g0.js → generate-288h1877.js} +20 -20
- package/dist/chunks/{workspace-z63w68vq.js → generate-29x78va6.js} +6 -6
- package/dist/chunks/{workspace-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-3grdzngc.js → generate-2c14t6ee.js} +17 -17
- package/dist/chunks/{workspace-1sznmg0n.js → generate-2e9mgspx.js} +5 -5
- package/dist/chunks/{workspace-an4batsq.js → generate-2h131gfv.js} +34 -34
- package/dist/chunks/{workspace-pp4y3v5z.js → generate-2mgjv0a7.js} +5 -5
- package/dist/chunks/{workspace-0smrbp39.js → generate-2q66m20k.js} +48 -48
- package/dist/chunks/{workspace-cxc1f4sh.js → generate-2re9wx64.js} +5 -5
- package/dist/chunks/{workspace-dp1rnrcc.js → generate-2x1dfb4g.js} +20 -20
- package/dist/chunks/{workspace-d762xrq4.js → generate-2xexx0cn.js} +321 -321
- package/dist/chunks/{workspace-szh3vrax.js → generate-3ad885dn.js} +9 -9
- package/dist/chunks/{workspace-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-7732sr32.js → generate-3gapehae.js} +30 -30
- package/dist/chunks/{workspace-megef7mv.js → generate-3gsbm4gg.js} +7 -7
- package/dist/chunks/{workspace-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-pmr4s4kc.js → generate-3j8sdtpz.js} +4 -4
- package/dist/chunks/{workspace-hf1pa3fg.js → generate-3pncb000.js} +11 -11
- package/dist/chunks/{workspace-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-sctspsp8.js → generate-3ymnsx2y.js} +21 -21
- package/dist/chunks/{workspace-tt5smvf2.js → generate-3zpz61n9.js} +9 -9
- package/dist/chunks/{workspace-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-haztpmzc.js → generate-401kh7j2.js} +6 -6
- package/dist/chunks/{workspace-t5m8v8y6.js → generate-46sb35mq.js} +10 -10
- package/dist/chunks/{workspace-rsczgrzb.js → generate-4g39nh95.js} +2 -2
- package/dist/chunks/{workspace-emfscqt4.js → generate-4x9ewffz.js} +30 -30
- package/dist/chunks/{workspace-58qjwad6.js → generate-4xky6n3z.js} +21 -21
- package/dist/chunks/{workspace-4tbjs8wm.js → generate-4yq8704b.js} +30 -30
- package/dist/chunks/{workspace-0vwkra70.js → generate-52vqgt0f.js} +11 -11
- package/dist/chunks/{workspace-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{workspace-re831bdp.js → generate-55ed9ppa.js} +33 -33
- package/dist/chunks/{workspace-jxma9bgh.js → generate-5633drez.js} +29 -29
- package/dist/chunks/{workspace-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
- package/dist/chunks/{workspace-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-n01j6b4q.js → generate-5manytmk.js} +24 -24
- package/dist/chunks/{workspace-795kcfpc.js → generate-5n14brjt.js} +33 -33
- package/dist/chunks/{workspace-t7h3wj9w.js → generate-5rx44j2k.js} +44 -44
- package/dist/chunks/{workspace-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-8v6pyhej.js → generate-5xtgfte3.js} +8 -8
- package/dist/chunks/{workspace-7dntqyrh.js → generate-620zpmpb.js} +8 -8
- package/dist/chunks/{workspace-khc6q2z0.js → generate-63m9xggh.js} +15 -15
- package/dist/chunks/{workspace-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{workspace-35agz59w.js → generate-6anwy9fs.js} +4 -4
- package/dist/chunks/{workspace-6cqpxvp7.js → generate-6hcagxvr.js} +15 -15
- package/dist/chunks/{workspace-qs3fdmq5.js → generate-6hdxzw8t.js} +4 -4
- package/dist/chunks/{workspace-0k8f4c0k.js → generate-6kgmmmcp.js} +11 -11
- package/dist/chunks/{workspace-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-5d0c5ad8.js → generate-6seya0vx.js} +16 -16
- package/dist/chunks/{workspace-a8bn8zg0.js → generate-6sr3ve8g.js} +21 -21
- package/dist/chunks/{workspace-jj3wfm74.js → generate-6tnzqxfz.js} +18 -7
- package/dist/chunks/{workspace-xmsrnx3p.js → generate-71cfveas.js} +29 -29
- package/dist/chunks/{workspace-brg2881f.js → generate-782xyd0k.js} +8 -8
- package/dist/chunks/{workspace-042m1axd.js → generate-7bftgs18.js} +4 -4
- package/dist/chunks/{workspace-0njgvdwy.js → generate-7bja5kqe.js} +16 -16
- package/dist/chunks/{workspace-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-yzrz4qk4.js → generate-7cwwemrn.js} +9 -9
- package/dist/chunks/{workspace-607tc6va.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{workspace-8ta0krmw.js → generate-7dwngxrb.js} +26 -26
- package/dist/chunks/{workspace-g6km6r9m.js → generate-7qtea46p.js} +19 -19
- package/dist/chunks/{workspace-2hr5nhwa.js → generate-7s2tn799.js} +8 -8
- package/dist/chunks/{workspace-x3b45c7h.js → generate-7zbrh5tq.js} +24 -24
- package/dist/chunks/{workspace-w1eejvng.js → generate-84txncab.js} +5 -5
- package/dist/chunks/{workspace-hpgrj06s.js → generate-86k1dhwd.js} +27 -27
- package/dist/chunks/{workspace-sqsaqrgg.js → generate-8bsdq35e.js} +32 -32
- package/dist/chunks/{workspace-80f8ra5w.js → generate-8csxj5r3.js} +11 -11
- package/dist/chunks/{workspace-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-vyaa4tze.js → generate-8hy9en8e.js} +6 -6
- package/dist/chunks/{workspace-qdn0q154.js → generate-8rc9khtm.js} +28 -28
- package/dist/chunks/{workspace-0n0r6k3x.js → generate-8t60vhkw.js} +13 -13
- package/dist/chunks/{workspace-94ek1h2f.js → generate-94ek1h2f.js} +2 -2
- package/dist/chunks/{workspace-p9pevwxx.js → generate-9bvjat3n.js} +25 -25
- package/dist/chunks/{workspace-kecz6zd2.js → generate-9g5c7gye.js} +15 -15
- package/dist/chunks/{workspace-t7m81bzt.js → generate-9nantg5p.js} +24 -24
- package/dist/chunks/{workspace-hh91cbnw.js → generate-9pj3ea5v.js} +4 -4
- package/dist/chunks/{workspace-j2gahf3s.js → generate-9pvxkkw3.js} +24 -24
- package/dist/chunks/{workspace-e7gqmxbr.js → generate-9rdrv7ss.js} +13 -13
- package/dist/chunks/{workspace-d8q4jj3q.js → generate-9vh74ph3.js} +20 -20
- package/dist/chunks/{workspace-sw8qz8bf.js → generate-a0q0x2br.js} +29 -29
- package/dist/chunks/{workspace-g84cjvn9.js → generate-a3r4dcrj.js} +2 -2
- package/dist/chunks/{workspace-qa3qhgw8.js → generate-a46v4e4v.js} +4 -4
- package/dist/chunks/{workspace-qhac4xeb.js → generate-a4e6jaw7.js} +18 -18
- package/dist/chunks/{workspace-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-dj9sq318.js → generate-ag9w8cw1.js} +5 -5
- package/dist/chunks/{workspace-365m56hx.js → generate-ap3j0wzh.js} +7 -7
- package/dist/chunks/{workspace-spt9fbav.js → generate-apn8f15b.js} +9 -9
- package/dist/chunks/{workspace-mgmaefw5.js → generate-arndb05z.js} +6 -6
- package/dist/chunks/{workspace-vfbvqc9n.js → generate-asmv1htq.js} +18 -18
- package/dist/chunks/{workspace-5je6ahr9.js → generate-azvwj0fe.js} +23 -23
- package/dist/chunks/{workspace-987cgqwa.js → generate-b6dxgyqp.js} +10 -10
- package/dist/chunks/{workspace-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-0jtjgnd7.js → generate-bknrv093.js} +13 -13
- package/dist/chunks/{workspace-166t1a3y.js → generate-bpa17nke.js} +24 -24
- package/dist/chunks/{workspace-9tkh92yn.js → generate-btppnszc.js} +27 -27
- package/dist/chunks/{workspace-a0afhmy4.js → generate-bz31k0m7.js} +43 -43
- package/dist/chunks/{workspace-3mgjdyz7.js → generate-c1k7n5xw.js} +27 -27
- package/dist/chunks/{workspace-j9qb7fb2.js → generate-c54qn10r.js} +12 -12
- package/dist/chunks/{workspace-2mq1h16s.js → generate-c765mh8b.js} +9 -9
- package/dist/chunks/{workspace-4mwpykj0.js → generate-cdm0dq9n.js} +6 -6
- package/dist/chunks/{workspace-1xg3275b.js → generate-cfafq1xv.js} +13 -13
- package/dist/chunks/{workspace-xd4155nf.js → generate-cfba12s0.js} +16 -16
- package/dist/chunks/{workspace-wpm2rk0p.js → generate-cjwramev.js} +4 -4
- package/dist/chunks/{workspace-ckecvw8r.js → generate-ckecvw8r.js} +2 -2
- package/dist/chunks/{workspace-ktnepc1b.js → generate-cym1wyth.js} +69 -69
- package/dist/chunks/{workspace-pghjyxz3.js → generate-d7zsbx7j.js} +11 -11
- package/dist/chunks/{workspace-6hdpv820.js → generate-daepexh6.js} +3 -3
- package/dist/chunks/{workspace-jcr6t940.js → generate-ddjyqeqz.js} +11 -11
- package/dist/chunks/{workspace-x661k3y3.js → generate-dnxkq42g.js} +4 -4
- package/dist/chunks/{workspace-8n2t31b8.js → generate-dpt32np6.js} +4 -4
- package/dist/chunks/{workspace-5r63gr7v.js → generate-dqvb69t0.js} +87 -87
- package/dist/chunks/{workspace-f6eyqz7h.js → generate-dsbv4z0s.js} +25 -25
- package/dist/chunks/{workspace-5qd3pb7m.js → generate-e3qxr5gk.js} +2 -2
- package/dist/chunks/{workspace-66kez2h7.js → generate-e8bnxdhk.js} +7 -7
- package/dist/chunks/{workspace-kzc3h1h3.js → generate-eahhehpg.js} +4 -4
- package/dist/chunks/{workspace-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
- package/dist/chunks/{workspace-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-kjtsr4k8.js → generate-emesakwd.js} +15 -15
- package/dist/chunks/{workspace-23pvap42.js → generate-et8frtwb.js} +10 -10
- package/dist/chunks/{workspace-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-jfb6jrkz.js → generate-ez6a7f19.js} +24 -24
- package/dist/chunks/{workspace-x4z0ydwa.js → generate-f1tyew74.js} +15 -15
- package/dist/chunks/{workspace-dtjvj8dv.js → generate-f4yc8xxh.js} +35 -35
- package/dist/chunks/generate-fnkhvjm5.js +26 -0
- package/dist/chunks/{workspace-gd0ajznh.js → generate-fpn16xgt.js} +43 -43
- package/dist/chunks/{workspace-273zbexb.js → generate-g0htbh8p.js} +10 -10
- package/dist/chunks/{workspace-cm793v40.js → generate-g8m0a0fc.js} +16 -16
- package/dist/chunks/{workspace-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-x2k3yq52.js → generate-gnq7tvv0.js} +16 -16
- package/dist/chunks/{workspace-pcfn9t39.js → generate-gqvhrk1p.js} +11 -11
- package/dist/chunks/{workspace-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-59h4mhd4.js → generate-gw9vfp6d.js} +25 -25
- package/dist/chunks/generate-gz4nb8qn.js +252 -0
- package/dist/chunks/{workspace-rcce6csd.js → generate-h06zvkf4.js} +24 -24
- package/dist/chunks/{workspace-m6q4hanw.js → generate-h316b9n0.js} +9 -9
- package/dist/chunks/{workspace-p234cjcc.js → generate-h55chb60.js} +9 -9
- package/dist/chunks/{workspace-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-6fatt4mk.js → generate-h71w788e.js} +9 -9
- package/dist/chunks/{workspace-6t4hr8r6.js → generate-h9pnpq88.js} +4 -4
- package/dist/chunks/{workspace-rywzfdxh.js → generate-h9wp8z5w.js} +4 -4
- package/dist/chunks/{workspace-p391mv5r.js → generate-hhdwea2n.js} +7 -7
- package/dist/chunks/{workspace-gg7e4432.js → generate-hnb8nmvn.js} +5 -5
- package/dist/chunks/{workspace-ph33e0th.js → generate-j3b8pxcj.js} +25 -25
- package/dist/chunks/{workspace-rd66r63n.js → generate-j46cqjxg.js} +3 -3
- package/dist/chunks/{workspace-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-3k76vmqf.js → generate-j79x0brg.js} +16 -16
- package/dist/chunks/{workspace-kb6gw2zp.js → generate-j8afcsyc.js} +4 -4
- package/dist/chunks/{workspace-gj9znxmq.js → generate-jb9mn43j.js} +13 -13
- package/dist/chunks/{workspace-4yxb5t6h.js → generate-jbkn1qdd.js} +35 -35
- package/dist/chunks/{workspace-dm1py9b3.js → generate-jexxy024.js} +3 -3
- package/dist/chunks/{workspace-b0z85by2.js → generate-jfcw678q.js} +13 -13
- package/dist/chunks/{workspace-w92k2e0p.js → generate-jws6fkes.js} +2 -2
- package/dist/chunks/{workspace-bkymrhgh.js → generate-jwz4x6p9.js} +24 -24
- package/dist/chunks/{workspace-g373kk4k.js → generate-jz6c2g7k.js} +5 -5
- package/dist/chunks/{workspace-22xq6rx4.js → generate-k0hzrm3v.js} +4 -4
- package/dist/chunks/{workspace-n9k80d2m.js → generate-k1qrnqst.js} +8 -8
- package/dist/chunks/{workspace-pz73s8hm.js → generate-k2px01h0.js} +12 -12
- package/dist/chunks/{workspace-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-xnj1nhcy.js → generate-k45ah5vd.js} +22 -22
- package/dist/chunks/{workspace-aw1jas3v.js → generate-k4abns9x.js} +19 -19
- package/dist/chunks/{workspace-ha1a9vn7.js → generate-k9v3gyrk.js} +43 -43
- package/dist/chunks/{workspace-vp6c7j34.js → generate-kjsvp2pq.js} +43 -43
- package/dist/chunks/{workspace-kqs8v9eh.js → generate-kkndcpqr.js} +4 -4
- package/dist/chunks/{workspace-2w78a64w.js → generate-kmg0ctnh.js} +29 -29
- package/dist/chunks/{workspace-y7x142mt.js → generate-kmyx2sbj.js} +11 -11
- package/dist/chunks/{workspace-2sjp2rx5.js → generate-kvge6qe2.js} +17 -17
- package/dist/chunks/{workspace-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-s1kmd63q.js → generate-magsh8sv.js} +11 -11
- package/dist/chunks/{workspace-mvfsc1pv.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{workspace-yjgm4wcb.js → generate-mk5c8h6r.js} +170 -170
- package/dist/chunks/{workspace-w19bbebh.js → generate-mptgk8ew.js} +3 -3
- package/dist/chunks/{workspace-4m6nhjq1.js → generate-mtqbjg7z.js} +13 -13
- package/dist/chunks/{workspace-wgtcm0m7.js → generate-mvksx64m.js} +4 -4
- package/dist/chunks/{workspace-gnh8e0g9.js → generate-mvvgbvx5.js} +8 -8
- package/dist/chunks/{workspace-7bzp0d3c.js → generate-n6cha630.js} +5 -5
- package/dist/chunks/{workspace-mmdjb5nv.js → generate-n79ymqnj.js} +8 -8
- package/dist/chunks/{workspace-9rj7ywpq.js → generate-n8w64hgs.js} +11 -11
- package/dist/chunks/{workspace-38fpg76h.js → generate-nav4wwqp.js} +1 -1
- package/dist/chunks/{workspace-k51mr0ff.js → generate-nhshtkhx.js} +35 -35
- package/dist/chunks/{workspace-5krfbr7p.js → generate-p1gamy9h.js} +20 -20
- package/dist/chunks/{workspace-b7gemn6d.js → generate-pgperwgr.js} +8 -8
- package/dist/chunks/generate-phz3h32g.js +18 -0
- package/dist/chunks/{workspace-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-a8gf35f3.js → generate-pxhak851.js} +6 -6
- package/dist/chunks/{workspace-2zmfhp2c.js → generate-q0raz0xt.js} +9 -9
- package/dist/chunks/{workspace-q5c722pm.js → generate-q67tqqz3.js} +24 -24
- package/dist/chunks/{workspace-90hnf2pp.js → generate-qac5j8jk.js} +32 -32
- package/dist/chunks/{workspace-jjs74g98.js → generate-qg0jgkcp.js} +9 -9
- package/dist/chunks/{workspace-6ksk10bg.js → generate-qhx40mea.js} +24 -24
- package/dist/chunks/{workspace-w0cm7t4f.js → generate-qkt0mxxe.js} +86 -86
- package/dist/chunks/{workspace-5enjc9kj.js → generate-qktdvtk9.js} +9 -9
- package/dist/chunks/{workspace-57b9ws8p.js → generate-qqeeq2t9.js} +4 -4
- package/dist/chunks/{workspace-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-gs3s1a1g.js → generate-qwjmgwmn.js} +8 -8
- package/dist/chunks/{workspace-fmfg6twz.js → generate-r3cfpwkz.js} +8 -8
- package/dist/chunks/{workspace-mh8yxg4b.js → generate-r8rnv0jj.js} +12 -12
- package/dist/chunks/{workspace-39zkfw6n.js → generate-ra6s1qz5.js} +12 -12
- package/dist/chunks/{workspace-c5pd54gy.js → generate-rav9e4bf.js} +5 -5
- package/dist/chunks/{workspace-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-02nrjc1r.js → generate-rhjbct0v.js} +6 -6
- package/dist/chunks/{workspace-7tggkdet.js → generate-rpfbxaa7.js} +17 -17
- package/dist/chunks/{workspace-bags37mz.js → generate-rtweafxj.js} +15 -15
- package/dist/chunks/{workspace-yrznvahk.js → generate-s4enseaf.js} +2 -2
- package/dist/chunks/{workspace-d6e8xd99.js → generate-s4qvy6da.js} +11 -11
- package/dist/chunks/{workspace-qsnec2sf.js → generate-s62cygkh.js} +9 -9
- package/dist/chunks/{workspace-pe7kch95.js → generate-sccx0yvr.js} +28 -28
- package/dist/chunks/{workspace-7t3sew6m.js → generate-sgzjm3r6.js} +5 -5
- package/dist/chunks/{workspace-maq8crnd.js → generate-smyv73yd.js} +11 -11
- package/dist/chunks/{workspace-af04s6ss.js → generate-sra9araw.js} +5 -5
- package/dist/chunks/{workspace-j14xg3fh.js → generate-ssy44phe.js} +7 -7
- package/dist/chunks/{workspace-ex0pka66.js → generate-t0sqncza.js} +5 -5
- package/dist/chunks/{workspace-2vs2nh1n.js → generate-t2az9yje.js} +4 -4
- package/dist/chunks/{workspace-zf1fk0v2.js → generate-t3w4twfb.js} +11 -11
- package/dist/chunks/{workspace-7fg0zqgq.js → generate-t6xfj4xa.js} +50 -50
- package/dist/chunks/{workspace-ngtcg17t.js → generate-tazfts3e.js} +8 -8
- package/dist/chunks/{workspace-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-89znhe33.js → generate-tcezcvh9.js} +4 -4
- package/dist/chunks/{workspace-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-dfgaaeg0.js → generate-te4qgv7b.js} +10 -10
- package/dist/chunks/{workspace-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-xgjcsjr6.js → generate-vhb3z7p9.js} +32 -32
- package/dist/chunks/{workspace-609adeff.js → generate-vkzgvsaw.js} +54 -54
- package/dist/chunks/{workspace-afed7ext.js → generate-vy4zg7qh.js} +5 -5
- package/dist/chunks/{workspace-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-vekn316g.js → generate-w7907s39.js} +21 -21
- package/dist/chunks/{workspace-510m7gjw.js → generate-wbkyxrgf.js} +5 -5
- package/dist/chunks/{workspace-wd3x2cqz.js → generate-wd3x2cqz.js} +2 -2
- package/dist/chunks/{workspace-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-m4c0hmgr.js → generate-wgnhx3xw.js} +24 -24
- package/dist/chunks/{workspace-ch351t34.js → generate-wnjg8cq9.js} +3 -3
- package/dist/chunks/{workspace-3wc6ggek.js → generate-wp1nbt91.js} +19 -19
- package/dist/chunks/{workspace-kxar1n7f.js → generate-wtgt14fk.js} +14 -14
- package/dist/chunks/{workspace-9v18rkg6.js → generate-wzvwwwtc.js} +23 -23
- package/dist/chunks/{workspace-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-2p623br6.js → generate-x2rw7g36.js} +5 -5
- package/dist/chunks/{workspace-hvcd2htz.js → generate-x76h38gv.js} +34 -34
- package/dist/chunks/{workspace-wysdjmt2.js → generate-xcmrs36j.js} +15 -15
- package/dist/chunks/{workspace-as89bwzh.js → generate-xd93e145.js} +6 -6
- package/dist/chunks/{workspace-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
- package/dist/chunks/{workspace-52zrzax5.js → generate-xky8qqen.js} +11 -11
- package/dist/chunks/{workspace-cg3j3sj2.js → generate-xper0bhy.js} +11 -11
- package/dist/chunks/{workspace-rc2sfy9r.js → generate-xtt422ve.js} +13 -13
- package/dist/chunks/{workspace-7pr2hkwv.js → generate-xvp1j2dc.js} +5 -5
- package/dist/chunks/{workspace-d5jmfkqv.js → generate-xz17nvmj.js} +11 -11
- package/dist/chunks/{workspace-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{workspace-dgr42h9h.js → generate-yd3jw23x.js} +3 -3
- package/dist/chunks/{workspace-yp2x3t23.js → generate-yp2x3t23.js} +1 -1
- package/dist/chunks/{workspace-av3tbz7h.js → generate-yqwday8d.js} +13 -13
- package/dist/chunks/{workspace-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-x4jv5vb5.js → generate-yxnc9je5.js} +17 -17
- package/dist/chunks/{workspace-g38ra9vv.js → generate-yyr25rwn.js} +3 -3
- package/dist/chunks/{workspace-wbbhybet.js → generate-yzeejkfr.js} +20 -20
- package/dist/chunks/{workspace-z07pqspn.js → generate-z07pqspn.js} +3 -3
- package/dist/chunks/{workspace-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-r8p8ps6c.js → generate-z1t43wf9.js} +8 -8
- package/dist/chunks/{workspace-4t72cs1k.js → generate-z5a9h27f.js} +3 -3
- package/dist/chunks/{workspace-y86ytwkf.js → generate-zbt9zsvy.js} +11 -11
- package/dist/chunks/{workspace-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-2tsm52y3.js → generate-znsx74x0.js} +1 -1
- package/dist/chunks/{workspace-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-8sc9trf7.js → generate-zr95g3fb.js} +10 -10
- package/dist/chunks/{workspace-gx70k8vt.js → generate-zst2aaa9.js} +66 -50
- package/dist/chunks/{workspace-wj2j7jcc.js → generate-ztzjtmz1.js} +11 -11
- package/dist/chunks/{workspace-mmjzft12.js → generate-zv45bf8x.js} +2 -2
- package/dist/chunks/{workspace-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-ahp2gs6p.js → generate-zyy8xd5z.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +113 -95
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +16 -16
- package/dist/types/mcp/client.d.ts +2 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/workspace-b18pqbx3.js +0 -26
- package/dist/chunks/workspace-f79kc9pj.js +0 -252
- package/dist/chunks/workspace-rap9a73h.js +0 -18
- /package/dist/chunks/{workspace-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-9pj3ea5v.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-daepexh6.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-9pj3ea5v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node49
|
|
12
|
+
} from "./generate-9g5c7gye.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service35,
|
|
15
|
+
node37
|
|
16
|
+
} from "./generate-cdm0dq9n.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service32
|
|
26
|
+
} from "./generate-t2az9yje.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service59,
|
|
29
|
+
node62
|
|
30
|
+
} from "./generate-28586spg.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-sgzjm3r6.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-7qtea46p.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./generate-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service31,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
46
|
layer: () => layer15,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node34,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service31 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var layer15 = Layer.effect(
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service59;
|
|
64
|
+
const instances = yield* Service35;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service46;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service32.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service31.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
126
|
+
var node34 = makeGlobalNode({
|
|
127
|
+
service: Service31,
|
|
128
128
|
layer: layer15,
|
|
129
|
-
deps: [
|
|
129
|
+
deps: [node62, node37, node87, node88, node49]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service31, terminal2, layer15, node34, noopLayer2, exports_execution };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-6sr3ve8g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./generate-kmyx2sbj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info22
|
|
12
|
+
} from "./generate-ag9w8cw1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info20
|
|
15
|
+
} from "./generate-a46v4e4v.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info21
|
|
18
|
+
} from "./generate-sra9araw.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info15
|
|
24
|
+
} from "./generate-wbkyxrgf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info14
|
|
27
|
+
} from "./generate-bz31k0m7.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-k0hzrm3v.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./generate-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info14.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info22, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info20, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info21, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info15, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|