@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.
Files changed (898) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +245 -245
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{filesystem-tn1by9h5.js → artifact-02c0ex61.js} +22 -22
  9. package/dist/chunks/{filesystem-034tev2y.js → artifact-034tev2y.js} +2 -2
  10. package/dist/chunks/{filesystem-vk0z4zg0.js → artifact-04kzwzc1.js} +30 -30
  11. package/dist/chunks/{filesystem-7fczfqhg.js → artifact-0ckdceg1.js} +11 -11
  12. package/dist/chunks/{filesystem-2jt5ssd0.js → artifact-0f3dv0gs.js} +3 -3
  13. package/dist/chunks/{filesystem-sqjzf8x2.js → artifact-0j7gp832.js} +4 -4
  14. package/dist/chunks/{filesystem-w8jdb2jn.js → artifact-0jtq3fvr.js} +25 -21
  15. package/dist/chunks/{filesystem-0ma9gw4f.js → artifact-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{filesystem-7f186e6p.js → artifact-0rxwpsvy.js} +12 -12
  17. package/dist/chunks/{filesystem-ewp531bs.js → artifact-0t26q6b7.js} +17 -17
  18. package/dist/chunks/{filesystem-exy8xd7k.js → artifact-1474e2zj.js} +11 -11
  19. package/dist/chunks/{filesystem-svaf9hke.js → artifact-18wc62pj.js} +37 -37
  20. package/dist/chunks/{filesystem-1aqsckx4.js → artifact-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{filesystem-1ep2p91f.js → artifact-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{filesystem-y8wtdb2c.js → artifact-1g6y0mf6.js} +25 -25
  23. package/dist/chunks/{filesystem-j6xgaej1.js → artifact-1s4ffapx.js} +9 -9
  24. package/dist/chunks/{filesystem-1x2knyw4.js → artifact-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{filesystem-p7vhpwh8.js → artifact-1yq9hg58.js} +5 -5
  26. package/dist/chunks/{filesystem-y4h9vdhr.js → artifact-20efmrtt.js} +11 -10
  27. package/dist/chunks/{filesystem-pnwsrq7c.js → artifact-233argac.js} +8 -8
  28. package/dist/chunks/{filesystem-7dc4gc5v.js → artifact-264p0t2y.js} +32 -32
  29. package/dist/chunks/{filesystem-2fc7eemy.js → artifact-2fc7eemy.js} +1 -1
  30. package/dist/chunks/{filesystem-16m4fety.js → artifact-2jhysxdn.js} +14 -14
  31. package/dist/chunks/{filesystem-qhxa6c6a.js → artifact-2m5mhqrs.js} +35 -35
  32. package/dist/chunks/{filesystem-s1ba0vj0.js → artifact-2p60zmnr.js} +2 -2
  33. package/dist/chunks/{filesystem-6gpahs7y.js → artifact-2raevjmd.js} +25 -25
  34. package/dist/chunks/{filesystem-2s9mae96.js → artifact-2s9mae96.js} +3 -3
  35. package/dist/chunks/{filesystem-90ct6wq4.js → artifact-38aws4xb.js} +4 -4
  36. package/dist/chunks/{filesystem-3adw4bt5.js → artifact-3adw4bt5.js} +2 -2
  37. package/dist/chunks/{filesystem-5bcr6264.js → artifact-3fxtadf7.js} +18 -18
  38. package/dist/chunks/{filesystem-3hepkmqq.js → artifact-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{filesystem-36tjmfsy.js → artifact-3j8mqv82.js} +4 -4
  40. package/dist/chunks/{filesystem-77e37j3z.js → artifact-3ryf13m6.js} +32 -32
  41. package/dist/chunks/{filesystem-j4qxbzz7.js → artifact-3w0rjm0m.js} +14 -14
  42. package/dist/chunks/{filesystem-cgmxejc8.js → artifact-3z118hk9.js} +26 -26
  43. package/dist/chunks/{filesystem-w48gbg6x.js → artifact-40cqa2b9.js} +8 -8
  44. package/dist/chunks/{filesystem-bffnw3zy.js → artifact-40tdsv15.js} +11 -11
  45. package/dist/chunks/{filesystem-40y6dtc2.js → artifact-40y6dtc2.js} +1 -1
  46. package/dist/chunks/{filesystem-b0je4vth.js → artifact-43v4czqb.js} +14 -14
  47. package/dist/chunks/{filesystem-1rncpvfz.js → artifact-43vzn13m.js} +17 -17
  48. package/dist/chunks/{filesystem-nw8met9v.js → artifact-44mk8x7j.js} +36 -36
  49. package/dist/chunks/{filesystem-jxd6f16v.js → artifact-44pmzq9c.js} +2 -2
  50. package/dist/chunks/{filesystem-n3j33rb6.js → artifact-45nqx4xx.js} +4 -4
  51. package/dist/chunks/{filesystem-kkg2t6c6.js → artifact-49qfyz5b.js} +40 -40
  52. package/dist/chunks/{filesystem-4dx1dgte.js → artifact-4dx1dgte.js} +1 -1
  53. package/dist/chunks/{filesystem-bwkfv57n.js → artifact-4e20sn1h.js} +35 -35
  54. package/dist/chunks/{filesystem-4ydapqmf.js → artifact-4e5e9a1g.js} +7 -7
  55. package/dist/chunks/{filesystem-4f25tdd0.js → artifact-4f25tdd0.js} +1 -1
  56. package/dist/chunks/{filesystem-43j7jt16.js → artifact-4pq3fpfx.js} +18 -18
  57. package/dist/chunks/{filesystem-bex4xsk5.js → artifact-4pw98qd4.js} +4 -4
  58. package/dist/chunks/{filesystem-4pyp9zr9.js → artifact-4pyp9zr9.js} +1 -1
  59. package/dist/chunks/{filesystem-53g3ek9f.js → artifact-4rrctd35.js} +19 -19
  60. package/dist/chunks/{filesystem-4v008n1t.js → artifact-4v008n1t.js} +1 -1
  61. package/dist/chunks/{filesystem-apmfn43p.js → artifact-4vkc3k7d.js} +23 -23
  62. package/dist/chunks/{filesystem-9qxtrk0a.js → artifact-57whc6ny.js} +28 -28
  63. package/dist/chunks/{filesystem-hww7tg5r.js → artifact-5b5aa2jw.js} +15 -15
  64. package/dist/chunks/{filesystem-ntnvj5mg.js → artifact-5gs4bz76.js} +7 -7
  65. package/dist/chunks/{filesystem-mwbh0fme.js → artifact-5j4tkjhg.js} +23 -23
  66. package/dist/chunks/{filesystem-vzydmz2c.js → artifact-5k907510.js} +14 -14
  67. package/dist/chunks/{filesystem-5m9w47nd.js → artifact-5m9w47nd.js} +1 -1
  68. package/dist/chunks/{filesystem-5pah5g87.js → artifact-5p4tdktg.js} +13 -13
  69. package/dist/chunks/{filesystem-5whx36p1.js → artifact-5whx36p1.js} +1 -1
  70. package/dist/chunks/{filesystem-2cjx21jp.js → artifact-5xch7mjf.js} +18 -18
  71. package/dist/chunks/{filesystem-2yzwas0f.js → artifact-60x7fk8z.js} +14 -14
  72. package/dist/chunks/{filesystem-q7qbye6s.js → artifact-647yme0h.js} +38 -38
  73. package/dist/chunks/{filesystem-n1q9dan8.js → artifact-65k3emdr.js} +83 -83
  74. package/dist/chunks/{filesystem-3b3p5y89.js → artifact-6gctgqga.js} +6 -6
  75. package/dist/chunks/{filesystem-083b6r2x.js → artifact-6j5g2vgz.js} +27 -27
  76. package/dist/chunks/{filesystem-cjdqh2wj.js → artifact-6nqwz7j1.js} +12 -12
  77. package/dist/chunks/{filesystem-rm9v0bwn.js → artifact-6rj3k2m9.js} +15 -15
  78. package/dist/chunks/{filesystem-vwcz1f45.js → artifact-6y2b864j.js} +7 -7
  79. package/dist/chunks/{filesystem-mz3k47ct.js → artifact-71c2c5hs.js} +3 -3
  80. package/dist/chunks/{filesystem-ackgvjab.js → artifact-72x4crvt.js} +4 -4
  81. package/dist/chunks/{filesystem-t48jrnqq.js → artifact-73ff1310.js} +3 -3
  82. package/dist/chunks/{filesystem-775hqbnd.js → artifact-775hqbnd.js} +3 -3
  83. package/dist/chunks/{filesystem-fxstjx9a.js → artifact-78pvztrq.js} +10 -10
  84. package/dist/chunks/{filesystem-7bmhse3q.js → artifact-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{filesystem-xy63rwa2.js → artifact-7h0xs0hp.js} +5 -5
  86. package/dist/chunks/{filesystem-h8apfp5a.js → artifact-7qrhgv7p.js} +14 -14
  87. package/dist/chunks/{filesystem-96xmncfy.js → artifact-7r5k4twv.js} +4 -4
  88. package/dist/chunks/{filesystem-7w2ypzdf.js → artifact-7w2ypzdf.js} +1 -1
  89. package/dist/chunks/{filesystem-7weczvnd.js → artifact-7weczvnd.js} +1 -1
  90. package/dist/chunks/{filesystem-68dsae6w.js → artifact-7xpetnea.js} +21 -21
  91. package/dist/chunks/{filesystem-05rxf7ag.js → artifact-806rt4y4.js} +20 -20
  92. package/dist/chunks/{filesystem-80pdk984.js → artifact-80pdk984.js} +1 -1
  93. package/dist/chunks/{filesystem-hh8a7g2z.js → artifact-82pcgh4d.js} +15 -15
  94. package/dist/chunks/{filesystem-8w95ndt2.js → artifact-8327ns5n.js} +14 -14
  95. package/dist/chunks/{filesystem-85jq8dht.js → artifact-85jq8dht.js} +1 -1
  96. package/dist/chunks/{filesystem-r1x3rphc.js → artifact-86jm5z3q.js} +33 -33
  97. package/dist/chunks/{filesystem-25h84942.js → artifact-8b3vzgkx.js} +4 -4
  98. package/dist/chunks/{filesystem-gshvyxec.js → artifact-8e6j3mej.js} +5 -5
  99. package/dist/chunks/{filesystem-14qtwrnd.js → artifact-8fta12y1.js} +28 -28
  100. package/dist/chunks/{filesystem-9yqjp86x.js → artifact-8jw5dp9j.js} +6 -6
  101. package/dist/chunks/{filesystem-8kjyvwy5.js → artifact-8kjyvwy5.js} +1 -1
  102. package/dist/chunks/{filesystem-491q2x3b.js → artifact-8kw7qgcw.js} +19 -19
  103. package/dist/chunks/{filesystem-8sxe6kv8.js → artifact-8sxe6kv8.js} +2 -2
  104. package/dist/chunks/{filesystem-qz4vhj1z.js → artifact-8t9m761v.js} +24 -24
  105. package/dist/chunks/{filesystem-8wtp7s3z.js → artifact-8wtp7s3z.js} +1 -1
  106. package/dist/chunks/{filesystem-8zv0xmg5.js → artifact-8zv0xmg5.js} +1 -1
  107. package/dist/chunks/{filesystem-h5chy42v.js → artifact-94e33dpz.js} +3 -3
  108. package/dist/chunks/{filesystem-h7ccewpy.js → artifact-9epecgcn.js} +3 -3
  109. package/dist/chunks/{filesystem-n2tfgszc.js → artifact-9gw9aqs8.js} +4 -4
  110. package/dist/chunks/{filesystem-8xmc89yx.js → artifact-9h5eh5e0.js} +20 -20
  111. package/dist/chunks/artifact-9j46x3x0.js +26 -0
  112. package/dist/chunks/{filesystem-ckttgx1m.js → artifact-9mr61ee8.js} +6 -6
  113. package/dist/chunks/{filesystem-bamve3at.js → artifact-9p9ene4t.js} +37 -37
  114. package/dist/chunks/{filesystem-kxkzc9ky.js → artifact-9q8kx9fk.js} +24 -24
  115. package/dist/chunks/{filesystem-2r0xhr37.js → artifact-9sa0shk9.js} +6 -6
  116. package/dist/chunks/{filesystem-kmekj7m2.js → artifact-9sk33afj.js} +8 -8
  117. package/dist/chunks/{filesystem-fc74xdpv.js → artifact-9y9y7swd.js} +37 -37
  118. package/dist/chunks/{filesystem-0php2d2a.js → artifact-a3b331fh.js} +4 -4
  119. package/dist/chunks/{filesystem-g5a4a3mq.js → artifact-a4qt4a4s.js} +14 -14
  120. package/dist/chunks/{filesystem-b1azjyxw.js → artifact-acaqa56c.js} +11 -11
  121. package/dist/chunks/{filesystem-y1jg12an.js → artifact-akefdybj.js} +12 -12
  122. package/dist/chunks/{filesystem-r2xmn65f.js → artifact-akypj0b9.js} +31 -31
  123. package/dist/chunks/{filesystem-zqng6tfv.js → artifact-antg4bqe.js} +3 -3
  124. package/dist/chunks/{filesystem-4gxktgp4.js → artifact-apzzsnfe.js} +25 -25
  125. package/dist/chunks/artifact-as63jxfa.js +579 -0
  126. package/dist/chunks/{filesystem-k77faqfm.js → artifact-aw6f51a8.js} +7 -7
  127. package/dist/chunks/{filesystem-06kr05p9.js → artifact-aw9514am.js} +35 -35
  128. package/dist/chunks/{filesystem-nwda1bfv.js → artifact-ayc9a65f.js} +27 -27
  129. package/dist/chunks/{filesystem-ayjs7tqn.js → artifact-ayjs7tqn.js} +2 -2
  130. package/dist/chunks/{filesystem-t190ewm6.js → artifact-ayztxjxn.js} +7 -7
  131. package/dist/chunks/{filesystem-kq4fnwb1.js → artifact-azqdag7d.js} +4 -4
  132. package/dist/chunks/{filesystem-g4txs7zc.js → artifact-b26ddj6h.js} +4 -4
  133. package/dist/chunks/{filesystem-zq6pgs90.js → artifact-b420jaw5.js} +172 -172
  134. package/dist/chunks/{filesystem-hwpa77gc.js → artifact-b5wdmnh8.js} +82 -82
  135. package/dist/chunks/{filesystem-b6cq1fvz.js → artifact-b6cq1fvz.js} +1 -1
  136. package/dist/chunks/{filesystem-czmwpxsy.js → artifact-b6zb91a5.js} +21 -21
  137. package/dist/chunks/{filesystem-be4x5m7x.js → artifact-b94vdhbj.js} +15 -15
  138. package/dist/chunks/{filesystem-9fcfg85h.js → artifact-b9anm1xp.js} +12 -12
  139. package/dist/chunks/{filesystem-h6e51344.js → artifact-bcvjw6qa.js} +10 -10
  140. package/dist/chunks/{filesystem-xtq9xpt1.js → artifact-bdv8sqrq.js} +1 -1
  141. package/dist/chunks/{filesystem-c9z1d5hy.js → artifact-bgem63zx.js} +9 -9
  142. package/dist/chunks/{filesystem-2ns59sfh.js → artifact-bqt0dhpz.js} +10 -10
  143. package/dist/chunks/{filesystem-b62sbhp2.js → artifact-bsfkzme1.js} +9 -9
  144. package/dist/chunks/{filesystem-bstexjd6.js → artifact-bstexjd6.js} +1 -1
  145. package/dist/chunks/{filesystem-yhx801ee.js → artifact-bw93rdkt.js} +5 -5
  146. package/dist/chunks/{filesystem-r0jx365g.js → artifact-cjr4q7pe.js} +11 -11
  147. package/dist/chunks/{filesystem-9y4ybsjj.js → artifact-cn0pwtj6.js} +21 -21
  148. package/dist/chunks/{filesystem-csxpn9yn.js → artifact-cndqxqvv.js} +3 -3
  149. package/dist/chunks/{filesystem-8dfptpqb.js → artifact-cpe35zww.js} +4 -4
  150. package/dist/chunks/{filesystem-bhfd478d.js → artifact-cr4rfj9z.js} +4 -4
  151. package/dist/chunks/{filesystem-he2040d4.js → artifact-ctakbg92.js} +10 -10
  152. package/dist/chunks/{filesystem-v15cxm8r.js → artifact-cwny0gab.js} +18 -18
  153. package/dist/chunks/{filesystem-cwrgdav8.js → artifact-cwrgdav8.js} +2 -2
  154. package/dist/chunks/{filesystem-d4v9tmah.js → artifact-d4v9tmah.js} +2 -2
  155. package/dist/chunks/{filesystem-rge58vnh.js → artifact-deedtsgw.js} +20 -20
  156. package/dist/chunks/{filesystem-79dx1dc6.js → artifact-dfcfxt49.js} +5 -5
  157. package/dist/chunks/{filesystem-8wdkt6y0.js → artifact-dhz03b8x.js} +6 -6
  158. package/dist/chunks/{filesystem-aq906svt.js → artifact-dm4r89tv.js} +6 -6
  159. package/dist/chunks/{filesystem-dt77769w.js → artifact-dt77769w.js} +1 -1
  160. package/dist/chunks/{filesystem-b1x243mb.js → artifact-dxn1kbab.js} +20 -20
  161. package/dist/chunks/{filesystem-23mseg9w.js → artifact-e064f1tk.js} +10 -10
  162. package/dist/chunks/{filesystem-5r3dv39m.js → artifact-e6gdjryt.js} +48 -48
  163. package/dist/chunks/{filesystem-3fzw2dgx.js → artifact-ea805a1b.js} +13 -13
  164. package/dist/chunks/{filesystem-qfsm01t2.js → artifact-ehctwz08.js} +32 -32
  165. package/dist/chunks/{filesystem-eqw4pqj1.js → artifact-eqw4pqj1.js} +2 -2
  166. package/dist/chunks/{filesystem-q3n6jbga.js → artifact-ex4fcp24.js} +50 -50
  167. package/dist/chunks/{filesystem-k8tgqm9f.js → artifact-eyn2edbb.js} +22 -22
  168. package/dist/chunks/{filesystem-2d5vwg09.js → artifact-f657v9f8.js} +5 -5
  169. package/dist/chunks/{filesystem-thkr7sfr.js → artifact-f65k4wkf.js} +9 -9
  170. package/dist/chunks/{filesystem-s5zrq09q.js → artifact-fc93665r.js} +8 -8
  171. package/dist/chunks/{filesystem-324k4kgm.js → artifact-fewvq49v.js} +3 -3
  172. package/dist/chunks/{filesystem-fg9p65nk.js → artifact-fg9p65nk.js} +2 -2
  173. package/dist/chunks/{filesystem-z9tq0y3w.js → artifact-fnp1rzs3.js} +15 -15
  174. package/dist/chunks/{filesystem-8cxxjpvd.js → artifact-ftfkf3rb.js} +28 -28
  175. package/dist/chunks/{filesystem-1xjver7d.js → artifact-fwc5tj9a.js} +4 -4
  176. package/dist/chunks/{filesystem-tf77d83d.js → artifact-fymmbvsk.js} +31 -31
  177. package/dist/chunks/{filesystem-pp3k6pe8.js → artifact-fz19w3pv.js} +23 -23
  178. package/dist/chunks/{filesystem-j26j1va9.js → artifact-g0bj5f5k.js} +9 -9
  179. package/dist/chunks/{filesystem-dpcxbnzm.js → artifact-g93mgb8f.js} +7 -7
  180. package/dist/chunks/{filesystem-ft91cex6.js → artifact-gan0sd8d.js} +13 -13
  181. package/dist/chunks/{filesystem-gbjdnr5j.js → artifact-gbjdnr5j.js} +2 -2
  182. package/dist/chunks/{filesystem-ghrv1g9c.js → artifact-ghrv1g9c.js} +1 -1
  183. package/dist/chunks/{filesystem-qkaww9q1.js → artifact-gmnjbjrr.js} +11 -11
  184. package/dist/chunks/{filesystem-j1ftk7bn.js → artifact-gts0kp74.js} +15 -15
  185. package/dist/chunks/{filesystem-6vcwkhp6.js → artifact-hfpan1nm.js} +23 -23
  186. package/dist/chunks/{filesystem-hgzwgvze.js → artifact-hgzwgvze.js} +2 -2
  187. package/dist/chunks/{filesystem-ahhdqv1f.js → artifact-hhbpktfh.js} +11 -11
  188. package/dist/chunks/{filesystem-vjhrddsw.js → artifact-hj0xet7m.js} +5 -5
  189. package/dist/chunks/{filesystem-txgc4ptp.js → artifact-hnpasp3t.js} +16 -16
  190. package/dist/chunks/{filesystem-sdn2zcx3.js → artifact-hretfjjx.js} +2 -2
  191. package/dist/chunks/{filesystem-1tcdzert.js → artifact-ht55f48q.js} +9 -9
  192. package/dist/chunks/{filesystem-160yv0cs.js → artifact-hy8c1z76.js} +8 -8
  193. package/dist/chunks/{filesystem-gx76kxxn.js → artifact-j145syf3.js} +11 -11
  194. package/dist/chunks/{filesystem-96yvqpwb.js → artifact-j1g9t5xr.js} +11 -11
  195. package/dist/chunks/{filesystem-j9nxzz3g.js → artifact-j9nxzz3g.js} +3 -3
  196. package/dist/chunks/{filesystem-94n1qn39.js → artifact-jf50cy3q.js} +1 -1
  197. package/dist/chunks/{filesystem-04tq37rg.js → artifact-jfv8a9st.js} +43 -43
  198. package/dist/chunks/{filesystem-xdmazz3w.js → artifact-jhstt8fg.js} +32 -32
  199. package/dist/chunks/{filesystem-tb2mrvc9.js → artifact-jjvvtnfs.js} +4 -4
  200. package/dist/chunks/{filesystem-7ynxdpkt.js → artifact-jk7e9neq.js} +59 -59
  201. package/dist/chunks/{filesystem-jm70asfg.js → artifact-jm70asfg.js} +1 -1
  202. package/dist/chunks/{filesystem-5fc8hcg9.js → artifact-k37eb1q0.js} +27 -27
  203. package/dist/chunks/{filesystem-kj9n5bvh.js → artifact-k46dd5bg.js} +4 -4
  204. package/dist/chunks/{filesystem-xgjg0k83.js → artifact-k5mtyqzx.js} +12 -12
  205. package/dist/chunks/{filesystem-tr6gb3ke.js → artifact-k65axkye.js} +23 -23
  206. package/dist/chunks/{filesystem-ycyeq6c3.js → artifact-k9r7xfyp.js} +23 -23
  207. package/dist/chunks/{filesystem-8xz27cp9.js → artifact-kbgs7tyr.js} +4 -4
  208. package/dist/chunks/{filesystem-tjpnqare.js → artifact-kk3c4q94.js} +17 -17
  209. package/dist/chunks/{filesystem-kr8bp0nb.js → artifact-km4wax8y.js} +5 -5
  210. package/dist/chunks/{filesystem-6j19asys.js → artifact-kt1dw84r.js} +42 -42
  211. package/dist/chunks/{filesystem-kt3bjfbg.js → artifact-kt3bjfbg.js} +1 -1
  212. package/dist/chunks/{filesystem-3v1jab5g.js → artifact-kwf1y8xr.js} +7 -7
  213. package/dist/chunks/{filesystem-ykvbdmjf.js → artifact-kxebhyq2.js} +12 -12
  214. package/dist/chunks/{filesystem-z1ma5m5g.js → artifact-kxg1ygsa.js} +7 -7
  215. package/dist/chunks/{filesystem-kzczzf4v.js → artifact-kzczzf4v.js} +1 -1
  216. package/dist/chunks/{filesystem-0kgbgg4w.js → artifact-kzrpns2f.js} +5 -5
  217. package/dist/chunks/{filesystem-m1714858.js → artifact-m1714858.js} +1 -1
  218. package/dist/chunks/{filesystem-tc7r93jj.js → artifact-m1k08jdz.js} +8 -8
  219. package/dist/chunks/artifact-m4arerzb.js +273 -0
  220. package/dist/chunks/{filesystem-m90tx7mw.js → artifact-m90tx7mw.js} +1 -1
  221. package/dist/chunks/{filesystem-3w4j854v.js → artifact-m95baxz6.js} +10 -10
  222. package/dist/chunks/{filesystem-m9w0rfyh.js → artifact-m9w0rfyh.js} +1 -1
  223. package/dist/chunks/{filesystem-mb7mbhnz.js → artifact-mb7mbhnz.js} +3 -3
  224. package/dist/chunks/{filesystem-qp2996hh.js → artifact-mbhm97dq.js} +5 -5
  225. package/dist/chunks/{filesystem-ay2fkrah.js → artifact-mg5dczf6.js} +33 -33
  226. package/dist/chunks/{filesystem-mf0kks93.js → artifact-mgbwt80z.js} +20 -20
  227. package/dist/chunks/{filesystem-b9d5jw54.js → artifact-mm5gj6xt.js} +15 -15
  228. package/dist/chunks/{filesystem-g6aam94y.js → artifact-mqt7ca4d.js} +29 -29
  229. package/dist/chunks/{filesystem-0h86f0az.js → artifact-msd2a3qm.js} +4 -4
  230. package/dist/chunks/{filesystem-c57y1876.js → artifact-mxv6bzth.js} +20 -20
  231. package/dist/chunks/{filesystem-kxdwvqnx.js → artifact-myzyq36z.js} +25 -25
  232. package/dist/chunks/{filesystem-cgfra67r.js → artifact-mzz2s01e.js} +16 -16
  233. package/dist/chunks/{filesystem-z6p3htzk.js → artifact-n43j43cz.js} +11 -11
  234. package/dist/chunks/{filesystem-zf9mw93b.js → artifact-n67ph10p.js} +20 -20
  235. package/dist/chunks/{filesystem-mpq3970x.js → artifact-n7yajzb8.js} +17 -12
  236. package/dist/chunks/{filesystem-gzm4ykdm.js → artifact-nbmvwsf0.js} +26 -26
  237. package/dist/chunks/{filesystem-1y1at900.js → artifact-nnssfytz.js} +13 -13
  238. package/dist/chunks/{filesystem-6q8jj3zs.js → artifact-nv2c5e9q.js} +3 -3
  239. package/dist/chunks/{filesystem-bvhssps7.js → artifact-p2v98t4x.js} +26 -26
  240. package/dist/chunks/{filesystem-rbg54dp1.js → artifact-p76me67c.js} +4 -4
  241. package/dist/chunks/{filesystem-963hk181.js → artifact-p8gw9ma4.js} +9 -9
  242. package/dist/chunks/{filesystem-3smzfgkv.js → artifact-pcjw52zr.js} +8 -8
  243. package/dist/chunks/{filesystem-pknna89w.js → artifact-pknna89w.js} +1 -1
  244. package/dist/chunks/{filesystem-sh6sjrys.js → artifact-pwa1wgnm.js} +2 -2
  245. package/dist/chunks/{filesystem-kx57agve.js → artifact-q81qcwcm.js} +15 -15
  246. package/dist/chunks/{filesystem-hpsk3ppz.js → artifact-qehdxahc.js} +13 -13
  247. package/dist/chunks/{filesystem-qk5sk9d1.js → artifact-qk5sk9d1.js} +2 -2
  248. package/dist/chunks/artifact-qmh7vbk2.js +18 -0
  249. package/dist/chunks/{filesystem-0zz2bnr1.js → artifact-qnmyavxt.js} +15 -15
  250. package/dist/chunks/{filesystem-qp7r0hxv.js → artifact-qp7r0hxv.js} +1 -1
  251. package/dist/chunks/{filesystem-madhs7qf.js → artifact-qqma7h8j.js} +5 -5
  252. package/dist/chunks/{filesystem-r17fbvme.js → artifact-r17fbvme.js} +1 -1
  253. package/dist/chunks/{filesystem-444evg8n.js → artifact-r19y596t.js} +36 -36
  254. package/dist/chunks/{filesystem-0x2ag7me.js → artifact-r243yq8g.js} +90 -90
  255. package/dist/chunks/{filesystem-1zd29w7p.js → artifact-r8fh2jpt.js} +6 -6
  256. package/dist/chunks/{filesystem-9zz91ck0.js → artifact-r8wdxc5g.js} +15 -15
  257. package/dist/chunks/{filesystem-gfgvxw2h.js → artifact-r9dc1rae.js} +1 -1
  258. package/dist/chunks/{filesystem-6er1m856.js → artifact-rab2bcv9.js} +35 -35
  259. package/dist/chunks/{filesystem-rb9dy4dg.js → artifact-rb9dy4dg.js} +1 -1
  260. package/dist/chunks/{filesystem-1ef5n38d.js → artifact-rebmbcc3.js} +22 -22
  261. package/dist/chunks/{filesystem-mnx4hk0n.js → artifact-rfjgdve0.js} +5 -5
  262. package/dist/chunks/{filesystem-rgc9cx3e.js → artifact-rgc9cx3e.js} +2 -2
  263. package/dist/chunks/{filesystem-px7qpgcn.js → artifact-rj7j5fvs.js} +4 -4
  264. package/dist/chunks/{filesystem-hv4b246c.js → artifact-s0z7wk13.js} +10 -10
  265. package/dist/chunks/{filesystem-c1bfpsqy.js → artifact-s4kyhetj.js} +6 -6
  266. package/dist/chunks/{filesystem-79f5ryf5.js → artifact-s9f42fk4.js} +18 -18
  267. package/dist/chunks/{filesystem-sbya78hr.js → artifact-sbya78hr.js} +1 -1
  268. package/dist/chunks/{filesystem-9y2szkpc.js → artifact-sttdw4zn.js} +19 -19
  269. package/dist/chunks/{filesystem-svcy3p9a.js → artifact-svcy3p9a.js} +1 -1
  270. package/dist/chunks/{filesystem-jngkd2xt.js → artifact-swegy6z1.js} +26 -26
  271. package/dist/chunks/{filesystem-wedze56r.js → artifact-sz1edn5d.js} +21 -21
  272. package/dist/chunks/{filesystem-21f92tpx.js → artifact-szy4fdat.js} +9 -7
  273. package/dist/chunks/{filesystem-pg8c6wdy.js → artifact-t099cm6r.js} +23 -23
  274. package/dist/chunks/{filesystem-kwf3mc6b.js → artifact-t3n9er9s.js} +4 -4
  275. package/dist/chunks/{filesystem-jv5ccajn.js → artifact-t8erkws8.js} +5 -5
  276. package/dist/chunks/{filesystem-1d41vqxy.js → artifact-t9gb34a7.js} +30 -30
  277. package/dist/chunks/{filesystem-vnt99xy7.js → artifact-tbcde4t6.js} +2 -2
  278. package/dist/chunks/{filesystem-tbpn7jtk.js → artifact-tbpn7jtk.js} +1 -1
  279. package/dist/chunks/{filesystem-tczq8hjw.js → artifact-tczq8hjw.js} +1 -1
  280. package/dist/chunks/{filesystem-00j42c4a.js → artifact-teb3ve52.js} +21 -21
  281. package/dist/chunks/{filesystem-tg7s7b5t.js → artifact-tg7s7b5t.js} +1 -1
  282. package/dist/chunks/{filesystem-3nnrz6f6.js → artifact-tmc7xdjs.js} +4 -4
  283. package/dist/chunks/{filesystem-fwke0v11.js → artifact-tnc80t1e.js} +19 -19
  284. package/dist/chunks/{filesystem-j376ae4e.js → artifact-tr8x705m.js} +5 -5
  285. package/dist/chunks/{filesystem-h8bg152s.js → artifact-trjt0t8h.js} +12 -12
  286. package/dist/chunks/{filesystem-0fn5ab0k.js → artifact-try2fr5n.js} +32 -30
  287. package/dist/chunks/{filesystem-tvtps2q9.js → artifact-tvtps2q9.js} +1 -1
  288. package/dist/chunks/{filesystem-wn6h1xmg.js → artifact-twgrq4m5.js} +55 -55
  289. package/dist/chunks/{filesystem-twssxy5n.js → artifact-twssxy5n.js} +2 -2
  290. package/dist/chunks/{filesystem-wxgjsayh.js → artifact-txjws9vm.js} +11 -11
  291. package/dist/chunks/{filesystem-mnmjr1v5.js → artifact-v029fqrh.js} +15 -15
  292. package/dist/chunks/{filesystem-w83qxrsc.js → artifact-v075gkex.js} +10 -10
  293. package/dist/chunks/{filesystem-v2r1d0zg.js → artifact-v2r1d0zg.js} +1 -1
  294. package/dist/chunks/{filesystem-b62kntzp.js → artifact-v63gc08e.js} +34 -34
  295. package/dist/chunks/{filesystem-mpp1y76d.js → artifact-va6zax5a.js} +16 -16
  296. package/dist/chunks/{filesystem-q50958an.js → artifact-vj1dqaf1.js} +4 -4
  297. package/dist/chunks/{filesystem-vjf35v1f.js → artifact-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{filesystem-vq0qa3sh.js → artifact-vq0qa3sh.js} +2 -2
  299. package/dist/chunks/{filesystem-ekhvmsd2.js → artifact-vre17ymf.js} +9 -9
  300. package/dist/chunks/{filesystem-pa971bt4.js → artifact-vzfbpz3r.js} +8 -8
  301. package/dist/chunks/{filesystem-rh3ncdjm.js → artifact-vzp3b6f4.js} +6 -6
  302. package/dist/chunks/{filesystem-r41sfy63.js → artifact-w2eysc6j.js} +6 -6
  303. package/dist/chunks/{filesystem-bydyckw6.js → artifact-w3kqxh3r.js} +3 -3
  304. package/dist/chunks/{filesystem-w3wsvvr9.js → artifact-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{filesystem-9q8g9sv8.js → artifact-w79nt68w.js} +4 -4
  306. package/dist/chunks/{filesystem-12a87htm.js → artifact-w7j3r3wx.js} +8 -8
  307. package/dist/chunks/{filesystem-0srmv9a7.js → artifact-w9qjtkgs.js} +28 -28
  308. package/dist/chunks/{filesystem-wakvkjy4.js → artifact-wakvkjy4.js} +1 -1
  309. package/dist/chunks/{filesystem-wd87259q.js → artifact-wd87259q.js} +1 -1
  310. package/dist/chunks/{filesystem-wegkxhrn.js → artifact-wegkxhrn.js} +2 -2
  311. package/dist/chunks/{filesystem-pk5ktw9t.js → artifact-wjewpfas.js} +51 -51
  312. package/dist/chunks/{filesystem-wr3re1en.js → artifact-wr3re1en.js} +1 -1
  313. package/dist/chunks/{filesystem-c7cw818c.js → artifact-wt99tj4q.js} +5 -5
  314. package/dist/chunks/{filesystem-hn0c49ha.js → artifact-x0eh2d57.js} +3 -3
  315. package/dist/chunks/{filesystem-gbetm1xc.js → artifact-x349bq58.js} +2 -2
  316. package/dist/chunks/{filesystem-0ty7x2vf.js → artifact-x6j9m3yt.js} +34 -34
  317. package/dist/chunks/{filesystem-jycw55y7.js → artifact-x96fzmm9.js} +4 -4
  318. package/dist/chunks/{filesystem-txdz8mmb.js → artifact-x9cv853t.js} +8 -8
  319. package/dist/chunks/{filesystem-nw3gtmag.js → artifact-x9tv78nz.js} +7 -7
  320. package/dist/chunks/{filesystem-nc4bhxkd.js → artifact-xmgcwdtx.js} +16 -16
  321. package/dist/chunks/{filesystem-3ryz99p0.js → artifact-xmx7xj34.js} +4 -4
  322. package/dist/chunks/{filesystem-s8kfvqtc.js → artifact-xrkctsmz.js} +6 -6
  323. package/dist/chunks/{filesystem-8ws1cnew.js → artifact-xv6863rp.js} +4 -4
  324. package/dist/chunks/{filesystem-xjr6c8m4.js → artifact-xxschbft.js} +4 -4
  325. package/dist/chunks/{filesystem-9jer5kqh.js → artifact-y5x6f4p0.js} +10 -10
  326. package/dist/chunks/{filesystem-yb20nhc3.js → artifact-yb20nhc3.js} +1 -1
  327. package/dist/chunks/{filesystem-hs74eps7.js → artifact-ydmcmdjh.js} +11 -11
  328. package/dist/chunks/{filesystem-x645n76j.js → artifact-yh2c67qe.js} +23 -23
  329. package/dist/chunks/{filesystem-wd8c1es6.js → artifact-ynssshth.js} +51 -51
  330. package/dist/chunks/{filesystem-k2r0m066.js → artifact-yq7mctn7.js} +14 -14
  331. package/dist/chunks/{filesystem-ffvvmdd5.js → artifact-yqfnxatp.js} +5 -5
  332. package/dist/chunks/{filesystem-yr705xyq.js → artifact-yr705xyq.js} +1 -1
  333. package/dist/chunks/{filesystem-5xkprpgc.js → artifact-yrk1s0vp.js} +15 -15
  334. package/dist/chunks/{filesystem-14q26q0h.js → artifact-ystdygj7.js} +16 -16
  335. package/dist/chunks/{filesystem-yvtc2x31.js → artifact-yvtc2x31.js} +1 -1
  336. package/dist/chunks/{filesystem-cs92ehcm.js → artifact-z76t31gv.js} +8 -8
  337. package/dist/chunks/{filesystem-x82r7ffc.js → artifact-z97pvm04.js} +21 -21
  338. package/dist/chunks/{filesystem-a2c7ns4r.js → artifact-z9ztrqkp.js} +8 -8
  339. package/dist/chunks/{filesystem-3s9hkh01.js → artifact-za2jxha2.js} +2 -2
  340. package/dist/chunks/{filesystem-gatcy5wf.js → artifact-zbvsv6wh.js} +4 -4
  341. package/dist/chunks/{filesystem-dsxe3vjz.js → artifact-zcnch7vt.js} +11 -11
  342. package/dist/chunks/{filesystem-5fjyrr2e.js → artifact-zded71tf.js} +18 -18
  343. package/dist/chunks/{filesystem-w5r8nw58.js → artifact-zf9j8kdz.js} +18 -18
  344. package/dist/chunks/{filesystem-by8ty0bx.js → artifact-zpdbqgja.js} +4 -4
  345. package/dist/chunks/{filesystem-fmvrz9hx.js → artifact-zq0s0g8r.js} +54 -54
  346. package/dist/chunks/{filesystem-2cpdbpj8.js → artifact-zspd4snv.js} +16 -16
  347. package/dist/chunks/{filesystem-7yv86tzv.js → artifact-zw007y5g.js} +17 -17
  348. package/dist/codemode/catalog.js +1 -1
  349. package/dist/codemode/execution.js +3 -3
  350. package/dist/codemode/fetch.js +149 -149
  351. package/dist/codemode/instructions.js +11 -11
  352. package/dist/codemode/tool.js +156 -156
  353. package/dist/command.js +94 -94
  354. package/dist/config/discovery.js +95 -95
  355. package/dist/config/integration.js +1 -1
  356. package/dist/config/managed.js +1 -1
  357. package/dist/config/markdown.js +1 -1
  358. package/dist/config/normalize.js +113 -113
  359. package/dist/config/plugin/agent.js +134 -134
  360. package/dist/config/plugin/command.js +245 -245
  361. package/dist/config/plugin/compaction.js +174 -174
  362. package/dist/config/plugin/compatibility.js +154 -154
  363. package/dist/config/plugin/entry-observer.js +1 -1
  364. package/dist/config/plugin/formatter.js +132 -132
  365. package/dist/config/plugin/image.js +131 -131
  366. package/dist/config/plugin/instruction.js +131 -131
  367. package/dist/config/plugin/location-watcher.js +131 -131
  368. package/dist/config/plugin/mcp.js +146 -146
  369. package/dist/config/plugin/policy.js +131 -131
  370. package/dist/config/plugin/provider.js +131 -131
  371. package/dist/config/plugin/reference.js +133 -133
  372. package/dist/config/plugin/shell.js +133 -133
  373. package/dist/config/plugin/skill-file.js +150 -150
  374. package/dist/config/plugin/skill-scan.js +1 -1
  375. package/dist/config/plugin/skill.js +157 -157
  376. package/dist/config/plugin/snapshot.js +131 -131
  377. package/dist/config/plugin/source.js +135 -135
  378. package/dist/config/plugin/tool-output.js +132 -132
  379. package/dist/config/plugin/websearch.js +132 -132
  380. package/dist/config/plugin/worktree.js +133 -133
  381. package/dist/config/variable.js +1 -1
  382. package/dist/config/watch.js +1 -1
  383. package/dist/config.js +136 -136
  384. package/dist/console-access.js +1 -1
  385. package/dist/credential/sql.js +2 -2
  386. package/dist/credential.js +94 -94
  387. package/dist/database/batch.js +1 -1
  388. package/dist/database/database.js +77 -77
  389. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  390. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  391. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  392. package/dist/database/drizzle/index.js +13 -13
  393. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  394. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  395. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  396. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  397. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  398. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  401. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  404. package/dist/database/drizzle.js +14 -14
  405. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  406. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  407. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  408. package/dist/database/migration/20260225215848_workspace.js +1 -1
  409. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  410. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  411. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  412. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  413. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  414. package/dist/database/migration/20260323234822_events.js +1 -1
  415. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  416. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  417. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  418. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  419. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  420. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  421. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  422. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  423. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  424. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  425. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  426. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  427. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  428. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  429. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  430. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  431. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  432. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  433. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  434. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  435. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  436. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  437. package/dist/database/migration/20260611035744_credential.js +1 -1
  438. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  439. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  440. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  441. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  442. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  443. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  444. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  445. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  446. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  447. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  448. package/dist/database/migration/20260812213948_worktree.js +1 -1
  449. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  450. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  451. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  452. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  453. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  454. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  455. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  456. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  457. package/dist/database/migration/20261025123711_blob.js +1 -1
  458. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  459. package/dist/database/migration/20261026223005_schedule.js +1 -1
  460. package/dist/database/migration/20261029002625_session_part.js +1 -1
  461. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  462. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  463. package/dist/database/migration/20261030054400_job.js +1 -1
  464. package/dist/database/migration.gen.js +60 -60
  465. package/dist/database/migration.js +76 -76
  466. package/dist/database/path.js +2 -2
  467. package/dist/database/schema.gen.js +1 -1
  468. package/dist/database/schema.sql.js +1 -1
  469. package/dist/database/v1-migration.bun.js +105 -105
  470. package/dist/effect/app-node-builder.js +442 -442
  471. package/dist/effect/app-node-platform.js +2 -2
  472. package/dist/effect/keyed-mutex.js +1 -1
  473. package/dist/effect/websocket-constructor.js +1 -1
  474. package/dist/environment/driver.js +1 -1
  475. package/dist/environment/environment.js +105 -105
  476. package/dist/environment/exec-defaults.js +2 -2
  477. package/dist/environment/files.js +1 -1
  478. package/dist/environment/index.js +109 -109
  479. package/dist/environment/local.js +2 -2
  480. package/dist/environment/memory.js +2 -2
  481. package/dist/environment/unavailable.js +1 -1
  482. package/dist/event/sql.js +1 -1
  483. package/dist/event-logger.js +81 -81
  484. package/dist/file-access.js +161 -161
  485. package/dist/file-mutation.js +108 -108
  486. package/dist/file-retention.js +1 -1
  487. package/dist/file-write.js +165 -165
  488. package/dist/filesystem/fff.bun.js +2 -2
  489. package/dist/filesystem/fff.js +1 -1
  490. package/dist/filesystem/fff.node.js +2 -2
  491. package/dist/filesystem/fff.workerd.js +2 -2
  492. package/dist/filesystem/file-watch.js +88 -88
  493. package/dist/filesystem/location-watcher-policy.js +2 -2
  494. package/dist/filesystem/location-watcher.js +249 -249
  495. package/dist/filesystem/protected.js +1 -1
  496. package/dist/filesystem/search.js +113 -113
  497. package/dist/filesystem/watcher-binding.js +1 -1
  498. package/dist/filesystem/watcher.js +11 -11
  499. package/dist/filesystem.js +116 -116
  500. package/dist/flag.js +136 -136
  501. package/dist/form.js +93 -93
  502. package/dist/formatter/builtins.js +4 -4
  503. package/dist/formatter.js +100 -100
  504. package/dist/generate.js +121 -121
  505. package/dist/git.js +11 -11
  506. package/dist/github-copilot/models.js +105 -105
  507. package/dist/image/notice.js +3 -3
  508. package/dist/image/photon-normalize.js +1 -1
  509. package/dist/image/photon-worker.js +1 -1
  510. package/dist/image/photon.js +4 -4
  511. package/dist/image.js +6 -6
  512. package/dist/instance/service.js +5 -5
  513. package/dist/instance.js +433 -433
  514. package/dist/instruction-discovery.js +95 -95
  515. package/dist/instructions/builtins.js +100 -100
  516. package/dist/instructions/index.js +3 -3
  517. package/dist/integration/connection.js +3 -3
  518. package/dist/integration.js +92 -92
  519. package/dist/job/list.js +5 -5
  520. package/dist/job/recovery.js +2 -2
  521. package/dist/job/sql.js +2 -2
  522. package/dist/job.js +88 -88
  523. package/dist/kv/sql.js +2 -2
  524. package/dist/kv.js +84 -84
  525. package/dist/location-activity.js +183 -183
  526. package/dist/location-lifecycle.js +154 -154
  527. package/dist/location-service-map.js +99 -99
  528. package/dist/location-services.js +430 -430
  529. package/dist/location.js +98 -98
  530. package/dist/managed-policy.js +3 -3
  531. package/dist/mcp/client.js +159 -159
  532. package/dist/mcp/connection.js +104 -104
  533. package/dist/mcp/index.js +124 -124
  534. package/dist/mcp/instructions.js +190 -190
  535. package/dist/mcp/oauth.js +89 -89
  536. package/dist/mcp/pool.js +112 -112
  537. package/dist/mcp/socket-client.js +1 -1
  538. package/dist/mcp/stdio.js +158 -158
  539. package/dist/mime.js +1 -1
  540. package/dist/modal/models.js +105 -105
  541. package/dist/model-resolver.js +113 -113
  542. package/dist/model-retry.js +1 -1
  543. package/dist/model.js +110 -110
  544. package/dist/models-dev/v1.js +1 -1
  545. package/dist/models-dev.js +122 -122
  546. package/dist/oauth/page.js +1 -1
  547. package/dist/permission/saved.js +93 -93
  548. package/dist/permission/sql.js +5 -5
  549. package/dist/permission.js +155 -155
  550. package/dist/persistent-pty/binary.bun.js +1 -1
  551. package/dist/persistent-pty/daemon.js +1 -1
  552. package/dist/persistent-pty/index.js +95 -95
  553. package/dist/persistent-pty/pty-binding.js +1 -1
  554. package/dist/persistent-pty.js +86 -86
  555. package/dist/plugin/agent.js +87 -87
  556. package/dist/plugin/command.js +119 -119
  557. package/dist/plugin/goal.js +3 -3
  558. package/dist/plugin/hooks.js +5 -5
  559. package/dist/plugin/host.js +246 -246
  560. package/dist/plugin/identity.js +5 -5
  561. package/dist/plugin/instance.js +5 -5
  562. package/dist/plugin/internal.js +411 -411
  563. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  564. package/dist/plugin/models-dev.js +111 -111
  565. package/dist/plugin/module.js +130 -130
  566. package/dist/plugin/optimize.js +4 -4
  567. package/dist/plugin/plan.js +150 -150
  568. package/dist/plugin/promise.js +1 -1
  569. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  570. package/dist/plugin/provider/azure.js +134 -134
  571. package/dist/plugin/provider/cerebras.js +1 -1
  572. package/dist/plugin/provider/chatgpt.js +134 -134
  573. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  574. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  575. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  576. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  577. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  578. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  579. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  580. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  581. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  582. package/dist/plugin/provider/claude-agent/index.js +149 -149
  583. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  584. package/dist/plugin/provider/claude-agent/integration.js +114 -114
  585. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  586. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  587. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  588. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  589. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  590. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  591. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  592. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  593. package/dist/plugin/provider/claude-agent/session.js +113 -113
  594. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  595. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  596. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  597. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  598. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  599. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  600. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  601. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  604. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  605. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  606. package/dist/plugin/provider/configured.js +127 -127
  607. package/dist/plugin/provider/credential-settings.js +88 -88
  608. package/dist/plugin/provider/databricks.js +1 -1
  609. package/dist/plugin/provider/digitalocean.js +110 -110
  610. package/dist/plugin/provider/dynamic.js +2 -2
  611. package/dist/plugin/provider/github-copilot.js +112 -112
  612. package/dist/plugin/provider/gitlab.js +110 -110
  613. package/dist/plugin/provider/google-vertex.js +128 -128
  614. package/dist/plugin/provider/kilo.js +1 -1
  615. package/dist/plugin/provider/llmgateway.js +89 -89
  616. package/dist/plugin/provider/lmstudio.js +141 -141
  617. package/dist/plugin/provider/local.js +138 -138
  618. package/dist/plugin/provider/modal.js +109 -109
  619. package/dist/plugin/provider/neon.js +1 -1
  620. package/dist/plugin/provider/nvidia.js +1 -1
  621. package/dist/plugin/provider/ollama.js +141 -141
  622. package/dist/plugin/provider/openai-context-caps.js +107 -107
  623. package/dist/plugin/provider/openai.js +136 -136
  624. package/dist/plugin/provider/opencode-watches.js +4 -4
  625. package/dist/plugin/provider/opencode.js +162 -162
  626. package/dist/plugin/provider/openrouter.js +105 -105
  627. package/dist/plugin/provider/poe.js +90 -90
  628. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  629. package/dist/plugin/provider/refresh.js +87 -87
  630. package/dist/plugin/provider/sap-ai-core.js +105 -105
  631. package/dist/plugin/provider/sdk-factory.js +1 -1
  632. package/dist/plugin/provider/snowflake-cortex.js +132 -132
  633. package/dist/plugin/provider/vllm.js +141 -141
  634. package/dist/plugin/provider/xai.js +105 -105
  635. package/dist/plugin/provider/zenmux.js +1 -1
  636. package/dist/plugin/provider.js +240 -240
  637. package/dist/plugin/sdk.js +85 -85
  638. package/dist/plugin/service.js +3 -3
  639. package/dist/plugin/skill.js +153 -153
  640. package/dist/plugin/source-directory.js +1 -1
  641. package/dist/plugin/supervisor.js +421 -421
  642. package/dist/plugin/tool-input-repair.js +4 -4
  643. package/dist/plugin/update.js +6 -6
  644. package/dist/plugin/vcs/git.js +99 -99
  645. package/dist/plugin/vcs/hg.js +99 -99
  646. package/dist/plugin/verbosity.js +107 -107
  647. package/dist/plugin/warming.js +131 -131
  648. package/dist/plugin/websearch/exa.js +8 -8
  649. package/dist/plugin/websearch/firecrawl.js +9 -9
  650. package/dist/plugin/websearch/index.js +10 -10
  651. package/dist/plugin/websearch/mcp.js +4 -4
  652. package/dist/plugin/websearch/parallel.js +9 -9
  653. package/dist/plugin/websearch/provider.js +3 -3
  654. package/dist/plugin/websearch/tavily.js +7 -7
  655. package/dist/plugin/websearch/tinyfish.js +9 -9
  656. package/dist/plugin.js +253 -253
  657. package/dist/project/icon.js +5 -5
  658. package/dist/project/schema.js +8 -8
  659. package/dist/project/sql.js +4 -4
  660. package/dist/project.js +103 -103
  661. package/dist/provider.js +109 -109
  662. package/dist/pty/protocol.js +1 -1
  663. package/dist/pty/ticket.js +1 -1
  664. package/dist/pty.js +101 -101
  665. package/dist/reference/instructions.js +99 -99
  666. package/dist/reference.js +103 -103
  667. package/dist/repository-cache.js +93 -93
  668. package/dist/repository.js +1 -1
  669. package/dist/ripgrep/binary.js +2 -2
  670. package/dist/ripgrep.js +109 -109
  671. package/dist/rpc.js +99 -99
  672. package/dist/schedule/check.js +251 -251
  673. package/dist/schedule/sql.js +6 -6
  674. package/dist/schedule.js +257 -257
  675. package/dist/schema.js +1 -1
  676. package/dist/session/affinity.js +3 -3
  677. package/dist/session/background.js +3 -3
  678. package/dist/session/blob.js +133 -133
  679. package/dist/session/command.js +85 -85
  680. package/dist/session/compaction.js +176 -176
  681. package/dist/session/context.js +206 -206
  682. package/dist/session/diff.js +101 -101
  683. package/dist/session/environment.js +5 -5
  684. package/dist/session/error.js +5 -5
  685. package/dist/session/event.js +1 -1
  686. package/dist/session/execution/restart.js +269 -269
  687. package/dist/session/execution.js +170 -170
  688. package/dist/session/generate.js +206 -206
  689. package/dist/session/history.js +140 -140
  690. package/dist/session/inbox.js +151 -151
  691. package/dist/session/info.js +3 -3
  692. package/dist/session/instruction-entry.js +90 -90
  693. package/dist/session/instruction-state.js +8 -8
  694. package/dist/session/instructions.js +147 -147
  695. package/dist/session/message-updater.js +4 -4
  696. package/dist/session/message.js +1 -1
  697. package/dist/session/model-request.js +172 -172
  698. package/dist/session/model-transport.js +9 -9
  699. package/dist/session/move.js +172 -172
  700. package/dist/session/projector.js +147 -147
  701. package/dist/session/prompt.js +152 -152
  702. package/dist/session/recent-text.js +1 -1
  703. package/dist/session/revert.js +143 -143
  704. package/dist/session/run-coordinator.js +1 -1
  705. package/dist/session/runner/index.js +3 -3
  706. package/dist/session/runner/llm.js +259 -259
  707. package/dist/session/runner/max-steps.js +1 -1
  708. package/dist/session/runner/model.js +115 -115
  709. package/dist/session/runner/publish-llm-event.js +154 -154
  710. package/dist/session/runner/retry.js +3 -3
  711. package/dist/session/runner/step.js +167 -167
  712. package/dist/session/runner/to-llm-message.js +141 -141
  713. package/dist/session/schema.js +5 -5
  714. package/dist/session/session.js +190 -190
  715. package/dist/session/shell.js +149 -149
  716. package/dist/session/skill.js +153 -153
  717. package/dist/session/sql.js +5 -5
  718. package/dist/session/stats.js +85 -85
  719. package/dist/session/store.js +146 -146
  720. package/dist/session/stored.js +2 -2
  721. package/dist/session/subagent-completion.js +3 -3
  722. package/dist/session/subagent-job.js +238 -238
  723. package/dist/session/system-prompt.js +5 -5
  724. package/dist/session/title.js +210 -210
  725. package/dist/session/to-session-error.js +153 -153
  726. package/dist/session/transfer.js +252 -252
  727. package/dist/session/usage.js +1 -1
  728. package/dist/session.js +248 -248
  729. package/dist/shared-cache.js +5 -5
  730. package/dist/shell/parse.js +6 -6
  731. package/dist/shell/result.js +1 -1
  732. package/dist/shell/scan.js +1 -1
  733. package/dist/shell/select.js +13 -13
  734. package/dist/shell.js +149 -149
  735. package/dist/skill/discovery.js +2 -2
  736. package/dist/skill/instructions.js +151 -151
  737. package/dist/skill.js +160 -160
  738. package/dist/snapshot.js +104 -104
  739. package/dist/state.js +1 -1
  740. package/dist/tool/html-markdown.js +1 -1
  741. package/dist/tool/http-body.js +1 -1
  742. package/dist/tool/mcp.js +187 -187
  743. package/dist/tool/plugin/artifact.js +241 -241
  744. package/dist/tool/plugin/edit.js +171 -171
  745. package/dist/tool/plugin/file-diff.js +1 -1
  746. package/dist/tool/plugin/glob.js +175 -175
  747. package/dist/tool/plugin/grep.js +174 -174
  748. package/dist/tool/plugin/image-generate.js +252 -252
  749. package/dist/tool/plugin/mcp-resource.js +170 -170
  750. package/dist/tool/plugin/opencode.js +167 -167
  751. package/dist/tool/plugin/patch.js +172 -172
  752. package/dist/tool/plugin/question.js +148 -148
  753. package/dist/tool/plugin/read.js +172 -172
  754. package/dist/tool/plugin/schedule.js +257 -257
  755. package/dist/tool/plugin/shell.js +244 -244
  756. package/dist/tool/plugin/skill.js +161 -161
  757. package/dist/tool/plugin/subagent.js +241 -241
  758. package/dist/tool/plugin/todo.js +157 -157
  759. package/dist/tool/plugin/webfetch.js +159 -159
  760. package/dist/tool/plugin/websearch.js +159 -159
  761. package/dist/tool/plugin/write.js +172 -172
  762. package/dist/tool/read-filesystem.js +114 -114
  763. package/dist/tool/runtime.js +1 -1
  764. package/dist/tool/search.js +109 -109
  765. package/dist/tool-output.js +7 -7
  766. package/dist/tool.js +164 -164
  767. package/dist/types/plugin/provider/local.d.ts +2 -0
  768. package/dist/usage-limits.js +100 -100
  769. package/dist/util/error-summary.js +1 -1
  770. package/dist/util/git-executable.js +3 -3
  771. package/dist/util/lazy.js +1 -1
  772. package/dist/util/slug.js +1 -1
  773. package/dist/util/token.js +1 -1
  774. package/dist/util/which.js +1 -1
  775. package/dist/util/wildcard.js +1 -1
  776. package/dist/v1/config/agent.js +5 -5
  777. package/dist/v1/config/command.js +3 -3
  778. package/dist/v1/config/mcp.js +4 -4
  779. package/dist/v1/config/migrate.js +106 -106
  780. package/dist/v1/config/permission.js +3 -3
  781. package/dist/v1/config/plugin.js +3 -3
  782. package/dist/v1/config/provider-options.js +1 -1
  783. package/dist/v1/config/provider.js +4 -4
  784. package/dist/variant.js +107 -107
  785. package/dist/vcs/patch.js +1 -1
  786. package/dist/vcs.js +102 -102
  787. package/dist/voice.js +101 -101
  788. package/dist/websearch.js +91 -91
  789. package/dist/wellknown/plugin.js +87 -87
  790. package/dist/wellknown.js +92 -92
  791. package/dist/workspace/driver.js +5 -5
  792. package/dist/workspace/sql.js +1 -1
  793. package/dist/workspace.js +93 -93
  794. package/dist/worktree/directory.js +2 -2
  795. package/dist/worktree/git.js +9 -9
  796. package/dist/worktree/sql.js +5 -5
  797. package/dist/worktree/strategies.js +102 -102
  798. package/dist/worktree.js +109 -109
  799. package/package.json +8 -8
  800. package/dist/chunks/filesystem-1ywg999t.js +0 -273
  801. package/dist/chunks/filesystem-4n5cstwr.js +0 -579
  802. package/dist/chunks/filesystem-f8ma18fn.js +0 -18
  803. package/dist/chunks/filesystem-kwjwsaah.js +0 -26
  804. /package/dist/chunks/{filesystem-0qkdqm5v.js → artifact-0qkdqm5v.js} +0 -0
  805. /package/dist/chunks/{filesystem-0zkw76rk.js → artifact-0zkw76rk.js} +0 -0
  806. /package/dist/chunks/{filesystem-17cy0kzp.js → artifact-17cy0kzp.js} +0 -0
  807. /package/dist/chunks/{filesystem-1cnp2v09.js → artifact-1cnp2v09.js} +0 -0
  808. /package/dist/chunks/{filesystem-1kah00gy.js → artifact-1kah00gy.js} +0 -0
  809. /package/dist/chunks/{filesystem-24dcb14g.js → artifact-24dcb14g.js} +0 -0
  810. /package/dist/chunks/{filesystem-2710q6r3.js → artifact-2710q6r3.js} +0 -0
  811. /package/dist/chunks/{filesystem-2c3vjs8z.js → artifact-2c3vjs8z.js} +0 -0
  812. /package/dist/chunks/{filesystem-359p4xyc.js → artifact-359p4xyc.js} +0 -0
  813. /package/dist/chunks/{filesystem-3v8g72cx.js → artifact-3v8g72cx.js} +0 -0
  814. /package/dist/chunks/{filesystem-43n2bw4t.js → artifact-43n2bw4t.js} +0 -0
  815. /package/dist/chunks/{filesystem-4knz6hnm.js → artifact-4knz6hnm.js} +0 -0
  816. /package/dist/chunks/{filesystem-4qk9sjk2.js → artifact-4qk9sjk2.js} +0 -0
  817. /package/dist/chunks/{filesystem-53557ph1.js → artifact-53557ph1.js} +0 -0
  818. /package/dist/chunks/{filesystem-5w3e23ze.js → artifact-5w3e23ze.js} +0 -0
  819. /package/dist/chunks/{filesystem-6agm2x70.js → artifact-6agm2x70.js} +0 -0
  820. /package/dist/chunks/{filesystem-6prwharc.js → artifact-6prwharc.js} +0 -0
  821. /package/dist/chunks/{filesystem-6q2bdcd1.js → artifact-6q2bdcd1.js} +0 -0
  822. /package/dist/chunks/{filesystem-7akdwqpd.js → artifact-7akdwqpd.js} +0 -0
  823. /package/dist/chunks/{filesystem-7m9af43g.js → artifact-7m9af43g.js} +0 -0
  824. /package/dist/chunks/{filesystem-7rvsyqjv.js → artifact-7rvsyqjv.js} +0 -0
  825. /package/dist/chunks/{filesystem-822emrt2.js → artifact-822emrt2.js} +0 -0
  826. /package/dist/chunks/{filesystem-84wd9syh.js → artifact-84wd9syh.js} +0 -0
  827. /package/dist/chunks/{filesystem-88xbtdfr.js → artifact-88xbtdfr.js} +0 -0
  828. /package/dist/chunks/{filesystem-8n3pysct.js → artifact-8n3pysct.js} +0 -0
  829. /package/dist/chunks/{filesystem-8wj87zfr.js → artifact-8wj87zfr.js} +0 -0
  830. /package/dist/chunks/{filesystem-9a4afbnw.js → artifact-9a4afbnw.js} +0 -0
  831. /package/dist/chunks/{filesystem-9rqn6x4v.js → artifact-9rqn6x4v.js} +0 -0
  832. /package/dist/chunks/{filesystem-aqzs7mqg.js → artifact-aqzs7mqg.js} +0 -0
  833. /package/dist/chunks/{filesystem-atq7p7m5.js → artifact-atq7p7m5.js} +0 -0
  834. /package/dist/chunks/{filesystem-beh6qq61.js → artifact-beh6qq61.js} +0 -0
  835. /package/dist/chunks/{filesystem-bkyjaxrp.js → artifact-bkyjaxrp.js} +0 -0
  836. /package/dist/chunks/{filesystem-bmr6ed5q.js → artifact-bmr6ed5q.js} +0 -0
  837. /package/dist/chunks/{filesystem-cf4snx6d.js → artifact-cf4snx6d.js} +0 -0
  838. /package/dist/chunks/{filesystem-cqv5kn06.js → artifact-cqv5kn06.js} +0 -0
  839. /package/dist/chunks/{filesystem-cvy3z8tj.js → artifact-cvy3z8tj.js} +0 -0
  840. /package/dist/chunks/{filesystem-d9fn303g.js → artifact-d9fn303g.js} +0 -0
  841. /package/dist/chunks/{filesystem-d9jj8t3e.js → artifact-d9jj8t3e.js} +0 -0
  842. /package/dist/chunks/{filesystem-df08tz66.js → artifact-df08tz66.js} +0 -0
  843. /package/dist/chunks/{filesystem-dy18nga0.js → artifact-dy18nga0.js} +0 -0
  844. /package/dist/chunks/{filesystem-e5kj55wp.js → artifact-e5kj55wp.js} +0 -0
  845. /package/dist/chunks/{filesystem-ean2d8b5.js → artifact-ean2d8b5.js} +0 -0
  846. /package/dist/chunks/{filesystem-ec1grn59.js → artifact-ec1grn59.js} +0 -0
  847. /package/dist/chunks/{filesystem-emrn6kk6.js → artifact-emrn6kk6.js} +0 -0
  848. /package/dist/chunks/{filesystem-f0mxakyp.js → artifact-f0mxakyp.js} +0 -0
  849. /package/dist/chunks/{filesystem-f6n9ztr4.js → artifact-f6n9ztr4.js} +0 -0
  850. /package/dist/chunks/{filesystem-faypxj3z.js → artifact-faypxj3z.js} +0 -0
  851. /package/dist/chunks/{filesystem-fd410y7t.js → artifact-fd410y7t.js} +0 -0
  852. /package/dist/chunks/{filesystem-fkpq3x5p.js → artifact-fkpq3x5p.js} +0 -0
  853. /package/dist/chunks/{filesystem-g86h250q.js → artifact-g86h250q.js} +0 -0
  854. /package/dist/chunks/{filesystem-gebd4c9n.js → artifact-gebd4c9n.js} +0 -0
  855. /package/dist/chunks/{filesystem-gftt206x.js → artifact-gftt206x.js} +0 -0
  856. /package/dist/chunks/{filesystem-hcxmzztb.js → artifact-hcxmzztb.js} +0 -0
  857. /package/dist/chunks/{filesystem-hk9envan.js → artifact-hk9envan.js} +0 -0
  858. /package/dist/chunks/{filesystem-j2ntwpah.js → artifact-j2ntwpah.js} +0 -0
  859. /package/dist/chunks/{filesystem-jjkms2e6.js → artifact-jjkms2e6.js} +0 -0
  860. /package/dist/chunks/{filesystem-jr7sbwjy.js → artifact-jr7sbwjy.js} +0 -0
  861. /package/dist/chunks/{filesystem-jwfs4k6c.js → artifact-jwfs4k6c.js} +0 -0
  862. /package/dist/chunks/{filesystem-jwr30sdr.js → artifact-jwr30sdr.js} +0 -0
  863. /package/dist/chunks/{filesystem-jzg6c2d5.js → artifact-jzg6c2d5.js} +0 -0
  864. /package/dist/chunks/{filesystem-m18g726c.js → artifact-m18g726c.js} +0 -0
  865. /package/dist/chunks/{filesystem-mp448xyj.js → artifact-mp448xyj.js} +0 -0
  866. /package/dist/chunks/{filesystem-msx8hqn2.js → artifact-msx8hqn2.js} +0 -0
  867. /package/dist/chunks/{filesystem-n05xt0ee.js → artifact-n05xt0ee.js} +0 -0
  868. /package/dist/chunks/{filesystem-n3j8tn72.js → artifact-n3j8tn72.js} +0 -0
  869. /package/dist/chunks/{filesystem-nh4v3znn.js → artifact-nh4v3znn.js} +0 -0
  870. /package/dist/chunks/{filesystem-njntx4h6.js → artifact-njntx4h6.js} +0 -0
  871. /package/dist/chunks/{filesystem-p71gwv9c.js → artifact-p71gwv9c.js} +0 -0
  872. /package/dist/chunks/{filesystem-q3sfg36h.js → artifact-q3sfg36h.js} +0 -0
  873. /package/dist/chunks/{filesystem-q74kybfr.js → artifact-q74kybfr.js} +0 -0
  874. /package/dist/chunks/{filesystem-qb87gjwd.js → artifact-qb87gjwd.js} +0 -0
  875. /package/dist/chunks/{filesystem-qfa1cgps.js → artifact-qfa1cgps.js} +0 -0
  876. /package/dist/chunks/{filesystem-qg3g05ea.js → artifact-qg3g05ea.js} +0 -0
  877. /package/dist/chunks/{filesystem-qrg20bc0.js → artifact-qrg20bc0.js} +0 -0
  878. /package/dist/chunks/{filesystem-rcb2kzg1.js → artifact-rcb2kzg1.js} +0 -0
  879. /package/dist/chunks/{filesystem-sdp7kfr6.js → artifact-sdp7kfr6.js} +0 -0
  880. /package/dist/chunks/{filesystem-ssg3fenm.js → artifact-ssg3fenm.js} +0 -0
  881. /package/dist/chunks/{filesystem-syrav9an.js → artifact-syrav9an.js} +0 -0
  882. /package/dist/chunks/{filesystem-t03h4f5z.js → artifact-t03h4f5z.js} +0 -0
  883. /package/dist/chunks/{filesystem-ty7weeps.js → artifact-ty7weeps.js} +0 -0
  884. /package/dist/chunks/{filesystem-v2dnd5dt.js → artifact-v2dnd5dt.js} +0 -0
  885. /package/dist/chunks/{filesystem-ve7vex1e.js → artifact-ve7vex1e.js} +0 -0
  886. /package/dist/chunks/{filesystem-vtarvj67.js → artifact-vtarvj67.js} +0 -0
  887. /package/dist/chunks/{filesystem-w803qqfp.js → artifact-w803qqfp.js} +0 -0
  888. /package/dist/chunks/{filesystem-wc3fc9cn.js → artifact-wc3fc9cn.js} +0 -0
  889. /package/dist/chunks/{filesystem-wer8tq1h.js → artifact-wer8tq1h.js} +0 -0
  890. /package/dist/chunks/{filesystem-wtztk69x.js → artifact-wtztk69x.js} +0 -0
  891. /package/dist/chunks/{filesystem-x4th4bpe.js → artifact-x4th4bpe.js} +0 -0
  892. /package/dist/chunks/{filesystem-y44na4kk.js → artifact-y44na4kk.js} +0 -0
  893. /package/dist/chunks/{filesystem-y8f7s663.js → artifact-y8f7s663.js} +0 -0
  894. /package/dist/chunks/{filesystem-ygaqb7jw.js → artifact-ygaqb7jw.js} +0 -0
  895. /package/dist/chunks/{filesystem-z5v4ffb3.js → artifact-z5v4ffb3.js} +0 -0
  896. /package/dist/chunks/{filesystem-z9919s4g.js → artifact-z9919s4g.js} +0 -0
  897. /package/dist/chunks/{filesystem-zxpyjp51.js → artifact-zxpyjp51.js} +0 -0
  898. /package/dist/chunks/{filesystem-zz5vv3aq.js → artifact-zz5vv3aq.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./filesystem-96xmncfy.js";
4
+ } from "./artifact-7r5k4twv.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./filesystem-z5v4ffb3.js";
8
+ } from "./artifact-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
- Service87,
12
- node89
13
- } from "./filesystem-j4qxbzz7.js";
11
+ Service85,
12
+ node87
13
+ } from "./artifact-3w0rjm0m.js";
14
14
  import {
15
15
  __export
16
- } from "./filesystem-9rqn6x4v.js";
16
+ } from "./artifact-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service65,
22
+ Service: () => Service24,
23
23
  define: () => define2,
24
24
  eventDefinition: () => eventDefinition2,
25
- node: () => node66
25
+ node: () => node27
26
26
  });
27
27
  import { define as define2 } from "@opencode/schema/rpc";
28
28
  import { Event } from "@opencode/schema/event";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
31
- class Service65 extends Context.Service()("@opencode/Rpc") {
31
+ class Service24 extends Context.Service()("@opencode/Rpc") {
32
32
  }
33
33
 
34
34
  class DeclaredError extends Error {
@@ -40,9 +40,9 @@ class DeclaredError extends Error {
40
40
  this.data = data;
41
41
  }
42
42
  }
43
- var layer = Layer.effect(Service65, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
44
44
  const bus = yield* Service93;
45
- const location = yield* Service87;
45
+ const location = yield* Service85;
46
46
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
47
47
  const closed = yield* Deferred.make();
48
48
  const callContext = {
@@ -119,14 +119,14 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
119
119
  const registered = events.get(name);
120
120
  if (!registered)
121
121
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
122
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service87, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service85, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
123
123
  }
124
124
  }
125
125
  };
126
126
  };
127
- return Service65.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
+ return Service24.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
128
128
  }));
129
- var node66 = makeLocationNode({ service: Service65, layer, deps: [node95, node89] });
129
+ var node27 = makeLocationNode({ service: Service24, layer, deps: [node95, node87] });
130
130
  var fields = {
131
131
  id: Event.ID,
132
132
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service65, node66, eventDefinition2, exports_rpc, define2 };
213
+ export { Service24, node27, eventDefinition2, exports_rpc, define2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID13,
2
+ ID14,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./filesystem-491q2x3b.js";
5
+ } from "./artifact-8kw7qgcw.js";
6
6
  import {
7
7
  __export
8
- } from "./filesystem-9rqn6x4v.js";
8
+ } from "./artifact-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin28
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin43
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin28 = define({
60
+ var Plugin43 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin28 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID13.make("general"), (item) => {
70
+ editor.update(ID14.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID13.make("explore"), (item) => {
76
+ editor.update(ID14.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID13.make("compaction"), (item) => {
83
+ editor.update(ID14.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID13.make("title"), (item) => {
88
+ editor.update(ID14.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID13.make("summary"), (item) => {
95
+ editor.update(ID14.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin28 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin28, exports_agent };
106
+ export { Plugin43, exports_agent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./artifact-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./filesystem-0ma9gw4f.js";
4
+ } from "./artifact-0ma9gw4f.js";
5
5
  import {
6
- Service85,
7
- node87
8
- } from "./filesystem-tr6gb3ke.js";
6
+ Service83,
7
+ node85
8
+ } from "./artifact-k65axkye.js";
9
9
  import {
10
- Service79,
11
- node81
12
- } from "./filesystem-0fn5ab0k.js";
10
+ Service54,
11
+ node55
12
+ } from "./artifact-try2fr5n.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./filesystem-2fc7eemy.js";
15
+ } from "./artifact-2fc7eemy.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./artifact-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
21
  var exports_generate = {};
22
22
  __export(exports_generate, {
23
23
  Generate: () => exports_generate,
24
- InvalidRequestError: () => InvalidRequestError2,
24
+ InvalidRequestError: () => InvalidRequestError3,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service17,
29
- UnavailableError: () => UnavailableError2,
28
+ Service: () => Service20,
29
+ UnavailableError: () => UnavailableError3,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer9,
32
- node: () => node20
31
+ layer: () => layer11,
32
+ node: () => node23
33
33
  });
34
34
  import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
58
58
  }) {
59
59
  }
60
60
 
61
- class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
61
+ class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
62
62
  message: Schema.String,
63
63
  field: Schema.optional(Schema.String)
64
64
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service17 extends Context.Service()("@opencode/Generate") {
84
+ class Service20 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer9 = Layer.effect(Service17, Effect.gen(function* () {
86
+ var layer11 = Layer.effect(Service20, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service79;
89
- const models = yield* Service85;
88
+ const resolver = yield* Service54;
89
+ const models = yield* Service83;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer9 = Layer.effect(Service17, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError2({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError2({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(ai.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer9 = Layer.effect(Service17, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({ message: "Generation credentials are unavailable" })));
166
- return Service17.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
166
+ return Service20.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
176
176
  if (error._tag === "Integration.Authorization")
177
177
  return error;
178
178
  if (error._tag === "SessionRunnerModel.VariantUnavailableError")
179
- return new InvalidRequestError2({ message: error.message, field: "model.variant" });
179
+ return new InvalidRequestError3({ message: error.message, field: "model.variant" });
180
180
  if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
181
181
  return new UnsupportedModelError2({
182
182
  providerID: ref.providerID,
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
184
184
  capability: type,
185
185
  message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
186
186
  });
187
- return new InvalidRequestError2({ message: error.message, field: "model" });
187
+ return new InvalidRequestError3({ message: error.message, field: "model" });
188
188
  }
189
189
  function providerError(ref, error) {
190
190
  const reason = error.reason;
191
191
  if (reason._tag === "InvalidRequest" && reason.http === undefined)
192
- return new InvalidRequestError2({ message: reason.message });
192
+ return new InvalidRequestError3({ message: reason.message });
193
193
  if (reason._tag === "UnsupportedOperation")
194
- return new InvalidRequestError2({ message: reason.message });
194
+ return new InvalidRequestError3({ message: reason.message });
195
195
  const status = "http" in reason ? reason.http?.status : undefined;
196
196
  const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
197
197
  return new ProviderRequestError2({
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node20 = makeLocationNode({
219
- service: Service17,
220
- layer: layer9,
221
- deps: [node81, node87, llmClient2, requestExecutor2]
218
+ var node23 = makeLocationNode({
219
+ service: Service20,
220
+ layer: layer11,
221
+ deps: [node55, node85, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError2, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service17, layer9, node20, exports_generate };
224
+ export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service20, layer11, node23, exports_generate };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./artifact-9rqn6x4v.js";
4
4
 
5
5
  // src/image/notice.ts
6
6
  var exports_notice = {};
7
7
  __export(exports_notice, {
8
8
  ImageNotice: () => exports_notice,
9
- text: () => text3
9
+ text: () => text2
10
10
  });
11
- function text3(input) {
11
+ function text2(input) {
12
12
  return `<image id="${input.id}" state="${input.state}">
13
13
  ${input.body}
14
14
  </image>`;
15
15
  }
16
16
 
17
- export { text3, exports_notice };
17
+ export { text2, exports_notice };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service77
3
- } from "./filesystem-05rxf7ag.js";
2
+ Service69
3
+ } from "./artifact-806rt4y4.js";
4
4
  import {
5
5
  resolvePath2
6
- } from "./filesystem-6gpahs7y.js";
6
+ } from "./artifact-2raevjmd.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./artifact-9rqn6x4v.js";
10
10
 
11
11
  // src/mcp/stdio.ts
12
12
  var exports_stdio = {};
@@ -26,7 +26,7 @@ var EXIT_WAIT = Duration.seconds(1);
26
26
  var STDERR_TAIL = 1000;
27
27
  var resolveCwd2 = (directory, cwd) => cwd ? resolvePath2(directory, cwd) : directory;
28
28
  var make2 = Effect.fnUntraced(function* (options) {
29
- const environment = yield* Service77;
29
+ const environment = yield* Service69;
30
30
  const scope = yield* Effect.scope;
31
31
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
32
32
  const state = { phase: "ready" };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./filesystem-svcy3p9a.js";
3
+ } from "./artifact-svcy3p9a.js";
4
4
  import {
5
5
  makeFiles2
6
- } from "./filesystem-rgc9cx3e.js";
6
+ } from "./artifact-rgc9cx3e.js";
7
7
  import {
8
8
  Service94,
9
9
  node96
10
- } from "./filesystem-q50958an.js";
10
+ } from "./artifact-vj1dqaf1.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./filesystem-5whx36p1.js";
13
+ } from "./artifact-5whx36p1.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node80
18
- } from "./filesystem-3b3p5y89.js";
17
+ node72
18
+ } from "./artifact-6gctgqga.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./filesystem-faypxj3z.js";
21
+ } from "./artifact-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./filesystem-9rqn6x4v.js";
24
+ } from "./artifact-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID15,
31
- Info: () => Info22,
30
+ ID: () => ID10,
31
+ Info: () => Info13,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service78,
33
+ Service: () => Service70,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured9,
36
- node: () => node79
35
+ configured: () => configured7,
36
+ node: () => node71
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID15 = Workspace.ID;
44
+ var ID10 = Workspace.ID;
45
45
 
46
- class Info22 extends Schema.Class("Workspace.Info")({
47
- id: ID15,
46
+ class Info13 extends Schema.Class("Workspace.Info")({
47
+ id: ID10,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info22 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID15,
59
+ workspaceID: ID10,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service78 extends Context.Service()("@opencode/Workspace") {
65
+ class Service70 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured9 = (options = {}) => makeGlobalNode({
68
- service: Service78,
67
+ var configured7 = (options = {}) => makeGlobalNode({
68
+ service: Service70,
69
69
  layer: layer(options),
70
- deps: [node96, node80]
70
+ deps: [node96, node72]
71
71
  });
72
- var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
73
73
  const db = (yield* Service94).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info22({
89
+ const info = (row, binding) => new Info13({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -161,9 +161,9 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
161
161
  yield* Scope.close(connection.scope, Exit.void);
162
162
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
163
163
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
164
- return Service78.of({
164
+ return Service70.of({
165
165
  create: Effect.fn("Workspace.create")(function* (input) {
166
- const workspaceID = input.id ?? ID15.create();
166
+ const workspaceID = input.id ?? ID10.create();
167
167
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
168
168
  if (existing) {
169
169
  if (existing.provider === input.provider)
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
239
239
  })
240
240
  });
241
241
  }));
242
- var node79 = configured9();
242
+ var node71 = configured7();
243
243
 
244
- export { ID15, Info22, NotFound2, CreateConflict2, Service78, configured9, node79, exports_workspace };
244
+ export { ID10, Info13, NotFound2, CreateConflict2, Service70, configured7, node71, exports_workspace };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./artifact-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service58,
10
- node: () => node59
9
+ Service: () => Service52,
10
+ node: () => node53
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service58 extends Context.Service()("@opencode/Instance") {
16
+ class Service52 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node59 = LayerNode.unbound(Service58, Node.tags.values.global);
18
+ var node53 = LayerNode.unbound(Service52, Node.tags.values.global);
19
19
 
20
- export { Service58, node59, exports_service2 };
20
+ export { Service52, node53, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./artifact-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result2 = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./filesystem-96xmncfy.js";
4
+ } from "./artifact-7r5k4twv.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./filesystem-40y6dtc2.js";
8
+ } from "./artifact-40y6dtc2.js";
9
9
  import {
10
10
  __export
11
- } from "./filesystem-9rqn6x4v.js";
11
+ } from "./artifact-9rqn6x4v.js";
12
12
 
13
13
  // src/agent.ts
14
14
  var exports_agent3 = {};
15
15
  __export(exports_agent3, {
16
16
  Agent: () => exports_agent3,
17
17
  Color: () => Color2,
18
- Event: () => Event13,
19
- ID: () => ID13,
20
- Info: () => Info15,
18
+ Event: () => Event14,
19
+ ID: () => ID14,
20
+ Info: () => Info17,
21
21
  Name: () => Name3,
22
- Service: () => Service71,
22
+ Service: () => Service77,
23
23
  defaultID: () => defaultID2,
24
- node: () => node72
24
+ node: () => node79
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
- import { Event as Event13 } from "@opencode/schema/agent";
30
- var ID13 = Agent.ID;
29
+ import { Event as Event14 } from "@opencode/schema/agent";
30
+ var ID14 = Agent.ID;
31
31
  var Name3 = Agent.Name;
32
- var defaultID2 = ID13.make("build");
32
+ var defaultID2 = ID14.make("build");
33
33
  var Color2 = Agent.Color;
34
- var Info15 = Agent.Info;
34
+ var Info17 = Agent.Info;
35
35
 
36
- class Service71 extends Context.Service()("@opencode/Agent") {
36
+ class Service77 extends Context.Service()("@opencode/Agent") {
37
37
  }
38
- var layer = Layer.effect(Service71, Effect.gen(function* () {
38
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
39
39
  const bus = yield* Service93;
40
40
  const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
41
41
  const selectedDefault = (data) => {
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
68
68
  editor.default = id;
69
69
  },
70
70
  update: (id, fn) => {
71
- const current = editor.agents.get(id) ?? Info15.default(id);
71
+ const current = editor.agents.get(id) ?? Info17.default(id);
72
72
  if (!editor.agents.has(id))
73
73
  editor.agents.set(id, current);
74
74
  fn(current);
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
80
80
  }),
81
81
  notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
82
82
  });
83
- return Service71.of({
83
+ return Service77.of({
84
84
  transform: state.transform,
85
85
  reload: state.reload,
86
86
  get: Effect.fn("Agent.get")(function* (id) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
88
88
  }),
89
89
  resolve: Effect.fnUntraced(function* (id) {
90
90
  if (id !== undefined)
91
- return state.get().agents.get(ID13.make(id));
91
+ return state.get().agents.get(ID14.make(id));
92
92
  return selectedDefault(state.get());
93
93
  }),
94
94
  select: Effect.fn("Agent.select")(function* (id) {
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
102
102
  })
103
103
  });
104
104
  }));
105
- var node72 = makeLocationNode({ service: Service71, layer, deps: [node95] });
105
+ var node79 = makeLocationNode({ service: Service77, layer, deps: [node95] });
106
106
 
107
- export { ID13, Name3, defaultID2, Color2, Info15, Service71, node72, exports_agent3, Event13 };
107
+ export { ID14, Name3, defaultID2, Color2, Info17, Service77, node79, exports_agent3, Event14 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable2
3
- } from "./filesystem-034tev2y.js";
3
+ } from "./artifact-034tev2y.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./artifact-9rqn6x4v.js";
7
7
 
8
8
  // src/project/icon.ts
9
9
  var exports_icon = {};