@opencode/core 0.0.0-dev-1155 → 0.0.0-dev-1169

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 (903) 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 +5 -5
  6. package/dist/artifact.js +253 -253
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{filesystem-3b3p5y89.js → schema-00pd6sp3.js} +8 -8
  9. package/dist/chunks/{filesystem-kkg2t6c6.js → schema-01h9qvbn.js} +35 -35
  10. package/dist/chunks/{filesystem-gfgvxw2h.js → schema-040bqqk0.js} +1 -1
  11. package/dist/chunks/{filesystem-491q2x3b.js → schema-054zc0xd.js} +19 -19
  12. package/dist/chunks/{filesystem-3ryz99p0.js → schema-0ahs07zn.js} +4 -4
  13. package/dist/chunks/{filesystem-53g3ek9f.js → schema-0dpgc71n.js} +19 -19
  14. package/dist/chunks/{filesystem-sqjzf8x2.js → schema-0j7gp832.js} +4 -4
  15. package/dist/chunks/{filesystem-r0jx365g.js → schema-0jfy4hkm.js} +11 -11
  16. package/dist/chunks/{filesystem-ntnvj5mg.js → schema-0khwxjqg.js} +7 -7
  17. package/dist/chunks/{filesystem-0ma9gw4f.js → schema-0ma9gw4f.js} +2 -2
  18. package/dist/chunks/{filesystem-5pah5g87.js → schema-0vb5mjcv.js} +21 -21
  19. package/dist/chunks/{filesystem-083b6r2x.js → schema-12t8q5ww.js} +29 -29
  20. package/dist/chunks/{filesystem-160yv0cs.js → schema-160yv0cs.js} +1 -1
  21. package/dist/chunks/{filesystem-1aqsckx4.js → schema-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{filesystem-ykvbdmjf.js → schema-1awa9fg3.js} +9 -9
  23. package/dist/chunks/{filesystem-h7ccewpy.js → schema-1fqa7gdp.js} +3 -3
  24. package/dist/chunks/{filesystem-he2040d4.js → schema-1p6p0791.js} +7 -7
  25. package/dist/chunks/{filesystem-txdz8mmb.js → schema-1wdt4fx4.js} +8 -8
  26. package/dist/chunks/{filesystem-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{filesystem-p7vhpwh8.js → schema-1yq9hg58.js} +5 -5
  28. package/dist/chunks/{filesystem-pg8c6wdy.js → schema-1yzf0qyg.js} +28 -28
  29. package/dist/chunks/{filesystem-tjpnqare.js → schema-1zt50wep.js} +12 -12
  30. package/dist/chunks/{filesystem-px7qpgcn.js → schema-229tvxdn.js} +4 -4
  31. package/dist/chunks/{filesystem-1ep2p91f.js → schema-27w5k9zf.js} +2 -2
  32. package/dist/chunks/{filesystem-hv4b246c.js → schema-28yt5ya3.js} +8 -8
  33. package/dist/chunks/{filesystem-2fc7eemy.js → schema-2fc7eemy.js} +1 -1
  34. package/dist/chunks/{filesystem-q7qbye6s.js → schema-2gpvmrfd.js} +33 -33
  35. package/dist/chunks/{filesystem-1rncpvfz.js → schema-2hpjgcj7.js} +17 -17
  36. package/dist/chunks/{filesystem-79f5ryf5.js → schema-2m6srr37.js} +13 -13
  37. package/dist/chunks/{filesystem-s1ba0vj0.js → schema-2p60zmnr.js} +2 -2
  38. package/dist/chunks/{filesystem-svaf9hke.js → schema-2p7ww4m4.js} +37 -37
  39. package/dist/chunks/{filesystem-12a87htm.js → schema-2s709x84.js} +4 -4
  40. package/dist/chunks/{filesystem-be4x5m7x.js → schema-2tkbb2hd.js} +17 -17
  41. package/dist/chunks/{filesystem-ay2fkrah.js → schema-32zvh7m8.js} +33 -33
  42. package/dist/chunks/{filesystem-9y2szkpc.js → schema-34nzn3j8.js} +20 -20
  43. package/dist/chunks/{filesystem-b9d5jw54.js → schema-35jtqnzh.js} +15 -15
  44. package/dist/chunks/{filesystem-w8jdb2jn.js → schema-37rq3n90.js} +18 -14
  45. package/dist/chunks/{filesystem-3adw4bt5.js → schema-3adw4bt5.js} +2 -2
  46. package/dist/chunks/{filesystem-ayjs7tqn.js → schema-3cbjf1nt.js} +2 -2
  47. package/dist/chunks/{filesystem-gzm4ykdm.js → schema-3ew67rpx.js} +26 -26
  48. package/dist/chunks/{filesystem-1ef5n38d.js → schema-3gt03n7r.js} +18 -18
  49. package/dist/chunks/{filesystem-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{filesystem-tr6gb3ke.js → schema-3n8639p5.js} +10 -10
  51. package/dist/chunks/{filesystem-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{filesystem-bex4xsk5.js → schema-3p57dcxh.js} +4 -4
  53. package/dist/chunks/{filesystem-vk0z4zg0.js → schema-3xnqrhgf.js} +32 -32
  54. package/dist/chunks/{filesystem-40y6dtc2.js → schema-40y6dtc2.js} +1 -1
  55. package/dist/chunks/{filesystem-s8kfvqtc.js → schema-41ta799d.js} +4 -4
  56. package/dist/chunks/{filesystem-jxd6f16v.js → schema-44pmzq9c.js} +2 -2
  57. package/dist/chunks/{filesystem-4dx1dgte.js → schema-4dx1dgte.js} +1 -1
  58. package/dist/chunks/{filesystem-4f25tdd0.js → schema-4f25tdd0.js} +1 -1
  59. package/dist/chunks/{filesystem-ycyeq6c3.js → schema-4m48desf.js} +11 -11
  60. package/dist/chunks/{filesystem-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
  61. package/dist/chunks/{filesystem-4v008n1t.js → schema-4v008n1t.js} +1 -1
  62. package/dist/chunks/{filesystem-3s9hkh01.js → schema-4vhxd4fz.js} +2 -2
  63. package/dist/chunks/{filesystem-n1q9dan8.js → schema-4w9c1rv8.js} +84 -84
  64. package/dist/chunks/{filesystem-0php2d2a.js → schema-4zcepfyr.js} +4 -4
  65. package/dist/chunks/{filesystem-bwkfv57n.js → schema-53m7ep8y.js} +39 -39
  66. package/dist/chunks/{filesystem-b1x243mb.js → schema-55a1w20j.js} +17 -17
  67. package/dist/chunks/{filesystem-8dfptpqb.js → schema-5c0ay57s.js} +4 -4
  68. package/dist/chunks/{filesystem-ewp531bs.js → schema-5cxze2ek.js} +23 -23
  69. package/dist/chunks/{filesystem-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  70. package/dist/chunks/{filesystem-bhfd478d.js → schema-5n0rnk8e.js} +4 -4
  71. package/dist/chunks/{filesystem-2jt5ssd0.js → schema-5sq7dtyr.js} +3 -3
  72. package/dist/chunks/{filesystem-5whx36p1.js → schema-5whx36p1.js} +1 -1
  73. package/dist/chunks/{filesystem-h8apfp5a.js → schema-5xymd101.js} +14 -14
  74. package/dist/chunks/{filesystem-c1bfpsqy.js → schema-5zpqhmp2.js} +6 -6
  75. package/dist/chunks/{filesystem-czmwpxsy.js → schema-626jn072.js} +21 -21
  76. package/dist/chunks/{filesystem-c57y1876.js → schema-65g7jm80.js} +20 -20
  77. package/dist/chunks/{filesystem-g5a4a3mq.js → schema-6a3nme33.js} +18 -18
  78. package/dist/chunks/{filesystem-zqng6tfv.js → schema-6a3yqv2r.js} +3 -3
  79. package/dist/chunks/{filesystem-cgmxejc8.js → schema-6c25bs39.js} +26 -26
  80. package/dist/chunks/{filesystem-vq0qa3sh.js → schema-6h8vcvjm.js} +9 -9
  81. package/dist/chunks/{filesystem-vwcz1f45.js → schema-6y2b864j.js} +7 -7
  82. package/dist/chunks/{filesystem-5bcr6264.js → schema-6y4qc4mp.js} +15 -15
  83. package/dist/chunks/{filesystem-nw3gtmag.js → schema-7357t78n.js} +7 -7
  84. package/dist/chunks/{filesystem-8w95ndt2.js → schema-73tv2q91.js} +14 -14
  85. package/dist/chunks/{filesystem-775hqbnd.js → schema-775hqbnd.js} +3 -3
  86. package/dist/chunks/{filesystem-05rxf7ag.js → schema-7a2p64p0.js} +20 -20
  87. package/dist/chunks/{filesystem-c9z1d5hy.js → schema-7a9m1j2x.js} +11 -11
  88. package/dist/chunks/{filesystem-9y4ybsjj.js → schema-7afn9zz1.js} +21 -21
  89. package/dist/chunks/{filesystem-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{filesystem-2cpdbpj8.js → schema-7c8hwk2v.js} +16 -16
  91. package/dist/chunks/{filesystem-x82r7ffc.js → schema-7k5jmvhj.js} +18 -18
  92. package/dist/chunks/{filesystem-9fcfg85h.js → schema-7mpsrzpa.js} +12 -12
  93. package/dist/chunks/{filesystem-pk5ktw9t.js → schema-7tf6362t.js} +47 -47
  94. package/dist/chunks/{filesystem-mnmjr1v5.js → schema-7tfjg757.js} +16 -16
  95. package/dist/chunks/{filesystem-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
  96. package/dist/chunks/{filesystem-14qtwrnd.js → schema-7w972mxx.js} +28 -28
  97. package/dist/chunks/{filesystem-7weczvnd.js → schema-7weczvnd.js} +1 -1
  98. package/dist/chunks/{filesystem-3smzfgkv.js → schema-7xwq3sd0.js} +8 -8
  99. package/dist/chunks/{filesystem-madhs7qf.js → schema-7y3w56wa.js} +3 -3
  100. package/dist/chunks/{filesystem-2d5vwg09.js → schema-7zqxd1dh.js} +6 -6
  101. package/dist/chunks/{filesystem-80pdk984.js → schema-80pdk984.js} +1 -1
  102. package/dist/chunks/{filesystem-jycw55y7.js → schema-82t6hvvc.js} +4 -4
  103. package/dist/chunks/{filesystem-tf77d83d.js → schema-83r2q2tc.js} +31 -31
  104. package/dist/chunks/{filesystem-85jq8dht.js → schema-85jq8dht.js} +1 -1
  105. package/dist/chunks/{filesystem-0ty7x2vf.js → schema-87g0g3vw.js} +41 -41
  106. package/dist/chunks/{filesystem-gx76kxxn.js → schema-87kxp3gn.js} +11 -11
  107. package/dist/chunks/{filesystem-7ynxdpkt.js → schema-894qcq1y.js} +59 -59
  108. package/dist/chunks/{filesystem-t48jrnqq.js → schema-8akjpyn6.js} +3 -3
  109. package/dist/chunks/{filesystem-25h84942.js → schema-8b3vzgkx.js} +4 -4
  110. package/dist/chunks/{filesystem-8wdkt6y0.js → schema-8jv95stc.js} +6 -6
  111. package/dist/chunks/{filesystem-8kjyvwy5.js → schema-8kjyvwy5.js} +1 -1
  112. package/dist/chunks/{filesystem-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
  113. package/dist/chunks/{filesystem-mb7mbhnz.js → schema-8z6m94af.js} +3 -3
  114. package/dist/chunks/{filesystem-8zv0xmg5.js → schema-8zv0xmg5.js} +1 -1
  115. package/dist/chunks/{filesystem-1y1at900.js → schema-90kfgkgm.js} +13 -13
  116. package/dist/chunks/{filesystem-k2r0m066.js → schema-92mnqtsa.js} +12 -12
  117. package/dist/chunks/{filesystem-8cxxjpvd.js → schema-93f9eha0.js} +17 -17
  118. package/dist/chunks/{filesystem-h5chy42v.js → schema-94e33dpz.js} +3 -3
  119. package/dist/chunks/{filesystem-zq6pgs90.js → schema-95zwqs5c.js} +156 -156
  120. package/dist/chunks/{filesystem-963hk181.js → schema-963hk181.js} +2 -2
  121. package/dist/chunks/{filesystem-vzydmz2c.js → schema-980raww3.js} +14 -14
  122. package/dist/chunks/{filesystem-a2c7ns4r.js → schema-9hjrmeye.js} +11 -11
  123. package/dist/chunks/{filesystem-aq906svt.js → schema-9nh708zh.js} +6 -6
  124. package/dist/chunks/{filesystem-qfsm01t2.js → schema-9rtfsky6.js} +32 -32
  125. package/dist/chunks/{filesystem-z9tq0y3w.js → schema-9rwnj3cf.js} +21 -21
  126. package/dist/chunks/{filesystem-kmekj7m2.js → schema-9sk33afj.js} +8 -8
  127. package/dist/chunks/{filesystem-0srmv9a7.js → schema-9wxzp1qr.js} +28 -28
  128. package/dist/chunks/{filesystem-fxstjx9a.js → schema-9zf7nxcy.js} +10 -10
  129. package/dist/chunks/{filesystem-pa971bt4.js → schema-a6kay9xz.js} +6 -6
  130. package/dist/chunks/{filesystem-7dc4gc5v.js → schema-ae2hmq0b.js} +32 -32
  131. package/dist/chunks/{filesystem-034tev2y.js → schema-aj7mw0zk.js} +2 -2
  132. package/dist/chunks/{filesystem-23mseg9w.js → schema-akbak9kn.js} +10 -10
  133. package/dist/chunks/{filesystem-z1ma5m5g.js → schema-apvw9r81.js} +7 -7
  134. package/dist/chunks/{filesystem-cgfra67r.js → schema-ar7qhdy9.js} +16 -16
  135. package/dist/chunks/{filesystem-96xmncfy.js → schema-ayevjdp6.js} +4 -4
  136. package/dist/chunks/{filesystem-g4txs7zc.js → schema-b26ddj6h.js} +4 -4
  137. package/dist/chunks/{filesystem-b6cq1fvz.js → schema-b6cq1fvz.js} +1 -1
  138. package/dist/chunks/{filesystem-xtq9xpt1.js → schema-b7nkz392.js} +1 -1
  139. package/dist/chunks/{filesystem-tb2mrvc9.js → schema-ba5f9dy2.js} +4 -4
  140. package/dist/chunks/{filesystem-8sxe6kv8.js → schema-bb3mmwvh.js} +2 -2
  141. package/dist/chunks/{filesystem-csxpn9yn.js → schema-bb65ze16.js} +3 -3
  142. package/dist/chunks/{filesystem-nc4bhxkd.js → schema-bfmj02kq.js} +16 -16
  143. package/dist/chunks/{filesystem-b0je4vth.js → schema-bjnxymnv.js} +18 -18
  144. package/dist/chunks/{filesystem-2yzwas0f.js → schema-bq0ysetc.js} +14 -14
  145. package/dist/chunks/{filesystem-bstexjd6.js → schema-bstexjd6.js} +1 -1
  146. package/dist/chunks/{filesystem-qp2996hh.js → schema-bszd1e77.js} +5 -5
  147. package/dist/chunks/{filesystem-by8ty0bx.js → schema-by8ty0bx.js} +1 -1
  148. package/dist/chunks/{filesystem-c7cw818c.js → schema-c7cw818c.js} +2 -2
  149. package/dist/chunks/{filesystem-ckttgx1m.js → schema-ca2kttj4.js} +4 -4
  150. package/dist/chunks/{filesystem-79dx1dc6.js → schema-cb9p0hr3.js} +5 -5
  151. package/dist/chunks/{filesystem-qhxa6c6a.js → schema-cce0647p.js} +38 -38
  152. package/dist/chunks/{filesystem-4gxktgp4.js → schema-cd40mm2x.js} +25 -25
  153. package/dist/chunks/{filesystem-fwke0v11.js → schema-cn0khwc2.js} +24 -24
  154. package/dist/chunks/{filesystem-t190ewm6.js → schema-cqmt8zzz.js} +7 -7
  155. package/dist/chunks/{filesystem-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
  156. package/dist/chunks/{filesystem-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
  157. package/dist/chunks/{filesystem-kxdwvqnx.js → schema-djbn8b3v.js} +23 -23
  158. package/dist/chunks/{filesystem-b62sbhp2.js → schema-djejg4dy.js} +9 -9
  159. package/dist/chunks/{filesystem-wxgjsayh.js → schema-dnern54h.js} +11 -11
  160. package/dist/chunks/{filesystem-j1ftk7bn.js → schema-dsgstd3d.js} +15 -15
  161. package/dist/chunks/{filesystem-ackgvjab.js → schema-dszy2cs3.js} +4 -4
  162. package/dist/chunks/{filesystem-dt77769w.js → schema-dt77769w.js} +1 -1
  163. package/dist/chunks/{filesystem-9yqjp86x.js → schema-dwwyec8z.js} +6 -6
  164. package/dist/chunks/{filesystem-j26j1va9.js → schema-e2sh8fdv.js} +7 -7
  165. package/dist/chunks/{filesystem-rh3ncdjm.js → schema-e36kjsvh.js} +6 -6
  166. package/dist/chunks/{filesystem-9zz91ck0.js → schema-e4shjbcy.js} +19 -19
  167. package/dist/chunks/{filesystem-y1jg12an.js → schema-e5q9zwm8.js} +12 -12
  168. package/dist/chunks/{filesystem-hn0c49ha.js → schema-ed7x67as.js} +3 -3
  169. package/dist/chunks/{filesystem-bffnw3zy.js → schema-eestr1ap.js} +11 -11
  170. package/dist/chunks/{filesystem-kxkzc9ky.js → schema-egv7nm33.js} +24 -24
  171. package/dist/chunks/{filesystem-qk5sk9d1.js → schema-ep6pe98a.js} +5 -5
  172. package/dist/chunks/{filesystem-eqw4pqj1.js → schema-eqw4pqj1.js} +2 -2
  173. package/dist/chunks/{filesystem-cs92ehcm.js → schema-essv7e64.js} +8 -8
  174. package/dist/chunks/{filesystem-pnwsrq7c.js → schema-etrnj9s7.js} +8 -8
  175. package/dist/chunks/{filesystem-wedze56r.js → schema-f0wpasqh.js} +21 -21
  176. package/dist/chunks/{filesystem-rm9v0bwn.js → schema-f6aj1kd5.js} +10 -10
  177. package/dist/chunks/{filesystem-8ws1cnew.js → schema-fb3jq07n.js} +15 -15
  178. package/dist/chunks/{filesystem-s5zrq09q.js → schema-fc93665r.js} +8 -8
  179. package/dist/chunks/{filesystem-5xkprpgc.js → schema-fcha702q.js} +15 -15
  180. package/dist/chunks/{filesystem-fg9p65nk.js → schema-fg9p65nk.js} +2 -2
  181. package/dist/chunks/{filesystem-4ydapqmf.js → schema-fq23ffp0.js} +5 -5
  182. package/dist/chunks/{filesystem-2r0xhr37.js → schema-fqpvdrje.js} +6 -6
  183. package/dist/chunks/{filesystem-bydyckw6.js → schema-g2183vvk.js} +3 -3
  184. package/dist/chunks/{filesystem-mwbh0fme.js → schema-g44npge0.js} +23 -23
  185. package/dist/chunks/{filesystem-gbjdnr5j.js → schema-gbjdnr5j.js} +2 -2
  186. package/dist/chunks/{filesystem-ghrv1g9c.js → schema-ghrv1g9c.js} +1 -1
  187. package/dist/chunks/{filesystem-36tjmfsy.js → schema-gsm10rjf.js} +4 -4
  188. package/dist/chunks/{filesystem-exy8xd7k.js → schema-gvah0j30.js} +11 -11
  189. package/dist/chunks/{filesystem-mpp1y76d.js → schema-gy85zcy8.js} +19 -19
  190. package/dist/chunks/{filesystem-xdmazz3w.js → schema-h1wwt2d4.js} +33 -33
  191. package/dist/chunks/{filesystem-ffvvmdd5.js → schema-h5gm5jf1.js} +7 -7
  192. package/dist/chunks/{filesystem-x645n76j.js → schema-hagqs1d2.js} +23 -23
  193. package/dist/chunks/{filesystem-hs74eps7.js → schema-hatv92we.js} +11 -11
  194. package/dist/chunks/{filesystem-hpsk3ppz.js → schema-hcnkffw2.js} +13 -13
  195. package/dist/chunks/{filesystem-hgzwgvze.js → schema-hgzwgvze.js} +2 -2
  196. package/dist/chunks/{filesystem-mpq3970x.js → schema-hw67g06k.js} +17 -12
  197. package/dist/chunks/{filesystem-2cjx21jp.js → schema-j8exsrxy.js} +30 -30
  198. package/dist/chunks/{filesystem-j9nxzz3g.js → schema-j9nxzz3g.js} +3 -3
  199. package/dist/chunks/{filesystem-6vcwkhp6.js → schema-j9x1g365.js} +25 -25
  200. package/dist/chunks/{filesystem-w83qxrsc.js → schema-jg2ygqjd.js} +6 -6
  201. package/dist/chunks/{filesystem-0x2ag7me.js → schema-jh3vmqnb.js} +86 -86
  202. package/dist/chunks/{filesystem-jm70asfg.js → schema-jm70asfg.js} +1 -1
  203. package/dist/chunks/{filesystem-h6e51344.js → schema-jpaeaxj3.js} +10 -10
  204. package/dist/chunks/{filesystem-yhx801ee.js → schema-jpg972ga.js} +5 -5
  205. package/dist/chunks/{filesystem-4n5cstwr.js → schema-jvnqdmg7.js} +371 -371
  206. package/dist/chunks/{filesystem-gshvyxec.js → schema-jxw3nqfr.js} +5 -5
  207. package/dist/chunks/{filesystem-3fzw2dgx.js → schema-jyqxtn40.js} +13 -13
  208. package/dist/chunks/{filesystem-06kr05p9.js → schema-k278m6zw.js} +38 -38
  209. package/dist/chunks/{filesystem-vnt99xy7.js → schema-k3ggfjkb.js} +2 -2
  210. package/dist/chunks/{filesystem-pp3k6pe8.js → schema-kad56yks.js} +21 -21
  211. package/dist/chunks/{filesystem-tc7r93jj.js → schema-knq5zpdc.js} +8 -8
  212. package/dist/chunks/{filesystem-fmvrz9hx.js → schema-kny7n17h.js} +52 -52
  213. package/dist/chunks/{filesystem-b62kntzp.js → schema-ksd47y91.js} +34 -34
  214. package/dist/chunks/{filesystem-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
  215. package/dist/chunks/{filesystem-2s9mae96.js → schema-ktck1cjp.js} +6 -6
  216. package/dist/chunks/{filesystem-kzczzf4v.js → schema-kzczzf4v.js} +1 -1
  217. package/dist/chunks/{filesystem-m1714858.js → schema-m1714858.js} +1 -1
  218. package/dist/chunks/{filesystem-94n1qn39.js → schema-m8071f4b.js} +1 -1
  219. package/dist/chunks/{filesystem-m90tx7mw.js → schema-m90tx7mw.js} +1 -1
  220. package/dist/chunks/{filesystem-gbetm1xc.js → schema-m98552er.js} +2 -2
  221. package/dist/chunks/{filesystem-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  222. package/dist/chunks/schema-me0dhgxs.js +18 -0
  223. package/dist/chunks/{filesystem-j4qxbzz7.js → schema-mkqrt9r1.js} +13 -13
  224. package/dist/chunks/{filesystem-hh8a7g2z.js → schema-mmk0jhxb.js} +18 -18
  225. package/dist/chunks/{filesystem-0h86f0az.js → schema-msd2a3qm.js} +4 -4
  226. package/dist/chunks/schema-n0yx1q4a.js +26 -0
  227. package/dist/chunks/{filesystem-kq4fnwb1.js → schema-n320gsn2.js} +4 -4
  228. package/dist/chunks/{filesystem-q3n6jbga.js → schema-n5k4x34p.js} +45 -45
  229. package/dist/chunks/{filesystem-r1x3rphc.js → schema-n9g0jqka.js} +33 -33
  230. package/dist/chunks/{filesystem-y4h9vdhr.js → schema-nbbfmg35.js} +11 -10
  231. package/dist/chunks/{filesystem-324k4kgm.js → schema-nd6a1rw0.js} +3 -3
  232. package/dist/chunks/{filesystem-w5r8nw58.js → schema-nfdz4xt8.js} +21 -21
  233. package/dist/chunks/{filesystem-y8wtdb2c.js → schema-ngrhmx0y.js} +41 -41
  234. package/dist/chunks/{filesystem-xgjg0k83.js → schema-ns3f0y8s.js} +9 -9
  235. package/dist/chunks/{filesystem-9jer5kqh.js → schema-ns5s5x7n.js} +12 -12
  236. package/dist/chunks/{filesystem-w48gbg6x.js → schema-nstbetgn.js} +8 -8
  237. package/dist/chunks/{filesystem-mf0kks93.js → schema-ntn2vp5r.js} +17 -17
  238. package/dist/chunks/{filesystem-1d41vqxy.js → schema-nvrhh2jh.js} +32 -32
  239. package/dist/chunks/{filesystem-wegkxhrn.js → schema-nx4vzyjd.js} +2 -2
  240. package/dist/chunks/{filesystem-2ns59sfh.js → schema-p021jaq0.js} +10 -10
  241. package/dist/chunks/{filesystem-thkr7sfr.js → schema-p1tqk3wj.js} +6 -6
  242. package/dist/chunks/{filesystem-n3j33rb6.js → schema-p94p4v4n.js} +4 -4
  243. package/dist/chunks/{filesystem-mnx4hk0n.js → schema-pe69sqjx.js} +8 -8
  244. package/dist/chunks/{filesystem-v15cxm8r.js → schema-pet7zff3.js} +18 -18
  245. package/dist/chunks/{filesystem-00j42c4a.js → schema-pfgfzn9w.js} +21 -21
  246. package/dist/chunks/{filesystem-rge58vnh.js → schema-ph6zr0my.js} +22 -22
  247. package/dist/chunks/{filesystem-ekhvmsd2.js → schema-pj4g6jw6.js} +9 -9
  248. package/dist/chunks/{filesystem-fc74xdpv.js → schema-pjf82mvf.js} +33 -33
  249. package/dist/chunks/{filesystem-dpcxbnzm.js → schema-pkdvs1r0.js} +5 -5
  250. package/dist/chunks/{filesystem-pknna89w.js → schema-pknna89w.js} +1 -1
  251. package/dist/chunks/{filesystem-77e37j3z.js → schema-pmpqfy7z.js} +32 -32
  252. package/dist/chunks/{filesystem-43j7jt16.js → schema-pmpycxtw.js} +18 -18
  253. package/dist/chunks/{filesystem-n2tfgszc.js → schema-pp2hmg1m.js} +7 -7
  254. package/dist/chunks/{filesystem-qkaww9q1.js → schema-pstexa60.js} +11 -11
  255. package/dist/chunks/{filesystem-zf9mw93b.js → schema-pve6n1f6.js} +17 -17
  256. package/dist/chunks/{filesystem-tn1by9h5.js → schema-pwm9xzc0.js} +22 -22
  257. package/dist/chunks/{filesystem-j6xgaej1.js → schema-q0cx4jd1.js} +14 -14
  258. package/dist/chunks/{filesystem-16m4fety.js → schema-q4bddqzm.js} +10 -10
  259. package/dist/chunks/{filesystem-3w4j854v.js → schema-q7n78wgf.js} +10 -10
  260. package/dist/chunks/{filesystem-kwf3mc6b.js → schema-qfbkhxhn.js} +4 -4
  261. package/dist/chunks/{filesystem-1zd29w7p.js → schema-qjjf83ye.js} +6 -6
  262. package/dist/chunks/{filesystem-mz3k47ct.js → schema-qmqqtqcn.js} +3 -3
  263. package/dist/chunks/schema-qp3r9mzz.js +273 -0
  264. package/dist/chunks/{filesystem-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
  265. package/dist/chunks/{filesystem-wn6h1xmg.js → schema-qqan37dg.js} +60 -60
  266. package/dist/chunks/{filesystem-bamve3at.js → schema-qr8vfs2f.js} +49 -49
  267. package/dist/chunks/{filesystem-nwda1bfv.js → schema-qrnbag0z.js} +26 -26
  268. package/dist/chunks/{filesystem-6q8jj3zs.js → schema-qtf35215.js} +3 -3
  269. package/dist/chunks/{filesystem-r17fbvme.js → schema-r17fbvme.js} +1 -1
  270. package/dist/chunks/{filesystem-jngkd2xt.js → schema-r6ar04y2.js} +26 -26
  271. package/dist/chunks/{filesystem-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
  272. package/dist/chunks/{filesystem-rgc9cx3e.js → schema-rgc9cx3e.js} +2 -2
  273. package/dist/chunks/{filesystem-g6aam94y.js → schema-s02m1st8.js} +22 -22
  274. package/dist/chunks/{filesystem-96yvqpwb.js → schema-s1xc4ekk.js} +11 -11
  275. package/dist/chunks/{filesystem-0fn5ab0k.js → schema-s5jhzpr9.js} +27 -25
  276. package/dist/chunks/{filesystem-1tcdzert.js → schema-s5pjjcby.js} +9 -9
  277. package/dist/chunks/{filesystem-6j19asys.js → schema-s62h8xwa.js} +42 -42
  278. package/dist/chunks/{filesystem-rbg54dp1.js → schema-s85z3cra.js} +4 -4
  279. package/dist/chunks/{filesystem-sbya78hr.js → schema-sbya78hr.js} +1 -1
  280. package/dist/chunks/{filesystem-90ct6wq4.js → schema-sf9y72b7.js} +4 -4
  281. package/dist/chunks/{filesystem-ft91cex6.js → schema-sgmpg1at.js} +15 -15
  282. package/dist/chunks/{filesystem-hww7tg5r.js → schema-sswnp1hr.js} +18 -18
  283. package/dist/chunks/{filesystem-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
  284. package/dist/chunks/{filesystem-gatcy5wf.js → schema-swtby07c.js} +15 -15
  285. package/dist/chunks/{filesystem-qz4vhj1z.js → schema-t2trxbvf.js} +26 -26
  286. package/dist/chunks/{filesystem-9qxtrk0a.js → schema-t5zz07dm.js} +28 -28
  287. package/dist/chunks/{filesystem-txgc4ptp.js → schema-t9vhjqng.js} +16 -16
  288. package/dist/chunks/{filesystem-444evg8n.js → schema-tamm6359.js} +36 -36
  289. package/dist/chunks/{filesystem-tbpn7jtk.js → schema-tbpn7jtk.js} +1 -1
  290. package/dist/chunks/{filesystem-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
  291. package/dist/chunks/{filesystem-tg7s7b5t.js → schema-tg7s7b5t.js} +1 -1
  292. package/dist/chunks/{filesystem-bvhssps7.js → schema-tmgn3zs9.js} +24 -24
  293. package/dist/chunks/{filesystem-6er1m856.js → schema-tqwq9s5x.js} +32 -32
  294. package/dist/chunks/{filesystem-j376ae4e.js → schema-tr8x705m.js} +5 -5
  295. package/dist/chunks/{filesystem-tvtps2q9.js → schema-tvtps2q9.js} +1 -1
  296. package/dist/chunks/{filesystem-twssxy5n.js → schema-twssxy5n.js} +2 -2
  297. package/dist/chunks/{filesystem-7f186e6p.js → schema-txgthtwa.js} +12 -12
  298. package/dist/chunks/{filesystem-21f92tpx.js → schema-v1nrzbej.js} +9 -7
  299. package/dist/chunks/{filesystem-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
  300. package/dist/chunks/{filesystem-hwpa77gc.js → schema-v8vtkzra.js} +83 -83
  301. package/dist/chunks/{filesystem-68dsae6w.js → schema-vgp39c3q.js} +19 -19
  302. package/dist/chunks/{filesystem-vjf35v1f.js → schema-vjf35v1f.js} +1 -1
  303. package/dist/chunks/{filesystem-kj9n5bvh.js → schema-vmqe41cb.js} +4 -4
  304. package/dist/chunks/{filesystem-14q26q0h.js → schema-vtkvgxem.js} +16 -16
  305. package/dist/chunks/{filesystem-cjdqh2wj.js → schema-vz5bqa0f.js} +5 -5
  306. package/dist/chunks/{filesystem-r41sfy63.js → schema-w2eysc6j.js} +6 -6
  307. package/dist/chunks/{filesystem-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  308. package/dist/chunks/{filesystem-9q8g9sv8.js → schema-w79nt68w.js} +4 -4
  309. package/dist/chunks/{filesystem-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
  310. package/dist/chunks/{filesystem-wd87259q.js → schema-wd87259q.js} +1 -1
  311. package/dist/chunks/{filesystem-sh6sjrys.js → schema-wgtjsce3.js} +2 -2
  312. package/dist/chunks/{filesystem-wd8c1es6.js → schema-wjt8g24f.js} +49 -49
  313. package/dist/chunks/{filesystem-wr3re1en.js → schema-wr3re1en.js} +1 -1
  314. package/dist/chunks/{filesystem-dsxe3vjz.js → schema-wrfejyj7.js} +9 -9
  315. package/dist/chunks/{filesystem-8xmc89yx.js → schema-wvp6s5r8.js} +36 -36
  316. package/dist/chunks/{filesystem-sdn2zcx3.js → schema-x150ncgg.js} +2 -2
  317. package/dist/chunks/{filesystem-5fc8hcg9.js → schema-x2199xg7.js} +28 -28
  318. package/dist/chunks/{filesystem-xy63rwa2.js → schema-xfk334w4.js} +5 -5
  319. package/dist/chunks/{filesystem-r2xmn65f.js → schema-xh9sbx5d.js} +31 -31
  320. package/dist/chunks/{filesystem-0zz2bnr1.js → schema-xneeh6s4.js} +15 -15
  321. package/dist/chunks/{filesystem-kx57agve.js → schema-xv3aaf54.js} +15 -15
  322. package/dist/chunks/{filesystem-xjr6c8m4.js → schema-xxschbft.js} +4 -4
  323. package/dist/chunks/{filesystem-6gpahs7y.js → schema-xznbj9qp.js} +25 -25
  324. package/dist/chunks/schema-y32xxt00.js +16 -0
  325. package/dist/chunks/{filesystem-jv5ccajn.js → schema-y3p3hzkr.js} +5 -5
  326. package/dist/chunks/{filesystem-3v1jab5g.js → schema-y5ken5vs.js} +7 -7
  327. package/dist/chunks/{filesystem-7fczfqhg.js → schema-y682mywm.js} +13 -13
  328. package/dist/chunks/{filesystem-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
  329. package/dist/chunks/{filesystem-vjhrddsw.js → schema-yepd7x5v.js} +5 -5
  330. package/dist/chunks/{filesystem-ahhdqv1f.js → schema-yhy601mr.js} +11 -11
  331. package/dist/chunks/{filesystem-kr8bp0nb.js → schema-yj5p50qd.js} +5 -5
  332. package/dist/chunks/{filesystem-z6p3htzk.js → schema-ym2hf25x.js} +11 -11
  333. package/dist/chunks/{filesystem-apmfn43p.js → schema-ymfq94hg.js} +21 -21
  334. package/dist/chunks/{filesystem-0kgbgg4w.js → schema-ync0ket7.js} +5 -5
  335. package/dist/chunks/{filesystem-7yv86tzv.js → schema-ynq5d5wj.js} +17 -17
  336. package/dist/chunks/{filesystem-yr705xyq.js → schema-yr705xyq.js} +1 -1
  337. package/dist/chunks/{filesystem-04tq37rg.js → schema-yrzcpjjp.js} +40 -40
  338. package/dist/chunks/{filesystem-8xz27cp9.js → schema-yts2a8qm.js} +4 -4
  339. package/dist/chunks/{filesystem-b1azjyxw.js → schema-yve512cx.js} +11 -11
  340. package/dist/chunks/{filesystem-yvtc2x31.js → schema-yvtc2x31.js} +1 -1
  341. package/dist/chunks/{filesystem-nw8met9v.js → schema-yyb7x4q2.js} +38 -38
  342. package/dist/chunks/{filesystem-q50958an.js → schema-z583g8kc.js} +4 -4
  343. package/dist/chunks/{filesystem-5fjyrr2e.js → schema-zded71tf.js} +18 -18
  344. package/dist/chunks/{filesystem-5r3dv39m.js → schema-zf02ae39.js} +9 -9
  345. package/dist/chunks/{filesystem-h8bg152s.js → schema-zk8ezkjv.js} +12 -12
  346. package/dist/chunks/{filesystem-k77faqfm.js → schema-zxxfjzbm.js} +7 -7
  347. package/dist/chunks/{filesystem-k8tgqm9f.js → schema-zz0y7mj6.js} +10 -10
  348. package/dist/codemode/catalog.js +1 -1
  349. package/dist/codemode/execution.js +5 -5
  350. package/dist/codemode/fetch.js +149 -149
  351. package/dist/codemode/instructions.js +9 -9
  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 +133 -133
  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 +90 -90
  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 +98 -98
  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 +107 -107
  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 +6 -6
  494. package/dist/filesystem/location-watcher.js +255 -255
  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 +118 -118
  500. package/dist/flag.js +136 -136
  501. package/dist/form.js +87 -87
  502. package/dist/formatter/builtins.js +4 -4
  503. package/dist/formatter.js +100 -100
  504. package/dist/generate.js +123 -123
  505. package/dist/git.js +7 -7
  506. package/dist/github-copilot/models.js +113 -113
  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 +96 -96
  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 +90 -90
  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 +102 -102
  530. package/dist/managed-policy.js +3 -3
  531. package/dist/mcp/client.js +162 -161
  532. package/dist/mcp/connection.js +106 -106
  533. package/dist/mcp/index.js +126 -126
  534. package/dist/mcp/instructions.js +188 -188
  535. package/dist/mcp/oauth.js +219 -264
  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 +113 -113
  541. package/dist/model-resolver.js +113 -113
  542. package/dist/model-retry.js +1 -1
  543. package/dist/model.js +104 -104
  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 +99 -99
  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 +1 -1
  562. package/dist/plugin/internal.js +409 -409
  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 +113 -113
  584. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  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 +4 -4
  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 +89 -89
  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 +419 -419
  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 +7 -7
  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 +7 -7
  656. package/dist/plugin.js +255 -255
  657. package/dist/project/icon.js +5 -5
  658. package/dist/project/schema.js +2 -2
  659. package/dist/project/sql.js +4 -4
  660. package/dist/project.js +93 -93
  661. package/dist/provider.js +103 -103
  662. package/dist/pty/protocol.js +1 -1
  663. package/dist/pty/ticket.js +1 -1
  664. package/dist/pty.js +113 -113
  665. package/dist/reference/instructions.js +101 -101
  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 +111 -111
  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 +261 -261
  675. package/dist/schema.js +1 -1
  676. package/dist/session/affinity.js +1 -1
  677. package/dist/session/background.js +1 -1
  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 +3 -3
  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 +172 -172
  688. package/dist/session/generate.js +208 -208
  689. package/dist/session/history.js +140 -140
  690. package/dist/session/inbox.js +153 -153
  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 +145 -145
  695. package/dist/session/message-updater.js +2 -2
  696. package/dist/session/message.js +1 -1
  697. package/dist/session/model-request.js +170 -170
  698. package/dist/session/model-transport.js +7 -7
  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 +5 -5
  711. package/dist/session/runner/step.js +165 -165
  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 +192 -192
  715. package/dist/session/shell.js +149 -149
  716. package/dist/session/skill.js +151 -151
  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 +242 -242
  723. package/dist/session/system-prompt.js +5 -5
  724. package/dist/session/title.js +208 -208
  725. package/dist/session/to-session-error.js +153 -153
  726. package/dist/session/transfer.js +249 -249
  727. package/dist/session/usage.js +1 -1
  728. package/dist/session.js +246 -246
  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 +15 -15
  734. package/dist/shell.js +147 -147
  735. package/dist/skill/discovery.js +2 -2
  736. package/dist/skill/instructions.js +153 -153
  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 +172 -172
  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 +174 -174
  754. package/dist/tool/plugin/schedule.js +257 -257
  755. package/dist/tool/plugin/shell.js +248 -248
  756. package/dist/tool/plugin/skill.js +161 -161
  757. package/dist/tool/plugin/subagent.js +249 -249
  758. package/dist/tool/plugin/todo.js +157 -157
  759. package/dist/tool/plugin/webfetch.js +153 -153
  760. package/dist/tool/plugin/websearch.js +157 -157
  761. package/dist/tool/plugin/write.js +172 -172
  762. package/dist/tool/read-filesystem.js +116 -116
  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 +166 -166
  767. package/dist/types/credential.d.ts +2 -2
  768. package/dist/types/mcp/client.d.ts +3 -3
  769. package/dist/types/mcp/connection.d.ts +2 -2
  770. package/dist/types/mcp/oauth.d.ts +7 -6
  771. package/dist/types/mcp/pool.d.ts +2 -2
  772. package/dist/types/plugin/provider/local.d.ts +2 -0
  773. package/dist/usage-limits.js +100 -100
  774. package/dist/util/error-summary.js +1 -1
  775. package/dist/util/git-executable.js +3 -3
  776. package/dist/util/lazy.js +1 -1
  777. package/dist/util/slug.js +1 -1
  778. package/dist/util/token.js +1 -1
  779. package/dist/util/which.js +1 -1
  780. package/dist/util/wildcard.js +1 -1
  781. package/dist/v1/config/agent.js +5 -5
  782. package/dist/v1/config/command.js +3 -3
  783. package/dist/v1/config/mcp.js +4 -4
  784. package/dist/v1/config/migrate.js +106 -106
  785. package/dist/v1/config/permission.js +3 -3
  786. package/dist/v1/config/plugin.js +3 -3
  787. package/dist/v1/config/provider-options.js +1 -1
  788. package/dist/v1/config/provider.js +4 -4
  789. package/dist/variant.js +107 -107
  790. package/dist/vcs/patch.js +1 -1
  791. package/dist/vcs.js +102 -102
  792. package/dist/voice.js +99 -99
  793. package/dist/websearch.js +91 -91
  794. package/dist/wellknown/plugin.js +87 -87
  795. package/dist/wellknown.js +92 -92
  796. package/dist/workspace/driver.js +7 -7
  797. package/dist/workspace/sql.js +1 -1
  798. package/dist/workspace.js +93 -93
  799. package/dist/worktree/directory.js +2 -2
  800. package/dist/worktree/git.js +11 -11
  801. package/dist/worktree/sql.js +5 -5
  802. package/dist/worktree/strategies.js +102 -102
  803. package/dist/worktree.js +113 -113
  804. package/package.json +8 -8
  805. package/dist/chunks/filesystem-1xjver7d.js +0 -16
  806. package/dist/chunks/filesystem-1ywg999t.js +0 -273
  807. package/dist/chunks/filesystem-f8ma18fn.js +0 -18
  808. package/dist/chunks/filesystem-kwjwsaah.js +0 -26
  809. /package/dist/chunks/{filesystem-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  810. /package/dist/chunks/{filesystem-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  811. /package/dist/chunks/{filesystem-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  812. /package/dist/chunks/{filesystem-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  813. /package/dist/chunks/{filesystem-1kah00gy.js → schema-1kah00gy.js} +0 -0
  814. /package/dist/chunks/{filesystem-24dcb14g.js → schema-24dcb14g.js} +0 -0
  815. /package/dist/chunks/{filesystem-2710q6r3.js → schema-2710q6r3.js} +0 -0
  816. /package/dist/chunks/{filesystem-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  817. /package/dist/chunks/{filesystem-359p4xyc.js → schema-359p4xyc.js} +0 -0
  818. /package/dist/chunks/{filesystem-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  819. /package/dist/chunks/{filesystem-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  820. /package/dist/chunks/{filesystem-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  821. /package/dist/chunks/{filesystem-4qk9sjk2.js → schema-4qk9sjk2.js} +0 -0
  822. /package/dist/chunks/{filesystem-53557ph1.js → schema-53557ph1.js} +0 -0
  823. /package/dist/chunks/{filesystem-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
  824. /package/dist/chunks/{filesystem-6agm2x70.js → schema-6agm2x70.js} +0 -0
  825. /package/dist/chunks/{filesystem-6prwharc.js → schema-6prwharc.js} +0 -0
  826. /package/dist/chunks/{filesystem-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  827. /package/dist/chunks/{filesystem-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  828. /package/dist/chunks/{filesystem-7m9af43g.js → schema-7m9af43g.js} +0 -0
  829. /package/dist/chunks/{filesystem-7rvsyqjv.js → schema-7rvsyqjv.js} +0 -0
  830. /package/dist/chunks/{filesystem-822emrt2.js → schema-822emrt2.js} +0 -0
  831. /package/dist/chunks/{filesystem-84wd9syh.js → schema-84wd9syh.js} +0 -0
  832. /package/dist/chunks/{filesystem-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  833. /package/dist/chunks/{filesystem-8n3pysct.js → schema-8n3pysct.js} +0 -0
  834. /package/dist/chunks/{filesystem-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  835. /package/dist/chunks/{filesystem-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  836. /package/dist/chunks/{filesystem-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  837. /package/dist/chunks/{filesystem-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  838. /package/dist/chunks/{filesystem-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  839. /package/dist/chunks/{filesystem-beh6qq61.js → schema-beh6qq61.js} +0 -0
  840. /package/dist/chunks/{filesystem-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  841. /package/dist/chunks/{filesystem-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  842. /package/dist/chunks/{filesystem-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  843. /package/dist/chunks/{filesystem-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
  844. /package/dist/chunks/{filesystem-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  845. /package/dist/chunks/{filesystem-d9fn303g.js → schema-d9fn303g.js} +0 -0
  846. /package/dist/chunks/{filesystem-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  847. /package/dist/chunks/{filesystem-df08tz66.js → schema-df08tz66.js} +0 -0
  848. /package/dist/chunks/{filesystem-dy18nga0.js → schema-dy18nga0.js} +0 -0
  849. /package/dist/chunks/{filesystem-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  850. /package/dist/chunks/{filesystem-ean2d8b5.js → schema-ean2d8b5.js} +0 -0
  851. /package/dist/chunks/{filesystem-ec1grn59.js → schema-ec1grn59.js} +0 -0
  852. /package/dist/chunks/{filesystem-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  853. /package/dist/chunks/{filesystem-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  854. /package/dist/chunks/{filesystem-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  855. /package/dist/chunks/{filesystem-faypxj3z.js → schema-faypxj3z.js} +0 -0
  856. /package/dist/chunks/{filesystem-fd410y7t.js → schema-fd410y7t.js} +0 -0
  857. /package/dist/chunks/{filesystem-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
  858. /package/dist/chunks/{filesystem-g86h250q.js → schema-g86h250q.js} +0 -0
  859. /package/dist/chunks/{filesystem-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  860. /package/dist/chunks/{filesystem-gftt206x.js → schema-gftt206x.js} +0 -0
  861. /package/dist/chunks/{filesystem-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  862. /package/dist/chunks/{filesystem-hk9envan.js → schema-hk9envan.js} +0 -0
  863. /package/dist/chunks/{filesystem-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  864. /package/dist/chunks/{filesystem-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  865. /package/dist/chunks/{filesystem-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  866. /package/dist/chunks/{filesystem-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  867. /package/dist/chunks/{filesystem-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
  868. /package/dist/chunks/{filesystem-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  869. /package/dist/chunks/{filesystem-m18g726c.js → schema-m18g726c.js} +0 -0
  870. /package/dist/chunks/{filesystem-mp448xyj.js → schema-mp448xyj.js} +0 -0
  871. /package/dist/chunks/{filesystem-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  872. /package/dist/chunks/{filesystem-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  873. /package/dist/chunks/{filesystem-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  874. /package/dist/chunks/{filesystem-nh4v3znn.js → schema-nh4v3znn.js} +0 -0
  875. /package/dist/chunks/{filesystem-njntx4h6.js → schema-njntx4h6.js} +0 -0
  876. /package/dist/chunks/{filesystem-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
  877. /package/dist/chunks/{filesystem-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  878. /package/dist/chunks/{filesystem-q74kybfr.js → schema-q74kybfr.js} +0 -0
  879. /package/dist/chunks/{filesystem-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  880. /package/dist/chunks/{filesystem-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  881. /package/dist/chunks/{filesystem-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  882. /package/dist/chunks/{filesystem-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  883. /package/dist/chunks/{filesystem-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  884. /package/dist/chunks/{filesystem-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  885. /package/dist/chunks/{filesystem-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  886. /package/dist/chunks/{filesystem-syrav9an.js → schema-syrav9an.js} +0 -0
  887. /package/dist/chunks/{filesystem-t03h4f5z.js → schema-t03h4f5z.js} +0 -0
  888. /package/dist/chunks/{filesystem-ty7weeps.js → schema-ty7weeps.js} +0 -0
  889. /package/dist/chunks/{filesystem-v2dnd5dt.js → schema-v2dnd5dt.js} +0 -0
  890. /package/dist/chunks/{filesystem-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  891. /package/dist/chunks/{filesystem-vtarvj67.js → schema-vtarvj67.js} +0 -0
  892. /package/dist/chunks/{filesystem-w803qqfp.js → schema-w803qqfp.js} +0 -0
  893. /package/dist/chunks/{filesystem-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  894. /package/dist/chunks/{filesystem-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  895. /package/dist/chunks/{filesystem-wtztk69x.js → schema-wtztk69x.js} +0 -0
  896. /package/dist/chunks/{filesystem-x4th4bpe.js → schema-x4th4bpe.js} +0 -0
  897. /package/dist/chunks/{filesystem-y44na4kk.js → schema-y44na4kk.js} +0 -0
  898. /package/dist/chunks/{filesystem-y8f7s663.js → schema-y8f7s663.js} +0 -0
  899. /package/dist/chunks/{filesystem-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  900. /package/dist/chunks/{filesystem-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  901. /package/dist/chunks/{filesystem-z9919s4g.js → schema-z9919s4g.js} +0 -0
  902. /package/dist/chunks/{filesystem-zxpyjp51.js → schema-zxpyjp51.js} +0 -0
  903. /package/dist/chunks/{filesystem-zz5vv3aq.js → schema-zz5vv3aq.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./filesystem-0ma9gw4f.js";
4
+ } from "./schema-0ma9gw4f.js";
5
5
  import {
6
6
  Service85,
7
7
  node87
8
- } from "./filesystem-tr6gb3ke.js";
8
+ } from "./schema-3n8639p5.js";
9
9
  import {
10
- Service79,
11
- node81
12
- } from "./filesystem-0fn5ab0k.js";
10
+ Service72,
11
+ node74
12
+ } from "./schema-s5jhzpr9.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./filesystem-2fc7eemy.js";
15
+ } from "./schema-2fc7eemy.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./schema-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
- var exports_generate = {};
22
- __export(exports_generate, {
23
- Generate: () => exports_generate,
24
- InvalidRequestError: () => InvalidRequestError2,
21
+ var exports_generate2 = {};
22
+ __export(exports_generate2, {
23
+ Generate: () => exports_generate2,
24
+ InvalidRequestError: () => InvalidRequestError3,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service17,
29
- UnavailableError: () => UnavailableError2,
28
+ Service: () => Service71,
29
+ UnavailableError: () => UnavailableError5,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer9,
32
- node: () => node20
31
+ layer: () => layer23,
32
+ node: () => node73
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 UnavailableError5 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,11 +81,11 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service17 extends Context.Service()("@opencode/Generate") {
84
+ class Service71 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer9 = Layer.effect(Service17, Effect.gen(function* () {
86
+ var layer23 = Layer.effect(Service71, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service79;
88
+ const resolver = yield* Service72;
89
89
  const models = yield* Service85;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.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 UnavailableError5({ 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 UnavailableError5({ 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 UnavailableError5({ message: "Generation credentials are unavailable" })));
166
+ return Service71.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 node73 = makeLocationNode({
219
+ service: Service71,
220
+ layer: layer23,
221
+ deps: [node74, node87, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError2, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service17, layer9, node20, exports_generate };
224
+ export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service71, layer23, node73, exports_generate2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service67
3
- } from "./filesystem-6j19asys.js";
2
+ Service74
3
+ } from "./schema-s62h8xwa.js";
4
4
  import {
5
5
  definition2,
6
6
  normalizedName2
7
- } from "./filesystem-7rvsyqjv.js";
7
+ } from "./schema-7rvsyqjv.js";
8
8
  import {
9
9
  toSessionError2
10
- } from "./filesystem-1zd29w7p.js";
10
+ } from "./schema-qjjf83ye.js";
11
11
  import {
12
- Service53
13
- } from "./filesystem-1xjver7d.js";
12
+ Service56
13
+ } from "./schema-y32xxt00.js";
14
14
  import {
15
15
  extension2,
16
16
  display2
17
- } from "./filesystem-3v1jab5g.js";
17
+ } from "./schema-y5ken5vs.js";
18
18
  import {
19
19
  __export
20
- } from "./filesystem-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/codemode/tool.ts
23
23
  var exports_tool2 = {};
@@ -52,8 +52,9 @@ class Run extends Context.Service()("@opencode/CodeModeTool/Run") {
52
52
  }
53
53
  var description = [
54
54
  "Run JavaScript in a confined Code Mode runtime to script tool calls and HTTP requests and compose their results.",
55
+ "Write plain JavaScript and send it exactly as written: no code fence, and no JSON or other wrapper around it.",
55
56
  "`fetch` is available for HTTP requests. Imports, direct filesystem access, and timers are unavailable: there is no `setTimeout` or sleep. All other external access goes through `tools`.",
56
- "Within `{ code }`, the only callable tools are those explicitly listed in the Code Mode catalog instructions or returned by the `search` function. Inside `{ code }`, ignore tools shown outside the Code Mode catalog. They are not available in the Code Mode runtime.",
57
+ "Inside `execute`, the only callable tools are those explicitly listed in the Code Mode catalog instructions or returned by the `search` function. Ignore tools shown outside the Code Mode catalog. They are not available in the Code Mode runtime.",
57
58
  'Call tools through `tools` using only exact paths and signatures from the catalog. Do not infer or normalize tool names; preserve bracket notation such as `tools.<namespace>["tool-name"](input)`.',
58
59
  "Prefer an explicit `return`; if omitted, the final top-level expression becomes the result.",
59
60
  "Await every call whose completion matters; pending calls are interrupted when execution ends. Run independent calls concurrently with `Promise.allSettled`."
@@ -104,7 +105,7 @@ var create3 = (inventory, executeTool, permission, flag) => {
104
105
  return resultValue(executed);
105
106
  }),
106
107
  hooks: progressHooks(record)
107
- }), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service53, context), Effect.provideService(Service67, permission));
108
+ }), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service56, context), Effect.provideService(Service74, permission));
108
109
  const toolCalls = yield* Ref.get(calls);
109
110
  const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
110
111
  const output = formatResult(result);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./filesystem-svcy3p9a.js";
3
+ } from "./schema-svcy3p9a.js";
4
4
  import {
5
5
  DEFAULT_SEARCH_TIMEOUT_MS2
6
- } from "./filesystem-vk0z4zg0.js";
6
+ } from "./schema-3xnqrhgf.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/search.ts
12
12
  var exports_search = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./filesystem-96xmncfy.js";
4
+ } from "./schema-ayevjdp6.js";
5
5
  import {
6
- Service84,
7
- node86
8
- } from "./filesystem-h6e51344.js";
6
+ Service83,
7
+ node85
8
+ } from "./schema-jpaeaxj3.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./filesystem-40y6dtc2.js";
12
+ } from "./schema-40y6dtc2.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./schema-9rqn6x4v.js";
16
16
 
17
17
  // src/websearch.ts
18
18
  var exports_websearch3 = {};
19
19
  __export(exports_websearch3, {
20
20
  DisabledError: () => DisabledError3,
21
21
  Event: () => Event4,
22
- ID: () => ID7,
22
+ ID: () => ID6,
23
23
  Input: () => Input15,
24
24
  Provider: () => Provider2,
25
25
  ProviderKey: () => ProviderKey2,
@@ -29,9 +29,9 @@ __export(exports_websearch3, {
29
29
  Response: () => Response2,
30
30
  Result: () => Result2,
31
31
  Selection: () => Selection2,
32
- Service: () => Service18,
32
+ Service: () => Service16,
33
33
  WebSearch: () => exports_websearch3,
34
- node: () => node21
34
+ node: () => node19
35
35
  });
36
36
  import { WebSearch } from "@opencode/schema/websearch";
37
37
  import { SessionEvent } from "@opencode/schema/session-event";
@@ -39,19 +39,19 @@ import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
39
39
  import { HttpClientError } from "effect/http";
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import { Event as Event4 } from "@opencode/schema/websearch";
42
- var ID7 = WebSearch.ID;
42
+ var ID6 = WebSearch.ID;
43
43
  var Provider2 = WebSearch.Provider;
44
44
  var Input15 = WebSearch.Input;
45
45
  var Result2 = WebSearch.Result;
46
46
  var Response2 = WebSearch.Response;
47
47
  var ProviderKey2 = "websearch:provider";
48
- var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
48
+ var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
49
49
 
50
50
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
51
51
  }
52
52
 
53
53
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
- providerID: ID7
54
+ providerID: ID6
55
55
  }) {
56
56
  }
57
57
 
@@ -59,16 +59,16 @@ class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
59
59
  }
60
60
 
61
61
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
62
- providerID: ID7,
62
+ providerID: ID6,
63
63
  cause: Schema.Defect()
64
64
  }) {
65
65
  }
66
66
 
67
- class Service18 extends Context.Service()("@opencode/WebSearch") {
67
+ class Service16 extends Context.Service()("@opencode/WebSearch") {
68
68
  }
69
- var layer = Layer.effect(Service18, Effect.gen(function* () {
69
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
70
70
  const bus = yield* Service93;
71
- const kv = yield* Service84;
71
+ const kv = yield* Service83;
72
72
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
73
73
  const cooldowns = new Map;
74
74
  const preferred = new Map;
@@ -131,7 +131,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
131
131
  }
132
132
  return choice ? state.get().providers.get(choice) : undefined;
133
133
  });
134
- return Service18.of({
134
+ return Service16.of({
135
135
  transform: state.transform,
136
136
  reload: state.reload,
137
137
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
188
188
  const date = Date.parse(value);
189
189
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
190
190
  }
191
- var node21 = makeLocationNode({
192
- service: Service18,
191
+ var node19 = makeLocationNode({
192
+ service: Service16,
193
193
  layer,
194
- deps: [node95, node86]
194
+ deps: [node95, node85]
195
195
  });
196
196
 
197
- export { ID7, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service18, node21, exports_websearch3, Event4 };
197
+ export { ID6, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service16, node19, exports_websearch3, Event4 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- Service71
3
- } from "./filesystem-491q2x3b.js";
2
+ Service78
3
+ } from "./schema-054zc0xd.js";
4
4
  import {
5
5
  Ref3,
6
6
  Service85
7
- } from "./filesystem-tr6gb3ke.js";
7
+ } from "./schema-3n8639p5.js";
8
8
  import {
9
9
  latest2,
10
- Service73
11
- } from "./filesystem-pk5ktw9t.js";
10
+ Service80
11
+ } from "./schema-7tf6362t.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./filesystem-6q8jj3zs.js";
14
+ } from "./schema-qtf35215.js";
15
15
  import {
16
- Service59
17
- } from "./filesystem-ft91cex6.js";
16
+ Service37
17
+ } from "./schema-sgmpg1at.js";
18
18
  import {
19
19
  invocation2,
20
20
  evaluate3,
21
- Service67
22
- } from "./filesystem-6j19asys.js";
21
+ Service74
22
+ } from "./schema-s62h8xwa.js";
23
23
  import {
24
- Service25
25
- } from "./filesystem-0x2ag7me.js";
24
+ Service18
25
+ } from "./schema-jh3vmqnb.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./filesystem-sqjzf8x2.js";
28
+ } from "./schema-0j7gp832.js";
29
29
  import {
30
- Service7
31
- } from "./filesystem-5pah5g87.js";
30
+ Service11
31
+ } from "./schema-0vb5mjcv.js";
32
32
  import {
33
33
  __export
34
- } from "./filesystem-9rqn6x4v.js";
34
+ } from "./schema-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input5,
40
- Output: () => Output4,
41
- Plugin: () => Plugin5,
39
+ Input: () => Input12,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin33,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description3,
44
- name: () => name5
43
+ description: () => description6,
44
+ name: () => name12
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai/effect";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name5 = "subagent";
48
+ var name12 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
57
57
  ].join(`
58
58
  `)
59
59
  });
60
- var Input5 = Schema.Struct({
60
+ var Input12 = Schema.Struct({
61
61
  agent: Schema.String.annotate({
62
62
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
63
63
  }),
@@ -73,12 +73,12 @@ var Input5 = Schema.Struct({
73
73
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
74
74
  })
75
75
  });
76
- var Output4 = Schema.Struct({
76
+ var Output8 = Schema.Struct({
77
77
  sessionID: SessionSchema2.ID,
78
78
  status: Schema.Literals(["completed", "running"]),
79
79
  output: Schema.String
80
80
  });
81
- var description3 = [
81
+ var description6 = [
82
82
  "Spawns an agent in a child session to work on the specified task.",
83
83
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
84
84
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -87,16 +87,16 @@ var description3 = [
87
87
  "Use background only for independent work that can run while you continue elsewhere."
88
88
  ].join(`
89
89
  `);
90
- var Plugin5 = {
90
+ var Plugin33 = {
91
91
  id: "opencode.tool.subagent",
92
92
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
93
- const sessions = yield* Service25;
94
- const jobs = yield* Service59;
95
- const agents = yield* Service71;
96
- const config = yield* Service73;
97
- const permission = yield* Service67;
93
+ const sessions = yield* Service18;
94
+ const jobs = yield* Service37;
95
+ const agents = yield* Service78;
96
+ const config = yield* Service80;
97
+ const permission = yield* Service74;
98
98
  const models = yield* Service85;
99
- const subagents = yield* Service7;
99
+ const subagents = yield* Service11;
100
100
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
101
101
  const ref = yield* Effect.try({
102
102
  try: () => Ref3.parse(input),
@@ -118,11 +118,11 @@ var Plugin5 = {
118
118
  return ref;
119
119
  });
120
120
  yield* ctx.tool.transform((editor) => editor.add({
121
- name: name5,
121
+ name: name12,
122
122
  options: { codemode: false },
123
- description: description3,
124
- input: Input5,
125
- output: Output4,
123
+ description: description6,
124
+ input: Input12,
125
+ output: Output8,
126
126
  execute: (input, context) => Effect.gen(function* () {
127
127
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
128
128
  let current = parent;
@@ -142,7 +142,7 @@ var Plugin5 = {
142
142
  if (agent.mode === "primary")
143
143
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
144
144
  yield* permission.assert({
145
- action: name5,
145
+ action: name12,
146
146
  resources: [agent.id],
147
147
  save: [agent.id],
148
148
  ...invocation2(context)
@@ -215,7 +215,7 @@ ${output.output}
215
215
  })))
216
216
  })).pipe(Effect.orDie);
217
217
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
218
- if (event.tool !== name5 || !Predicate.isObject(event.input))
218
+ if (event.tool !== name12 || !Predicate.isObject(event.input))
219
219
  return;
220
220
  if (event.input.model !== "" && event.input.sessionID !== "")
221
221
  return;
@@ -227,13 +227,13 @@ ${output.output}
227
227
  event.input = input;
228
228
  }));
229
229
  const hook = (event) => Effect.gen(function* () {
230
- const tool = event.tools[name5];
230
+ const tool = event.tools[name12];
231
231
  if (!tool)
232
232
  return;
233
233
  const selected = yield* agents.resolve(event.agent);
234
234
  if (!selected)
235
235
  return;
236
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
236
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
237
237
  if (available.length === 0)
238
238
  return;
239
239
  tool.description = [
@@ -250,4 +250,4 @@ ${output.output}
250
250
  })
251
251
  };
252
252
 
253
- export { name5, Input5, Output4, description3, Plugin5, exports_subagent };
253
+ export { name12, Input12, Output8, description6, Plugin33, exports_subagent };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-hv4b246c.js";
3
+ } from "./schema-28yt5ya3.js";
4
4
  import {
5
5
  call2
6
- } from "./filesystem-r41sfy63.js";
6
+ } from "./schema-w2eysc6j.js";
7
7
  import {
8
- register2
9
- } from "./filesystem-xjr6c8m4.js";
8
+ register3
9
+ } from "./schema-xxschbft.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/websearch/parallel.ts
15
15
  var exports_parallel = {};
16
16
  __export(exports_parallel, {
17
- Plugin: () => Plugin26,
17
+ Plugin: () => Plugin41,
18
18
  WebSearchParallel: () => exports_parallel,
19
19
  endpoint: () => endpoint6
20
20
  });
@@ -50,11 +50,11 @@ var McpOutput = Schema.Struct({
50
50
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
51
51
  structuredContent: SearchResponse
52
52
  });
53
- var Plugin26 = define({
53
+ var Plugin41 = define({
54
54
  id: "opencode.websearch.parallel",
55
55
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
56
56
  const http = yield* HttpClient.HttpClient;
57
- yield* register2(ctx, {
57
+ yield* register3(ctx, {
58
58
  id: "parallel",
59
59
  name: "Parallel",
60
60
  env: "PARALLEL_API_KEY",
@@ -82,4 +82,4 @@ var Plugin26 = define({
82
82
  })
83
83
  });
84
84
 
85
- export { endpoint6, Plugin26, exports_parallel };
85
+ export { endpoint6, Plugin41, exports_parallel };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  key3
3
- } from "./filesystem-kq4fnwb1.js";
3
+ } from "./schema-n320gsn2.js";
4
4
  import {
5
5
  ID17,
6
6
  Service86
7
- } from "./filesystem-w8jdb2jn.js";
7
+ } from "./schema-37rq3n90.js";
8
8
  import {
9
- load4,
10
- derive2
11
- } from "./filesystem-gatcy5wf.js";
9
+ load5,
10
+ derive3
11
+ } from "./schema-swtby07c.js";
12
12
  import {
13
- Service44,
13
+ Service51,
14
14
  fingerprint2
15
- } from "./filesystem-w48gbg6x.js";
15
+ } from "./schema-nstbetgn.js";
16
16
  import {
17
17
  start3
18
- } from "./filesystem-4ydapqmf.js";
18
+ } from "./schema-fq23ffp0.js";
19
19
  import {
20
20
  activeCredential2
21
- } from "./filesystem-s8kfvqtc.js";
21
+ } from "./schema-41ta799d.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect } from "effect";
@@ -29,7 +29,7 @@ var ModalPlugin2 = define({
29
29
  id: "opencode.provider.modal",
30
30
  effect: Effect.fn(function* (ctx) {
31
31
  const providers = yield* Service86;
32
- const cache = yield* Service44;
32
+ const cache = yield* Service51;
33
33
  const http = yield* HttpClient.HttpClient;
34
34
  const discovered = yield* start3({
35
35
  integrationID: "modal",
@@ -46,7 +46,7 @@ var ModalPlugin2 = define({
46
46
  const models = yield* cache.get({
47
47
  key: modelsKey(connection, apiKey, baseURL),
48
48
  ...options,
49
- load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load4(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
49
+ load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load5(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
50
50
  }).pipe(Effect.orElseSucceed(() => {
51
51
  return;
52
52
  }));
@@ -60,7 +60,7 @@ var ModalPlugin2 = define({
60
60
  return;
61
61
  evt.add({
62
62
  info: item.provider,
63
- models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
63
+ models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
64
64
  sourceConnection: loaded.connection
65
65
  });
66
66
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/shared-cache.ts
6
6
  var exports_shared_cache = {};
7
7
  __export(exports_shared_cache, {
8
- Service: () => Service44,
8
+ Service: () => Service51,
9
9
  SharedCache: () => exports_shared_cache,
10
10
  fingerprint: () => fingerprint2,
11
11
  interval: () => interval2,
12
- node: () => node47,
12
+ node: () => node53,
13
13
  transient: () => transient2
14
14
  });
15
15
  import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
18
18
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  var interval2 = Duration.minutes(10);
20
20
 
21
- class Service44 extends Context.Service()("@opencode/SharedCache") {
21
+ class Service51 extends Context.Service()("@opencode/SharedCache") {
22
22
  }
23
23
  var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
24
24
  var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
25
25
  var unread = Duration.toMillis(Duration.hours(24));
26
- var layer = Layer.effect(Service44, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
27
27
  const run = yield* FiberSet.makeRuntime();
28
28
  const entries = new Map;
29
29
  const start = Effect.fnUntraced(function* (key, entry, load) {
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
59
59
  }))));
60
60
  return yield* Fiber.join(entry.loading);
61
61
  });
62
- return Service44.of({ get });
62
+ return Service51.of({ get });
63
63
  }));
64
- var node47 = makeGlobalNode({ service: Service44, layer, deps: [] });
64
+ var node53 = makeGlobalNode({ service: Service51, layer, deps: [] });
65
65
 
66
- export { interval2, Service44, fingerprint2, transient2, node47, exports_shared_cache };
66
+ export { interval2, Service51, fingerprint2, transient2, node53, exports_shared_cache };