@opencode/core 0.0.0-dev-19649 → 0.0.0-dev-19652
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{generate-kjrg4nqx.js → schema-00a8st2d.js} +17 -17
- package/dist/chunks/{generate-8jqh0faz.js → schema-030jpyv0.js} +10 -10
- package/dist/chunks/{generate-zs63n6kz.js → schema-03ep55h0.js} +23 -23
- package/dist/chunks/{generate-m6ex9jnq.js → schema-06z447d2.js} +11 -11
- package/dist/chunks/{generate-scxdnmy8.js → schema-09m97qzh.js} +50 -50
- package/dist/chunks/{generate-t1h95z69.js → schema-0dz7dwft.js} +3 -3
- package/dist/chunks/{generate-nxhqveyz.js → schema-0f9afca0.js} +5 -5
- package/dist/chunks/{generate-nm4299rz.js → schema-0fn2v7vk.js} +8 -8
- package/dist/chunks/{generate-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{generate-hnr5yq9h.js → schema-0r7yqxbf.js} +5 -5
- package/dist/chunks/{generate-vncycja5.js → schema-0v53mg2y.js} +4 -4
- package/dist/chunks/{generate-e5v68n5c.js → schema-17xzmh3e.js} +38 -38
- package/dist/chunks/{generate-j028xdjb.js → schema-1bbkgx8g.js} +3 -3
- package/dist/chunks/{generate-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-bsbjf813.js → schema-1fg54p4f.js} +2 -2
- package/dist/chunks/{generate-z9kz6vq2.js → schema-1wzaq9wx.js} +3 -3
- package/dist/chunks/{generate-56gdpj1q.js → schema-1ygqh575.js} +9 -9
- package/dist/chunks/{generate-n16fvec5.js → schema-2072y70k.js} +24 -24
- package/dist/chunks/{generate-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{generate-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-32qeg25t.js → schema-2df3b3hs.js} +25 -25
- package/dist/chunks/{generate-57ez7d0k.js → schema-2fgn2we9.js} +9 -9
- package/dist/chunks/{generate-qtan44r6.js → schema-2j9z72bx.js} +4 -4
- package/dist/chunks/{generate-cq37gk0t.js → schema-2tfmgkzg.js} +4 -4
- package/dist/chunks/{generate-6ersrjne.js → schema-35agz59w.js} +6 -6
- package/dist/chunks/{generate-sppfbdp1.js → schema-38s28pd0.js} +31 -31
- package/dist/chunks/{generate-z7z0ddsh.js → schema-3cemjer9.js} +8 -8
- package/dist/chunks/{generate-c973t36a.js → schema-3ee1q45j.js} +10 -10
- package/dist/chunks/{generate-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-hywctfgt.js → schema-3nsjfmzq.js} +8 -8
- package/dist/chunks/{generate-55d9j7z7.js → schema-3qq5da58.js} +82 -82
- package/dist/chunks/{generate-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-ha6yg8nx.js → schema-3yr6111a.js} +29 -29
- package/dist/chunks/{generate-ec8389mk.js → schema-3ythc6yv.js} +4 -4
- package/dist/chunks/{generate-ws2rjdvk.js → schema-410w8yr6.js} +25 -25
- package/dist/chunks/{generate-tkt1bmkw.js → schema-42way606.js} +10 -10
- package/dist/chunks/{generate-fsz265zt.js → schema-47vm6cas.js} +15 -15
- package/dist/chunks/{generate-tegxt6vj.js → schema-49cpqk8x.js} +10 -10
- package/dist/chunks/{generate-dw3m3wne.js → schema-4dv0c8br.js} +9 -9
- package/dist/chunks/{generate-zhq6vg7a.js → schema-4jc5c4h4.js} +1 -1
- package/dist/chunks/{generate-kj7hwdd4.js → schema-4r0rs1wm.js} +30 -30
- package/dist/chunks/{generate-4rw5e13g.js → schema-4rt0waxz.js} +16 -16
- package/dist/chunks/{generate-wmvybe78.js → schema-4sa93e2e.js} +36 -36
- package/dist/chunks/{generate-3r6cnzs1.js → schema-4td6qmdq.js} +12 -12
- package/dist/chunks/{generate-04494ex8.js → schema-4x3es53w.js} +24 -24
- package/dist/chunks/{generate-ehndab98.js → schema-4xeagmdc.js} +3 -3
- package/dist/chunks/{generate-z6qczp7g.js → schema-50qbb3mm.js} +14 -14
- package/dist/chunks/{generate-w26x56ac.js → schema-5377s7rv.js} +35 -35
- package/dist/chunks/{generate-cpqe642d.js → schema-57b0vs49.js} +3 -3
- package/dist/chunks/{generate-a0k24qk8.js → schema-58bewgwg.js} +30 -22
- package/dist/chunks/{generate-d61c44a7.js → schema-58np9qmz.js} +5 -5
- package/dist/chunks/{generate-7h03wqdr.js → schema-5b21016n.js} +8 -8
- package/dist/chunks/{generate-a1bz86dw.js → schema-5c4hm403.js} +3 -3
- package/dist/chunks/{generate-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-fp2fre2r.js → schema-5htpha5v.js} +17 -17
- package/dist/chunks/{generate-38ts9st6.js → schema-5rzrtx0h.js} +22 -22
- package/dist/chunks/{generate-fzr2ejag.js → schema-5sbtfkvy.js} +22 -22
- package/dist/chunks/{generate-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-czfptnv9.js → schema-5yzzbxa7.js} +8 -8
- package/dist/chunks/{generate-s8ebftcw.js → schema-6008d0qp.js} +181 -181
- package/dist/chunks/{generate-9vgjqst9.js → schema-603btna3.js} +17 -17
- package/dist/chunks/{generate-2k8khapm.js → schema-607tc6va.js} +5 -5
- package/dist/chunks/{generate-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{generate-g120d4yd.js → schema-69mekdnv.js} +25 -25
- package/dist/chunks/{generate-rfcrhdzq.js → schema-6dk543bq.js} +11 -11
- package/dist/chunks/{generate-2402vzrj.js → schema-6h73sxmp.js} +5 -5
- package/dist/chunks/{generate-kp8q1t60.js → schema-6hjx5zpb.js} +9 -9
- package/dist/chunks/{generate-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-rz5w3t5j.js → schema-6rf1xn29.js} +12 -12
- package/dist/chunks/{generate-y6xead4g.js → schema-6sydn1mq.js} +3 -3
- package/dist/chunks/{generate-xknftrp0.js → schema-6w1d93z6.js} +9 -9
- package/dist/chunks/{generate-jbjf5xyc.js → schema-76mtmnx0.js} +6 -6
- package/dist/chunks/{generate-mhwbhhkb.js → schema-79qmf15m.js} +40 -40
- package/dist/chunks/{generate-b74h32da.js → schema-7a89sew0.js} +27 -27
- package/dist/chunks/{generate-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-k7nhsa9c.js → schema-7jstqpd5.js} +32 -32
- package/dist/chunks/{generate-ktz6gb6b.js → schema-81aqn7eh.js} +17 -17
- package/dist/chunks/{generate-gmqhbb2m.js → schema-820fwhp7.js} +7 -7
- package/dist/chunks/{generate-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{generate-8ta1r8c4.js → schema-8aw2er08.js} +20 -20
- package/dist/chunks/{generate-8p3ygysp.js → schema-8d4156c8.js} +24 -24
- package/dist/chunks/{generate-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-n4r3xatb.js → schema-8gxqpgph.js} +4 -4
- package/dist/chunks/{generate-mye41sbt.js → schema-8nmhcqgw.js} +17 -17
- package/dist/chunks/{generate-1n7m04bq.js → schema-94fp10gk.js} +4 -4
- package/dist/chunks/{generate-s1r5mapv.js → schema-957yf008.js} +21 -21
- package/dist/chunks/{generate-3n5b019s.js → schema-99pz0y8y.js} +30 -30
- package/dist/chunks/{generate-9c3np669.js → schema-9c3np669.js} +1 -1
- package/dist/chunks/{generate-4pt6qy2j.js → schema-9esbgk1q.js} +4 -4
- package/dist/chunks/{generate-s6me8z45.js → schema-9j3p0a6z.js} +37 -37
- package/dist/chunks/{generate-8ge7dvt3.js → schema-9qdsg55z.js} +20 -20
- package/dist/chunks/{generate-ht0wkyyg.js → schema-a578tmxk.js} +21 -21
- package/dist/chunks/{generate-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-7knhqesq.js → schema-awaxm1q8.js} +32 -32
- package/dist/chunks/{generate-zxp3bg72.js → schema-axb19299.js} +62 -62
- package/dist/chunks/{generate-rjeyxgwk.js → schema-b3yf6gst.js} +20 -20
- package/dist/chunks/{generate-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-xmq2dby5.js → schema-bdcpzjfh.js} +1 -1
- package/dist/chunks/{generate-4tdsrk0f.js → schema-bjgq97ey.js} +16 -16
- package/dist/chunks/{generate-e5nv3ght.js → schema-bndc73cn.js} +5 -5
- package/dist/chunks/{generate-36cgenav.js → schema-bsywhvdw.js} +15 -15
- package/dist/chunks/{generate-cw91ynzm.js → schema-c3x1jprk.js} +5 -5
- package/dist/chunks/{generate-k164fyqe.js → schema-c7fs63yh.js} +6 -6
- package/dist/chunks/{generate-tdczqyfx.js → schema-cd4vjczq.js} +10 -10
- package/dist/chunks/{generate-aeb4sny1.js → schema-ce5fknq2.js} +5 -5
- package/dist/chunks/{generate-3pbjq009.js → schema-ckfwh0ft.js} +8 -8
- package/dist/chunks/{generate-96zk3hmz.js → schema-ckspfy32.js} +15 -15
- package/dist/chunks/{generate-h6r3nrb9.js → schema-cpj0znwe.js} +4 -4
- package/dist/chunks/{generate-8dwzqybx.js → schema-ctkq0avj.js} +19 -19
- package/dist/chunks/{generate-b0r8n37v.js → schema-cws54ygj.js} +10 -10
- package/dist/chunks/{generate-gsxd1kvq.js → schema-d4727nqf.js} +12 -12
- package/dist/chunks/{generate-qhbskxnc.js → schema-ddj5qfgg.js} +22 -22
- package/dist/chunks/{generate-8p4f9s12.js → schema-dj2t23y0.js} +2 -2
- package/dist/chunks/schema-dmc6ybme.js +26 -0
- package/dist/chunks/{generate-57b9ws8p.js → schema-drwq78ky.js} +5 -5
- package/dist/chunks/{generate-g5qk797s.js → schema-e7hkndy5.js} +27 -27
- package/dist/chunks/{generate-rhjbct0v.js → schema-eaj1djv9.js} +8 -8
- package/dist/chunks/{generate-e4s68ytv.js → schema-eevfkcnk.js} +24 -24
- package/dist/chunks/{generate-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-9z9vrsk9.js → schema-egb509wj.js} +9 -9
- package/dist/chunks/{generate-aj82xs4t.js → schema-ekdmd5z4.js} +47 -47
- package/dist/chunks/{generate-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-xr30fmf3.js → schema-evg6vw2r.js} +45 -45
- package/dist/chunks/{generate-anf0zms1.js → schema-eye44qas.js} +9 -9
- package/dist/chunks/{generate-c44t3d1e.js → schema-f1t1f2q3.js} +27 -27
- package/dist/chunks/{generate-r8xr0va3.js → schema-f2n192rq.js} +4 -4
- package/dist/chunks/{generate-5gavsph1.js → schema-fd75nkaf.js} +11 -11
- package/dist/chunks/{generate-3sm93x71.js → schema-fg588aq2.js} +14 -14
- package/dist/chunks/{generate-3tq5qxbk.js → schema-fkjmw100.js} +4 -4
- package/dist/chunks/{generate-4e8vs6eh.js → schema-fqtvmpfq.js} +8 -8
- package/dist/chunks/{generate-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{generate-jfy0dxk0.js → schema-fy8yekx1.js} +4 -4
- package/dist/chunks/{generate-f3ngv102.js → schema-g190xswt.js} +4 -4
- package/dist/chunks/{generate-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-ksrxneee.js → schema-gjfy02nj.js} +37 -37
- package/dist/chunks/{generate-ybhbtxjg.js → schema-gmjjhz4f.js} +3 -3
- package/dist/chunks/{generate-ekeyjjf5.js → schema-gnssr4kh.js} +11 -11
- package/dist/chunks/{generate-6qws982k.js → schema-gps939mq.js} +38 -38
- package/dist/chunks/{generate-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
- package/dist/chunks/{generate-gd2xe63m.js → schema-h0qctgs0.js} +11 -11
- package/dist/chunks/{generate-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-hz59w1dt.js → schema-h7e5g0tn.js} +6 -6
- package/dist/chunks/{generate-ycjb11n5.js → schema-h896pcm5.js} +6 -6
- package/dist/chunks/{generate-rchkgt8f.js → schema-hcnq7x11.js} +9 -9
- package/dist/chunks/{generate-f828m53h.js → schema-hdnk95c8.js} +2 -2
- package/dist/chunks/schema-hgd4btym.js +18 -0
- package/dist/chunks/{generate-wmqh7bpp.js → schema-hknczzph.js} +9 -9
- package/dist/chunks/{generate-dkf5s6cc.js → schema-hp0ybgxk.js} +10 -10
- package/dist/chunks/{generate-new1546k.js → schema-hrbhtc9f.js} +31 -31
- package/dist/chunks/{generate-5qjaqzv9.js → schema-htmcw1qg.js} +13 -13
- package/dist/chunks/schema-hxa7m5za.js +4 -0
- package/dist/chunks/{generate-jhxvyrjk.js → schema-hyjskg14.js} +11 -11
- package/dist/chunks/{generate-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-9j3466js.js → schema-jc26sbfk.js} +3 -3
- package/dist/chunks/{generate-a3r4dcrj.js → schema-jca4demv.js} +2 -2
- package/dist/chunks/{generate-bxsd7jqd.js → schema-jd2srmve.js} +3 -3
- package/dist/chunks/{generate-tb7pqq47.js → schema-jeck9fhr.js} +15 -15
- package/dist/chunks/{generate-kn6fqyt5.js → schema-jyvkdnw5.js} +13 -13
- package/dist/chunks/{generate-rqng9qq1.js → schema-k5wasz4q.js} +5 -5
- package/dist/chunks/{generate-1q0k1gze.js → schema-k8m1efg7.js} +23 -23
- package/dist/chunks/{generate-q2drh1py.js → schema-kbch1f4b.js} +46 -46
- package/dist/chunks/{generate-w0fkck8g.js → schema-kg6516s3.js} +7 -7
- package/dist/chunks/{generate-7bcdhp23.js → schema-kgxz2f7g.js} +12 -12
- package/dist/chunks/{generate-gqgtds8a.js → schema-kj973gv5.js} +4 -4
- package/dist/chunks/{generate-3jz8qj4k.js → schema-knvfs6pc.js} +11 -11
- package/dist/chunks/{generate-y3n94rey.js → schema-kqvqnzwb.js} +18 -18
- package/dist/chunks/{generate-vqgkz20a.js → schema-kwnfrnw8.js} +44 -44
- package/dist/chunks/{generate-y45z4mgs.js → schema-kyxd1ff3.js} +22 -22
- package/dist/chunks/{generate-cfpkc3c9.js → schema-m0jqrx5p.js} +2 -2
- package/dist/chunks/{generate-ajspsemm.js → schema-m31hrvtp.js} +20 -20
- package/dist/chunks/{generate-d6xv4cjf.js → schema-m5bv8msf.js} +17 -17
- package/dist/chunks/{generate-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-5qkxfyep.js → schema-m9wy7qrr.js} +6 -6
- package/dist/chunks/{generate-xdg8wrbd.js → schema-mecezrcf.js} +20 -20
- package/dist/chunks/{generate-p1mjq1jx.js → schema-mgbtsknw.js} +31 -31
- package/dist/chunks/{generate-czvmf5x6.js → schema-mmwvyfxk.js} +32 -32
- package/dist/chunks/{generate-018dk8qz.js → schema-mp38ktsp.js} +21 -21
- package/dist/chunks/{generate-mqhf0jkk.js → schema-mqzgvnq5.js} +21 -21
- package/dist/chunks/{generate-w3pgckbp.js → schema-mrs0jc6e.js} +24 -24
- package/dist/chunks/{generate-v2k0h1f8.js → schema-n61j5yzm.js} +5 -5
- package/dist/chunks/{generate-zt5y59ah.js → schema-nekzqhap.js} +9 -9
- package/dist/chunks/{generate-6kkxyhkv.js → schema-ngqd1g3c.js} +4 -4
- package/dist/chunks/{generate-n35d2xk4.js → schema-nq7qbqzc.js} +9 -9
- package/dist/chunks/{generate-1qs8cq69.js → schema-nrc1qagd.js} +13 -13
- package/dist/chunks/{generate-h0xxw7xt.js → schema-nxf878eb.js} +41 -41
- package/dist/chunks/{generate-rw3ekvj8.js → schema-p01rfyrx.js} +4 -4
- package/dist/chunks/{generate-ej5a261y.js → schema-p1aznbsd.js} +30 -30
- package/dist/chunks/{generate-p863egc7.js → schema-p6dqprnz.js} +16 -16
- package/dist/chunks/{generate-xxpqwbf7.js → schema-p7rq11dp.js} +23 -23
- package/dist/chunks/{generate-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{generate-jag29bhy.js → schema-ppns27wk.js} +15 -15
- package/dist/chunks/{generate-zp3nz9mq.js → schema-pt08jtz7.js} +8 -8
- package/dist/chunks/{generate-nhz4v64b.js → schema-pzkc7njq.js} +20 -20
- package/dist/chunks/{generate-jexxy024.js → schema-q3t37ft6.js} +3 -3
- package/dist/chunks/{generate-vjesnp8n.js → schema-qdw6nraz.js} +28 -28
- package/dist/chunks/{generate-b6yjmj8h.js → schema-qenep300.js} +41 -41
- package/dist/chunks/{generate-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-wtxzf15q.js → schema-r2e4tzq6.js} +31 -31
- package/dist/chunks/{generate-epr1a2tz.js → schema-r2fyx2gr.js} +32 -32
- package/dist/chunks/{generate-gjwgx2c5.js → schema-r2m716tb.js} +9 -9
- package/dist/chunks/{generate-946asvkn.js → schema-r8r0p3p5.js} +28 -28
- package/dist/chunks/{generate-1xsde4yx.js → schema-r8vbt15x.js} +26 -26
- package/dist/chunks/{generate-r9mregkx.js → schema-r9mregkx.js} +2 -2
- package/dist/chunks/{generate-ghb76vye.js → schema-rcdaxd8f.js} +25 -25
- package/dist/chunks/{generate-rzb8hxx3.js → schema-rd1twtdz.js} +11 -11
- package/dist/chunks/{generate-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-nwmcnebj.js → schema-rj5n40r1.js} +30 -30
- package/dist/chunks/{generate-ds5z7xmk.js → schema-rp39zwfx.js} +7 -7
- package/dist/chunks/{generate-ppj42m4h.js → schema-rpcw9abc.js} +18 -18
- package/dist/chunks/{generate-v7f9adz1.js → schema-rv9hmyrv.js} +23 -23
- package/dist/chunks/{generate-r1cen77p.js → schema-rz9jtxyn.js} +6 -6
- package/dist/chunks/{generate-rdksyszg.js → schema-scd6nj0g.js} +24 -24
- package/dist/chunks/{generate-hx5ww8wt.js → schema-sjf3tctt.js} +12 -12
- package/dist/chunks/{generate-etan29fe.js → schema-smjnv1yt.js} +17 -17
- package/dist/chunks/schema-srr10nqc.js +247 -0
- package/dist/chunks/{generate-77w2mdav.js → schema-sztsy51r.js} +17 -17
- package/dist/chunks/{generate-0n2c279e.js → schema-t6kmr1tg.js} +15 -15
- package/dist/chunks/{generate-gexqhf5w.js → schema-t904akrn.js} +11 -11
- package/dist/chunks/{generate-6drd6nfe.js → schema-tac2mqbh.js} +4 -4
- package/dist/chunks/{generate-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{generate-epjhmn07.js → schema-tg92h923.js} +11 -11
- package/dist/chunks/{generate-pjmbp0wz.js → schema-tgtkvqe9.js} +5 -5
- package/dist/chunks/{generate-ggqxxnx9.js → schema-tgzhv03a.js} +11 -11
- package/dist/chunks/{generate-b1350z2d.js → schema-tjecye6p.js} +19 -19
- package/dist/chunks/{generate-t0fxg8b9.js → schema-tn0aqsam.js} +5 -5
- package/dist/chunks/{generate-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-e91rp9hz.js → schema-ty91eq5w.js} +5 -5
- package/dist/chunks/{generate-khkyq8dg.js → schema-typ47xqv.js} +10 -10
- package/dist/chunks/{generate-ryr25ayn.js → schema-v5dkyp31.js} +4 -4
- package/dist/chunks/{generate-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-6av1qg1x.js → schema-vm903892.js} +1 -1
- package/dist/chunks/{generate-55tjjrsj.js → schema-vtna6zda.js} +8 -8
- package/dist/chunks/{generate-qz2q0455.js → schema-vtqhpasw.js} +13 -13
- package/dist/chunks/{generate-jnhsbnea.js → schema-vvvs0jwh.js} +4 -4
- package/dist/chunks/{generate-c54qprxg.js → schema-vy5pp12k.js} +24 -24
- package/dist/chunks/{generate-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-t33aqq77.js → schema-w1ad28wa.js} +8 -8
- package/dist/chunks/{generate-5c0f1prt.js → schema-w1k39n5e.js} +4 -4
- package/dist/chunks/{generate-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-d0jkt3ak.js → schema-w9jmd2e2.js} +90 -90
- package/dist/chunks/{generate-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{generate-zeys2cq1.js → schema-wp67138w.js} +29 -29
- package/dist/chunks/{generate-khrwmjag.js → schema-wzw28g6j.js} +23 -23
- package/dist/chunks/{generate-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-m69vmvzn.js → schema-x31saxwp.js} +19 -19
- package/dist/chunks/{generate-xtbzrf6x.js → schema-x3656kx6.js} +23 -23
- package/dist/chunks/{generate-h4t38hqv.js → schema-x4bypsmn.js} +11 -11
- package/dist/chunks/{generate-n5vz0cry.js → schema-xpbr7bcc.js} +8 -8
- package/dist/chunks/{generate-eed9kh00.js → schema-xr05v48s.js} +6 -6
- package/dist/chunks/{generate-apx28qeb.js → schema-xr485xf2.js} +5 -5
- package/dist/chunks/{generate-9vzsgnqz.js → schema-xtb4zs1s.js} +30 -30
- package/dist/chunks/{generate-rj2fqsky.js → schema-y0pcwp9m.js} +51 -51
- package/dist/chunks/{generate-dyvf7jz8.js → schema-y1f6k396.js} +20 -20
- package/dist/chunks/{generate-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{generate-0etc2caz.js → schema-y7s0zapj.js} +17 -17
- package/dist/chunks/{generate-ej7f4065.js → schema-ycnmbzhj.js} +6 -6
- package/dist/chunks/{generate-xzgt0kck.js → schema-yqb6sz7a.js} +10 -10
- package/dist/chunks/{generate-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-ng0k6naq.js → schema-yyrnn2g5.js} +32 -32
- package/dist/chunks/{generate-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-zc5pdmbq.js → schema-z0rhrb3j.js} +35 -35
- package/dist/chunks/{generate-r5rzmb14.js → schema-z5wxwd7n.js} +15 -15
- package/dist/chunks/{generate-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-760cgj3c.js → schema-zc3k5t70.js} +11 -11
- package/dist/chunks/{generate-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-xm11a0br.js → schema-zqw47kg9.js} +18 -18
- package/dist/chunks/{generate-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-cc3mtsms.js → schema-ztcmmyvq.js} +15 -15
- package/dist/chunks/{generate-t663hptm.js → schema-zw2p42d9.js} +5 -5
- package/dist/chunks/{generate-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-3stj088k.js → schema-zz75d48d.js} +307 -307
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- 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 +123 -123
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- 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/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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/generate-0mesazry.js +0 -4
- package/dist/chunks/generate-9zdhvgqs.js +0 -18
- package/dist/chunks/generate-nqqxnhec.js +0 -26
- package/dist/chunks/generate-yzkcfeqf.js +0 -247
- /package/dist/chunks/{generate-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-fy8yekx1.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-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: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info34,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service80,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node84,
|
|
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 Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info34 = 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 NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
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: ID18
|
|
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: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service80 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service80, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service81;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID18.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service80.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node84 = makeLocationNode({ service: Service80, layer: layer25, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID18, Info34, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer25, node84, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-fy8yekx1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event15,
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./schema-p1aznbsd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node47
|
|
13
|
+
} from "./schema-5rzrtx0h.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./schema-p6dqprnz.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-a578tmxk.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-typ47xqv.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service46,
|
|
36
|
+
Event9,
|
|
37
|
+
node49
|
|
38
|
+
} from "./schema-b3yf6gst.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./schema-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: () => Options4,
|
|
48
|
+
Service: () => Service43,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured4,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer16,
|
|
53
|
+
node: () => node46,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options4 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service43 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer16 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service77;
|
|
97
|
+
const watcher = yield* Service44;
|
|
98
98
|
const bus = yield* Service81;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service64;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service46;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
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 }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event15.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 }));
|
|
225
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service43.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured4(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service43,
|
|
268
|
+
layer: layer16(options),
|
|
269
|
+
deps: [node47, node85, FSUtil.node, Global.node, node81, node67, node49]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node46 = configured4();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options4, Service43, Test2, testLayer2, layer16, configured4, node46, exports_config };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service43
|
|
4
|
+
} from "./schema-kbch1f4b.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin12,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin12 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service43;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -93,4 +93,4 @@ var Plugin38 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin12, exports_warming };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service45,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node48
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service45 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service45.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node48 = makeLocationNode({
|
|
143
|
+
service: Service45,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service45, node48, exports_tool_output2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-49cpqk8x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID8
|
|
6
|
+
} from "./schema-r2fyx2gr.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID8.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-49cpqk8x.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./schema-p1aznbsd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-3yr6111a.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID8
|
|
14
|
+
} from "./schema-r2fyx2gr.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID8.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID9.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service64;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./schema-eevfkcnk.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service58,
|
|
24
|
+
node: () => node60
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service70;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service58.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node60 = makeLocationNode({ service: Service58, layer, deps: [node73, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service58, node60, exports_ripgrep };
|