@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,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./artifact-7r5k4twv.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service85,
|
|
8
|
+
node87
|
|
9
|
+
} from "./artifact-3w0rjm0m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node70
|
|
13
|
+
} from "./artifact-806rt4y4.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanup3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./artifact-tczq8hjw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service65,
|
|
19
19
|
args2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node66
|
|
21
|
+
} from "./artifact-deedtsgw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
Service64,
|
|
24
|
+
node65,
|
|
25
25
|
available3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./artifact-t099cm6r.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service79,
|
|
29
|
+
node81
|
|
30
|
+
} from "./artifact-fc93665r.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service63,
|
|
33
|
+
node64
|
|
34
|
+
} from "./artifact-w7j3r3wx.js";
|
|
35
35
|
import {
|
|
36
36
|
SessionSchema2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./artifact-nv2c5e9q.js";
|
|
38
38
|
import {
|
|
39
39
|
latest2,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service80,
|
|
41
|
+
node82
|
|
42
|
+
} from "./artifact-wjewpfas.js";
|
|
43
43
|
import {
|
|
44
44
|
MAX_LINES2,
|
|
45
45
|
MAX_BYTES2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./artifact-txjws9vm.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./artifact-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/shell.ts
|
|
52
52
|
var exports_shell4 = {};
|
|
@@ -55,12 +55,12 @@ __export(exports_shell4, {
|
|
|
55
55
|
Daemon: () => Daemon2,
|
|
56
56
|
NotFoundError: () => NotFoundError7,
|
|
57
57
|
RETENTION: () => RETENTION2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service62,
|
|
59
59
|
Shell: () => exports_shell4,
|
|
60
60
|
ToolCall: () => ToolCall2,
|
|
61
61
|
cleanup: () => cleanup2,
|
|
62
62
|
daemonNode: () => daemonNode2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node63
|
|
64
64
|
});
|
|
65
65
|
import path from "path";
|
|
66
66
|
import {
|
|
@@ -114,12 +114,12 @@ var Stored = Schema.Struct({
|
|
|
114
114
|
});
|
|
115
115
|
var decodeStored = Schema.decodeUnknownOption(Stored);
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service62 extends Context.Service()("@opencode/Shell") {
|
|
118
118
|
}
|
|
119
119
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
120
120
|
const fs = yield* FSUtil.Service;
|
|
121
121
|
const global = yield* Global.Service;
|
|
122
|
-
const pty = yield*
|
|
122
|
+
const pty = yield* Service64;
|
|
123
123
|
const directory = path.join(global.data, DIRECTORY2);
|
|
124
124
|
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
|
|
125
125
|
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
|
|
@@ -139,14 +139,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
|
|
|
139
139
|
var cleanupNode = makeGlobalNode({
|
|
140
140
|
name: "shell-output-cleanup",
|
|
141
141
|
layer: cleanupLayer,
|
|
142
|
-
deps: [FSUtil.node, Global.node,
|
|
142
|
+
deps: [FSUtil.node, Global.node, node65]
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
|
|
146
146
|
}
|
|
147
147
|
var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
148
148
|
const bus = yield* Service93;
|
|
149
|
-
const pty = yield*
|
|
149
|
+
const pty = yield* Service64;
|
|
150
150
|
const scope = yield* Effect.scope;
|
|
151
151
|
const context = yield* Effect.context();
|
|
152
152
|
const global = yield* Global.Service;
|
|
@@ -381,17 +381,17 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
381
381
|
var daemonNode2 = makeGlobalNode({
|
|
382
382
|
service: Daemon2,
|
|
383
383
|
layer: daemonLayer,
|
|
384
|
-
deps: [node95, Global.node,
|
|
384
|
+
deps: [node95, Global.node, node65]
|
|
385
385
|
});
|
|
386
|
-
var layer = () => Layer.effect(
|
|
386
|
+
var layer = () => Layer.effect(Service62, Effect.gen(function* () {
|
|
387
387
|
const bus = yield* Service93;
|
|
388
|
-
const location = yield*
|
|
388
|
+
const location = yield* Service85;
|
|
389
389
|
const global = yield* Global.Service;
|
|
390
|
-
const shell = yield*
|
|
391
|
-
const environment = yield*
|
|
392
|
-
const hooks = yield*
|
|
393
|
-
const environments = yield*
|
|
394
|
-
const config = yield*
|
|
390
|
+
const shell = yield* Service65;
|
|
391
|
+
const environment = yield* Service69;
|
|
392
|
+
const hooks = yield* Service79;
|
|
393
|
+
const environments = yield* Service63;
|
|
394
|
+
const config = yield* Service80;
|
|
395
395
|
const daemon = yield* Daemon2;
|
|
396
396
|
const context = yield* Effect.context();
|
|
397
397
|
const runFork = Effect.runForkWith(context);
|
|
@@ -757,7 +757,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
757
757
|
const command = yield* Deferred.await(ready);
|
|
758
758
|
return command.info;
|
|
759
759
|
});
|
|
760
|
-
return
|
|
760
|
+
return Service62.of({
|
|
761
761
|
create,
|
|
762
762
|
list,
|
|
763
763
|
get,
|
|
@@ -799,21 +799,21 @@ function formatSize(bytes) {
|
|
|
799
799
|
const kb = bytes / 1024;
|
|
800
800
|
return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
|
|
801
801
|
}
|
|
802
|
-
var
|
|
803
|
-
service:
|
|
802
|
+
var node63 = makeLocationNode({
|
|
803
|
+
service: Service62,
|
|
804
804
|
layer: layer(),
|
|
805
805
|
deps: [
|
|
806
806
|
node95,
|
|
807
|
-
|
|
807
|
+
node87,
|
|
808
808
|
Global.node,
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
809
|
+
node66,
|
|
810
|
+
node70,
|
|
811
|
+
node81,
|
|
812
|
+
node64,
|
|
813
|
+
node82,
|
|
814
814
|
daemonNode2,
|
|
815
815
|
cleanupNode
|
|
816
816
|
]
|
|
817
817
|
});
|
|
818
818
|
|
|
819
|
-
export { NotFoundError7, RETENTION2, DIRECTORY2, ToolCall2,
|
|
819
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, ToolCall2, Service62, cleanup2, Daemon2, daemonNode2, node63, exports_shell4 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./artifact-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./artifact-kt1dw84r.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./artifact-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./artifact-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./artifact-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input7,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
25
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin26,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description4,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name7
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
38
|
+
var name7 = "webfetch";
|
|
39
39
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input7 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input3 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input7.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin26 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service74;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name7,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description4,
|
|
131
|
+
input: Input7,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin3 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name7,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin3 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name7,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, MAX_REDIRECTS2, Plugin26, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service87
|
|
3
|
+
} from "./artifact-6nqwz7j1.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./artifact-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./artifact-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make23 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service87;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./artifact-k46dd5bg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./artifact-x9cv853t.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./artifact-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ClaudeInstructions: () =>
|
|
16
|
-
register: () =>
|
|
13
|
+
var exports_instructions = {};
|
|
14
|
+
__export(exports_instructions, {
|
|
15
|
+
ClaudeInstructions: () => exports_instructions,
|
|
16
|
+
register: () => register6
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Option, Schema } from "effect";
|
|
19
19
|
var KINDS = ["context", "generate", "compaction"];
|
|
@@ -23,7 +23,7 @@ var InstructionsMetadata = Schema.Struct({
|
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
var SUPPLIED_BY_CLAUDE = new Set(["core/date", "core/environment"]);
|
|
26
|
-
var
|
|
26
|
+
var register6 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
|
|
27
27
|
yield* Effect.forEach(KINDS, (kind) => ctx.session.hook(kind, (event) => Effect.gen(function* () {
|
|
28
28
|
const agent = yield* ctx.agent.get({ agentID: event.agent }).pipe(Effect.orDie);
|
|
29
29
|
event.options[AGENT_OPTION2] = agent.data.system ?? "";
|
|
@@ -49,4 +49,4 @@ function instructions(system) {
|
|
|
49
49
|
`);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { register6, exports_instructions };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./artifact-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks2 = {};
|
|
7
7
|
__export(exports_hooks2, {
|
|
8
8
|
PluginHooks: () => exports_hooks2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service79,
|
|
10
|
+
node: () => node81
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service79 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service79.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node81 = makeLocationNode({ service: Service79, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service79, node81, exports_hooks2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./artifact-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./artifact-04kzwzc1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./artifact-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./artifact-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node70
|
|
9
|
+
} from "./artifact-806rt4y4.js";
|
|
10
10
|
import {
|
|
11
11
|
Content4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./artifact-04kzwzc1.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./artifact-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./artifact-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service42,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node45,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -117,7 +117,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
117
117
|
}) {
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service42 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
121
121
|
}
|
|
122
122
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
123
123
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -366,13 +366,13 @@ var nthNewline = (bytes, count) => {
|
|
|
366
366
|
return index + 1;
|
|
367
367
|
}
|
|
368
368
|
};
|
|
369
|
-
var layer = Layer.effect(
|
|
370
|
-
const environment = yield*
|
|
371
|
-
return
|
|
369
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
370
|
+
const environment = yield* Service69;
|
|
371
|
+
return Service42.of({
|
|
372
372
|
list: environment.files.list,
|
|
373
373
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
374
374
|
});
|
|
375
375
|
}));
|
|
376
|
-
var
|
|
376
|
+
var node45 = makeLocationNode({ service: Service42, layer, deps: [node70] });
|
|
377
377
|
|
|
378
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, PathKindError2, DirectoryOffsetError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
378
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, PathKindError2, DirectoryOffsetError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service42, read2, node45, exports_read_filesystem };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./artifact-vj1dqaf1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service93,
|
|
7
7
|
node95
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./artifact-7r5k4twv.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./artifact-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./artifact-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./artifact-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event21,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID22,
|
|
26
|
+
Info: () => Info32,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service92,
|
|
30
30
|
Value: () => Value2,
|
|
31
31
|
expiring: () => expiring2,
|
|
32
|
-
node: () =>
|
|
32
|
+
node: () => node94
|
|
33
33
|
});
|
|
34
34
|
import { asc, desc, eq } from "drizzle-orm";
|
|
35
35
|
import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -38,25 +38,25 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
38
38
|
import { Integration } from "@opencode/schema/integration";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
41
|
-
var
|
|
41
|
+
var ID22 = Credential.ID;
|
|
42
42
|
var OAuth3 = Credential.OAuth;
|
|
43
43
|
var Key4 = Credential.Key;
|
|
44
44
|
var External2 = Credential.External;
|
|
45
45
|
var Value2 = Credential.Value;
|
|
46
|
-
var
|
|
46
|
+
var Event21 = Credential.Event;
|
|
47
47
|
var expiring2 = (value, now) => value.expires !== 0 && value.expires <= now + Duration.toMillis(Duration.minutes(5));
|
|
48
48
|
|
|
49
|
-
class
|
|
50
|
-
id:
|
|
49
|
+
class Info32 extends Schema.Class("Credential.Info")({
|
|
50
|
+
id: ID22,
|
|
51
51
|
integrationID: Integration.ID,
|
|
52
52
|
label: Schema.String,
|
|
53
53
|
value: Value2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service92 extends Context.Service()("@opencode/Credential") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
60
60
|
const db = (yield* Service94).db;
|
|
61
61
|
const bus = yield* Service93;
|
|
62
62
|
const flock = yield* EffectFlock.Service;
|
|
@@ -66,7 +66,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
66
66
|
const stored = (row) => {
|
|
67
67
|
if (!row.integration_id)
|
|
68
68
|
return;
|
|
69
|
-
return new
|
|
69
|
+
return new Info32({
|
|
70
70
|
id: row.id,
|
|
71
71
|
integrationID: row.integration_id,
|
|
72
72
|
label: row.label,
|
|
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
93
93
|
pending.set(id, fiber);
|
|
94
94
|
return yield* restore(Fiber.join(fiber));
|
|
95
95
|
}));
|
|
96
|
-
const service =
|
|
96
|
+
const service = Service92.of({
|
|
97
97
|
refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
|
|
98
98
|
const current = yield* service.get(id);
|
|
99
99
|
if (current?.value.type !== "oauth")
|
|
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
123
123
|
return row ? stored(row) : undefined;
|
|
124
124
|
}),
|
|
125
125
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
126
|
-
const credential = new
|
|
127
|
-
id: input.id ??
|
|
126
|
+
const credential = new Info32({
|
|
127
|
+
id: input.id ?? ID22.create(),
|
|
128
128
|
integrationID: input.integrationID,
|
|
129
129
|
label: input.label ?? "default",
|
|
130
130
|
value: input.value
|
|
@@ -154,9 +154,9 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
154
154
|
type: credential.value.type,
|
|
155
155
|
active: activated
|
|
156
156
|
});
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event21.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
158
158
|
if (activated)
|
|
159
|
-
yield* bus.publish(
|
|
159
|
+
yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
160
160
|
return credential;
|
|
161
161
|
}),
|
|
162
162
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
172
172
|
})).pipe(logFailure("credential activate failed", { credentialID: id }));
|
|
173
173
|
if (integrationID) {
|
|
174
174
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
175
|
-
yield* bus.publish(
|
|
175
|
+
yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
|
|
176
176
|
}
|
|
177
177
|
}),
|
|
178
178
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
197
197
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
198
198
|
});
|
|
199
199
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event21.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
|
|
201
201
|
}),
|
|
202
202
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
203
203
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -226,13 +226,13 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
226
226
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
227
227
|
});
|
|
228
228
|
if (removed.integrationID)
|
|
229
|
-
yield* bus.publish(
|
|
229
|
+
yield* bus.publish(Event21.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
|
|
230
230
|
if (removed.switched)
|
|
231
|
-
yield* bus.publish(
|
|
231
|
+
yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
232
232
|
})
|
|
233
233
|
});
|
|
234
234
|
return service;
|
|
235
235
|
}));
|
|
236
|
-
var
|
|
236
|
+
var node94 = makeGlobalNode({ service: Service92, layer, deps: [node96, node95, EffectFlock.node] });
|
|
237
237
|
|
|
238
|
-
export {
|
|
238
|
+
export { ID22, OAuth3, Key4, External2, Value2, Event21, expiring2, Info32, Service92, node94, exports_credential };
|