@opencode/core 0.0.0-dev-576 → 0.0.0-dev-578
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +250 -250
- package/dist/bus.js +84 -84
- package/dist/chunks/{managed-policy-gbpfkq8x.js → schedule-005j2465.js} +15 -15
- package/dist/chunks/{managed-policy-5dhnf86v.js → schedule-0514q7ax.js} +6 -6
- package/dist/chunks/{managed-policy-7cw3benw.js → schedule-067g34ye.js} +12 -12
- package/dist/chunks/{managed-policy-41cvt5cy.js → schedule-07vknatd.js} +27 -27
- package/dist/chunks/{managed-policy-sbfj6kbs.js → schedule-09jxzdg9.js} +23 -23
- package/dist/chunks/{managed-policy-sqjzf8x2.js → schedule-0j7gp832.js} +4 -4
- package/dist/chunks/{managed-policy-e8pm465n.js → schedule-0m9q59s6.js} +4 -4
- package/dist/chunks/{managed-policy-0ma9gw4f.js → schedule-0ma9gw4f.js} +2 -2
- package/dist/chunks/{managed-policy-n5bpddtv.js → schedule-0me9m76n.js} +18 -18
- package/dist/chunks/{managed-policy-2g9y22c1.js → schedule-0n7pgmre.js} +20 -20
- package/dist/chunks/{managed-policy-8qh8w67p.js → schedule-0stjjbd9.js} +18 -18
- package/dist/chunks/{managed-policy-9ekkc5a4.js → schedule-13f3xwqw.js} +4 -4
- package/dist/chunks/{managed-policy-c7w8vbv9.js → schedule-14phxtew.js} +15 -15
- package/dist/chunks/{managed-policy-rxjhny6m.js → schedule-18r73jf3.js} +17 -17
- package/dist/chunks/{managed-policy-1aqsckx4.js → schedule-1aqsckx4.js} +1 -1
- package/dist/chunks/{managed-policy-d7nsqr4y.js → schedule-1d9g7mep.js} +15 -15
- package/dist/chunks/{managed-policy-yk4ram99.js → schedule-1h03f94m.js} +3 -3
- package/dist/chunks/{managed-policy-q31pb2ve.js → schedule-1ppw806n.js} +30 -30
- package/dist/chunks/{managed-policy-vm0hf9ew.js → schedule-1rk6rpr9.js} +6 -6
- package/dist/chunks/{managed-policy-zcd4j978.js → schedule-1w470fcv.js} +10 -10
- package/dist/chunks/{managed-policy-1x2knyw4.js → schedule-1x2knyw4.js} +1 -1
- package/dist/chunks/{managed-policy-54h2dv4y.js → schedule-1x6bh815.js} +20 -20
- package/dist/chunks/{managed-policy-sg44rzx3.js → schedule-26695d91.js} +15 -15
- package/dist/chunks/{managed-policy-1ep2p91f.js → schedule-27w5k9zf.js} +2 -2
- package/dist/chunks/{managed-policy-12czjw9a.js → schedule-28qh7geg.js} +18 -18
- package/dist/chunks/{managed-policy-fp9d8xd4.js → schedule-29t7ztkm.js} +3 -3
- package/dist/chunks/{managed-policy-ba01xw93.js → schedule-2fs7dwf6.js} +19 -19
- package/dist/chunks/{managed-policy-ck3e50rz.js → schedule-2gcw5fz7.js} +9 -9
- package/dist/chunks/schedule-2jnq0nj1.js +265 -0
- package/dist/chunks/{managed-policy-bmwcza0d.js → schedule-2merx6cy.js} +11 -11
- package/dist/chunks/{managed-policy-49pvmdjh.js → schedule-2qqy401a.js} +36 -36
- package/dist/chunks/{managed-policy-1p0w5f3v.js → schedule-2rpmgpp8.js} +34 -34
- package/dist/chunks/{managed-policy-tbqtv6yw.js → schedule-2s4tq86t.js} +35 -35
- package/dist/chunks/{managed-policy-v438kgpn.js → schedule-2y650p2w.js} +7 -7
- package/dist/chunks/{managed-policy-pxzhdgws.js → schedule-32r3hxqa.js} +4 -4
- package/dist/chunks/{managed-policy-rzg6y5rp.js → schedule-38aws4xb.js} +4 -4
- package/dist/chunks/{managed-policy-ze85gnf0.js → schedule-398hc835.js} +5 -5
- package/dist/chunks/{managed-policy-grvhvz3m.js → schedule-3b709d7p.js} +14 -14
- package/dist/chunks/{managed-policy-ayjs7tqn.js → schedule-3cbjf1nt.js} +2 -2
- package/dist/chunks/{managed-policy-6yv8jn27.js → schedule-3eh2pvmc.js} +10 -10
- package/dist/chunks/{managed-policy-zeh7s8qj.js → schedule-3ew6neg5.js} +9 -9
- package/dist/chunks/{managed-policy-3hepkmqq.js → schedule-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-3nnrz6f6.js → schedule-3nnrz6f6.js} +1 -1
- package/dist/chunks/{managed-policy-7w0nk48b.js → schedule-3qxx52d0.js} +28 -28
- package/dist/chunks/{managed-policy-9n6wbvvg.js → schedule-3wxs7n19.js} +4 -4
- package/dist/chunks/{managed-policy-ny91dv1v.js → schedule-3zvctteh.js} +38 -38
- package/dist/chunks/{managed-policy-40y6dtc2.js → schedule-40y6dtc2.js} +1 -1
- package/dist/chunks/{managed-policy-b9csd79m.js → schedule-42vx596e.js} +13 -13
- package/dist/chunks/{managed-policy-pgtqjjh1.js → schedule-48dhaz4a.js} +2 -2
- package/dist/chunks/{managed-policy-9dqsgjmj.js → schedule-49q16kq7.js} +7 -7
- package/dist/chunks/{managed-policy-ez6s6xrq.js → schedule-4byz8djh.js} +3 -3
- package/dist/chunks/{managed-policy-cf123na1.js → schedule-4c6vqz7p.js} +3 -3
- package/dist/chunks/{managed-policy-4dx1dgte.js → schedule-4dx1dgte.js} +1 -1
- package/dist/chunks/{managed-policy-7q9yj4hk.js → schedule-4hr1xmcm.js} +13 -13
- package/dist/chunks/{managed-policy-s0fq07jn.js → schedule-4my9bhjr.js} +25 -25
- package/dist/chunks/{managed-policy-4pyp9zr9.js → schedule-4pyp9zr9.js} +1 -1
- package/dist/chunks/{managed-policy-ym098rjr.js → schedule-4tgba62a.js} +7 -7
- package/dist/chunks/{managed-policy-4v008n1t.js → schedule-4v008n1t.js} +1 -1
- package/dist/chunks/{managed-policy-2y8q1569.js → schedule-4zcepfyr.js} +4 -4
- package/dist/chunks/{managed-policy-5ekmj0kx.js → schedule-4zx9ayjd.js} +5 -5
- package/dist/chunks/{managed-policy-g3zhzpec.js → schedule-55m3qqc0.js} +36 -36
- package/dist/chunks/{managed-policy-qc638fsj.js → schedule-57jrmar6.js} +5 -5
- package/dist/chunks/{managed-policy-q5nrm4qh.js → schedule-595qp9bp.js} +14 -14
- package/dist/chunks/{managed-policy-gffj8dfz.js → schedule-59t18f4s.js} +23 -23
- package/dist/chunks/{managed-policy-ty5zc3r0.js → schedule-5a280wfw.js} +6 -6
- package/dist/chunks/{managed-policy-jhhadbsn.js → schedule-5c4h44qf.js} +13 -13
- package/dist/chunks/{managed-policy-a89ez4wd.js → schedule-5c9dykx1.js} +11 -11
- package/dist/chunks/{managed-policy-222v3pzc.js → schedule-5d4w5qqr.js} +7 -7
- package/dist/chunks/{managed-policy-w2eysc6j.js → schedule-5enarcya.js} +6 -6
- package/dist/chunks/{managed-policy-z5v7ajg8.js → schedule-5gcc39y3.js} +12 -12
- package/dist/chunks/{managed-policy-mxz1vbz0.js → schedule-5kwm5xqq.js} +11 -11
- package/dist/chunks/{managed-policy-5m9w47nd.js → schedule-5m9w47nd.js} +1 -1
- package/dist/chunks/{managed-policy-s26c8eb5.js → schedule-5n0rnk8e.js} +4 -4
- package/dist/chunks/{managed-policy-h4va8xmr.js → schedule-5s9cm2ce.js} +8 -8
- package/dist/chunks/{managed-policy-f1eks2ra.js → schedule-5sv6dz1j.js} +10 -10
- package/dist/chunks/{managed-policy-8cg7mtm3.js → schedule-5whx36p1.js} +4 -4
- package/dist/chunks/{managed-policy-f0zf15wr.js → schedule-603ycg90.js} +17 -17
- package/dist/chunks/{managed-policy-q71wq4h0.js → schedule-65by85k9.js} +10 -10
- package/dist/chunks/{managed-policy-ttdv0573.js → schedule-6bakhzj4.js} +8 -8
- package/dist/chunks/{managed-policy-6z3aet86.js → schedule-6dzjtp1t.js} +11 -11
- package/dist/chunks/{managed-policy-y0svfq6r.js → schedule-6xbt7eaw.js} +5 -5
- package/dist/chunks/{managed-policy-1ej8w2yh.js → schedule-6yc0artk.js} +28 -28
- package/dist/chunks/{managed-policy-wpk9xgpj.js → schedule-73bn25sx.js} +6 -6
- package/dist/chunks/{managed-policy-xtszr759.js → schedule-7402y6jz.js} +3 -3
- package/dist/chunks/{managed-policy-80mg3ag8.js → schedule-775hqbnd.js} +3 -3
- package/dist/chunks/{managed-policy-k0sgfsyn.js → schedule-77mw2vkk.js} +22 -22
- package/dist/chunks/{managed-policy-kmbajgce.js → schedule-78d66pmy.js} +32 -32
- package/dist/chunks/{managed-policy-wvr8xscb.js → schedule-79k544d0.js} +7 -7
- package/dist/chunks/{managed-policy-b2p96kj7.js → schedule-7bhqvw3c.js} +21 -21
- package/dist/chunks/{managed-policy-7bmhse3q.js → schedule-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-pke92qg4.js → schedule-7kp7m6pc.js} +16 -16
- package/dist/chunks/{managed-policy-cwj1vj0k.js → schedule-7m0kksrk.js} +5 -5
- package/dist/chunks/{managed-policy-94cc452s.js → schedule-7ng3b4r2.js} +21 -21
- package/dist/chunks/{managed-policy-kcwmvmnf.js → schedule-7s7698sj.js} +20 -20
- package/dist/chunks/{managed-policy-7w2ypzdf.js → schedule-7w2ypzdf.js} +1 -1
- package/dist/chunks/{managed-policy-2ntct3t4.js → schedule-7wdx81w1.js} +8 -8
- package/dist/chunks/{managed-policy-7weczvnd.js → schedule-7weczvnd.js} +1 -1
- package/dist/chunks/{managed-policy-r4aqf5x0.js → schedule-839r885x.js} +48 -48
- package/dist/chunks/{managed-policy-jk58nb6f.js → schedule-84cyxz8j.js} +7 -7
- package/dist/chunks/{managed-policy-89287pr7.js → schedule-89287pr7.js} +1 -1
- package/dist/chunks/{managed-policy-25h84942.js → schedule-8b3vzgkx.js} +4 -4
- package/dist/chunks/{managed-policy-4pc7g1q7.js → schedule-8czkjg0b.js} +15 -15
- package/dist/chunks/{managed-policy-6h6cg3fn.js → schedule-8erpdb3g.js} +12 -12
- package/dist/chunks/{managed-policy-694dpcrp.js → schedule-8j8rwswp.js} +4 -4
- package/dist/chunks/{managed-policy-8hfctyyf.js → schedule-8jev9a8r.js} +7 -7
- package/dist/chunks/{managed-policy-8wtp7s3z.js → schedule-8wtp7s3z.js} +1 -1
- package/dist/chunks/{managed-policy-mb7mbhnz.js → schedule-8z6m94af.js} +3 -3
- package/dist/chunks/{managed-policy-90zstvax.js → schedule-90zstvax.js} +1 -1
- package/dist/chunks/{managed-policy-rj7jtxy8.js → schedule-94e33dpz.js} +3 -3
- package/dist/chunks/{managed-policy-963hk181.js → schedule-963hk181.js} +2 -2
- package/dist/chunks/{managed-policy-hr0s3p8c.js → schedule-98ctj04y.js} +12 -12
- package/dist/chunks/{managed-policy-52ajpve2.js → schedule-98fzyeyq.js} +23 -23
- package/dist/chunks/{managed-policy-9xwzymzn.js → schedule-99mq1ncz.js} +9 -9
- package/dist/chunks/{managed-policy-n89xmtt6.js → schedule-99t4y4bf.js} +31 -31
- package/dist/chunks/{managed-policy-d390zwf3.js → schedule-9e41wzsd.js} +11 -11
- package/dist/chunks/{managed-policy-7570hqkd.js → schedule-9jxpbjsa.js} +8 -8
- package/dist/chunks/{managed-policy-049bxtxe.js → schedule-9k7wf074.js} +9 -9
- package/dist/chunks/{managed-policy-34ygtfez.js → schedule-9mm41ggh.js} +14 -14
- package/dist/chunks/{managed-policy-jg54bytd.js → schedule-9t69ep9v.js} +11 -11
- package/dist/chunks/{managed-policy-93ydnnrp.js → schedule-9yhg57q2.js} +29 -29
- package/dist/chunks/{managed-policy-gkff6z3w.js → schedule-9zpcm0jr.js} +5 -5
- package/dist/chunks/{managed-policy-adbhcxyp.js → schedule-a3pzrnje.js} +6 -6
- package/dist/chunks/{managed-policy-2p60zmnr.js → schedule-ad21tgm2.js} +4 -4
- package/dist/chunks/{managed-policy-cwk2j35m.js → schedule-aeet6n1e.js} +9 -9
- package/dist/chunks/{managed-policy-034tev2y.js → schedule-aj7mw0zk.js} +2 -2
- package/dist/chunks/{managed-policy-s26kq73r.js → schedule-ar7ryz1m.js} +29 -29
- package/dist/chunks/{managed-policy-cf20n6qr.js → schedule-asw17ay9.js} +18 -18
- package/dist/chunks/{managed-policy-6bdy1qc9.js → schedule-b0ghnjtk.js} +6 -6
- package/dist/chunks/{managed-policy-6veqkqmr.js → schedule-b5apbsf8.js} +25 -25
- package/dist/chunks/{managed-policy-b6vsg801.js → schedule-b6vsg801.js} +2 -2
- package/dist/chunks/{managed-policy-kbgs7tyr.js → schedule-babktaw3.js} +4 -4
- package/dist/chunks/{managed-policy-8sxe6kv8.js → schedule-bb3mmwvh.js} +2 -2
- package/dist/chunks/{managed-policy-bdhd9h6e.js → schedule-bdhd9h6e.js} +1 -1
- package/dist/chunks/{managed-policy-b7nkz392.js → schedule-bdv8sqrq.js} +1 -1
- package/dist/chunks/{managed-policy-8nda61ba.js → schedule-brg25tds.js} +18 -18
- package/dist/chunks/{managed-policy-bstexjd6.js → schedule-bstexjd6.js} +1 -1
- package/dist/chunks/{managed-policy-m9g374c5.js → schedule-bwyh7fxn.js} +10 -10
- package/dist/chunks/{managed-policy-by8ty0bx.js → schedule-by8ty0bx.js} +1 -1
- package/dist/chunks/{managed-policy-0efpeyxc.js → schedule-c1217dgw.js} +15 -15
- package/dist/chunks/{managed-policy-a15cgkcr.js → schedule-cbnencgw.js} +11 -11
- package/dist/chunks/{managed-policy-t2xtq40p.js → schedule-cp4qj9s7.js} +12 -12
- package/dist/chunks/{managed-policy-ngjcp7sg.js → schedule-cpqy76xs.js} +2 -2
- package/dist/chunks/{managed-policy-3fecmc9f.js → schedule-crcnt19t.js} +52 -52
- package/dist/chunks/{managed-policy-hnra8en1.js → schedule-cre4dvgj.js} +11 -11
- package/dist/chunks/{managed-policy-011jp90z.js → schedule-ctmpqb7w.js} +9 -9
- package/dist/chunks/{managed-policy-cwrgdav8.js → schedule-cwrgdav8.js} +2 -2
- package/dist/chunks/{managed-policy-k6s58ykv.js → schedule-d0842bpz.js} +33 -33
- package/dist/chunks/{managed-policy-emdtkara.js → schedule-d4pf3mdq.js} +15 -15
- package/dist/chunks/{managed-policy-d4v9tmah.js → schedule-d4v9tmah.js} +2 -2
- package/dist/chunks/{managed-policy-7xk24n0c.js → schedule-d9g6xwkf.js} +13 -13
- package/dist/chunks/{managed-policy-wch5b4k3.js → schedule-d9z5dyg9.js} +4 -4
- package/dist/chunks/{managed-policy-enkpkfwx.js → schedule-ddvn7d3w.js} +8 -8
- package/dist/chunks/{managed-policy-8bec62ym.js → schedule-dj7mxfr7.js} +13 -13
- package/dist/chunks/{managed-policy-84xnqrz6.js → schedule-dqq5rj1b.js} +36 -36
- package/dist/chunks/{managed-policy-dt77769w.js → schedule-dt77769w.js} +1 -1
- package/dist/chunks/{managed-policy-7b63gw8q.js → schedule-dtedh5bw.js} +40 -40
- package/dist/chunks/{managed-policy-hk6v7v6h.js → schedule-dv666fgg.js} +2 -2
- package/dist/chunks/{managed-policy-5npztzyt.js → schedule-e37jxnbb.js} +9 -9
- package/dist/chunks/{managed-policy-s320htan.js → schedule-e44hy6kp.js} +8 -8
- package/dist/chunks/{managed-policy-hscx9pz2.js → schedule-e7jvp8jv.js} +7 -7
- package/dist/chunks/{managed-policy-e834z07m.js → schedule-e834z07m.js} +1 -1
- package/dist/chunks/{managed-policy-aaxvemjx.js → schedule-ejm6rj45.js} +8 -8
- package/dist/chunks/{managed-policy-hzertc24.js → schedule-eqm0895c.js} +10 -10
- package/dist/chunks/{managed-policy-eqw4pqj1.js → schedule-eqw4pqj1.js} +2 -2
- package/dist/chunks/{managed-policy-1sz6qbxm.js → schedule-ex5zxzr0.js} +21 -21
- package/dist/chunks/{managed-policy-cbpdtm8m.js → schedule-ezywmn0s.js} +85 -85
- package/dist/chunks/{managed-policy-q4bv7885.js → schedule-f1y20znw.js} +9 -9
- package/dist/chunks/{managed-policy-2j5b4v0j.js → schedule-f59dbv8e.js} +20 -20
- package/dist/chunks/{managed-policy-hya2t179.js → schedule-f6n2f6xx.js} +39 -39
- package/dist/chunks/{managed-policy-81mknb1c.js → schedule-fd3x3jjz.js} +3 -3
- package/dist/chunks/{managed-policy-c4970w7t.js → schedule-fdf499f0.js} +6 -6
- package/dist/chunks/{managed-policy-fffv3p7h.js → schedule-fffv3p7h.js} +1 -1
- package/dist/chunks/{managed-policy-fg9p65nk.js → schedule-fg9p65nk.js} +2 -2
- package/dist/chunks/{managed-policy-3ay6yzp4.js → schedule-fnm34e0k.js} +5 -5
- package/dist/chunks/{managed-policy-39cvt4y1.js → schedule-fr4nv9cj.js} +27 -27
- package/dist/chunks/{managed-policy-w9w8mt4n.js → schedule-fstdtr31.js} +4 -4
- package/dist/chunks/{managed-policy-bwnq0sca.js → schedule-fw7yr5rt.js} +140 -140
- package/dist/chunks/{managed-policy-73b7d3ds.js → schedule-fwn4y1zx.js} +4 -4
- package/dist/chunks/{managed-policy-kgmm2n1t.js → schedule-g5ab688k.js} +9 -9
- package/dist/chunks/{managed-policy-snvjn92c.js → schedule-g9h2q5yj.js} +11 -11
- package/dist/chunks/{managed-policy-gbjdnr5j.js → schedule-gbjdnr5j.js} +2 -2
- package/dist/chunks/{managed-policy-ghrv1g9c.js → schedule-ghrv1g9c.js} +1 -1
- package/dist/chunks/{managed-policy-ggw6cf37.js → schedule-gv38mgjf.js} +18 -18
- package/dist/chunks/{managed-policy-n80cvmb1.js → schedule-gx3ft877.js} +12 -12
- package/dist/chunks/{managed-policy-tg7s7b5t.js → schedule-gxs71cxp.js} +4 -4
- package/dist/chunks/{managed-policy-wdw508se.js → schedule-h0p8xz09.js} +23 -23
- package/dist/chunks/{managed-policy-d9mbfmfw.js → schedule-h1ssv518.js} +8 -8
- package/dist/chunks/{managed-policy-vvz423e5.js → schedule-h21yfsnt.js} +9 -9
- package/dist/chunks/{managed-policy-tn8c9wth.js → schedule-h3bbwms5.js} +11 -11
- package/dist/chunks/{managed-policy-q20jnz0y.js → schedule-h9bb6gs0.js} +10 -10
- package/dist/chunks/{managed-policy-9b5tmjvs.js → schedule-ha7jcd7m.js} +12 -12
- package/dist/chunks/{managed-policy-nckdhtfp.js → schedule-hh721zwz.js} +19 -19
- package/dist/chunks/{managed-policy-x150ncgg.js → schedule-hretfjjx.js} +2 -2
- package/dist/chunks/{managed-policy-msd2a3qm.js → schedule-hvzsj075.js} +10 -10
- package/dist/chunks/{managed-policy-sj7nrpyn.js → schedule-hx3mz2q2.js} +8 -8
- package/dist/chunks/{managed-policy-5m4dn6ne.js → schedule-j056ptkg.js} +43 -43
- package/dist/chunks/{managed-policy-5dqvab9m.js → schedule-j6z2a8q3.js} +1 -1
- package/dist/chunks/{managed-policy-ze75qvmd.js → schedule-j9nxzz3g.js} +3 -3
- package/dist/chunks/{managed-policy-dg5naf6e.js → schedule-jbca85dn.js} +4 -4
- package/dist/chunks/{managed-policy-rp7vsx92.js → schedule-jbdphg7h.js} +76 -76
- package/dist/chunks/{managed-policy-cq85swwr.js → schedule-jfnwe0tk.js} +9 -9
- package/dist/chunks/{managed-policy-qsdghx1p.js → schedule-jg11hrrc.js} +4 -4
- package/dist/chunks/{managed-policy-tr8x705m.js → schedule-jht64jd1.js} +4 -4
- package/dist/chunks/{managed-policy-jhwp234h.js → schedule-jhwp234h.js} +1 -1
- package/dist/chunks/{managed-policy-1nprrrn1.js → schedule-jr2hxv7h.js} +18 -18
- package/dist/chunks/schedule-jt0kypq2.js +571 -0
- package/dist/chunks/{managed-policy-x4y37jzy.js → schedule-jtdyq99q.js} +14 -14
- package/dist/chunks/{managed-policy-134gvft9.js → schedule-jwsqyfbv.js} +2 -2
- package/dist/chunks/{managed-policy-de3dxzfd.js → schedule-jyhvc54h.js} +31 -31
- package/dist/chunks/{managed-policy-92kxrd7m.js → schedule-k6ggsjb4.js} +20 -20
- package/dist/chunks/{managed-policy-kh8gdsej.js → schedule-kh8gdsej.js} +1 -1
- package/dist/chunks/{managed-policy-m5hfhx0q.js → schedule-kk6ahvq6.js} +37 -37
- package/dist/chunks/{managed-policy-xkrxqeds.js → schedule-kke5j2f8.js} +4 -4
- package/dist/chunks/{managed-policy-4nbdtt5f.js → schedule-kvk1e57x.js} +14 -14
- package/dist/chunks/{managed-policy-csfrerbm.js → schedule-kvtmsfj8.js} +16 -16
- package/dist/chunks/{managed-policy-kq3gajf6.js → schedule-kw3mmq0e.js} +23 -23
- package/dist/chunks/{managed-policy-kzczzf4v.js → schedule-kzczzf4v.js} +1 -1
- package/dist/chunks/{managed-policy-m1714858.js → schedule-m1714858.js} +1 -1
- package/dist/chunks/{managed-policy-3d6cdccs.js → schedule-m4wvj6vr.js} +39 -39
- package/dist/chunks/{managed-policy-p9j2z5m0.js → schedule-m528r48h.js} +4 -4
- package/dist/chunks/{managed-policy-m9w0rfyh.js → schedule-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-zpac5hmy.js → schedule-mbwq7pst.js} +3 -3
- package/dist/chunks/{managed-policy-93b9z70a.js → schedule-meqg7054.js} +30 -30
- package/dist/chunks/{managed-policy-1fj0bj05.js → schedule-mh4n2rcw.js} +16 -16
- package/dist/chunks/{managed-policy-rh7teajb.js → schedule-mhwmtr4b.js} +13 -13
- package/dist/chunks/{managed-policy-xvx7c35r.js → schedule-mkr1f05z.js} +31 -31
- package/dist/chunks/{managed-policy-mm06edep.js → schedule-mm06edep.js} +1 -1
- package/dist/chunks/{managed-policy-86rngcpt.js → schedule-mz4dxasc.js} +4 -4
- package/dist/chunks/{managed-policy-2jdk2m35.js → schedule-n30cqpxv.js} +32 -32
- package/dist/chunks/{managed-policy-ewfy77nk.js → schedule-n43v4s8r.js} +21 -21
- package/dist/chunks/{managed-policy-szwm4crx.js → schedule-n4z1q12f.js} +7 -7
- package/dist/chunks/{managed-policy-0hqamtha.js → schedule-n60w2ntz.js} +11 -11
- package/dist/chunks/{managed-policy-gq3j2zj9.js → schedule-n7d7rvr7.js} +3 -3
- package/dist/chunks/{managed-policy-rkfy1jtc.js → schedule-ndktga2a.js} +9 -9
- package/dist/chunks/{managed-policy-rh2bhhv5.js → schedule-ng9xx5a9.js} +15 -15
- package/dist/chunks/{managed-policy-xw9rcdxr.js → schedule-nkbec0ep.js} +6 -6
- package/dist/chunks/{managed-policy-q44gpzaj.js → schedule-nsadhzgk.js} +8 -8
- package/dist/chunks/{managed-policy-qtf35215.js → schedule-nv2c5e9q.js} +2 -2
- package/dist/chunks/{managed-policy-wegkxhrn.js → schedule-nx4vzyjd.js} +2 -2
- package/dist/chunks/{managed-policy-bdtnav63.js → schedule-p2gm5y6h.js} +9 -9
- package/dist/chunks/{managed-policy-t62dywgn.js → schedule-p94p4v4n.js} +4 -4
- package/dist/chunks/{managed-policy-v9bvyfk3.js → schedule-pep05qc9.js} +14 -14
- package/dist/chunks/{managed-policy-pknna89w.js → schedule-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-mac2mypw.js → schedule-pmzyfe52.js} +23 -23
- package/dist/chunks/{managed-policy-k8yrd7fz.js → schedule-q1xmsa50.js} +29 -29
- package/dist/chunks/{managed-policy-agabbr24.js → schedule-q6p9hvd6.js} +12 -12
- package/dist/chunks/{managed-policy-yvepvv5s.js → schedule-q7y3b9g0.js} +8 -8
- package/dist/chunks/{managed-policy-ayh0sk9w.js → schedule-q92yadkp.js} +11 -11
- package/dist/chunks/{managed-policy-qb9rf751.js → schedule-qbwxwh60.js} +39 -39
- package/dist/chunks/{managed-policy-jf7wm0np.js → schedule-qezbz60c.js} +5 -5
- package/dist/chunks/{managed-policy-k8yb841n.js → schedule-qkasd6fa.js} +11 -11
- package/dist/chunks/{managed-policy-qmh7vbk2.js → schedule-qmh7vbk2.js} +1 -1
- package/dist/chunks/{managed-policy-qnqasnye.js → schedule-qnqasnye.js} +3 -3
- package/dist/chunks/{managed-policy-qp7r0hxv.js → schedule-qp7r0hxv.js} +1 -1
- package/dist/chunks/{managed-policy-0rycj1gr.js → schedule-qsxj871c.js} +7 -7
- package/dist/chunks/{managed-policy-55ka4v6n.js → schedule-qty66y1x.js} +19 -19
- package/dist/chunks/{managed-policy-208nbn7x.js → schedule-qwz12hkq.js} +4 -4
- package/dist/chunks/{managed-policy-8mvtwasc.js → schedule-qxm2emh7.js} +21 -21
- package/dist/chunks/{managed-policy-3qgwywyc.js → schedule-r17fbvme.js} +4 -4
- package/dist/chunks/{managed-policy-bvh3e2ty.js → schedule-r287mfj8.js} +10 -10
- package/dist/chunks/{managed-policy-r542h3bh.js → schedule-r542h3bh.js} +1 -1
- package/dist/chunks/{managed-policy-00yxsyvk.js → schedule-r63z0xc5.js} +15 -15
- package/dist/chunks/{managed-policy-rb9dy4dg.js → schedule-rb9dy4dg.js} +1 -1
- package/dist/chunks/{managed-policy-jpvvy4fy.js → schedule-rd1zr5k8.js} +1 -1
- package/dist/chunks/{managed-policy-rgc9cx3e.js → schedule-rgc9cx3e.js} +2 -2
- package/dist/chunks/{managed-policy-98n06f6g.js → schedule-rj2kdn0f.js} +4 -4
- package/dist/chunks/{managed-policy-e3e8659w.js → schedule-rq9we0t9.js} +47 -47
- package/dist/chunks/{managed-policy-rt5dr6hb.js → schedule-rt5dr6hb.js} +1 -1
- package/dist/chunks/{managed-policy-5zpqhmp2.js → schedule-s4kyhetj.js} +3 -3
- package/dist/chunks/{managed-policy-sa3fpqfw.js → schedule-sa3fpqfw.js} +2 -2
- package/dist/chunks/{managed-policy-sbya78hr.js → schedule-sbya78hr.js} +1 -1
- package/dist/chunks/{managed-policy-h9y793kv.js → schedule-scgy6kxk.js} +12 -12
- package/dist/chunks/{managed-policy-05p6s1y0.js → schedule-scn5v30h.js} +9 -9
- package/dist/chunks/{managed-policy-5pc5gmm6.js → schedule-sd884d0q.js} +20 -20
- package/dist/chunks/{managed-policy-f4dqqhrb.js → schedule-sexnaxkv.js} +15 -15
- package/dist/chunks/{managed-policy-1zsw8k3e.js → schedule-sgzw4jnw.js} +58 -58
- package/dist/chunks/{managed-policy-r120mns7.js → schedule-shcqv2r1.js} +29 -29
- package/dist/chunks/{managed-policy-q3jsmvn2.js → schedule-sne5sqcr.js} +25 -25
- package/dist/chunks/{managed-policy-svcy3p9a.js → schedule-svcy3p9a.js} +1 -1
- package/dist/chunks/{managed-policy-ctvmf2e3.js → schedule-t45g8mkh.js} +11 -11
- package/dist/chunks/{managed-policy-9zwexsxs.js → schedule-t8erkws8.js} +5 -5
- package/dist/chunks/{managed-policy-rfprrftx.js → schedule-taat50br.js} +33 -33
- package/dist/chunks/{managed-policy-mzvmdrry.js → schedule-tataqzm1.js} +59 -59
- package/dist/chunks/{managed-policy-keta6k4e.js → schedule-tcazvbs5.js} +17 -17
- package/dist/chunks/{managed-policy-tczq8hjw.js → schedule-tczq8hjw.js} +1 -1
- package/dist/chunks/schedule-tksyqdec.js +26 -0
- package/dist/chunks/{managed-policy-qp3yf8tf.js → schedule-tmyd8ntm.js} +23 -23
- package/dist/chunks/{managed-policy-a27s7ahv.js → schedule-tp85d07z.js} +32 -32
- package/dist/chunks/{managed-policy-cw91kzmr.js → schedule-tvfrymd2.js} +22 -22
- package/dist/chunks/{managed-policy-44pmzq9c.js → schedule-twhtcdx9.js} +4 -4
- package/dist/chunks/{managed-policy-twssxy5n.js → schedule-twssxy5n.js} +2 -2
- package/dist/chunks/{managed-policy-2kg89srt.js → schedule-v0t96s7a.js} +4 -4
- package/dist/chunks/{managed-policy-qpssdy5y.js → schedule-v1nga6ar.js} +29 -29
- package/dist/chunks/{managed-policy-02ramg33.js → schedule-v22skkgz.js} +3 -3
- package/dist/chunks/{managed-policy-v2r1d0zg.js → schedule-v2r1d0zg.js} +1 -1
- package/dist/chunks/{managed-policy-dkpybmbr.js → schedule-v87p7d8n.js} +9 -9
- package/dist/chunks/{managed-policy-kcac9xbp.js → schedule-ve4d077w.js} +29 -29
- package/dist/chunks/{managed-policy-vb80j1wh.js → schedule-vg0erq9k.js} +3 -3
- package/dist/chunks/{managed-policy-ywv6jdkf.js → schedule-vh71s2m0.js} +11 -11
- package/dist/chunks/{managed-policy-vjf35v1f.js → schedule-vjf35v1f.js} +1 -1
- package/dist/chunks/{managed-policy-ymcveeg6.js → schedule-vkg7b7h2.js} +8 -8
- package/dist/chunks/{managed-policy-vmqe41cb.js → schedule-vmqe41cb.js} +1 -1
- package/dist/chunks/{managed-policy-rdrzgfkv.js → schedule-vqz1w45k.js} +6 -6
- package/dist/chunks/{managed-policy-5taqc0s1.js → schedule-vrjjm71x.js} +45 -45
- package/dist/chunks/{managed-policy-2qdav6e0.js → schedule-w1c4yb6g.js} +22 -22
- package/dist/chunks/{managed-policy-w3wsvvr9.js → schedule-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-wakvkjy4.js → schedule-wakvkjy4.js} +1 -1
- package/dist/chunks/{managed-policy-wd87259q.js → schedule-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-kz4drr9z.js → schedule-wfswp4nj.js} +21 -21
- package/dist/chunks/{managed-policy-14369m44.js → schedule-whn18qva.js} +1 -1
- package/dist/chunks/{managed-policy-wnhgecwx.js → schedule-wnhgecwx.js} +1 -1
- package/dist/chunks/{managed-policy-wr3re1en.js → schedule-wr3re1en.js} +1 -1
- package/dist/chunks/{managed-policy-a5fx33f2.js → schedule-x4mcewfn.js} +8 -8
- package/dist/chunks/{managed-policy-bxg7njpv.js → schedule-x5b5kb4w.js} +80 -80
- package/dist/chunks/{managed-policy-143fdgq0.js → schedule-x5cw448x.js} +11 -11
- package/dist/chunks/{managed-policy-axcwkbjw.js → schedule-xdyznakc.js} +12 -12
- package/dist/chunks/{managed-policy-3gfm8090.js → schedule-xe2m8fh1.js} +44 -44
- package/dist/chunks/{managed-policy-3adw4bt5.js → schedule-xjbsd7zy.js} +9 -9
- package/dist/chunks/{managed-policy-ty43ykj8.js → schedule-xkw1z754.js} +6 -6
- package/dist/chunks/{managed-policy-c6x7d2ts.js → schedule-xmx7xj34.js} +4 -4
- package/dist/chunks/{managed-policy-r3ga36m7.js → schedule-xtrhtkf6.js} +7 -7
- package/dist/chunks/{managed-policy-xxschbft.js → schedule-xxschbft.js} +1 -1
- package/dist/chunks/{managed-policy-5g2rag81.js → schedule-y658157x.js} +21 -21
- package/dist/chunks/{managed-policy-yb20nhc3.js → schedule-yb20nhc3.js} +1 -1
- package/dist/chunks/{managed-policy-d97evh6t.js → schedule-ye0egtn0.js} +11 -11
- package/dist/chunks/{managed-policy-yrh1k9vz.js → schedule-yeanvvt2.js} +19 -19
- package/dist/chunks/{managed-policy-44ez0f3p.js → schedule-ym8ke8th.js} +35 -35
- package/dist/chunks/{managed-policy-n5cst3qt.js → schedule-ymnmv8gs.js} +6 -6
- package/dist/chunks/{managed-policy-yr705xyq.js → schedule-yr705xyq.js} +1 -1
- package/dist/chunks/{managed-policy-3kw3vdmt.js → schedule-yrwsf6wc.js} +2 -2
- package/dist/chunks/{managed-policy-yvtc2x31.js → schedule-yvtc2x31.js} +1 -1
- package/dist/chunks/{managed-policy-g9n2t60e.js → schedule-yzz9t9yy.js} +33 -33
- package/dist/chunks/{managed-policy-jtn88xg7.js → schedule-z3nbef5k.js} +5 -5
- package/dist/chunks/{managed-policy-4eh3e4rf.js → schedule-z9r0pcxp.js} +3 -3
- package/dist/chunks/{managed-policy-w83fgkpx.js → schedule-ze0q8swm.js} +49 -49
- package/dist/chunks/{managed-policy-f1adqn5w.js → schedule-zgye0t7z.js} +22 -22
- package/dist/chunks/{managed-policy-zyxywtg1.js → schedule-zmkvkn5h.js} +15 -15
- package/dist/chunks/{managed-policy-t1vbb5p2.js → schedule-zqfj62kd.js} +12 -12
- package/dist/chunks/{managed-policy-1vqhtmqg.js → schedule-zw5yye1t.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +234 -234
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +139 -139
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +129 -129
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +249 -249
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +118 -118
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +428 -428
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +181 -181
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +155 -155
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +154 -154
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +404 -404
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +114 -114
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +414 -414
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +254 -254
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +184 -184
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +239 -239
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- 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 +182 -182
- package/dist/tool/plugin/artifact.js +232 -232
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/managed-policy-1a47wb9y.js +0 -26
- package/dist/chunks/managed-policy-bj4199ea.js +0 -265
- package/dist/chunks/managed-policy-gt0s9rmw.js +0 -571
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → schedule-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → schedule-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-108x4f4w.js → schedule-108x4f4w.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → schedule-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → schedule-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kah00gy.js → schedule-1kah00gy.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → schedule-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → schedule-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2bv980vf.js → schedule-2bv980vf.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → schedule-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → schedule-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3af0jn4w.js → schedule-3af0jn4w.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → schedule-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → schedule-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → schedule-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → schedule-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → schedule-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4qk9sjk2.js → schedule-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → schedule-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → schedule-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → schedule-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5w3e23ze.js → schedule-5w3e23ze.js} +0 -0
- /package/dist/chunks/{managed-policy-6agm2x70.js → schedule-6agm2x70.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → schedule-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-6q2bdcd1.js → schedule-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → schedule-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → schedule-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → schedule-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-84wd9syh.js → schedule-84wd9syh.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → schedule-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → schedule-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → schedule-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → schedule-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → schedule-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → schedule-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → schedule-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → schedule-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → schedule-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → schedule-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-beh6qq61.js → schedule-beh6qq61.js} +0 -0
- /package/dist/chunks/{managed-policy-bhmrqjy3.js → schedule-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → schedule-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → schedule-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → schedule-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cqv5kn06.js → schedule-cqv5kn06.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → schedule-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → schedule-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → schedule-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → schedule-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → schedule-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → schedule-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → schedule-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-ean2d8b5.js → schedule-ean2d8b5.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → schedule-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → schedule-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → schedule-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → schedule-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → schedule-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → schedule-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fkpq3x5p.js → schedule-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → schedule-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → schedule-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → schedule-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → schedule-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hcxmzztb.js → schedule-hcxmzztb.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → schedule-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → schedule-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → schedule-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → schedule-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → schedule-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → schedule-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jwr30sdr.js → schedule-jwr30sdr.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → schedule-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-m18g726c.js → schedule-m18g726c.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → schedule-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → schedule-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → schedule-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → schedule-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-nh4v3znn.js → schedule-nh4v3znn.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → schedule-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-p71gwv9c.js → schedule-p71gwv9c.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → schedule-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → schedule-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → schedule-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → schedule-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → schedule-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → schedule-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → schedule-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → schedule-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → schedule-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → schedule-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-syrav9an.js → schedule-syrav9an.js} +0 -0
- /package/dist/chunks/{managed-policy-t03h4f5z.js → schedule-t03h4f5z.js} +0 -0
- /package/dist/chunks/{managed-policy-ty7weeps.js → schedule-ty7weeps.js} +0 -0
- /package/dist/chunks/{managed-policy-ve7vex1e.js → schedule-ve7vex1e.js} +0 -0
- /package/dist/chunks/{managed-policy-vtarvj67.js → schedule-vtarvj67.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → schedule-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → schedule-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → schedule-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → schedule-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → schedule-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → schedule-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → schedule-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → schedule-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → schedule-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-z0h12gs8.js → schedule-z0h12gs8.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → schedule-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → schedule-z9919s4g.js} +0 -0
- /package/dist/chunks/{managed-policy-zxpyjp51.js → schedule-zxpyjp51.js} +0 -0
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schedule-cbnencgw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID19,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schedule-99t4y4bf.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schedule-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schedule-jhwp234h.js";
|
|
14
14
|
import {
|
|
15
15
|
ID18,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schedule-5c4h44qf.js";
|
|
19
19
|
import {
|
|
20
20
|
ID17
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schedule-5sv6dz1j.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make32
|
|
26
|
+
} from "./schedule-r17fbvme.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service75
|
|
29
|
+
} from "./schedule-vrjjm71x.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./schedule-1d9g7mep.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service54
|
|
36
|
+
} from "./schedule-07vknatd.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./schedule-0514q7ax.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Options2,
|
|
42
42
|
defaultServer2,
|
|
43
43
|
server2,
|
|
44
44
|
headers2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./schedule-q7y3b9g0.js";
|
|
46
46
|
import {
|
|
47
47
|
File2,
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
48
|
+
Service57
|
|
49
|
+
} from "./schedule-4my9bhjr.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
51
|
+
Service18,
|
|
52
52
|
fingerprint2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./schedule-e44hy6kp.js";
|
|
54
54
|
import {
|
|
55
55
|
isSafeSegment2,
|
|
56
56
|
isSafeRelativePath2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./schedule-xjbsd7zy.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
ID7,
|
|
60
|
+
Input15,
|
|
61
61
|
Response2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./schedule-2qqy401a.js";
|
|
63
63
|
import {
|
|
64
64
|
onSwitch2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./schedule-9k7wf074.js";
|
|
66
66
|
|
|
67
67
|
// src/plugin/provider/opencode.ts
|
|
68
68
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore } from "effect";
|
|
@@ -192,12 +192,12 @@ var OpencodePlugin2 = define({
|
|
|
192
192
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
193
193
|
const client = yield* HttpClient.HttpClient;
|
|
194
194
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
195
|
-
const config = yield*
|
|
196
|
-
const discovery = yield*
|
|
197
|
-
const skills = yield*
|
|
198
|
-
const cache = yield*
|
|
195
|
+
const config = yield* Service75;
|
|
196
|
+
const discovery = yield* Service57;
|
|
197
|
+
const skills = yield* Service54;
|
|
198
|
+
const cache = yield* Service18;
|
|
199
199
|
const scope = yield* Scope.Scope;
|
|
200
|
-
const settings = yield*
|
|
200
|
+
const settings = yield* Options2;
|
|
201
201
|
const loading = Semaphore.makeUnsafe(1);
|
|
202
202
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined, access: undefined };
|
|
203
203
|
let instructions = [];
|
|
@@ -244,9 +244,9 @@ var OpencodePlugin2 = define({
|
|
|
244
244
|
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
|
|
245
245
|
});
|
|
246
246
|
const publish = Effect.fnUntraced(function* (next) {
|
|
247
|
-
const document = next.remote && next.connection &&
|
|
247
|
+
const document = next.remote && next.connection && make32({
|
|
248
248
|
integrationID: ID18.make("opencode"),
|
|
249
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
249
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID19.make(next.connection.id) } : next.connection,
|
|
250
250
|
organization: next.organization,
|
|
251
251
|
info: next.remote
|
|
252
252
|
});
|
|
@@ -297,7 +297,7 @@ var OpencodePlugin2 = define({
|
|
|
297
297
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
298
298
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
299
299
|
const server = yield* normalizeServer(server2(credential));
|
|
300
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
300
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
301
301
|
query: input.query,
|
|
302
302
|
providerID
|
|
303
303
|
}));
|
|
@@ -353,7 +353,7 @@ var OpencodePlugin2 = define({
|
|
|
353
353
|
}
|
|
354
354
|
});
|
|
355
355
|
yield* ctx.websearch.transform((editor) => {
|
|
356
|
-
const provider =
|
|
356
|
+
const provider = ID7.make("opencode");
|
|
357
357
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
358
358
|
editor.add(search(provider, snapshot.connection));
|
|
359
359
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schedule-cbnencgw.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service85
|
|
7
|
+
} from "./schedule-99t4y4bf.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schedule-5c4h44qf.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schedule-5sv6dz1j.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service85;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID18.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service88,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schedule-d4pf3mdq.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schedule-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node62
|
|
5
|
+
} from "./schedule-cbnencgw.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schedule-p94p4v4n.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node78
|
|
12
|
+
} from "./schedule-9jxpbjsa.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schedule-d0842bpz.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schedule-kvk1e57x.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Error2
|
|
21
|
+
} from "./schedule-q1xmsa50.js";
|
|
22
22
|
import {
|
|
23
23
|
get5
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schedule-3nnrz6f6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service33,
|
|
27
|
+
node37
|
|
28
|
+
} from "./schedule-2merx6cy.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make24
|
|
31
|
+
} from "./schedule-79k544d0.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schedule-dv666fgg.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./schedule-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service32,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer14,
|
|
47
|
+
node: () => node36,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
SystemPart.make(input.agent.system ? input.agent.system :
|
|
85
|
+
SystemPart.make(input.agent.system ? input.agent.system : make24(input.tools.definitions.map((tool) => tool.name))),
|
|
86
86
|
{
|
|
87
87
|
...SystemPart.make(join2(input.initial)),
|
|
88
88
|
metadata: { experimental: { instructions: input.initial } }
|
|
@@ -188,11 +188,11 @@ var boundImages2 = (messages) => {
|
|
|
188
188
|
});
|
|
189
189
|
};
|
|
190
190
|
|
|
191
|
-
class
|
|
191
|
+
class Service32 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
192
192
|
}
|
|
193
|
-
var
|
|
194
|
-
const hooks = yield*
|
|
195
|
-
const transport = yield*
|
|
193
|
+
var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
194
|
+
const hooks = yield* Service74;
|
|
195
|
+
const transport = yield* Service33;
|
|
196
196
|
const app = yield* Metadata2;
|
|
197
197
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
198
198
|
const session = input.session;
|
|
@@ -200,7 +200,7 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
200
200
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
201
201
|
const tools = input.tools ?? {
|
|
202
202
|
definitions: [],
|
|
203
|
-
execute: () => new
|
|
203
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
204
204
|
};
|
|
205
205
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
|
|
206
206
|
const shaped = yield* shape({
|
|
@@ -287,17 +287,17 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
287
287
|
};
|
|
288
288
|
});
|
|
289
289
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
290
|
-
return
|
|
290
|
+
return Service32.of({
|
|
291
291
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
292
292
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
293
293
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
294
294
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
295
295
|
});
|
|
296
296
|
}));
|
|
297
|
-
var
|
|
298
|
-
service:
|
|
299
|
-
layer:
|
|
300
|
-
deps: [
|
|
297
|
+
var node36 = makeLocationNode({
|
|
298
|
+
service: Service32,
|
|
299
|
+
layer: layer14,
|
|
300
|
+
deps: [node78, node37, node62]
|
|
301
301
|
});
|
|
302
302
|
|
|
303
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
303
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service32, layer14, node36, exports_model_request };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizeContent2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schedule-z0h12gs8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schedule-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/tool-input-repair.ts
|
|
10
10
|
var exports_tool_input_repair = {};
|
|
11
11
|
__export(exports_tool_input_repair, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin19,
|
|
13
13
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
14
14
|
});
|
|
15
15
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
|
|
|
18
18
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
19
19
|
var maxDepth = 6;
|
|
20
20
|
var aliases = new Map([["bash", "shell"]]);
|
|
21
|
-
var
|
|
21
|
+
var Plugin19 = define({
|
|
22
22
|
id: "opencode.tool.input.repair",
|
|
23
23
|
effect: (ctx) => Effect.gen(function* () {
|
|
24
24
|
const aliased = new Map;
|
|
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
153
153
|
return compatible ? [repaired] : value;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Plugin19, exports_tool_input_repair };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schedule-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schedule-v1nga6ar.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schedule-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schedule-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service89,
|
|
6
|
+
node93
|
|
7
|
+
} from "./schedule-xdyznakc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service85,
|
|
11
|
+
node89
|
|
12
|
+
} from "./schedule-99t4y4bf.js";
|
|
13
13
|
import {
|
|
14
14
|
Service87,
|
|
15
15
|
node91
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schedule-yrwsf6wc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node63
|
|
20
|
+
} from "./schedule-tcazvbs5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID20,
|
|
23
|
+
Service86,
|
|
24
|
+
node90
|
|
25
|
+
} from "./schedule-tmyd8ntm.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schedule-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
31
|
ID18,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service84,
|
|
34
34
|
node88
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./schedule-5c4h44qf.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make26
|
|
38
|
+
} from "./schedule-49q16kq7.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./schedule-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/mcp/index.ts
|
|
44
44
|
var exports_mcp4 = {};
|
|
45
45
|
__export(exports_mcp4, {
|
|
46
46
|
Mcp: () => exports_mcp4,
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Options: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError6,
|
|
48
|
+
Options: () => Options5,
|
|
49
49
|
PromptsChanged: () => PromptsChanged2,
|
|
50
50
|
Resource: () => Resource2,
|
|
51
51
|
ResourceCatalog: () => ResourceCatalog2,
|
|
52
52
|
ResourceContent: () => ResourceContent2,
|
|
53
53
|
ResourceTemplate: () => ResourceTemplate2,
|
|
54
54
|
ServerName: () => ServerName2,
|
|
55
|
-
Service: () =>
|
|
55
|
+
Service: () => Service42,
|
|
56
56
|
Status: () => Status3,
|
|
57
57
|
ToolCallError: () => ToolCallError2,
|
|
58
|
-
configured: () =>
|
|
59
|
-
layer: () =>
|
|
60
|
-
node: () =>
|
|
58
|
+
configured: () => configured5,
|
|
59
|
+
layer: () => layer18,
|
|
60
|
+
node: () => node46
|
|
61
61
|
});
|
|
62
62
|
import { Mcp } from "@opencode/schema/mcp";
|
|
63
63
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -77,7 +77,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
77
77
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
78
78
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
79
79
|
|
|
80
|
-
class
|
|
80
|
+
class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
81
81
|
server: ServerName2
|
|
82
82
|
}) {
|
|
83
83
|
get message() {
|
|
@@ -110,21 +110,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
110
110
|
var endpointLoads = makeUnsafe2();
|
|
111
111
|
var cloneConfig = (config) => structuredClone(config);
|
|
112
112
|
|
|
113
|
-
class
|
|
113
|
+
class Service42 extends Context.Service()("@opencode/MCP") {
|
|
114
114
|
}
|
|
115
|
-
var
|
|
115
|
+
var Options5 = Schema.Struct({
|
|
116
116
|
clientInfo: Schema.optional(Schema.Struct({
|
|
117
117
|
name: Schema.String,
|
|
118
118
|
version: Schema.String
|
|
119
119
|
}))
|
|
120
120
|
});
|
|
121
|
-
var
|
|
121
|
+
var layer18 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
122
122
|
const location = yield* Service87;
|
|
123
|
-
const environment = yield*
|
|
124
|
-
const bus = yield*
|
|
125
|
-
const forms = yield*
|
|
123
|
+
const environment = yield* Service59;
|
|
124
|
+
const bus = yield* Service89;
|
|
125
|
+
const forms = yield* Service86;
|
|
126
126
|
const integration = yield* Service84;
|
|
127
|
-
const credentials = yield*
|
|
127
|
+
const credentials = yield* Service85;
|
|
128
128
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
129
129
|
const root = yield* Effect.scope;
|
|
130
130
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -155,7 +155,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
155
155
|
method: { id: methodID, type: "oauth", label: name },
|
|
156
156
|
authorize: () => Effect.gen(function* () {
|
|
157
157
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
158
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
158
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service85, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}).pipe(Scope.provide(scope));
|
|
@@ -163,7 +163,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
163
163
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
164
164
|
const entry = entries.get(name);
|
|
165
165
|
if (!entry)
|
|
166
|
-
return yield* new
|
|
166
|
+
return yield* new NotFoundError6({ server: name });
|
|
167
167
|
return entry;
|
|
168
168
|
});
|
|
169
169
|
const connected = Effect.fnUntraced(function* (name) {
|
|
@@ -175,12 +175,12 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
175
175
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
176
176
|
return;
|
|
177
177
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
178
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
178
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service85, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
179
179
|
});
|
|
180
180
|
const elicitation = {
|
|
181
181
|
create: (input) => Effect.gen(function* () {
|
|
182
182
|
if (input.params.mode === "url") {
|
|
183
|
-
const formID =
|
|
183
|
+
const formID = ID20.create();
|
|
184
184
|
const elicitationID = input.params.elicitationId;
|
|
185
185
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
186
186
|
if (key)
|
|
@@ -231,7 +231,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
231
231
|
status: { status: "pending" },
|
|
232
232
|
startup: Latch.makeUnsafe(),
|
|
233
233
|
attempt: { started, settled: Latch.makeUnsafe() },
|
|
234
|
-
connection:
|
|
234
|
+
connection: make26({
|
|
235
235
|
name,
|
|
236
236
|
config,
|
|
237
237
|
directory: location.directory,
|
|
@@ -374,7 +374,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
374
374
|
let closed = false;
|
|
375
375
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
376
376
|
closed = true;
|
|
377
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
377
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
378
378
|
const register = Effect.gen(function* () {
|
|
379
379
|
if (closed) {
|
|
380
380
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -447,7 +447,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
447
447
|
yield* entry.connection.start;
|
|
448
448
|
}).pipe(locks.withLock(name));
|
|
449
449
|
});
|
|
450
|
-
fork(bus.subscribe(
|
|
450
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
451
451
|
const state = create4({
|
|
452
452
|
name: "mcp",
|
|
453
453
|
initial: () => ({
|
|
@@ -473,7 +473,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
473
473
|
}),
|
|
474
474
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service42.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -605,14 +605,14 @@ function mergeCatalogs(catalogs) {
|
|
|
605
605
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
606
606
|
});
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function configured5(options) {
|
|
609
609
|
return makeLocationNode({
|
|
610
|
-
service:
|
|
611
|
-
layer:
|
|
612
|
-
deps: [node91,
|
|
610
|
+
service: Service42,
|
|
611
|
+
layer: layer18(options),
|
|
612
|
+
deps: [node91, node63, node93, node90, node88, node89, httpFetch]
|
|
613
613
|
});
|
|
614
614
|
}
|
|
615
|
-
var
|
|
615
|
+
var node46 = configured5();
|
|
616
616
|
function toElicitationField(key, property, required) {
|
|
617
617
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
618
618
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -663,4 +663,4 @@ function toElicitationField(key, property, required) {
|
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
666
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service42, Options5, layer18, configured5, node46, exports_mcp4 };
|