@opencode/core 0.0.0-dev-1155 → 0.0.0-dev-1160
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 +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +7 -7
- package/dist/artifact.js +245 -245
- package/dist/bus.js +80 -80
- package/dist/chunks/{filesystem-tn1by9h5.js → artifact-02c0ex61.js} +22 -22
- package/dist/chunks/{filesystem-034tev2y.js → artifact-034tev2y.js} +2 -2
- package/dist/chunks/{filesystem-vk0z4zg0.js → artifact-04kzwzc1.js} +30 -30
- package/dist/chunks/{filesystem-7fczfqhg.js → artifact-0ckdceg1.js} +11 -11
- package/dist/chunks/{filesystem-2jt5ssd0.js → artifact-0f3dv0gs.js} +3 -3
- package/dist/chunks/{filesystem-sqjzf8x2.js → artifact-0j7gp832.js} +4 -4
- package/dist/chunks/{filesystem-w8jdb2jn.js → artifact-0jtq3fvr.js} +25 -21
- package/dist/chunks/{filesystem-0ma9gw4f.js → artifact-0ma9gw4f.js} +2 -2
- package/dist/chunks/{filesystem-7f186e6p.js → artifact-0rxwpsvy.js} +12 -12
- package/dist/chunks/{filesystem-ewp531bs.js → artifact-0t26q6b7.js} +17 -17
- package/dist/chunks/{filesystem-exy8xd7k.js → artifact-1474e2zj.js} +11 -11
- package/dist/chunks/{filesystem-svaf9hke.js → artifact-18wc62pj.js} +37 -37
- package/dist/chunks/{filesystem-1aqsckx4.js → artifact-1aqsckx4.js} +1 -1
- package/dist/chunks/{filesystem-1ep2p91f.js → artifact-1ep2p91f.js} +2 -2
- package/dist/chunks/{filesystem-y8wtdb2c.js → artifact-1g6y0mf6.js} +25 -25
- package/dist/chunks/{filesystem-j6xgaej1.js → artifact-1s4ffapx.js} +9 -9
- package/dist/chunks/{filesystem-1x2knyw4.js → artifact-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-p7vhpwh8.js → artifact-1yq9hg58.js} +5 -5
- package/dist/chunks/{filesystem-y4h9vdhr.js → artifact-20efmrtt.js} +11 -10
- package/dist/chunks/{filesystem-pnwsrq7c.js → artifact-233argac.js} +8 -8
- package/dist/chunks/{filesystem-7dc4gc5v.js → artifact-264p0t2y.js} +32 -32
- package/dist/chunks/{filesystem-2fc7eemy.js → artifact-2fc7eemy.js} +1 -1
- package/dist/chunks/{filesystem-16m4fety.js → artifact-2jhysxdn.js} +14 -14
- package/dist/chunks/{filesystem-qhxa6c6a.js → artifact-2m5mhqrs.js} +35 -35
- package/dist/chunks/{filesystem-s1ba0vj0.js → artifact-2p60zmnr.js} +2 -2
- package/dist/chunks/{filesystem-6gpahs7y.js → artifact-2raevjmd.js} +25 -25
- package/dist/chunks/{filesystem-2s9mae96.js → artifact-2s9mae96.js} +3 -3
- package/dist/chunks/{filesystem-90ct6wq4.js → artifact-38aws4xb.js} +4 -4
- package/dist/chunks/{filesystem-3adw4bt5.js → artifact-3adw4bt5.js} +2 -2
- package/dist/chunks/{filesystem-5bcr6264.js → artifact-3fxtadf7.js} +18 -18
- package/dist/chunks/{filesystem-3hepkmqq.js → artifact-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-36tjmfsy.js → artifact-3j8mqv82.js} +4 -4
- package/dist/chunks/{filesystem-77e37j3z.js → artifact-3ryf13m6.js} +32 -32
- package/dist/chunks/{filesystem-j4qxbzz7.js → artifact-3w0rjm0m.js} +14 -14
- package/dist/chunks/{filesystem-cgmxejc8.js → artifact-3z118hk9.js} +26 -26
- package/dist/chunks/{filesystem-w48gbg6x.js → artifact-40cqa2b9.js} +8 -8
- package/dist/chunks/{filesystem-bffnw3zy.js → artifact-40tdsv15.js} +11 -11
- package/dist/chunks/{filesystem-40y6dtc2.js → artifact-40y6dtc2.js} +1 -1
- package/dist/chunks/{filesystem-b0je4vth.js → artifact-43v4czqb.js} +14 -14
- package/dist/chunks/{filesystem-1rncpvfz.js → artifact-43vzn13m.js} +17 -17
- package/dist/chunks/{filesystem-nw8met9v.js → artifact-44mk8x7j.js} +36 -36
- package/dist/chunks/{filesystem-jxd6f16v.js → artifact-44pmzq9c.js} +2 -2
- package/dist/chunks/{filesystem-n3j33rb6.js → artifact-45nqx4xx.js} +4 -4
- package/dist/chunks/{filesystem-kkg2t6c6.js → artifact-49qfyz5b.js} +40 -40
- package/dist/chunks/{filesystem-4dx1dgte.js → artifact-4dx1dgte.js} +1 -1
- package/dist/chunks/{filesystem-bwkfv57n.js → artifact-4e20sn1h.js} +35 -35
- package/dist/chunks/{filesystem-4ydapqmf.js → artifact-4e5e9a1g.js} +7 -7
- package/dist/chunks/{filesystem-4f25tdd0.js → artifact-4f25tdd0.js} +1 -1
- package/dist/chunks/{filesystem-43j7jt16.js → artifact-4pq3fpfx.js} +18 -18
- package/dist/chunks/{filesystem-bex4xsk5.js → artifact-4pw98qd4.js} +4 -4
- package/dist/chunks/{filesystem-4pyp9zr9.js → artifact-4pyp9zr9.js} +1 -1
- package/dist/chunks/{filesystem-53g3ek9f.js → artifact-4rrctd35.js} +19 -19
- package/dist/chunks/{filesystem-4v008n1t.js → artifact-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-apmfn43p.js → artifact-4vkc3k7d.js} +23 -23
- package/dist/chunks/{filesystem-9qxtrk0a.js → artifact-57whc6ny.js} +28 -28
- package/dist/chunks/{filesystem-hww7tg5r.js → artifact-5b5aa2jw.js} +15 -15
- package/dist/chunks/{filesystem-ntnvj5mg.js → artifact-5gs4bz76.js} +7 -7
- package/dist/chunks/{filesystem-mwbh0fme.js → artifact-5j4tkjhg.js} +23 -23
- package/dist/chunks/{filesystem-vzydmz2c.js → artifact-5k907510.js} +14 -14
- package/dist/chunks/{filesystem-5m9w47nd.js → artifact-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-5pah5g87.js → artifact-5p4tdktg.js} +13 -13
- package/dist/chunks/{filesystem-5whx36p1.js → artifact-5whx36p1.js} +1 -1
- package/dist/chunks/{filesystem-2cjx21jp.js → artifact-5xch7mjf.js} +18 -18
- package/dist/chunks/{filesystem-2yzwas0f.js → artifact-60x7fk8z.js} +14 -14
- package/dist/chunks/{filesystem-q7qbye6s.js → artifact-647yme0h.js} +38 -38
- package/dist/chunks/{filesystem-n1q9dan8.js → artifact-65k3emdr.js} +83 -83
- package/dist/chunks/{filesystem-3b3p5y89.js → artifact-6gctgqga.js} +6 -6
- package/dist/chunks/{filesystem-083b6r2x.js → artifact-6j5g2vgz.js} +27 -27
- package/dist/chunks/{filesystem-cjdqh2wj.js → artifact-6nqwz7j1.js} +12 -12
- package/dist/chunks/{filesystem-rm9v0bwn.js → artifact-6rj3k2m9.js} +15 -15
- package/dist/chunks/{filesystem-vwcz1f45.js → artifact-6y2b864j.js} +7 -7
- package/dist/chunks/{filesystem-mz3k47ct.js → artifact-71c2c5hs.js} +3 -3
- package/dist/chunks/{filesystem-ackgvjab.js → artifact-72x4crvt.js} +4 -4
- package/dist/chunks/{filesystem-t48jrnqq.js → artifact-73ff1310.js} +3 -3
- package/dist/chunks/{filesystem-775hqbnd.js → artifact-775hqbnd.js} +3 -3
- package/dist/chunks/{filesystem-fxstjx9a.js → artifact-78pvztrq.js} +10 -10
- package/dist/chunks/{filesystem-7bmhse3q.js → artifact-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-xy63rwa2.js → artifact-7h0xs0hp.js} +5 -5
- package/dist/chunks/{filesystem-h8apfp5a.js → artifact-7qrhgv7p.js} +14 -14
- package/dist/chunks/{filesystem-96xmncfy.js → artifact-7r5k4twv.js} +4 -4
- package/dist/chunks/{filesystem-7w2ypzdf.js → artifact-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-7weczvnd.js → artifact-7weczvnd.js} +1 -1
- package/dist/chunks/{filesystem-68dsae6w.js → artifact-7xpetnea.js} +21 -21
- package/dist/chunks/{filesystem-05rxf7ag.js → artifact-806rt4y4.js} +20 -20
- package/dist/chunks/{filesystem-80pdk984.js → artifact-80pdk984.js} +1 -1
- package/dist/chunks/{filesystem-hh8a7g2z.js → artifact-82pcgh4d.js} +15 -15
- package/dist/chunks/{filesystem-8w95ndt2.js → artifact-8327ns5n.js} +14 -14
- package/dist/chunks/{filesystem-85jq8dht.js → artifact-85jq8dht.js} +1 -1
- package/dist/chunks/{filesystem-r1x3rphc.js → artifact-86jm5z3q.js} +33 -33
- package/dist/chunks/{filesystem-25h84942.js → artifact-8b3vzgkx.js} +4 -4
- package/dist/chunks/{filesystem-gshvyxec.js → artifact-8e6j3mej.js} +5 -5
- package/dist/chunks/{filesystem-14qtwrnd.js → artifact-8fta12y1.js} +28 -28
- package/dist/chunks/{filesystem-9yqjp86x.js → artifact-8jw5dp9j.js} +6 -6
- package/dist/chunks/{filesystem-8kjyvwy5.js → artifact-8kjyvwy5.js} +1 -1
- package/dist/chunks/{filesystem-491q2x3b.js → artifact-8kw7qgcw.js} +19 -19
- package/dist/chunks/{filesystem-8sxe6kv8.js → artifact-8sxe6kv8.js} +2 -2
- package/dist/chunks/{filesystem-qz4vhj1z.js → artifact-8t9m761v.js} +24 -24
- package/dist/chunks/{filesystem-8wtp7s3z.js → artifact-8wtp7s3z.js} +1 -1
- package/dist/chunks/{filesystem-8zv0xmg5.js → artifact-8zv0xmg5.js} +1 -1
- package/dist/chunks/{filesystem-h5chy42v.js → artifact-94e33dpz.js} +3 -3
- package/dist/chunks/{filesystem-h7ccewpy.js → artifact-9epecgcn.js} +3 -3
- package/dist/chunks/{filesystem-n2tfgszc.js → artifact-9gw9aqs8.js} +4 -4
- package/dist/chunks/{filesystem-8xmc89yx.js → artifact-9h5eh5e0.js} +20 -20
- package/dist/chunks/artifact-9j46x3x0.js +26 -0
- package/dist/chunks/{filesystem-ckttgx1m.js → artifact-9mr61ee8.js} +6 -6
- package/dist/chunks/{filesystem-bamve3at.js → artifact-9p9ene4t.js} +37 -37
- package/dist/chunks/{filesystem-kxkzc9ky.js → artifact-9q8kx9fk.js} +24 -24
- package/dist/chunks/{filesystem-2r0xhr37.js → artifact-9sa0shk9.js} +6 -6
- package/dist/chunks/{filesystem-kmekj7m2.js → artifact-9sk33afj.js} +8 -8
- package/dist/chunks/{filesystem-fc74xdpv.js → artifact-9y9y7swd.js} +37 -37
- package/dist/chunks/{filesystem-0php2d2a.js → artifact-a3b331fh.js} +4 -4
- package/dist/chunks/{filesystem-g5a4a3mq.js → artifact-a4qt4a4s.js} +14 -14
- package/dist/chunks/{filesystem-b1azjyxw.js → artifact-acaqa56c.js} +11 -11
- package/dist/chunks/{filesystem-y1jg12an.js → artifact-akefdybj.js} +12 -12
- package/dist/chunks/{filesystem-r2xmn65f.js → artifact-akypj0b9.js} +31 -31
- package/dist/chunks/{filesystem-zqng6tfv.js → artifact-antg4bqe.js} +3 -3
- package/dist/chunks/{filesystem-4gxktgp4.js → artifact-apzzsnfe.js} +25 -25
- package/dist/chunks/artifact-as63jxfa.js +579 -0
- package/dist/chunks/{filesystem-k77faqfm.js → artifact-aw6f51a8.js} +7 -7
- package/dist/chunks/{filesystem-06kr05p9.js → artifact-aw9514am.js} +35 -35
- package/dist/chunks/{filesystem-nwda1bfv.js → artifact-ayc9a65f.js} +27 -27
- package/dist/chunks/{filesystem-ayjs7tqn.js → artifact-ayjs7tqn.js} +2 -2
- package/dist/chunks/{filesystem-t190ewm6.js → artifact-ayztxjxn.js} +7 -7
- package/dist/chunks/{filesystem-kq4fnwb1.js → artifact-azqdag7d.js} +4 -4
- package/dist/chunks/{filesystem-g4txs7zc.js → artifact-b26ddj6h.js} +4 -4
- package/dist/chunks/{filesystem-zq6pgs90.js → artifact-b420jaw5.js} +172 -172
- package/dist/chunks/{filesystem-hwpa77gc.js → artifact-b5wdmnh8.js} +82 -82
- package/dist/chunks/{filesystem-b6cq1fvz.js → artifact-b6cq1fvz.js} +1 -1
- package/dist/chunks/{filesystem-czmwpxsy.js → artifact-b6zb91a5.js} +21 -21
- package/dist/chunks/{filesystem-be4x5m7x.js → artifact-b94vdhbj.js} +15 -15
- package/dist/chunks/{filesystem-9fcfg85h.js → artifact-b9anm1xp.js} +12 -12
- package/dist/chunks/{filesystem-h6e51344.js → artifact-bcvjw6qa.js} +10 -10
- package/dist/chunks/{filesystem-xtq9xpt1.js → artifact-bdv8sqrq.js} +1 -1
- package/dist/chunks/{filesystem-c9z1d5hy.js → artifact-bgem63zx.js} +9 -9
- package/dist/chunks/{filesystem-2ns59sfh.js → artifact-bqt0dhpz.js} +10 -10
- package/dist/chunks/{filesystem-b62sbhp2.js → artifact-bsfkzme1.js} +9 -9
- package/dist/chunks/{filesystem-bstexjd6.js → artifact-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-yhx801ee.js → artifact-bw93rdkt.js} +5 -5
- package/dist/chunks/{filesystem-r0jx365g.js → artifact-cjr4q7pe.js} +11 -11
- package/dist/chunks/{filesystem-9y4ybsjj.js → artifact-cn0pwtj6.js} +21 -21
- package/dist/chunks/{filesystem-csxpn9yn.js → artifact-cndqxqvv.js} +3 -3
- package/dist/chunks/{filesystem-8dfptpqb.js → artifact-cpe35zww.js} +4 -4
- package/dist/chunks/{filesystem-bhfd478d.js → artifact-cr4rfj9z.js} +4 -4
- package/dist/chunks/{filesystem-he2040d4.js → artifact-ctakbg92.js} +10 -10
- package/dist/chunks/{filesystem-v15cxm8r.js → artifact-cwny0gab.js} +18 -18
- package/dist/chunks/{filesystem-cwrgdav8.js → artifact-cwrgdav8.js} +2 -2
- package/dist/chunks/{filesystem-d4v9tmah.js → artifact-d4v9tmah.js} +2 -2
- package/dist/chunks/{filesystem-rge58vnh.js → artifact-deedtsgw.js} +20 -20
- package/dist/chunks/{filesystem-79dx1dc6.js → artifact-dfcfxt49.js} +5 -5
- package/dist/chunks/{filesystem-8wdkt6y0.js → artifact-dhz03b8x.js} +6 -6
- package/dist/chunks/{filesystem-aq906svt.js → artifact-dm4r89tv.js} +6 -6
- package/dist/chunks/{filesystem-dt77769w.js → artifact-dt77769w.js} +1 -1
- package/dist/chunks/{filesystem-b1x243mb.js → artifact-dxn1kbab.js} +20 -20
- package/dist/chunks/{filesystem-23mseg9w.js → artifact-e064f1tk.js} +10 -10
- package/dist/chunks/{filesystem-5r3dv39m.js → artifact-e6gdjryt.js} +48 -48
- package/dist/chunks/{filesystem-3fzw2dgx.js → artifact-ea805a1b.js} +13 -13
- package/dist/chunks/{filesystem-qfsm01t2.js → artifact-ehctwz08.js} +32 -32
- package/dist/chunks/{filesystem-eqw4pqj1.js → artifact-eqw4pqj1.js} +2 -2
- package/dist/chunks/{filesystem-q3n6jbga.js → artifact-ex4fcp24.js} +50 -50
- package/dist/chunks/{filesystem-k8tgqm9f.js → artifact-eyn2edbb.js} +22 -22
- package/dist/chunks/{filesystem-2d5vwg09.js → artifact-f657v9f8.js} +5 -5
- package/dist/chunks/{filesystem-thkr7sfr.js → artifact-f65k4wkf.js} +9 -9
- package/dist/chunks/{filesystem-s5zrq09q.js → artifact-fc93665r.js} +8 -8
- package/dist/chunks/{filesystem-324k4kgm.js → artifact-fewvq49v.js} +3 -3
- package/dist/chunks/{filesystem-fg9p65nk.js → artifact-fg9p65nk.js} +2 -2
- package/dist/chunks/{filesystem-z9tq0y3w.js → artifact-fnp1rzs3.js} +15 -15
- package/dist/chunks/{filesystem-8cxxjpvd.js → artifact-ftfkf3rb.js} +28 -28
- package/dist/chunks/{filesystem-1xjver7d.js → artifact-fwc5tj9a.js} +4 -4
- package/dist/chunks/{filesystem-tf77d83d.js → artifact-fymmbvsk.js} +31 -31
- package/dist/chunks/{filesystem-pp3k6pe8.js → artifact-fz19w3pv.js} +23 -23
- package/dist/chunks/{filesystem-j26j1va9.js → artifact-g0bj5f5k.js} +9 -9
- package/dist/chunks/{filesystem-dpcxbnzm.js → artifact-g93mgb8f.js} +7 -7
- package/dist/chunks/{filesystem-ft91cex6.js → artifact-gan0sd8d.js} +13 -13
- package/dist/chunks/{filesystem-gbjdnr5j.js → artifact-gbjdnr5j.js} +2 -2
- package/dist/chunks/{filesystem-ghrv1g9c.js → artifact-ghrv1g9c.js} +1 -1
- package/dist/chunks/{filesystem-qkaww9q1.js → artifact-gmnjbjrr.js} +11 -11
- package/dist/chunks/{filesystem-j1ftk7bn.js → artifact-gts0kp74.js} +15 -15
- package/dist/chunks/{filesystem-6vcwkhp6.js → artifact-hfpan1nm.js} +23 -23
- package/dist/chunks/{filesystem-hgzwgvze.js → artifact-hgzwgvze.js} +2 -2
- package/dist/chunks/{filesystem-ahhdqv1f.js → artifact-hhbpktfh.js} +11 -11
- package/dist/chunks/{filesystem-vjhrddsw.js → artifact-hj0xet7m.js} +5 -5
- package/dist/chunks/{filesystem-txgc4ptp.js → artifact-hnpasp3t.js} +16 -16
- package/dist/chunks/{filesystem-sdn2zcx3.js → artifact-hretfjjx.js} +2 -2
- package/dist/chunks/{filesystem-1tcdzert.js → artifact-ht55f48q.js} +9 -9
- package/dist/chunks/{filesystem-160yv0cs.js → artifact-hy8c1z76.js} +8 -8
- package/dist/chunks/{filesystem-gx76kxxn.js → artifact-j145syf3.js} +11 -11
- package/dist/chunks/{filesystem-96yvqpwb.js → artifact-j1g9t5xr.js} +11 -11
- package/dist/chunks/{filesystem-j9nxzz3g.js → artifact-j9nxzz3g.js} +3 -3
- package/dist/chunks/{filesystem-94n1qn39.js → artifact-jf50cy3q.js} +1 -1
- package/dist/chunks/{filesystem-04tq37rg.js → artifact-jfv8a9st.js} +43 -43
- package/dist/chunks/{filesystem-xdmazz3w.js → artifact-jhstt8fg.js} +32 -32
- package/dist/chunks/{filesystem-tb2mrvc9.js → artifact-jjvvtnfs.js} +4 -4
- package/dist/chunks/{filesystem-7ynxdpkt.js → artifact-jk7e9neq.js} +59 -59
- package/dist/chunks/{filesystem-jm70asfg.js → artifact-jm70asfg.js} +1 -1
- package/dist/chunks/{filesystem-5fc8hcg9.js → artifact-k37eb1q0.js} +27 -27
- package/dist/chunks/{filesystem-kj9n5bvh.js → artifact-k46dd5bg.js} +4 -4
- package/dist/chunks/{filesystem-xgjg0k83.js → artifact-k5mtyqzx.js} +12 -12
- package/dist/chunks/{filesystem-tr6gb3ke.js → artifact-k65axkye.js} +23 -23
- package/dist/chunks/{filesystem-ycyeq6c3.js → artifact-k9r7xfyp.js} +23 -23
- package/dist/chunks/{filesystem-8xz27cp9.js → artifact-kbgs7tyr.js} +4 -4
- package/dist/chunks/{filesystem-tjpnqare.js → artifact-kk3c4q94.js} +17 -17
- package/dist/chunks/{filesystem-kr8bp0nb.js → artifact-km4wax8y.js} +5 -5
- package/dist/chunks/{filesystem-6j19asys.js → artifact-kt1dw84r.js} +42 -42
- package/dist/chunks/{filesystem-kt3bjfbg.js → artifact-kt3bjfbg.js} +1 -1
- package/dist/chunks/{filesystem-3v1jab5g.js → artifact-kwf1y8xr.js} +7 -7
- package/dist/chunks/{filesystem-ykvbdmjf.js → artifact-kxebhyq2.js} +12 -12
- package/dist/chunks/{filesystem-z1ma5m5g.js → artifact-kxg1ygsa.js} +7 -7
- package/dist/chunks/{filesystem-kzczzf4v.js → artifact-kzczzf4v.js} +1 -1
- package/dist/chunks/{filesystem-0kgbgg4w.js → artifact-kzrpns2f.js} +5 -5
- package/dist/chunks/{filesystem-m1714858.js → artifact-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-tc7r93jj.js → artifact-m1k08jdz.js} +8 -8
- package/dist/chunks/artifact-m4arerzb.js +273 -0
- package/dist/chunks/{filesystem-m90tx7mw.js → artifact-m90tx7mw.js} +1 -1
- package/dist/chunks/{filesystem-3w4j854v.js → artifact-m95baxz6.js} +10 -10
- package/dist/chunks/{filesystem-m9w0rfyh.js → artifact-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-mb7mbhnz.js → artifact-mb7mbhnz.js} +3 -3
- package/dist/chunks/{filesystem-qp2996hh.js → artifact-mbhm97dq.js} +5 -5
- package/dist/chunks/{filesystem-ay2fkrah.js → artifact-mg5dczf6.js} +33 -33
- package/dist/chunks/{filesystem-mf0kks93.js → artifact-mgbwt80z.js} +20 -20
- package/dist/chunks/{filesystem-b9d5jw54.js → artifact-mm5gj6xt.js} +15 -15
- package/dist/chunks/{filesystem-g6aam94y.js → artifact-mqt7ca4d.js} +29 -29
- package/dist/chunks/{filesystem-0h86f0az.js → artifact-msd2a3qm.js} +4 -4
- package/dist/chunks/{filesystem-c57y1876.js → artifact-mxv6bzth.js} +20 -20
- package/dist/chunks/{filesystem-kxdwvqnx.js → artifact-myzyq36z.js} +25 -25
- package/dist/chunks/{filesystem-cgfra67r.js → artifact-mzz2s01e.js} +16 -16
- package/dist/chunks/{filesystem-z6p3htzk.js → artifact-n43j43cz.js} +11 -11
- package/dist/chunks/{filesystem-zf9mw93b.js → artifact-n67ph10p.js} +20 -20
- package/dist/chunks/{filesystem-mpq3970x.js → artifact-n7yajzb8.js} +17 -12
- package/dist/chunks/{filesystem-gzm4ykdm.js → artifact-nbmvwsf0.js} +26 -26
- package/dist/chunks/{filesystem-1y1at900.js → artifact-nnssfytz.js} +13 -13
- package/dist/chunks/{filesystem-6q8jj3zs.js → artifact-nv2c5e9q.js} +3 -3
- package/dist/chunks/{filesystem-bvhssps7.js → artifact-p2v98t4x.js} +26 -26
- package/dist/chunks/{filesystem-rbg54dp1.js → artifact-p76me67c.js} +4 -4
- package/dist/chunks/{filesystem-963hk181.js → artifact-p8gw9ma4.js} +9 -9
- package/dist/chunks/{filesystem-3smzfgkv.js → artifact-pcjw52zr.js} +8 -8
- package/dist/chunks/{filesystem-pknna89w.js → artifact-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-sh6sjrys.js → artifact-pwa1wgnm.js} +2 -2
- package/dist/chunks/{filesystem-kx57agve.js → artifact-q81qcwcm.js} +15 -15
- package/dist/chunks/{filesystem-hpsk3ppz.js → artifact-qehdxahc.js} +13 -13
- package/dist/chunks/{filesystem-qk5sk9d1.js → artifact-qk5sk9d1.js} +2 -2
- package/dist/chunks/artifact-qmh7vbk2.js +18 -0
- package/dist/chunks/{filesystem-0zz2bnr1.js → artifact-qnmyavxt.js} +15 -15
- package/dist/chunks/{filesystem-qp7r0hxv.js → artifact-qp7r0hxv.js} +1 -1
- package/dist/chunks/{filesystem-madhs7qf.js → artifact-qqma7h8j.js} +5 -5
- package/dist/chunks/{filesystem-r17fbvme.js → artifact-r17fbvme.js} +1 -1
- package/dist/chunks/{filesystem-444evg8n.js → artifact-r19y596t.js} +36 -36
- package/dist/chunks/{filesystem-0x2ag7me.js → artifact-r243yq8g.js} +90 -90
- package/dist/chunks/{filesystem-1zd29w7p.js → artifact-r8fh2jpt.js} +6 -6
- package/dist/chunks/{filesystem-9zz91ck0.js → artifact-r8wdxc5g.js} +15 -15
- package/dist/chunks/{filesystem-gfgvxw2h.js → artifact-r9dc1rae.js} +1 -1
- package/dist/chunks/{filesystem-6er1m856.js → artifact-rab2bcv9.js} +35 -35
- package/dist/chunks/{filesystem-rb9dy4dg.js → artifact-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-1ef5n38d.js → artifact-rebmbcc3.js} +22 -22
- package/dist/chunks/{filesystem-mnx4hk0n.js → artifact-rfjgdve0.js} +5 -5
- package/dist/chunks/{filesystem-rgc9cx3e.js → artifact-rgc9cx3e.js} +2 -2
- package/dist/chunks/{filesystem-px7qpgcn.js → artifact-rj7j5fvs.js} +4 -4
- package/dist/chunks/{filesystem-hv4b246c.js → artifact-s0z7wk13.js} +10 -10
- package/dist/chunks/{filesystem-c1bfpsqy.js → artifact-s4kyhetj.js} +6 -6
- package/dist/chunks/{filesystem-79f5ryf5.js → artifact-s9f42fk4.js} +18 -18
- package/dist/chunks/{filesystem-sbya78hr.js → artifact-sbya78hr.js} +1 -1
- package/dist/chunks/{filesystem-9y2szkpc.js → artifact-sttdw4zn.js} +19 -19
- package/dist/chunks/{filesystem-svcy3p9a.js → artifact-svcy3p9a.js} +1 -1
- package/dist/chunks/{filesystem-jngkd2xt.js → artifact-swegy6z1.js} +26 -26
- package/dist/chunks/{filesystem-wedze56r.js → artifact-sz1edn5d.js} +21 -21
- package/dist/chunks/{filesystem-21f92tpx.js → artifact-szy4fdat.js} +9 -7
- package/dist/chunks/{filesystem-pg8c6wdy.js → artifact-t099cm6r.js} +23 -23
- package/dist/chunks/{filesystem-kwf3mc6b.js → artifact-t3n9er9s.js} +4 -4
- package/dist/chunks/{filesystem-jv5ccajn.js → artifact-t8erkws8.js} +5 -5
- package/dist/chunks/{filesystem-1d41vqxy.js → artifact-t9gb34a7.js} +30 -30
- package/dist/chunks/{filesystem-vnt99xy7.js → artifact-tbcde4t6.js} +2 -2
- package/dist/chunks/{filesystem-tbpn7jtk.js → artifact-tbpn7jtk.js} +1 -1
- package/dist/chunks/{filesystem-tczq8hjw.js → artifact-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-00j42c4a.js → artifact-teb3ve52.js} +21 -21
- package/dist/chunks/{filesystem-tg7s7b5t.js → artifact-tg7s7b5t.js} +1 -1
- package/dist/chunks/{filesystem-3nnrz6f6.js → artifact-tmc7xdjs.js} +4 -4
- package/dist/chunks/{filesystem-fwke0v11.js → artifact-tnc80t1e.js} +19 -19
- package/dist/chunks/{filesystem-j376ae4e.js → artifact-tr8x705m.js} +5 -5
- package/dist/chunks/{filesystem-h8bg152s.js → artifact-trjt0t8h.js} +12 -12
- package/dist/chunks/{filesystem-0fn5ab0k.js → artifact-try2fr5n.js} +32 -30
- package/dist/chunks/{filesystem-tvtps2q9.js → artifact-tvtps2q9.js} +1 -1
- package/dist/chunks/{filesystem-wn6h1xmg.js → artifact-twgrq4m5.js} +55 -55
- package/dist/chunks/{filesystem-twssxy5n.js → artifact-twssxy5n.js} +2 -2
- package/dist/chunks/{filesystem-wxgjsayh.js → artifact-txjws9vm.js} +11 -11
- package/dist/chunks/{filesystem-mnmjr1v5.js → artifact-v029fqrh.js} +15 -15
- package/dist/chunks/{filesystem-w83qxrsc.js → artifact-v075gkex.js} +10 -10
- package/dist/chunks/{filesystem-v2r1d0zg.js → artifact-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-b62kntzp.js → artifact-v63gc08e.js} +34 -34
- package/dist/chunks/{filesystem-mpp1y76d.js → artifact-va6zax5a.js} +16 -16
- package/dist/chunks/{filesystem-q50958an.js → artifact-vj1dqaf1.js} +4 -4
- package/dist/chunks/{filesystem-vjf35v1f.js → artifact-vjf35v1f.js} +1 -1
- package/dist/chunks/{filesystem-vq0qa3sh.js → artifact-vq0qa3sh.js} +2 -2
- package/dist/chunks/{filesystem-ekhvmsd2.js → artifact-vre17ymf.js} +9 -9
- package/dist/chunks/{filesystem-pa971bt4.js → artifact-vzfbpz3r.js} +8 -8
- package/dist/chunks/{filesystem-rh3ncdjm.js → artifact-vzp3b6f4.js} +6 -6
- package/dist/chunks/{filesystem-r41sfy63.js → artifact-w2eysc6j.js} +6 -6
- package/dist/chunks/{filesystem-bydyckw6.js → artifact-w3kqxh3r.js} +3 -3
- package/dist/chunks/{filesystem-w3wsvvr9.js → artifact-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-9q8g9sv8.js → artifact-w79nt68w.js} +4 -4
- package/dist/chunks/{filesystem-12a87htm.js → artifact-w7j3r3wx.js} +8 -8
- package/dist/chunks/{filesystem-0srmv9a7.js → artifact-w9qjtkgs.js} +28 -28
- package/dist/chunks/{filesystem-wakvkjy4.js → artifact-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → artifact-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-wegkxhrn.js → artifact-wegkxhrn.js} +2 -2
- package/dist/chunks/{filesystem-pk5ktw9t.js → artifact-wjewpfas.js} +51 -51
- package/dist/chunks/{filesystem-wr3re1en.js → artifact-wr3re1en.js} +1 -1
- package/dist/chunks/{filesystem-c7cw818c.js → artifact-wt99tj4q.js} +5 -5
- package/dist/chunks/{filesystem-hn0c49ha.js → artifact-x0eh2d57.js} +3 -3
- package/dist/chunks/{filesystem-gbetm1xc.js → artifact-x349bq58.js} +2 -2
- package/dist/chunks/{filesystem-0ty7x2vf.js → artifact-x6j9m3yt.js} +34 -34
- package/dist/chunks/{filesystem-jycw55y7.js → artifact-x96fzmm9.js} +4 -4
- package/dist/chunks/{filesystem-txdz8mmb.js → artifact-x9cv853t.js} +8 -8
- package/dist/chunks/{filesystem-nw3gtmag.js → artifact-x9tv78nz.js} +7 -7
- package/dist/chunks/{filesystem-nc4bhxkd.js → artifact-xmgcwdtx.js} +16 -16
- package/dist/chunks/{filesystem-3ryz99p0.js → artifact-xmx7xj34.js} +4 -4
- package/dist/chunks/{filesystem-s8kfvqtc.js → artifact-xrkctsmz.js} +6 -6
- package/dist/chunks/{filesystem-8ws1cnew.js → artifact-xv6863rp.js} +4 -4
- package/dist/chunks/{filesystem-xjr6c8m4.js → artifact-xxschbft.js} +4 -4
- package/dist/chunks/{filesystem-9jer5kqh.js → artifact-y5x6f4p0.js} +10 -10
- package/dist/chunks/{filesystem-yb20nhc3.js → artifact-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-hs74eps7.js → artifact-ydmcmdjh.js} +11 -11
- package/dist/chunks/{filesystem-x645n76j.js → artifact-yh2c67qe.js} +23 -23
- package/dist/chunks/{filesystem-wd8c1es6.js → artifact-ynssshth.js} +51 -51
- package/dist/chunks/{filesystem-k2r0m066.js → artifact-yq7mctn7.js} +14 -14
- package/dist/chunks/{filesystem-ffvvmdd5.js → artifact-yqfnxatp.js} +5 -5
- package/dist/chunks/{filesystem-yr705xyq.js → artifact-yr705xyq.js} +1 -1
- package/dist/chunks/{filesystem-5xkprpgc.js → artifact-yrk1s0vp.js} +15 -15
- package/dist/chunks/{filesystem-14q26q0h.js → artifact-ystdygj7.js} +16 -16
- package/dist/chunks/{filesystem-yvtc2x31.js → artifact-yvtc2x31.js} +1 -1
- package/dist/chunks/{filesystem-cs92ehcm.js → artifact-z76t31gv.js} +8 -8
- package/dist/chunks/{filesystem-x82r7ffc.js → artifact-z97pvm04.js} +21 -21
- package/dist/chunks/{filesystem-a2c7ns4r.js → artifact-z9ztrqkp.js} +8 -8
- package/dist/chunks/{filesystem-3s9hkh01.js → artifact-za2jxha2.js} +2 -2
- package/dist/chunks/{filesystem-gatcy5wf.js → artifact-zbvsv6wh.js} +4 -4
- package/dist/chunks/{filesystem-dsxe3vjz.js → artifact-zcnch7vt.js} +11 -11
- package/dist/chunks/{filesystem-5fjyrr2e.js → artifact-zded71tf.js} +18 -18
- package/dist/chunks/{filesystem-w5r8nw58.js → artifact-zf9j8kdz.js} +18 -18
- package/dist/chunks/{filesystem-by8ty0bx.js → artifact-zpdbqgja.js} +4 -4
- package/dist/chunks/{filesystem-fmvrz9hx.js → artifact-zq0s0g8r.js} +54 -54
- package/dist/chunks/{filesystem-2cpdbpj8.js → artifact-zspd4snv.js} +16 -16
- package/dist/chunks/{filesystem-7yv86tzv.js → artifact-zw007y5g.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +245 -245
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +76 -76
- 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 +105 -105
- package/dist/effect/app-node-builder.js +442 -442
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +81 -81
- package/dist/file-access.js +161 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +2 -2
- 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 +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +136 -136
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- 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 +433 -433
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +92 -92
- 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 +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +430 -430
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +158 -158
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- 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 +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +246 -246
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +411 -411
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +150 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +134 -134
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- 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 +4 -4
- 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 +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +114 -114
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- 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 +1 -1
- 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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +110 -110
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +141 -141
- package/dist/plugin/provider/local.js +138 -138
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +141 -141
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +136 -136
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- 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 +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +132 -132
- package/dist/plugin/provider/vllm.js +141 -141
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +240 -240
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +153 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +421 -421
- 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 +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- 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 +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +99 -99
- 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 +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +251 -251
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +176 -176
- package/dist/session/context.js +206 -206
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +269 -269
- package/dist/session/execution.js +170 -170
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +151 -151
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +147 -147
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +172 -172
- package/dist/session/projector.js +147 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +259 -259
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +190 -190
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +153 -153
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +238 -238
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +252 -252
- package/dist/session/usage.js +1 -1
- package/dist/session.js +248 -248
- 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 +149 -149
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +160 -160
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +241 -241
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +175 -175
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +252 -252
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +257 -257
- package/dist/tool/plugin/shell.js +244 -244
- package/dist/tool/plugin/skill.js +161 -161
- package/dist/tool/plugin/subagent.js +241 -241
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +159 -159
- package/dist/tool/plugin/websearch.js +159 -159
- package/dist/tool/plugin/write.js +172 -172
- package/dist/tool/read-filesystem.js +114 -114
- 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 +164 -164
- package/dist/types/plugin/provider/local.d.ts +2 -0
- package/dist/usage-limits.js +100 -100
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- 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/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/filesystem-1ywg999t.js +0 -273
- package/dist/chunks/filesystem-4n5cstwr.js +0 -579
- package/dist/chunks/filesystem-f8ma18fn.js +0 -18
- package/dist/chunks/filesystem-kwjwsaah.js +0 -26
- /package/dist/chunks/{filesystem-0qkdqm5v.js → artifact-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → artifact-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → artifact-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → artifact-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kah00gy.js → artifact-1kah00gy.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → artifact-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → artifact-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → artifact-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → artifact-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → artifact-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → artifact-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → artifact-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4qk9sjk2.js → artifact-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → artifact-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-5w3e23ze.js → artifact-5w3e23ze.js} +0 -0
- /package/dist/chunks/{filesystem-6agm2x70.js → artifact-6agm2x70.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → artifact-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → artifact-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → artifact-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → artifact-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-7rvsyqjv.js → artifact-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → artifact-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → artifact-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → artifact-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → artifact-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → artifact-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → artifact-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → artifact-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → artifact-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → artifact-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-beh6qq61.js → artifact-beh6qq61.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → artifact-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → artifact-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → artifact-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cqv5kn06.js → artifact-cqv5kn06.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → artifact-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → artifact-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → artifact-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → artifact-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → artifact-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → artifact-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-ean2d8b5.js → artifact-ean2d8b5.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → artifact-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → artifact-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → artifact-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → artifact-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → artifact-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → artifact-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fkpq3x5p.js → artifact-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → artifact-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → artifact-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → artifact-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → artifact-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → artifact-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → artifact-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → artifact-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → artifact-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → artifact-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jwr30sdr.js → artifact-jwr30sdr.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → artifact-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → artifact-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → artifact-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → artifact-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → artifact-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → artifact-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-nh4v3znn.js → artifact-nh4v3znn.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → artifact-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-p71gwv9c.js → artifact-p71gwv9c.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → artifact-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → artifact-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → artifact-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → artifact-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → artifact-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → artifact-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → artifact-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → artifact-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → artifact-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-syrav9an.js → artifact-syrav9an.js} +0 -0
- /package/dist/chunks/{filesystem-t03h4f5z.js → artifact-t03h4f5z.js} +0 -0
- /package/dist/chunks/{filesystem-ty7weeps.js → artifact-ty7weeps.js} +0 -0
- /package/dist/chunks/{filesystem-v2dnd5dt.js → artifact-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → artifact-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-vtarvj67.js → artifact-vtarvj67.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → artifact-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → artifact-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → artifact-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → artifact-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x4th4bpe.js → artifact-x4th4bpe.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → artifact-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → artifact-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → artifact-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → artifact-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → artifact-z9919s4g.js} +0 -0
- /package/dist/chunks/{filesystem-zxpyjp51.js → artifact-zxpyjp51.js} +0 -0
- /package/dist/chunks/{filesystem-zz5vv3aq.js → artifact-zz5vv3aq.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID20,
|
|
3
3
|
Service88,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./artifact-0t26q6b7.js";
|
|
6
6
|
import {
|
|
7
7
|
isAISDK2,
|
|
8
8
|
packageName2,
|
|
9
9
|
mergeOverlay2,
|
|
10
10
|
mergeHeaders2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./artifact-m90tx7mw.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
loadPackage2,
|
|
@@ -17,24 +17,24 @@ import {
|
|
|
17
17
|
timeout2,
|
|
18
18
|
timeouts2,
|
|
19
19
|
encoding2,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service84,
|
|
21
|
+
node86
|
|
22
|
+
} from "./artifact-0jtq3fvr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service55,
|
|
25
|
+
node56
|
|
26
|
+
} from "./artifact-cjr4q7pe.js";
|
|
27
27
|
import {
|
|
28
28
|
ID16,
|
|
29
29
|
VariantID2,
|
|
30
30
|
Ref3,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
Service83,
|
|
32
|
+
node85,
|
|
33
33
|
supportsText2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./artifact-k65axkye.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./artifact-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/model-resolver.ts
|
|
40
40
|
var exports_model_resolver = {};
|
|
@@ -43,15 +43,15 @@ __export(exports_model_resolver, {
|
|
|
43
43
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
44
44
|
ModelInitializationError: () => ModelInitializationError2,
|
|
45
45
|
ModelResolver: () => exports_model_resolver,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service54,
|
|
47
47
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
48
48
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
49
49
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
50
50
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
51
51
|
fromCatalogModel: () => fromCatalogModel2,
|
|
52
52
|
hasPackage: () => hasPackage2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer21,
|
|
54
|
+
node: () => node55,
|
|
55
55
|
resolveModel: () => resolveModel3,
|
|
56
56
|
withVariant: () => withVariant2
|
|
57
57
|
});
|
|
@@ -131,7 +131,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
class
|
|
134
|
+
class Service54 extends Context.Service()("@opencode/ModelResolver") {
|
|
135
135
|
}
|
|
136
136
|
var withVariant2 = (model, variantID) => {
|
|
137
137
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -310,19 +310,19 @@ var causeMessage = (cause) => {
|
|
|
310
310
|
};
|
|
311
311
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
312
312
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
313
|
-
var
|
|
314
|
-
const providers = yield*
|
|
315
|
-
const models = yield*
|
|
313
|
+
var layer21 = Layer.effect(Service54, Effect.gen(function* () {
|
|
314
|
+
const providers = yield* Service84;
|
|
315
|
+
const models = yield* Service83;
|
|
316
316
|
const integrations = yield* Service88;
|
|
317
317
|
const npm = yield* Npm.Service;
|
|
318
|
-
const aisdk = yield*
|
|
318
|
+
const aisdk = yield* Service55;
|
|
319
319
|
const dependencies = {
|
|
320
320
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
321
321
|
loadAISDK: (model) => aisdk.model(model)
|
|
322
322
|
};
|
|
323
323
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
324
324
|
const provider = yield* providers.get(selected.providerID);
|
|
325
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
325
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID20.make(selected.providerID));
|
|
326
326
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
327
327
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
328
328
|
const runtimeInfo = {
|
|
@@ -355,8 +355,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
355
355
|
const info = (yield* models.available([type])).find((model) => model.providerID === ref.providerID && model.id === ref.id);
|
|
356
356
|
if (!info)
|
|
357
357
|
return;
|
|
358
|
-
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
359
|
-
|
|
358
|
+
const { provider, credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
359
|
+
const keyless = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package);
|
|
360
|
+
return yield* fromCatalogMedia(keyless ? { ...runtimeInfo, settings: { ...runtimeInfo.settings, apiKey: false } } : runtimeInfo, is, credential, dependencies);
|
|
360
361
|
});
|
|
361
362
|
const fallback = Effect.fn("ModelResolver.fallback")(function* () {
|
|
362
363
|
const model = yield* models.default();
|
|
@@ -364,7 +365,7 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
364
365
|
return model;
|
|
365
366
|
return (yield* models.available()).find((model) => hasPackage2(model) && supportsText2(model));
|
|
366
367
|
});
|
|
367
|
-
return
|
|
368
|
+
return Service54.of({
|
|
368
369
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
369
370
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* fallback();
|
|
370
371
|
if (!selected)
|
|
@@ -413,6 +414,7 @@ var API_KEY_AUTH_PACKAGES = new Set([
|
|
|
413
414
|
"@opencode/ai/providers/deepseek",
|
|
414
415
|
"@opencode/ai/providers/fireworks",
|
|
415
416
|
"@opencode/ai/providers/openai-compatible",
|
|
417
|
+
"@opencode/ai/providers/openai-compatible/decisions",
|
|
416
418
|
"@opencode/ai/providers/google",
|
|
417
419
|
"@opencode/ai/providers/google/interactions",
|
|
418
420
|
"@opencode/ai/providers/groq",
|
|
@@ -429,10 +431,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
429
431
|
return false;
|
|
430
432
|
return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
|
|
431
433
|
}
|
|
432
|
-
var
|
|
433
|
-
service:
|
|
434
|
-
layer:
|
|
435
|
-
deps: [
|
|
434
|
+
var node55 = makeLocationNode({
|
|
435
|
+
service: Service54,
|
|
436
|
+
layer: layer21,
|
|
437
|
+
deps: [node86, node85, node90, Npm.node, node56]
|
|
436
438
|
});
|
|
437
439
|
|
|
438
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
440
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer21, node55, exports_model_resolver };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./artifact-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service93,
|
|
6
6
|
node95
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./artifact-7r5k4twv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event21,
|
|
10
|
+
Service92,
|
|
11
|
+
node94
|
|
12
|
+
} from "./artifact-ftfkf3rb.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service85,
|
|
15
|
+
node87
|
|
16
|
+
} from "./artifact-3w0rjm0m.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node70
|
|
20
|
+
} from "./artifact-806rt4y4.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID21,
|
|
23
|
+
Service89,
|
|
24
|
+
node91
|
|
25
|
+
} from "./artifact-k9r7xfyp.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./artifact-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID20,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service88,
|
|
34
34
|
node90
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./artifact-0t26q6b7.js";
|
|
36
36
|
import {
|
|
37
37
|
make27
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./artifact-rfjgdve0.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
Service45,
|
|
41
41
|
key2,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node48
|
|
43
|
+
} from "./artifact-va6zax5a.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./artifact-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/mcp/index.ts
|
|
49
49
|
var exports_mcp4 = {};
|
|
50
50
|
__export(exports_mcp4, {
|
|
51
51
|
Mcp: () => exports_mcp4,
|
|
52
52
|
NotFoundError: () => NotFoundError5,
|
|
53
|
-
Options: () =>
|
|
53
|
+
Options: () => Options3,
|
|
54
54
|
PromptsChanged: () => PromptsChanged2,
|
|
55
55
|
Resource: () => Resource2,
|
|
56
56
|
ResourceCatalog: () => ResourceCatalog2,
|
|
57
57
|
ResourceContent: () => ResourceContent2,
|
|
58
58
|
ResourceTemplate: () => ResourceTemplate2,
|
|
59
59
|
ServerName: () => ServerName2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service43,
|
|
61
61
|
Status: () => Status3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
|
-
configured: () =>
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
63
|
+
configured: () => configured3,
|
|
64
|
+
layer: () => layer17,
|
|
65
|
+
node: () => node46
|
|
66
66
|
});
|
|
67
67
|
import { Mcp } from "@opencode/schema/mcp";
|
|
68
68
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -128,23 +128,23 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
128
128
|
var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
|
|
129
129
|
var cloneConfig = (config) => structuredClone(config);
|
|
130
130
|
|
|
131
|
-
class
|
|
131
|
+
class Service43 extends Context.Service()("@opencode/MCP") {
|
|
132
132
|
}
|
|
133
|
-
var
|
|
133
|
+
var Options3 = Schema.Struct({
|
|
134
134
|
clientInfo: Schema.optional(Schema.Struct({
|
|
135
135
|
name: Schema.String,
|
|
136
136
|
version: Schema.String
|
|
137
137
|
}))
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const location = yield*
|
|
141
|
-
const environment = yield*
|
|
139
|
+
var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
140
|
+
const location = yield* Service85;
|
|
141
|
+
const environment = yield* Service69;
|
|
142
142
|
const bus = yield* Service93;
|
|
143
|
-
const forms = yield*
|
|
143
|
+
const forms = yield* Service89;
|
|
144
144
|
const integration = yield* Service88;
|
|
145
|
-
const credentials = yield*
|
|
145
|
+
const credentials = yield* Service92;
|
|
146
146
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
147
|
-
const pool = yield*
|
|
147
|
+
const pool = yield* Service45;
|
|
148
148
|
const root = yield* Effect.scope;
|
|
149
149
|
const fork = yield* FiberSet.makeRuntime();
|
|
150
150
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -160,7 +160,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
160
160
|
return;
|
|
161
161
|
const remote = entry.config;
|
|
162
162
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
163
|
-
const integrationID =
|
|
163
|
+
const integrationID = ID20.make(suffix);
|
|
164
164
|
entry.integrationID = integrationID;
|
|
165
165
|
const methodID = MethodID2.make(suffix);
|
|
166
166
|
const scope = yield* Scope.fork(root);
|
|
@@ -175,7 +175,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
175
175
|
method: { id: methodID, type: "oauth", label: name },
|
|
176
176
|
authorize: () => Effect.gen(function* () {
|
|
177
177
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
178
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
178
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service92, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
}).pipe(Scope.provide(scope));
|
|
@@ -196,12 +196,12 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
196
196
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
197
197
|
return;
|
|
198
198
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
199
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(
|
|
199
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service92, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
200
200
|
});
|
|
201
201
|
const elicitation = {
|
|
202
202
|
create: (input) => Effect.gen(function* () {
|
|
203
203
|
if (input.params.mode === "url") {
|
|
204
|
-
const formID =
|
|
204
|
+
const formID = ID21.create();
|
|
205
205
|
const elicitationID = input.params.elicitationId;
|
|
206
206
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
207
207
|
if (key)
|
|
@@ -238,7 +238,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
238
238
|
content: Object.fromEntries(Object.entries(state.answer).map(([key, value]) => typeof value === "object" ? [key, Array.from(value)] : [key, value]))
|
|
239
239
|
};
|
|
240
240
|
}));
|
|
241
|
-
}).pipe(Effect.provideService(
|
|
241
|
+
}).pipe(Effect.provideService(Service85, location)),
|
|
242
242
|
complete: (input) => Effect.gen(function* () {
|
|
243
243
|
const formID = urlElicitations.get(input.server + "\x00" + input.elicitationID);
|
|
244
244
|
if (!formID)
|
|
@@ -412,7 +412,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
412
412
|
clientInfo: options?.clientInfo
|
|
413
413
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
414
414
|
closed = true;
|
|
415
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
415
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, 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 })));
|
|
416
416
|
const register = Effect.gen(function* () {
|
|
417
417
|
if (closed) {
|
|
418
418
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -485,7 +485,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
485
485
|
yield* entry.connection.start;
|
|
486
486
|
}).pipe(locks.withLock(name));
|
|
487
487
|
});
|
|
488
|
-
fork(bus.subscribe(
|
|
488
|
+
fork(bus.subscribe(Event21.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
489
489
|
const state = create4({
|
|
490
490
|
name: "mcp",
|
|
491
491
|
initial: () => ({
|
|
@@ -511,7 +511,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
511
511
|
}),
|
|
512
512
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
513
513
|
});
|
|
514
|
-
return
|
|
514
|
+
return Service43.of({
|
|
515
515
|
transform: state.transform,
|
|
516
516
|
reload: state.reload,
|
|
517
517
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -643,23 +643,23 @@ function mergeCatalogs(catalogs) {
|
|
|
643
643
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function configured3(options) {
|
|
647
647
|
return makeLocationNode({
|
|
648
|
-
service:
|
|
649
|
-
layer:
|
|
648
|
+
service: Service43,
|
|
649
|
+
layer: layer17(options),
|
|
650
650
|
deps: [
|
|
651
|
-
|
|
652
|
-
|
|
651
|
+
node87,
|
|
652
|
+
node70,
|
|
653
653
|
node95,
|
|
654
|
-
node92,
|
|
655
|
-
node90,
|
|
656
654
|
node91,
|
|
655
|
+
node90,
|
|
656
|
+
node94,
|
|
657
657
|
httpFetch,
|
|
658
|
-
|
|
658
|
+
node48
|
|
659
659
|
]
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var node46 = configured3();
|
|
663
663
|
function toElicitationField(key, property, required) {
|
|
664
664
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
665
665
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -710,4 +710,4 @@ function toElicitationField(key, property, required) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
713
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service43, Options3, layer17, configured3, node46, exports_mcp4 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./artifact-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./artifact-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./artifact-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./artifact-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./artifact-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service66,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node67
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service66 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(Service66, 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);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service66.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
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 node67 = makeLocationNode({
|
|
143
|
+
service: Service66,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service66, node67, exports_tool_output2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./artifact-7r5k4twv.js";
|
|
4
4
|
import {
|
|
5
5
|
group2,
|
|
6
6
|
batch2,
|
|
7
7
|
shutdown2,
|
|
8
8
|
changes2,
|
|
9
9
|
inherit2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./artifact-40y6dtc2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service37,
|
|
13
13
|
awaitActivation2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./artifact-qmh7vbk2.js";
|
|
15
15
|
import {
|
|
16
16
|
make22,
|
|
17
17
|
requirements3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./artifact-b420jaw5.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./artifact-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin.ts
|
|
24
24
|
var exports_plugin2 = {};
|
|
25
25
|
__export(exports_plugin2, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event4,
|
|
27
27
|
GuiBundle: () => GuiBundle2,
|
|
28
28
|
ID: () => ID6,
|
|
29
29
|
Info: () => Info5,
|
|
30
30
|
Plugin: () => exports_plugin2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service37,
|
|
32
32
|
Source: () => Source2,
|
|
33
33
|
State: () => State2,
|
|
34
34
|
awaitActivation: () => awaitActivation2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node22
|
|
36
36
|
});
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event4, GuiBundle as GuiBundle2, ID as ID6, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
38
38
|
import { readFile } from "node:fs/promises";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service93;
|
|
45
45
|
const scope = yield* Scope.make();
|
|
46
46
|
const active = new Map;
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
211
211
|
yield* shutdown2(Scope.close(scope, exit));
|
|
212
212
|
}));
|
|
213
213
|
yield* Effect.addFinalizer(close);
|
|
214
|
-
return
|
|
214
|
+
return Service37.of({
|
|
215
215
|
activate,
|
|
216
216
|
close,
|
|
217
217
|
awaitActivation: ready.await,
|
|
@@ -229,10 +229,10 @@ function slotInfo(slot) {
|
|
|
229
229
|
features: slot.plugin.features ?? { server: true }
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
|
-
var
|
|
233
|
-
service:
|
|
232
|
+
var node22 = Node.makeLocationNode({
|
|
233
|
+
service: Service37,
|
|
234
234
|
layer,
|
|
235
235
|
deps: [requirements3]
|
|
236
236
|
});
|
|
237
237
|
|
|
238
|
-
export {
|
|
238
|
+
export { node22, exports_plugin2, Event4, GuiBundle2, ID6, Info5, Source2, State2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./artifact-7r5k4twv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID22,
|
|
6
|
+
Event21,
|
|
7
|
+
Service92
|
|
8
|
+
} from "./artifact-ftfkf3rb.js";
|
|
9
9
|
import {
|
|
10
10
|
ID17
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./artifact-0jtq3fvr.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./artifact-g93mgb8f.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
43
43
|
id: "opencode.provider.google.vertex",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
|
-
const credentials = yield*
|
|
46
|
+
const credentials = yield* Service92;
|
|
47
47
|
const bus = yield* Service93;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
@@ -68,7 +68,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active(ID17.googleVertex);
|
|
71
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
71
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
74
74
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|