@claudiolabs/claudin 0.7.5 → 0.7.6

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 (909) hide show
  1. package/dist/chunks/AgentTool-0.7.6-02vh9vk8.mjs +1 -0
  2. package/dist/chunks/App-0.7.6-6rm9fw7h.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.7.6-3ds3vmhq.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.7.6-tdwszj02.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.7.6-5axvmtp3.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.7.6-014qynp3.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.6-z3wrhmsy.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.7.6-92nz3x2x.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.7.6-4303tcnm.mjs +7 -0
  10. package/dist/chunks/Doctor-0.7.6-084ce5s2.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.7.6-vp1m6ffx.mjs +6 -0
  12. package/dist/chunks/Grove-0.7.6-1d3f84xj.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.7.6-wdyeyjcs.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.7.6-j0gs8ee7.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.7.6-5gtntvxr.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.7.6-jqrhx95e.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.7.6-18f6pde2.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.7.6-2q5s7q6j.mjs +1 -0
  19. package/dist/chunks/REPL-0.7.6-ayp94stx.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.7.6-zgn8p1b4.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.7.6-apn9hx86.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.7.6-1mvkc8e6.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.7.6-74t499kc.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.7.6-aj7acqex.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.7.6-werejha1.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.7.6-n01pcadg.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.7.6-bsjh0666.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.7.6-eqwet2j4.mjs +1 -0
  29. package/dist/chunks/add-dir-0.7.6-8rvjxj57.mjs +1 -0
  30. package/dist/chunks/agentTypes-0.7.6-49zjnpvv.mjs +1 -0
  31. package/dist/chunks/agents-0.7.6-f2wq0zdm.mjs +3 -0
  32. package/dist/chunks/agents-0.7.6-n608c3qr.mjs +110 -0
  33. package/dist/chunks/api-0.7.6-f2fsvxyj.mjs +1 -0
  34. package/dist/chunks/asciicast-0.7.6-fv6ypvrh.mjs +1 -0
  35. package/dist/chunks/assistant-0.7.6-3d939v1n.mjs +1 -0
  36. package/dist/chunks/auth-0.7.6-e9ggcrw2.mjs +1 -0
  37. package/dist/chunks/auth-0.7.6-vprbhg4e.mjs +1 -0
  38. package/dist/chunks/autoMode-0.7.6-p12j05a6.mjs +48 -0
  39. package/dist/chunks/autoUpdater-0.7.6-nrc4g1jz.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-0.7.6-rb8ftxsa.mjs +1 -0
  41. package/dist/chunks/branch-0.7.6-05rh36he.mjs +4 -0
  42. package/dist/chunks/bridge-0.7.6-wddny37r.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-0.7.6-b5h1a634.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-0.7.6-0fhtxtzs.mjs +1 -0
  45. package/dist/chunks/bridgeMain-0.7.6-nj17223b.mjs +88 -0
  46. package/dist/chunks/bridgePointer-0.7.6-f0qs1e6e.mjs +1 -0
  47. package/dist/chunks/btw-0.7.6-cjm6v0b9.mjs +1 -0
  48. package/dist/chunks/buddy-0.7.6-1j68vknm.mjs +3 -0
  49. package/dist/chunks/cacache-0.7.6-3mr30mas.mjs +1 -0
  50. package/dist/chunks/cache-probe-0.7.6-e8g8d94t.mjs +21 -0
  51. package/dist/chunks/cacheStats-0.7.6-4x5zqxyf.mjs +4 -0
  52. package/dist/chunks/caches-0.7.6-fpr85z6h.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-0.7.6-hh4vstgr.mjs +1 -0
  54. package/dist/chunks/claudemd-0.7.6-fqehvs8g.mjs +1 -0
  55. package/dist/chunks/clear-0.7.6-h2vf452p.mjs +1 -0
  56. package/dist/chunks/clearTerminal-0.7.6-qscrqy5p.mjs +1 -0
  57. package/dist/chunks/cli-0.7.6-010st6wr.mjs +2 -0
  58. package/dist/chunks/cli-0.7.6-07eesex8.mjs +2 -0
  59. package/dist/chunks/cli-0.7.6-09hcxer2.mjs +2 -0
  60. package/dist/chunks/cli-0.7.6-0b47jy2g.mjs +2 -0
  61. package/dist/chunks/cli-0.7.6-0ekx5n2q.mjs +4 -0
  62. package/dist/chunks/cli-0.7.6-0gzsv22g.mjs +2 -0
  63. package/dist/chunks/cli-0.7.6-0h46deez.mjs +2 -0
  64. package/dist/chunks/cli-0.7.6-0mgbtp8x.mjs +6 -0
  65. package/dist/chunks/cli-0.7.6-0n7tfcxz.mjs +4 -0
  66. package/dist/chunks/cli-0.7.6-0tt8ccr8.mjs +2 -0
  67. package/dist/chunks/cli-0.7.6-0wr25ecz.mjs +2 -0
  68. package/dist/chunks/cli-0.7.6-1bfz5qa5.mjs +2 -0
  69. package/dist/chunks/cli-0.7.6-1bvzdjfc.mjs +2 -0
  70. package/dist/chunks/cli-0.7.6-1dqh462b.mjs +2 -0
  71. package/dist/chunks/cli-0.7.6-1j4p4cz3.mjs +2 -0
  72. package/dist/chunks/cli-0.7.6-1s1nbm58.mjs +2 -0
  73. package/dist/chunks/cli-0.7.6-1v73pjt7.mjs +2 -0
  74. package/dist/chunks/cli-0.7.6-1yn63f2j.mjs +2 -0
  75. package/dist/chunks/cli-0.7.6-29snre4z.mjs +2 -0
  76. package/dist/chunks/cli-0.7.6-2ff9pq9s.mjs +3 -0
  77. package/dist/chunks/cli-0.7.6-2kjdfns9.mjs +6 -0
  78. package/dist/chunks/cli-0.7.6-2nmq534s.mjs +26 -0
  79. package/dist/chunks/cli-0.7.6-2qwpkx4w.mjs +12 -0
  80. package/dist/chunks/cli-0.7.6-2rwpq77s.mjs +2 -0
  81. package/dist/chunks/cli-0.7.6-310844c3.mjs +4 -0
  82. package/dist/chunks/cli-0.7.6-39q0e172.mjs +2 -0
  83. package/dist/chunks/cli-0.7.6-3vqf88sk.mjs +2 -0
  84. package/dist/chunks/cli-0.7.6-43kp2p25.mjs +2 -0
  85. package/dist/chunks/cli-0.7.6-471rvdw2.mjs +2 -0
  86. package/dist/chunks/cli-0.7.6-4e2e6mkj.mjs +3 -0
  87. package/dist/chunks/cli-0.7.6-4eaywsgw.mjs +2 -0
  88. package/dist/chunks/cli-0.7.6-4q91n1nr.mjs +2 -0
  89. package/dist/chunks/cli-0.7.6-4v3f036y.mjs +2 -0
  90. package/dist/chunks/cli-0.7.6-4ybzx76m.mjs +2 -0
  91. package/dist/chunks/cli-0.7.6-4z1q2wge.mjs +2 -0
  92. package/dist/chunks/cli-0.7.6-517m3gcx.mjs +2 -0
  93. package/dist/chunks/cli-0.7.6-56h0kfkw.mjs +59 -0
  94. package/dist/chunks/cli-0.7.6-5dk57g7k.mjs +2 -0
  95. package/dist/chunks/cli-0.7.6-5ktehyvf.mjs +2 -0
  96. package/dist/chunks/cli-0.7.6-5qabm4xe.mjs +2 -0
  97. package/dist/chunks/cli-0.7.6-5vj0s5hg.mjs +5 -0
  98. package/dist/chunks/cli-0.7.6-5wj27v22.mjs +18 -0
  99. package/dist/chunks/cli-0.7.6-5ynmp8av.mjs +2 -0
  100. package/dist/chunks/cli-0.7.6-62ea895q.mjs +2 -0
  101. package/dist/chunks/cli-0.7.6-67tqckbs.mjs +133 -0
  102. package/dist/chunks/cli-0.7.6-69b0cq0a.mjs +4 -0
  103. package/dist/chunks/cli-0.7.6-69hzrwk9.mjs +2 -0
  104. package/dist/chunks/cli-0.7.6-73gkdy2f.mjs +2 -0
  105. package/dist/chunks/cli-0.7.6-73h798cq.mjs +2 -0
  106. package/dist/chunks/cli-0.7.6-7g2b4q32.mjs +2 -0
  107. package/dist/chunks/cli-0.7.6-7ktebmzc.mjs +2 -0
  108. package/dist/chunks/cli-0.7.6-7mzraehr.mjs +16 -0
  109. package/dist/chunks/cli-0.7.6-7szsqp12.mjs +2 -0
  110. package/dist/chunks/cli-0.7.6-7ybdp9j0.mjs +3 -0
  111. package/dist/chunks/cli-0.7.6-7yce2cw8.mjs +2 -0
  112. package/dist/chunks/cli-0.7.6-8g9rtj1f.mjs +2 -0
  113. package/dist/chunks/cli-0.7.6-8h5rwm21.mjs +2 -0
  114. package/dist/chunks/cli-0.7.6-8k508w7p.mjs +2 -0
  115. package/dist/chunks/cli-0.7.6-8srvcg12.mjs +2 -0
  116. package/dist/chunks/cli-0.7.6-8vdxmbjt.mjs +2 -0
  117. package/dist/chunks/cli-0.7.6-8vftkjgf.mjs +2 -0
  118. package/dist/chunks/cli-0.7.6-8wv8rjqd.mjs +2 -0
  119. package/dist/chunks/cli-0.7.6-9508tj8e.mjs +17 -0
  120. package/dist/chunks/cli-0.7.6-96qqpq0c.mjs +2 -0
  121. package/dist/chunks/cli-0.7.6-9a706kh3.mjs +2 -0
  122. package/dist/chunks/cli-0.7.6-9w6egknj.mjs +8 -0
  123. package/dist/chunks/cli-0.7.6-ajv6cevv.mjs +4 -0
  124. package/dist/chunks/cli-0.7.6-am0sf3er.mjs +2 -0
  125. package/dist/chunks/cli-0.7.6-ama4wyv2.mjs +12 -0
  126. package/dist/chunks/cli-0.7.6-ayd8297m.mjs +3 -0
  127. package/dist/chunks/cli-0.7.6-azjnjp5p.mjs +2 -0
  128. package/dist/chunks/cli-0.7.6-b39v6rz1.mjs +2 -0
  129. package/dist/chunks/cli-0.7.6-bbmxy27v.mjs +2 -0
  130. package/dist/chunks/cli-0.7.6-berqrfpz.mjs +2 -0
  131. package/dist/chunks/cli-0.7.6-bese1aqp.mjs +2 -0
  132. package/dist/chunks/cli-0.7.6-bfwq4dm5.mjs +2 -0
  133. package/dist/chunks/cli-0.7.6-c3npkenn.mjs +1 -0
  134. package/dist/chunks/cli-0.7.6-ccbtfaqn.mjs +2 -0
  135. package/dist/chunks/cli-0.7.6-ccy8mp4f.mjs +2 -0
  136. package/dist/chunks/cli-0.7.6-cedrx1f7.mjs +2 -0
  137. package/dist/chunks/cli-0.7.6-chcjfb2p.mjs +2 -0
  138. package/dist/chunks/cli-0.7.6-cmxr1gyd.mjs +3 -0
  139. package/dist/chunks/cli-0.7.6-cq95q0m7.mjs +2 -0
  140. package/dist/chunks/cli-0.7.6-cxchkx7a.mjs +18 -0
  141. package/dist/chunks/cli-0.7.6-d4rmetja.mjs +2 -0
  142. package/dist/chunks/cli-0.7.6-d5nss1kz.mjs +2 -0
  143. package/dist/chunks/cli-0.7.6-d8hz302t.mjs +2 -0
  144. package/dist/chunks/cli-0.7.6-dd5tgszn.mjs +4 -0
  145. package/dist/chunks/cli-0.7.6-dfkaq7z7.mjs +2 -0
  146. package/dist/chunks/cli-0.7.6-dhp0vn09.mjs +4 -0
  147. package/dist/chunks/cli-0.7.6-dpfh7ypk.mjs +2 -0
  148. package/dist/chunks/cli-0.7.6-dq87daze.mjs +2 -0
  149. package/dist/chunks/cli-0.7.6-dynrpsf9.mjs +10 -0
  150. package/dist/chunks/cli-0.7.6-e01s0kjn.mjs +2 -0
  151. package/dist/chunks/cli-0.7.6-e3dwvde8.mjs +58 -0
  152. package/dist/chunks/cli-0.7.6-edjsszs3.mjs +12 -0
  153. package/dist/chunks/cli-0.7.6-ehkh8f7m.mjs +2 -0
  154. package/dist/chunks/cli-0.7.6-ejjekwys.mjs +2 -0
  155. package/dist/chunks/cli-0.7.6-ejk8n0sg.mjs +2 -0
  156. package/dist/chunks/cli-0.7.6-ek2a439r.mjs +2 -0
  157. package/dist/chunks/cli-0.7.6-ex7sezdt.mjs +2 -0
  158. package/dist/chunks/cli-0.7.6-f4nmb6r2.mjs +3 -0
  159. package/dist/chunks/cli-0.7.6-f9mzvngv.mjs +2 -0
  160. package/dist/chunks/cli-0.7.6-ffk5hz3x.mjs +2 -0
  161. package/dist/chunks/cli-0.7.6-fkshg1fg.mjs +2 -0
  162. package/dist/chunks/cli-0.7.6-fmmr53nv.mjs +2 -0
  163. package/dist/chunks/cli-0.7.6-fn56g2cc.mjs +199 -0
  164. package/dist/chunks/cli-0.7.6-frf6ynaj.mjs +2 -0
  165. package/dist/chunks/cli-0.7.6-ftdrd7jk.mjs +17 -0
  166. package/dist/chunks/cli-0.7.6-fvydk0w1.mjs +2 -0
  167. package/dist/chunks/cli-0.7.6-g1gd1372.mjs +5 -0
  168. package/dist/chunks/cli-0.7.6-g2437s1w.mjs +2 -0
  169. package/dist/chunks/cli-0.7.6-g44g34fb.mjs +2 -0
  170. package/dist/chunks/cli-0.7.6-g5cva69z.mjs +2 -0
  171. package/dist/chunks/cli-0.7.6-g736y207.mjs +39 -0
  172. package/dist/chunks/cli-0.7.6-g802sp0p.mjs +2 -0
  173. package/dist/chunks/cli-0.7.6-gkd2v7ek.mjs +45 -0
  174. package/dist/chunks/cli-0.7.6-gxbeg3ny.mjs +3 -0
  175. package/dist/chunks/cli-0.7.6-hrw7nyyq.mjs +2 -0
  176. package/dist/chunks/cli-0.7.6-hsa9j8sb.mjs +2 -0
  177. package/dist/chunks/cli-0.7.6-hsm2w1qr.mjs +2 -0
  178. package/dist/chunks/cli-0.7.6-hw3n6j75.mjs +9 -0
  179. package/dist/chunks/cli-0.7.6-j59ty8yt.mjs +15 -0
  180. package/dist/chunks/cli-0.7.6-j63vtmfa.mjs +2 -0
  181. package/dist/chunks/cli-0.7.6-j9p952mf.mjs +2 -0
  182. package/dist/chunks/cli-0.7.6-jjmm4f40.mjs +2 -0
  183. package/dist/chunks/cli-0.7.6-jmpc9xmj.mjs +6 -0
  184. package/dist/chunks/cli-0.7.6-jpjn976y.mjs +2 -0
  185. package/dist/chunks/cli-0.7.6-jtdgswpn.mjs +2 -0
  186. package/dist/chunks/cli-0.7.6-jwqgj667.mjs +2 -0
  187. package/dist/chunks/cli-0.7.6-jzk3fxqa.mjs +3 -0
  188. package/dist/chunks/cli-0.7.6-k1tjb02q.mjs +4 -0
  189. package/dist/chunks/cli-0.7.6-k5r0yz41.mjs +67 -0
  190. package/dist/chunks/cli-0.7.6-k7fsgwdr.mjs +2 -0
  191. package/dist/chunks/cli-0.7.6-m51wgngt.mjs +2 -0
  192. package/dist/chunks/cli-0.7.6-md1ramb7.mjs +2 -0
  193. package/dist/chunks/cli-0.7.6-md31wz8f.mjs +2 -0
  194. package/dist/chunks/cli-0.7.6-md4x57wd.mjs +2 -0
  195. package/dist/chunks/cli-0.7.6-n6qsqdjv.mjs +2 -0
  196. package/dist/chunks/cli-0.7.6-ngmxmw82.mjs +2 -0
  197. package/dist/chunks/cli-0.7.6-ngsbbrk7.mjs +3 -0
  198. package/dist/chunks/cli-0.7.6-nxxj5qzs.mjs +2 -0
  199. package/dist/chunks/cli-0.7.6-p2268sge.mjs +2 -0
  200. package/dist/chunks/cli-0.7.6-pasrzvza.mjs +2 -0
  201. package/dist/chunks/cli-0.7.6-pbzty9n9.mjs +2 -0
  202. package/dist/chunks/cli-0.7.6-pwvs4p1w.mjs +3 -0
  203. package/dist/chunks/cli-0.7.6-pzk668w8.mjs +2 -0
  204. package/dist/chunks/cli-0.7.6-qan5xxdc.mjs +5471 -0
  205. package/dist/chunks/cli-0.7.6-qeq5tx23.mjs +6 -0
  206. package/dist/chunks/cli-0.7.6-qkcrt37c.mjs +2 -0
  207. package/dist/chunks/cli-0.7.6-qyk1jtmh.mjs +2 -0
  208. package/dist/chunks/cli-0.7.6-r6nhsg12.mjs +2 -0
  209. package/dist/chunks/cli-0.7.6-r78s2g03.mjs +18 -0
  210. package/dist/chunks/cli-0.7.6-r9dxvg8q.mjs +5 -0
  211. package/dist/chunks/cli-0.7.6-rp0xgr6t.mjs +2 -0
  212. package/dist/chunks/cli-0.7.6-rs07s8yh.mjs +2 -0
  213. package/dist/chunks/cli-0.7.6-rzhf46t3.mjs +2 -0
  214. package/dist/chunks/cli-0.7.6-s0jpd03j.mjs +2 -0
  215. package/dist/chunks/cli-0.7.6-s3kvpq11.mjs +24 -0
  216. package/dist/chunks/cli-0.7.6-se7x2a1f.mjs +7 -0
  217. package/dist/chunks/cli-0.7.6-sjbap7zg.mjs +2 -0
  218. package/dist/chunks/cli-0.7.6-svqwyxab.mjs +42 -0
  219. package/dist/chunks/cli-0.7.6-sznceb3v.mjs +2 -0
  220. package/dist/chunks/cli-0.7.6-t224fm0b.mjs +2 -0
  221. package/dist/chunks/cli-0.7.6-t3wkyhpb.mjs +2 -0
  222. package/dist/chunks/cli-0.7.6-tnxct9wp.mjs +2 -0
  223. package/dist/chunks/cli-0.7.6-tp1mp7kg.mjs +2 -0
  224. package/dist/chunks/cli-0.7.6-tp4xkdj6.mjs +2 -0
  225. package/dist/chunks/cli-0.7.6-v3rjsfcr.mjs +2 -0
  226. package/dist/chunks/cli-0.7.6-vhan81qg.mjs +2 -0
  227. package/dist/chunks/cli-0.7.6-vhn7sz5q.mjs +2 -0
  228. package/dist/chunks/cli-0.7.6-vrcja2t1.mjs +2 -0
  229. package/dist/chunks/cli-0.7.6-w4bq1f08.mjs +4 -0
  230. package/dist/chunks/cli-0.7.6-w5smxper.mjs +2 -0
  231. package/dist/chunks/cli-0.7.6-w65xvz9z.mjs +2 -0
  232. package/dist/chunks/cli-0.7.6-w66170ej.mjs +2 -0
  233. package/dist/chunks/cli-0.7.6-w7k9x0kq.mjs +3 -0
  234. package/dist/chunks/cli-0.7.6-wch5kwc6.mjs +3 -0
  235. package/dist/chunks/cli-0.7.6-wepz3cym.mjs +4 -0
  236. package/dist/chunks/cli-0.7.6-wmhr2zkd.mjs +2 -0
  237. package/dist/chunks/cli-0.7.6-wmk10em6.mjs +2 -0
  238. package/dist/chunks/cli-0.7.6-wthbw2r0.mjs +2 -0
  239. package/dist/chunks/cli-0.7.6-wz34s2yk.mjs +2 -0
  240. package/dist/chunks/cli-0.7.6-wz5w8hmh.mjs +2 -0
  241. package/dist/chunks/cli-0.7.6-xczzrd9d.mjs +34 -0
  242. package/dist/chunks/cli-0.7.6-xfap6qa6.mjs +20 -0
  243. package/dist/chunks/cli-0.7.6-xg6ka3pp.mjs +2 -0
  244. package/dist/chunks/cli-0.7.6-xjemjs4e.mjs +25 -0
  245. package/dist/chunks/cli-0.7.6-xkmg4sc9.mjs +2 -0
  246. package/dist/chunks/cli-0.7.6-xky4ty14.mjs +2 -0
  247. package/dist/chunks/cli-0.7.6-xtjps7gq.mjs +2 -0
  248. package/dist/chunks/cli-0.7.6-xyx40s83.mjs +21 -0
  249. package/dist/chunks/cli-0.7.6-y36b0e0y.mjs +24 -0
  250. package/dist/chunks/cli-0.7.6-y3a6zp1r.mjs +2 -0
  251. package/dist/chunks/cli-0.7.6-y7bdxnmf.mjs +133 -0
  252. package/dist/chunks/cli-0.7.6-y8ga5pny.mjs +15 -0
  253. package/dist/chunks/cli-0.7.6-ye7kz4cr.mjs +24 -0
  254. package/dist/chunks/cli-0.7.6-ymhtbnyk.mjs +2 -0
  255. package/dist/chunks/cli-0.7.6-yv3stfxm.mjs +12 -0
  256. package/dist/chunks/cli-0.7.6-ywg6e349.mjs +25 -0
  257. package/dist/chunks/cli-0.7.6-z13va0jc.mjs +2 -0
  258. package/dist/chunks/cli-0.7.6-z4k83sx6.mjs +2 -0
  259. package/dist/chunks/cli-0.7.6-z5zw7sdz.mjs +3 -0
  260. package/dist/chunks/cli-0.7.6-zepjez10.mjs +50 -0
  261. package/dist/chunks/cli-0.7.6-zmkr521v.mjs +15 -0
  262. package/dist/chunks/cli-0.7.6-zrjrmccd.mjs +2 -0
  263. package/dist/chunks/cli-0.7.6-zrwpmp3s.mjs +2 -0
  264. package/dist/chunks/client-0.7.6-s5r00qzn.mjs +1 -0
  265. package/dist/chunks/color-0.7.6-c5m7hk8y.mjs +1 -0
  266. package/dist/chunks/compact-0.7.6-dx4c91sb.mjs +3 -0
  267. package/dist/chunks/config-0.7.6-0wrs7d25.mjs +1 -0
  268. package/dist/chunks/config-0.7.6-28k8xgy7.mjs +1 -0
  269. package/dist/chunks/constants-0.7.6-yxc2ccra.mjs +1 -0
  270. package/dist/chunks/context-0.7.6-efvp1txb.mjs +1 -0
  271. package/dist/chunks/context-noninteractive-0.7.6-8bp73hyq.mjs +1 -0
  272. package/dist/chunks/conversation-0.7.6-cqwzbr0d.mjs +1 -0
  273. package/dist/chunks/copilotHeaders-0.7.6-qm7k7b4w.mjs +1 -0
  274. package/dist/chunks/copy-0.7.6-tb3stmba.mjs +9 -0
  275. package/dist/chunks/cost-0.7.6-t2pss4xp.mjs +1 -0
  276. package/dist/chunks/createSSHSession-0.7.6-gxjfefp4.mjs +1 -0
  277. package/dist/chunks/createSession-0.7.6-s5cd1p2c.mjs +1 -0
  278. package/dist/chunks/debug-0.7.6-29wym0xr.mjs +1 -0
  279. package/dist/chunks/defaultActionDeps-0.7.6-1thsnj41.mjs +1446 -0
  280. package/dist/chunks/desktop-0.7.6-jb15m9tp.mjs +1 -0
  281. package/dist/chunks/detectRepository-0.7.6-0cp7fygx.mjs +1 -0
  282. package/dist/chunks/detection-0.7.6-rg544p2p.mjs +1 -0
  283. package/dist/chunks/diff-0.7.6-53gzzxnd.mjs +1 -0
  284. package/dist/chunks/doctor-0.7.6-95kk3h2p.mjs +1 -0
  285. package/dist/chunks/doctorDiagnostic-0.7.6-ybe5naeq.mjs +1 -0
  286. package/dist/chunks/earlyInput-0.7.6-2frqt87k.mjs +1 -0
  287. package/dist/chunks/effort-0.7.6-3hhjz5rt.mjs +10 -0
  288. package/dist/chunks/engine-0.7.6-r4hy6gpj.mjs +1 -0
  289. package/dist/chunks/envLessBridgeConfig-0.7.6-6gxkp63s.mjs +1 -0
  290. package/dist/chunks/envUtils-0.7.6-70jnybbw.mjs +1 -0
  291. package/dist/chunks/environmentSelection-0.7.6-mtg8g15a.mjs +1 -0
  292. package/dist/chunks/environments-0.7.6-4vj956d6.mjs +1 -0
  293. package/dist/chunks/errors-0.7.6-3rfme91e.mjs +1 -0
  294. package/dist/chunks/exampleCommands-0.7.6-3rwnb01j.mjs +1 -0
  295. package/dist/chunks/exit-0.7.6-1zq90j34.mjs +1 -0
  296. package/dist/chunks/explorer-0.7.6-7yxdvz4c.mjs +1 -0
  297. package/dist/chunks/export-0.7.6-6annregx.mjs +2 -0
  298. package/dist/chunks/extra-usage-0.7.6-1d8afeer.mjs +1 -0
  299. package/dist/chunks/extra-usage-noninteractive-0.7.6-yv74b9va.mjs +1 -0
  300. package/dist/chunks/fast-0.7.6-83xw5a4z.mjs +1 -0
  301. package/dist/chunks/feedback-0.7.6-r3gmhtzb.mjs +14 -0
  302. package/dist/chunks/firstPartyEventLogger-0.7.6-sxwwnk4h.mjs +1 -0
  303. package/dist/chunks/git-0.7.6-z2fwspdf.mjs +1 -0
  304. package/dist/chunks/githubModelsCredentials-0.7.6-fe39tsv6.mjs +1 -0
  305. package/dist/chunks/goal-0.7.6-ejhqdg3h.mjs +4 -0
  306. package/dist/chunks/grove-0.7.6-wq7pmtc4.mjs +1 -0
  307. package/dist/chunks/growthbook-0.7.6-268c3zv1.mjs +1 -0
  308. package/dist/chunks/headless-0.7.6-0624t1g9.mjs +2 -0
  309. package/dist/chunks/heapdump-0.7.6-0h7m92s6.mjs +6 -0
  310. package/dist/chunks/help-0.7.6-cgg68b97.mjs +1 -0
  311. package/dist/chunks/hookChains-0.7.6-r667d77r.mjs +3 -0
  312. package/dist/chunks/hooks-0.7.6-7tnwk63p.mjs +79 -0
  313. package/dist/chunks/hooks-0.7.6-btfaw4b9.mjs +1 -0
  314. package/dist/chunks/ide-0.7.6-fq0f5srk.mjs +3 -0
  315. package/dist/chunks/image-processor-napi-0.7.6-2ks1h23p.mjs +1 -0
  316. package/dist/chunks/inboundAttachments-0.7.6-femb5yew.mjs +1 -0
  317. package/dist/chunks/index-0.7.6-2rpgkwj4.mjs +9 -0
  318. package/dist/chunks/index-0.7.6-2zatk70c.mjs +1 -0
  319. package/dist/chunks/index-0.7.6-415hw608.mjs +1 -0
  320. package/dist/chunks/index-0.7.6-7wrzedvg.mjs +1 -0
  321. package/dist/chunks/index-0.7.6-98ws3n8p.mjs +1 -0
  322. package/dist/chunks/index-0.7.6-9k6nvjv8.mjs +1 -0
  323. package/dist/chunks/index-0.7.6-bbdqqv1x.mjs +1 -0
  324. package/dist/chunks/index-0.7.6-djapsy32.mjs +1 -0
  325. package/dist/chunks/index-0.7.6-efatyc79.mjs +17 -0
  326. package/dist/chunks/index-0.7.6-egyaf79a.mjs +5 -0
  327. package/dist/chunks/index-0.7.6-ew2v6b0x.mjs +1 -0
  328. package/dist/chunks/index-0.7.6-h2kqerxv.mjs +1 -0
  329. package/dist/chunks/index-0.7.6-h5xh1kf2.mjs +1 -0
  330. package/dist/chunks/index-0.7.6-jk32t8wg.mjs +1 -0
  331. package/dist/chunks/index-0.7.6-k60v4n8g.mjs +9 -0
  332. package/dist/chunks/index-0.7.6-kb22mqnf.mjs +2 -0
  333. package/dist/chunks/index-0.7.6-mj4y74z8.mjs +1 -0
  334. package/dist/chunks/index-0.7.6-pkyqwagx.mjs +1 -0
  335. package/dist/chunks/index-0.7.6-sdw9kjcj.mjs +1 -0
  336. package/dist/chunks/index-0.7.6-tc2zr05j.mjs +2 -0
  337. package/dist/chunks/index-0.7.6-tk8kmvah.mjs +1 -0
  338. package/dist/chunks/index-0.7.6-vhgb870z.mjs +1 -0
  339. package/dist/chunks/index-0.7.6-yndsc291.mjs +30 -0
  340. package/dist/chunks/init-0.7.6-w0mqjmeg.mjs +1 -0
  341. package/dist/chunks/initReplBridge-0.7.6-rf60qv0p.mjs +1 -0
  342. package/dist/chunks/ink-0.7.6-3eyfg9zt.mjs +1 -0
  343. package/dist/chunks/insights-0.7.6-7btcyfzb.mjs +870 -0
  344. package/dist/chunks/install-0.7.6-mdtm3sg3.mjs +1 -0
  345. package/dist/chunks/install-github-app-0.7.6-jvncztq4.mjs +149 -0
  346. package/dist/chunks/install-slack-app-0.7.6-yqkgptfz.mjs +1 -0
  347. package/dist/chunks/instrumentation-0.7.6-1ctp56r7.mjs +1 -0
  348. package/dist/chunks/interactiveHelpers-0.7.6-hnfccr2a.mjs +1 -0
  349. package/dist/chunks/keybindings-0.7.6-cm2a4esz.mjs +2 -0
  350. package/dist/chunks/knowledge-0.7.6-2m4hj4wv.mjs +2 -0
  351. package/dist/chunks/latestVersionCache-0.7.6-3p0jwsk1.mjs +1 -0
  352. package/dist/chunks/loadAgentsDir-0.7.6-7n8wpd6m.mjs +1 -0
  353. package/dist/chunks/loadPluginHooks-0.7.6-668vved3.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-0.7.6-fvexrndy.mjs +1 -0
  355. package/dist/chunks/log-0.7.6-n1gwe75k.mjs +1 -0
  356. package/dist/chunks/main-0.7.6-787at8bh.mjs +1 -0
  357. package/dist/chunks/managedEnv-0.7.6-b17rcr8m.mjs +1 -0
  358. package/dist/chunks/mcp-0.7.6-a2gt46m1.mjs +4 -0
  359. package/dist/chunks/mcp-0.7.6-ehgr4hy2.mjs +1 -0
  360. package/dist/chunks/mcp-0.7.6-z5yz782z.mjs +17 -0
  361. package/dist/chunks/mcpb-0.7.6-x3w00evk.mjs +1 -0
  362. package/dist/chunks/memory-0.7.6-ce56tv6x.mjs +3 -0
  363. package/dist/chunks/model-0.7.6-10bxpdy1.mjs +2 -0
  364. package/dist/chunks/model-0.7.6-463cgk44.mjs +1 -0
  365. package/dist/chunks/node-0.7.6-yq8nb00v.mjs +12 -0
  366. package/dist/chunks/oauth-0.7.6-bbgjzwfb.mjs +1 -0
  367. package/dist/chunks/openaiShim-0.7.6-kwwv7ntf.mjs +14 -0
  368. package/dist/chunks/output-style-0.7.6-cs808te7.mjs +1 -0
  369. package/dist/chunks/package-ZZWOLTXM-0.7.6-kjjaeshn.mjs +1 -0
  370. package/dist/chunks/parseConnectUrl-0.7.6-k3n1pn17.mjs +1 -0
  371. package/dist/chunks/parser-0.7.6-eae6w23n.mjs +1 -0
  372. package/dist/chunks/passes-0.7.6-k46cf658.mjs +1 -0
  373. package/dist/chunks/permissions-0.7.6-1nws00wm.mjs +1 -0
  374. package/dist/chunks/permissions-0.7.6-jq6ebtnw.mjs +3 -0
  375. package/dist/chunks/plan-0.7.6-ry44stze.mjs +1 -0
  376. package/dist/chunks/plist-0.7.6-0vee72zr.mjs +1 -0
  377. package/dist/chunks/plugin-0.7.6-vwa3avby.mjs +29 -0
  378. package/dist/chunks/pluginStartupCheck-0.7.6-wvmq9d6r.mjs +1 -0
  379. package/dist/chunks/plugins-0.7.6-sksmmrbb.mjs +9 -0
  380. package/dist/chunks/preActionHook-0.7.6-qtz2v7cq.mjs +2 -0
  381. package/dist/chunks/print-0.7.6-qddcs91f.mjs +57 -0
  382. package/dist/chunks/privacy-settings-0.7.6-5gzw6mn1.mjs +1 -0
  383. package/dist/chunks/process-0.7.6-6b1s37w1.mjs +1 -0
  384. package/dist/chunks/processBashCommand-0.7.6-yb92143k.mjs +1 -0
  385. package/dist/chunks/processSlashCommand-0.7.6-bc9jxvge.mjs +9 -0
  386. package/dist/chunks/prompt-0.7.6-sps6z4za.mjs +1 -0
  387. package/dist/chunks/prompt-0.7.6-t8yabss3.mjs +1 -0
  388. package/dist/chunks/prompts-0.7.6-x3ndp7gh.mjs +1 -0
  389. package/dist/chunks/protocolHandler-0.7.6-m1pgssvd.mjs +13 -0
  390. package/dist/chunks/provider-0.7.6-yxmt6yve.mjs +2 -0
  391. package/dist/chunks/providerProfiles-0.7.6-3027t9pt.mjs +1 -0
  392. package/dist/chunks/providerValidation-0.7.6-vpv75gd1.mjs +6 -0
  393. package/dist/chunks/rate-limit-options-0.7.6-6w5cdwx1.mjs +1 -0
  394. package/dist/chunks/registerSubcommands-0.7.6-vz4yvks2.mjs +34 -0
  395. package/dist/chunks/registry-0.7.6-gat54dy3.mjs +1 -0
  396. package/dist/chunks/release-notes-0.7.6-myz4h7d7.mjs +5 -0
  397. package/dist/chunks/reload-plugins-0.7.6-64w73d8b.mjs +2 -0
  398. package/dist/chunks/remote-env-0.7.6-zz9a22zn.mjs +1 -0
  399. package/dist/chunks/remoteBridgeCore-0.7.6-9mnzebzz.mjs +1 -0
  400. package/dist/chunks/remoteSession-0.7.6-0geea7cr.mjs +1 -0
  401. package/dist/chunks/rename-0.7.6-y40kz5p4.mjs +1 -0
  402. package/dist/chunks/replBridgeHandle-0.7.6-9q86nfkb.mjs +1 -0
  403. package/dist/chunks/replLauncher-0.7.6-appht20k.mjs +1 -0
  404. package/dist/chunks/resume-0.7.6-za9pttkz.mjs +2 -0
  405. package/dist/chunks/rewind-0.7.6-23eb1s5k.mjs +1 -0
  406. package/dist/chunks/rootOptions-0.7.6-89a7srwx.mjs +1 -0
  407. package/dist/chunks/sandbox-adapter-0.7.6-zxpg8tbn.mjs +1 -0
  408. package/dist/chunks/sandbox-toggle-0.7.6-12ddnvsb.mjs +1 -0
  409. package/dist/chunks/session-0.7.6-qtvc9q8w.mjs +2 -0
  410. package/dist/chunks/sessionDiscovery-0.7.6-d2h1v026.mjs +1 -0
  411. package/dist/chunks/sessionFileAccessHooks-0.7.6-j8rejm9s.mjs +1 -0
  412. package/dist/chunks/sessionStorage-0.7.6-whqhsy0v.mjs +1 -0
  413. package/dist/chunks/settings-0.7.6-d1x6h71y.mjs +1 -0
  414. package/dist/chunks/setup-0.7.6-f52y5q94.mjs +5 -0
  415. package/dist/chunks/sinks-0.7.6-p38qk6rn.mjs +1 -0
  416. package/dist/chunks/skills-0.7.6-4x49mjqs.mjs +1 -0
  417. package/dist/chunks/startupProfiler-0.7.6-kehr3zds.mjs +1 -0
  418. package/dist/chunks/startupUpdateCheck-0.7.6-m95yf5v2.mjs +1 -0
  419. package/dist/chunks/state-0.7.6-exkbe4vf.mjs +1 -0
  420. package/dist/chunks/stats-0.7.6-y4qxdfqk.mjs +6 -0
  421. package/dist/chunks/status-0.7.6-etkntf2w.mjs +1 -0
  422. package/dist/chunks/stickers-0.7.6-jfaby3j3.mjs +1 -0
  423. package/dist/chunks/subprocessEnv-0.7.6-2bme852w.mjs +1 -0
  424. package/dist/chunks/tasks-0.7.6-vc8j66yr.mjs +1 -0
  425. package/dist/chunks/teamHelpers-0.7.6-ax1nev6h.mjs +1 -0
  426. package/dist/chunks/teammateModeSnapshot-0.7.6-9tjnw4x3.mjs +1 -0
  427. package/dist/chunks/teleport-0.7.6-xjeqw992.mjs +1 -0
  428. package/dist/chunks/terminalSetup-0.7.6-cx56kmpg.mjs +1 -0
  429. package/dist/chunks/theme-0.7.6-artxd1km.mjs +1 -0
  430. package/dist/chunks/thinkback-0.7.6-ar7ssxsq.mjs +1 -0
  431. package/dist/chunks/thinkback-play-0.7.6-7d5g791f.mjs +1 -0
  432. package/dist/chunks/toolPool-0.7.6-58r85xft.mjs +1 -0
  433. package/dist/chunks/toolSearch-0.7.6-29hekpkv.mjs +1 -0
  434. package/dist/chunks/tools-0.7.6-6bhsctcm.mjs +1 -0
  435. package/dist/chunks/trustedDevice-0.7.6-aay0bw3y.mjs +1 -0
  436. package/dist/chunks/turndown.cjs-0.7.6-cfbcqt7b.mjs +69 -0
  437. package/dist/chunks/types-0.7.6-z2j2wxhd.mjs +1 -0
  438. package/dist/chunks/ultrareviewCommand-0.7.6-7w7yx7mv.mjs +4 -0
  439. package/dist/chunks/update-0.7.6-6s5hvmvc.mjs +86 -0
  440. package/dist/chunks/upgrade-0.7.6-nrvaa7qs.mjs +1 -0
  441. package/dist/chunks/upload-0.7.6-6880h5gd.mjs +7 -0
  442. package/dist/chunks/upstreamproxy-0.7.6-d4xfvwf7.mjs +14 -0
  443. package/dist/chunks/url-handler-napi-0.7.6-hcyxzqg6.mjs +1 -0
  444. package/dist/chunks/usage-0.7.6-vbbt70v9.mjs +1 -0
  445. package/dist/chunks/util-0.7.6-0cm7xj78.mjs +1 -0
  446. package/dist/chunks/utils-0.7.6-h3fwyhxw.mjs +1 -0
  447. package/dist/chunks/vim-0.7.6-k6evwpd5.mjs +1 -0
  448. package/dist/chunks/watcher-0.7.6-gc6rbcvg.mjs +1 -0
  449. package/dist/chunks/wiki-0.7.6-3sjbdwmf.mjs +132 -0
  450. package/dist/chunks/workflows-0.7.6-rg3kvwhe.mjs +1 -0
  451. package/dist/chunks/worktree-0.7.6-hhewj19d.mjs +1 -0
  452. package/dist/chunks/worktreeModeEnabled-0.7.6-a27ekdvp.mjs +1 -0
  453. package/dist/chunks/wrapper-0.7.6-01s6r78y.mjs +7 -0
  454. package/dist/claudin-vscode.vsix +0 -0
  455. package/dist/cli.mjs +2 -2
  456. package/package.json +5 -5
  457. package/dist/chunks/AgentTool-0.7.5-xc9zjfz7.mjs +0 -1
  458. package/dist/chunks/App-0.7.5-acjfhz7f.mjs +0 -1
  459. package/dist/chunks/ApproveApiKey-0.7.5-k8xp8shh.mjs +0 -1
  460. package/dist/chunks/AssistantSessionChooser-0.7.5-b586ydqn.mjs +0 -1
  461. package/dist/chunks/AutoModeOptInDialog-0.7.5-4vrmrdr7.mjs +0 -1
  462. package/dist/chunks/BypassPermissionsModeDialog-0.7.5-0dfen1xs.mjs +0 -1
  463. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.5-ngb74vnm.mjs +0 -1
  464. package/dist/chunks/ConsoleOAuthFlow-0.7.5-0kerpb2w.mjs +0 -1
  465. package/dist/chunks/DiffDialog-0.7.5-srnpt7vg.mjs +0 -7
  466. package/dist/chunks/Doctor-0.7.5-4sb6exd1.mjs +0 -1
  467. package/dist/chunks/ExplorerDialog-0.7.5-4epxtpqm.mjs +0 -6
  468. package/dist/chunks/Grove-0.7.5-mq5kyerq.mjs +0 -1
  469. package/dist/chunks/ITermBackend-0.7.5-2gsr5w8r.mjs +0 -1
  470. package/dist/chunks/InvalidConfigDialog-0.7.5-0pyrr9nf.mjs +0 -1
  471. package/dist/chunks/InvalidSettingsDialog-0.7.5-h5by8vz0.mjs +0 -1
  472. package/dist/chunks/MigrationDialog-0.7.5-3w71fa3y.mjs +0 -1
  473. package/dist/chunks/Onboarding-0.7.5-b7vhm3se.mjs +0 -1
  474. package/dist/chunks/ProviderManager-0.7.5-aerbfw66.mjs +0 -1
  475. package/dist/chunks/REPL-0.7.5-vtg3m5vj.mjs +0 -1
  476. package/dist/chunks/ResumeConversation-0.7.5-y1z299bf.mjs +0 -1
  477. package/dist/chunks/SnapshotUpdateDialog-0.7.5-j019aekp.mjs +0 -1
  478. package/dist/chunks/TeleportProgress-0.7.5-svv1q02p.mjs +0 -1
  479. package/dist/chunks/TeleportRepoMismatchDialog-0.7.5-58j0azyf.mjs +0 -1
  480. package/dist/chunks/TeleportResumeWrapper-0.7.5-bc8j445x.mjs +0 -1
  481. package/dist/chunks/TmuxBackend-0.7.5-cjf1ngxx.mjs +0 -9
  482. package/dist/chunks/ToolSearchTool-0.7.5-ebcazye5.mjs +0 -1
  483. package/dist/chunks/TrustDialog-0.7.5-152ydvn7.mjs +0 -1
  484. package/dist/chunks/activeProvider-0.7.5-0kfzwxhb.mjs +0 -1
  485. package/dist/chunks/add-dir-0.7.5-35b90wc9.mjs +0 -1
  486. package/dist/chunks/agentTypes-0.7.5-wrskj5tn.mjs +0 -1
  487. package/dist/chunks/agents-0.7.5-4qcppggm.mjs +0 -110
  488. package/dist/chunks/agents-0.7.5-xq7kprd6.mjs +0 -3
  489. package/dist/chunks/api-0.7.5-fcbv21bw.mjs +0 -1
  490. package/dist/chunks/asciicast-0.7.5-d28172s4.mjs +0 -1
  491. package/dist/chunks/assistant-0.7.5-f95dwf9p.mjs +0 -1
  492. package/dist/chunks/auth-0.7.5-10gj2nsp.mjs +0 -1
  493. package/dist/chunks/auth-0.7.5-gdt0tbr7.mjs +0 -1
  494. package/dist/chunks/autoMode-0.7.5-rh9k8nn2.mjs +0 -48
  495. package/dist/chunks/autoUpdater-0.7.5-tfhznsk1.mjs +0 -1
  496. package/dist/chunks/backgroundHousekeeping-0.7.5-sj02xapc.mjs +0 -1
  497. package/dist/chunks/branch-0.7.5-5j5akkrn.mjs +0 -4
  498. package/dist/chunks/bridge-0.7.5-8y0xqq28.mjs +0 -2
  499. package/dist/chunks/bridgeConfig-0.7.5-nme7hkby.mjs +0 -1
  500. package/dist/chunks/bridgeEnabled-0.7.5-py8rybz2.mjs +0 -1
  501. package/dist/chunks/bridgeMain-0.7.5-5kat8nm9.mjs +0 -88
  502. package/dist/chunks/bridgePointer-0.7.5-5wgvs16s.mjs +0 -1
  503. package/dist/chunks/btw-0.7.5-yawwzr37.mjs +0 -1
  504. package/dist/chunks/buddy-0.7.5-qmp34ccf.mjs +0 -3
  505. package/dist/chunks/cacache-0.7.5-7844wbd2.mjs +0 -1
  506. package/dist/chunks/cache-probe-0.7.5-8jthv18c.mjs +0 -21
  507. package/dist/chunks/cacheStats-0.7.5-77ds68g1.mjs +0 -4
  508. package/dist/chunks/caches-0.7.5-qsf7gskj.mjs +0 -1
  509. package/dist/chunks/claudeDesktop-0.7.5-98s74wma.mjs +0 -1
  510. package/dist/chunks/claudemd-0.7.5-yemjch22.mjs +0 -1
  511. package/dist/chunks/clear-0.7.5-m1tdyhpp.mjs +0 -1
  512. package/dist/chunks/clearTerminal-0.7.5-z4zv01xp.mjs +0 -1
  513. package/dist/chunks/cli-0.7.5-012a6zfk.mjs +0 -2
  514. package/dist/chunks/cli-0.7.5-0bsdv5z9.mjs +0 -2
  515. package/dist/chunks/cli-0.7.5-0wyg5tbv.mjs +0 -2
  516. package/dist/chunks/cli-0.7.5-10stvena.mjs +0 -2
  517. package/dist/chunks/cli-0.7.5-1130jhj6.mjs +0 -5469
  518. package/dist/chunks/cli-0.7.5-137tt9mn.mjs +0 -42
  519. package/dist/chunks/cli-0.7.5-1raty5m9.mjs +0 -2
  520. package/dist/chunks/cli-0.7.5-1s8z73wz.mjs +0 -2
  521. package/dist/chunks/cli-0.7.5-1tw92v7f.mjs +0 -17
  522. package/dist/chunks/cli-0.7.5-1w5f2dfy.mjs +0 -2
  523. package/dist/chunks/cli-0.7.5-1z5n1s3z.mjs +0 -2
  524. package/dist/chunks/cli-0.7.5-20s4s7eq.mjs +0 -2
  525. package/dist/chunks/cli-0.7.5-2czfx8da.mjs +0 -2
  526. package/dist/chunks/cli-0.7.5-2f55fq7s.mjs +0 -2
  527. package/dist/chunks/cli-0.7.5-2kqm2cm6.mjs +0 -3
  528. package/dist/chunks/cli-0.7.5-3e9fty2f.mjs +0 -2
  529. package/dist/chunks/cli-0.7.5-3mhw32x1.mjs +0 -2
  530. package/dist/chunks/cli-0.7.5-40m9mj91.mjs +0 -133
  531. package/dist/chunks/cli-0.7.5-49b2vx6q.mjs +0 -2
  532. package/dist/chunks/cli-0.7.5-49f39qnb.mjs +0 -2
  533. package/dist/chunks/cli-0.7.5-4mvg3dke.mjs +0 -59
  534. package/dist/chunks/cli-0.7.5-4pc187my.mjs +0 -2
  535. package/dist/chunks/cli-0.7.5-4pekv38x.mjs +0 -2
  536. package/dist/chunks/cli-0.7.5-4s3wj4db.mjs +0 -2
  537. package/dist/chunks/cli-0.7.5-510b39kd.mjs +0 -3
  538. package/dist/chunks/cli-0.7.5-529cdx0d.mjs +0 -2
  539. package/dist/chunks/cli-0.7.5-56navtps.mjs +0 -3
  540. package/dist/chunks/cli-0.7.5-57cepgzg.mjs +0 -4
  541. package/dist/chunks/cli-0.7.5-5a315ky8.mjs +0 -17
  542. package/dist/chunks/cli-0.7.5-5nkj9199.mjs +0 -2
  543. package/dist/chunks/cli-0.7.5-5pg00eg2.mjs +0 -15
  544. package/dist/chunks/cli-0.7.5-5pxnxmzj.mjs +0 -2
  545. package/dist/chunks/cli-0.7.5-5r8ygwxv.mjs +0 -3
  546. package/dist/chunks/cli-0.7.5-5w2rj0hg.mjs +0 -3
  547. package/dist/chunks/cli-0.7.5-5z67f2be.mjs +0 -18
  548. package/dist/chunks/cli-0.7.5-60age1v3.mjs +0 -3
  549. package/dist/chunks/cli-0.7.5-614rpqd6.mjs +0 -2
  550. package/dist/chunks/cli-0.7.5-6g85h6sa.mjs +0 -34
  551. package/dist/chunks/cli-0.7.5-6mf5dxyw.mjs +0 -2
  552. package/dist/chunks/cli-0.7.5-6mmfvszc.mjs +0 -2
  553. package/dist/chunks/cli-0.7.5-6s7zhdt4.mjs +0 -2
  554. package/dist/chunks/cli-0.7.5-6v0bgn02.mjs +0 -2
  555. package/dist/chunks/cli-0.7.5-6wvc1yjw.mjs +0 -2
  556. package/dist/chunks/cli-0.7.5-7bd3ngaj.mjs +0 -2
  557. package/dist/chunks/cli-0.7.5-7ezb8apr.mjs +0 -2
  558. package/dist/chunks/cli-0.7.5-7gkjs4wv.mjs +0 -2
  559. package/dist/chunks/cli-0.7.5-7h3tq3wc.mjs +0 -6
  560. package/dist/chunks/cli-0.7.5-7zd2bp43.mjs +0 -45
  561. package/dist/chunks/cli-0.7.5-80je81v4.mjs +0 -2
  562. package/dist/chunks/cli-0.7.5-81aasr9m.mjs +0 -2
  563. package/dist/chunks/cli-0.7.5-84ksc40j.mjs +0 -25
  564. package/dist/chunks/cli-0.7.5-85hyf5qe.mjs +0 -15
  565. package/dist/chunks/cli-0.7.5-88bh6s1x.mjs +0 -2
  566. package/dist/chunks/cli-0.7.5-90k5jpxh.mjs +0 -2
  567. package/dist/chunks/cli-0.7.5-92scwwjf.mjs +0 -24
  568. package/dist/chunks/cli-0.7.5-975by9n8.mjs +0 -3
  569. package/dist/chunks/cli-0.7.5-987zbyps.mjs +0 -2
  570. package/dist/chunks/cli-0.7.5-99wdc670.mjs +0 -24
  571. package/dist/chunks/cli-0.7.5-9na53kvh.mjs +0 -2
  572. package/dist/chunks/cli-0.7.5-9pd9feb4.mjs +0 -5
  573. package/dist/chunks/cli-0.7.5-9v3pjabj.mjs +0 -133
  574. package/dist/chunks/cli-0.7.5-9y8fgxfa.mjs +0 -2
  575. package/dist/chunks/cli-0.7.5-a36ctp71.mjs +0 -6
  576. package/dist/chunks/cli-0.7.5-acfkszsn.mjs +0 -8
  577. package/dist/chunks/cli-0.7.5-akxpdesn.mjs +0 -2
  578. package/dist/chunks/cli-0.7.5-aphrc23w.mjs +0 -2
  579. package/dist/chunks/cli-0.7.5-apycan2y.mjs +0 -2
  580. package/dist/chunks/cli-0.7.5-aq0c8awk.mjs +0 -2
  581. package/dist/chunks/cli-0.7.5-atzfkz67.mjs +0 -2
  582. package/dist/chunks/cli-0.7.5-az0dwafe.mjs +0 -2
  583. package/dist/chunks/cli-0.7.5-b8wc44ze.mjs +0 -2
  584. package/dist/chunks/cli-0.7.5-ba83wc9t.mjs +0 -2
  585. package/dist/chunks/cli-0.7.5-be0fn3rp.mjs +0 -2
  586. package/dist/chunks/cli-0.7.5-bkep7yw1.mjs +0 -2
  587. package/dist/chunks/cli-0.7.5-bzrmp2wf.mjs +0 -2
  588. package/dist/chunks/cli-0.7.5-c0qhtrbh.mjs +0 -2
  589. package/dist/chunks/cli-0.7.5-c3w496ap.mjs +0 -3
  590. package/dist/chunks/cli-0.7.5-c6xa3se4.mjs +0 -2
  591. package/dist/chunks/cli-0.7.5-ca0xearm.mjs +0 -2
  592. package/dist/chunks/cli-0.7.5-cbkmf04v.mjs +0 -2
  593. package/dist/chunks/cli-0.7.5-cd6cs7q9.mjs +0 -2
  594. package/dist/chunks/cli-0.7.5-crbzqw8b.mjs +0 -20
  595. package/dist/chunks/cli-0.7.5-d8kenjfw.mjs +0 -2
  596. package/dist/chunks/cli-0.7.5-dc34hzge.mjs +0 -12
  597. package/dist/chunks/cli-0.7.5-ddpksb1g.mjs +0 -2
  598. package/dist/chunks/cli-0.7.5-dp4tresm.mjs +0 -2
  599. package/dist/chunks/cli-0.7.5-dx6zs9qf.mjs +0 -2
  600. package/dist/chunks/cli-0.7.5-dzyyype0.mjs +0 -2
  601. package/dist/chunks/cli-0.7.5-e7mb7d0a.mjs +0 -10
  602. package/dist/chunks/cli-0.7.5-e8m1fhax.mjs +0 -2
  603. package/dist/chunks/cli-0.7.5-eeb6rjs0.mjs +0 -2
  604. package/dist/chunks/cli-0.7.5-ek1sq6b5.mjs +0 -2
  605. package/dist/chunks/cli-0.7.5-f5jj9gaq.mjs +0 -2
  606. package/dist/chunks/cli-0.7.5-f8j1xqbv.mjs +0 -2
  607. package/dist/chunks/cli-0.7.5-f9jr5v5w.mjs +0 -5
  608. package/dist/chunks/cli-0.7.5-f9v35634.mjs +0 -2
  609. package/dist/chunks/cli-0.7.5-fjd3yr3y.mjs +0 -2
  610. package/dist/chunks/cli-0.7.5-fsr31z4k.mjs +0 -12
  611. package/dist/chunks/cli-0.7.5-ftngeevg.mjs +0 -2
  612. package/dist/chunks/cli-0.7.5-fzamc565.mjs +0 -3
  613. package/dist/chunks/cli-0.7.5-fzktcx0s.mjs +0 -4
  614. package/dist/chunks/cli-0.7.5-fzqampqh.mjs +0 -4
  615. package/dist/chunks/cli-0.7.5-g3ejs520.mjs +0 -2
  616. package/dist/chunks/cli-0.7.5-gb57bm0v.mjs +0 -2
  617. package/dist/chunks/cli-0.7.5-gbz8thht.mjs +0 -50
  618. package/dist/chunks/cli-0.7.5-gd8wcttv.mjs +0 -3
  619. package/dist/chunks/cli-0.7.5-gdadd4x4.mjs +0 -2
  620. package/dist/chunks/cli-0.7.5-gfq85y17.mjs +0 -2
  621. package/dist/chunks/cli-0.7.5-gh00zb08.mjs +0 -18
  622. package/dist/chunks/cli-0.7.5-ghq2axmf.mjs +0 -194
  623. package/dist/chunks/cli-0.7.5-gmew5n1p.mjs +0 -2
  624. package/dist/chunks/cli-0.7.5-gpbvs2kz.mjs +0 -2
  625. package/dist/chunks/cli-0.7.5-h3p8qw3f.mjs +0 -2
  626. package/dist/chunks/cli-0.7.5-h6e17t7j.mjs +0 -2
  627. package/dist/chunks/cli-0.7.5-h9s62ky5.mjs +0 -2
  628. package/dist/chunks/cli-0.7.5-hb39f7nj.mjs +0 -2
  629. package/dist/chunks/cli-0.7.5-hbgzm4wt.mjs +0 -9
  630. package/dist/chunks/cli-0.7.5-hce2yd4f.mjs +0 -2
  631. package/dist/chunks/cli-0.7.5-hcxagyjb.mjs +0 -2
  632. package/dist/chunks/cli-0.7.5-hd1mkmqa.mjs +0 -2
  633. package/dist/chunks/cli-0.7.5-hfej6gk7.mjs +0 -2
  634. package/dist/chunks/cli-0.7.5-hfvrp8qk.mjs +0 -2
  635. package/dist/chunks/cli-0.7.5-hh8ynv80.mjs +0 -2
  636. package/dist/chunks/cli-0.7.5-hj89dnh6.mjs +0 -2
  637. package/dist/chunks/cli-0.7.5-hp8g8gw0.mjs +0 -2
  638. package/dist/chunks/cli-0.7.5-htnhe6mt.mjs +0 -2
  639. package/dist/chunks/cli-0.7.5-hxk7g9fk.mjs +0 -2
  640. package/dist/chunks/cli-0.7.5-hyyd4eh8.mjs +0 -2
  641. package/dist/chunks/cli-0.7.5-j27qn7ks.mjs +0 -2
  642. package/dist/chunks/cli-0.7.5-jc93grn1.mjs +0 -2
  643. package/dist/chunks/cli-0.7.5-jwcpd0fz.mjs +0 -2
  644. package/dist/chunks/cli-0.7.5-jx9x8eh7.mjs +0 -2
  645. package/dist/chunks/cli-0.7.5-k2nqj3ry.mjs +0 -39
  646. package/dist/chunks/cli-0.7.5-kj54k6vh.mjs +0 -4
  647. package/dist/chunks/cli-0.7.5-krbmx93g.mjs +0 -2
  648. package/dist/chunks/cli-0.7.5-kzmgwzjq.mjs +0 -7
  649. package/dist/chunks/cli-0.7.5-m8cf1p72.mjs +0 -2
  650. package/dist/chunks/cli-0.7.5-medd7tha.mjs +0 -2
  651. package/dist/chunks/cli-0.7.5-mftmyrxg.mjs +0 -2
  652. package/dist/chunks/cli-0.7.5-mhdkfw8w.mjs +0 -2
  653. package/dist/chunks/cli-0.7.5-mk1nsvev.mjs +0 -2
  654. package/dist/chunks/cli-0.7.5-mkypasee.mjs +0 -3
  655. package/dist/chunks/cli-0.7.5-mtaq950q.mjs +0 -2
  656. package/dist/chunks/cli-0.7.5-myvw92ta.mjs +0 -2
  657. package/dist/chunks/cli-0.7.5-n8nsc1fy.mjs +0 -4
  658. package/dist/chunks/cli-0.7.5-p72rah24.mjs +0 -2
  659. package/dist/chunks/cli-0.7.5-paykwdd9.mjs +0 -26
  660. package/dist/chunks/cli-0.7.5-pd9x4y8x.mjs +0 -2
  661. package/dist/chunks/cli-0.7.5-pm9grnq1.mjs +0 -67
  662. package/dist/chunks/cli-0.7.5-pmsw8q6q.mjs +0 -2
  663. package/dist/chunks/cli-0.7.5-pxj8y53k.mjs +0 -2
  664. package/dist/chunks/cli-0.7.5-q4nf1yjd.mjs +0 -2
  665. package/dist/chunks/cli-0.7.5-qpqfdmsk.mjs +0 -4
  666. package/dist/chunks/cli-0.7.5-qxdvdw89.mjs +0 -3
  667. package/dist/chunks/cli-0.7.5-qzhygzzn.mjs +0 -5
  668. package/dist/chunks/cli-0.7.5-r5ckgfah.mjs +0 -2
  669. package/dist/chunks/cli-0.7.5-rahmqve7.mjs +0 -2
  670. package/dist/chunks/cli-0.7.5-rbv538zg.mjs +0 -2
  671. package/dist/chunks/cli-0.7.5-rc47zyrc.mjs +0 -2
  672. package/dist/chunks/cli-0.7.5-rg2nrraj.mjs +0 -2
  673. package/dist/chunks/cli-0.7.5-rpnr09s5.mjs +0 -2
  674. package/dist/chunks/cli-0.7.5-rqvar6g7.mjs +0 -16
  675. package/dist/chunks/cli-0.7.5-s65rbrvj.mjs +0 -58
  676. package/dist/chunks/cli-0.7.5-sq0v922e.mjs +0 -6
  677. package/dist/chunks/cli-0.7.5-t77nd6kj.mjs +0 -2
  678. package/dist/chunks/cli-0.7.5-tbrfr6hj.mjs +0 -2
  679. package/dist/chunks/cli-0.7.5-tqwr1q73.mjs +0 -4
  680. package/dist/chunks/cli-0.7.5-tzc3pn7w.mjs +0 -2
  681. package/dist/chunks/cli-0.7.5-v85dx0nq.mjs +0 -2
  682. package/dist/chunks/cli-0.7.5-v8apq7df.mjs +0 -15
  683. package/dist/chunks/cli-0.7.5-vhkgs6h9.mjs +0 -2
  684. package/dist/chunks/cli-0.7.5-vktpnz25.mjs +0 -2
  685. package/dist/chunks/cli-0.7.5-vmr9xqzs.mjs +0 -6
  686. package/dist/chunks/cli-0.7.5-vzssapx0.mjs +0 -2
  687. package/dist/chunks/cli-0.7.5-w2vyrb4j.mjs +0 -18
  688. package/dist/chunks/cli-0.7.5-wd0yxrvg.mjs +0 -2
  689. package/dist/chunks/cli-0.7.5-wj3w13az.mjs +0 -2
  690. package/dist/chunks/cli-0.7.5-wjfmb762.mjs +0 -2
  691. package/dist/chunks/cli-0.7.5-wjpv5xmb.mjs +0 -4
  692. package/dist/chunks/cli-0.7.5-wpgtmkvc.mjs +0 -2
  693. package/dist/chunks/cli-0.7.5-x2z686xj.mjs +0 -25
  694. package/dist/chunks/cli-0.7.5-x4kb7k70.mjs +0 -2
  695. package/dist/chunks/cli-0.7.5-xbqxjykr.mjs +0 -2
  696. package/dist/chunks/cli-0.7.5-xfxxbwbm.mjs +0 -12
  697. package/dist/chunks/cli-0.7.5-xg32zg8k.mjs +0 -24
  698. package/dist/chunks/cli-0.7.5-xgdba5yp.mjs +0 -2
  699. package/dist/chunks/cli-0.7.5-xt0mqg4f.mjs +0 -2
  700. package/dist/chunks/cli-0.7.5-xv3vs7j9.mjs +0 -2
  701. package/dist/chunks/cli-0.7.5-xv6ra0kw.mjs +0 -2
  702. package/dist/chunks/cli-0.7.5-xvveqsx1.mjs +0 -2
  703. package/dist/chunks/cli-0.7.5-xwzejhw4.mjs +0 -3
  704. package/dist/chunks/cli-0.7.5-y3yqkc5p.mjs +0 -12
  705. package/dist/chunks/cli-0.7.5-y58r6dq0.mjs +0 -2
  706. package/dist/chunks/cli-0.7.5-y7ehmef8.mjs +0 -1
  707. package/dist/chunks/cli-0.7.5-ydfgf7qv.mjs +0 -21
  708. package/dist/chunks/cli-0.7.5-yjwnjtvn.mjs +0 -2
  709. package/dist/chunks/cli-0.7.5-yr70t57x.mjs +0 -2
  710. package/dist/chunks/cli-0.7.5-z2yexv2e.mjs +0 -2
  711. package/dist/chunks/cli-0.7.5-z3dzj7v3.mjs +0 -2
  712. package/dist/chunks/cli-0.7.5-z40jp8ew.mjs +0 -4
  713. package/dist/chunks/cli-0.7.5-zde1m2ej.mjs +0 -4
  714. package/dist/chunks/cli-0.7.5-zdq0vv92.mjs +0 -2
  715. package/dist/chunks/cli-0.7.5-zftjc44p.mjs +0 -2
  716. package/dist/chunks/cli-0.7.5-zj0xcj80.mjs +0 -2
  717. package/dist/chunks/cli-0.7.5-zpmehtjz.mjs +0 -2
  718. package/dist/chunks/cli-0.7.5-zsmx06gy.mjs +0 -2
  719. package/dist/chunks/client-0.7.5-w36k0xa4.mjs +0 -1
  720. package/dist/chunks/color-0.7.5-6q028b6j.mjs +0 -1
  721. package/dist/chunks/compact-0.7.5-brw7r66h.mjs +0 -3
  722. package/dist/chunks/config-0.7.5-23y0vmxv.mjs +0 -1
  723. package/dist/chunks/config-0.7.5-scfm2ghv.mjs +0 -1
  724. package/dist/chunks/constants-0.7.5-gtkzq93a.mjs +0 -1
  725. package/dist/chunks/context-0.7.5-5sr5p20h.mjs +0 -1
  726. package/dist/chunks/context-noninteractive-0.7.5-478h1wv5.mjs +0 -1
  727. package/dist/chunks/conversation-0.7.5-qmek5yn5.mjs +0 -1
  728. package/dist/chunks/copilotHeaders-0.7.5-hbgm40tm.mjs +0 -1
  729. package/dist/chunks/copy-0.7.5-1j6r3503.mjs +0 -9
  730. package/dist/chunks/cost-0.7.5-qmhkw8cf.mjs +0 -1
  731. package/dist/chunks/createSSHSession-0.7.5-km7csf59.mjs +0 -1
  732. package/dist/chunks/createSession-0.7.5-4ry726v4.mjs +0 -1
  733. package/dist/chunks/debug-0.7.5-f7ay5633.mjs +0 -1
  734. package/dist/chunks/defaultActionDeps-0.7.5-fahgw2xf.mjs +0 -1446
  735. package/dist/chunks/desktop-0.7.5-177ca2xz.mjs +0 -1
  736. package/dist/chunks/detectRepository-0.7.5-9tagnw7m.mjs +0 -1
  737. package/dist/chunks/detection-0.7.5-g5p116dy.mjs +0 -1
  738. package/dist/chunks/diff-0.7.5-gwzyav0v.mjs +0 -1
  739. package/dist/chunks/doctor-0.7.5-eqrnfehr.mjs +0 -1
  740. package/dist/chunks/doctorDiagnostic-0.7.5-wtjp576r.mjs +0 -1
  741. package/dist/chunks/earlyInput-0.7.5-cbbxamm6.mjs +0 -1
  742. package/dist/chunks/effort-0.7.5-h1m1pcsc.mjs +0 -10
  743. package/dist/chunks/engine-0.7.5-3s2wmkmq.mjs +0 -1
  744. package/dist/chunks/envLessBridgeConfig-0.7.5-6kr19meq.mjs +0 -1
  745. package/dist/chunks/envUtils-0.7.5-gna3tn15.mjs +0 -1
  746. package/dist/chunks/environmentSelection-0.7.5-ax80y2br.mjs +0 -1
  747. package/dist/chunks/environments-0.7.5-vzttb5rv.mjs +0 -1
  748. package/dist/chunks/errors-0.7.5-39sxdk37.mjs +0 -1
  749. package/dist/chunks/exampleCommands-0.7.5-xsrm4x8y.mjs +0 -1
  750. package/dist/chunks/exit-0.7.5-bkbd5npx.mjs +0 -1
  751. package/dist/chunks/explorer-0.7.5-19gvmqgr.mjs +0 -1
  752. package/dist/chunks/export-0.7.5-34j4n9kh.mjs +0 -2
  753. package/dist/chunks/extra-usage-0.7.5-b97sj0ap.mjs +0 -1
  754. package/dist/chunks/extra-usage-noninteractive-0.7.5-xd1mr1j5.mjs +0 -1
  755. package/dist/chunks/fast-0.7.5-0wqk7a9x.mjs +0 -1
  756. package/dist/chunks/feedback-0.7.5-vtbcry18.mjs +0 -14
  757. package/dist/chunks/firstPartyEventLogger-0.7.5-xqazh0ye.mjs +0 -1
  758. package/dist/chunks/git-0.7.5-e2235c1t.mjs +0 -1
  759. package/dist/chunks/githubModelsCredentials-0.7.5-rv73mazg.mjs +0 -1
  760. package/dist/chunks/goal-0.7.5-cqb7e1pf.mjs +0 -4
  761. package/dist/chunks/grove-0.7.5-qsvaz9x8.mjs +0 -1
  762. package/dist/chunks/growthbook-0.7.5-3qfr8h94.mjs +0 -1
  763. package/dist/chunks/headless-0.7.5-wbtxesec.mjs +0 -2
  764. package/dist/chunks/heapdump-0.7.5-nc48tbvw.mjs +0 -6
  765. package/dist/chunks/help-0.7.5-6jm9nrcy.mjs +0 -1
  766. package/dist/chunks/hookChains-0.7.5-khy46vaw.mjs +0 -3
  767. package/dist/chunks/hooks-0.7.5-167mv9th.mjs +0 -1
  768. package/dist/chunks/hooks-0.7.5-nx4910ga.mjs +0 -79
  769. package/dist/chunks/ide-0.7.5-n6hvszan.mjs +0 -3
  770. package/dist/chunks/image-processor-napi-0.7.5-ndmd493b.mjs +0 -1
  771. package/dist/chunks/inboundAttachments-0.7.5-1nbx425g.mjs +0 -1
  772. package/dist/chunks/index-0.7.5-5j4305xq.mjs +0 -1
  773. package/dist/chunks/index-0.7.5-63xhx5j4.mjs +0 -1
  774. package/dist/chunks/index-0.7.5-7e5rqqh4.mjs +0 -9
  775. package/dist/chunks/index-0.7.5-a12krakj.mjs +0 -2
  776. package/dist/chunks/index-0.7.5-bsq6e16w.mjs +0 -1
  777. package/dist/chunks/index-0.7.5-caethvnv.mjs +0 -1
  778. package/dist/chunks/index-0.7.5-cx1vr981.mjs +0 -17
  779. package/dist/chunks/index-0.7.5-dcd3w04q.mjs +0 -1
  780. package/dist/chunks/index-0.7.5-ekrwk3jz.mjs +0 -9
  781. package/dist/chunks/index-0.7.5-h4cbsc0a.mjs +0 -2
  782. package/dist/chunks/index-0.7.5-hvzcp0kn.mjs +0 -5
  783. package/dist/chunks/index-0.7.5-kh3ebxx0.mjs +0 -1
  784. package/dist/chunks/index-0.7.5-kzhpap3n.mjs +0 -1
  785. package/dist/chunks/index-0.7.5-njd4yt57.mjs +0 -1
  786. package/dist/chunks/index-0.7.5-r1ny63xd.mjs +0 -1
  787. package/dist/chunks/index-0.7.5-ry24w7t2.mjs +0 -1
  788. package/dist/chunks/index-0.7.5-syzp921n.mjs +0 -30
  789. package/dist/chunks/index-0.7.5-t7jx62n3.mjs +0 -1
  790. package/dist/chunks/index-0.7.5-wj36e6k0.mjs +0 -1
  791. package/dist/chunks/index-0.7.5-yv1dtnpt.mjs +0 -1
  792. package/dist/chunks/index-0.7.5-yzrfjy23.mjs +0 -1
  793. package/dist/chunks/index-0.7.5-zfker4t5.mjs +0 -1
  794. package/dist/chunks/index-0.7.5-zxrxsyxj.mjs +0 -1
  795. package/dist/chunks/init-0.7.5-hh6v113j.mjs +0 -1
  796. package/dist/chunks/initReplBridge-0.7.5-c1za6hde.mjs +0 -1
  797. package/dist/chunks/ink-0.7.5-56yev9n3.mjs +0 -1
  798. package/dist/chunks/insights-0.7.5-qz9bb1ry.mjs +0 -870
  799. package/dist/chunks/install-0.7.5-sbxfgz0w.mjs +0 -1
  800. package/dist/chunks/install-github-app-0.7.5-7txny4wr.mjs +0 -149
  801. package/dist/chunks/install-slack-app-0.7.5-69pj36yh.mjs +0 -1
  802. package/dist/chunks/instrumentation-0.7.5-q9v6ptmg.mjs +0 -1
  803. package/dist/chunks/interactiveHelpers-0.7.5-40q6avjg.mjs +0 -1
  804. package/dist/chunks/keybindings-0.7.5-wj2ms9t5.mjs +0 -2
  805. package/dist/chunks/knowledge-0.7.5-t1ay4xsf.mjs +0 -2
  806. package/dist/chunks/latestVersionCache-0.7.5-2sn56g0f.mjs +0 -1
  807. package/dist/chunks/loadAgentsDir-0.7.5-fw6g0k2f.mjs +0 -1
  808. package/dist/chunks/loadPluginHooks-0.7.5-32j9xrwe.mjs +0 -1
  809. package/dist/chunks/loadPluginHooks-0.7.5-wex6715a.mjs +0 -1
  810. package/dist/chunks/log-0.7.5-ksrcjwgt.mjs +0 -1
  811. package/dist/chunks/main-0.7.5-y3x6nz9x.mjs +0 -1
  812. package/dist/chunks/managedEnv-0.7.5-8t44hgy8.mjs +0 -1
  813. package/dist/chunks/mcp-0.7.5-60fgv34x.mjs +0 -1
  814. package/dist/chunks/mcp-0.7.5-mbfzrcm8.mjs +0 -4
  815. package/dist/chunks/mcp-0.7.5-rkaypthk.mjs +0 -17
  816. package/dist/chunks/mcpb-0.7.5-v66xmybr.mjs +0 -1
  817. package/dist/chunks/memory-0.7.5-fvpt844c.mjs +0 -3
  818. package/dist/chunks/model-0.7.5-tsr4h9g8.mjs +0 -2
  819. package/dist/chunks/model-0.7.5-z5fcqt5b.mjs +0 -1
  820. package/dist/chunks/node-0.7.5-ym7zwnx3.mjs +0 -12
  821. package/dist/chunks/oauth-0.7.5-pp4rkjfe.mjs +0 -1
  822. package/dist/chunks/openaiShim-0.7.5-vtkg5q0g.mjs +0 -14
  823. package/dist/chunks/output-style-0.7.5-13fnqr6c.mjs +0 -1
  824. package/dist/chunks/package-ZZWOLTXM-0.7.5-16qd12nt.mjs +0 -1
  825. package/dist/chunks/parseConnectUrl-0.7.5-s8jq90n0.mjs +0 -1
  826. package/dist/chunks/parser-0.7.5-eefzgrd7.mjs +0 -1
  827. package/dist/chunks/passes-0.7.5-4axt111x.mjs +0 -1
  828. package/dist/chunks/permissions-0.7.5-s0m3z1fe.mjs +0 -3
  829. package/dist/chunks/permissions-0.7.5-xdxqnd7w.mjs +0 -1
  830. package/dist/chunks/plan-0.7.5-wwgtg3j2.mjs +0 -1
  831. package/dist/chunks/plist-0.7.5-sqqsbn3c.mjs +0 -1
  832. package/dist/chunks/plugin-0.7.5-1d2gra71.mjs +0 -29
  833. package/dist/chunks/pluginStartupCheck-0.7.5-5z80320b.mjs +0 -1
  834. package/dist/chunks/plugins-0.7.5-0a9ytst2.mjs +0 -9
  835. package/dist/chunks/preActionHook-0.7.5-pe8h6p21.mjs +0 -2
  836. package/dist/chunks/print-0.7.5-9ejsfw3k.mjs +0 -57
  837. package/dist/chunks/privacy-settings-0.7.5-d9ptjk2d.mjs +0 -1
  838. package/dist/chunks/process-0.7.5-fgwhv8bw.mjs +0 -1
  839. package/dist/chunks/processBashCommand-0.7.5-c619z7fd.mjs +0 -1
  840. package/dist/chunks/processSlashCommand-0.7.5-75p45f0t.mjs +0 -9
  841. package/dist/chunks/prompt-0.7.5-51c6hnqr.mjs +0 -1
  842. package/dist/chunks/prompt-0.7.5-cy0v1vqr.mjs +0 -1
  843. package/dist/chunks/prompts-0.7.5-wmn5bdx5.mjs +0 -1
  844. package/dist/chunks/protocolHandler-0.7.5-eeqecgkp.mjs +0 -13
  845. package/dist/chunks/provider-0.7.5-y0gpvctq.mjs +0 -2
  846. package/dist/chunks/providerProfiles-0.7.5-jrmjbp5b.mjs +0 -1
  847. package/dist/chunks/providerValidation-0.7.5-jgdgbk4q.mjs +0 -6
  848. package/dist/chunks/rate-limit-options-0.7.5-29f89kh1.mjs +0 -1
  849. package/dist/chunks/registerSubcommands-0.7.5-c36hzdav.mjs +0 -34
  850. package/dist/chunks/registry-0.7.5-whsh7x53.mjs +0 -1
  851. package/dist/chunks/release-notes-0.7.5-ptvapnr0.mjs +0 -5
  852. package/dist/chunks/reload-plugins-0.7.5-ka0e8hq5.mjs +0 -2
  853. package/dist/chunks/remote-env-0.7.5-qjxje9ma.mjs +0 -1
  854. package/dist/chunks/remoteBridgeCore-0.7.5-k3f68b7h.mjs +0 -1
  855. package/dist/chunks/remoteSession-0.7.5-rape7yd4.mjs +0 -1
  856. package/dist/chunks/rename-0.7.5-ktcd7rtq.mjs +0 -1
  857. package/dist/chunks/replBridgeHandle-0.7.5-phh34y8h.mjs +0 -1
  858. package/dist/chunks/replLauncher-0.7.5-sq476c2a.mjs +0 -1
  859. package/dist/chunks/resume-0.7.5-6tvrgh8j.mjs +0 -2
  860. package/dist/chunks/rewind-0.7.5-vd47v5rv.mjs +0 -1
  861. package/dist/chunks/rootOptions-0.7.5-wqt2k4rc.mjs +0 -1
  862. package/dist/chunks/sandbox-adapter-0.7.5-ky898f3m.mjs +0 -1
  863. package/dist/chunks/sandbox-toggle-0.7.5-7hkar7r5.mjs +0 -1
  864. package/dist/chunks/session-0.7.5-hkxz3wye.mjs +0 -2
  865. package/dist/chunks/sessionDiscovery-0.7.5-y04m8ab9.mjs +0 -1
  866. package/dist/chunks/sessionFileAccessHooks-0.7.5-f5rgs672.mjs +0 -1
  867. package/dist/chunks/sessionStorage-0.7.5-18q303bk.mjs +0 -1
  868. package/dist/chunks/settings-0.7.5-4hqnkkc8.mjs +0 -1
  869. package/dist/chunks/setup-0.7.5-y5xxwxbd.mjs +0 -5
  870. package/dist/chunks/sinks-0.7.5-cvxvp35v.mjs +0 -1
  871. package/dist/chunks/skills-0.7.5-kwgf9qjq.mjs +0 -1
  872. package/dist/chunks/startupProfiler-0.7.5-za7tk2tk.mjs +0 -1
  873. package/dist/chunks/startupUpdateCheck-0.7.5-czmgq418.mjs +0 -1
  874. package/dist/chunks/state-0.7.5-ak36peq3.mjs +0 -1
  875. package/dist/chunks/stats-0.7.5-er3ye8yh.mjs +0 -6
  876. package/dist/chunks/status-0.7.5-c5cjb8e4.mjs +0 -1
  877. package/dist/chunks/stickers-0.7.5-j3k2cxdh.mjs +0 -1
  878. package/dist/chunks/subprocessEnv-0.7.5-c9cn3hdx.mjs +0 -1
  879. package/dist/chunks/tasks-0.7.5-63j9r8xa.mjs +0 -1
  880. package/dist/chunks/teamHelpers-0.7.5-m7f40cd8.mjs +0 -1
  881. package/dist/chunks/teammateModeSnapshot-0.7.5-p9m6xw5v.mjs +0 -1
  882. package/dist/chunks/teleport-0.7.5-eznfwa79.mjs +0 -1
  883. package/dist/chunks/terminalSetup-0.7.5-jh6gn62d.mjs +0 -1
  884. package/dist/chunks/theme-0.7.5-ybd8jwyk.mjs +0 -1
  885. package/dist/chunks/thinkback-0.7.5-n7szmggb.mjs +0 -1
  886. package/dist/chunks/thinkback-play-0.7.5-7zmp1768.mjs +0 -1
  887. package/dist/chunks/toolPool-0.7.5-3086ep19.mjs +0 -1
  888. package/dist/chunks/toolSearch-0.7.5-ksvb5jn8.mjs +0 -1
  889. package/dist/chunks/tools-0.7.5-a8e705rj.mjs +0 -1
  890. package/dist/chunks/trustedDevice-0.7.5-skv46tba.mjs +0 -1
  891. package/dist/chunks/turndown.cjs-0.7.5-bv92xw4e.mjs +0 -69
  892. package/dist/chunks/types-0.7.5-63qbfwst.mjs +0 -1
  893. package/dist/chunks/ultrareviewCommand-0.7.5-8skwm5gw.mjs +0 -4
  894. package/dist/chunks/update-0.7.5-g0qcx3kr.mjs +0 -86
  895. package/dist/chunks/upgrade-0.7.5-gka5mmvk.mjs +0 -1
  896. package/dist/chunks/upload-0.7.5-6kw8akzx.mjs +0 -7
  897. package/dist/chunks/upstreamproxy-0.7.5-97n9j2vs.mjs +0 -14
  898. package/dist/chunks/url-handler-napi-0.7.5-2gqe7mr0.mjs +0 -1
  899. package/dist/chunks/usage-0.7.5-36hanm9f.mjs +0 -1
  900. package/dist/chunks/util-0.7.5-90a4jn87.mjs +0 -1
  901. package/dist/chunks/utils-0.7.5-8rhszmzb.mjs +0 -1
  902. package/dist/chunks/vim-0.7.5-nptszgna.mjs +0 -1
  903. package/dist/chunks/watcher-0.7.5-pqe6cg42.mjs +0 -1
  904. package/dist/chunks/wiki-0.7.5-zngdktge.mjs +0 -132
  905. package/dist/chunks/workflows-0.7.5-efk35dv0.mjs +0 -1
  906. package/dist/chunks/worktree-0.7.5-ptj9226d.mjs +0 -1
  907. package/dist/chunks/worktreeModeEnabled-0.7.5-whaev58q.mjs +0 -1
  908. package/dist/chunks/wrapper-0.7.5-dfb28jc5.mjs +0 -7
  909. /package/dist/chunks/{cli-0.7.5-jk7d368h.mjs → cli-0.7.6-pef1cr89.mjs} +0 -0
@@ -1,6 +0,0 @@
1
- import{Pqa as b}from"./cli-0.7.5-012a6zfk.mjs";var K$,L$,F$=(_)=>typeof _==="string"?{...L$,name:_}:{...L$,..._};var S_=b(()=>{K$=Symbol("Let zodToJsonSchema decide on which parser to use"),L$={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"}});var O,f$,B,T=(_)=>{switch(typeof _){case"undefined":return B.undefined;case"string":return B.string;case"number":return Number.isNaN(_)?B.nan:B.number;case"boolean":return B.boolean;case"function":return B.function;case"bigint":return B.bigint;case"symbol":return B.symbol;case"object":if(Array.isArray(_))return B.array;if(_===null)return B.null;if(_.then&&typeof _.then==="function"&&_.catch&&typeof _.catch==="function")return B.promise;if(typeof Map<"u"&&_ instanceof Map)return B.map;if(typeof Set<"u"&&_ instanceof Set)return B.set;if(typeof Date<"u"&&_ instanceof Date)return B.date;return B.object;default:return B.unknown}};var __=b(()=>{(function(_){_.assertEqual=(W)=>{};function $(W){}_.assertIs=$;function q(W){throw Error()}_.assertNever=q,_.arrayToEnum=(W)=>{let X={};for(let H of W)X[H]=H;return X},_.getValidEnumValues=(W)=>{let X=_.objectKeys(W).filter((Y)=>typeof W[W[Y]]!=="number"),H={};for(let Y of X)H[Y]=W[Y];return _.objectValues(H)},_.objectValues=(W)=>{return _.objectKeys(W).map(function(X){return W[X]})},_.objectKeys=typeof Object.keys==="function"?(W)=>Object.keys(W):(W)=>{let X=[];for(let H in W)if(Object.prototype.hasOwnProperty.call(W,H))X.push(H);return X},_.find=(W,X)=>{for(let H of W)if(X(H))return H;return},_.isInteger=typeof Number.isInteger==="function"?(W)=>Number.isInteger(W):(W)=>typeof W==="number"&&Number.isFinite(W)&&Math.floor(W)===W;function J(W,X=" | "){return W.map((H)=>typeof H==="string"?`'${H}'`:H).join(X)}_.joinValues=J,_.jsonStringifyReplacer=(W,X)=>{if(typeof X==="bigint")return X.toString();return X}})(O||(O={}));(function(_){_.mergeShapes=($,q)=>{return{...$,...q}}})(f$||(f$={}));B=O.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"])});var G,f;var v_=b(()=>{__();G=O.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);f=class f extends Error{get errors(){return this.issues}constructor(_){super();this.issues=[],this.addIssue=(q)=>{this.issues=[...this.issues,q]},this.addIssues=(q=[])=>{this.issues=[...this.issues,...q]};let $=new.target.prototype;if(Object.setPrototypeOf)Object.setPrototypeOf(this,$);else this.__proto__=$;this.name="ZodError",this.issues=_}format(_){let $=_||function(W){return W.message},q={_errors:[]},J=(W)=>{for(let X of W.issues)if(X.code==="invalid_union")X.unionErrors.map(J);else if(X.code==="invalid_return_type")J(X.returnTypeError);else if(X.code==="invalid_arguments")J(X.argumentsError);else if(X.path.length===0)q._errors.push($(X));else{let H=q,Y=0;while(Y<X.path.length){let Q=X.path[Y];if(Y!==X.path.length-1)H[Q]=H[Q]||{_errors:[]};else H[Q]=H[Q]||{_errors:[]},H[Q]._errors.push($(X));H=H[Q],Y++}}};return J(this),q}static assert(_){if(!(_ instanceof f))throw Error(`Not a ZodError: ${_}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,O.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(_=($)=>$.message){let $=Object.create(null),q=[];for(let J of this.issues)if(J.path.length>0){let W=J.path[0];$[W]=$[W]||[],$[W].push(_(J))}else q.push(_(J));return{formErrors:q,fieldErrors:$}}get formErrors(){return this.flatten()}};f.create=(_)=>{return new f(_)}});var bq=(_,$)=>{let q;switch(_.code){case G.invalid_type:if(_.received===B.undefined)q="Required";else q=`Expected ${_.expected}, received ${_.received}`;break;case G.invalid_literal:q=`Invalid literal value, expected ${JSON.stringify(_.expected,O.jsonStringifyReplacer)}`;break;case G.unrecognized_keys:q=`Unrecognized key(s) in object: ${O.joinValues(_.keys,", ")}`;break;case G.invalid_union:q="Invalid input";break;case G.invalid_union_discriminator:q=`Invalid discriminator value. Expected ${O.joinValues(_.options)}`;break;case G.invalid_enum_value:q=`Invalid enum value. Expected ${O.joinValues(_.options)}, received '${_.received}'`;break;case G.invalid_arguments:q="Invalid function arguments";break;case G.invalid_return_type:q="Invalid function return type";break;case G.invalid_date:q="Invalid date";break;case G.invalid_string:if(typeof _.validation==="object")if("includes"in _.validation){if(q=`Invalid input: must include "${_.validation.includes}"`,typeof _.validation.position==="number")q=`${q} at one or more positions greater than or equal to ${_.validation.position}`}else if("startsWith"in _.validation)q=`Invalid input: must start with "${_.validation.startsWith}"`;else if("endsWith"in _.validation)q=`Invalid input: must end with "${_.validation.endsWith}"`;else O.assertNever(_.validation);else if(_.validation!=="regex")q=`Invalid ${_.validation}`;else q="Invalid";break;case G.too_small:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at least":"more than"} ${_.minimum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at least":"over"} ${_.minimum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="bigint")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(_.minimum))}`;else q="Invalid input";break;case G.too_big:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at most":"less than"} ${_.maximum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at most":"under"} ${_.maximum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="bigint")q=`BigInt must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly":_.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(_.maximum))}`;else q="Invalid input";break;case G.custom:q="Invalid input";break;case G.invalid_intersection_types:q="Intersection results could not be merged";break;case G.not_multiple_of:q=`Number must be a multiple of ${_.multipleOf}`;break;case G.not_finite:q="Number must be finite";break;default:q=$.defaultError,O.assertNever(_)}return{message:q}},Z;var y_=b(()=>{v_();__();Z=bq});function $_(){return zq}var zq;var j_=b(()=>{y_();zq=Z});function D(_,$){let q=$_(),J=A_({issueData:$,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,q,q===Z?void 0:Z].filter((W)=>!!W)});_.common.issues.push(J)}class L{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(_,$){let q=[];for(let J of $){if(J.status==="aborted")return z;if(J.status==="dirty")_.dirty();q.push(J.value)}return{status:_.value,value:q}}static async mergeObjectAsync(_,$){let q=[];for(let J of $){let W=await J.key,X=await J.value;q.push({key:W,value:X})}return L.mergeObjectSync(_,q)}static mergeObjectSync(_,$){let q={};for(let J of $){let{key:W,value:X}=J;if(W.status==="aborted")return z;if(X.status==="aborted")return z;if(W.status==="dirty")_.dirty();if(X.status==="dirty")_.dirty();if(W.value!=="__proto__"&&(typeof X.value<"u"||J.alwaysSet))q[W.value]=X.value}return{status:_.value,value:q}}}var A_=(_)=>{let{data:$,path:q,errorMaps:J,issueData:W}=_,X=[...q,...W.path||[]],H={...W,path:X};if(W.message!==void 0)return{...W,path:X,message:W.message};let Y="",Q=J.filter((v)=>!!v).slice().reverse();for(let v of Q)Y=v(H,{data:$,defaultError:Y}).message;return{...W,path:X,message:Y}},z,c=(_)=>({status:"dirty",value:_}),K=(_)=>({status:"valid",value:_}),x_=(_)=>_.status==="aborted",n_=(_)=>_.status==="dirty",i=(_)=>_.status==="valid",q_=(_)=>typeof Promise<"u"&&_ instanceof Promise;var Z_=b(()=>{j_();y_();z=Object.freeze({status:"aborted"})});var g$=()=>{};var w;var C$=b(()=>{(function(_){_.errToObj=($)=>typeof $==="string"?{message:$}:$||{},_.toString=($)=>typeof $==="string"?$:$?.message})(w||(w={}))});class C{constructor(_,$,q,J){this._cachedPath=[],this.parent=_,this.data=$,this._path=q,this._key=J}get path(){if(!this._cachedPath.length)if(Array.isArray(this._key))this._cachedPath.push(...this._path,...this._key);else this._cachedPath.push(...this._path,this._key);return this._cachedPath}}function j(_){if(!_)return{};let{errorMap:$,invalid_type_error:q,required_error:J,description:W}=_;if($&&(q||J))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);if($)return{errorMap:$,description:W};return{errorMap:(H,Y)=>{let{message:Q}=_;if(H.code==="invalid_enum_value")return{message:Q??Y.defaultError};if(typeof Y.data>"u")return{message:Q??J??Y.defaultError};if(H.code!=="invalid_type")return{message:Y.defaultError};return{message:Q??q??Y.defaultError}},description:W}}class A{get description(){return this._def.description}_getType(_){return T(_.data)}_getOrReturnCtx(_,$){return $||{common:_.parent.common,data:_.data,parsedType:T(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}_processInputParams(_){return{status:new L,ctx:{common:_.parent.common,data:_.data,parsedType:T(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}}_parseSync(_){let $=this._parse(_);if(q_($))throw Error("Synchronous parse encountered promise.");return $}_parseAsync(_){let $=this._parse(_);return Promise.resolve($)}parse(_,$){let q=this.safeParse(_,$);if(q.success)return q.data;throw q.error}safeParse(_,$){let q={common:{issues:[],async:$?.async??!1,contextualErrorMap:$?.errorMap},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)},J=this._parseSync({data:_,path:q.path,parent:q});return k$(q,J)}"~validate"(_){let $={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)};if(!this["~standard"].async)try{let q=this._parseSync({data:_,path:[],parent:$});return i(q)?{value:q.value}:{issues:$.common.issues}}catch(q){if(q?.message?.toLowerCase()?.includes("encountered"))this["~standard"].async=!0;$.common={issues:[],async:!0}}return this._parseAsync({data:_,path:[],parent:$}).then((q)=>i(q)?{value:q.value}:{issues:$.common.issues})}async parseAsync(_,$){let q=await this.safeParseAsync(_,$);if(q.success)return q.data;throw q.error}async safeParseAsync(_,$){let q={common:{issues:[],contextualErrorMap:$?.errorMap,async:!0},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)},J=this._parse({data:_,path:q.path,parent:q}),W=await(q_(J)?J:Promise.resolve(J));return k$(q,W)}refine(_,$){let q=(J)=>{if(typeof $==="string"||typeof $>"u")return{message:$};else if(typeof $==="function")return $(J);else return $};return this._refinement((J,W)=>{let X=_(J),H=()=>W.addIssue({code:G.custom,...q(J)});if(typeof Promise<"u"&&X instanceof Promise)return X.then((Y)=>{if(!Y)return H(),!1;else return!0});if(!X)return H(),!1;else return!0})}refinement(_,$){return this._refinement((q,J)=>{if(!_(q))return J.addIssue(typeof $==="function"?$(q,J):$),!1;else return!0})}_refinement(_){return new l({schema:this,typeName:M.ZodEffects,effect:{type:"refinement",refinement:_}})}superRefine(_){return this._refinement(_)}constructor(_){this.spa=this.safeParseAsync,this._def=_,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:($)=>this["~validate"]($)}}optional(){return m.create(this,this._def)}nullable(){return u.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return P.create(this)}promise(){return e.create(this,this._def)}or(_){return Q_.create([this,_],this._def)}and(_){return Y_.create(this,_,this._def)}transform(_){return new l({...j(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:_}})}default(_){let $=typeof _==="function"?_:()=>_;return new D_({...j(this._def),innerType:this,defaultValue:$,typeName:M.ZodDefault})}brand(){return new r_({typeName:M.ZodBranded,type:this,...j(this._def)})}catch(_){let $=typeof _==="function"?_:()=>_;return new w_({...j(this._def),innerType:this,catchValue:$,typeName:M.ZodCatch})}describe(_){return new this.constructor({...this._def,description:_})}pipe(_){return K_.create(this,_)}readonly(){return b_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}function P$(_){let $="[0-5]\\d";if(_.precision)$=`${$}\\.\\d{${_.precision}}`;else if(_.precision==null)$=`${$}(\\.\\d+)?`;let q=_.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${$})${q}`}function kq(_){return new RegExp(`^${P$(_)}$`)}function Iq(_){let $=`${I$}T${P$(_)}`,q=[];if(q.push(_.local?"Z?":"Z"),_.offset)q.push("([+-]\\d{2}:?\\d{2})");return $=`${$}(${q.join("|")})`,new RegExp(`^${$}$`)}function Pq(_,$){if(($==="v4"||!$)&&Rq.test(_))return!0;if(($==="v6"||!$)&&Kq.test(_))return!0;return!1}function mq(_,$){if(!Nq.test(_))return!1;try{let[q]=_.split(".");if(!q)return!1;let J=q.replace(/-/g,"+").replace(/_/g,"/").padEnd(q.length+(4-q.length%4)%4,"="),W=JSON.parse(atob(J));if(typeof W!=="object"||W===null)return!1;if("typ"in W&&W?.typ!=="JWT")return!1;if(!W.alg)return!1;if($&&W.alg!==$)return!1;return!0}catch{return!1}}function lq(_,$){if(($==="v4"||!$)&&Lq.test(_))return!0;if(($==="v6"||!$)&&Fq.test(_))return!0;return!1}function Tq(_,$){let q=(_.toString().split(".")[1]||"").length,J=($.toString().split(".")[1]||"").length,W=q>J?q:J,X=Number.parseInt(_.toFixed(W).replace(".","")),H=Number.parseInt($.toFixed(W).replace(".",""));return X%H/10**W}function d(_){if(_ instanceof U){let $={};for(let q in _.shape){let J=_.shape[q];$[q]=m.create(d(J))}return new U({..._._def,shape:()=>$})}else if(_ instanceof P)return new P({..._._def,type:d(_.element)});else if(_ instanceof m)return m.create(d(_.unwrap()));else if(_ instanceof u)return u.create(d(_.unwrap()));else if(_ instanceof n)return n.create(_.items.map(($)=>d($)));else return _}function p_(_,$){let q=T(_),J=T($);if(_===$)return{valid:!0,data:_};else if(q===B.object&&J===B.object){let W=O.objectKeys($),X=O.objectKeys(_).filter((Y)=>W.indexOf(Y)!==-1),H={..._,...$};for(let Y of X){let Q=p_(_[Y],$[Y]);if(!Q.valid)return{valid:!1};H[Y]=Q.data}return{valid:!0,data:H}}else if(q===B.array&&J===B.array){if(_.length!==$.length)return{valid:!1};let W=[];for(let X=0;X<_.length;X++){let H=_[X],Y=$[X],Q=p_(H,Y);if(!Q.valid)return{valid:!1};W.push(Q.data)}return{valid:!0,data:W}}else if(q===B.date&&J===B.date&&+_===+$)return{valid:!0,data:_};else return{valid:!1}}function m$(_,$){return new o({values:_,typeName:M.ZodEnum,...j($)})}var k$=(_,$)=>{if(i($))return{success:!0,data:$.value};else{if(!_.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let q=new f(_.common.issues);return this._error=q,this._error}}}},Sq,vq,jq,Aq,Oq,Nq,Eq,Uq,Vq="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",u_,Rq,Lq,Kq,Fq,fq,gq,I$="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Cq,y,t,a,O_,W_,N_,X_,H_,E_,r,x,U_,P,U,Q_,h=(_)=>{if(_ instanceof G_)return h(_.schema);else if(_ instanceof l)return h(_.innerType());else if(_ instanceof M_)return[_.value];else if(_ instanceof o)return _.options;else if(_ instanceof B_)return O.objectValues(_.enum);else if(_ instanceof D_)return h(_._def.innerType);else if(_ instanceof X_)return[void 0];else if(_ instanceof H_)return[null];else if(_ instanceof m)return[void 0,...h(_.unwrap())];else if(_ instanceof u)return[null,...h(_.unwrap())];else if(_ instanceof r_)return h(_.unwrap());else if(_ instanceof b_)return h(_.unwrap());else if(_ instanceof w_)return h(_._def.innerType);else return[]},i_,Y_,n,V_,R_,s,J_,G_,M_,o,B_,e,l,m,u,D_,w_,L_,D3,r_,K_,b_,w3,M,b3,z3,S3,v3,j3,A3,O3,N3,E3,U3,V3,R3,L3,K3,F3,f3,g3,C3,k3,I3,P3,m3,l3,T3,h3,y3,x3,n3,Z3,u3,p3,i3,r3,o3;var l$=b(()=>{v_();j_();C$();Z_();__();Sq=/^c[^\s-]{8,}$/i,vq=/^[0-9a-z]+$/,jq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Aq=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Oq=/^[a-z0-9_-]{21}$/i,Nq=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Eq=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Uq=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Rq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Lq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Kq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Fq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,fq=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,gq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Cq=new RegExp(`^${I$}$`);y=class y extends A{_parse(_){if(this._def.coerce)_.data=String(_.data);if(this._getType(_)!==B.string){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.string,received:W.parsedType}),z}let q=new L,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.length<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="max"){if(_.data.length>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="length"){let X=_.data.length>W.value,H=_.data.length<W.value;if(X||H){if(J=this._getOrReturnCtx(_,J),X)D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});else if(H)D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});q.dirty()}}else if(W.kind==="email"){if(!Uq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"email",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="emoji"){if(!u_)u_=new RegExp(Vq,"u");if(!u_.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"emoji",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="uuid"){if(!Aq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"uuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="nanoid"){if(!Oq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"nanoid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid"){if(!Sq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid2"){if(!vq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid2",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ulid"){if(!jq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"ulid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="url")try{new URL(_.data)}catch{J=this._getOrReturnCtx(_,J),D(J,{validation:"url",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="regex"){if(W.regex.lastIndex=0,!W.regex.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"regex",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="trim")_.data=_.data.trim();else if(W.kind==="includes"){if(!_.data.includes(W.value,W.position))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{includes:W.value,position:W.position},message:W.message}),q.dirty()}else if(W.kind==="toLowerCase")_.data=_.data.toLowerCase();else if(W.kind==="toUpperCase")_.data=_.data.toUpperCase();else if(W.kind==="startsWith"){if(!_.data.startsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{startsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="endsWith"){if(!_.data.endsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{endsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="datetime"){if(!Iq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"datetime",message:W.message}),q.dirty()}else if(W.kind==="date"){if(!Cq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"date",message:W.message}),q.dirty()}else if(W.kind==="time"){if(!kq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"time",message:W.message}),q.dirty()}else if(W.kind==="duration"){if(!Eq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"duration",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ip"){if(!Pq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"ip",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="jwt"){if(!mq(_.data,W.alg))J=this._getOrReturnCtx(_,J),D(J,{validation:"jwt",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cidr"){if(!lq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"cidr",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64"){if(!fq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64url"){if(!gq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64url",code:G.invalid_string,message:W.message}),q.dirty()}else O.assertNever(W);return{status:q.value,value:_.data}}_regex(_,$,q){return this.refinement((J)=>_.test(J),{validation:$,code:G.invalid_string,...w.errToObj(q)})}_addCheck(_){return new y({...this._def,checks:[...this._def.checks,_]})}email(_){return this._addCheck({kind:"email",...w.errToObj(_)})}url(_){return this._addCheck({kind:"url",...w.errToObj(_)})}emoji(_){return this._addCheck({kind:"emoji",...w.errToObj(_)})}uuid(_){return this._addCheck({kind:"uuid",...w.errToObj(_)})}nanoid(_){return this._addCheck({kind:"nanoid",...w.errToObj(_)})}cuid(_){return this._addCheck({kind:"cuid",...w.errToObj(_)})}cuid2(_){return this._addCheck({kind:"cuid2",...w.errToObj(_)})}ulid(_){return this._addCheck({kind:"ulid",...w.errToObj(_)})}base64(_){return this._addCheck({kind:"base64",...w.errToObj(_)})}base64url(_){return this._addCheck({kind:"base64url",...w.errToObj(_)})}jwt(_){return this._addCheck({kind:"jwt",...w.errToObj(_)})}ip(_){return this._addCheck({kind:"ip",...w.errToObj(_)})}cidr(_){return this._addCheck({kind:"cidr",...w.errToObj(_)})}datetime(_){if(typeof _==="string")return this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:_});return this._addCheck({kind:"datetime",precision:typeof _?.precision>"u"?null:_?.precision,offset:_?.offset??!1,local:_?.local??!1,...w.errToObj(_?.message)})}date(_){return this._addCheck({kind:"date",message:_})}time(_){if(typeof _==="string")return this._addCheck({kind:"time",precision:null,message:_});return this._addCheck({kind:"time",precision:typeof _?.precision>"u"?null:_?.precision,...w.errToObj(_?.message)})}duration(_){return this._addCheck({kind:"duration",...w.errToObj(_)})}regex(_,$){return this._addCheck({kind:"regex",regex:_,...w.errToObj($)})}includes(_,$){return this._addCheck({kind:"includes",value:_,position:$?.position,...w.errToObj($?.message)})}startsWith(_,$){return this._addCheck({kind:"startsWith",value:_,...w.errToObj($)})}endsWith(_,$){return this._addCheck({kind:"endsWith",value:_,...w.errToObj($)})}min(_,$){return this._addCheck({kind:"min",value:_,...w.errToObj($)})}max(_,$){return this._addCheck({kind:"max",value:_,...w.errToObj($)})}length(_,$){return this._addCheck({kind:"length",value:_,...w.errToObj($)})}nonempty(_){return this.min(1,w.errToObj(_))}trim(){return new y({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new y({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new y({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((_)=>_.kind==="datetime")}get isDate(){return!!this._def.checks.find((_)=>_.kind==="date")}get isTime(){return!!this._def.checks.find((_)=>_.kind==="time")}get isDuration(){return!!this._def.checks.find((_)=>_.kind==="duration")}get isEmail(){return!!this._def.checks.find((_)=>_.kind==="email")}get isURL(){return!!this._def.checks.find((_)=>_.kind==="url")}get isEmoji(){return!!this._def.checks.find((_)=>_.kind==="emoji")}get isUUID(){return!!this._def.checks.find((_)=>_.kind==="uuid")}get isNANOID(){return!!this._def.checks.find((_)=>_.kind==="nanoid")}get isCUID(){return!!this._def.checks.find((_)=>_.kind==="cuid")}get isCUID2(){return!!this._def.checks.find((_)=>_.kind==="cuid2")}get isULID(){return!!this._def.checks.find((_)=>_.kind==="ulid")}get isIP(){return!!this._def.checks.find((_)=>_.kind==="ip")}get isCIDR(){return!!this._def.checks.find((_)=>_.kind==="cidr")}get isBase64(){return!!this._def.checks.find((_)=>_.kind==="base64")}get isBase64url(){return!!this._def.checks.find((_)=>_.kind==="base64url")}get minLength(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxLength(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};y.create=(_)=>{return new y({checks:[],typeName:M.ZodString,coerce:_?.coerce??!1,...j(_)})};t=class t extends A{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(_){if(this._def.coerce)_.data=Number(_.data);if(this._getType(_)!==B.number){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.number,received:W.parsedType}),z}let q=void 0,J=new L;for(let W of this._def.checks)if(W.kind==="int"){if(!O.isInteger(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.invalid_type,expected:"integer",received:"float",message:W.message}),J.dirty()}else if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,minimum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,maximum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(Tq(_.data,W.value)!==0)q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else if(W.kind==="finite"){if(!Number.isFinite(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_finite,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new t({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new t({...this._def,checks:[...this._def.checks,_]})}int(_){return this._addCheck({kind:"int",message:w.toString(_)})}positive(_){return this._addCheck({kind:"min",value:0,inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:0,inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:0,inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:0,inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}finite(_){return this._addCheck({kind:"finite",message:w.toString(_)})}safe(_){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:w.toString(_)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:w.toString(_)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}get isInt(){return!!this._def.checks.find((_)=>_.kind==="int"||_.kind==="multipleOf"&&O.isInteger(_.value))}get isFinite(){let _=null,$=null;for(let q of this._def.checks)if(q.kind==="finite"||q.kind==="int"||q.kind==="multipleOf")return!0;else if(q.kind==="min"){if($===null||q.value>$)$=q.value}else if(q.kind==="max"){if(_===null||q.value<_)_=q.value}return Number.isFinite($)&&Number.isFinite(_)}};t.create=(_)=>{return new t({checks:[],typeName:M.ZodNumber,coerce:_?.coerce||!1,...j(_)})};a=class a extends A{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte}_parse(_){if(this._def.coerce)try{_.data=BigInt(_.data)}catch{return this._getInvalidInput(_)}if(this._getType(_)!==B.bigint)return this._getInvalidInput(_);let q=void 0,J=new L;for(let W of this._def.checks)if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,type:"bigint",minimum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,type:"bigint",maximum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(_.data%W.value!==BigInt(0))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}_getInvalidInput(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.bigint,received:$.parsedType}),z}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new a({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new a({...this._def,checks:[...this._def.checks,_]})}positive(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};a.create=(_)=>{return new a({checks:[],typeName:M.ZodBigInt,coerce:_?.coerce??!1,...j(_)})};O_=class O_ extends A{_parse(_){if(this._def.coerce)_.data=Boolean(_.data);if(this._getType(_)!==B.boolean){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.boolean,received:q.parsedType}),z}return K(_.data)}};O_.create=(_)=>{return new O_({typeName:M.ZodBoolean,coerce:_?.coerce||!1,...j(_)})};W_=class W_ extends A{_parse(_){if(this._def.coerce)_.data=new Date(_.data);if(this._getType(_)!==B.date){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.date,received:W.parsedType}),z}if(Number.isNaN(_.data.getTime())){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_date}),z}let q=new L,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.getTime()<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,message:W.message,inclusive:!0,exact:!1,minimum:W.value,type:"date"}),q.dirty()}else if(W.kind==="max"){if(_.data.getTime()>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,message:W.message,inclusive:!0,exact:!1,maximum:W.value,type:"date"}),q.dirty()}else O.assertNever(W);return{status:q.value,value:new Date(_.data.getTime())}}_addCheck(_){return new W_({...this._def,checks:[...this._def.checks,_]})}min(_,$){return this._addCheck({kind:"min",value:_.getTime(),message:w.toString($)})}max(_,$){return this._addCheck({kind:"max",value:_.getTime(),message:w.toString($)})}get minDate(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _!=null?new Date(_):null}get maxDate(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _!=null?new Date(_):null}};W_.create=(_)=>{return new W_({checks:[],coerce:_?.coerce||!1,typeName:M.ZodDate,...j(_)})};N_=class N_ extends A{_parse(_){if(this._getType(_)!==B.symbol){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.symbol,received:q.parsedType}),z}return K(_.data)}};N_.create=(_)=>{return new N_({typeName:M.ZodSymbol,...j(_)})};X_=class X_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.undefined,received:q.parsedType}),z}return K(_.data)}};X_.create=(_)=>{return new X_({typeName:M.ZodUndefined,...j(_)})};H_=class H_ extends A{_parse(_){if(this._getType(_)!==B.null){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.null,received:q.parsedType}),z}return K(_.data)}};H_.create=(_)=>{return new H_({typeName:M.ZodNull,...j(_)})};E_=class E_ extends A{constructor(){super(...arguments);this._any=!0}_parse(_){return K(_.data)}};E_.create=(_)=>{return new E_({typeName:M.ZodAny,...j(_)})};r=class r extends A{constructor(){super(...arguments);this._unknown=!0}_parse(_){return K(_.data)}};r.create=(_)=>{return new r({typeName:M.ZodUnknown,...j(_)})};x=class x extends A{_parse(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.never,received:$.parsedType}),z}};x.create=(_)=>{return new x({typeName:M.ZodNever,...j(_)})};U_=class U_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.void,received:q.parsedType}),z}return K(_.data)}};U_.create=(_)=>{return new U_({typeName:M.ZodVoid,...j(_)})};P=class P extends A{_parse(_){let{ctx:$,status:q}=this._processInputParams(_),J=this._def;if($.parsedType!==B.array)return D($,{code:G.invalid_type,expected:B.array,received:$.parsedType}),z;if(J.exactLength!==null){let X=$.data.length>J.exactLength.value,H=$.data.length<J.exactLength.value;if(X||H)D($,{code:X?G.too_big:G.too_small,minimum:H?J.exactLength.value:void 0,maximum:X?J.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:J.exactLength.message}),q.dirty()}if(J.minLength!==null){if($.data.length<J.minLength.value)D($,{code:G.too_small,minimum:J.minLength.value,type:"array",inclusive:!0,exact:!1,message:J.minLength.message}),q.dirty()}if(J.maxLength!==null){if($.data.length>J.maxLength.value)D($,{code:G.too_big,maximum:J.maxLength.value,type:"array",inclusive:!0,exact:!1,message:J.maxLength.message}),q.dirty()}if($.common.async)return Promise.all([...$.data].map((X,H)=>{return J.type._parseAsync(new C($,X,$.path,H))})).then((X)=>{return L.mergeArray(q,X)});let W=[...$.data].map((X,H)=>{return J.type._parseSync(new C($,X,$.path,H))});return L.mergeArray(q,W)}get element(){return this._def.type}min(_,$){return new P({...this._def,minLength:{value:_,message:w.toString($)}})}max(_,$){return new P({...this._def,maxLength:{value:_,message:w.toString($)}})}length(_,$){return new P({...this._def,exactLength:{value:_,message:w.toString($)}})}nonempty(_){return this.min(1,_)}};P.create=(_,$)=>{return new P({type:_,minLength:null,maxLength:null,exactLength:null,typeName:M.ZodArray,...j($)})};U=class U extends A{constructor(){super(...arguments);this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let _=this._def.shape(),$=O.objectKeys(_);return this._cached={shape:_,keys:$},this._cached}_parse(_){if(this._getType(_)!==B.object){let Q=this._getOrReturnCtx(_);return D(Q,{code:G.invalid_type,expected:B.object,received:Q.parsedType}),z}let{status:q,ctx:J}=this._processInputParams(_),{shape:W,keys:X}=this._getCached(),H=[];if(!(this._def.catchall instanceof x&&this._def.unknownKeys==="strip")){for(let Q in J.data)if(!X.includes(Q))H.push(Q)}let Y=[];for(let Q of X){let v=W[Q],R=J.data[Q];Y.push({key:{status:"valid",value:Q},value:v._parse(new C(J,R,J.path,Q)),alwaysSet:Q in J.data})}if(this._def.catchall instanceof x){let Q=this._def.unknownKeys;if(Q==="passthrough")for(let v of H)Y.push({key:{status:"valid",value:v},value:{status:"valid",value:J.data[v]}});else if(Q==="strict"){if(H.length>0)D(J,{code:G.unrecognized_keys,keys:H}),q.dirty()}else if(Q==="strip");else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let Q=this._def.catchall;for(let v of H){let R=J.data[v];Y.push({key:{status:"valid",value:v},value:Q._parse(new C(J,R,J.path,v)),alwaysSet:v in J.data})}}if(J.common.async)return Promise.resolve().then(async()=>{let Q=[];for(let v of Y){let R=await v.key,R$=await v.value;Q.push({key:R,value:R$,alwaysSet:v.alwaysSet})}return Q}).then((Q)=>{return L.mergeObjectSync(q,Q)});else return L.mergeObjectSync(q,Y)}get shape(){return this._def.shape()}strict(_){return w.errToObj,new U({...this._def,unknownKeys:"strict",..._!==void 0?{errorMap:($,q)=>{let J=this._def.errorMap?.($,q).message??q.defaultError;if($.code==="unrecognized_keys")return{message:w.errToObj(_).message??J};return{message:J}}}:{}})}strip(){return new U({...this._def,unknownKeys:"strip"})}passthrough(){return new U({...this._def,unknownKeys:"passthrough"})}extend(_){return new U({...this._def,shape:()=>({...this._def.shape(),..._})})}merge(_){return new U({unknownKeys:_._def.unknownKeys,catchall:_._def.catchall,shape:()=>({...this._def.shape(),..._._def.shape()}),typeName:M.ZodObject})}setKey(_,$){return this.augment({[_]:$})}catchall(_){return new U({...this._def,catchall:_})}pick(_){let $={};for(let q of O.objectKeys(_))if(_[q]&&this.shape[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}omit(_){let $={};for(let q of O.objectKeys(this.shape))if(!_[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}deepPartial(){return d(this)}partial(_){let $={};for(let q of O.objectKeys(this.shape)){let J=this.shape[q];if(_&&!_[q])$[q]=J;else $[q]=J.optional()}return new U({...this._def,shape:()=>$})}required(_){let $={};for(let q of O.objectKeys(this.shape))if(_&&!_[q])$[q]=this.shape[q];else{let W=this.shape[q];while(W instanceof m)W=W._def.innerType;$[q]=W}return new U({...this._def,shape:()=>$})}keyof(){return m$(O.objectKeys(this.shape))}};U.create=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strip",catchall:x.create(),typeName:M.ZodObject,...j($)})};U.strictCreate=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strict",catchall:x.create(),typeName:M.ZodObject,...j($)})};U.lazycreate=(_,$)=>{return new U({shape:_,unknownKeys:"strip",catchall:x.create(),typeName:M.ZodObject,...j($)})};Q_=class Q_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=this._def.options;function J(W){for(let H of W)if(H.result.status==="valid")return H.result;for(let H of W)if(H.result.status==="dirty")return $.common.issues.push(...H.ctx.common.issues),H.result;let X=W.map((H)=>new f(H.ctx.common.issues));return D($,{code:G.invalid_union,unionErrors:X}),z}if($.common.async)return Promise.all(q.map(async(W)=>{let X={...$,common:{...$.common,issues:[]},parent:null};return{result:await W._parseAsync({data:$.data,path:$.path,parent:X}),ctx:X}})).then(J);else{let W=void 0,X=[];for(let Y of q){let Q={...$,common:{...$.common,issues:[]},parent:null},v=Y._parseSync({data:$.data,path:$.path,parent:Q});if(v.status==="valid")return v;else if(v.status==="dirty"&&!W)W={result:v,ctx:Q};if(Q.common.issues.length)X.push(Q.common.issues)}if(W)return $.common.issues.push(...W.ctx.common.issues),W.result;let H=X.map((Y)=>new f(Y));return D($,{code:G.invalid_union,unionErrors:H}),z}}get options(){return this._def.options}};Q_.create=(_,$)=>{return new Q_({options:_,typeName:M.ZodUnion,...j($)})};i_=class i_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.object)return D($,{code:G.invalid_type,expected:B.object,received:$.parsedType}),z;let q=this.discriminator,J=$.data[q],W=this.optionsMap.get(J);if(!W)return D($,{code:G.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[q]}),z;if($.common.async)return W._parseAsync({data:$.data,path:$.path,parent:$});else return W._parseSync({data:$.data,path:$.path,parent:$})}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(_,$,q){let J=new Map;for(let W of $){let X=h(W.shape[_]);if(!X.length)throw Error(`A discriminator value for key \`${_}\` could not be extracted from all schema options`);for(let H of X){if(J.has(H))throw Error(`Discriminator property ${String(_)} has duplicate value ${String(H)}`);J.set(H,W)}}return new i_({typeName:M.ZodDiscriminatedUnion,discriminator:_,options:$,optionsMap:J,...j(q)})}};Y_=class Y_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=(W,X)=>{if(x_(W)||x_(X))return z;let H=p_(W.value,X.value);if(!H.valid)return D(q,{code:G.invalid_intersection_types}),z;if(n_(W)||n_(X))$.dirty();return{status:$.value,value:H.data}};if(q.common.async)return Promise.all([this._def.left._parseAsync({data:q.data,path:q.path,parent:q}),this._def.right._parseAsync({data:q.data,path:q.path,parent:q})]).then(([W,X])=>J(W,X));else return J(this._def.left._parseSync({data:q.data,path:q.path,parent:q}),this._def.right._parseSync({data:q.data,path:q.path,parent:q}))}};Y_.create=(_,$,q)=>{return new Y_({left:_,right:$,typeName:M.ZodIntersection,...j(q)})};n=class n extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.array)return D(q,{code:G.invalid_type,expected:B.array,received:q.parsedType}),z;if(q.data.length<this._def.items.length)return D(q,{code:G.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),z;if(!this._def.rest&&q.data.length>this._def.items.length)D(q,{code:G.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),$.dirty();let W=[...q.data].map((X,H)=>{let Y=this._def.items[H]||this._def.rest;if(!Y)return null;return Y._parse(new C(q,X,q.path,H))}).filter((X)=>!!X);if(q.common.async)return Promise.all(W).then((X)=>{return L.mergeArray($,X)});else return L.mergeArray($,W)}get items(){return this._def.items}rest(_){return new n({...this._def,rest:_})}};n.create=(_,$)=>{if(!Array.isArray(_))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new n({items:_,typeName:M.ZodTuple,rest:null,...j($)})};V_=class V_ extends A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.object)return D(q,{code:G.invalid_type,expected:B.object,received:q.parsedType}),z;let J=[],W=this._def.keyType,X=this._def.valueType;for(let H in q.data)J.push({key:W._parse(new C(q,H,q.path,H)),value:X._parse(new C(q,q.data[H],q.path,H)),alwaysSet:H in q.data});if(q.common.async)return L.mergeObjectAsync($,J);else return L.mergeObjectSync($,J)}get element(){return this._def.valueType}static create(_,$,q){if($ instanceof A)return new V_({keyType:_,valueType:$,typeName:M.ZodRecord,...j(q)});return new V_({keyType:y.create(),valueType:_,typeName:M.ZodRecord,...j($)})}};R_=class R_ extends A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.map)return D(q,{code:G.invalid_type,expected:B.map,received:q.parsedType}),z;let J=this._def.keyType,W=this._def.valueType,X=[...q.data.entries()].map(([H,Y],Q)=>{return{key:J._parse(new C(q,H,q.path,[Q,"key"])),value:W._parse(new C(q,Y,q.path,[Q,"value"]))}});if(q.common.async){let H=new Map;return Promise.resolve().then(async()=>{for(let Y of X){let Q=await Y.key,v=await Y.value;if(Q.status==="aborted"||v.status==="aborted")return z;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}})}else{let H=new Map;for(let Y of X){let{key:Q,value:v}=Y;if(Q.status==="aborted"||v.status==="aborted")return z;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}}}};R_.create=(_,$,q)=>{return new R_({valueType:$,keyType:_,typeName:M.ZodMap,...j(q)})};s=class s extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.set)return D(q,{code:G.invalid_type,expected:B.set,received:q.parsedType}),z;let J=this._def;if(J.minSize!==null){if(q.data.size<J.minSize.value)D(q,{code:G.too_small,minimum:J.minSize.value,type:"set",inclusive:!0,exact:!1,message:J.minSize.message}),$.dirty()}if(J.maxSize!==null){if(q.data.size>J.maxSize.value)D(q,{code:G.too_big,maximum:J.maxSize.value,type:"set",inclusive:!0,exact:!1,message:J.maxSize.message}),$.dirty()}let W=this._def.valueType;function X(Y){let Q=new Set;for(let v of Y){if(v.status==="aborted")return z;if(v.status==="dirty")$.dirty();Q.add(v.value)}return{status:$.value,value:Q}}let H=[...q.data.values()].map((Y,Q)=>W._parse(new C(q,Y,q.path,Q)));if(q.common.async)return Promise.all(H).then((Y)=>X(Y));else return X(H)}min(_,$){return new s({...this._def,minSize:{value:_,message:w.toString($)}})}max(_,$){return new s({...this._def,maxSize:{value:_,message:w.toString($)}})}size(_,$){return this.min(_,$).max(_,$)}nonempty(_){return this.min(1,_)}};s.create=(_,$)=>{return new s({valueType:_,minSize:null,maxSize:null,typeName:M.ZodSet,...j($)})};J_=class J_ extends A{constructor(){super(...arguments);this.validate=this.implement}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.function)return D($,{code:G.invalid_type,expected:B.function,received:$.parsedType}),z;function q(H,Y){return A_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_arguments,argumentsError:Y}})}function J(H,Y){return A_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_return_type,returnTypeError:Y}})}let W={errorMap:$.common.contextualErrorMap},X=$.data;if(this._def.returns instanceof e){let H=this;return K(async function(...Y){let Q=new f([]),v=await H._def.args.parseAsync(Y,W).catch((h_)=>{throw Q.addIssue(q(Y,h_)),Q}),R=await Reflect.apply(X,this,v);return await H._def.returns._def.type.parseAsync(R,W).catch((h_)=>{throw Q.addIssue(J(R,h_)),Q})})}else{let H=this;return K(function(...Y){let Q=H._def.args.safeParse(Y,W);if(!Q.success)throw new f([q(Y,Q.error)]);let v=Reflect.apply(X,this,Q.data),R=H._def.returns.safeParse(v,W);if(!R.success)throw new f([J(v,R.error)]);return R.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(..._){return new J_({...this._def,args:n.create(_).rest(r.create())})}returns(_){return new J_({...this._def,returns:_})}implement(_){return this.parse(_)}strictImplement(_){return this.parse(_)}static create(_,$,q){return new J_({args:_?_:n.create([]).rest(r.create()),returns:$||r.create(),typeName:M.ZodFunction,...j(q)})}};G_=class G_ extends A{get schema(){return this._def.getter()}_parse(_){let{ctx:$}=this._processInputParams(_);return this._def.getter()._parse({data:$.data,path:$.path,parent:$})}};G_.create=(_,$)=>{return new G_({getter:_,typeName:M.ZodLazy,...j($)})};M_=class M_ extends A{_parse(_){if(_.data!==this._def.value){let $=this._getOrReturnCtx(_);return D($,{received:$.data,code:G.invalid_literal,expected:this._def.value}),z}return{status:"valid",value:_.data}}get value(){return this._def.value}};M_.create=(_,$)=>{return new M_({value:_,typeName:M.ZodLiteral,...j($)})};o=class o extends A{_parse(_){if(typeof _.data!=="string"){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{expected:O.joinValues(q),received:$.parsedType,code:G.invalid_type}),z}if(!this._cache)this._cache=new Set(this._def.values);if(!this._cache.has(_.data)){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{received:$.data,code:G.invalid_enum_value,options:q}),z}return K(_.data)}get options(){return this._def.values}get enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Values(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}extract(_,$=this._def){return o.create(_,{...this._def,...$})}exclude(_,$=this._def){return o.create(this.options.filter((q)=>!_.includes(q)),{...this._def,...$})}};o.create=m$;B_=class B_ extends A{_parse(_){let $=O.getValidEnumValues(this._def.values),q=this._getOrReturnCtx(_);if(q.parsedType!==B.string&&q.parsedType!==B.number){let J=O.objectValues($);return D(q,{expected:O.joinValues(J),received:q.parsedType,code:G.invalid_type}),z}if(!this._cache)this._cache=new Set(O.getValidEnumValues(this._def.values));if(!this._cache.has(_.data)){let J=O.objectValues($);return D(q,{received:q.data,code:G.invalid_enum_value,options:J}),z}return K(_.data)}get enum(){return this._def.values}};B_.create=(_,$)=>{return new B_({values:_,typeName:M.ZodNativeEnum,...j($)})};e=class e extends A{unwrap(){return this._def.type}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.promise&&$.common.async===!1)return D($,{code:G.invalid_type,expected:B.promise,received:$.parsedType}),z;let q=$.parsedType===B.promise?$.data:Promise.resolve($.data);return K(q.then((J)=>{return this._def.type.parseAsync(J,{path:$.path,errorMap:$.common.contextualErrorMap})}))}};e.create=(_,$)=>{return new e({type:_,typeName:M.ZodPromise,...j($)})};l=class l extends A{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===M.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=this._def.effect||null,W={addIssue:(X)=>{if(D(q,X),X.fatal)$.abort();else $.dirty()},get path(){return q.path}};if(W.addIssue=W.addIssue.bind(W),J.type==="preprocess"){let X=J.transform(q.data,W);if(q.common.async)return Promise.resolve(X).then(async(H)=>{if($.value==="aborted")return z;let Y=await this._def.schema._parseAsync({data:H,path:q.path,parent:q});if(Y.status==="aborted")return z;if(Y.status==="dirty")return c(Y.value);if($.value==="dirty")return c(Y.value);return Y});else{if($.value==="aborted")return z;let H=this._def.schema._parseSync({data:X,path:q.path,parent:q});if(H.status==="aborted")return z;if(H.status==="dirty")return c(H.value);if($.value==="dirty")return c(H.value);return H}}if(J.type==="refinement"){let X=(H)=>{let Y=J.refinement(H,W);if(q.common.async)return Promise.resolve(Y);if(Y instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return H};if(q.common.async===!1){let H=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(H.status==="aborted")return z;if(H.status==="dirty")$.dirty();return X(H.value),{status:$.value,value:H.value}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((H)=>{if(H.status==="aborted")return z;if(H.status==="dirty")$.dirty();return X(H.value).then(()=>{return{status:$.value,value:H.value}})})}if(J.type==="transform")if(q.common.async===!1){let X=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(!i(X))return z;let H=J.transform(X.value,W);if(H instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:$.value,value:H}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((X)=>{if(!i(X))return z;return Promise.resolve(J.transform(X.value,W)).then((H)=>({status:$.value,value:H}))});O.assertNever(J)}};l.create=(_,$,q)=>{return new l({schema:_,typeName:M.ZodEffects,effect:$,...j(q)})};l.createWithPreprocess=(_,$,q)=>{return new l({schema:$,effect:{type:"preprocess",transform:_},typeName:M.ZodEffects,...j(q)})};m=class m extends A{_parse(_){if(this._getType(_)===B.undefined)return K(void 0);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};m.create=(_,$)=>{return new m({innerType:_,typeName:M.ZodOptional,...j($)})};u=class u extends A{_parse(_){if(this._getType(_)===B.null)return K(null);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};u.create=(_,$)=>{return new u({innerType:_,typeName:M.ZodNullable,...j($)})};D_=class D_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;if($.parsedType===B.undefined)q=this._def.defaultValue();return this._def.innerType._parse({data:q,path:$.path,parent:$})}removeDefault(){return this._def.innerType}};D_.create=(_,$)=>{return new D_({innerType:_,typeName:M.ZodDefault,defaultValue:typeof $.default==="function"?$.default:()=>$.default,...j($)})};w_=class w_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q={...$,common:{...$.common,issues:[]}},J=this._def.innerType._parse({data:q.data,path:q.path,parent:{...q}});if(q_(J))return J.then((W)=>{return{status:"valid",value:W.status==="valid"?W.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}});else return{status:"valid",value:J.status==="valid"?J.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}}removeCatch(){return this._def.innerType}};w_.create=(_,$)=>{return new w_({innerType:_,typeName:M.ZodCatch,catchValue:typeof $.catch==="function"?$.catch:()=>$.catch,...j($)})};L_=class L_ extends A{_parse(_){if(this._getType(_)!==B.nan){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.nan,received:q.parsedType}),z}return{status:"valid",value:_.data}}};L_.create=(_)=>{return new L_({typeName:M.ZodNaN,...j(_)})};D3=Symbol("zod_brand");r_=class r_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;return this._def.type._parse({data:q,path:$.path,parent:$})}unwrap(){return this._def.type}};K_=class K_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.common.async)return(async()=>{let W=await this._def.in._parseAsync({data:q.data,path:q.path,parent:q});if(W.status==="aborted")return z;if(W.status==="dirty")return $.dirty(),c(W.value);else return this._def.out._parseAsync({data:W.value,path:q.path,parent:q})})();else{let J=this._def.in._parseSync({data:q.data,path:q.path,parent:q});if(J.status==="aborted")return z;if(J.status==="dirty")return $.dirty(),{status:"dirty",value:J.value};else return this._def.out._parseSync({data:J.value,path:q.path,parent:q})}}static create(_,$){return new K_({in:_,out:$,typeName:M.ZodPipeline})}};b_=class b_ extends A{_parse(_){let $=this._def.innerType._parse(_),q=(J)=>{if(i(J))J.value=Object.freeze(J.value);return J};return q_($)?$.then((J)=>q(J)):q($)}unwrap(){return this._def.innerType}};b_.create=(_,$)=>{return new b_({innerType:_,typeName:M.ZodReadonly,...j($)})};w3={object:U.lazycreate};(function(_){_.ZodString="ZodString",_.ZodNumber="ZodNumber",_.ZodNaN="ZodNaN",_.ZodBigInt="ZodBigInt",_.ZodBoolean="ZodBoolean",_.ZodDate="ZodDate",_.ZodSymbol="ZodSymbol",_.ZodUndefined="ZodUndefined",_.ZodNull="ZodNull",_.ZodAny="ZodAny",_.ZodUnknown="ZodUnknown",_.ZodNever="ZodNever",_.ZodVoid="ZodVoid",_.ZodArray="ZodArray",_.ZodObject="ZodObject",_.ZodUnion="ZodUnion",_.ZodDiscriminatedUnion="ZodDiscriminatedUnion",_.ZodIntersection="ZodIntersection",_.ZodTuple="ZodTuple",_.ZodRecord="ZodRecord",_.ZodMap="ZodMap",_.ZodSet="ZodSet",_.ZodFunction="ZodFunction",_.ZodLazy="ZodLazy",_.ZodLiteral="ZodLiteral",_.ZodEnum="ZodEnum",_.ZodEffects="ZodEffects",_.ZodNativeEnum="ZodNativeEnum",_.ZodOptional="ZodOptional",_.ZodNullable="ZodNullable",_.ZodDefault="ZodDefault",_.ZodCatch="ZodCatch",_.ZodPromise="ZodPromise",_.ZodBranded="ZodBranded",_.ZodPipeline="ZodPipeline",_.ZodReadonly="ZodReadonly"})(M||(M={}));b3=y.create,z3=t.create,S3=L_.create,v3=a.create,j3=O_.create,A3=W_.create,O3=N_.create,N3=X_.create,E3=H_.create,U3=E_.create,V3=r.create,R3=x.create,L3=U_.create,K3=P.create,F3=U.create,f3=U.strictCreate,g3=Q_.create,C3=i_.create,k3=Y_.create,I3=n.create,P3=V_.create,m3=R_.create,l3=s.create,T3=J_.create,h3=G_.create,y3=M_.create,x3=o.create,n3=B_.create,Z3=e.create,u3=l.create,p3=m.create,i3=u.create,r3=l.createWithPreprocess,o3=K_.create});var T$=b(()=>{j_();Z_();g$();__();l$();v_()});var F_=b(()=>{T$()});var f_=(_,$)=>{let q=0;for(;q<_.length&&q<$.length;q++)if(_[q]!==$[q])break;return[(_.length-q).toString(),...$.slice(q)].join("/")};var g_=()=>{};function E(_){if(_.target!=="openAi")return{};let $=[..._.basePath,_.definitionPath,_.openAiAnyTypeName];return _.flags.hasReferencedOpenAiAnyType=!0,{$ref:_.$refStrategy==="relative"?f_($,_.currentPath):$.join("/")}}var g=b(()=>{g_()});function o_(_,$,q,J){if(!J?.errorMessages)return;if(q)_.errorMessage={..._.errorMessage,[$]:q}}function N(_,$,q,J,W){_[$]=q,o_(_,$,J,W)}var p=()=>{};function h$(_,$){let q={type:"array"};if(_.type?._def&&_.type?._def?.typeName!==M.ZodAny)q.items=S(_.type._def,{...$,currentPath:[...$.currentPath,"items"]});if(_.minLength)N(q,"minItems",_.minLength.value,_.minLength.message,$);if(_.maxLength)N(q,"maxItems",_.maxLength.value,_.maxLength.message,$);if(_.exactLength)N(q,"minItems",_.exactLength.value,_.exactLength.message,$),N(q,"maxItems",_.exactLength.value,_.exactLength.message,$);return q}var c_=b(()=>{F_();p();V()});function y$(_,$){let q={type:"integer",format:"int64"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var d_=b(()=>{p()});function x$(){return{type:"boolean"}}var t_=()=>{};function C_(_,$){return S(_.type._def,$)}var k_=b(()=>{V()});var n$=(_,$)=>{return S(_.innerType._def,$)};var a_=b(()=>{V()});function s_(_,$,q){let J=q??$.dateStrategy;if(Array.isArray(J))return{anyOf:J.map((W,X)=>s_(_,$,W))};switch(J){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return hq(_,$)}}var hq=(_,$)=>{let q={type:"integer",format:"unix-time"};if($.target==="openApi3")return q;for(let J of _.checks)switch(J.kind){case"min":N(q,"minimum",J.value,J.message,$);break;case"max":N(q,"maximum",J.value,J.message,$);break}return q};var e_=b(()=>{p()});function Z$(_,$){return{...S(_.innerType._def,$),default:_.defaultValue()}}var _$=b(()=>{V()});function u$(_,$){return $.effectStrategy==="input"?S(_.schema._def,$):E($)}var $$=b(()=>{V();g()});function p$(_){return{type:"string",enum:Array.from(_.values)}}var q$=()=>{};function i$(_,$){let q=[S(_.left._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),S(_.right._def,{...$,currentPath:[...$.currentPath,"allOf","1"]})].filter((X)=>!!X),J=$.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,W=[];return q.forEach((X)=>{if(yq(X)){if(W.push(...X.allOf),X.unevaluatedProperties===void 0)J=void 0}else{let H=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Y,...Q}=X;H=Q}else J=void 0;W.push(H)}}),W.length?{allOf:W,...J}:void 0}var yq=(_)=>{if("type"in _&&_.type==="string")return!1;return"allOf"in _};var J$=b(()=>{V()});function r$(_,$){let q=typeof _.value;if(q!=="bigint"&&q!=="number"&&q!=="boolean"&&q!=="string")return{type:Array.isArray(_.value)?"array":"object"};if($.target==="openApi3")return{type:q==="bigint"?"integer":q,enum:[_.value]};return{type:q==="bigint"?"integer":q,const:_.value}}var W$=()=>{};function I_(_,$){let q={type:"string"};if(_.checks)for(let J of _.checks)switch(J.kind){case"min":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$);break;case"max":N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"email":switch($.emailStrategy){case"format:email":I(q,"email",J.message,$);break;case"format:idn-email":I(q,"idn-email",J.message,$);break;case"pattern:zod":F(q,k.email,J.message,$);break}break;case"url":I(q,"uri",J.message,$);break;case"uuid":I(q,"uuid",J.message,$);break;case"regex":F(q,J.regex,J.message,$);break;case"cuid":F(q,k.cuid,J.message,$);break;case"cuid2":F(q,k.cuid2,J.message,$);break;case"startsWith":F(q,RegExp(`^${H$(J.value,$)}`),J.message,$);break;case"endsWith":F(q,RegExp(`${H$(J.value,$)}$`),J.message,$);break;case"datetime":I(q,"date-time",J.message,$);break;case"date":I(q,"date",J.message,$);break;case"time":I(q,"time",J.message,$);break;case"duration":I(q,"duration",J.message,$);break;case"length":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$),N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"includes":{F(q,RegExp(H$(J.value,$)),J.message,$);break}case"ip":{if(J.version!=="v6")I(q,"ipv4",J.message,$);if(J.version!=="v4")I(q,"ipv6",J.message,$);break}case"base64url":F(q,k.base64url,J.message,$);break;case"jwt":F(q,k.jwt,J.message,$);break;case"cidr":{if(J.version!=="v6")F(q,k.ipv4Cidr,J.message,$);if(J.version!=="v4")F(q,k.ipv6Cidr,J.message,$);break}case"emoji":F(q,k.emoji(),J.message,$);break;case"ulid":{F(q,k.ulid,J.message,$);break}case"base64":{switch($.base64Strategy){case"format:binary":{I(q,"binary",J.message,$);break}case"contentEncoding:base64":{N(q,"contentEncoding","base64",J.message,$);break}case"pattern:zod":{F(q,k.base64,J.message,$);break}}break}case"nanoid":F(q,k.nanoid,J.message,$);case"toLowerCase":case"toUpperCase":case"trim":break;default:((W)=>{})(J)}return q}function H$(_,$){return $.patternStrategy==="escape"?nq(_):_}function nq(_){let $="";for(let q=0;q<_.length;q++){if(!xq.has(_[q]))$+="\\";$+=_[q]}return $}function I(_,$,q,J){if(_.format||_.anyOf?.some((W)=>W.format)){if(!_.anyOf)_.anyOf=[];if(_.format){if(_.anyOf.push({format:_.format,..._.errorMessage&&J.errorMessages&&{errorMessage:{format:_.errorMessage.format}}}),delete _.format,_.errorMessage){if(delete _.errorMessage.format,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.anyOf.push({format:$,...q&&J.errorMessages&&{errorMessage:{format:q}}})}else N(_,"format",$,q,J)}function F(_,$,q,J){if(_.pattern||_.allOf?.some((W)=>W.pattern)){if(!_.allOf)_.allOf=[];if(_.pattern){if(_.allOf.push({pattern:_.pattern,..._.errorMessage&&J.errorMessages&&{errorMessage:{pattern:_.errorMessage.pattern}}}),delete _.pattern,_.errorMessage){if(delete _.errorMessage.pattern,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.allOf.push({pattern:o$($,J),...q&&J.errorMessages&&{errorMessage:{pattern:q}}})}else N(_,"pattern",o$($,J),q,J)}function o$(_,$){if(!$.applyRegexFlags||!_.flags)return _.source;let q={i:_.flags.includes("i"),m:_.flags.includes("m"),s:_.flags.includes("s")},J=q.i?_.source.toLowerCase():_.source,W="",X=!1,H=!1,Y=!1;for(let Q=0;Q<J.length;Q++){if(X){W+=J[Q],X=!1;continue}if(q.i){if(H){if(J[Q].match(/[a-z]/)){if(Y)W+=J[Q],W+=`${J[Q-2]}-${J[Q]}`.toUpperCase(),Y=!1;else if(J[Q+1]==="-"&&J[Q+2]?.match(/[a-z]/))W+=J[Q],Y=!0;else W+=`${J[Q]}${J[Q].toUpperCase()}`;continue}}else if(J[Q].match(/[a-z]/)){W+=`[${J[Q]}${J[Q].toUpperCase()}]`;continue}}if(q.m){if(J[Q]==="^"){W+=`(^|(?<=[\r
2
- ]))`;continue}else if(J[Q]==="$"){W+=`($|(?=[\r
3
- ]))`;continue}}if(q.s&&J[Q]==="."){W+=H?`${J[Q]}\r
4
- `:`[${J[Q]}\r
5
- ]`;continue}if(W+=J[Q],J[Q]==="\\")X=!0;else if(H&&J[Q]==="]")H=!1;else if(!H&&J[Q]==="[")H=!0}try{new RegExp(W)}catch{return console.warn(`Could not convert regex pattern at ${$.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),_.source}return W}var X$=void 0,k,xq;var P_=b(()=>{p();k={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(X$===void 0)X$=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return X$},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};xq=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});function m_(_,$){if($.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if($.target==="openApi3"&&_.keyType?._def.typeName===M.ZodEnum)return{type:"object",required:_.keyType._def.values,properties:_.keyType._def.values.reduce((J,W)=>({...J,[W]:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"properties",W]})??E($)}),{}),additionalProperties:$.rejectedAdditionalProperties};let q={type:"object",additionalProperties:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]})??$.allowedAdditionalProperties};if($.target==="openApi3")return q;if(_.keyType?._def.typeName===M.ZodString&&_.keyType._def.checks?.length){let{type:J,...W}=I_(_.keyType._def,$);return{...q,propertyNames:W}}else if(_.keyType?._def.typeName===M.ZodEnum)return{...q,propertyNames:{enum:_.keyType._def.values}};else if(_.keyType?._def.typeName===M.ZodBranded&&_.keyType._def.type._def.typeName===M.ZodString&&_.keyType._def.type._def.checks?.length){let{type:J,...W}=C_(_.keyType._def,$);return{...q,propertyNames:W}}return q}var l_=b(()=>{F_();V();P_();k_();g()});function c$(_,$){if($.mapStrategy==="record")return m_(_,$);let q=S(_.keyType._def,{...$,currentPath:[...$.currentPath,"items","items","0"]})||E($),J=S(_.valueType._def,{...$,currentPath:[...$.currentPath,"items","items","1"]})||E($);return{type:"array",maxItems:125,items:{type:"array",items:[q,J],minItems:2,maxItems:2}}}var Q$=b(()=>{V();l_();g()});function d$(_){let $=_.values,J=Object.keys(_.values).filter((X)=>{return typeof $[$[X]]!=="number"}).map((X)=>$[X]),W=Array.from(new Set(J.map((X)=>typeof X)));return{type:W.length===1?W[0]==="string"?"string":"number":["string","number"],enum:J}}var Y$=()=>{};function t$(_){return _.target==="openAi"?void 0:{not:E({..._,currentPath:[..._.currentPath,"not"]})}}var G$=b(()=>{g()});function a$(_){return _.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var M$=()=>{};function e$(_,$){if($.target==="openApi3")return s$(_,$);let q=_.options instanceof Map?Array.from(_.options.values()):_.options;if(q.every((J)=>(J._def.typeName in z_)&&(!J._def.checks||!J._def.checks.length))){let J=q.reduce((W,X)=>{let H=z_[X._def.typeName];return H&&!W.includes(H)?[...W,H]:W},[]);return{type:J.length>1?J:J[0]}}else if(q.every((J)=>J._def.typeName==="ZodLiteral"&&!J.description)){let J=q.reduce((W,X)=>{let H=typeof X._def.value;switch(H){case"string":case"number":case"boolean":return[...W,H];case"bigint":return[...W,"integer"];case"object":if(X._def.value===null)return[...W,"null"];case"symbol":case"undefined":case"function":default:return W}},[]);if(J.length===q.length){let W=J.filter((X,H,Y)=>Y.indexOf(X)===H);return{type:W.length>1?W:W[0],enum:q.reduce((X,H)=>{return X.includes(H._def.value)?X:[...X,H._def.value]},[])}}}else if(q.every((J)=>J._def.typeName==="ZodEnum"))return{type:"string",enum:q.reduce((J,W)=>[...J,...W._def.values.filter((X)=>!J.includes(X))],[])};return s$(_,$)}var z_,s$=(_,$)=>{let q=(_.options instanceof Map?Array.from(_.options.values()):_.options).map((J,W)=>S(J._def,{...$,currentPath:[...$.currentPath,"anyOf",`${W}`]})).filter((J)=>!!J&&(!$.strictUnions||typeof J==="object"&&Object.keys(J).length>0));return q.length?{anyOf:q}:void 0};var T_=b(()=>{V();z_={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"}});function _q(_,$){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(_.innerType._def.typeName)&&(!_.innerType._def.checks||!_.innerType._def.checks.length)){if($.target==="openApi3")return{type:z_[_.innerType._def.typeName],nullable:!0};return{type:[z_[_.innerType._def.typeName],"null"]}}if($.target==="openApi3"){let J=S(_.innerType._def,{...$,currentPath:[...$.currentPath]});if(J&&"$ref"in J)return{allOf:[J],nullable:!0};return J&&{...J,nullable:!0}}let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","0"]});return q&&{anyOf:[q,{type:"null"}]}}var B$=b(()=>{V();T_()});function $q(_,$){let q={type:"number"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"int":q.type="integer",o_(q,"type",J.message,$);break;case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var D$=b(()=>{p()});function qq(_,$){let q=$.target==="openAi",J={type:"object",properties:{}},W=[],X=_.shape();for(let Y in X){let Q=X[Y];if(Q===void 0||Q._def===void 0)continue;let v=uq(Q);if(v&&q){if(Q._def.typeName==="ZodOptional")Q=Q._def.innerType;if(!Q.isNullable())Q=Q.nullable();v=!1}let R=S(Q._def,{...$,currentPath:[...$.currentPath,"properties",Y],propertyPath:[...$.currentPath,"properties",Y]});if(R===void 0)continue;if(J.properties[Y]=R,!v)W.push(Y)}if(W.length)J.required=W;let H=Zq(_,$);if(H!==void 0)J.additionalProperties=H;return J}function Zq(_,$){if(_.catchall._def.typeName!=="ZodNever")return S(_.catchall._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]});switch(_.unknownKeys){case"passthrough":return $.allowedAdditionalProperties;case"strict":return $.rejectedAdditionalProperties;case"strip":return $.removeAdditionalStrategy==="strict"?$.allowedAdditionalProperties:$.rejectedAdditionalProperties}}function uq(_){try{return _.isOptional()}catch{return!0}}var w$=b(()=>{V()});var Jq=(_,$)=>{if($.currentPath.toString()===$.propertyPath?.toString())return S(_.innerType._def,$);let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","1"]});return q?{anyOf:[{not:E($)},q]}:E($)};var b$=b(()=>{V();g()});var Wq=(_,$)=>{if($.pipeStrategy==="input")return S(_.in._def,$);else if($.pipeStrategy==="output")return S(_.out._def,$);let q=S(_.in._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),J=S(_.out._def,{...$,currentPath:[...$.currentPath,"allOf",q?"1":"0"]});return{allOf:[q,J].filter((W)=>W!==void 0)}};var z$=b(()=>{V()});function Xq(_,$){return S(_.type._def,$)}var S$=b(()=>{V()});function Hq(_,$){let J={type:"array",uniqueItems:!0,items:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"items"]})};if(_.minSize)N(J,"minItems",_.minSize.value,_.minSize.message,$);if(_.maxSize)N(J,"maxItems",_.maxSize.value,_.maxSize.message,$);return J}var v$=b(()=>{p();V()});function Qq(_,$){if(_.rest)return{type:"array",minItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[]),additionalItems:S(_.rest._def,{...$,currentPath:[...$.currentPath,"additionalItems"]})};else return{type:"array",minItems:_.items.length,maxItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[])}}var j$=b(()=>{V()});function Yq(_){return{not:E(_)}}var A$=b(()=>{g()});function Gq(_){return E(_)}var O$=b(()=>{g()});var Mq=(_,$)=>{return S(_.innerType._def,$)};var N$=b(()=>{V()});var Bq=(_,$,q)=>{switch($){case M.ZodString:return I_(_,q);case M.ZodNumber:return $q(_,q);case M.ZodObject:return qq(_,q);case M.ZodBigInt:return y$(_,q);case M.ZodBoolean:return x$();case M.ZodDate:return s_(_,q);case M.ZodUndefined:return Yq(q);case M.ZodNull:return a$(q);case M.ZodArray:return h$(_,q);case M.ZodUnion:case M.ZodDiscriminatedUnion:return e$(_,q);case M.ZodIntersection:return i$(_,q);case M.ZodTuple:return Qq(_,q);case M.ZodRecord:return m_(_,q);case M.ZodLiteral:return r$(_,q);case M.ZodEnum:return p$(_);case M.ZodNativeEnum:return d$(_);case M.ZodNullable:return _q(_,q);case M.ZodOptional:return Jq(_,q);case M.ZodMap:return c$(_,q);case M.ZodSet:return Hq(_,q);case M.ZodLazy:return()=>_.getter()._def;case M.ZodPromise:return Xq(_,q);case M.ZodNaN:case M.ZodNever:return t$(q);case M.ZodEffects:return u$(_,q);case M.ZodAny:return E(q);case M.ZodUnknown:return Gq(q);case M.ZodDefault:return Z$(_,q);case M.ZodBranded:return C_(_,q);case M.ZodReadonly:return Mq(_,q);case M.ZodCatch:return n$(_,q);case M.ZodPipeline:return Wq(_,q);case M.ZodFunction:case M.ZodVoid:case M.ZodSymbol:return;default:return((J)=>{return})($)}};var E$=b(()=>{F_();g();c_();d_();t_();k_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();l_();v$();P_();j$();A$();T_();O$();N$()});function S(_,$,q=!1){let J=$.seen.get(_);if($.override){let Y=$.override?.(_,$,J,q);if(Y!==K$)return Y}if(J&&!q){let Y=pq(J,$);if(Y!==void 0)return Y}let W={def:_,path:$.currentPath,jsonSchema:void 0};$.seen.set(_,W);let X=Bq(_,_.typeName,$),H=typeof X==="function"?S(X(),$):X;if(H)iq(_,$,H);if($.postProcess){let Y=$.postProcess(H,_,$);return W.jsonSchema=H,Y}return W.jsonSchema=H,H}var pq=(_,$)=>{switch($.$refStrategy){case"root":return{$ref:_.path.join("/")};case"relative":return{$ref:f_($.currentPath,_.path)};case"none":case"seen":{if(_.path.length<$.currentPath.length&&_.path.every((q,J)=>$.currentPath[J]===q))return console.warn(`Recursive reference detected at ${$.currentPath.join("/")}! Defaulting to any`),E($);return $.$refStrategy==="seen"?E($):void 0}}},iq=(_,$,q)=>{if(_.description){if(q.description=_.description,$.markdownDescription)q.markdownDescription=_.description}return q};var V=b(()=>{S_();E$();g_();g()});var Dq=(_)=>{let $=F$(_),q=$.name!==void 0?[...$.basePath,$.definitionPath,$.name]:$.basePath;return{...$,flags:{hasReferencedOpenAiAnyType:!1},currentPath:q,propertyPath:void 0,seen:new Map(Object.entries($.definitions).map(([J,W])=>[W._def,{def:W._def,path:[...$.basePath,$.definitionPath,J],jsonSchema:void 0}]))}};var U$=b(()=>{S_()});var rq=(_,$)=>{let q=Dq($),J=typeof $==="object"&&$.definitions?Object.entries($.definitions).reduce((Q,[v,R])=>({...Q,[v]:S(R._def,{...q,currentPath:[...q.basePath,q.definitionPath,v]},!0)??E(q)}),{}):void 0,W=typeof $==="string"?$:$?.nameStrategy==="title"?void 0:$?.name,X=S(_._def,W===void 0?q:{...q,currentPath:[...q.basePath,q.definitionPath,W]},!1)??E(q),H=typeof $==="object"&&$.name!==void 0&&$.nameStrategy==="title"?$.name:void 0;if(H!==void 0)X.title=H;if(q.flags.hasReferencedOpenAiAnyType){if(!J)J={};if(!J[q.openAiAnyTypeName])J[q.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:q.$refStrategy==="relative"?"1":[...q.basePath,q.definitionPath,q.openAiAnyTypeName].join("/")}}}let Y=W===void 0?J?{...X,[q.definitionPath]:J}:X:{$ref:[...q.$refStrategy==="relative"?[]:q.basePath,q.definitionPath,W].join("/"),[q.definitionPath]:{...J,[W]:X}};if(q.target==="jsonSchema7")Y.$schema="http://json-schema.org/draft-07/schema#";else if(q.target==="jsonSchema2019-09"||q.target==="openAi")Y.$schema="https://json-schema.org/draft/2019-09/schema#";if(q.target==="openAi"&&(("anyOf"in Y)||("oneOf"in Y)||("allOf"in Y)||("type"in Y)&&Array.isArray(Y.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return Y};var V$=b(()=>{V();U$();g()});var wq=()=>{};var oq=b(()=>{V$();S_();U$();p();g_();V();wq();g();c_();d_();t_();k_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();N$();l_();v$();P_();j$();A$();T_();O$();E$();V$()});
6
- export{rq as c2,oq as d2};
@@ -1,2 +0,0 @@
1
- import{B8 as Z,F8 as _,G8 as w}from"./cli-0.7.5-medd7tha.mjs";import{B9 as $,Bda as j,O_ as k,c_ as T,dda as W,gda as V,j$ as D,p9 as Y,q9 as U}from"./cli-0.7.5-ghq2axmf.mjs";import{Iia as N,Lia as M}from"./cli-0.7.5-7h3tq3wc.mjs";import{epa as O,nla as X}from"./cli-0.7.5-987zbyps.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
- export{b as _a,y as $a,P as ab,d as bb,c as cb};
@@ -1,2 +0,0 @@
1
- import{Oqa as n,Pqa as o}from"./cli-0.7.5-012a6zfk.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
- export{i as Fha,c as Gha,p as Hha,u as Iha};
@@ -1,4 +0,0 @@
1
- import{$Q as jJ,Ao as IJ,CQ as UJ,Co as pJ,Oi as cJ,aR as $V,nK as DJ,oK as BJ,pK as lJ}from"./cli-0.7.5-1130jhj6.mjs";import{B9 as WJ,Bda as hJ,G9 as l,Zea as G,c_ as mJ,f9 as p,fca as m,ffa as dJ,g9 as fJ,gda as YJ,l_ as NJ,p_ as gJ,pca as uJ}from"./cli-0.7.5-ghq2axmf.mjs";import{Rga as U,Sga as PJ}from"./cli-0.7.5-9na53kvh.mjs";import{Fha as f,Iha as SJ}from"./cli-0.7.5-tbrfr6hj.mjs";import{Iia as Q,Lia as kJ,uia as VJ,yia as bJ}from"./cli-0.7.5-7h3tq3wc.mjs";import{gja as JJ,nja as yJ}from"./cli-0.7.5-fzqampqh.mjs";import{dla as qJ,ela as zJ}from"./cli-0.7.5-987zbyps.mjs";import{Lqa as wJ,Pqa as _J}from"./cli-0.7.5-012a6zfk.mjs";class c{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let X=0;X<J.length;X++){let _=J[X];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if((X&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let $=!0;for(let X=0;X<V.length;X++)if(this.indexPath(X),(X&255)===255&&performance.now()-Y>4){if(this.readyCount=X+1,$)W(),$=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let $=W.charCodeAt(Y);if($>=97&&$<=122)V|=1<<$-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),$=Array(Y),X=0;for(let M=0;M<Y;M++){let B=V.charAt(M);$[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)X|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&X)!==X)continue;let B=Z?I[M]:q[M],E=B.indexOf($[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf($[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let $=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){$=_;break}}let X=Y.slice(0,$);if(X.length>0){if(Z.add(X),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,$)=>{let X=Y.length-$.length;if(X!==0)return X;return Y<$?-1:Y>$?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new c;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let $=J[Y];for(let X=0;X<$.length;X++)V=(V^$.charCodeAt(X))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let $=0;$<Y.length;$++)V=(V^Y.charCodeAt($))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],$=[...new Set([J,W])],X=KJ.default(),_=!1,H=$.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;X.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?X:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),$=Date.now(),X=await p(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-$}ms`),X.code!==0)return Q(`[FileIndex] git ls-files failed (code=${X.code}, stderr=${X.stderr}), falling back to ripgrep`),null;let _=X.stdout.trim().split(`
2
- `).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=p(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
3
- `).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let $=O.dirname(J[Y]);while($!=="."&&!V.has($)){let X=O.dirname($);if(X===$)break;V.add($),$=X}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let $=(await IJ(V,".",J)).map((_)=>O.relative(U(),_)),X=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${X}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:X}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,$=U(),[X,_]=await Promise.all([tJ(J,Y),rJ($)]);$J=_;let H=[...X,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let $=V.isDirectory(),X=Y.isDirectory();if($!==X)return $?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),$=O.relative(W,Y);return V.isDirectory()?$+O.sep:$})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,$="."+O.sep;if(J.startsWith($))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let X=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${X.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:X.length,query_length:J.length}),X}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,$){let X=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+X+W.substring(V+Z.length);Y(_);let H=V+X.length;$(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();pJ();uJ();zJ();KJ=wJ(cJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
4
- export{c as Kg,MJ as Lg,jV as Mg,vV as Ng,RV as Og,GV as Pg,AJ as Qg,CV as Rg,LV as Sg,ZV as Tg};
@@ -1,2 +0,0 @@
1
- import{Ko as S,Po as Zq,no as E,oo as m,op as l,po as Xq,qp as Rq,rp as i,sp as Aq}from"./cli-0.7.5-1130jhj6.mjs";import{Naa as u,Paa as g,Saa as h,Taa as n,Yaa as vq,Zea as D,ffa as Qq}from"./cli-0.7.5-ghq2axmf.mjs";import{Kga as d,Mga as Uq}from"./cli-0.7.5-pm9grnq1.mjs";import{Iia as V,Lia as e,lia as P,mia as v,qia as f,uia as M,yia as y}from"./cli-0.7.5-7h3tq3wc.mjs";import{gja as W,hja as O,ija as C,nja as _}from"./cli-0.7.5-fzqampqh.mjs";import{_pa as p,qqa as qq}from"./cli-0.7.5-w2vyrb4j.mjs";import{Pqa as N}from"./cli-0.7.5-012a6zfk.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
2
- export{Fq as pd,r as qd,nq as rd,lq as sd,Oq as td,QQ as ud,XQ as vd,Dq as wd};
@@ -1,2 +0,0 @@
1
- import{Rc as L,Sc as m}from"./cli-0.7.5-gb57bm0v.mjs";import{Yc as O,Zc as G,_c as u}from"./cli-0.7.5-cbkmf04v.mjs";import{B6 as k,G6 as A,m7 as E,x6 as U}from"./cli-0.7.5-rqvar6g7.mjs";import{Bda as h,Jda as R,Pda as _,Qda as $,Zda as x,Zea as y,cca as N,dda as F,ffa as C,gda as D,nda as Q,pca as g,raa as K,saa as Z,yaa as P}from"./cli-0.7.5-ghq2axmf.mjs";import{fja as Y,nja as f}from"./cli-0.7.5-fzqampqh.mjs";import{epa as b,uma as J}from"./cli-0.7.5-987zbyps.mjs";import{Pqa as T}from"./cli-0.7.5-012a6zfk.mjs";function n(){V=!0}function M(){if(!V)return!1;return V=!1,!0}function a(j){return(z)=>({...z,...typeof j.permission_mode==="string"?{toolPermissionContext:{...z.toolPermissionContext,mode:Z(j.permission_mode)}}:{},...typeof j.is_ultraplan_mode==="boolean"?{isUltraplanMode:j.is_ultraplan_mode}:{}})}function t({newState:j,oldState:z}){let W=M(),X=z.toolPermissionContext.mode,H=j.toolPermissionContext.mode;if(X!==H){let q=K(X),B=K(H);if(q!==B){let I=B==="plan"&&j.isUltraplanMode&&!z.isUltraplanMode?!0:null;O({permission_mode:B,is_ultraplan_mode:I})}G(H)}if(j.mainLoopModel!==z.mainLoopModel&&j.mainLoopModel===null){if(J(null),!W)if(R()!==void 0)Q((q)=>({...q,activeModelForProject:void 0}));else N("userSettings",{model:void 0}),$()}if(j.mainLoopModel!==z.mainLoopModel&&j.mainLoopModel!==null){if(J(j.mainLoopModel),!W)if(R()!==void 0)Q((q)=>({...q,activeModelForProject:j.mainLoopModel??void 0}));else N("userSettings",{model:j.mainLoopModel}),_(j.mainLoopModel)}if(j.expandedView!==z.expandedView){let q=j.expandedView==="tasks",B=j.expandedView==="teammates";if(D().showExpandedTodos!==q||D().showSpinnerTree!==B)F((I)=>({...I,showExpandedTodos:q,showSpinnerTree:B}))}if(j.verbose!==z.verbose&&D().verbose!==j.verbose){let q=j.verbose;F((B)=>({...B,verbose:q}))}if(j.collapseSubagentProgress!==z.collapseSubagentProgress&&D().collapseSubagentProgress!==j.collapseSubagentProgress){let q=j.collapseSubagentProgress;F((B)=>({...B,collapseSubagentProgress:q}))}if(j.settings!==z.settings)try{if(U(),k(),A(),j.settings.env!==z.settings.env)L()}catch(q){y(Y(q))}}var V=!1;var c=T(()=>{b();E();h();f();C();m();x();P();u();g()});
2
- export{n as Mc,a as Nc,t as Oc,c as Pc};
@@ -1,15 +0,0 @@
1
- import{B1 as OJ,y1 as o}from"./cli-0.7.5-j27qn7ks.mjs";import{Bda as D,Q$ as G,S$ as BJ,Zea as q,dda as v,f9 as K,fca as i,ffa as E,g9 as I,pca as HJ}from"./cli-0.7.5-ghq2axmf.mjs";import{Fha as A,Iha as XJ}from"./cli-0.7.5-tbrfr6hj.mjs";import{Iia as W,Lia as zJ,lia as k,mia as j,qia as C,uia as y,yia as F}from"./cli-0.7.5-7h3tq3wc.mjs";import{Sia as l,hja as O,ija as w,lja as p,nja as R}from"./cli-0.7.5-fzqampqh.mjs";import{Dja as b,qja as H}from"./cli-0.7.5-cd6cs7q9.mjs";import{Pqa as M}from"./cli-0.7.5-012a6zfk.mjs";import{access as P,chmod as JJ,writeFile as QJ}from"fs/promises";import{homedir as f}from"os";import{join as B}from"path";function S(){return B(H(),"local")}function YJ(J=f()){return B(J,".claude","local")}function m(J){let Q=J?.homeDir??f(),Y=J?.configHomeDir??H();return Array.from(new Set([B(Y,"local"),YJ(Q)]))}function d(J){return[B(J,"node_modules",".bin","claudin"),B(J,"node_modules",".bin","claude")]}function ZJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function T(){return B(S(),"claudin")}function DJ(){return ZJ(process.argv[1]||"")}async function L(J,Q,Y){try{return await QJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(O(Z)==="EEXIST")return!1;throw Z}}async function $J(){try{let J=S();await y().mkdir(J),await L(B(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=T();if(await L(Q,`#!/bin/sh
2
- exec "${J}/node_modules/.bin/claudin" "$@"`,493))await JJ(Q,493);return!0}catch(J){return q(J),!1}}async function EJ(J,Q){try{if(!await $J())return"install_failed";let Z=await K("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:S(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return v(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function PJ(){for(let J of m())for(let Q of d(J))try{return await P(Q),!0}catch{}return!1}async function fJ(){for(let J of m())for(let Q of d(J))try{return await P(Q),J}catch{}return null}function mJ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var u=M(()=>{D();b();R();I();F();E();C()});import{open as qJ,readFile as WJ,stat as KJ}from"fs/promises";import{homedir as h}from"os";import{join as U}from"path";function V(J){let Q=J?.homedir??h(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:U(Z,".zshrc"),bash:U(Q,".bashrc"),fish:U(Q,".config/fish/config.fish")}}function g(J){let Q=!1;return{filtered:J.filter((Z)=>{if(c.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===T())return Q=!0,!1}}return!0}),hadAlias:Q}}async function x(J){try{return(await WJ(J,{encoding:"utf8"})).split(`
3
- `)}catch(Q){if(p(Q))return null;throw Q}}async function n(J,Q){let Y=await qJ(J,"w");try{await Y.writeFile(Q.join(`
4
- `),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function NJ(J){let Q=V(J);for(let Y of Object.values(Q)){let Z=await x(Y);if(!Z)continue;for(let $ of Z)if(c.test($)){let N=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(N&&N[1])return N[1]}}return null}async function nJ(J){let Q=await NJ(J);if(!Q)return null;let Y=J?.homedir??h(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await KJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var c;var s=M(()=>{R();u();c=/^\s*alias\s+claude\s*=/});import{constants as yJ}from"fs";import{access as GJ,writeFile as a}from"fs/promises";import{homedir as X}from"os";import{join as _J}from"path";function r(){let J=process.argv[1]||"";if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}async function vJ(){let J=await K("bun",["pm","ls","-g"],{cwd:X()});if(J.code!==0)return!1;return J.stdout.includes("@claudiolabs/claudin")}async function zQ(){}async function BQ(){return}async function HQ(){return}function OQ(J){let Y=i()?.minimumVersion;if(!Y)return!1;let Z=!o(J,Y);if(Z)W(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function e(){return _J(H(),".update.lock")}async function wJ(){let J=y(),Q=e();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<t)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<t)return!1;await J.unlink(Q)}catch($){if(!w($))return q($),!1}}catch(Y){if(!w(Y))return q(Y),!1}try{return await a(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=O(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(H()),await a(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(O($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function MJ(){let J=y(),Q=e();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(w(Y))return;q(Y)}}async function RJ(){let J=G.isRunningWithBun()||r(),Q=null;if(J)Q=await K("bun",["pm","bin","-g"],{cwd:X()});else Q=await K("npm",["-g","config","get","prefix"],{cwd:X()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function SJ(){try{let J=await RJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await GJ(J,yJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new _("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function yQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await K("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:X()});if($.code!==0){if(W(`npm view failed with code ${$.code}`),$.stderr)W(`npm stderr: ${$.stderr.trim()}`);else W("npm stderr: (empty)");if($.stdout)W(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function GQ(){let J=await K("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:X()});if(J.code!==0)return W(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=j(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return W(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function _Q(J){return null}async function vQ(){return{latest:null,stable:null}}async function wQ(J){let Y=await K("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:X()});if(Y.code!==0){if(W(`npm view versions failed with code ${Y.code}`),Y.stderr)W(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return j(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return W(`Failed to parse version history: ${Z}`),[]}}async function MQ(J){if(!await wJ())return q(new _("Another process is currently installing an update")),A("tengu_auto_updater_lock_contention",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{if(await TJ(),!G.isRunningWithBun()&&G.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),A("tengu_auto_updater_windows_npm_in_wsl",{currentVersion:"99.0.0"}),console.error(`
5
- Error: Windows NPM detected in WSL
6
-
7
- You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
8
- This configuration is not supported for updates.
9
-
10
- To fix this issue:
11
- 1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
12
- 2. Make sure Linux NPM is in your PATH before the Windows version
13
- 3. Try updating again with 'claude update'
14
- `),"install_failed";let{hasPermissions:Q}=await SJ();if(!Q)return"no_permissions";let Y=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",Z=G.isRunningWithBun()||r()?"bun":"npm",N=await K(Z,Z==="npm"?["install","-g","--force",Y]:["install","-g",Y],{cwd:X()});if(N.code!==0){let z=new _(`Failed to install new version of claude: ${N.stdout} ${N.stderr}`);return q(z),"install_failed"}if(Z==="npm"&&await vJ()){let z=await K("bun",["install","-g",Y],{cwd:X()});if(z.code!==0)q(new _(`Failed to update bun global install: ${z.stdout} ${z.stderr}`))}return v((z)=>({...z,installMethod:"global"})),"success"}finally{await MJ()}}async function TJ(){let J=V();for(let[,Q]of Object.entries(J))try{let Y=await x(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=g(Y);if($)await n(Q,Z),W(`Removed claude alias from ${Q}`)}catch(Y){W(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var _,t=300000;var UJ=M(()=>{XJ();D();zJ();BJ();b();R();I();F();E();OJ();HJ();s();C();_=class _ extends l{}});
15
- export{DJ as vT,EJ as wT,PJ as xT,fJ as yT,mJ as zT,u as AT,V as BT,g as CT,x as DT,n as ET,NJ as FT,nJ as GT,s as HT,zQ as IT,BQ as JT,HQ as KT,OQ as LT,e as MT,SJ as NT,yQ as OT,GQ as PT,_Q as QT,vQ as RT,wQ as ST,MQ as TT,UJ as UT};
@@ -1,2 +0,0 @@
1
- import{Pqa as q}from"./cli-0.7.5-012a6zfk.mjs";function x(k){j=[k,...j.slice(0,v-1)]}function y(){return j}var j,v=20;var w=q(()=>{j=[]});
2
- export{x as ce,y as de,w as ee};
@@ -1,2 +0,0 @@
1
- import{re as R,te as d}from"./cli-0.7.5-ek1sq6b5.mjs";import{s1 as j,v1 as c}from"./cli-0.7.5-7bd3ngaj.mjs";import{Iia as K,Lia as D}from"./cli-0.7.5-7h3tq3wc.mjs";import{gja as C,nja as h}from"./cli-0.7.5-fzqampqh.mjs";import{Pqa as I,Qqa as J}from"./cli-0.7.5-012a6zfk.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-0.7.5-gdt0tbr7.mjs"),{getOrganizationUUID:Z}=await import("./client-0.7.5-w36k0xa4.mjs"),{getOauthConfig:V}=await import("./oauth-0.7.5-pp4rkjfe.mjs"),{getOAuthHeaders:P}=await import("./api-0.7.5-fcbv21bw.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-0.7.5-9tagnw7m.mjs"),{getDefaultBranch:_}=await import("./git-0.7.5-e2235c1t.mjs"),{getMainLoopModel:M}=await import("./model-0.7.5-z5fcqt5b.mjs"),{default:T}=await import("./index-0.7.5-bsq6e16w.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-0.7.5-9tagnw7m.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.7.5-gdt0tbr7.mjs"),{getOrganizationUUID:$}=await import("./client-0.7.5-w36k0xa4.mjs"),{getOauthConfig:Y}=await import("./oauth-0.7.5-pp4rkjfe.mjs"),{getOAuthHeaders:z}=await import("./api-0.7.5-fcbv21bw.mjs"),{default:G}=await import("./index-0.7.5-bsq6e16w.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.7.5-gdt0tbr7.mjs"),{getOrganizationUUID:$}=await import("./client-0.7.5-w36k0xa4.mjs"),{getOauthConfig:Y}=await import("./oauth-0.7.5-pp4rkjfe.mjs"),{getOAuthHeaders:z}=await import("./api-0.7.5-fcbv21bw.mjs"),{default:G}=await import("./index-0.7.5-bsq6e16w.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-0.7.5-gdt0tbr7.mjs"),{getOrganizationUUID:Y}=await import("./client-0.7.5-w36k0xa4.mjs"),{getOauthConfig:z}=await import("./oauth-0.7.5-pp4rkjfe.mjs"),{getOAuthHeaders:G}=await import("./api-0.7.5-fcbv21bw.mjs"),{default:L}=await import("./index-0.7.5-bsq6e16w.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
- export{i as ie,r as je,t as ke,o as le,p as me};
@@ -1,6 +0,0 @@
1
- import{Pqa as j}from"./cli-0.7.5-012a6zfk.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
2
- `:`
3
- `)+z,H=D+1,D=q.indexOf(`
4
- `,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
5
- `);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
6
- export{o as H7,O1 as I7,e as J7};
@@ -1,2 +0,0 @@
1
- import{En as T,Fn as Cq,_u as Pq,cv as cq}from"./cli-0.7.5-1130jhj6.mjs";import{aY as Uq,bY as Iq,eY as kq}from"./cli-0.7.5-6g85h6sa.mjs";import{UZ as L,WZ as O,z0 as hq,zY as aq}from"./cli-0.7.5-4mvg3dke.mjs";import{F2 as J,G2 as Q,H2 as vq}from"./cli-0.7.5-xbqxjykr.mjs";import{R4 as Sq,x4 as bq,y4 as Mq}from"./cli-0.7.5-rqvar6g7.mjs";import{Bda as Bq,Q$ as Nq,S$ as fq,e_ as Xq,f_ as jq,gda as Rq}from"./cli-0.7.5-ghq2axmf.mjs";import{rga as nq}from"./cli-0.7.5-hd1mkmqa.mjs";import{Lqa as yq,Pqa as Gq}from"./cli-0.7.5-012a6zfk.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
2
- export{dq as Of,eq as Pf,Wq as Qf,LH as Rf,uq as Sf};