@georgedong32/ccs 7.67.1 → 8.0.0

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 (1890) hide show
  1. package/.claude/commands/opsx/apply.md +152 -0
  2. package/.claude/commands/opsx/archive.md +157 -0
  3. package/.claude/commands/opsx/continue.md +114 -0
  4. package/.claude/commands/opsx/explore.md +173 -0
  5. package/.claude/commands/opsx/ff.md +97 -0
  6. package/.claude/commands/opsx/new.md +69 -0
  7. package/.claude/commands/opsx/propose.md +106 -0
  8. package/.claude/commands/opsx/sync.md +134 -0
  9. package/.claude/commands/opsx/verify.md +164 -0
  10. package/.claude/settings.local.json +47 -1
  11. package/README.md +49 -4
  12. package/config/base-claude.settings.json +1 -1
  13. package/config/base-codebuddy.settings.json +10 -0
  14. package/config/base-codex.settings.json +4 -4
  15. package/config/base-cursor.settings.json +10 -0
  16. package/config/base-gitlab.settings.json +10 -0
  17. package/config/base-kilo.settings.json +10 -0
  18. package/dist/api/services/cliproxy-profile-bridge.d.ts.map +1 -1
  19. package/dist/api/services/cliproxy-profile-bridge.js +9 -10
  20. package/dist/api/services/cliproxy-profile-bridge.js.map +1 -1
  21. package/dist/api/services/index.d.ts +1 -0
  22. package/dist/api/services/index.d.ts.map +1 -1
  23. package/dist/api/services/index.js +3 -1
  24. package/dist/api/services/index.js.map +1 -1
  25. package/dist/api/services/local-runtime-readiness.d.ts +14 -0
  26. package/dist/api/services/local-runtime-readiness.d.ts.map +1 -0
  27. package/dist/api/services/local-runtime-readiness.js +89 -0
  28. package/dist/api/services/local-runtime-readiness.js.map +1 -0
  29. package/dist/api/services/openrouter-catalog.js +2 -2
  30. package/dist/api/services/openrouter-catalog.js.map +1 -1
  31. package/dist/api/services/profile-lifecycle-service.d.ts.map +1 -1
  32. package/dist/api/services/profile-lifecycle-service.js +6 -6
  33. package/dist/api/services/profile-lifecycle-service.js.map +1 -1
  34. package/dist/api/services/profile-lifecycle-validation.js +1 -1
  35. package/dist/api/services/profile-lifecycle-validation.js.map +1 -1
  36. package/dist/api/services/profile-reader.d.ts.map +1 -1
  37. package/dist/api/services/profile-reader.js +14 -15
  38. package/dist/api/services/profile-reader.js.map +1 -1
  39. package/dist/api/services/profile-writer.d.ts +1 -1
  40. package/dist/api/services/profile-writer.d.ts.map +1 -1
  41. package/dist/api/services/profile-writer.js +25 -19
  42. package/dist/api/services/profile-writer.js.map +1 -1
  43. package/dist/auth/account-profile-diagnostics.d.ts +21 -0
  44. package/dist/auth/account-profile-diagnostics.d.ts.map +1 -0
  45. package/dist/auth/account-profile-diagnostics.js +130 -0
  46. package/dist/auth/account-profile-diagnostics.js.map +1 -0
  47. package/dist/auth/auth-commands.d.ts +2 -1
  48. package/dist/auth/auth-commands.d.ts.map +1 -1
  49. package/dist/auth/auth-commands.js +30 -12
  50. package/dist/auth/auth-commands.js.map +1 -1
  51. package/dist/auth/commands/backup-command.d.ts.map +1 -1
  52. package/dist/auth/commands/backup-command.js +7 -2
  53. package/dist/auth/commands/backup-command.js.map +1 -1
  54. package/dist/auth/commands/create-command-env.d.ts +1 -0
  55. package/dist/auth/commands/create-command-env.d.ts.map +1 -1
  56. package/dist/auth/commands/create-command.d.ts.map +1 -1
  57. package/dist/auth/commands/create-command.js +23 -19
  58. package/dist/auth/commands/create-command.js.map +1 -1
  59. package/dist/auth/commands/default-command.d.ts +1 -1
  60. package/dist/auth/commands/default-command.d.ts.map +1 -1
  61. package/dist/auth/commands/default-command.js +13 -5
  62. package/dist/auth/commands/default-command.js.map +1 -1
  63. package/dist/auth/commands/index.d.ts +1 -0
  64. package/dist/auth/commands/index.d.ts.map +1 -1
  65. package/dist/auth/commands/index.js +3 -1
  66. package/dist/auth/commands/index.js.map +1 -1
  67. package/dist/auth/commands/list-command.d.ts.map +1 -1
  68. package/dist/auth/commands/list-command.js +16 -3
  69. package/dist/auth/commands/list-command.js.map +1 -1
  70. package/dist/auth/commands/remove-command.d.ts.map +1 -1
  71. package/dist/auth/commands/remove-command.js +7 -3
  72. package/dist/auth/commands/remove-command.js.map +1 -1
  73. package/dist/auth/commands/resources-command.d.ts +3 -0
  74. package/dist/auth/commands/resources-command.d.ts.map +1 -0
  75. package/dist/auth/commands/resources-command.js +115 -0
  76. package/dist/auth/commands/resources-command.js.map +1 -0
  77. package/dist/auth/commands/show-command.d.ts.map +1 -1
  78. package/dist/auth/commands/show-command.js +54 -3
  79. package/dist/auth/commands/show-command.js.map +1 -1
  80. package/dist/auth/commands/types.d.ts +31 -1
  81. package/dist/auth/commands/types.d.ts.map +1 -1
  82. package/dist/auth/commands/types.js +41 -2
  83. package/dist/auth/commands/types.js.map +1 -1
  84. package/dist/auth/profile-continuity-inheritance.d.ts.map +1 -1
  85. package/dist/auth/profile-continuity-inheritance.js +6 -5
  86. package/dist/auth/profile-continuity-inheritance.js.map +1 -1
  87. package/dist/auth/profile-detector.d.ts +2 -3
  88. package/dist/auth/profile-detector.d.ts.map +1 -1
  89. package/dist/auth/profile-detector.js +25 -25
  90. package/dist/auth/profile-detector.js.map +1 -1
  91. package/dist/auth/profile-registry.d.ts +2 -0
  92. package/dist/auth/profile-registry.d.ts.map +1 -1
  93. package/dist/auth/profile-registry.js +29 -17
  94. package/dist/auth/profile-registry.js.map +1 -1
  95. package/dist/auth/resume-lane-diagnostics.d.ts.map +1 -1
  96. package/dist/auth/resume-lane-diagnostics.js +2 -2
  97. package/dist/auth/resume-lane-diagnostics.js.map +1 -1
  98. package/dist/auth/shared-resource-policy.d.ts +20 -0
  99. package/dist/auth/shared-resource-policy.d.ts.map +1 -0
  100. package/dist/auth/shared-resource-policy.js +69 -0
  101. package/dist/auth/shared-resource-policy.js.map +1 -0
  102. package/dist/bin/ccsxp-runtime.d.ts +9 -0
  103. package/dist/bin/ccsxp-runtime.d.ts.map +1 -1
  104. package/dist/bin/ccsxp-runtime.js +62 -3
  105. package/dist/bin/ccsxp-runtime.js.map +1 -1
  106. package/dist/ccs.js +65 -1024
  107. package/dist/ccs.js.map +1 -1
  108. package/dist/channels/official-channels-ids.d.ts +21 -0
  109. package/dist/channels/official-channels-ids.d.ts.map +1 -0
  110. package/dist/channels/official-channels-ids.js +46 -0
  111. package/dist/channels/official-channels-ids.js.map +1 -0
  112. package/dist/channels/official-channels-runtime.d.ts +3 -5
  113. package/dist/channels/official-channels-runtime.d.ts.map +1 -1
  114. package/dist/channels/official-channels-runtime.js +25 -29
  115. package/dist/channels/official-channels-runtime.js.map +1 -1
  116. package/dist/channels/official-channels-store.d.ts +1 -0
  117. package/dist/channels/official-channels-store.d.ts.map +1 -1
  118. package/dist/channels/official-channels-store.js +5 -6
  119. package/dist/channels/official-channels-store.js.map +1 -1
  120. package/dist/cliproxy/accounts/account-manager.d.ts +16 -0
  121. package/dist/cliproxy/accounts/account-manager.d.ts.map +1 -0
  122. package/dist/cliproxy/accounts/account-manager.js +51 -0
  123. package/dist/cliproxy/accounts/account-manager.js.map +1 -0
  124. package/dist/cliproxy/accounts/account-safety.d.ts +103 -0
  125. package/dist/cliproxy/accounts/account-safety.d.ts.map +1 -0
  126. package/dist/cliproxy/accounts/account-safety.js +614 -0
  127. package/dist/cliproxy/accounts/account-safety.js.map +1 -0
  128. package/dist/cliproxy/accounts/account-stats-key.d.ts.map +1 -0
  129. package/dist/cliproxy/accounts/account-stats-key.js.map +1 -0
  130. package/dist/cliproxy/accounts/email-account-identity.d.ts.map +1 -1
  131. package/dist/cliproxy/accounts/email-account-identity.js +22 -2
  132. package/dist/cliproxy/accounts/email-account-identity.js.map +1 -1
  133. package/dist/cliproxy/accounts/registry.js +1 -1
  134. package/dist/cliproxy/accounts/registry.js.map +1 -1
  135. package/dist/cliproxy/accounts/token-file-ops.js +1 -1
  136. package/dist/cliproxy/accounts/token-file-ops.js.map +1 -1
  137. package/dist/cliproxy/accounts/types.d.ts +1 -1
  138. package/dist/cliproxy/accounts/types.d.ts.map +1 -1
  139. package/dist/cliproxy/ai-providers/codex-plan-compatibility.d.ts +38 -0
  140. package/dist/cliproxy/ai-providers/codex-plan-compatibility.d.ts.map +1 -0
  141. package/dist/cliproxy/ai-providers/codex-plan-compatibility.js +131 -0
  142. package/dist/cliproxy/ai-providers/codex-plan-compatibility.js.map +1 -0
  143. package/dist/cliproxy/ai-providers/codex-reasoning-proxy.d.ts +71 -0
  144. package/dist/cliproxy/ai-providers/codex-reasoning-proxy.d.ts.map +1 -0
  145. package/dist/cliproxy/ai-providers/codex-reasoning-proxy.js +565 -0
  146. package/dist/cliproxy/ai-providers/codex-reasoning-proxy.js.map +1 -0
  147. package/dist/cliproxy/ai-providers/config-store.js +3 -3
  148. package/dist/cliproxy/ai-providers/config-store.js.map +1 -1
  149. package/dist/cliproxy/ai-providers/managed-model-prefixes.d.ts +7 -0
  150. package/dist/cliproxy/ai-providers/managed-model-prefixes.d.ts.map +1 -0
  151. package/dist/cliproxy/ai-providers/managed-model-prefixes.js +116 -0
  152. package/dist/cliproxy/ai-providers/managed-model-prefixes.js.map +1 -0
  153. package/dist/cliproxy/ai-providers/model-id-normalizer.d.ts +108 -0
  154. package/dist/cliproxy/ai-providers/model-id-normalizer.d.ts.map +1 -0
  155. package/dist/cliproxy/ai-providers/model-id-normalizer.js +293 -0
  156. package/dist/cliproxy/ai-providers/model-id-normalizer.js.map +1 -0
  157. package/dist/cliproxy/ai-providers/openai-compat-manager.d.ts.map +1 -0
  158. package/dist/cliproxy/ai-providers/openai-compat-manager.js +203 -0
  159. package/dist/cliproxy/ai-providers/openai-compat-manager.js.map +1 -0
  160. package/dist/cliproxy/ai-providers/schema-sanitizer.d.ts.map +1 -0
  161. package/dist/cliproxy/ai-providers/schema-sanitizer.js.map +1 -0
  162. package/dist/cliproxy/ai-providers/service.d.ts.map +1 -1
  163. package/dist/cliproxy/ai-providers/service.js +10 -3
  164. package/dist/cliproxy/ai-providers/service.js.map +1 -1
  165. package/dist/cliproxy/ai-providers/tool-name-mapper.d.ts +108 -0
  166. package/dist/cliproxy/ai-providers/tool-name-mapper.d.ts.map +1 -0
  167. package/dist/cliproxy/ai-providers/tool-name-mapper.js +163 -0
  168. package/dist/cliproxy/ai-providers/tool-name-mapper.js.map +1 -0
  169. package/dist/cliproxy/ai-providers/tool-name-sanitizer.d.ts +66 -0
  170. package/dist/cliproxy/ai-providers/tool-name-sanitizer.d.ts.map +1 -0
  171. package/dist/cliproxy/ai-providers/tool-name-sanitizer.js +138 -0
  172. package/dist/cliproxy/ai-providers/tool-name-sanitizer.js.map +1 -0
  173. package/dist/cliproxy/auth/antigravity-responsibility.d.ts.map +1 -0
  174. package/dist/cliproxy/auth/antigravity-responsibility.js +171 -0
  175. package/dist/cliproxy/auth/antigravity-responsibility.js.map +1 -0
  176. package/dist/cliproxy/auth/auth-handler.d.ts +31 -0
  177. package/dist/cliproxy/auth/auth-handler.d.ts.map +1 -0
  178. package/dist/cliproxy/auth/auth-handler.js +60 -0
  179. package/dist/cliproxy/auth/auth-handler.js.map +1 -0
  180. package/dist/cliproxy/auth/auth-session-manager.d.ts +51 -0
  181. package/dist/cliproxy/auth/auth-session-manager.d.ts.map +1 -0
  182. package/dist/cliproxy/auth/auth-session-manager.js +141 -0
  183. package/dist/cliproxy/auth/auth-session-manager.js.map +1 -0
  184. package/dist/cliproxy/auth/auth-token-manager.d.ts.map +1 -0
  185. package/dist/cliproxy/auth/auth-token-manager.js +184 -0
  186. package/dist/cliproxy/auth/auth-token-manager.js.map +1 -0
  187. package/dist/cliproxy/auth/auth-types.d.ts +40 -7
  188. package/dist/cliproxy/auth/auth-types.d.ts.map +1 -1
  189. package/dist/cliproxy/auth/auth-types.js +90 -10
  190. package/dist/cliproxy/auth/auth-types.js.map +1 -1
  191. package/dist/cliproxy/auth/auth-utils.d.ts +17 -0
  192. package/dist/cliproxy/auth/auth-utils.d.ts.map +1 -0
  193. package/dist/cliproxy/auth/auth-utils.js +58 -0
  194. package/dist/cliproxy/auth/auth-utils.js.map +1 -0
  195. package/dist/cliproxy/auth/device-code-handler.d.ts.map +1 -0
  196. package/dist/cliproxy/auth/device-code-handler.js.map +1 -0
  197. package/dist/cliproxy/auth/gitlab-pat-response.d.ts +9 -0
  198. package/dist/cliproxy/auth/gitlab-pat-response.d.ts.map +1 -0
  199. package/dist/cliproxy/auth/gitlab-pat-response.js +64 -0
  200. package/dist/cliproxy/auth/gitlab-pat-response.js.map +1 -0
  201. package/dist/cliproxy/auth/kiro-import.js +2 -2
  202. package/dist/cliproxy/auth/kiro-import.js.map +1 -1
  203. package/dist/cliproxy/auth/oauth-handler.d.ts +50 -4
  204. package/dist/cliproxy/auth/oauth-handler.d.ts.map +1 -1
  205. package/dist/cliproxy/auth/oauth-handler.js +443 -51
  206. package/dist/cliproxy/auth/oauth-handler.js.map +1 -1
  207. package/dist/cliproxy/auth/oauth-process.d.ts +27 -2
  208. package/dist/cliproxy/auth/oauth-process.d.ts.map +1 -1
  209. package/dist/cliproxy/auth/oauth-process.js +409 -53
  210. package/dist/cliproxy/auth/oauth-process.js.map +1 -1
  211. package/dist/cliproxy/auth/oauth-start-failure-guidance.d.ts +22 -0
  212. package/dist/cliproxy/auth/oauth-start-failure-guidance.d.ts.map +1 -0
  213. package/dist/cliproxy/auth/oauth-start-failure-guidance.js +82 -0
  214. package/dist/cliproxy/auth/oauth-start-failure-guidance.js.map +1 -0
  215. package/dist/cliproxy/auth/oauth-trace/diagnose-failure.d.ts +24 -0
  216. package/dist/cliproxy/auth/oauth-trace/diagnose-failure.d.ts.map +1 -0
  217. package/dist/cliproxy/auth/oauth-trace/diagnose-failure.js +159 -0
  218. package/dist/cliproxy/auth/oauth-trace/diagnose-failure.js.map +1 -0
  219. package/dist/cliproxy/auth/oauth-trace/index.d.ts +4 -0
  220. package/dist/cliproxy/auth/oauth-trace/index.d.ts.map +1 -0
  221. package/dist/cliproxy/auth/oauth-trace/index.js +14 -0
  222. package/dist/cliproxy/auth/oauth-trace/index.js.map +1 -0
  223. package/dist/cliproxy/auth/oauth-trace/redactor.d.ts +22 -0
  224. package/dist/cliproxy/auth/oauth-trace/redactor.d.ts.map +1 -0
  225. package/dist/cliproxy/auth/oauth-trace/redactor.js +120 -0
  226. package/dist/cliproxy/auth/oauth-trace/redactor.js.map +1 -0
  227. package/dist/cliproxy/auth/oauth-trace/sink-file.d.ts +18 -0
  228. package/dist/cliproxy/auth/oauth-trace/sink-file.d.ts.map +1 -0
  229. package/dist/cliproxy/auth/oauth-trace/sink-file.js +90 -0
  230. package/dist/cliproxy/auth/oauth-trace/sink-file.js.map +1 -0
  231. package/dist/cliproxy/auth/oauth-trace/sink-memory.d.ts +13 -0
  232. package/dist/cliproxy/auth/oauth-trace/sink-memory.d.ts.map +1 -0
  233. package/dist/cliproxy/auth/oauth-trace/sink-memory.js +31 -0
  234. package/dist/cliproxy/auth/oauth-trace/sink-memory.js.map +1 -0
  235. package/dist/cliproxy/auth/oauth-trace/sink-verbose-stdout.d.ts +11 -0
  236. package/dist/cliproxy/auth/oauth-trace/sink-verbose-stdout.d.ts.map +1 -0
  237. package/dist/cliproxy/auth/oauth-trace/sink-verbose-stdout.js +47 -0
  238. package/dist/cliproxy/auth/oauth-trace/sink-verbose-stdout.js.map +1 -0
  239. package/dist/cliproxy/auth/oauth-trace/trace-events.d.ts +51 -0
  240. package/dist/cliproxy/auth/oauth-trace/trace-events.d.ts.map +1 -0
  241. package/dist/cliproxy/auth/oauth-trace/trace-events.js +44 -0
  242. package/dist/cliproxy/auth/oauth-trace/trace-events.js.map +1 -0
  243. package/dist/cliproxy/auth/oauth-trace/trace-recorder.d.ts +34 -0
  244. package/dist/cliproxy/auth/oauth-trace/trace-recorder.d.ts.map +1 -0
  245. package/dist/cliproxy/auth/oauth-trace/trace-recorder.js +83 -0
  246. package/dist/cliproxy/auth/oauth-trace/trace-recorder.js.map +1 -0
  247. package/dist/cliproxy/auth/project-selection-handler.d.ts.map +1 -0
  248. package/dist/cliproxy/auth/project-selection-handler.js.map +1 -0
  249. package/dist/cliproxy/auth/provider-entitlement-evidence.d.ts +17 -0
  250. package/dist/cliproxy/auth/provider-entitlement-evidence.d.ts.map +1 -0
  251. package/dist/cliproxy/auth/provider-entitlement-evidence.js +55 -0
  252. package/dist/cliproxy/auth/provider-entitlement-evidence.js.map +1 -0
  253. package/dist/cliproxy/auth/provider-entitlement-types.d.ts +16 -0
  254. package/dist/cliproxy/auth/provider-entitlement-types.d.ts.map +1 -0
  255. package/dist/cliproxy/auth/provider-entitlement-types.js +3 -0
  256. package/dist/cliproxy/auth/provider-entitlement-types.js.map +1 -0
  257. package/dist/cliproxy/auth/provider-refreshers/index.d.ts +1 -2
  258. package/dist/cliproxy/auth/provider-refreshers/index.d.ts.map +1 -1
  259. package/dist/cliproxy/auth/provider-refreshers/index.js +7 -26
  260. package/dist/cliproxy/auth/provider-refreshers/index.js.map +1 -1
  261. package/dist/cliproxy/auth/token-expiry-checker.js +1 -1
  262. package/dist/cliproxy/auth/token-expiry-checker.js.map +1 -1
  263. package/dist/cliproxy/auth/token-manager.d.ts +11 -2
  264. package/dist/cliproxy/auth/token-manager.d.ts.map +1 -1
  265. package/dist/cliproxy/auth/token-manager.js +117 -68
  266. package/dist/cliproxy/auth/token-manager.js.map +1 -1
  267. package/dist/cliproxy/auth/token-refresh-config.d.ts.map +1 -1
  268. package/dist/cliproxy/auth/token-refresh-config.js +2 -2
  269. package/dist/cliproxy/auth/token-refresh-config.js.map +1 -1
  270. package/dist/cliproxy/binary/extractor.js +1 -1
  271. package/dist/cliproxy/binary/extractor.js.map +1 -1
  272. package/dist/cliproxy/binary/installer.d.ts +1 -1
  273. package/dist/cliproxy/binary/installer.d.ts.map +1 -1
  274. package/dist/cliproxy/binary/installer.js +1 -1
  275. package/dist/cliproxy/binary/installer.js.map +1 -1
  276. package/dist/cliproxy/binary/lifecycle.d.ts.map +1 -1
  277. package/dist/cliproxy/binary/lifecycle.js +18 -6
  278. package/dist/cliproxy/binary/lifecycle.js.map +1 -1
  279. package/dist/cliproxy/binary/platform-detector.d.ts +106 -0
  280. package/dist/cliproxy/binary/platform-detector.d.ts.map +1 -0
  281. package/dist/cliproxy/binary/platform-detector.js +191 -0
  282. package/dist/cliproxy/binary/platform-detector.js.map +1 -0
  283. package/dist/cliproxy/binary/tar-extractor.d.ts.map +1 -1
  284. package/dist/cliproxy/binary/tar-extractor.js +1 -1
  285. package/dist/cliproxy/binary/tar-extractor.js.map +1 -1
  286. package/dist/cliproxy/binary/types.d.ts +3 -3
  287. package/dist/cliproxy/binary/types.d.ts.map +1 -1
  288. package/dist/cliproxy/binary/types.js +3 -3
  289. package/dist/cliproxy/binary/types.js.map +1 -1
  290. package/dist/cliproxy/binary/version-cache.d.ts +10 -0
  291. package/dist/cliproxy/binary/version-cache.d.ts.map +1 -1
  292. package/dist/cliproxy/binary/version-cache.js +31 -9
  293. package/dist/cliproxy/binary/version-cache.js.map +1 -1
  294. package/dist/cliproxy/binary/version-checker.d.ts +14 -3
  295. package/dist/cliproxy/binary/version-checker.d.ts.map +1 -1
  296. package/dist/cliproxy/binary/version-checker.js +66 -37
  297. package/dist/cliproxy/binary/version-checker.js.map +1 -1
  298. package/dist/cliproxy/binary/zip-extractor.d.ts.map +1 -1
  299. package/dist/cliproxy/binary/zip-extractor.js +1 -1
  300. package/dist/cliproxy/binary/zip-extractor.js.map +1 -1
  301. package/dist/cliproxy/binary-manager.d.ts +22 -1
  302. package/dist/cliproxy/binary-manager.d.ts.map +1 -1
  303. package/dist/cliproxy/binary-manager.js +126 -19
  304. package/dist/cliproxy/binary-manager.js.map +1 -1
  305. package/dist/cliproxy/config/base-config-loader.d.ts +43 -0
  306. package/dist/cliproxy/config/base-config-loader.d.ts.map +1 -0
  307. package/dist/cliproxy/config/base-config-loader.js +123 -0
  308. package/dist/cliproxy/config/base-config-loader.js.map +1 -0
  309. package/dist/cliproxy/config/composite-validator.d.ts.map +1 -0
  310. package/dist/cliproxy/config/composite-validator.js +94 -0
  311. package/dist/cliproxy/config/composite-validator.js.map +1 -0
  312. package/dist/cliproxy/config/config-generator.d.ts +15 -0
  313. package/dist/cliproxy/config/config-generator.d.ts.map +1 -0
  314. package/dist/cliproxy/config/config-generator.js +32 -0
  315. package/dist/cliproxy/config/config-generator.js.map +1 -0
  316. package/dist/cliproxy/config/env-builder.d.ts +6 -0
  317. package/dist/cliproxy/config/env-builder.d.ts.map +1 -1
  318. package/dist/cliproxy/config/env-builder.js +60 -65
  319. package/dist/cliproxy/config/env-builder.js.map +1 -1
  320. package/dist/cliproxy/config/extended-context-config.d.ts +1 -0
  321. package/dist/cliproxy/config/extended-context-config.d.ts.map +1 -1
  322. package/dist/cliproxy/config/generator.d.ts +14 -3
  323. package/dist/cliproxy/config/generator.d.ts.map +1 -1
  324. package/dist/cliproxy/config/generator.js +96 -19
  325. package/dist/cliproxy/config/generator.js.map +1 -1
  326. package/dist/cliproxy/config/model-config.d.ts +31 -0
  327. package/dist/cliproxy/config/model-config.d.ts.map +1 -0
  328. package/dist/cliproxy/config/model-config.js +264 -0
  329. package/dist/cliproxy/config/model-config.js.map +1 -0
  330. package/dist/cliproxy/config/path-resolver.d.ts +21 -0
  331. package/dist/cliproxy/config/path-resolver.d.ts.map +1 -1
  332. package/dist/cliproxy/config/path-resolver.js +45 -5
  333. package/dist/cliproxy/config/path-resolver.js.map +1 -1
  334. package/dist/cliproxy/config/port-manager.d.ts +6 -0
  335. package/dist/cliproxy/config/port-manager.d.ts.map +1 -1
  336. package/dist/cliproxy/config/port-manager.js +19 -1
  337. package/dist/cliproxy/config/port-manager.js.map +1 -1
  338. package/dist/cliproxy/config/thinking-config.d.ts +1 -0
  339. package/dist/cliproxy/config/thinking-config.d.ts.map +1 -1
  340. package/dist/cliproxy/config/thinking-config.js +21 -12
  341. package/dist/cliproxy/config/thinking-config.js.map +1 -1
  342. package/dist/cliproxy/executor/account-resolution.d.ts +52 -0
  343. package/dist/cliproxy/executor/account-resolution.d.ts.map +1 -0
  344. package/dist/cliproxy/executor/account-resolution.js +154 -0
  345. package/dist/cliproxy/executor/account-resolution.js.map +1 -0
  346. package/dist/cliproxy/executor/arg-parser.d.ts +96 -0
  347. package/dist/cliproxy/executor/arg-parser.d.ts.map +1 -0
  348. package/dist/cliproxy/executor/arg-parser.js +529 -0
  349. package/dist/cliproxy/executor/arg-parser.js.map +1 -0
  350. package/dist/cliproxy/executor/auth-coordinator.d.ts +96 -0
  351. package/dist/cliproxy/executor/auth-coordinator.d.ts.map +1 -0
  352. package/dist/cliproxy/executor/auth-coordinator.js +342 -0
  353. package/dist/cliproxy/executor/auth-coordinator.js.map +1 -0
  354. package/dist/cliproxy/executor/browser-launch-setup.d.ts +36 -0
  355. package/dist/cliproxy/executor/browser-launch-setup.d.ts.map +1 -0
  356. package/dist/cliproxy/executor/browser-launch-setup.js +80 -0
  357. package/dist/cliproxy/executor/browser-launch-setup.js.map +1 -0
  358. package/dist/cliproxy/executor/claude-launcher.d.ts +55 -0
  359. package/dist/cliproxy/executor/claude-launcher.d.ts.map +1 -0
  360. package/dist/cliproxy/executor/claude-launcher.js +125 -0
  361. package/dist/cliproxy/executor/claude-launcher.js.map +1 -0
  362. package/dist/cliproxy/executor/cliproxy-executor.d.ts +16 -0
  363. package/dist/cliproxy/executor/cliproxy-executor.d.ts.map +1 -0
  364. package/dist/cliproxy/executor/cliproxy-executor.js +27 -0
  365. package/dist/cliproxy/executor/cliproxy-executor.js.map +1 -0
  366. package/dist/cliproxy/executor/env-resolver.d.ts +7 -5
  367. package/dist/cliproxy/executor/env-resolver.d.ts.map +1 -1
  368. package/dist/cliproxy/executor/env-resolver.js +7 -6
  369. package/dist/cliproxy/executor/env-resolver.js.map +1 -1
  370. package/dist/cliproxy/executor/https-tunnel-policy.d.ts +17 -0
  371. package/dist/cliproxy/executor/https-tunnel-policy.d.ts.map +1 -0
  372. package/dist/cliproxy/executor/https-tunnel-policy.js +20 -0
  373. package/dist/cliproxy/executor/https-tunnel-policy.js.map +1 -0
  374. package/dist/cliproxy/executor/index.d.ts +6 -0
  375. package/dist/cliproxy/executor/index.d.ts.map +1 -1
  376. package/dist/cliproxy/executor/index.js +144 -693
  377. package/dist/cliproxy/executor/index.js.map +1 -1
  378. package/dist/cliproxy/executor/lifecycle-manager.js +1 -1
  379. package/dist/cliproxy/executor/lifecycle-manager.js.map +1 -1
  380. package/dist/cliproxy/executor/model-warnings.d.ts +22 -0
  381. package/dist/cliproxy/executor/model-warnings.d.ts.map +1 -0
  382. package/dist/cliproxy/executor/model-warnings.js +67 -0
  383. package/dist/cliproxy/executor/model-warnings.js.map +1 -0
  384. package/dist/cliproxy/executor/proxy-chain-builder.d.ts +71 -0
  385. package/dist/cliproxy/executor/proxy-chain-builder.d.ts.map +1 -0
  386. package/dist/cliproxy/executor/proxy-chain-builder.js +143 -0
  387. package/dist/cliproxy/executor/proxy-chain-builder.js.map +1 -0
  388. package/dist/cliproxy/executor/proxy-resolver.d.ts +44 -0
  389. package/dist/cliproxy/executor/proxy-resolver.d.ts.map +1 -0
  390. package/dist/cliproxy/executor/proxy-resolver.js +173 -0
  391. package/dist/cliproxy/executor/proxy-resolver.js.map +1 -0
  392. package/dist/cliproxy/executor/retry-handler.js +4 -4
  393. package/dist/cliproxy/executor/retry-handler.js.map +1 -1
  394. package/dist/cliproxy/executor/session-bridge.d.ts +16 -1
  395. package/dist/cliproxy/executor/session-bridge.d.ts.map +1 -1
  396. package/dist/cliproxy/executor/session-bridge.js +92 -57
  397. package/dist/cliproxy/executor/session-bridge.js.map +1 -1
  398. package/dist/cliproxy/index.d.ts +32 -32
  399. package/dist/cliproxy/index.d.ts.map +1 -1
  400. package/dist/cliproxy/index.js +20 -20
  401. package/dist/cliproxy/index.js.map +1 -1
  402. package/dist/cliproxy/management/management-api-client.d.ts +90 -0
  403. package/dist/cliproxy/management/management-api-client.d.ts.map +1 -0
  404. package/dist/cliproxy/management/management-api-client.js +396 -0
  405. package/dist/cliproxy/management/management-api-client.js.map +1 -0
  406. package/dist/cliproxy/management/management-api-types.d.ts.map +1 -0
  407. package/dist/cliproxy/management/management-api-types.js.map +1 -0
  408. package/dist/cliproxy/management/remote-token-uploader.d.ts.map +1 -0
  409. package/dist/cliproxy/management/remote-token-uploader.js +178 -0
  410. package/dist/cliproxy/management/remote-token-uploader.js.map +1 -0
  411. package/dist/cliproxy/model-catalog.d.ts +3 -1
  412. package/dist/cliproxy/model-catalog.d.ts.map +1 -1
  413. package/dist/cliproxy/model-catalog.js +60 -59
  414. package/dist/cliproxy/model-catalog.js.map +1 -1
  415. package/dist/cliproxy/provider-capabilities.d.ts +3 -0
  416. package/dist/cliproxy/provider-capabilities.d.ts.map +1 -1
  417. package/dist/cliproxy/provider-capabilities.js +63 -3
  418. package/dist/cliproxy/provider-capabilities.js.map +1 -1
  419. package/dist/cliproxy/proxy/https-tunnel-proxy.d.ts.map +1 -0
  420. package/dist/cliproxy/proxy/https-tunnel-proxy.js +229 -0
  421. package/dist/cliproxy/proxy/https-tunnel-proxy.js.map +1 -0
  422. package/dist/cliproxy/proxy/proxy-config-resolver.d.ts +87 -0
  423. package/dist/cliproxy/proxy/proxy-config-resolver.d.ts.map +1 -0
  424. package/dist/cliproxy/proxy/proxy-config-resolver.js +254 -0
  425. package/dist/cliproxy/proxy/proxy-config-resolver.js.map +1 -0
  426. package/dist/cliproxy/proxy/proxy-detector.d.ts +72 -0
  427. package/dist/cliproxy/proxy/proxy-detector.d.ts.map +1 -0
  428. package/dist/cliproxy/proxy/proxy-detector.js +200 -0
  429. package/dist/cliproxy/proxy/proxy-detector.js.map +1 -0
  430. package/dist/cliproxy/proxy/proxy-target-resolver.d.ts.map +1 -0
  431. package/dist/cliproxy/proxy/proxy-target-resolver.js +108 -0
  432. package/dist/cliproxy/proxy/proxy-target-resolver.js.map +1 -0
  433. package/dist/cliproxy/proxy/tool-sanitization-proxy.d.ts +82 -0
  434. package/dist/cliproxy/proxy/tool-sanitization-proxy.d.ts.map +1 -0
  435. package/dist/cliproxy/proxy/tool-sanitization-proxy.js +668 -0
  436. package/dist/cliproxy/proxy/tool-sanitization-proxy.js.map +1 -0
  437. package/dist/cliproxy/quota/gemini-cli-quota-normalizer.d.ts.map +1 -0
  438. package/dist/cliproxy/quota/gemini-cli-quota-normalizer.js +122 -0
  439. package/dist/cliproxy/quota/gemini-cli-quota-normalizer.js.map +1 -0
  440. package/dist/cliproxy/quota/quota-fetcher-claude-normalizer.d.ts +14 -0
  441. package/dist/cliproxy/quota/quota-fetcher-claude-normalizer.d.ts.map +1 -0
  442. package/dist/cliproxy/quota/quota-fetcher-claude-normalizer.js +322 -0
  443. package/dist/cliproxy/quota/quota-fetcher-claude-normalizer.js.map +1 -0
  444. package/dist/cliproxy/quota/quota-fetcher-claude.d.ts +21 -0
  445. package/dist/cliproxy/quota/quota-fetcher-claude.d.ts.map +1 -0
  446. package/dist/cliproxy/quota/quota-fetcher-claude.js +292 -0
  447. package/dist/cliproxy/quota/quota-fetcher-claude.js.map +1 -0
  448. package/dist/cliproxy/quota/quota-fetcher-codex.d.ts +84 -0
  449. package/dist/cliproxy/quota/quota-fetcher-codex.d.ts.map +1 -0
  450. package/dist/cliproxy/quota/quota-fetcher-codex.js +651 -0
  451. package/dist/cliproxy/quota/quota-fetcher-codex.js.map +1 -0
  452. package/dist/cliproxy/quota/quota-fetcher-gemini-cli.d.ts.map +1 -0
  453. package/dist/cliproxy/quota/quota-fetcher-gemini-cli.js +828 -0
  454. package/dist/cliproxy/quota/quota-fetcher-gemini-cli.js.map +1 -0
  455. package/dist/cliproxy/quota/quota-fetcher-ghcp.d.ts.map +1 -0
  456. package/dist/cliproxy/quota/quota-fetcher-ghcp.js +218 -0
  457. package/dist/cliproxy/quota/quota-fetcher-ghcp.js.map +1 -0
  458. package/dist/cliproxy/quota/quota-fetcher.d.ts +117 -0
  459. package/dist/cliproxy/quota/quota-fetcher.d.ts.map +1 -0
  460. package/dist/cliproxy/quota/quota-fetcher.js +771 -0
  461. package/dist/cliproxy/quota/quota-fetcher.js.map +1 -0
  462. package/dist/cliproxy/quota/quota-manager.d.ts +109 -0
  463. package/dist/cliproxy/quota/quota-manager.d.ts.map +1 -0
  464. package/dist/cliproxy/quota/quota-manager.js +672 -0
  465. package/dist/cliproxy/quota/quota-manager.js.map +1 -0
  466. package/dist/cliproxy/quota/quota-response-cache.d.ts.map +1 -0
  467. package/dist/cliproxy/quota/quota-response-cache.js.map +1 -0
  468. package/dist/cliproxy/quota/quota-types.d.ts +262 -0
  469. package/dist/cliproxy/quota/quota-types.d.ts.map +1 -0
  470. package/dist/cliproxy/quota/quota-types.js.map +1 -0
  471. package/dist/cliproxy/routing/routing-strategy-http.d.ts +8 -0
  472. package/dist/cliproxy/routing/routing-strategy-http.d.ts.map +1 -0
  473. package/dist/cliproxy/routing/routing-strategy-http.js +120 -0
  474. package/dist/cliproxy/routing/routing-strategy-http.js.map +1 -0
  475. package/dist/cliproxy/routing/routing-strategy.d.ts +41 -0
  476. package/dist/cliproxy/routing/routing-strategy.d.ts.map +1 -0
  477. package/dist/cliproxy/routing/routing-strategy.js +272 -0
  478. package/dist/cliproxy/routing/routing-strategy.js.map +1 -0
  479. package/dist/cliproxy/service-manager.d.ts +17 -1
  480. package/dist/cliproxy/service-manager.d.ts.map +1 -1
  481. package/dist/cliproxy/service-manager.js +19 -11
  482. package/dist/cliproxy/service-manager.js.map +1 -1
  483. package/dist/cliproxy/services/binary-service.d.ts.map +1 -1
  484. package/dist/cliproxy/services/binary-service.js +16 -9
  485. package/dist/cliproxy/services/binary-service.js.map +1 -1
  486. package/dist/cliproxy/services/catalog-cache.d.ts +47 -0
  487. package/dist/cliproxy/services/catalog-cache.d.ts.map +1 -0
  488. package/dist/cliproxy/services/catalog-cache.js +347 -0
  489. package/dist/cliproxy/services/catalog-cache.js.map +1 -0
  490. package/dist/cliproxy/services/catalog-routing.d.ts +12 -0
  491. package/dist/cliproxy/services/catalog-routing.d.ts.map +1 -0
  492. package/dist/cliproxy/services/catalog-routing.js +19 -0
  493. package/dist/cliproxy/services/catalog-routing.js.map +1 -0
  494. package/dist/cliproxy/services/oauth-usage-log-transformer.d.ts +4 -0
  495. package/dist/cliproxy/services/oauth-usage-log-transformer.d.ts.map +1 -0
  496. package/dist/cliproxy/services/oauth-usage-log-transformer.js +162 -0
  497. package/dist/cliproxy/services/oauth-usage-log-transformer.js.map +1 -0
  498. package/dist/cliproxy/services/proxy-lifecycle-service.d.ts +1 -0
  499. package/dist/cliproxy/services/proxy-lifecycle-service.d.ts.map +1 -1
  500. package/dist/cliproxy/services/proxy-lifecycle-service.js +6 -6
  501. package/dist/cliproxy/services/proxy-lifecycle-service.js.map +1 -1
  502. package/dist/cliproxy/services/remote-auth-fetcher.d.ts +30 -0
  503. package/dist/cliproxy/services/remote-auth-fetcher.d.ts.map +1 -0
  504. package/dist/cliproxy/services/remote-auth-fetcher.js +177 -0
  505. package/dist/cliproxy/services/remote-auth-fetcher.js.map +1 -0
  506. package/dist/cliproxy/services/remote-proxy-client.d.ts.map +1 -0
  507. package/dist/cliproxy/services/remote-proxy-client.js +281 -0
  508. package/dist/cliproxy/services/remote-proxy-client.js.map +1 -0
  509. package/dist/cliproxy/services/startup-lock.d.ts.map +1 -0
  510. package/dist/cliproxy/services/startup-lock.js +220 -0
  511. package/dist/cliproxy/services/startup-lock.js.map +1 -0
  512. package/dist/cliproxy/services/stats-fetcher.d.ts +162 -0
  513. package/dist/cliproxy/services/stats-fetcher.d.ts.map +1 -0
  514. package/dist/cliproxy/services/stats-fetcher.js +354 -0
  515. package/dist/cliproxy/services/stats-fetcher.js.map +1 -0
  516. package/dist/cliproxy/services/stats-transformer.d.ts.map +1 -0
  517. package/dist/cliproxy/services/stats-transformer.js +224 -0
  518. package/dist/cliproxy/services/stats-transformer.js.map +1 -0
  519. package/dist/cliproxy/services/usage-compatibility-transformer.d.ts +12 -0
  520. package/dist/cliproxy/services/usage-compatibility-transformer.d.ts.map +1 -0
  521. package/dist/cliproxy/services/usage-compatibility-transformer.js +458 -0
  522. package/dist/cliproxy/services/usage-compatibility-transformer.js.map +1 -0
  523. package/dist/cliproxy/services/variant-config-adapter.d.ts.map +1 -1
  524. package/dist/cliproxy/services/variant-config-adapter.js +11 -11
  525. package/dist/cliproxy/services/variant-config-adapter.js.map +1 -1
  526. package/dist/cliproxy/services/variant-service.d.ts +2 -1
  527. package/dist/cliproxy/services/variant-service.d.ts.map +1 -1
  528. package/dist/cliproxy/services/variant-service.js +21 -24
  529. package/dist/cliproxy/services/variant-service.js.map +1 -1
  530. package/dist/cliproxy/services/variant-settings.d.ts.map +1 -1
  531. package/dist/cliproxy/services/variant-settings.js +53 -42
  532. package/dist/cliproxy/services/variant-settings.js.map +1 -1
  533. package/dist/cliproxy/session-tracker.js +2 -2
  534. package/dist/cliproxy/session-tracker.js.map +1 -1
  535. package/dist/cliproxy/sync/auto-sync-watcher.js +3 -4
  536. package/dist/cliproxy/sync/auto-sync-watcher.js.map +1 -1
  537. package/dist/cliproxy/sync/local-config-sync.js +1 -1
  538. package/dist/cliproxy/sync/local-config-sync.js.map +1 -1
  539. package/dist/cliproxy/sync/profile-mapper.d.ts +1 -1
  540. package/dist/cliproxy/sync/profile-mapper.d.ts.map +1 -1
  541. package/dist/cliproxy/sync/profile-mapper.js +23 -2
  542. package/dist/cliproxy/sync/profile-mapper.js.map +1 -1
  543. package/dist/cliproxy/thinking-validator.d.ts +6 -1
  544. package/dist/cliproxy/thinking-validator.d.ts.map +1 -1
  545. package/dist/cliproxy/thinking-validator.js +22 -2
  546. package/dist/cliproxy/thinking-validator.js.map +1 -1
  547. package/dist/cliproxy/types/binary-types.d.ts +48 -0
  548. package/dist/cliproxy/types/binary-types.d.ts.map +1 -0
  549. package/dist/cliproxy/types/binary-types.js +6 -0
  550. package/dist/cliproxy/types/binary-types.js.map +1 -0
  551. package/dist/cliproxy/types/config-types.d.ts +89 -0
  552. package/dist/cliproxy/types/config-types.d.ts.map +1 -0
  553. package/dist/cliproxy/types/config-types.js +6 -0
  554. package/dist/cliproxy/types/config-types.js.map +1 -0
  555. package/dist/cliproxy/types/index.d.ts +5 -0
  556. package/dist/cliproxy/types/index.d.ts.map +1 -0
  557. package/dist/cliproxy/types/index.js +21 -0
  558. package/dist/cliproxy/types/index.js.map +1 -0
  559. package/dist/cliproxy/types/platform-types.d.ts +17 -0
  560. package/dist/cliproxy/types/platform-types.d.ts.map +1 -0
  561. package/dist/cliproxy/types/platform-types.js +6 -0
  562. package/dist/cliproxy/types/platform-types.js.map +1 -0
  563. package/dist/cliproxy/types/provider-types.d.ts +27 -0
  564. package/dist/cliproxy/types/provider-types.d.ts.map +1 -0
  565. package/dist/cliproxy/types/provider-types.js +16 -0
  566. package/dist/cliproxy/types/provider-types.js.map +1 -0
  567. package/dist/cliproxy/types.d.ts +4 -255
  568. package/dist/cliproxy/types.d.ts.map +1 -1
  569. package/dist/cliproxy/types.js +18 -7
  570. package/dist/cliproxy/types.js.map +1 -1
  571. package/dist/commands/api-command/create-command.d.ts +3 -0
  572. package/dist/commands/api-command/create-command.d.ts.map +1 -1
  573. package/dist/commands/api-command/create-command.js +24 -7
  574. package/dist/commands/api-command/create-command.js.map +1 -1
  575. package/dist/commands/api-command/help.d.ts.map +1 -1
  576. package/dist/commands/api-command/help.js +5 -0
  577. package/dist/commands/api-command/help.js.map +1 -1
  578. package/dist/commands/api-command/shared.d.ts +2 -1
  579. package/dist/commands/api-command/shared.d.ts.map +1 -1
  580. package/dist/commands/api-command/shared.js +9 -0
  581. package/dist/commands/api-command/shared.js.map +1 -1
  582. package/dist/commands/browser-command.d.ts +5 -0
  583. package/dist/commands/browser-command.d.ts.map +1 -0
  584. package/dist/commands/browser-command.js +349 -0
  585. package/dist/commands/browser-command.js.map +1 -0
  586. package/dist/commands/cleanup-command.d.ts +1 -1
  587. package/dist/commands/cleanup-command.d.ts.map +1 -1
  588. package/dist/commands/cleanup-command.js +58 -35
  589. package/dist/commands/cleanup-command.js.map +1 -1
  590. package/dist/commands/cliproxy/auth-subcommand.js +1 -1
  591. package/dist/commands/cliproxy/auth-subcommand.js.map +1 -1
  592. package/dist/commands/cliproxy/catalog-subcommand.d.ts +6 -0
  593. package/dist/commands/cliproxy/catalog-subcommand.d.ts.map +1 -1
  594. package/dist/commands/cliproxy/catalog-subcommand.js +112 -46
  595. package/dist/commands/cliproxy/catalog-subcommand.js.map +1 -1
  596. package/dist/commands/cliproxy/help-subcommand.d.ts.map +1 -1
  597. package/dist/commands/cliproxy/help-subcommand.js +15 -4
  598. package/dist/commands/cliproxy/help-subcommand.js.map +1 -1
  599. package/dist/commands/cliproxy/index.d.ts.map +1 -1
  600. package/dist/commands/cliproxy/index.js +35 -7
  601. package/dist/commands/cliproxy/index.js.map +1 -1
  602. package/dist/commands/cliproxy/install-subcommand.js +2 -2
  603. package/dist/commands/cliproxy/install-subcommand.js.map +1 -1
  604. package/dist/commands/cliproxy/proxy-lifecycle-subcommand.js +6 -6
  605. package/dist/commands/cliproxy/proxy-lifecycle-subcommand.js.map +1 -1
  606. package/dist/commands/cliproxy/quota-subcommand.d.ts +3 -1
  607. package/dist/commands/cliproxy/quota-subcommand.d.ts.map +1 -1
  608. package/dist/commands/cliproxy/quota-subcommand.js +95 -32
  609. package/dist/commands/cliproxy/quota-subcommand.js.map +1 -1
  610. package/dist/commands/cliproxy/routing-subcommand.d.ts +7 -0
  611. package/dist/commands/cliproxy/routing-subcommand.d.ts.map +1 -0
  612. package/dist/commands/cliproxy/routing-subcommand.js +193 -0
  613. package/dist/commands/cliproxy/routing-subcommand.js.map +1 -0
  614. package/dist/commands/cliproxy/variant-subcommand.d.ts.map +1 -1
  615. package/dist/commands/cliproxy/variant-subcommand.js +86 -13
  616. package/dist/commands/cliproxy/variant-subcommand.js.map +1 -1
  617. package/dist/commands/command-catalog.d.ts +6 -5
  618. package/dist/commands/command-catalog.d.ts.map +1 -1
  619. package/dist/commands/command-catalog.js +45 -8
  620. package/dist/commands/command-catalog.js.map +1 -1
  621. package/dist/commands/completion-backend.d.ts.map +1 -1
  622. package/dist/commands/completion-backend.js +62 -1
  623. package/dist/commands/completion-backend.js.map +1 -1
  624. package/dist/commands/config-auth/disable-command.d.ts.map +1 -1
  625. package/dist/commands/config-auth/disable-command.js +3 -3
  626. package/dist/commands/config-auth/disable-command.js.map +1 -1
  627. package/dist/commands/config-auth/setup-command.d.ts.map +1 -1
  628. package/dist/commands/config-auth/setup-command.js +2 -2
  629. package/dist/commands/config-auth/setup-command.js.map +1 -1
  630. package/dist/commands/config-auth/show-command.js +2 -2
  631. package/dist/commands/config-auth/show-command.js.map +1 -1
  632. package/dist/commands/config-channels-command.d.ts.map +1 -1
  633. package/dist/commands/config-channels-command.js +4 -4
  634. package/dist/commands/config-channels-command.js.map +1 -1
  635. package/dist/commands/config-command-options.d.ts.map +1 -1
  636. package/dist/commands/config-command-options.js +4 -2
  637. package/dist/commands/config-command-options.js.map +1 -1
  638. package/dist/commands/config-command.d.ts +1 -1
  639. package/dist/commands/config-command.d.ts.map +1 -1
  640. package/dist/commands/config-command.js +28 -5
  641. package/dist/commands/config-command.js.map +1 -1
  642. package/dist/commands/config-dashboard-host.d.ts +1 -0
  643. package/dist/commands/config-dashboard-host.d.ts.map +1 -1
  644. package/dist/commands/config-dashboard-host.js +16 -3
  645. package/dist/commands/config-dashboard-host.js.map +1 -1
  646. package/dist/commands/config-image-analysis-command.d.ts.map +1 -1
  647. package/dist/commands/config-image-analysis-command.js +4 -4
  648. package/dist/commands/config-image-analysis-command.js.map +1 -1
  649. package/dist/commands/config-thinking-command.d.ts.map +1 -1
  650. package/dist/commands/config-thinking-command.js +5 -5
  651. package/dist/commands/config-thinking-command.js.map +1 -1
  652. package/dist/commands/copilot-command.d.ts.map +1 -1
  653. package/dist/commands/copilot-command.js +7 -5
  654. package/dist/commands/copilot-command.js.map +1 -1
  655. package/dist/commands/cursor-command-display.d.ts +2 -0
  656. package/dist/commands/cursor-command-display.d.ts.map +1 -1
  657. package/dist/commands/cursor-command-display.js +63 -30
  658. package/dist/commands/cursor-command-display.js.map +1 -1
  659. package/dist/commands/cursor-command.d.ts.map +1 -1
  660. package/dist/commands/cursor-command.js +67 -61
  661. package/dist/commands/cursor-command.js.map +1 -1
  662. package/dist/commands/docker/up-subcommand.js +1 -1
  663. package/dist/commands/docker/up-subcommand.js.map +1 -1
  664. package/dist/commands/doctor-command.d.ts.map +1 -1
  665. package/dist/commands/doctor-command.js +9 -0
  666. package/dist/commands/doctor-command.js.map +1 -1
  667. package/dist/commands/env-command.d.ts.map +1 -1
  668. package/dist/commands/env-command.js +2 -2
  669. package/dist/commands/env-command.js.map +1 -1
  670. package/dist/commands/help-command.d.ts +2 -0
  671. package/dist/commands/help-command.d.ts.map +1 -1
  672. package/dist/commands/help-command.js +126 -5
  673. package/dist/commands/help-command.js.map +1 -1
  674. package/dist/commands/index.d.ts +1 -0
  675. package/dist/commands/index.d.ts.map +1 -1
  676. package/dist/commands/index.js +3 -1
  677. package/dist/commands/index.js.map +1 -1
  678. package/dist/commands/migrate-command.d.ts.map +1 -1
  679. package/dist/commands/migrate-command.js +2 -2
  680. package/dist/commands/migrate-command.js.map +1 -1
  681. package/dist/commands/proxy-command.d.ts +3 -0
  682. package/dist/commands/proxy-command.d.ts.map +1 -0
  683. package/dist/commands/proxy-command.js +237 -0
  684. package/dist/commands/proxy-command.js.map +1 -0
  685. package/dist/commands/root-command-router.d.ts.map +1 -1
  686. package/dist/commands/root-command-router.js +14 -0
  687. package/dist/commands/root-command-router.js.map +1 -1
  688. package/dist/commands/setup-command.d.ts.map +1 -1
  689. package/dist/commands/setup-command.js +6 -7
  690. package/dist/commands/setup-command.js.map +1 -1
  691. package/dist/commands/sync-command.d.ts.map +1 -1
  692. package/dist/commands/sync-command.js +3 -2
  693. package/dist/commands/sync-command.js.map +1 -1
  694. package/dist/commands/tokens-command.d.ts.map +1 -1
  695. package/dist/commands/tokens-command.js +27 -38
  696. package/dist/commands/tokens-command.js.map +1 -1
  697. package/dist/commands/update-command.d.ts +22 -5
  698. package/dist/commands/update-command.d.ts.map +1 -1
  699. package/dist/commands/update-command.js +211 -159
  700. package/dist/commands/update-command.js.map +1 -1
  701. package/dist/commands/version-command.d.ts.map +1 -1
  702. package/dist/commands/version-command.js +2 -1
  703. package/dist/commands/version-command.js.map +1 -1
  704. package/dist/config/config-loader-facade.d.ts +57 -0
  705. package/dist/config/config-loader-facade.d.ts.map +1 -0
  706. package/dist/config/config-loader-facade.js +131 -0
  707. package/dist/config/config-loader-facade.js.map +1 -0
  708. package/dist/config/loader/config-getters.d.ts +121 -0
  709. package/dist/config/loader/config-getters.d.ts.map +1 -0
  710. package/dist/config/loader/config-getters.js +260 -0
  711. package/dist/config/loader/config-getters.js.map +1 -0
  712. package/dist/config/loader/defaults-merger.d.ts +21 -0
  713. package/dist/config/loader/defaults-merger.d.ts.map +1 -0
  714. package/dist/config/loader/defaults-merger.js +278 -0
  715. package/dist/config/loader/defaults-merger.js.map +1 -0
  716. package/dist/config/loader/io-locks.d.ts +76 -0
  717. package/dist/config/loader/io-locks.d.ts.map +1 -0
  718. package/dist/config/loader/io-locks.js +297 -0
  719. package/dist/config/loader/io-locks.js.map +1 -0
  720. package/dist/config/loader/normalizers.d.ts +40 -0
  721. package/dist/config/loader/normalizers.d.ts.map +1 -0
  722. package/dist/config/loader/normalizers.js +172 -0
  723. package/dist/config/loader/normalizers.js.map +1 -0
  724. package/dist/config/loader/yaml-serializer.d.ts +19 -0
  725. package/dist/config/loader/yaml-serializer.d.ts.map +1 -0
  726. package/dist/config/loader/yaml-serializer.js +301 -0
  727. package/dist/config/loader/yaml-serializer.js.map +1 -0
  728. package/dist/config/migration-manager.d.ts.map +1 -1
  729. package/dist/config/migration-manager.js +14 -1
  730. package/dist/config/migration-manager.js.map +1 -1
  731. package/dist/config/reserved-names.d.ts +1 -1
  732. package/dist/config/reserved-names.d.ts.map +1 -1
  733. package/dist/config/reserved-names.js +10 -0
  734. package/dist/config/reserved-names.js.map +1 -1
  735. package/dist/config/schemas/auth.d.ts +99 -0
  736. package/dist/config/schemas/auth.d.ts.map +1 -0
  737. package/dist/config/schemas/auth.js +25 -0
  738. package/dist/config/schemas/auth.js.map +1 -0
  739. package/dist/config/schemas/browser.d.ts +53 -0
  740. package/dist/config/schemas/browser.d.ts.map +1 -0
  741. package/dist/config/schemas/browser.js +27 -0
  742. package/dist/config/schemas/browser.js.map +1 -0
  743. package/dist/config/schemas/channels.d.ts +27 -0
  744. package/dist/config/schemas/channels.d.ts.map +1 -0
  745. package/dist/config/schemas/channels.js +19 -0
  746. package/dist/config/schemas/channels.js.map +1 -0
  747. package/dist/config/schemas/cliproxy.d.ts +142 -0
  748. package/dist/config/schemas/cliproxy.d.ts.map +1 -0
  749. package/dist/config/schemas/cliproxy.js +18 -0
  750. package/dist/config/schemas/cliproxy.js.map +1 -0
  751. package/dist/config/schemas/copilot-cursor.d.ts +75 -0
  752. package/dist/config/schemas/copilot-cursor.d.ts.map +1 -0
  753. package/dist/config/schemas/copilot-cursor.js +36 -0
  754. package/dist/config/schemas/copilot-cursor.js.map +1 -0
  755. package/dist/config/schemas/index.d.ts +28 -0
  756. package/dist/config/schemas/index.d.ts.map +1 -0
  757. package/dist/config/schemas/index.js +51 -0
  758. package/dist/config/schemas/index.js.map +1 -0
  759. package/dist/config/schemas/logging.d.ts +43 -0
  760. package/dist/config/schemas/logging.d.ts.map +1 -0
  761. package/dist/config/schemas/logging.js +23 -0
  762. package/dist/config/schemas/logging.js.map +1 -0
  763. package/dist/config/schemas/providers.d.ts +14 -0
  764. package/dist/config/schemas/providers.d.ts.map +1 -0
  765. package/dist/config/schemas/providers.js +21 -0
  766. package/dist/config/schemas/providers.js.map +1 -0
  767. package/dist/config/schemas/proxy-server.d.ts +141 -0
  768. package/dist/config/schemas/proxy-server.d.ts.map +1 -0
  769. package/dist/config/schemas/proxy-server.js +71 -0
  770. package/dist/config/schemas/proxy-server.js.map +1 -0
  771. package/dist/config/schemas/quota.d.ts +88 -0
  772. package/dist/config/schemas/quota.d.ts.map +1 -0
  773. package/dist/config/schemas/quota.js +47 -0
  774. package/dist/config/schemas/quota.js.map +1 -0
  775. package/dist/config/schemas/thinking.d.ts +50 -0
  776. package/dist/config/schemas/thinking.d.ts.map +1 -0
  777. package/dist/config/schemas/thinking.js +26 -0
  778. package/dist/config/schemas/thinking.js.map +1 -0
  779. package/dist/config/schemas/unified-config.d.ts +74 -0
  780. package/dist/config/schemas/unified-config.d.ts.map +1 -0
  781. package/dist/config/schemas/unified-config.js +131 -0
  782. package/dist/config/schemas/unified-config.js.map +1 -0
  783. package/dist/config/schemas/version.d.ts +23 -0
  784. package/dist/config/schemas/version.d.ts.map +1 -0
  785. package/dist/config/schemas/version.js +26 -0
  786. package/dist/config/schemas/version.js.map +1 -0
  787. package/dist/config/schemas/websearch.d.ts +138 -0
  788. package/dist/config/schemas/websearch.d.ts.map +1 -0
  789. package/dist/config/schemas/websearch.js +12 -0
  790. package/dist/config/schemas/websearch.js.map +1 -0
  791. package/dist/config/unified-config-loader.d.ts +21 -113
  792. package/dist/config/unified-config-loader.d.ts.map +1 -1
  793. package/dist/config/unified-config-loader.js +104 -935
  794. package/dist/config/unified-config-loader.js.map +1 -1
  795. package/dist/config/unified-config-types.d.ts +3 -723
  796. package/dist/config/unified-config-types.d.ts.map +1 -1
  797. package/dist/config/unified-config-types.js +19 -268
  798. package/dist/config/unified-config-types.js.map +1 -1
  799. package/dist/copilot/copilot-auth.d.ts.map +1 -1
  800. package/dist/copilot/copilot-auth.js +22 -0
  801. package/dist/copilot/copilot-auth.js.map +1 -1
  802. package/dist/copilot/copilot-daemon.d.ts.map +1 -1
  803. package/dist/copilot/copilot-daemon.js +28 -2
  804. package/dist/copilot/copilot-daemon.js.map +1 -1
  805. package/dist/copilot/copilot-executor.d.ts +1 -1
  806. package/dist/copilot/copilot-executor.d.ts.map +1 -1
  807. package/dist/copilot/copilot-executor.js +31 -12
  808. package/dist/copilot/copilot-executor.js.map +1 -1
  809. package/dist/copilot/copilot-package-manager.js +2 -2
  810. package/dist/copilot/copilot-package-manager.js.map +1 -1
  811. package/dist/cursor/constants.d.ts +4 -1
  812. package/dist/cursor/constants.d.ts.map +1 -1
  813. package/dist/cursor/constants.js +27 -1
  814. package/dist/cursor/constants.js.map +1 -1
  815. package/dist/cursor/cursor-anthropic-response.d.ts +1 -5
  816. package/dist/cursor/cursor-anthropic-response.d.ts.map +1 -1
  817. package/dist/cursor/cursor-anthropic-response.js +3 -186
  818. package/dist/cursor/cursor-anthropic-response.js.map +1 -1
  819. package/dist/cursor/cursor-anthropic-translator.d.ts.map +1 -1
  820. package/dist/cursor/cursor-anthropic-translator.js +17 -3
  821. package/dist/cursor/cursor-anthropic-translator.js.map +1 -1
  822. package/dist/cursor/cursor-anthropic-types.d.ts +3 -0
  823. package/dist/cursor/cursor-anthropic-types.d.ts.map +1 -1
  824. package/dist/cursor/cursor-auth.d.ts +1 -0
  825. package/dist/cursor/cursor-auth.d.ts.map +1 -1
  826. package/dist/cursor/cursor-auth.js +156 -34
  827. package/dist/cursor/cursor-auth.js.map +1 -1
  828. package/dist/cursor/cursor-daemon-entry.js +2 -2
  829. package/dist/cursor/cursor-daemon-entry.js.map +1 -1
  830. package/dist/cursor/cursor-daemon-pid.js +2 -2
  831. package/dist/cursor/cursor-daemon-pid.js.map +1 -1
  832. package/dist/cursor/cursor-daemon.d.ts.map +1 -1
  833. package/dist/cursor/cursor-daemon.js +28 -1
  834. package/dist/cursor/cursor-daemon.js.map +1 -1
  835. package/dist/cursor/cursor-default-models.d.ts +1 -1
  836. package/dist/cursor/cursor-default-models.d.ts.map +1 -1
  837. package/dist/cursor/cursor-default-models.js +11 -1
  838. package/dist/cursor/cursor-default-models.js.map +1 -1
  839. package/dist/cursor/cursor-executor.d.ts +2 -1
  840. package/dist/cursor/cursor-executor.d.ts.map +1 -1
  841. package/dist/cursor/cursor-executor.js +312 -161
  842. package/dist/cursor/cursor-executor.js.map +1 -1
  843. package/dist/cursor/cursor-models.d.ts.map +1 -1
  844. package/dist/cursor/cursor-models.js +26 -4
  845. package/dist/cursor/cursor-models.js.map +1 -1
  846. package/dist/cursor/cursor-profile-executor.d.ts +10 -1
  847. package/dist/cursor/cursor-profile-executor.d.ts.map +1 -1
  848. package/dist/cursor/cursor-profile-executor.js +14 -10
  849. package/dist/cursor/cursor-profile-executor.js.map +1 -1
  850. package/dist/cursor/cursor-protobuf-decoder.d.ts.map +1 -1
  851. package/dist/cursor/cursor-protobuf-decoder.js +1 -3
  852. package/dist/cursor/cursor-protobuf-decoder.js.map +1 -1
  853. package/dist/cursor/cursor-protobuf-schema.d.ts +12 -3
  854. package/dist/cursor/cursor-protobuf-schema.d.ts.map +1 -1
  855. package/dist/cursor/cursor-protobuf-schema.js +23 -5
  856. package/dist/cursor/cursor-protobuf-schema.js.map +1 -1
  857. package/dist/cursor/cursor-protobuf.d.ts +1 -1
  858. package/dist/cursor/cursor-protobuf.d.ts.map +1 -1
  859. package/dist/cursor/cursor-protobuf.js +2 -4
  860. package/dist/cursor/cursor-protobuf.js.map +1 -1
  861. package/dist/cursor/cursor-runtime-probe.d.ts +12 -0
  862. package/dist/cursor/cursor-runtime-probe.d.ts.map +1 -0
  863. package/dist/cursor/cursor-runtime-probe.js +220 -0
  864. package/dist/cursor/cursor-runtime-probe.js.map +1 -0
  865. package/dist/cursor/cursor-stream-parser.d.ts +10 -0
  866. package/dist/cursor/cursor-stream-parser.d.ts.map +1 -1
  867. package/dist/cursor/cursor-stream-parser.js +106 -10
  868. package/dist/cursor/cursor-stream-parser.js.map +1 -1
  869. package/dist/cursor/index.d.ts +1 -0
  870. package/dist/cursor/index.d.ts.map +1 -1
  871. package/dist/cursor/index.js +3 -1
  872. package/dist/cursor/index.js.map +1 -1
  873. package/dist/cursor/types.d.ts +6 -0
  874. package/dist/cursor/types.d.ts.map +1 -1
  875. package/dist/delegation/delegation-handler.d.ts.map +1 -1
  876. package/dist/delegation/delegation-handler.js +113 -36
  877. package/dist/delegation/delegation-handler.js.map +1 -1
  878. package/dist/delegation/headless-executor.d.ts.map +1 -1
  879. package/dist/delegation/headless-executor.js +67 -22
  880. package/dist/delegation/headless-executor.js.map +1 -1
  881. package/dist/delegation/session-manager.js +2 -2
  882. package/dist/delegation/session-manager.js.map +1 -1
  883. package/dist/dispatcher/cli-argument-parser.d.ts +70 -0
  884. package/dist/dispatcher/cli-argument-parser.d.ts.map +1 -0
  885. package/dist/dispatcher/cli-argument-parser.js +285 -0
  886. package/dist/dispatcher/cli-argument-parser.js.map +1 -0
  887. package/dist/dispatcher/dispatcher-context.d.ts +24 -0
  888. package/dist/dispatcher/dispatcher-context.d.ts.map +1 -0
  889. package/dist/dispatcher/dispatcher-context.js +11 -0
  890. package/dist/dispatcher/dispatcher-context.js.map +1 -0
  891. package/dist/dispatcher/environment-builder.d.ts +20 -0
  892. package/dist/dispatcher/environment-builder.d.ts.map +1 -0
  893. package/dist/dispatcher/environment-builder.js +95 -0
  894. package/dist/dispatcher/environment-builder.js.map +1 -0
  895. package/dist/dispatcher/flows/account-flow.d.ts +9 -0
  896. package/dist/dispatcher/flows/account-flow.d.ts.map +1 -0
  897. package/dist/dispatcher/flows/account-flow.js +50 -0
  898. package/dist/dispatcher/flows/account-flow.js.map +1 -0
  899. package/dist/dispatcher/flows/cliproxy-flow.d.ts +8 -0
  900. package/dist/dispatcher/flows/cliproxy-flow.d.ts.map +1 -0
  901. package/dist/dispatcher/flows/cliproxy-flow.js +165 -0
  902. package/dist/dispatcher/flows/cliproxy-flow.js.map +1 -0
  903. package/dist/dispatcher/flows/copilot-flow.d.ts +8 -0
  904. package/dist/dispatcher/flows/copilot-flow.d.ts.map +1 -0
  905. package/dist/dispatcher/flows/copilot-flow.js +72 -0
  906. package/dist/dispatcher/flows/copilot-flow.js.map +1 -0
  907. package/dist/dispatcher/flows/cursor-flow.d.ts +8 -0
  908. package/dist/dispatcher/flows/cursor-flow.d.ts.map +1 -0
  909. package/dist/dispatcher/flows/cursor-flow.js +62 -0
  910. package/dist/dispatcher/flows/cursor-flow.js.map +1 -0
  911. package/dist/dispatcher/flows/default-flow.d.ts +10 -0
  912. package/dist/dispatcher/flows/default-flow.d.ts.map +1 -0
  913. package/dist/dispatcher/flows/default-flow.js +99 -0
  914. package/dist/dispatcher/flows/default-flow.js.map +1 -0
  915. package/dist/dispatcher/flows/settings-flow.d.ts +9 -0
  916. package/dist/dispatcher/flows/settings-flow.d.ts.map +1 -0
  917. package/dist/dispatcher/flows/settings-flow.js +329 -0
  918. package/dist/dispatcher/flows/settings-flow.js.map +1 -0
  919. package/dist/dispatcher/flows/settings-image-analysis-prep.d.ts +28 -0
  920. package/dist/dispatcher/flows/settings-image-analysis-prep.d.ts.map +1 -0
  921. package/dist/dispatcher/flows/settings-image-analysis-prep.js +81 -0
  922. package/dist/dispatcher/flows/settings-image-analysis-prep.js.map +1 -0
  923. package/dist/dispatcher/pre-dispatch.d.ts +23 -0
  924. package/dist/dispatcher/pre-dispatch.d.ts.map +1 -0
  925. package/dist/dispatcher/pre-dispatch.js +156 -0
  926. package/dist/dispatcher/pre-dispatch.js.map +1 -0
  927. package/dist/dispatcher/profile-resolver.d.ts +65 -0
  928. package/dist/dispatcher/profile-resolver.d.ts.map +1 -0
  929. package/dist/dispatcher/profile-resolver.js +303 -0
  930. package/dist/dispatcher/profile-resolver.js.map +1 -0
  931. package/dist/dispatcher/target-executor.d.ts +26 -0
  932. package/dist/dispatcher/target-executor.d.ts.map +1 -0
  933. package/dist/dispatcher/target-executor.js +81 -0
  934. package/dist/dispatcher/target-executor.js.map +1 -0
  935. package/dist/docker/docker-assets.d.ts.map +1 -1
  936. package/dist/docker/docker-assets.js +2 -2
  937. package/dist/docker/docker-assets.js.map +1 -1
  938. package/dist/docker/docker-bootstrap.js +1 -1
  939. package/dist/docker/docker-bootstrap.js.map +1 -1
  940. package/dist/docker/docker-executor.d.ts +1 -0
  941. package/dist/docker/docker-executor.d.ts.map +1 -1
  942. package/dist/docker/supervisord-lifecycle.d.ts +17 -0
  943. package/dist/docker/supervisord-lifecycle.d.ts.map +1 -0
  944. package/dist/docker/supervisord-lifecycle.js +58 -0
  945. package/dist/docker/supervisord-lifecycle.js.map +1 -0
  946. package/dist/errors/error-handler.d.ts.map +1 -1
  947. package/dist/errors/error-handler.js +13 -0
  948. package/dist/errors/error-handler.js.map +1 -1
  949. package/dist/errors/error-types.d.ts +9 -0
  950. package/dist/errors/error-types.d.ts.map +1 -1
  951. package/dist/errors/error-types.js +15 -1
  952. package/dist/errors/error-types.js.map +1 -1
  953. package/dist/errors/index.d.ts +1 -1
  954. package/dist/errors/index.d.ts.map +1 -1
  955. package/dist/errors/index.js +3 -1
  956. package/dist/errors/index.js.map +1 -1
  957. package/dist/glmt/delta-accumulator.d.ts +4 -0
  958. package/dist/glmt/delta-accumulator.d.ts.map +1 -1
  959. package/dist/glmt/delta-accumulator.js +17 -5
  960. package/dist/glmt/delta-accumulator.js.map +1 -1
  961. package/dist/glmt/glmt-proxy.d.ts.map +1 -1
  962. package/dist/glmt/glmt-proxy.js +7 -0
  963. package/dist/glmt/glmt-proxy.js.map +1 -1
  964. package/dist/glmt/glmt-transformer.d.ts +1 -0
  965. package/dist/glmt/glmt-transformer.d.ts.map +1 -1
  966. package/dist/glmt/glmt-transformer.js +9 -2
  967. package/dist/glmt/glmt-transformer.js.map +1 -1
  968. package/dist/glmt/pipeline/stream-parser.d.ts +0 -3
  969. package/dist/glmt/pipeline/stream-parser.d.ts.map +1 -1
  970. package/dist/glmt/pipeline/stream-parser.js +20 -27
  971. package/dist/glmt/pipeline/stream-parser.js.map +1 -1
  972. package/dist/glmt/pipeline/tool-call-handler.d.ts +0 -7
  973. package/dist/glmt/pipeline/tool-call-handler.d.ts.map +1 -1
  974. package/dist/glmt/pipeline/tool-call-handler.js +15 -24
  975. package/dist/glmt/pipeline/tool-call-handler.js.map +1 -1
  976. package/dist/glmt/sse-parser.d.ts.map +1 -1
  977. package/dist/glmt/sse-parser.js +46 -41
  978. package/dist/glmt/sse-parser.js.map +1 -1
  979. package/dist/management/checks/config-check.d.ts.map +1 -1
  980. package/dist/management/checks/config-check.js +2 -2
  981. package/dist/management/checks/config-check.js.map +1 -1
  982. package/dist/management/checks/env-check.d.ts.map +1 -1
  983. package/dist/management/checks/env-check.js +2 -1
  984. package/dist/management/checks/env-check.js.map +1 -1
  985. package/dist/management/checks/image-analysis-check.d.ts.map +1 -1
  986. package/dist/management/checks/image-analysis-check.js +25 -7
  987. package/dist/management/checks/image-analysis-check.js.map +1 -1
  988. package/dist/management/checks/profile-check.d.ts.map +1 -1
  989. package/dist/management/checks/profile-check.js +6 -7
  990. package/dist/management/checks/profile-check.js.map +1 -1
  991. package/dist/management/checks/symlink-check.d.ts.map +1 -1
  992. package/dist/management/checks/symlink-check.js +4 -5
  993. package/dist/management/checks/symlink-check.js.map +1 -1
  994. package/dist/management/checks/system-check.d.ts.map +1 -1
  995. package/dist/management/checks/system-check.js +3 -3
  996. package/dist/management/checks/system-check.js.map +1 -1
  997. package/dist/management/instance-directory.d.ts +4 -0
  998. package/dist/management/instance-directory.d.ts.map +1 -0
  999. package/dist/management/instance-directory.js +54 -0
  1000. package/dist/management/instance-directory.js.map +1 -0
  1001. package/dist/management/instance-manager.d.ts.map +1 -1
  1002. package/dist/management/instance-manager.js +18 -13
  1003. package/dist/management/instance-manager.js.map +1 -1
  1004. package/dist/management/plugin-path-normalizer.d.ts +7 -0
  1005. package/dist/management/plugin-path-normalizer.d.ts.map +1 -0
  1006. package/dist/management/plugin-path-normalizer.js +82 -0
  1007. package/dist/management/plugin-path-normalizer.js.map +1 -0
  1008. package/dist/management/recovery-manager.d.ts +6 -0
  1009. package/dist/management/recovery-manager.d.ts.map +1 -1
  1010. package/dist/management/recovery-manager.js +77 -7
  1011. package/dist/management/recovery-manager.js.map +1 -1
  1012. package/dist/management/repair/auto-repair.d.ts.map +1 -1
  1013. package/dist/management/repair/auto-repair.js +2 -2
  1014. package/dist/management/repair/auto-repair.js.map +1 -1
  1015. package/dist/management/shared-manager.d.ts +3 -2
  1016. package/dist/management/shared-manager.d.ts.map +1 -1
  1017. package/dist/management/shared-manager.js +41 -84
  1018. package/dist/management/shared-manager.js.map +1 -1
  1019. package/dist/proxy/index.d.ts +9 -0
  1020. package/dist/proxy/index.d.ts.map +1 -0
  1021. package/dist/proxy/index.js +25 -0
  1022. package/dist/proxy/index.js.map +1 -0
  1023. package/dist/proxy/profile-router.d.ts +28 -0
  1024. package/dist/proxy/profile-router.d.ts.map +1 -0
  1025. package/dist/proxy/profile-router.js +43 -0
  1026. package/dist/proxy/profile-router.js.map +1 -0
  1027. package/dist/proxy/proxy-daemon-entry.d.ts +2 -0
  1028. package/dist/proxy/proxy-daemon-entry.d.ts.map +1 -0
  1029. package/dist/proxy/proxy-daemon-entry.js +112 -0
  1030. package/dist/proxy/proxy-daemon-entry.js.map +1 -0
  1031. package/dist/proxy/proxy-daemon-paths.d.ts +12 -0
  1032. package/dist/proxy/proxy-daemon-paths.d.ts.map +1 -0
  1033. package/dist/proxy/proxy-daemon-paths.js +58 -0
  1034. package/dist/proxy/proxy-daemon-paths.js.map +1 -0
  1035. package/dist/proxy/proxy-daemon-state.d.ts +25 -0
  1036. package/dist/proxy/proxy-daemon-state.d.ts.map +1 -0
  1037. package/dist/proxy/proxy-daemon-state.js +199 -0
  1038. package/dist/proxy/proxy-daemon-state.js.map +1 -0
  1039. package/dist/proxy/proxy-daemon.d.ts +27 -0
  1040. package/dist/proxy/proxy-daemon.d.ts.map +1 -0
  1041. package/dist/proxy/proxy-daemon.js +614 -0
  1042. package/dist/proxy/proxy-daemon.js.map +1 -0
  1043. package/dist/proxy/proxy-env.d.ts +3 -0
  1044. package/dist/proxy/proxy-env.d.ts.map +1 -0
  1045. package/dist/proxy/proxy-env.js +26 -0
  1046. package/dist/proxy/proxy-env.js.map +1 -0
  1047. package/dist/proxy/proxy-port-resolver.d.ts +9 -0
  1048. package/dist/proxy/proxy-port-resolver.d.ts.map +1 -0
  1049. package/dist/proxy/proxy-port-resolver.js +62 -0
  1050. package/dist/proxy/proxy-port-resolver.js.map +1 -0
  1051. package/dist/proxy/request-router.d.ts +12 -0
  1052. package/dist/proxy/request-router.d.ts.map +1 -0
  1053. package/dist/proxy/request-router.js +163 -0
  1054. package/dist/proxy/request-router.js.map +1 -0
  1055. package/dist/proxy/routing-config.d.ts +10 -0
  1056. package/dist/proxy/routing-config.d.ts.map +1 -0
  1057. package/dist/proxy/routing-config.js +79 -0
  1058. package/dist/proxy/routing-config.js.map +1 -0
  1059. package/dist/proxy/server/http-helpers.d.ts +8 -0
  1060. package/dist/proxy/server/http-helpers.d.ts.map +1 -0
  1061. package/dist/proxy/server/http-helpers.js +73 -0
  1062. package/dist/proxy/server/http-helpers.js.map +1 -0
  1063. package/dist/proxy/server/messages-route.d.ts +12 -0
  1064. package/dist/proxy/server/messages-route.d.ts.map +1 -0
  1065. package/dist/proxy/server/messages-route.js +244 -0
  1066. package/dist/proxy/server/messages-route.js.map +1 -0
  1067. package/dist/proxy/server/proxy-server.d.ts +12 -0
  1068. package/dist/proxy/server/proxy-server.d.ts.map +1 -0
  1069. package/dist/proxy/server/proxy-server.js +140 -0
  1070. package/dist/proxy/server/proxy-server.js.map +1 -0
  1071. package/dist/proxy/transformers/request-transformer.d.ts +60 -0
  1072. package/dist/proxy/transformers/request-transformer.d.ts.map +1 -0
  1073. package/dist/proxy/transformers/request-transformer.js +452 -0
  1074. package/dist/proxy/transformers/request-transformer.js.map +1 -0
  1075. package/dist/proxy/transformers/sse-stream-transformer.d.ts +11 -0
  1076. package/dist/proxy/transformers/sse-stream-transformer.d.ts.map +1 -0
  1077. package/dist/proxy/transformers/sse-stream-transformer.js +200 -0
  1078. package/dist/proxy/transformers/sse-stream-transformer.js.map +1 -0
  1079. package/dist/proxy/upstream-url.d.ts +3 -0
  1080. package/dist/proxy/upstream-url.d.ts.map +1 -0
  1081. package/dist/proxy/upstream-url.js +43 -0
  1082. package/dist/proxy/upstream-url.js.map +1 -0
  1083. package/dist/services/logging/index.d.ts +12 -0
  1084. package/dist/services/logging/index.d.ts.map +1 -0
  1085. package/dist/services/logging/index.js +37 -0
  1086. package/dist/services/logging/index.js.map +1 -0
  1087. package/dist/services/logging/log-buffer.d.ts +5 -0
  1088. package/dist/services/logging/log-buffer.d.ts.map +1 -0
  1089. package/dist/services/logging/log-buffer.js +20 -0
  1090. package/dist/services/logging/log-buffer.js.map +1 -0
  1091. package/dist/services/logging/log-config.d.ts +4 -0
  1092. package/dist/services/logging/log-config.d.ts.map +1 -0
  1093. package/dist/services/logging/log-config.js +68 -0
  1094. package/dist/services/logging/log-config.js.map +1 -0
  1095. package/dist/services/logging/log-context.d.ts +41 -0
  1096. package/dist/services/logging/log-context.d.ts.map +1 -0
  1097. package/dist/services/logging/log-context.js +51 -0
  1098. package/dist/services/logging/log-context.js.map +1 -0
  1099. package/dist/services/logging/log-paths.d.ts +8 -0
  1100. package/dist/services/logging/log-paths.d.ts.map +1 -0
  1101. package/dist/services/logging/log-paths.js +66 -0
  1102. package/dist/services/logging/log-paths.js.map +1 -0
  1103. package/dist/services/logging/log-reader.d.ts +5 -0
  1104. package/dist/services/logging/log-reader.d.ts.map +1 -0
  1105. package/dist/services/logging/log-reader.js +124 -0
  1106. package/dist/services/logging/log-reader.js.map +1 -0
  1107. package/dist/services/logging/log-redaction.d.ts +10 -0
  1108. package/dist/services/logging/log-redaction.d.ts.map +1 -0
  1109. package/dist/services/logging/log-redaction.js +90 -0
  1110. package/dist/services/logging/log-redaction.js.map +1 -0
  1111. package/dist/services/logging/log-storage.d.ts +4 -0
  1112. package/dist/services/logging/log-storage.d.ts.map +1 -0
  1113. package/dist/services/logging/log-storage.js +109 -0
  1114. package/dist/services/logging/log-storage.js.map +1 -0
  1115. package/dist/services/logging/log-types.d.ts +60 -0
  1116. package/dist/services/logging/log-types.d.ts.map +1 -0
  1117. package/dist/services/logging/log-types.js +33 -0
  1118. package/dist/services/logging/log-types.js.map +1 -0
  1119. package/dist/services/logging/logger.d.ts +26 -0
  1120. package/dist/services/logging/logger.d.ts.map +1 -0
  1121. package/dist/services/logging/logger.js +65 -0
  1122. package/dist/services/logging/logger.js.map +1 -0
  1123. package/dist/shared/agy-gemini-pro-compatibility.d.ts +15 -0
  1124. package/dist/shared/agy-gemini-pro-compatibility.d.ts.map +1 -0
  1125. package/dist/shared/agy-gemini-pro-compatibility.js +18 -0
  1126. package/dist/shared/agy-gemini-pro-compatibility.js.map +1 -0
  1127. package/dist/shared/claude-extension-setup.d.ts.map +1 -1
  1128. package/dist/shared/claude-extension-setup.js +7 -3
  1129. package/dist/shared/claude-extension-setup.js.map +1 -1
  1130. package/dist/shared/cliproxy-model-routing.d.ts +45 -0
  1131. package/dist/shared/cliproxy-model-routing.d.ts.map +1 -0
  1132. package/dist/shared/cliproxy-model-routing.js +144 -0
  1133. package/dist/shared/cliproxy-model-routing.js.map +1 -0
  1134. package/dist/shared/provider-preset-catalog.d.ts +4 -2
  1135. package/dist/shared/provider-preset-catalog.d.ts.map +1 -1
  1136. package/dist/shared/provider-preset-catalog.js +17 -1
  1137. package/dist/shared/provider-preset-catalog.js.map +1 -1
  1138. package/dist/shared/toml-object.d.ts.map +1 -1
  1139. package/dist/shared/toml-object.js +6 -2
  1140. package/dist/shared/toml-object.js.map +1 -1
  1141. package/dist/targets/claude-adapter.d.ts +6 -1
  1142. package/dist/targets/claude-adapter.d.ts.map +1 -1
  1143. package/dist/targets/claude-adapter.js +20 -5
  1144. package/dist/targets/claude-adapter.js.map +1 -1
  1145. package/dist/targets/codex-adapter.d.ts +2 -0
  1146. package/dist/targets/codex-adapter.d.ts.map +1 -1
  1147. package/dist/targets/codex-adapter.js +43 -11
  1148. package/dist/targets/codex-adapter.js.map +1 -1
  1149. package/dist/targets/codex-cliproxy-provider-config.d.ts +16 -0
  1150. package/dist/targets/codex-cliproxy-provider-config.d.ts.map +1 -0
  1151. package/dist/targets/codex-cliproxy-provider-config.js +156 -0
  1152. package/dist/targets/codex-cliproxy-provider-config.js.map +1 -0
  1153. package/dist/targets/codex-detector.d.ts.map +1 -1
  1154. package/dist/targets/codex-detector.js +20 -9
  1155. package/dist/targets/codex-detector.js.map +1 -1
  1156. package/dist/targets/droid-adapter.d.ts +3 -2
  1157. package/dist/targets/droid-adapter.d.ts.map +1 -1
  1158. package/dist/targets/droid-adapter.js +15 -10
  1159. package/dist/targets/droid-adapter.js.map +1 -1
  1160. package/dist/targets/droid-config-manager.d.ts.map +1 -1
  1161. package/dist/targets/droid-config-manager.js +40 -0
  1162. package/dist/targets/droid-config-manager.js.map +1 -1
  1163. package/dist/targets/droid-provider.d.ts.map +1 -1
  1164. package/dist/targets/droid-provider.js +10 -5
  1165. package/dist/targets/droid-provider.js.map +1 -1
  1166. package/dist/targets/target-adapter.d.ts +5 -0
  1167. package/dist/targets/target-adapter.d.ts.map +1 -1
  1168. package/dist/targets/target-metadata.js +1 -1
  1169. package/dist/targets/target-metadata.js.map +1 -1
  1170. package/dist/targets/target-resolver.d.ts.map +1 -1
  1171. package/dist/targets/target-resolver.js +15 -0
  1172. package/dist/targets/target-resolver.js.map +1 -1
  1173. package/dist/targets/target-runtime-compatibility.js +1 -1
  1174. package/dist/targets/target-runtime-compatibility.js.map +1 -1
  1175. package/dist/types/cli.d.ts +1 -0
  1176. package/dist/types/cli.d.ts.map +1 -1
  1177. package/dist/types/config.d.ts +15 -0
  1178. package/dist/types/config.d.ts.map +1 -1
  1179. package/dist/types/config.js.map +1 -1
  1180. package/dist/types/index.d.ts +1 -1
  1181. package/dist/types/index.d.ts.map +1 -1
  1182. package/dist/types/index.js.map +1 -1
  1183. package/dist/ui/assets/accounts-biinrjBy.js +1 -0
  1184. package/dist/ui/assets/alert-dialog-B9kuXS_B.js +1 -0
  1185. package/dist/ui/assets/api-BYTesAyV.js +4 -0
  1186. package/dist/ui/assets/auth-section-BH7Y0zzE.js +1 -0
  1187. package/dist/ui/assets/backups-section-JTiku4fB.js +1 -0
  1188. package/dist/ui/assets/channels-BweRUtu-.js +1 -0
  1189. package/dist/ui/assets/charts-eIPy2oG6.js +64 -0
  1190. package/dist/ui/assets/checkbox-CsTXDim7.js +1 -0
  1191. package/dist/ui/assets/claude-extension-BE4B2NkS.js +1 -0
  1192. package/dist/ui/assets/cliproxy-Fl6HWxZ0.js +4 -0
  1193. package/dist/ui/assets/cliproxy-ai-providers-NMOopK4K.js +15 -0
  1194. package/dist/ui/assets/cliproxy-control-panel-BgiBcyzb.js +1 -0
  1195. package/dist/ui/assets/code-highlight-ClSMkeL5.js +1 -0
  1196. package/dist/ui/assets/codex-BsxF_eKF.js +30 -0
  1197. package/dist/ui/assets/confirm-dialog-iyu6jSnb.js +1 -0
  1198. package/dist/ui/assets/copilot-BSCdzbOk.js +3 -0
  1199. package/dist/ui/assets/cursor-CjGT-EsR.js +1 -0
  1200. package/dist/ui/assets/droid-MR-k0fbU.js +2 -0
  1201. package/dist/ui/assets/form-utils-CuHzLhJZ.js +20 -0
  1202. package/dist/ui/assets/globalenv-section-BGPR-lJN.js +1 -0
  1203. package/dist/ui/assets/health-C7wQUXVn.js +1 -0
  1204. package/dist/ui/assets/icons-bxdfpJdB.js +1 -0
  1205. package/dist/ui/assets/index-7dfuc3Cf.js +56 -0
  1206. package/dist/ui/assets/index-7rknm4m0.js +1 -0
  1207. package/dist/ui/assets/index-BeLNgVQ9.js +1 -0
  1208. package/dist/ui/assets/index-BvMWFZiH.js +1 -0
  1209. package/dist/ui/assets/index-DrEPnpI3.css +1 -0
  1210. package/dist/ui/assets/index-MAUysHQF.js +1 -0
  1211. package/dist/ui/assets/index-nzImYtUK.js +1 -0
  1212. package/dist/ui/assets/index-w9DZ42zc.js +1 -0
  1213. package/dist/ui/assets/logs-Qr4G0AdK.js +1 -0
  1214. package/dist/ui/assets/masked-input-Bl5OoUEZ.js +1 -0
  1215. package/dist/ui/assets/notifications-B4_o8bcr.js +1 -0
  1216. package/dist/ui/assets/providers/codebuddy.png +0 -0
  1217. package/dist/ui/assets/providers/cursor.svg +5 -0
  1218. package/dist/ui/assets/providers/gitlab.svg +22 -0
  1219. package/dist/ui/assets/providers/kilo.png +0 -0
  1220. package/dist/ui/assets/proxy-Br5aAkn0.js +9 -0
  1221. package/dist/ui/assets/proxy-status-widget-703_vH2t.js +1 -0
  1222. package/dist/ui/assets/radix-ui-DvRtHWGI.js +51 -0
  1223. package/dist/ui/assets/raw-json-settings-editor-panel-DWTJY3og.js +1 -0
  1224. package/dist/ui/assets/react-vendor-Bjx91N7w.js +3 -0
  1225. package/dist/ui/assets/searchable-select-C8BA2Q6i.js +1 -0
  1226. package/dist/ui/assets/separator-avUMnKG4.js +1 -0
  1227. package/dist/ui/assets/shared-DsOKYLqq.js +8 -0
  1228. package/dist/ui/assets/table-C6r_OOul.js +1 -0
  1229. package/dist/ui/assets/tanstack-Dg84L5cM.js +4 -0
  1230. package/dist/ui/assets/updates-K6jy3VXq.js +1 -0
  1231. package/dist/ui/assets/use-accounts-ZouK2A2J.js +1 -0
  1232. package/dist/ui/index.html +9 -9
  1233. package/dist/utils/browser/browser-policy.d.ts +22 -0
  1234. package/dist/utils/browser/browser-policy.d.ts.map +1 -0
  1235. package/dist/utils/browser/browser-policy.js +65 -0
  1236. package/dist/utils/browser/browser-policy.js.map +1 -0
  1237. package/dist/utils/browser/browser-settings.d.ts +52 -0
  1238. package/dist/utils/browser/browser-settings.d.ts.map +1 -0
  1239. package/dist/utils/browser/browser-settings.js +257 -0
  1240. package/dist/utils/browser/browser-settings.js.map +1 -0
  1241. package/dist/utils/browser/browser-setup.d.ts +21 -0
  1242. package/dist/utils/browser/browser-setup.d.ts.map +1 -0
  1243. package/dist/utils/browser/browser-setup.js +68 -0
  1244. package/dist/utils/browser/browser-setup.js.map +1 -0
  1245. package/dist/utils/browser/browser-status.d.ts +42 -0
  1246. package/dist/utils/browser/browser-status.d.ts.map +1 -0
  1247. package/dist/utils/browser/browser-status.js +251 -0
  1248. package/dist/utils/browser/browser-status.js.map +1 -0
  1249. package/dist/utils/browser/chrome-reuse.d.ts +18 -0
  1250. package/dist/utils/browser/chrome-reuse.d.ts.map +1 -0
  1251. package/dist/utils/browser/chrome-reuse.js +194 -0
  1252. package/dist/utils/browser/chrome-reuse.js.map +1 -0
  1253. package/dist/utils/browser/claude-tool-args.d.ts +2 -0
  1254. package/dist/utils/browser/claude-tool-args.d.ts.map +1 -0
  1255. package/dist/utils/browser/claude-tool-args.js +22 -0
  1256. package/dist/utils/browser/claude-tool-args.js.map +1 -0
  1257. package/dist/utils/browser/index.d.ts +16 -0
  1258. package/dist/utils/browser/index.d.ts.map +1 -0
  1259. package/dist/utils/browser/index.js +45 -0
  1260. package/dist/utils/browser/index.js.map +1 -0
  1261. package/dist/utils/browser/mcp-installer.d.ts +14 -0
  1262. package/dist/utils/browser/mcp-installer.d.ts.map +1 -0
  1263. package/dist/utils/browser/mcp-installer.js +356 -0
  1264. package/dist/utils/browser/mcp-installer.js.map +1 -0
  1265. package/dist/utils/browser/platform.d.ts +4 -0
  1266. package/dist/utils/browser/platform.d.ts.map +1 -0
  1267. package/dist/utils/browser/platform.js +12 -0
  1268. package/dist/utils/browser/platform.js.map +1 -0
  1269. package/dist/utils/browser-codex-overrides.d.ts +3 -0
  1270. package/dist/utils/browser-codex-overrides.d.ts.map +1 -0
  1271. package/dist/utils/browser-codex-overrides.js +29 -0
  1272. package/dist/utils/browser-codex-overrides.js.map +1 -0
  1273. package/dist/utils/claude-detector.d.ts +1 -0
  1274. package/dist/utils/claude-detector.d.ts.map +1 -1
  1275. package/dist/utils/claude-detector.js +2 -1
  1276. package/dist/utils/claude-detector.js.map +1 -1
  1277. package/dist/utils/claude-spawner.d.ts +1 -0
  1278. package/dist/utils/claude-spawner.d.ts.map +1 -1
  1279. package/dist/utils/claude-spawner.js +1 -1
  1280. package/dist/utils/claude-spawner.js.map +1 -1
  1281. package/dist/utils/claude-subcommand-detector.d.ts +45 -0
  1282. package/dist/utils/claude-subcommand-detector.d.ts.map +1 -0
  1283. package/dist/utils/claude-subcommand-detector.js +179 -0
  1284. package/dist/utils/claude-subcommand-detector.js.map +1 -0
  1285. package/dist/utils/claude-tool-args.d.ts +7 -0
  1286. package/dist/utils/claude-tool-args.d.ts.map +1 -0
  1287. package/dist/utils/claude-tool-args.js +43 -0
  1288. package/dist/utils/claude-tool-args.js.map +1 -0
  1289. package/dist/utils/config-manager.d.ts +5 -0
  1290. package/dist/utils/config-manager.d.ts.map +1 -1
  1291. package/dist/utils/config-manager.js +16 -3
  1292. package/dist/utils/config-manager.js.map +1 -1
  1293. package/dist/utils/hooks/get-image-analysis-hook-env.d.ts +1 -1
  1294. package/dist/utils/hooks/get-image-analysis-hook-env.d.ts.map +1 -1
  1295. package/dist/utils/hooks/get-image-analysis-hook-env.js +11 -7
  1296. package/dist/utils/hooks/get-image-analysis-hook-env.js.map +1 -1
  1297. package/dist/utils/hooks/image-analysis-backend-resolver.js +2 -2
  1298. package/dist/utils/hooks/image-analysis-backend-resolver.js.map +1 -1
  1299. package/dist/utils/hooks/image-analysis-runtime-status.d.ts +4 -4
  1300. package/dist/utils/hooks/image-analysis-runtime-status.d.ts.map +1 -1
  1301. package/dist/utils/hooks/image-analysis-runtime-status.js +15 -11
  1302. package/dist/utils/hooks/image-analysis-runtime-status.js.map +1 -1
  1303. package/dist/utils/hooks/image-analyzer-hook-configuration.d.ts.map +1 -1
  1304. package/dist/utils/hooks/image-analyzer-hook-configuration.js +2 -2
  1305. package/dist/utils/hooks/image-analyzer-hook-configuration.js.map +1 -1
  1306. package/dist/utils/hooks/image-analyzer-hook-installer.d.ts.map +1 -1
  1307. package/dist/utils/hooks/image-analyzer-hook-installer.js +2 -2
  1308. package/dist/utils/hooks/image-analyzer-hook-installer.js.map +1 -1
  1309. package/dist/utils/hooks/image-analyzer-hook-utils.d.ts +21 -0
  1310. package/dist/utils/hooks/image-analyzer-hook-utils.d.ts.map +1 -0
  1311. package/dist/utils/hooks/image-analyzer-hook-utils.js +81 -0
  1312. package/dist/utils/hooks/image-analyzer-hook-utils.js.map +1 -0
  1313. package/dist/utils/hooks/image-analyzer-profile-hook-injector.d.ts +1 -0
  1314. package/dist/utils/hooks/image-analyzer-profile-hook-injector.d.ts.map +1 -1
  1315. package/dist/utils/hooks/image-analyzer-profile-hook-injector.js +35 -14
  1316. package/dist/utils/hooks/image-analyzer-profile-hook-injector.js.map +1 -1
  1317. package/dist/utils/hooks/index.d.ts +1 -0
  1318. package/dist/utils/hooks/index.d.ts.map +1 -1
  1319. package/dist/utils/hooks/index.js +3 -1
  1320. package/dist/utils/hooks/index.js.map +1 -1
  1321. package/dist/utils/image-analysis/claude-tool-args.d.ts +3 -0
  1322. package/dist/utils/image-analysis/claude-tool-args.d.ts.map +1 -1
  1323. package/dist/utils/image-analysis/claude-tool-args.js +25 -47
  1324. package/dist/utils/image-analysis/claude-tool-args.js.map +1 -1
  1325. package/dist/utils/image-analysis/index.d.ts +1 -0
  1326. package/dist/utils/image-analysis/index.d.ts.map +1 -1
  1327. package/dist/utils/image-analysis/index.js +6 -1
  1328. package/dist/utils/image-analysis/index.js.map +1 -1
  1329. package/dist/utils/image-analysis/mcp-installer.d.ts.map +1 -1
  1330. package/dist/utils/image-analysis/mcp-installer.js +5 -5
  1331. package/dist/utils/image-analysis/mcp-installer.js.map +1 -1
  1332. package/dist/utils/image-analysis/repair.d.ts +12 -0
  1333. package/dist/utils/image-analysis/repair.d.ts.map +1 -0
  1334. package/dist/utils/image-analysis/repair.js +105 -0
  1335. package/dist/utils/image-analysis/repair.js.map +1 -0
  1336. package/dist/utils/openai-compat-launch-settings.d.ts +7 -0
  1337. package/dist/utils/openai-compat-launch-settings.d.ts.map +1 -0
  1338. package/dist/utils/openai-compat-launch-settings.js +61 -0
  1339. package/dist/utils/openai-compat-launch-settings.js.map +1 -0
  1340. package/dist/utils/package-manager-detector.d.ts +31 -4
  1341. package/dist/utils/package-manager-detector.d.ts.map +1 -1
  1342. package/dist/utils/package-manager-detector.js +249 -60
  1343. package/dist/utils/package-manager-detector.js.map +1 -1
  1344. package/dist/utils/prompt-injection-strategy.d.ts +54 -0
  1345. package/dist/utils/prompt-injection-strategy.d.ts.map +1 -0
  1346. package/dist/utils/prompt-injection-strategy.js +128 -0
  1347. package/dist/utils/prompt-injection-strategy.js.map +1 -0
  1348. package/dist/utils/retry-strategy.d.ts +37 -0
  1349. package/dist/utils/retry-strategy.d.ts.map +1 -0
  1350. package/dist/utils/retry-strategy.js +99 -0
  1351. package/dist/utils/retry-strategy.js.map +1 -0
  1352. package/dist/utils/shell-executor.d.ts +32 -1
  1353. package/dist/utils/shell-executor.d.ts.map +1 -1
  1354. package/dist/utils/shell-executor.js +193 -30
  1355. package/dist/utils/shell-executor.js.map +1 -1
  1356. package/dist/utils/update-checker.d.ts +1 -1
  1357. package/dist/utils/update-checker.d.ts.map +1 -1
  1358. package/dist/utils/websearch/claude-tool-args.d.ts +7 -0
  1359. package/dist/utils/websearch/claude-tool-args.d.ts.map +1 -1
  1360. package/dist/utils/websearch/claude-tool-args.js +32 -50
  1361. package/dist/utils/websearch/claude-tool-args.js.map +1 -1
  1362. package/dist/utils/websearch/hook-config.d.ts.map +1 -1
  1363. package/dist/utils/websearch/hook-config.js +3 -3
  1364. package/dist/utils/websearch/hook-config.js.map +1 -1
  1365. package/dist/utils/websearch/hook-env.d.ts.map +1 -1
  1366. package/dist/utils/websearch/hook-env.js +21 -3
  1367. package/dist/utils/websearch/hook-env.js.map +1 -1
  1368. package/dist/utils/websearch/hook-installer.d.ts.map +1 -1
  1369. package/dist/utils/websearch/hook-installer.js +2 -2
  1370. package/dist/utils/websearch/hook-installer.js.map +1 -1
  1371. package/dist/utils/websearch/mcp-installer.d.ts.map +1 -1
  1372. package/dist/utils/websearch/mcp-installer.js +5 -5
  1373. package/dist/utils/websearch/mcp-installer.js.map +1 -1
  1374. package/dist/utils/websearch/profile-hook-injector.d.ts.map +1 -1
  1375. package/dist/utils/websearch/profile-hook-injector.js +3 -3
  1376. package/dist/utils/websearch/profile-hook-injector.js.map +1 -1
  1377. package/dist/utils/websearch/provider-secrets.js +2 -2
  1378. package/dist/utils/websearch/provider-secrets.js.map +1 -1
  1379. package/dist/utils/websearch/status.d.ts +1 -1
  1380. package/dist/utils/websearch/status.d.ts.map +1 -1
  1381. package/dist/utils/websearch/status.js +37 -16
  1382. package/dist/utils/websearch/status.js.map +1 -1
  1383. package/dist/utils/websearch/trace.d.ts +1 -0
  1384. package/dist/utils/websearch/trace.d.ts.map +1 -1
  1385. package/dist/utils/websearch/trace.js +27 -5
  1386. package/dist/utils/websearch/trace.js.map +1 -1
  1387. package/dist/utils/websearch/types.d.ts +12 -2
  1388. package/dist/utils/websearch/types.d.ts.map +1 -1
  1389. package/dist/utils/websearch/types.js +38 -0
  1390. package/dist/utils/websearch/types.js.map +1 -1
  1391. package/dist/web-server/file-watcher.js +2 -2
  1392. package/dist/web-server/file-watcher.js.map +1 -1
  1393. package/dist/web-server/health/cliproxy-checks.js +2 -2
  1394. package/dist/web-server/health/cliproxy-checks.js.map +1 -1
  1395. package/dist/web-server/health/config-checks.d.ts.map +1 -1
  1396. package/dist/web-server/health/config-checks.js +3 -3
  1397. package/dist/web-server/health/config-checks.js.map +1 -1
  1398. package/dist/web-server/health/profile-checks.d.ts.map +1 -1
  1399. package/dist/web-server/health/profile-checks.js +5 -6
  1400. package/dist/web-server/health/profile-checks.js.map +1 -1
  1401. package/dist/web-server/health/symlink-checks.d.ts.map +1 -1
  1402. package/dist/web-server/health/symlink-checks.js +2 -3
  1403. package/dist/web-server/health/symlink-checks.js.map +1 -1
  1404. package/dist/web-server/health/websearch-checks.js +1 -1
  1405. package/dist/web-server/health/websearch-checks.js.map +1 -1
  1406. package/dist/web-server/health-service.d.ts.map +1 -1
  1407. package/dist/web-server/health-service.js +7 -6
  1408. package/dist/web-server/health-service.js.map +1 -1
  1409. package/dist/web-server/index.d.ts.map +1 -1
  1410. package/dist/web-server/index.js +102 -18
  1411. package/dist/web-server/index.js.map +1 -1
  1412. package/dist/web-server/jsonl-parser.d.ts.map +1 -1
  1413. package/dist/web-server/jsonl-parser.js +22 -4
  1414. package/dist/web-server/jsonl-parser.js.map +1 -1
  1415. package/dist/web-server/middleware/auth-middleware.d.ts +7 -3
  1416. package/dist/web-server/middleware/auth-middleware.d.ts.map +1 -1
  1417. package/dist/web-server/middleware/auth-middleware.js +103 -8
  1418. package/dist/web-server/middleware/auth-middleware.js.map +1 -1
  1419. package/dist/web-server/middleware/request-logging-middleware.d.ts +3 -0
  1420. package/dist/web-server/middleware/request-logging-middleware.d.ts.map +1 -0
  1421. package/dist/web-server/middleware/request-logging-middleware.js +30 -0
  1422. package/dist/web-server/middleware/request-logging-middleware.js.map +1 -0
  1423. package/dist/web-server/model-pricing.d.ts +8 -6
  1424. package/dist/web-server/model-pricing.d.ts.map +1 -1
  1425. package/dist/web-server/model-pricing.js +184 -54
  1426. package/dist/web-server/model-pricing.js.map +1 -1
  1427. package/dist/web-server/models-dev/pricing-resolver.d.ts +18 -0
  1428. package/dist/web-server/models-dev/pricing-resolver.d.ts.map +1 -0
  1429. package/dist/web-server/models-dev/pricing-resolver.js +160 -0
  1430. package/dist/web-server/models-dev/pricing-resolver.js.map +1 -0
  1431. package/dist/web-server/models-dev/registry-cache.d.ts +19 -0
  1432. package/dist/web-server/models-dev/registry-cache.d.ts.map +1 -0
  1433. package/dist/web-server/models-dev/registry-cache.js +165 -0
  1434. package/dist/web-server/models-dev/registry-cache.js.map +1 -0
  1435. package/dist/web-server/models-dev/types.d.ts +39 -0
  1436. package/dist/web-server/models-dev/types.d.ts.map +1 -0
  1437. package/dist/web-server/models-dev/types.js +3 -0
  1438. package/dist/web-server/models-dev/types.js.map +1 -0
  1439. package/dist/web-server/overview-routes.d.ts.map +1 -1
  1440. package/dist/web-server/overview-routes.js +3 -3
  1441. package/dist/web-server/overview-routes.js.map +1 -1
  1442. package/dist/web-server/routes/account-route-helpers.d.ts +3 -0
  1443. package/dist/web-server/routes/account-route-helpers.d.ts.map +1 -1
  1444. package/dist/web-server/routes/account-route-helpers.js.map +1 -1
  1445. package/dist/web-server/routes/account-routes.d.ts.map +1 -1
  1446. package/dist/web-server/routes/account-routes.js +105 -12
  1447. package/dist/web-server/routes/account-routes.js.map +1 -1
  1448. package/dist/web-server/routes/auth-routes.d.ts +10 -0
  1449. package/dist/web-server/routes/auth-routes.d.ts.map +1 -1
  1450. package/dist/web-server/routes/auth-routes.js +37 -10
  1451. package/dist/web-server/routes/auth-routes.js.map +1 -1
  1452. package/dist/web-server/routes/browser-routes.d.ts +3 -0
  1453. package/dist/web-server/routes/browser-routes.d.ts.map +1 -0
  1454. package/dist/web-server/routes/browser-routes.js +182 -0
  1455. package/dist/web-server/routes/browser-routes.js.map +1 -0
  1456. package/dist/web-server/routes/catalog-routes.d.ts.map +1 -1
  1457. package/dist/web-server/routes/catalog-routes.js +9 -8
  1458. package/dist/web-server/routes/catalog-routes.js.map +1 -1
  1459. package/dist/web-server/routes/channels-routes.d.ts.map +1 -1
  1460. package/dist/web-server/routes/channels-routes.js +4 -4
  1461. package/dist/web-server/routes/channels-routes.js.map +1 -1
  1462. package/dist/web-server/routes/claude-extension-routes.d.ts.map +1 -1
  1463. package/dist/web-server/routes/claude-extension-routes.js +5 -0
  1464. package/dist/web-server/routes/claude-extension-routes.js.map +1 -1
  1465. package/dist/web-server/routes/cliproxy-auth-routes.d.ts +8 -0
  1466. package/dist/web-server/routes/cliproxy-auth-routes.d.ts.map +1 -1
  1467. package/dist/web-server/routes/cliproxy-auth-routes.js +281 -89
  1468. package/dist/web-server/routes/cliproxy-auth-routes.js.map +1 -1
  1469. package/dist/web-server/routes/cliproxy-local-proxy.d.ts.map +1 -1
  1470. package/dist/web-server/routes/cliproxy-local-proxy.js +27 -17
  1471. package/dist/web-server/routes/cliproxy-local-proxy.js.map +1 -1
  1472. package/dist/web-server/routes/cliproxy-routing-routes.d.ts +3 -0
  1473. package/dist/web-server/routes/cliproxy-routing-routes.d.ts.map +1 -0
  1474. package/dist/web-server/routes/cliproxy-routing-routes.js +69 -0
  1475. package/dist/web-server/routes/cliproxy-routing-routes.js.map +1 -0
  1476. package/dist/web-server/routes/cliproxy-stats-routes.d.ts +35 -0
  1477. package/dist/web-server/routes/cliproxy-stats-routes.d.ts.map +1 -1
  1478. package/dist/web-server/routes/cliproxy-stats-routes.js +86 -42
  1479. package/dist/web-server/routes/cliproxy-stats-routes.js.map +1 -1
  1480. package/dist/web-server/routes/cliproxy-sync-routes.d.ts.map +1 -1
  1481. package/dist/web-server/routes/cliproxy-sync-routes.js +2 -2
  1482. package/dist/web-server/routes/cliproxy-sync-routes.js.map +1 -1
  1483. package/dist/web-server/routes/codex-routes.d.ts.map +1 -1
  1484. package/dist/web-server/routes/codex-routes.js +7 -0
  1485. package/dist/web-server/routes/codex-routes.js.map +1 -1
  1486. package/dist/web-server/routes/config-routes.d.ts.map +1 -1
  1487. package/dist/web-server/routes/config-routes.js +9 -6
  1488. package/dist/web-server/routes/config-routes.js.map +1 -1
  1489. package/dist/web-server/routes/copilot-routes.d.ts.map +1 -1
  1490. package/dist/web-server/routes/copilot-routes.js +3 -3
  1491. package/dist/web-server/routes/copilot-routes.js.map +1 -1
  1492. package/dist/web-server/routes/copilot-settings-routes.d.ts.map +1 -1
  1493. package/dist/web-server/routes/copilot-settings-routes.js +6 -7
  1494. package/dist/web-server/routes/copilot-settings-routes.js.map +1 -1
  1495. package/dist/web-server/routes/cursor-routes.d.ts +2 -0
  1496. package/dist/web-server/routes/cursor-routes.d.ts.map +1 -1
  1497. package/dist/web-server/routes/cursor-routes.js +48 -6
  1498. package/dist/web-server/routes/cursor-routes.js.map +1 -1
  1499. package/dist/web-server/routes/cursor-settings-routes.d.ts.map +1 -1
  1500. package/dist/web-server/routes/cursor-settings-routes.js +8 -9
  1501. package/dist/web-server/routes/cursor-settings-routes.js.map +1 -1
  1502. package/dist/web-server/routes/image-analysis-routes.d.ts.map +1 -1
  1503. package/dist/web-server/routes/image-analysis-routes.js +7 -17
  1504. package/dist/web-server/routes/image-analysis-routes.js.map +1 -1
  1505. package/dist/web-server/routes/index.d.ts.map +1 -1
  1506. package/dist/web-server/routes/index.js +25 -0
  1507. package/dist/web-server/routes/index.js.map +1 -1
  1508. package/dist/web-server/routes/logs-routes.d.ts +3 -0
  1509. package/dist/web-server/routes/logs-routes.d.ts.map +1 -0
  1510. package/dist/web-server/routes/logs-routes.js +75 -0
  1511. package/dist/web-server/routes/logs-routes.js.map +1 -0
  1512. package/dist/web-server/routes/misc-routes.d.ts.map +1 -1
  1513. package/dist/web-server/routes/misc-routes.js +10 -11
  1514. package/dist/web-server/routes/misc-routes.js.map +1 -1
  1515. package/dist/web-server/routes/profile-routes.d.ts.map +1 -1
  1516. package/dist/web-server/routes/profile-routes.js +21 -3
  1517. package/dist/web-server/routes/profile-routes.js.map +1 -1
  1518. package/dist/web-server/routes/provider-routes.js +1 -1
  1519. package/dist/web-server/routes/provider-routes.js.map +1 -1
  1520. package/dist/web-server/routes/proxy-routes.d.ts.map +1 -1
  1521. package/dist/web-server/routes/proxy-routes.js +42 -12
  1522. package/dist/web-server/routes/proxy-routes.js.map +1 -1
  1523. package/dist/web-server/routes/route-helpers.d.ts +1 -0
  1524. package/dist/web-server/routes/route-helpers.d.ts.map +1 -1
  1525. package/dist/web-server/routes/route-helpers.js +19 -7
  1526. package/dist/web-server/routes/route-helpers.js.map +1 -1
  1527. package/dist/web-server/routes/settings-routes.d.ts.map +1 -1
  1528. package/dist/web-server/routes/settings-routes.js +110 -23
  1529. package/dist/web-server/routes/settings-routes.js.map +1 -1
  1530. package/dist/web-server/routes/variant-routes.js +1 -1
  1531. package/dist/web-server/routes/variant-routes.js.map +1 -1
  1532. package/dist/web-server/routes/websearch-routes.d.ts.map +1 -1
  1533. package/dist/web-server/routes/websearch-routes.js +41 -4
  1534. package/dist/web-server/routes/websearch-routes.js.map +1 -1
  1535. package/dist/web-server/services/claude-extension-binding-service.js +2 -2
  1536. package/dist/web-server/services/claude-extension-binding-service.js.map +1 -1
  1537. package/dist/web-server/services/cliproxy-dashboard-install-service.d.ts.map +1 -1
  1538. package/dist/web-server/services/cliproxy-dashboard-install-service.js +22 -6
  1539. package/dist/web-server/services/cliproxy-dashboard-install-service.js.map +1 -1
  1540. package/dist/web-server/services/codex-dashboard-service.d.ts +1 -0
  1541. package/dist/web-server/services/codex-dashboard-service.d.ts.map +1 -1
  1542. package/dist/web-server/services/compatible-cli-docs-registry.d.ts.map +1 -1
  1543. package/dist/web-server/services/compatible-cli-docs-registry.js +1 -0
  1544. package/dist/web-server/services/compatible-cli-docs-registry.js.map +1 -1
  1545. package/dist/web-server/services/droid-dashboard-service.d.ts +1 -0
  1546. package/dist/web-server/services/droid-dashboard-service.d.ts.map +1 -1
  1547. package/dist/web-server/services/logs-dashboard-service.d.ts +7 -0
  1548. package/dist/web-server/services/logs-dashboard-service.d.ts.map +1 -0
  1549. package/dist/web-server/services/logs-dashboard-service.js +33 -0
  1550. package/dist/web-server/services/logs-dashboard-service.js.map +1 -0
  1551. package/dist/web-server/shared-routes-collections.d.ts +13 -0
  1552. package/dist/web-server/shared-routes-collections.d.ts.map +1 -0
  1553. package/dist/web-server/shared-routes-collections.js +170 -0
  1554. package/dist/web-server/shared-routes-collections.js.map +1 -0
  1555. package/dist/web-server/shared-routes-content.d.ts +16 -0
  1556. package/dist/web-server/shared-routes-content.d.ts.map +1 -0
  1557. package/dist/web-server/shared-routes-content.js +152 -0
  1558. package/dist/web-server/shared-routes-content.js.map +1 -0
  1559. package/dist/web-server/shared-routes-markdown-walker.d.ts +12 -0
  1560. package/dist/web-server/shared-routes-markdown-walker.d.ts.map +1 -0
  1561. package/dist/web-server/shared-routes-markdown-walker.js +97 -0
  1562. package/dist/web-server/shared-routes-markdown-walker.js.map +1 -0
  1563. package/dist/web-server/shared-routes-markdown.d.ts +18 -0
  1564. package/dist/web-server/shared-routes-markdown.d.ts.map +1 -0
  1565. package/dist/web-server/shared-routes-markdown.js +167 -0
  1566. package/dist/web-server/shared-routes-markdown.js.map +1 -0
  1567. package/dist/web-server/shared-routes-path-guards.d.ts +16 -0
  1568. package/dist/web-server/shared-routes-path-guards.d.ts.map +1 -0
  1569. package/dist/web-server/shared-routes-path-guards.js +93 -0
  1570. package/dist/web-server/shared-routes-path-guards.js.map +1 -0
  1571. package/dist/web-server/shared-routes-plugin-registry-content.d.ts +12 -0
  1572. package/dist/web-server/shared-routes-plugin-registry-content.d.ts.map +1 -0
  1573. package/dist/web-server/shared-routes-plugin-registry-content.js +93 -0
  1574. package/dist/web-server/shared-routes-plugin-registry-content.js.map +1 -0
  1575. package/dist/web-server/shared-routes-plugins.d.ts +21 -0
  1576. package/dist/web-server/shared-routes-plugins.d.ts.map +1 -0
  1577. package/dist/web-server/shared-routes-plugins.js +197 -0
  1578. package/dist/web-server/shared-routes-plugins.js.map +1 -0
  1579. package/dist/web-server/shared-routes-symlink-status.d.ts +27 -0
  1580. package/dist/web-server/shared-routes-symlink-status.d.ts.map +1 -0
  1581. package/dist/web-server/shared-routes-symlink-status.js +135 -0
  1582. package/dist/web-server/shared-routes-symlink-status.js.map +1 -0
  1583. package/dist/web-server/shared-routes-types.d.ts +23 -0
  1584. package/dist/web-server/shared-routes-types.d.ts.map +1 -0
  1585. package/dist/web-server/shared-routes-types.js +15 -0
  1586. package/dist/web-server/shared-routes-types.js.map +1 -0
  1587. package/dist/web-server/shared-routes.d.ts +2 -1
  1588. package/dist/web-server/shared-routes.d.ts.map +1 -1
  1589. package/dist/web-server/shared-routes.js +50 -456
  1590. package/dist/web-server/shared-routes.js.map +1 -1
  1591. package/dist/web-server/usage/aggregator.d.ts +14 -7
  1592. package/dist/web-server/usage/aggregator.d.ts.map +1 -1
  1593. package/dist/web-server/usage/aggregator.js +164 -55
  1594. package/dist/web-server/usage/aggregator.js.map +1 -1
  1595. package/dist/web-server/usage/cliproxy-usage-syncer.d.ts +1 -16
  1596. package/dist/web-server/usage/cliproxy-usage-syncer.d.ts.map +1 -1
  1597. package/dist/web-server/usage/cliproxy-usage-syncer.js +186 -61
  1598. package/dist/web-server/usage/cliproxy-usage-syncer.js.map +1 -1
  1599. package/dist/web-server/usage/cliproxy-usage-transformer.d.ts +22 -7
  1600. package/dist/web-server/usage/cliproxy-usage-transformer.d.ts.map +1 -1
  1601. package/dist/web-server/usage/cliproxy-usage-transformer.js +278 -28
  1602. package/dist/web-server/usage/cliproxy-usage-transformer.js.map +1 -1
  1603. package/dist/web-server/usage/codex-native-usage-collector.d.ts +13 -0
  1604. package/dist/web-server/usage/codex-native-usage-collector.d.ts.map +1 -0
  1605. package/dist/web-server/usage/codex-native-usage-collector.js +291 -0
  1606. package/dist/web-server/usage/codex-native-usage-collector.js.map +1 -0
  1607. package/dist/web-server/usage/data-aggregator.d.ts.map +1 -1
  1608. package/dist/web-server/usage/data-aggregator.js +45 -46
  1609. package/dist/web-server/usage/data-aggregator.js.map +1 -1
  1610. package/dist/web-server/usage/disk-cache.js +2 -2
  1611. package/dist/web-server/usage/disk-cache.js.map +1 -1
  1612. package/dist/web-server/usage/droid-native-usage-collector.d.ts +14 -0
  1613. package/dist/web-server/usage/droid-native-usage-collector.d.ts.map +1 -0
  1614. package/dist/web-server/usage/droid-native-usage-collector.js +201 -0
  1615. package/dist/web-server/usage/droid-native-usage-collector.js.map +1 -0
  1616. package/dist/web-server/usage/handlers.d.ts +11 -8
  1617. package/dist/web-server/usage/handlers.d.ts.map +1 -1
  1618. package/dist/web-server/usage/handlers.js +197 -74
  1619. package/dist/web-server/usage/handlers.js.map +1 -1
  1620. package/dist/web-server/usage/model-identity.d.ts +16 -0
  1621. package/dist/web-server/usage/model-identity.d.ts.map +1 -0
  1622. package/dist/web-server/usage/model-identity.js +70 -0
  1623. package/dist/web-server/usage/model-identity.js.map +1 -0
  1624. package/dist/web-server/usage/profile-filter.d.ts +13 -0
  1625. package/dist/web-server/usage/profile-filter.d.ts.map +1 -0
  1626. package/dist/web-server/usage/profile-filter.js +35 -0
  1627. package/dist/web-server/usage/profile-filter.js.map +1 -0
  1628. package/dist/web-server/usage/routes.d.ts.map +1 -1
  1629. package/dist/web-server/usage/routes.js +19 -6
  1630. package/dist/web-server/usage/routes.js.map +1 -1
  1631. package/dist/web-server/usage/sqlite-cli.d.ts +27 -0
  1632. package/dist/web-server/usage/sqlite-cli.d.ts.map +1 -0
  1633. package/dist/web-server/usage/sqlite-cli.js +186 -0
  1634. package/dist/web-server/usage/sqlite-cli.js.map +1 -0
  1635. package/dist/web-server/usage/types.d.ts +14 -0
  1636. package/dist/web-server/usage/types.d.ts.map +1 -1
  1637. package/dist/web-server/websocket.d.ts.map +1 -1
  1638. package/dist/web-server/websocket.js +25 -16
  1639. package/dist/web-server/websocket.js.map +1 -1
  1640. package/lib/hooks/image-analyzer-transformer.cjs +54 -3
  1641. package/lib/hooks/websearch-transformer.cjs +136 -0
  1642. package/lib/mcp/ccs-browser-server.cjs +6769 -0
  1643. package/lib/mcp/ccs-websearch-server.cjs +1 -1
  1644. package/package.json +6 -6
  1645. package/scripts/ci-parity-gate.sh +22 -3
  1646. package/scripts/dev-release.sh +4 -2
  1647. package/scripts/ensure-deps.sh +18 -0
  1648. package/scripts/run-test-bucket.js +188 -0
  1649. package/scripts/verify-bundle.js +4 -1
  1650. package/dist/cliproxy/account-manager.d.ts +0 -16
  1651. package/dist/cliproxy/account-manager.d.ts.map +0 -1
  1652. package/dist/cliproxy/account-manager.js +0 -51
  1653. package/dist/cliproxy/account-manager.js.map +0 -1
  1654. package/dist/cliproxy/account-safety.d.ts +0 -92
  1655. package/dist/cliproxy/account-safety.d.ts.map +0 -1
  1656. package/dist/cliproxy/account-safety.js +0 -496
  1657. package/dist/cliproxy/account-safety.js.map +0 -1
  1658. package/dist/cliproxy/account-stats-key.d.ts.map +0 -1
  1659. package/dist/cliproxy/account-stats-key.js.map +0 -1
  1660. package/dist/cliproxy/antigravity-responsibility.d.ts.map +0 -1
  1661. package/dist/cliproxy/antigravity-responsibility.js +0 -171
  1662. package/dist/cliproxy/antigravity-responsibility.js.map +0 -1
  1663. package/dist/cliproxy/auth/gemini-token-refresh.d.ts +0 -40
  1664. package/dist/cliproxy/auth/gemini-token-refresh.d.ts.map +0 -1
  1665. package/dist/cliproxy/auth/gemini-token-refresh.js +0 -371
  1666. package/dist/cliproxy/auth/gemini-token-refresh.js.map +0 -1
  1667. package/dist/cliproxy/auth-handler.d.ts +0 -31
  1668. package/dist/cliproxy/auth-handler.d.ts.map +0 -1
  1669. package/dist/cliproxy/auth-handler.js +0 -60
  1670. package/dist/cliproxy/auth-handler.js.map +0 -1
  1671. package/dist/cliproxy/auth-session-manager.d.ts +0 -51
  1672. package/dist/cliproxy/auth-session-manager.d.ts.map +0 -1
  1673. package/dist/cliproxy/auth-session-manager.js +0 -134
  1674. package/dist/cliproxy/auth-session-manager.js.map +0 -1
  1675. package/dist/cliproxy/auth-token-manager.d.ts.map +0 -1
  1676. package/dist/cliproxy/auth-token-manager.js +0 -184
  1677. package/dist/cliproxy/auth-token-manager.js.map +0 -1
  1678. package/dist/cliproxy/auth-utils.d.ts +0 -16
  1679. package/dist/cliproxy/auth-utils.d.ts.map +0 -1
  1680. package/dist/cliproxy/auth-utils.js +0 -33
  1681. package/dist/cliproxy/auth-utils.js.map +0 -1
  1682. package/dist/cliproxy/base-config-loader.d.ts +0 -42
  1683. package/dist/cliproxy/base-config-loader.d.ts.map +0 -1
  1684. package/dist/cliproxy/base-config-loader.js +0 -123
  1685. package/dist/cliproxy/base-config-loader.js.map +0 -1
  1686. package/dist/cliproxy/catalog-cache.d.ts +0 -39
  1687. package/dist/cliproxy/catalog-cache.d.ts.map +0 -1
  1688. package/dist/cliproxy/catalog-cache.js +0 -254
  1689. package/dist/cliproxy/catalog-cache.js.map +0 -1
  1690. package/dist/cliproxy/cliproxy-executor.d.ts +0 -16
  1691. package/dist/cliproxy/cliproxy-executor.d.ts.map +0 -1
  1692. package/dist/cliproxy/cliproxy-executor.js +0 -27
  1693. package/dist/cliproxy/cliproxy-executor.js.map +0 -1
  1694. package/dist/cliproxy/codex-plan-compatibility.d.ts +0 -39
  1695. package/dist/cliproxy/codex-plan-compatibility.d.ts.map +0 -1
  1696. package/dist/cliproxy/codex-plan-compatibility.js +0 -134
  1697. package/dist/cliproxy/codex-plan-compatibility.js.map +0 -1
  1698. package/dist/cliproxy/codex-reasoning-proxy.d.ts +0 -61
  1699. package/dist/cliproxy/codex-reasoning-proxy.d.ts.map +0 -1
  1700. package/dist/cliproxy/codex-reasoning-proxy.js +0 -495
  1701. package/dist/cliproxy/codex-reasoning-proxy.js.map +0 -1
  1702. package/dist/cliproxy/composite-validator.d.ts.map +0 -1
  1703. package/dist/cliproxy/composite-validator.js +0 -94
  1704. package/dist/cliproxy/composite-validator.js.map +0 -1
  1705. package/dist/cliproxy/config-generator.d.ts +0 -15
  1706. package/dist/cliproxy/config-generator.d.ts.map +0 -1
  1707. package/dist/cliproxy/config-generator.js +0 -32
  1708. package/dist/cliproxy/config-generator.js.map +0 -1
  1709. package/dist/cliproxy/device-code-handler.d.ts.map +0 -1
  1710. package/dist/cliproxy/device-code-handler.js.map +0 -1
  1711. package/dist/cliproxy/gemini-cli-quota-normalizer.d.ts.map +0 -1
  1712. package/dist/cliproxy/gemini-cli-quota-normalizer.js +0 -122
  1713. package/dist/cliproxy/gemini-cli-quota-normalizer.js.map +0 -1
  1714. package/dist/cliproxy/https-tunnel-proxy.d.ts.map +0 -1
  1715. package/dist/cliproxy/https-tunnel-proxy.js +0 -224
  1716. package/dist/cliproxy/https-tunnel-proxy.js.map +0 -1
  1717. package/dist/cliproxy/management-api-client.d.ts +0 -81
  1718. package/dist/cliproxy/management-api-client.d.ts.map +0 -1
  1719. package/dist/cliproxy/management-api-client.js +0 -381
  1720. package/dist/cliproxy/management-api-client.js.map +0 -1
  1721. package/dist/cliproxy/management-api-types.d.ts.map +0 -1
  1722. package/dist/cliproxy/management-api-types.js.map +0 -1
  1723. package/dist/cliproxy/model-config.d.ts +0 -31
  1724. package/dist/cliproxy/model-config.d.ts.map +0 -1
  1725. package/dist/cliproxy/model-config.js +0 -271
  1726. package/dist/cliproxy/model-config.js.map +0 -1
  1727. package/dist/cliproxy/model-id-normalizer.d.ts +0 -105
  1728. package/dist/cliproxy/model-id-normalizer.d.ts.map +0 -1
  1729. package/dist/cliproxy/model-id-normalizer.js +0 -241
  1730. package/dist/cliproxy/model-id-normalizer.js.map +0 -1
  1731. package/dist/cliproxy/openai-compat-manager.d.ts.map +0 -1
  1732. package/dist/cliproxy/openai-compat-manager.js +0 -191
  1733. package/dist/cliproxy/openai-compat-manager.js.map +0 -1
  1734. package/dist/cliproxy/platform-detector.d.ts +0 -99
  1735. package/dist/cliproxy/platform-detector.d.ts.map +0 -1
  1736. package/dist/cliproxy/platform-detector.js +0 -174
  1737. package/dist/cliproxy/platform-detector.js.map +0 -1
  1738. package/dist/cliproxy/project-selection-handler.d.ts.map +0 -1
  1739. package/dist/cliproxy/project-selection-handler.js.map +0 -1
  1740. package/dist/cliproxy/proxy-config-resolver.d.ts +0 -87
  1741. package/dist/cliproxy/proxy-config-resolver.d.ts.map +0 -1
  1742. package/dist/cliproxy/proxy-config-resolver.js +0 -254
  1743. package/dist/cliproxy/proxy-config-resolver.js.map +0 -1
  1744. package/dist/cliproxy/proxy-detector.d.ts +0 -72
  1745. package/dist/cliproxy/proxy-detector.d.ts.map +0 -1
  1746. package/dist/cliproxy/proxy-detector.js +0 -196
  1747. package/dist/cliproxy/proxy-detector.js.map +0 -1
  1748. package/dist/cliproxy/proxy-target-resolver.d.ts.map +0 -1
  1749. package/dist/cliproxy/proxy-target-resolver.js +0 -108
  1750. package/dist/cliproxy/proxy-target-resolver.js.map +0 -1
  1751. package/dist/cliproxy/quota-fetcher-claude-normalizer.d.ts +0 -18
  1752. package/dist/cliproxy/quota-fetcher-claude-normalizer.d.ts.map +0 -1
  1753. package/dist/cliproxy/quota-fetcher-claude-normalizer.js +0 -291
  1754. package/dist/cliproxy/quota-fetcher-claude-normalizer.js.map +0 -1
  1755. package/dist/cliproxy/quota-fetcher-claude.d.ts +0 -21
  1756. package/dist/cliproxy/quota-fetcher-claude.d.ts.map +0 -1
  1757. package/dist/cliproxy/quota-fetcher-claude.js +0 -306
  1758. package/dist/cliproxy/quota-fetcher-claude.js.map +0 -1
  1759. package/dist/cliproxy/quota-fetcher-codex.d.ts +0 -69
  1760. package/dist/cliproxy/quota-fetcher-codex.d.ts.map +0 -1
  1761. package/dist/cliproxy/quota-fetcher-codex.js +0 -599
  1762. package/dist/cliproxy/quota-fetcher-codex.js.map +0 -1
  1763. package/dist/cliproxy/quota-fetcher-gemini-cli.d.ts.map +0 -1
  1764. package/dist/cliproxy/quota-fetcher-gemini-cli.js +0 -661
  1765. package/dist/cliproxy/quota-fetcher-gemini-cli.js.map +0 -1
  1766. package/dist/cliproxy/quota-fetcher-ghcp.d.ts.map +0 -1
  1767. package/dist/cliproxy/quota-fetcher-ghcp.js +0 -207
  1768. package/dist/cliproxy/quota-fetcher-ghcp.js.map +0 -1
  1769. package/dist/cliproxy/quota-fetcher.d.ts +0 -107
  1770. package/dist/cliproxy/quota-fetcher.d.ts.map +0 -1
  1771. package/dist/cliproxy/quota-fetcher.js +0 -657
  1772. package/dist/cliproxy/quota-fetcher.js.map +0 -1
  1773. package/dist/cliproxy/quota-manager.d.ts +0 -105
  1774. package/dist/cliproxy/quota-manager.d.ts.map +0 -1
  1775. package/dist/cliproxy/quota-manager.js +0 -485
  1776. package/dist/cliproxy/quota-manager.js.map +0 -1
  1777. package/dist/cliproxy/quota-response-cache.d.ts.map +0 -1
  1778. package/dist/cliproxy/quota-response-cache.js.map +0 -1
  1779. package/dist/cliproxy/quota-types.d.ts +0 -245
  1780. package/dist/cliproxy/quota-types.d.ts.map +0 -1
  1781. package/dist/cliproxy/quota-types.js.map +0 -1
  1782. package/dist/cliproxy/remote-auth-fetcher.d.ts +0 -30
  1783. package/dist/cliproxy/remote-auth-fetcher.d.ts.map +0 -1
  1784. package/dist/cliproxy/remote-auth-fetcher.js +0 -177
  1785. package/dist/cliproxy/remote-auth-fetcher.js.map +0 -1
  1786. package/dist/cliproxy/remote-proxy-client.d.ts.map +0 -1
  1787. package/dist/cliproxy/remote-proxy-client.js +0 -281
  1788. package/dist/cliproxy/remote-proxy-client.js.map +0 -1
  1789. package/dist/cliproxy/remote-token-uploader.d.ts.map +0 -1
  1790. package/dist/cliproxy/remote-token-uploader.js +0 -178
  1791. package/dist/cliproxy/remote-token-uploader.js.map +0 -1
  1792. package/dist/cliproxy/schema-sanitizer.d.ts.map +0 -1
  1793. package/dist/cliproxy/schema-sanitizer.js.map +0 -1
  1794. package/dist/cliproxy/startup-lock.d.ts.map +0 -1
  1795. package/dist/cliproxy/startup-lock.js +0 -216
  1796. package/dist/cliproxy/startup-lock.js.map +0 -1
  1797. package/dist/cliproxy/stats-fetcher.d.ts +0 -158
  1798. package/dist/cliproxy/stats-fetcher.d.ts.map +0 -1
  1799. package/dist/cliproxy/stats-fetcher.js +0 -246
  1800. package/dist/cliproxy/stats-fetcher.js.map +0 -1
  1801. package/dist/cliproxy/stats-transformer.d.ts.map +0 -1
  1802. package/dist/cliproxy/stats-transformer.js +0 -152
  1803. package/dist/cliproxy/stats-transformer.js.map +0 -1
  1804. package/dist/cliproxy/tool-name-mapper.d.ts +0 -103
  1805. package/dist/cliproxy/tool-name-mapper.d.ts.map +0 -1
  1806. package/dist/cliproxy/tool-name-mapper.js +0 -149
  1807. package/dist/cliproxy/tool-name-mapper.js.map +0 -1
  1808. package/dist/cliproxy/tool-name-sanitizer.d.ts +0 -65
  1809. package/dist/cliproxy/tool-name-sanitizer.d.ts.map +0 -1
  1810. package/dist/cliproxy/tool-name-sanitizer.js +0 -118
  1811. package/dist/cliproxy/tool-name-sanitizer.js.map +0 -1
  1812. package/dist/cliproxy/tool-sanitization-proxy.d.ts +0 -77
  1813. package/dist/cliproxy/tool-sanitization-proxy.d.ts.map +0 -1
  1814. package/dist/cliproxy/tool-sanitization-proxy.js +0 -643
  1815. package/dist/cliproxy/tool-sanitization-proxy.js.map +0 -1
  1816. package/dist/commands/cliproxy/resolve-lifecycle-port.d.ts +0 -9
  1817. package/dist/commands/cliproxy/resolve-lifecycle-port.d.ts.map +0 -1
  1818. package/dist/commands/cliproxy/resolve-lifecycle-port.js +0 -14
  1819. package/dist/commands/cliproxy/resolve-lifecycle-port.js.map +0 -1
  1820. package/dist/ui/assets/accounts-DhtktAIG.js +0 -1
  1821. package/dist/ui/assets/alert-dialog-DQK2Jxfk.js +0 -1
  1822. package/dist/ui/assets/api-Den1YY2d.js +0 -4
  1823. package/dist/ui/assets/auth-section-BQitOLMK.js +0 -1
  1824. package/dist/ui/assets/backups-section-BLGK5re-.js +0 -1
  1825. package/dist/ui/assets/channels-Dop1axTi.js +0 -1
  1826. package/dist/ui/assets/charts-BBPXh0Ar.js +0 -64
  1827. package/dist/ui/assets/checkbox-DDrDuGxi.js +0 -1
  1828. package/dist/ui/assets/claude-extension-6WjTc0o8.js +0 -1
  1829. package/dist/ui/assets/cliproxy-Ch7RdSMG.js +0 -3
  1830. package/dist/ui/assets/cliproxy-ai-providers-DjybBlb5.js +0 -21
  1831. package/dist/ui/assets/cliproxy-control-panel-DDif_QAT.js +0 -1
  1832. package/dist/ui/assets/code-highlight-BRUf_pqB.js +0 -3
  1833. package/dist/ui/assets/codex-DFAV50Ee.js +0 -27
  1834. package/dist/ui/assets/confirm-dialog-CP26_Zko.js +0 -1
  1835. package/dist/ui/assets/copilot-uZuyhqwv.js +0 -3
  1836. package/dist/ui/assets/cursor-CuaM2FmN.js +0 -1
  1837. package/dist/ui/assets/droid-DdjXJ2lF.js +0 -2
  1838. package/dist/ui/assets/form-utils-Bcoyqxpq.js +0 -20
  1839. package/dist/ui/assets/globalenv-section-D5_-EIlf.js +0 -1
  1840. package/dist/ui/assets/health-BHhVKLNR.js +0 -1
  1841. package/dist/ui/assets/icons-CQ3MLSan.js +0 -1
  1842. package/dist/ui/assets/index-B8bAYHAs.js +0 -1
  1843. package/dist/ui/assets/index-Ba-43jCS.js +0 -1
  1844. package/dist/ui/assets/index-Bb2CPQik.css +0 -1
  1845. package/dist/ui/assets/index-Bm09kGOw.js +0 -1
  1846. package/dist/ui/assets/index-DHY37v8a.js +0 -1
  1847. package/dist/ui/assets/index-DLCFe4s3.js +0 -1
  1848. package/dist/ui/assets/index-TSYtCr3K.js +0 -69
  1849. package/dist/ui/assets/masked-input-CTkIqCMg.js +0 -1
  1850. package/dist/ui/assets/notifications-B2HqRBj7.js +0 -1
  1851. package/dist/ui/assets/proxy-status-widget-DPhKjJFl.js +0 -1
  1852. package/dist/ui/assets/radix-ui-BlliRfHq.js +0 -51
  1853. package/dist/ui/assets/raw-json-settings-editor-panel-DQr_y0E4.js +0 -1
  1854. package/dist/ui/assets/react-vendor-CNOkPC89.js +0 -3
  1855. package/dist/ui/assets/searchable-select-C2sP7JW5.js +0 -1
  1856. package/dist/ui/assets/separator-2lt47Sla.js +0 -1
  1857. package/dist/ui/assets/shared-DPKtsiFQ.js +0 -8
  1858. package/dist/ui/assets/table-DbsFACgT.js +0 -1
  1859. package/dist/ui/assets/tanstack-BjiH4QZq.js +0 -4
  1860. package/dist/ui/assets/updates-C5iL4KNn.js +0 -1
  1861. package/scripts/github/build-ai-review-packet.mjs +0 -242
  1862. package/scripts/github/normalize-ai-review-output.mjs +0 -934
  1863. package/scripts/github/prepare-ai-review-scope.mjs +0 -324
  1864. package/scripts/github/run-ai-review-direct.mjs +0 -349
  1865. /package/dist/cliproxy/{account-stats-key.d.ts → accounts/account-stats-key.d.ts} +0 -0
  1866. /package/dist/cliproxy/{account-stats-key.js → accounts/account-stats-key.js} +0 -0
  1867. /package/dist/cliproxy/{openai-compat-manager.d.ts → ai-providers/openai-compat-manager.d.ts} +0 -0
  1868. /package/dist/cliproxy/{schema-sanitizer.d.ts → ai-providers/schema-sanitizer.d.ts} +0 -0
  1869. /package/dist/cliproxy/{schema-sanitizer.js → ai-providers/schema-sanitizer.js} +0 -0
  1870. /package/dist/cliproxy/{antigravity-responsibility.d.ts → auth/antigravity-responsibility.d.ts} +0 -0
  1871. /package/dist/cliproxy/{auth-token-manager.d.ts → auth/auth-token-manager.d.ts} +0 -0
  1872. /package/dist/cliproxy/{device-code-handler.d.ts → auth/device-code-handler.d.ts} +0 -0
  1873. /package/dist/cliproxy/{device-code-handler.js → auth/device-code-handler.js} +0 -0
  1874. /package/dist/cliproxy/{project-selection-handler.d.ts → auth/project-selection-handler.d.ts} +0 -0
  1875. /package/dist/cliproxy/{project-selection-handler.js → auth/project-selection-handler.js} +0 -0
  1876. /package/dist/cliproxy/{composite-validator.d.ts → config/composite-validator.d.ts} +0 -0
  1877. /package/dist/cliproxy/{management-api-types.d.ts → management/management-api-types.d.ts} +0 -0
  1878. /package/dist/cliproxy/{management-api-types.js → management/management-api-types.js} +0 -0
  1879. /package/dist/cliproxy/{remote-token-uploader.d.ts → management/remote-token-uploader.d.ts} +0 -0
  1880. /package/dist/cliproxy/{https-tunnel-proxy.d.ts → proxy/https-tunnel-proxy.d.ts} +0 -0
  1881. /package/dist/cliproxy/{proxy-target-resolver.d.ts → proxy/proxy-target-resolver.d.ts} +0 -0
  1882. /package/dist/cliproxy/{gemini-cli-quota-normalizer.d.ts → quota/gemini-cli-quota-normalizer.d.ts} +0 -0
  1883. /package/dist/cliproxy/{quota-fetcher-gemini-cli.d.ts → quota/quota-fetcher-gemini-cli.d.ts} +0 -0
  1884. /package/dist/cliproxy/{quota-fetcher-ghcp.d.ts → quota/quota-fetcher-ghcp.d.ts} +0 -0
  1885. /package/dist/cliproxy/{quota-response-cache.d.ts → quota/quota-response-cache.d.ts} +0 -0
  1886. /package/dist/cliproxy/{quota-response-cache.js → quota/quota-response-cache.js} +0 -0
  1887. /package/dist/cliproxy/{quota-types.js → quota/quota-types.js} +0 -0
  1888. /package/dist/cliproxy/{remote-proxy-client.d.ts → services/remote-proxy-client.d.ts} +0 -0
  1889. /package/dist/cliproxy/{startup-lock.d.ts → services/startup-lock.d.ts} +0 -0
  1890. /package/dist/cliproxy/{stats-transformer.d.ts → services/stats-transformer.d.ts} +0 -0
@@ -0,0 +1,20 @@
1
+ import{E as P}from"./react-vendor-Bjx91N7w.js";var xe=e=>e.type==="checkbox",_e=e=>e instanceof Date,G=e=>e==null;const ar=e=>typeof e=="object";var N=e=>!G(e)&&!Array.isArray(e)&&ar(e)&&!_e(e),qr=e=>N(e)&&e.target?xe(e.target)?e.target.checked:e.target.value:e,Jr=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Kr=(e,t)=>e.has(Jr(t)),Hr=e=>{const t=e.constructor&&e.constructor.prototype;return N(t)&&t.hasOwnProperty("isPrototypeOf")},ft=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function B(e){let t;const r=Array.isArray(e),n=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(ft&&(e instanceof Blob||n))&&(r||N(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!Hr(e))t=e;else for(const o in e)e.hasOwnProperty(o)&&(t[o]=B(e[o]));else return e;return t}var Be=e=>/^\w*$/.test(e),j=e=>e===void 0,dt=e=>Array.isArray(e)?e.filter(Boolean):[],ht=e=>dt(e.replace(/["|']|\]/g,"").split(/\.|\[/)),v=(e,t,r)=>{if(!t||!N(e))return r;const n=(Be(t)?[t]:ht(t)).reduce((o,s)=>G(o)?o:o[s],e);return j(n)||n===e?j(e[t])?r:e[t]:n},ie=e=>typeof e=="boolean",D=(e,t,r)=>{let n=-1;const o=Be(t)?[t]:ht(t),s=o.length,i=s-1;for(;++n<s;){const a=o[n];let p=r;if(n!==i){const _=e[a];p=N(_)||Array.isArray(_)?_:isNaN(+o[n+1])?{}:[]}if(a==="__proto__"||a==="constructor"||a==="prototype")return;e[a]=p,e=e[a]}};const Vt={BLUR:"blur",FOCUS_OUT:"focusout"},te={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ae={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},lr=P.createContext(null);lr.displayName="HookFormContext";const Gr=()=>P.useContext(lr);var Xr=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const s in e)Object.defineProperty(o,s,{get:()=>{const i=s;return t._proxyFormState[i]!==te.all&&(t._proxyFormState[i]=!n||te.all),e[i]}});return o};const fr=typeof window<"u"?P.useLayoutEffect:P.useEffect;var X=e=>typeof e=="string",st=(e,t,r,n,o)=>X(e)?(n&&t.watch.add(e),v(r,e,o)):Array.isArray(e)?e.map(s=>(n&&t.watch.add(s),v(r,s))):(n&&(t.watchAll=!0),r),it=e=>G(e)||!ar(e);function re(e,t,r=new WeakSet){if(it(e)||it(t))return Object.is(e,t);if(_e(e)&&_e(t))return e.getTime()===t.getTime();const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const s of n){const i=e[s];if(!o.includes(s))return!1;if(s!=="ref"){const a=t[s];if(_e(i)&&_e(a)||N(i)&&N(a)||Array.isArray(i)&&Array.isArray(a)?!re(i,a,r):!Object.is(i,a))return!1}}return!0}function gu(e){const t=Gr(),{control:r=t.control,name:n,defaultValue:o,disabled:s,exact:i,compute:a}=e||{},p=P.useRef(o),_=P.useRef(a),y=P.useRef(void 0),k=P.useRef(r),m=P.useRef(n);_.current=a;const[O,I]=P.useState(()=>{const Z=r._getWatch(n,p.current);return _.current?_.current(Z):Z}),V=P.useCallback(Z=>{const $=st(n,r._names,Z||r._formValues,!1,p.current);return _.current?_.current($):$},[r._formValues,r._names,n]),q=P.useCallback(Z=>{if(!s){const $=st(n,r._names,Z||r._formValues,!1,p.current);if(_.current){const le=_.current($);re(le,y.current)||(I(le),y.current=le)}else I($)}},[r._formValues,r._names,s,n]);fr(()=>((k.current!==r||!re(m.current,n))&&(k.current=r,m.current=n,q()),r._subscribe({name:n,formState:{values:!0},exact:i,callback:Z=>{q(Z.values)}})),[r,i,n,q]),P.useEffect(()=>r._removeUnmounted());const ce=k.current!==r,z=m.current,R=P.useMemo(()=>{if(s)return null;const Z=!ce&&!re(z,n);return ce||Z?V():null},[s,ce,n,z,V]);return R!==null?R:O}var Yr=(e,t,r,n,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:o||!0}}:{},Fe=e=>Array.isArray(e)?e:[e],xt=()=>{let e=[];return{get observers(){return e},next:o=>{for(const s of e)s.next&&s.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(s=>s!==o)}}),unsubscribe:()=>{e=[]}}};function dr(e,t){const r={};for(const n in e)if(e.hasOwnProperty(n)){const o=e[n],s=t[n];if(o&&N(o)&&s){const i=dr(o,s);N(i)&&(r[n]=i)}else e[n]&&(r[n]=s)}return r}var K=e=>N(e)&&!Object.keys(e).length,pt=e=>e.type==="file",ne=e=>typeof e=="function",Ue=e=>{if(!ft)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},hr=e=>e.type==="select-multiple",_t=e=>e.type==="radio",Qr=e=>_t(e)||xe(e),ot=e=>Ue(e)&&e.isConnected;function en(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=j(e)?n++:e[t[n++]];return e}function tn(e){for(const t in e)if(e.hasOwnProperty(t)&&!j(e[t]))return!1;return!0}function L(e,t){const r=Array.isArray(t)?t:Be(t)?[t]:ht(t),n=r.length===1?e:en(e,r),o=r.length-1,s=r[o];return n&&delete n[s],o!==0&&(N(n)&&K(n)||Array.isArray(n)&&tn(n))&&L(e,r.slice(0,-1)),e}var rn=e=>{for(const t in e)if(ne(e[t]))return!0;return!1};function pr(e){return Array.isArray(e)||N(e)&&!rn(e)}function ut(e,t={}){for(const r in e){const n=e[r];pr(n)?(t[r]=Array.isArray(n)?[]:{},ut(n,t[r])):j(n)||(t[r]=!0)}return t}function ke(e,t,r){r||(r=ut(t));for(const n in e){const o=e[n];if(pr(o))j(t)||it(r[n])?r[n]=ut(o,Array.isArray(o)?[]:{}):ke(o,G(t)?{}:t[n],r[n]);else{const s=t[n];r[n]=!re(o,s)}}return r}const St={value:!1,isValid:!1},It={value:!0,isValid:!0};var _r=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!j(e[0].attributes.value)?j(e[0].value)||e[0].value===""?It:{value:e[0].value,isValid:!0}:It:St}return St},gr=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>j(e)?e:t?e===""?NaN:e&&+e:r&&X(e)?new Date(e):n?n(e):e;const Pt={isValid:!1,value:null};var mr=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,Pt):Pt;function Tt(e){const t=e.ref;return pt(t)?t.files:_t(t)?mr(e.refs).value:hr(t)?[...t.selectedOptions].map(({value:r})=>r):xe(t)?_r(e.refs).value:gr(j(t.value)?e.ref.value:t.value,e)}var nn=(e,t,r,n)=>{const o={};for(const s of e){const i=v(t,s);i&&D(o,s,i._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:n}},je=e=>e instanceof RegExp,Ee=e=>j(e)?e:je(e)?e.source:N(e)?je(e.value)?e.value.source:e.value:e,Ct=e=>({isOnSubmit:!e||e===te.onSubmit,isOnBlur:e===te.onBlur,isOnChange:e===te.onChange,isOnAll:e===te.all,isOnTouch:e===te.onTouched});const Rt="AsyncFunction";var on=e=>!!e&&!!e.validate&&!!(ne(e.validate)&&e.validate.constructor.name===Rt||N(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===Rt)),sn=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),Ut=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const De=(e,t,r,n)=>{for(const o of r||Object.keys(e)){const s=v(e,o);if(s){const{_f:i,...a}=s;if(i){if(i.refs&&i.refs[0]&&t(i.refs[0],o)&&!n)return!0;if(i.ref&&t(i.ref,i.name)&&!n)return!0;if(De(a,t))break}else if(N(a)&&De(a,t))break}}};function jt(e,t,r){const n=v(e,r);if(n||Be(r))return{error:n,name:r};const o=r.split(".");for(;o.length;){const s=o.join("."),i=v(t,s),a=v(e,s);if(i&&!Array.isArray(i)&&r!==s)return{name:r};if(a&&a.type)return{name:s,error:a};if(a&&a.root&&a.root.type)return{name:`${s}.root`,error:a.root};o.pop()}return{name:r}}var un=(e,t,r,n)=>{r(e);const{name:o,...s}=e;return K(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(i=>t[i]===(!n||te.all))},cn=(e,t,r)=>!e||!t||e===t||Fe(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n))),an=(e,t,r,n,o)=>o.isOnAll?!1:!r&&o.isOnTouch?!(t||e):(r?n.isOnBlur:o.isOnBlur)?!e:(r?n.isOnChange:o.isOnChange)?e:!0,ln=(e,t)=>!dt(v(e,t)).length&&L(e,t),fn=(e,t,r)=>{const n=Fe(v(e,r));return D(n,"root",t[r]),D(e,r,n),e};function Lt(e,t,r="validate"){if(X(e)||Array.isArray(e)&&e.every(X)||ie(e)&&!e)return{type:r,message:X(e)?e:"",ref:t}}var be=e=>N(e)&&!je(e)?e:{value:e,message:""},Nt=async(e,t,r,n,o,s)=>{const{ref:i,refs:a,required:p,maxLength:_,minLength:y,min:k,max:m,pattern:O,validate:I,name:V,valueAsNumber:q,mount:ce}=e._f,z=v(r,V);if(!ce||t.has(V))return{};const R=a?a[0]:i,Z=A=>{o&&R.reportValidity&&(R.setCustomValidity(ie(A)?"":A||""),R.reportValidity())},$={},le=_t(i),fe=xe(i),Ye=le||fe,ee=(q||pt(i))&&j(i.value)&&j(z)||Ue(i)&&i.value===""||z===""||Array.isArray(z)&&!z.length,pe=Yr.bind(null,V,n,$),oe=(A,F,U,J=ae.maxLength,H=ae.minLength)=>{const se=A?F:U;$[V]={type:A?J:H,message:se,ref:i,...pe(A?J:H,se)}};if(s?!Array.isArray(z)||!z.length:p&&(!Ye&&(ee||G(z))||ie(z)&&!z||fe&&!_r(a).isValid||le&&!mr(a).isValid)){const{value:A,message:F}=X(p)?{value:!!p,message:p}:be(p);if(A&&($[V]={type:ae.required,message:F,ref:R,...pe(ae.required,F)},!n))return Z(F),$}if(!ee&&(!G(k)||!G(m))){let A,F;const U=be(m),J=be(k);if(!G(z)&&!isNaN(z)){const H=i.valueAsNumber||z&&+z;G(U.value)||(A=H>U.value),G(J.value)||(F=H<J.value)}else{const H=i.valueAsDate||new Date(z),se=Se=>new Date(new Date().toDateString()+" "+Se),Ae=i.type=="time",we=i.type=="week";X(U.value)&&z&&(A=Ae?se(z)>se(U.value):we?z>U.value:H>new Date(U.value)),X(J.value)&&z&&(F=Ae?se(z)<se(J.value):we?z<J.value:H<new Date(J.value))}if((A||F)&&(oe(!!A,U.message,J.message,ae.max,ae.min),!n))return Z($[V].message),$}if((_||y)&&!ee&&(X(z)||s&&Array.isArray(z))){const A=be(_),F=be(y),U=!G(A.value)&&z.length>+A.value,J=!G(F.value)&&z.length<+F.value;if((U||J)&&(oe(U,A.message,F.message),!n))return Z($[V].message),$}if(O&&!ee&&X(z)){const{value:A,message:F}=be(O);if(je(A)&&!z.match(A)&&($[V]={type:ae.pattern,message:F,ref:i,...pe(ae.pattern,F)},!n))return Z(F),$}if(I){if(ne(I)){const A=await I(z,r),F=Lt(A,R);if(F&&($[V]={...F,...pe(ae.validate,F.message)},!n))return Z(F.message),$}else if(N(I)){let A={};for(const F in I){if(!K(A)&&!n)break;const U=Lt(await I[F](z,r),R,F);U&&(A={...U,...pe(F,U.message)},Z(U.message),n&&($[V]=A))}if(!K(A)&&($[V]={ref:R,...A},!n))return $}}return Z(!0),$};const dn={mode:te.onSubmit,reValidateMode:te.onChange,shouldFocusError:!0};function hn(e={}){let t={...dn,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:ne(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},o=N(t.defaultValues)||N(t.values)?B(t.defaultValues||t.values)||{}:{},s=t.shouldUnregister?{}:B(o),i={action:!1,mount:!1,watch:!1},a={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},p,_=0;const y={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let k={...y};const m={array:xt(),state:xt()},O=t.criteriaMode===te.all,I=u=>c=>{clearTimeout(_),_=setTimeout(u,c)},V=async u=>{if(!t.disabled&&(y.isValid||k.isValid||u)){const c=t.resolver?K((await fe()).errors):await ee(n,!0);c!==r.isValid&&m.state.next({isValid:c})}},q=(u,c)=>{!t.disabled&&(y.isValidating||y.validatingFields||k.isValidating||k.validatingFields)&&((u||Array.from(a.mount)).forEach(l=>{l&&(c?D(r.validatingFields,l,c):L(r.validatingFields,l))}),m.state.next({validatingFields:r.validatingFields,isValidating:!K(r.validatingFields)}))},ce=(u,c=[],l,g,h=!0,d=!0)=>{if(g&&l&&!t.disabled){if(i.action=!0,d&&Array.isArray(v(n,u))){const w=l(v(n,u),g.argA,g.argB);h&&D(n,u,w)}if(d&&Array.isArray(v(r.errors,u))){const w=l(v(r.errors,u),g.argA,g.argB);h&&D(r.errors,u,w),ln(r.errors,u)}if((y.touchedFields||k.touchedFields)&&d&&Array.isArray(v(r.touchedFields,u))){const w=l(v(r.touchedFields,u),g.argA,g.argB);h&&D(r.touchedFields,u,w)}(y.dirtyFields||k.dirtyFields)&&(r.dirtyFields=ke(o,s)),m.state.next({name:u,isDirty:oe(u,c),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else D(s,u,c)},z=(u,c)=>{D(r.errors,u,c),m.state.next({errors:r.errors})},R=u=>{r.errors=u,m.state.next({errors:r.errors,isValid:!1})},Z=(u,c,l,g)=>{const h=v(n,u);if(h){const d=v(s,u,j(l)?v(o,u):l);j(d)||g&&g.defaultChecked||c?D(s,u,c?d:Tt(h._f)):U(u,d),i.mount&&!i.action&&V()}},$=(u,c,l,g,h)=>{let d=!1,w=!1;const E={name:u};if(!t.disabled){if(!l||g){(y.isDirty||k.isDirty)&&(w=r.isDirty,r.isDirty=E.isDirty=oe(),d=w!==E.isDirty);const x=re(v(o,u),c);w=!!v(r.dirtyFields,u),x?L(r.dirtyFields,u):D(r.dirtyFields,u,!0),E.dirtyFields=r.dirtyFields,d=d||(y.dirtyFields||k.dirtyFields)&&w!==!x}if(l){const x=v(r.touchedFields,u);x||(D(r.touchedFields,u,l),E.touchedFields=r.touchedFields,d=d||(y.touchedFields||k.touchedFields)&&x!==l)}d&&h&&m.state.next(E)}return d?E:{}},le=(u,c,l,g)=>{const h=v(r.errors,u),d=(y.isValid||k.isValid)&&ie(c)&&r.isValid!==c;if(t.delayError&&l?(p=I(()=>z(u,l)),p(t.delayError)):(clearTimeout(_),p=null,l?D(r.errors,u,l):L(r.errors,u)),(l?!re(h,l):h)||!K(g)||d){const w={...g,...d&&ie(c)?{isValid:c}:{},errors:r.errors,name:u};r={...r,...w},m.state.next(w)}},fe=async u=>{q(u,!0);const c=await t.resolver(s,t.context,nn(u||a.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return q(u),c},Ye=async u=>{const{errors:c}=await fe(u);if(u)for(const l of u){const g=v(c,l);g?D(r.errors,l,g):L(r.errors,l)}else r.errors=c;return c},ee=async(u,c,l={valid:!0})=>{for(const g in u){const h=u[g];if(h){const{_f:d,...w}=h;if(d){const E=a.array.has(d.name),x=h._f&&on(h._f);x&&y.validatingFields&&q([d.name],!0);const Y=await Nt(h,a.disabled,s,O,t.shouldUseNativeValidation&&!c,E);if(x&&y.validatingFields&&q([d.name]),Y[d.name]&&(l.valid=!1,c))break;!c&&(v(Y,d.name)?E?fn(r.errors,Y,d.name):D(r.errors,d.name,Y[d.name]):L(r.errors,d.name))}!K(w)&&await ee(w,c,l)}}return l.valid},pe=()=>{for(const u of a.unMount){const c=v(n,u);c&&(c._f.refs?c._f.refs.every(l=>!ot(l)):!ot(c._f.ref))&&Qe(u)}a.unMount=new Set},oe=(u,c)=>!t.disabled&&(u&&c&&D(s,u,c),!re(Se(),o)),A=(u,c,l)=>st(u,a,{...i.mount?s:j(c)?o:X(u)?{[u]:c}:c},l,c),F=u=>dt(v(i.mount?s:o,u,t.shouldUnregister?v(o,u,[]):[])),U=(u,c,l={})=>{const g=v(n,u);let h=c;if(g){const d=g._f;d&&(!d.disabled&&D(s,u,gr(c,d)),h=Ue(d.ref)&&G(c)?"":c,hr(d.ref)?[...d.ref.options].forEach(w=>w.selected=h.includes(w.value)):d.refs?xe(d.ref)?d.refs.forEach(w=>{(!w.defaultChecked||!w.disabled)&&(Array.isArray(h)?w.checked=!!h.find(E=>E===w.value):w.checked=h===w.value||!!h)}):d.refs.forEach(w=>w.checked=w.value===h):pt(d.ref)?d.ref.value="":(d.ref.value=h,d.ref.type||m.state.next({name:u,values:B(s)})))}(l.shouldDirty||l.shouldTouch)&&$(u,h,l.shouldTouch,l.shouldDirty,!0),l.shouldValidate&&we(u)},J=(u,c,l)=>{for(const g in c){if(!c.hasOwnProperty(g))return;const h=c[g],d=u+"."+g,w=v(n,d);(a.array.has(u)||N(h)||w&&!w._f)&&!_e(h)?J(d,h,l):U(d,h,l)}},H=(u,c,l={})=>{const g=v(n,u),h=a.array.has(u),d=B(c);D(s,u,d),h?(m.array.next({name:u,values:B(s)}),(y.isDirty||y.dirtyFields||k.isDirty||k.dirtyFields)&&l.shouldDirty&&m.state.next({name:u,dirtyFields:ke(o,s),isDirty:oe(u,d)})):g&&!g._f&&!G(d)?J(u,d,l):U(u,d,l),Ut(u,a)&&m.state.next({...r,name:u}),m.state.next({name:i.mount?u:void 0,values:B(s)})},se=async u=>{i.mount=!0;const c=u.target;let l=c.name,g=!0;const h=v(n,l),d=x=>{g=Number.isNaN(x)||_e(x)&&isNaN(x.getTime())||re(x,v(s,l,x))},w=Ct(t.mode),E=Ct(t.reValidateMode);if(h){let x,Y;const Ie=c.type?Tt(h._f):qr(u),de=u.type===Vt.BLUR||u.type===Vt.FOCUS_OUT,Mr=!sn(h._f)&&!t.resolver&&!v(r.errors,l)&&!h._f.deps||an(de,v(r.touchedFields,l),r.isSubmitted,E,w),rt=Ut(l,a,de);D(s,l,Ie),de?(!c||!c.readOnly)&&(h._f.onBlur&&h._f.onBlur(u),p&&p(0)):h._f.onChange&&h._f.onChange(u);const nt=$(l,Ie,de),Br=!K(nt)||rt;if(!de&&m.state.next({name:l,type:u.type,values:B(s)}),Mr)return(y.isValid||k.isValid)&&(t.mode==="onBlur"?de&&V():de||V()),Br&&m.state.next({name:l,...rt?{}:nt});if(!de&&rt&&m.state.next({...r}),t.resolver){const{errors:Dt}=await fe([l]);if(d(Ie),g){const Wr=jt(r.errors,n,l),Ot=jt(Dt,n,Wr.name||l);x=Ot.error,l=Ot.name,Y=K(Dt)}}else q([l],!0),x=(await Nt(h,a.disabled,s,O,t.shouldUseNativeValidation))[l],q([l]),d(Ie),g&&(x?Y=!1:(y.isValid||k.isValid)&&(Y=await ee(n,!0)));g&&(h._f.deps&&(!Array.isArray(h._f.deps)||h._f.deps.length>0)&&we(h._f.deps),le(l,Y,x,nt))}},Ae=(u,c)=>{if(v(r.errors,c)&&u.focus)return u.focus(),1},we=async(u,c={})=>{let l,g;const h=Fe(u);if(t.resolver){const d=await Ye(j(u)?u:h);l=K(d),g=u?!h.some(w=>v(d,w)):l}else u?(g=(await Promise.all(h.map(async d=>{const w=v(n,d);return await ee(w&&w._f?{[d]:w}:w)}))).every(Boolean),!(!g&&!r.isValid)&&V()):g=l=await ee(n);return m.state.next({...!X(u)||(y.isValid||k.isValid)&&l!==r.isValid?{}:{name:u},...t.resolver||!u?{isValid:l}:{},errors:r.errors}),c.shouldFocus&&!g&&De(n,Ae,u?h:a.mount),g},Se=(u,c)=>{let l={...i.mount?s:o};return c&&(l=dr(c.dirtyFields?r.dirtyFields:r.touchedFields,l)),j(u)?l:X(u)?v(l,u):u.map(g=>v(l,g))},bt=(u,c)=>({invalid:!!v((c||r).errors,u),isDirty:!!v((c||r).dirtyFields,u),error:v((c||r).errors,u),isValidating:!!v(r.validatingFields,u),isTouched:!!v((c||r).touchedFields,u)}),Tr=u=>{u&&Fe(u).forEach(c=>L(r.errors,c)),m.state.next({errors:u?r.errors:{}})},kt=(u,c,l)=>{const g=(v(n,u,{_f:{}})._f||{}).ref,h=v(r.errors,u)||{},{ref:d,message:w,type:E,...x}=h;D(r.errors,u,{...x,...c,ref:g}),m.state.next({name:u,errors:r.errors,isValid:!1}),l&&l.shouldFocus&&g&&g.focus&&g.focus()},Cr=(u,c)=>ne(u)?m.state.subscribe({next:l=>"values"in l&&u(A(void 0,c),l)}):A(u,c,!0),zt=u=>m.state.subscribe({next:c=>{cn(u.name,c.name,u.exact)&&un(c,u.formState||y,Nr,u.reRenderRoot)&&u.callback({values:{...s},...r,...c,defaultValues:o})}}).unsubscribe,Rr=u=>(i.mount=!0,k={...k,...u.formState},zt({...u,formState:k})),Qe=(u,c={})=>{for(const l of u?Fe(u):a.mount)a.mount.delete(l),a.array.delete(l),c.keepValue||(L(n,l),L(s,l)),!c.keepError&&L(r.errors,l),!c.keepDirty&&L(r.dirtyFields,l),!c.keepTouched&&L(r.touchedFields,l),!c.keepIsValidating&&L(r.validatingFields,l),!t.shouldUnregister&&!c.keepDefaultValue&&L(o,l);m.state.next({values:B(s)}),m.state.next({...r,...c.keepDirty?{isDirty:oe()}:{}}),!c.keepIsValid&&V()},Zt=({disabled:u,name:c})=>{(ie(u)&&i.mount||u||a.disabled.has(c))&&(u?a.disabled.add(c):a.disabled.delete(c))},et=(u,c={})=>{let l=v(n,u);const g=ie(c.disabled)||ie(t.disabled);return D(n,u,{...l||{},_f:{...l&&l._f?l._f:{ref:{name:u}},name:u,mount:!0,...c}}),a.mount.add(u),l?Zt({disabled:ie(c.disabled)?c.disabled:t.disabled,name:u}):Z(u,!0,c.value),{...g?{disabled:c.disabled||t.disabled}:{},...t.progressive?{required:!!c.required,min:Ee(c.min),max:Ee(c.max),minLength:Ee(c.minLength),maxLength:Ee(c.maxLength),pattern:Ee(c.pattern)}:{},name:u,onChange:se,onBlur:se,ref:h=>{if(h){et(u,c),l=v(n,u);const d=j(h.value)&&h.querySelectorAll&&h.querySelectorAll("input,select,textarea")[0]||h,w=Qr(d),E=l._f.refs||[];if(w?E.find(x=>x===d):d===l._f.ref)return;D(n,u,{_f:{...l._f,...w?{refs:[...E.filter(ot),d,...Array.isArray(v(o,u))?[{}]:[]],ref:{type:d.type,name:u}}:{ref:d}}}),Z(u,!1,void 0,d)}else l=v(n,u,{}),l._f&&(l._f.mount=!1),(t.shouldUnregister||c.shouldUnregister)&&!(Kr(a.array,u)&&i.action)&&a.unMount.add(u)}}},tt=()=>t.shouldFocusError&&De(n,Ae,a.mount),Ur=u=>{ie(u)&&(m.state.next({disabled:u}),De(n,(c,l)=>{const g=v(n,l);g&&(c.disabled=g._f.disabled||u,Array.isArray(g._f.refs)&&g._f.refs.forEach(h=>{h.disabled=g._f.disabled||u}))},0,!1))},$t=(u,c)=>async l=>{let g;l&&(l.preventDefault&&l.preventDefault(),l.persist&&l.persist());let h=B(s);if(m.state.next({isSubmitting:!0}),t.resolver){const{errors:d,values:w}=await fe();r.errors=d,h=B(w)}else await ee(n);if(a.disabled.size)for(const d of a.disabled)L(h,d);if(L(r.errors,"root"),K(r.errors)){m.state.next({errors:{}});try{await u(h,l)}catch(d){g=d}}else c&&await c({...r.errors},l),tt(),setTimeout(tt);if(m.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:K(r.errors)&&!g,submitCount:r.submitCount+1,errors:r.errors}),g)throw g},jr=(u,c={})=>{v(n,u)&&(j(c.defaultValue)?H(u,B(v(o,u))):(H(u,c.defaultValue),D(o,u,B(c.defaultValue))),c.keepTouched||L(r.touchedFields,u),c.keepDirty||(L(r.dirtyFields,u),r.isDirty=c.defaultValue?oe(u,B(v(o,u))):oe()),c.keepError||(L(r.errors,u),y.isValid&&V()),m.state.next({...r}))},At=(u,c={})=>{const l=u?B(u):o,g=B(l),h=K(u),d=h?o:g;if(c.keepDefaultValues||(o=l),!c.keepValues){if(c.keepDirtyValues){const w=new Set([...a.mount,...Object.keys(ke(o,s))]);for(const E of Array.from(w))v(r.dirtyFields,E)?D(d,E,v(s,E)):H(E,v(d,E))}else{if(ft&&j(u))for(const w of a.mount){const E=v(n,w);if(E&&E._f){const x=Array.isArray(E._f.refs)?E._f.refs[0]:E._f.ref;if(Ue(x)){const Y=x.closest("form");if(Y){Y.reset();break}}}}if(c.keepFieldsRef)for(const w of a.mount)H(w,v(d,w));else n={}}s=t.shouldUnregister?c.keepDefaultValues?B(o):{}:B(d),m.array.next({values:{...d}}),m.state.next({values:{...d}})}a={mount:c.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},i.mount=!y.isValid||!!c.keepIsValid||!!c.keepDirtyValues||!t.shouldUnregister&&!K(d),i.watch=!!t.shouldUnregister,i.action=!1,c.keepErrors||(r.errors={}),m.state.next({submitCount:c.keepSubmitCount?r.submitCount:0,isDirty:h?!1:c.keepDirty?r.isDirty:!!(c.keepDefaultValues&&!re(u,o)),isSubmitted:c.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:h?{}:c.keepDirtyValues?c.keepDefaultValues&&s?ke(o,s):r.dirtyFields:c.keepDefaultValues&&u?ke(o,u):c.keepDirty?r.dirtyFields:{},touchedFields:c.keepTouched?r.touchedFields:{},errors:c.keepErrors?r.errors:{},isSubmitSuccessful:c.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:o})},Et=(u,c)=>At(ne(u)?u(s):u,c),Lr=(u,c={})=>{const l=v(n,u),g=l&&l._f;if(g){const h=g.refs?g.refs[0]:g.ref;h.focus&&(h.focus(),c.shouldSelect&&ne(h.select)&&h.select())}},Nr=u=>{r={...r,...u}},Ft={control:{register:et,unregister:Qe,getFieldState:bt,handleSubmit:$t,setError:kt,_subscribe:zt,_runSchema:fe,_focusError:tt,_getWatch:A,_getDirty:oe,_setValid:V,_setFieldArray:ce,_setDisabledField:Zt,_setErrors:R,_getFieldArray:F,_reset:At,_resetDefaultValues:()=>ne(t.defaultValues)&&t.defaultValues().then(u=>{Et(u,t.resetOptions),m.state.next({isLoading:!1})}),_removeUnmounted:pe,_disableForm:Ur,_subjects:m,_proxyFormState:y,get _fields(){return n},get _formValues(){return s},get _state(){return i},set _state(u){i=u},get _defaultValues(){return o},get _names(){return a},set _names(u){a=u},get _formState(){return r},get _options(){return t},set _options(u){t={...t,...u}}},subscribe:Rr,trigger:we,register:et,handleSubmit:$t,watch:Cr,setValue:H,getValues:Se,reset:Et,resetField:jr,clearErrors:Tr,unregister:Qe,setError:kt,setFocus:Lr,getFieldState:bt};return{...Ft,formControl:Ft}}function mu(e={}){const t=P.useRef(void 0),r=P.useRef(void 0),[n,o]=P.useState({isDirty:!1,isValidating:!1,isLoading:ne(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:ne(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:n},e.defaultValues&&!ne(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:i,...a}=hn(e);t.current={...a,formState:n}}const s=t.current.control;return s._options=e,fr(()=>{const i=s._subscribe({formState:s._proxyFormState,callback:()=>o({...s._formState}),reRenderRoot:!0});return o(a=>({...a,isReady:!0})),s._formState.isReady=!0,i},[s]),P.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),P.useEffect(()=>{e.mode&&(s._options.mode=e.mode),e.reValidateMode&&(s._options.reValidateMode=e.reValidateMode)},[s,e.mode,e.reValidateMode]),P.useEffect(()=>{e.errors&&(s._setErrors(e.errors),s._focusError())},[s,e.errors]),P.useEffect(()=>{e.shouldUnregister&&s._subjects.state.next({values:s._getWatch()})},[s,e.shouldUnregister]),P.useEffect(()=>{if(s._proxyFormState.isDirty){const i=s._getDirty();i!==n.isDirty&&s._subjects.state.next({isDirty:i})}},[s,n.isDirty]),P.useEffect(()=>{var i;e.values&&!re(e.values,r.current)?(s._reset(e.values,{keepFieldsRef:!0,...s._options.resetOptions}),!((i=s._options.resetOptions)===null||i===void 0)&&i.keepIsValid||s._setValid(),r.current=e.values,o(a=>({...a}))):s._resetDefaultValues()},[s,e.values]),P.useEffect(()=>{s._state.mount||(s._setValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),t.current.formState=Xr(n,s),t.current}const Mt=(e,t,r)=>{if(e&&"reportValidity"in e){const n=v(r,t);e.setCustomValidity(n&&n.message||""),e.reportValidity()}},pn=(e,t)=>{for(const r in t.fields){const n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?Mt(n.ref,r,e):n&&n.refs&&n.refs.forEach(o=>Mt(o,r,e))}},vu=(e,t)=>{t.shouldUseNativeValidation&&pn(e,t);const r={};for(const n in e){const o=v(t.fields,n),s=Object.assign(e[n]||{},{ref:o&&o.ref});if(_n(t.names||Object.keys(e),n)){const i=Object.assign({},v(r,n));D(i,"root",s),D(r,n,i)}else D(r,n,s)}return r},_n=(e,t)=>{const r=Bt(t);return e.some(n=>Bt(n).match(`^${r}\\.\\d+`))};function Bt(e){return e.replace(/\]|\[/g,"")}function f(e,t,r){function n(a,p){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:p,constr:i,traits:new Set},enumerable:!1}),a._zod.traits.has(e))return;a._zod.traits.add(e),t(a,p);const _=i.prototype,y=Object.keys(_);for(let k=0;k<y.length;k++){const m=y[k];m in a||(a[m]=_[m].bind(a))}}const o=r?.Parent??Object;class s extends o{}Object.defineProperty(s,"name",{value:e});function i(a){var p;const _=r?.Parent?new s:this;n(_,a),(p=_._zod).deferred??(p.deferred=[]);for(const y of _._zod.deferred)y();return _}return Object.defineProperty(i,"init",{value:n}),Object.defineProperty(i,Symbol.hasInstance,{value:a=>r?.Parent&&a instanceof r.Parent?!0:a?._zod?.traits?.has(e)}),Object.defineProperty(i,"name",{value:e}),i}class Ze extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class vr extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const yr={};function ge(e){return yr}function gn(e){const t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function ct(e,t){return typeof t=="bigint"?t.toString():t}function gt(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function mt(e){return e==null}function vt(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}const Wt=Symbol("evaluating");function S(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==Wt)return n===void 0&&(n=Wt,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function ve(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function ye(...e){const t={};for(const r of e){const n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function qt(e){return JSON.stringify(e)}function mn(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const wr="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Le(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const vn=gt(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Oe(e){if(Le(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(Le(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function br(e){return Oe(e)?{...e}:Array.isArray(e)?[...e]:e}const yn=new Set(["string","number","symbol"]);function We(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function he(e,t,r){const n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function b(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function wn(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}function bn(e,t){const r=e._zod.def,n=ye(e._zod.def,{get shape(){const o={};for(const s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(o[s]=r.shape[s])}return ve(this,"shape",o),o},checks:[]});return he(e,n)}function kn(e,t){const r=e._zod.def,n=ye(e._zod.def,{get shape(){const o={...e._zod.def.shape};for(const s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete o[s]}return ve(this,"shape",o),o},checks:[]});return he(e,n)}function zn(e,t){if(!Oe(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const o=ye(e._zod.def,{get shape(){const s={...e._zod.def.shape,...t};return ve(this,"shape",s),s},checks:[]});return he(e,o)}function Zn(e,t){if(!Oe(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r={...e._zod.def,get shape(){const n={...e._zod.def.shape,...t};return ve(this,"shape",n),n},checks:e._zod.def.checks};return he(e,r)}function $n(e,t){const r=ye(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return ve(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return he(e,r)}function An(e,t,r){const n=ye(t._zod.def,{get shape(){const o=t._zod.def.shape,s={...o};if(r)for(const i in r){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(s[i]=e?new e({type:"optional",innerType:o[i]}):o[i])}else for(const i in o)s[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return ve(this,"shape",s),s},checks:[]});return he(t,n)}function En(e,t,r){const n=ye(t._zod.def,{get shape(){const o=t._zod.def.shape,s={...o};if(r)for(const i in r){if(!(i in s))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(s[i]=new e({type:"nonoptional",innerType:o[i]}))}else for(const i in o)s[i]=new e({type:"nonoptional",innerType:o[i]});return ve(this,"shape",s),s},checks:[]});return he(t,n)}function ze(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function kr(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function Pe(e){return typeof e=="string"?e:e?.message}function me(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const o=Pe(e.inst?._zod.def?.error?.(e))??Pe(t?.error?.(e))??Pe(r.customError?.(e))??Pe(r.localeError?.(e))??"Invalid input";n.message=o}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function yt(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Ve(...e){const[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}const zr=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,ct,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Zr=f("$ZodError",zr),qe=f("$ZodError",zr,{Parent:Error});function Fn(e,t=r=>r.message){const r={},n=[];for(const o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}function Dn(e,t=r=>r.message){const r={_errors:[]},n=o=>{for(const s of o.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(i=>n({issues:i}));else if(s.code==="invalid_key")n({issues:s.issues});else if(s.code==="invalid_element")n({issues:s.issues});else if(s.path.length===0)r._errors.push(t(s));else{let i=r,a=0;for(;a<s.path.length;){const p=s.path[a];a===s.path.length-1?(i[p]=i[p]||{_errors:[]},i[p]._errors.push(t(s))):i[p]=i[p]||{_errors:[]},i=i[p],a++}}};return n(e),r}const Je=e=>(t,r,n,o)=>{const s=n?Object.assign(n,{async:!1}):{async:!1},i=t._zod.run({value:r,issues:[]},s);if(i instanceof Promise)throw new Ze;if(i.issues.length){const a=new(o?.Err??e)(i.issues.map(p=>me(p,s,ge())));throw wr(a,o?.callee),a}return i.value},yu=Je(qe),Ke=e=>async(t,r,n,o)=>{const s=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},s);if(i instanceof Promise&&(i=await i),i.issues.length){const a=new(o?.Err??e)(i.issues.map(p=>me(p,s,ge())));throw wr(a,o?.callee),a}return i.value},wu=Ke(qe),He=e=>(t,r,n)=>{const o=n?{...n,async:!1}:{async:!1},s=t._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new Ze;return s.issues.length?{success:!1,error:new(e??Zr)(s.issues.map(i=>me(i,o,ge())))}:{success:!0,data:s.value}},On=He(qe),Ge=e=>async(t,r,n)=>{const o=n?Object.assign(n,{async:!0}):{async:!0};let s=t._zod.run({value:r,issues:[]},o);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(i=>me(i,o,ge())))}:{success:!0,data:s.value}},Vn=Ge(qe),xn=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Je(e)(t,r,o)},Sn=e=>(t,r,n)=>Je(e)(t,r,n),In=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ke(e)(t,r,o)},Pn=e=>async(t,r,n)=>Ke(e)(t,r,n),Tn=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return He(e)(t,r,o)},Cn=e=>(t,r,n)=>He(e)(t,r,n),Rn=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ge(e)(t,r,o)},Un=e=>async(t,r,n)=>Ge(e)(t,r,n),jn=/^[cC][^\s-]{8,}$/,Ln=/^[0-9a-z]+$/,Nn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Mn=/^[0-9a-vA-V]{20}$/,Bn=/^[A-Za-z0-9]{27}$/,Wn=/^[a-zA-Z0-9_-]{21}$/,qn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Jn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Jt=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Kn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Hn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Gn(){return new RegExp(Hn,"u")}const Xn=/^(?:(?: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])$/,Yn=/^(([0-9a-fA-F]{1,4}:){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}|:))$/,Qn=/^((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])\/([0-9]|[1-2][0-9]|3[0-2])$/,eo=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,to=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,$r=/^[A-Za-z0-9_-]*$/,ro=/^\+(?:[0-9]){6,14}[0-9]$/,Ar="(?:(?:\\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])))",no=new RegExp(`^${Ar}$`);function Er(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function oo(e){return new RegExp(`^${Er(e)}$`)}function so(e){const t=Er({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${Ar}T(?:${n})$`)}const io=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},uo=/^[^A-Z]*$/,co=/^[^a-z]*$/,ue=f("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),ao=f("$ZodCheckMaxLength",(e,t)=>{var r;ue.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!mt(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const o=n.value;if(o.length<=t.maximum)return;const i=yt(o);n.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),lo=f("$ZodCheckMinLength",(e,t)=>{var r;ue.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!mt(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const o=n.value;if(o.length>=t.minimum)return;const i=yt(o);n.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),fo=f("$ZodCheckLengthEquals",(e,t)=>{var r;ue.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!mt(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=n=>{const o=n.value,s=o.length;if(s===t.length)return;const i=yt(o),a=s>t.length;n.issues.push({origin:i,...a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Xe=f("$ZodCheckStringFormat",(e,t)=>{var r,n;ue.init(e,t),e._zod.onattach.push(o=>{const s=o._zod.bag;s.format=t.format,t.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),ho=f("$ZodCheckRegex",(e,t)=>{Xe.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),po=f("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=uo),Xe.init(e,t)}),_o=f("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=co),Xe.init(e,t)}),go=f("$ZodCheckIncludes",(e,t)=>{ue.init(e,t);const r=We(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(o=>{const s=o._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),mo=f("$ZodCheckStartsWith",(e,t)=>{ue.init(e,t);const r=new RegExp(`^${We(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),vo=f("$ZodCheckEndsWith",(e,t)=>{ue.init(e,t);const r=new RegExp(`.*${We(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),yo=f("$ZodCheckOverwrite",(e,t)=>{ue.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class wo{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const n=t.split(`
2
+ `).filter(i=>i),o=Math.min(...n.map(i=>i.length-i.trimStart().length)),s=n.map(i=>i.slice(o)).map(i=>" ".repeat(this.indent*2)+i);for(const i of s)this.content.push(i)}compile(){const t=Function,r=this?.args,o=[...(this?.content??[""]).map(s=>` ${s}`)];return new t(...r,o.join(`
3
+ `))}}const bo={major:4,minor:1,patch:13},M=f("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=bo;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const o of n)for(const s of o._zod.onattach)s(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(i,a,p)=>{let _=ze(i),y;for(const k of a){if(k._zod.def.when){if(!k._zod.def.when(i))continue}else if(_)continue;const m=i.issues.length,O=k._zod.check(i);if(O instanceof Promise&&p?.async===!1)throw new Ze;if(y||O instanceof Promise)y=(y??Promise.resolve()).then(async()=>{await O,i.issues.length!==m&&(_||(_=ze(i,m)))});else{if(i.issues.length===m)continue;_||(_=ze(i,m))}}return y?y.then(()=>i):i},s=(i,a,p)=>{if(ze(i))return i.aborted=!0,i;const _=o(a,n,p);if(_ instanceof Promise){if(p.async===!1)throw new Ze;return _.then(y=>e._zod.parse(y,p))}return e._zod.parse(_,p)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction==="backward"){const _=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return _ instanceof Promise?_.then(y=>s(y,i,a)):s(_,i,a)}const p=e._zod.parse(i,a);if(p instanceof Promise){if(a.async===!1)throw new Ze;return p.then(_=>o(_,n,a))}return o(p,n,a)}}e["~standard"]={validate:o=>{try{const s=On(e,o);return s.success?{value:s.data}:{issues:s.error?.issues}}catch{return Vn(e,o).then(i=>i.success?{value:i.data}:{issues:i.error?.issues})}},vendor:"zod",version:1}}),wt=f("$ZodString",(e,t)=>{M.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??io(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),T=f("$ZodStringFormat",(e,t)=>{Xe.init(e,t),wt.init(e,t)}),ko=f("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Jn),T.init(e,t)}),zo=f("$ZodUUID",(e,t)=>{if(t.version){const n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Jt(n))}else t.pattern??(t.pattern=Jt());T.init(e,t)}),Zo=f("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Kn),T.init(e,t)}),$o=f("$ZodURL",(e,t)=>{T.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),o=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=o.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Ao=f("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Gn()),T.init(e,t)}),Eo=f("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Wn),T.init(e,t)}),Fo=f("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=jn),T.init(e,t)}),Do=f("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Ln),T.init(e,t)}),Oo=f("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Nn),T.init(e,t)}),Vo=f("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Mn),T.init(e,t)}),xo=f("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Bn),T.init(e,t)}),So=f("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=so(t)),T.init(e,t)}),Io=f("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=no),T.init(e,t)}),Po=f("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=oo(t)),T.init(e,t)}),To=f("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=qn),T.init(e,t)}),Co=f("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Xn),T.init(e,t),e._zod.bag.format="ipv4"}),Ro=f("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Yn),T.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),Uo=f("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Qn),T.init(e,t)}),jo=f("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=eo),T.init(e,t),e._zod.check=r=>{const n=r.value.split("/");try{if(n.length!==2)throw new Error;const[o,s]=n;if(!s)throw new Error;const i=Number(s);if(`${i}`!==s)throw new Error;if(i<0||i>128)throw new Error;new URL(`http://[${o}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function Fr(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Lo=f("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=to),T.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{Fr(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function No(e){if(!$r.test(e))return!1;const t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return Fr(r)}const Mo=f("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=$r),T.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{No(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),Bo=f("$ZodE164",(e,t)=>{t.pattern??(t.pattern=ro),T.init(e,t)});function Wo(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[n]=r;if(!n)return!1;const o=JSON.parse(atob(n));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}const qo=f("$ZodJWT",(e,t)=>{T.init(e,t),e._zod.check=r=>{Wo(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),Jo=f("$ZodUnknown",(e,t)=>{M.init(e,t),e._zod.parse=r=>r}),Ko=f("$ZodNever",(e,t)=>{M.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});function Kt(e,t,r){e.issues.length&&t.issues.push(...kr(r,e.issues)),t.value[r]=e.value}const Ho=f("$ZodArray",(e,t)=>{M.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=Array(o.length);const s=[];for(let i=0;i<o.length;i++){const a=o[i],p=t.element._zod.run({value:a,issues:[]},n);p instanceof Promise?s.push(p.then(_=>Kt(_,r,i))):Kt(p,r,i)}return s.length?Promise.all(s).then(()=>r):r}});function Ne(e,t,r,n){e.issues.length&&t.issues.push(...kr(r,e.issues)),e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function Dr(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const r=wn(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function Or(e,t,r,n,o,s){const i=[],a=o.keySet,p=o.catchall._zod,_=p.def.type;for(const y in t){if(a.has(y))continue;if(_==="never"){i.push(y);continue}const k=p.run({value:t[y],issues:[]},n);k instanceof Promise?e.push(k.then(m=>Ne(m,r,y,t))):Ne(k,r,y,t)}return i.length&&r.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:s}),e.length?Promise.all(e).then(()=>r):r}const Go=f("$ZodObject",(e,t)=>{if(M.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const a=t.shape;Object.defineProperty(t,"shape",{get:()=>{const p={...a};return Object.defineProperty(t,"shape",{value:p}),p}})}const n=gt(()=>Dr(t));S(e._zod,"propValues",()=>{const a=t.shape,p={};for(const _ in a){const y=a[_]._zod;if(y.values){p[_]??(p[_]=new Set);for(const k of y.values)p[_].add(k)}}return p});const o=Le,s=t.catchall;let i;e._zod.parse=(a,p)=>{i??(i=n.value);const _=a.value;if(!o(_))return a.issues.push({expected:"object",code:"invalid_type",input:_,inst:e}),a;a.value={};const y=[],k=i.shape;for(const m of i.keys){const I=k[m]._zod.run({value:_[m],issues:[]},p);I instanceof Promise?y.push(I.then(V=>Ne(V,a,m,_))):Ne(I,a,m,_)}return s?Or(y,_,a,p,n.value,e):y.length?Promise.all(y).then(()=>a):a}}),Xo=f("$ZodObjectJIT",(e,t)=>{Go.init(e,t);const r=e._zod.parse,n=gt(()=>Dr(t)),o=m=>{const O=new wo(["shape","payload","ctx"]),I=n.value,V=R=>{const Z=qt(R);return`shape[${Z}]._zod.run({ value: input[${Z}], issues: [] }, ctx)`};O.write("const input = payload.value;");const q=Object.create(null);let ce=0;for(const R of I.keys)q[R]=`key_${ce++}`;O.write("const newResult = {};");for(const R of I.keys){const Z=q[R],$=qt(R);O.write(`const ${Z} = ${V(R)};`),O.write(`
4
+ if (${Z}.issues.length) {
5
+ payload.issues = payload.issues.concat(${Z}.issues.map(iss => ({
6
+ ...iss,
7
+ path: iss.path ? [${$}, ...iss.path] : [${$}]
8
+ })));
9
+ }
10
+
11
+
12
+ if (${Z}.value === undefined) {
13
+ if (${$} in input) {
14
+ newResult[${$}] = undefined;
15
+ }
16
+ } else {
17
+ newResult[${$}] = ${Z}.value;
18
+ }
19
+
20
+ `)}O.write("payload.value = newResult;"),O.write("return payload;");const z=O.compile();return(R,Z)=>z(m,R,Z)};let s;const i=Le,a=!yr.jitless,_=a&&vn.value,y=t.catchall;let k;e._zod.parse=(m,O)=>{k??(k=n.value);const I=m.value;return i(I)?a&&_&&O?.async===!1&&O.jitless!==!0?(s||(s=o(t.shape)),m=s(m,O),y?Or([],I,m,O,k,e):m):r(m,O):(m.issues.push({expected:"object",code:"invalid_type",input:I,inst:e}),m)}});function Ht(e,t,r,n){for(const s of e)if(s.issues.length===0)return t.value=s.value,t;const o=e.filter(s=>!ze(s));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(s=>s.issues.map(i=>me(i,n,ge())))}),t)}const Yo=f("$ZodUnion",(e,t)=>{M.init(e,t),S(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),S(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),S(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),S(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(s=>s._zod.pattern);return new RegExp(`^(${o.map(s=>vt(s.source)).join("|")})$`)}});const r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(o,s)=>{if(r)return n(o,s);let i=!1;const a=[];for(const p of t.options){const _=p._zod.run({value:o.value,issues:[]},s);if(_ instanceof Promise)a.push(_),i=!0;else{if(_.issues.length===0)return _;a.push(_)}}return i?Promise.all(a).then(p=>Ht(p,o,e,s)):Ht(a,o,e,s)}}),Qo=f("$ZodIntersection",(e,t)=>{M.init(e,t),e._zod.parse=(r,n)=>{const o=r.value,s=t.left._zod.run({value:o,issues:[]},n),i=t.right._zod.run({value:o,issues:[]},n);return s instanceof Promise||i instanceof Promise?Promise.all([s,i]).then(([p,_])=>Gt(r,p,_)):Gt(r,s,i)}});function at(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Oe(e)&&Oe(t)){const r=Object.keys(t),n=Object.keys(e).filter(s=>r.indexOf(s)!==-1),o={...e,...t};for(const s of n){const i=at(e[s],t[s]);if(!i.valid)return{valid:!1,mergeErrorPath:[s,...i.mergeErrorPath]};o[s]=i.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const o=e[n],s=t[n],i=at(o,s);if(!i.valid)return{valid:!1,mergeErrorPath:[n,...i.mergeErrorPath]};r.push(i.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function Gt(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),ze(e))return e;const n=at(t.value,r.value);if(!n.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}const es=f("$ZodEnum",(e,t)=>{M.init(e,t);const r=gn(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(o=>yn.has(typeof o)).map(o=>typeof o=="string"?We(o):o.toString()).join("|")})$`),e._zod.parse=(o,s)=>{const i=o.value;return n.has(i)||o.issues.push({code:"invalid_value",values:r,input:i,inst:e}),o}}),ts=f("$ZodTransform",(e,t)=>{M.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new vr(e.constructor.name);const o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(i=>(r.value=i,r));if(o instanceof Promise)throw new Ze;return r.value=o,r}});function Xt(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const rs=f("$ZodOptional",(e,t)=>{M.init(e,t),e._zod.optin="optional",e._zod.optout="optional",S(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),S(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${vt(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(s=>Xt(s,r.value)):Xt(o,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,n)}}),ns=f("$ZodNullable",(e,t)=>{M.init(e,t),S(e._zod,"optin",()=>t.innerType._zod.optin),S(e._zod,"optout",()=>t.innerType._zod.optout),S(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${vt(r.source)}|null)$`):void 0}),S(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),os=f("$ZodDefault",(e,t)=>{M.init(e,t),e._zod.optin="optional",S(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(s=>Yt(s,t)):Yt(o,t)}});function Yt(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const ss=f("$ZodPrefault",(e,t)=>{M.init(e,t),e._zod.optin="optional",S(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),is=f("$ZodNonOptional",(e,t)=>{M.init(e,t),S(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(s=>Qt(s,e)):Qt(o,e)}});function Qt(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const us=f("$ZodCatch",(e,t)=>{M.init(e,t),S(e._zod,"optin",()=>t.innerType._zod.optin),S(e._zod,"optout",()=>t.innerType._zod.optout),S(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(s=>(r.value=s.value,s.issues.length&&(r.value=t.catchValue({...r,error:{issues:s.issues.map(i=>me(i,n,ge()))},input:r.value}),r.issues=[]),r)):(r.value=o.value,o.issues.length&&(r.value=t.catchValue({...r,error:{issues:o.issues.map(s=>me(s,n,ge()))},input:r.value}),r.issues=[]),r)}}),cs=f("$ZodPipe",(e,t)=>{M.init(e,t),S(e._zod,"values",()=>t.in._zod.values),S(e._zod,"optin",()=>t.in._zod.optin),S(e._zod,"optout",()=>t.out._zod.optout),S(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){const s=t.out._zod.run(r,n);return s instanceof Promise?s.then(i=>Te(i,t.in,n)):Te(s,t.in,n)}const o=t.in._zod.run(r,n);return o instanceof Promise?o.then(s=>Te(s,t.out,n)):Te(o,t.out,n)}});function Te(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const as=f("$ZodReadonly",(e,t)=>{M.init(e,t),S(e._zod,"propValues",()=>t.innerType._zod.propValues),S(e._zod,"values",()=>t.innerType._zod.values),S(e._zod,"optin",()=>t.innerType?._zod?.optin),S(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(er):er(o)}});function er(e){return e.value=Object.freeze(e.value),e}const ls=f("$ZodCustom",(e,t)=>{ue.init(e,t),M.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{const n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(s=>tr(s,r,n,e));tr(o,r,n,e)}});function tr(e,t,r,n){if(!e){const o={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push(Ve(o))}}var rr;class fs{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const n=r[0];if(this._map.set(t,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,t)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const n={...this.get(r)??{}};delete n.id;const o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function ds(){return new fs}(rr=globalThis).__zod_globalRegistry??(rr.__zod_globalRegistry=ds());const Ce=globalThis.__zod_globalRegistry;function hs(e,t){return new e({type:"string",...b(t)})}function ps(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...b(t)})}function nr(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...b(t)})}function _s(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...b(t)})}function gs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...b(t)})}function ms(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...b(t)})}function vs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...b(t)})}function ys(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...b(t)})}function ws(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...b(t)})}function bs(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...b(t)})}function ks(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...b(t)})}function zs(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...b(t)})}function Zs(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...b(t)})}function $s(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...b(t)})}function As(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...b(t)})}function Es(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...b(t)})}function Fs(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...b(t)})}function Ds(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...b(t)})}function Os(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...b(t)})}function Vs(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...b(t)})}function xs(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...b(t)})}function Ss(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...b(t)})}function Is(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...b(t)})}function Ps(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...b(t)})}function Ts(e,t){return new e({type:"string",format:"date",check:"string_format",...b(t)})}function Cs(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...b(t)})}function Rs(e,t){return new e({type:"string",format:"duration",check:"string_format",...b(t)})}function Us(e){return new e({type:"unknown"})}function js(e,t){return new e({type:"never",...b(t)})}function Vr(e,t){return new ao({check:"max_length",...b(t),maximum:e})}function Me(e,t){return new lo({check:"min_length",...b(t),minimum:e})}function xr(e,t){return new fo({check:"length_equals",...b(t),length:e})}function Ls(e,t){return new ho({check:"string_format",format:"regex",...b(t),pattern:e})}function Ns(e){return new po({check:"string_format",format:"lowercase",...b(e)})}function Ms(e){return new _o({check:"string_format",format:"uppercase",...b(e)})}function Bs(e,t){return new go({check:"string_format",format:"includes",...b(t),includes:e})}function Ws(e,t){return new mo({check:"string_format",format:"starts_with",...b(t),prefix:e})}function qs(e,t){return new vo({check:"string_format",format:"ends_with",...b(t),suffix:e})}function $e(e){return new yo({check:"overwrite",tx:e})}function Js(e){return $e(t=>t.normalize(e))}function Ks(){return $e(e=>e.trim())}function Hs(){return $e(e=>e.toLowerCase())}function Gs(){return $e(e=>e.toUpperCase())}function Xs(){return $e(e=>mn(e))}function Ys(e,t,r){return new e({type:"array",element:t,...b(r)})}function Qs(e,t,r){return new e({type:"custom",check:"custom",fn:t,...b(r)})}function ei(e){const t=ti(r=>(r.addIssue=n=>{if(typeof n=="string")r.issues.push(Ve(n,r.value,t._zod.def));else{const o=n;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=r.value),o.inst??(o.inst=t),o.continue??(o.continue=!t._zod.def.abort),r.issues.push(Ve(o))}},e(r.value,r)));return t}function ti(e,t){const r=new ue({check:"custom",...b(t)});return r._zod.check=e,r}const ri=f("ZodISODateTime",(e,t)=>{So.init(e,t),C.init(e,t)});function ni(e){return Ps(ri,e)}const oi=f("ZodISODate",(e,t)=>{Io.init(e,t),C.init(e,t)});function si(e){return Ts(oi,e)}const ii=f("ZodISOTime",(e,t)=>{Po.init(e,t),C.init(e,t)});function ui(e){return Cs(ii,e)}const ci=f("ZodISODuration",(e,t)=>{To.init(e,t),C.init(e,t)});function ai(e){return Rs(ci,e)}const li=(e,t)=>{Zr.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>Dn(e,r)},flatten:{value:r=>Fn(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,ct,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,ct,2)}},isEmpty:{get(){return e.issues.length===0}}})},Q=f("ZodError",li,{Parent:Error}),fi=Je(Q),di=Ke(Q),hi=He(Q),pi=Ge(Q),_i=xn(Q),gi=Sn(Q),mi=In(Q),vi=Pn(Q),yi=Tn(Q),wi=Cn(Q),bi=Rn(Q),ki=Un(Q),W=f("ZodType",(e,t)=>(M.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(ye(t,{checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]})),e.clone=(r,n)=>he(e,r,n),e.brand=()=>e,e.register=((r,n)=>(r.add(e,n),e)),e.parse=(r,n)=>fi(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>hi(e,r,n),e.parseAsync=async(r,n)=>di(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>pi(e,r,n),e.spa=e.safeParseAsync,e.encode=(r,n)=>_i(e,r,n),e.decode=(r,n)=>gi(e,r,n),e.encodeAsync=async(r,n)=>mi(e,r,n),e.decodeAsync=async(r,n)=>vi(e,r,n),e.safeEncode=(r,n)=>yi(e,r,n),e.safeDecode=(r,n)=>wi(e,r,n),e.safeEncodeAsync=async(r,n)=>bi(e,r,n),e.safeDecodeAsync=async(r,n)=>ki(e,r,n),e.refine=(r,n)=>e.check(du(r,n)),e.superRefine=r=>e.check(hu(r)),e.overwrite=r=>e.check($e(r)),e.optional=()=>ir(e),e.nullable=()=>ur(e),e.nullish=()=>ir(ur(e)),e.nonoptional=r=>su(e,r),e.array=()=>Wi(e),e.or=r=>Ki([e,r]),e.and=r=>Gi(e,r),e.transform=r=>cr(e,Qi(r)),e.default=r=>ru(e,r),e.prefault=r=>ou(e,r),e.catch=r=>uu(e,r),e.pipe=r=>cr(e,r),e.readonly=()=>lu(e),e.describe=r=>{const n=e.clone();return Ce.add(n,{description:r}),n},Object.defineProperty(e,"description",{get(){return Ce.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return Ce.get(e);const n=e.clone();return Ce.add(n,r[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Sr=f("_ZodString",(e,t)=>{wt.init(e,t),W.init(e,t);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...n)=>e.check(Ls(...n)),e.includes=(...n)=>e.check(Bs(...n)),e.startsWith=(...n)=>e.check(Ws(...n)),e.endsWith=(...n)=>e.check(qs(...n)),e.min=(...n)=>e.check(Me(...n)),e.max=(...n)=>e.check(Vr(...n)),e.length=(...n)=>e.check(xr(...n)),e.nonempty=(...n)=>e.check(Me(1,...n)),e.lowercase=n=>e.check(Ns(n)),e.uppercase=n=>e.check(Ms(n)),e.trim=()=>e.check(Ks()),e.normalize=(...n)=>e.check(Js(...n)),e.toLowerCase=()=>e.check(Hs()),e.toUpperCase=()=>e.check(Gs()),e.slugify=()=>e.check(Xs())}),zi=f("ZodString",(e,t)=>{wt.init(e,t),Sr.init(e,t),e.email=r=>e.check(ps(Zi,r)),e.url=r=>e.check(ys($i,r)),e.jwt=r=>e.check(Is(ji,r)),e.emoji=r=>e.check(ws(Ai,r)),e.guid=r=>e.check(nr(or,r)),e.uuid=r=>e.check(_s(Re,r)),e.uuidv4=r=>e.check(gs(Re,r)),e.uuidv6=r=>e.check(ms(Re,r)),e.uuidv7=r=>e.check(vs(Re,r)),e.nanoid=r=>e.check(bs(Ei,r)),e.guid=r=>e.check(nr(or,r)),e.cuid=r=>e.check(ks(Fi,r)),e.cuid2=r=>e.check(zs(Di,r)),e.ulid=r=>e.check(Zs(Oi,r)),e.base64=r=>e.check(Vs(Ci,r)),e.base64url=r=>e.check(xs(Ri,r)),e.xid=r=>e.check($s(Vi,r)),e.ksuid=r=>e.check(As(xi,r)),e.ipv4=r=>e.check(Es(Si,r)),e.ipv6=r=>e.check(Fs(Ii,r)),e.cidrv4=r=>e.check(Ds(Pi,r)),e.cidrv6=r=>e.check(Os(Ti,r)),e.e164=r=>e.check(Ss(Ui,r)),e.datetime=r=>e.check(ni(r)),e.date=r=>e.check(si(r)),e.time=r=>e.check(ui(r)),e.duration=r=>e.check(ai(r))});function bu(e){return hs(zi,e)}const C=f("ZodStringFormat",(e,t)=>{T.init(e,t),Sr.init(e,t)}),Zi=f("ZodEmail",(e,t)=>{Zo.init(e,t),C.init(e,t)}),or=f("ZodGUID",(e,t)=>{ko.init(e,t),C.init(e,t)}),Re=f("ZodUUID",(e,t)=>{zo.init(e,t),C.init(e,t)}),$i=f("ZodURL",(e,t)=>{$o.init(e,t),C.init(e,t)}),Ai=f("ZodEmoji",(e,t)=>{Ao.init(e,t),C.init(e,t)}),Ei=f("ZodNanoID",(e,t)=>{Eo.init(e,t),C.init(e,t)}),Fi=f("ZodCUID",(e,t)=>{Fo.init(e,t),C.init(e,t)}),Di=f("ZodCUID2",(e,t)=>{Do.init(e,t),C.init(e,t)}),Oi=f("ZodULID",(e,t)=>{Oo.init(e,t),C.init(e,t)}),Vi=f("ZodXID",(e,t)=>{Vo.init(e,t),C.init(e,t)}),xi=f("ZodKSUID",(e,t)=>{xo.init(e,t),C.init(e,t)}),Si=f("ZodIPv4",(e,t)=>{Co.init(e,t),C.init(e,t)}),Ii=f("ZodIPv6",(e,t)=>{Ro.init(e,t),C.init(e,t)}),Pi=f("ZodCIDRv4",(e,t)=>{Uo.init(e,t),C.init(e,t)}),Ti=f("ZodCIDRv6",(e,t)=>{jo.init(e,t),C.init(e,t)}),Ci=f("ZodBase64",(e,t)=>{Lo.init(e,t),C.init(e,t)}),Ri=f("ZodBase64URL",(e,t)=>{Mo.init(e,t),C.init(e,t)}),Ui=f("ZodE164",(e,t)=>{Bo.init(e,t),C.init(e,t)}),ji=f("ZodJWT",(e,t)=>{qo.init(e,t),C.init(e,t)}),Li=f("ZodUnknown",(e,t)=>{Jo.init(e,t),W.init(e,t)});function sr(){return Us(Li)}const Ni=f("ZodNever",(e,t)=>{Ko.init(e,t),W.init(e,t)});function Mi(e){return js(Ni,e)}const Bi=f("ZodArray",(e,t)=>{Ho.init(e,t),W.init(e,t),e.element=t.element,e.min=(r,n)=>e.check(Me(r,n)),e.nonempty=r=>e.check(Me(1,r)),e.max=(r,n)=>e.check(Vr(r,n)),e.length=(r,n)=>e.check(xr(r,n)),e.unwrap=()=>e.element});function Wi(e,t){return Ys(Bi,e,t)}const qi=f("ZodObject",(e,t)=>{Xo.init(e,t),W.init(e,t),S(e,"shape",()=>t.shape),e.keyof=()=>Xi(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:sr()}),e.loose=()=>e.clone({...e._zod.def,catchall:sr()}),e.strict=()=>e.clone({...e._zod.def,catchall:Mi()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>zn(e,r),e.safeExtend=r=>Zn(e,r),e.merge=r=>$n(e,r),e.pick=r=>bn(e,r),e.omit=r=>kn(e,r),e.partial=(...r)=>An(Ir,e,r[0]),e.required=(...r)=>En(Pr,e,r[0])});function ku(e,t){const r={type:"object",shape:e??{},...b(t)};return new qi(r)}const Ji=f("ZodUnion",(e,t)=>{Yo.init(e,t),W.init(e,t),e.options=t.options});function Ki(e,t){return new Ji({type:"union",options:e,...b(t)})}const Hi=f("ZodIntersection",(e,t)=>{Qo.init(e,t),W.init(e,t)});function Gi(e,t){return new Hi({type:"intersection",left:e,right:t})}const lt=f("ZodEnum",(e,t)=>{es.init(e,t),W.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{const s={};for(const i of n)if(r.has(i))s[i]=t.entries[i];else throw new Error(`Key ${i} not found in enum`);return new lt({...t,checks:[],...b(o),entries:s})},e.exclude=(n,o)=>{const s={...t.entries};for(const i of n)if(r.has(i))delete s[i];else throw new Error(`Key ${i} not found in enum`);return new lt({...t,checks:[],...b(o),entries:s})}});function Xi(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new lt({type:"enum",entries:r,...b(t)})}const Yi=f("ZodTransform",(e,t)=>{ts.init(e,t),W.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new vr(e.constructor.name);r.addIssue=s=>{if(typeof s=="string")r.issues.push(Ve(s,r.value,t));else{const i=s;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=r.value),i.inst??(i.inst=e),r.issues.push(Ve(i))}};const o=t.transform(r.value,r);return o instanceof Promise?o.then(s=>(r.value=s,r)):(r.value=o,r)}});function Qi(e){return new Yi({type:"transform",transform:e})}const Ir=f("ZodOptional",(e,t)=>{rs.init(e,t),W.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ir(e){return new Ir({type:"optional",innerType:e})}const eu=f("ZodNullable",(e,t)=>{ns.init(e,t),W.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ur(e){return new eu({type:"nullable",innerType:e})}const tu=f("ZodDefault",(e,t)=>{os.init(e,t),W.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function ru(e,t){return new tu({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():br(t)}})}const nu=f("ZodPrefault",(e,t)=>{ss.init(e,t),W.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ou(e,t){return new nu({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():br(t)}})}const Pr=f("ZodNonOptional",(e,t)=>{is.init(e,t),W.init(e,t),e.unwrap=()=>e._zod.def.innerType});function su(e,t){return new Pr({type:"nonoptional",innerType:e,...b(t)})}const iu=f("ZodCatch",(e,t)=>{us.init(e,t),W.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function uu(e,t){return new iu({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const cu=f("ZodPipe",(e,t)=>{cs.init(e,t),W.init(e,t),e.in=t.in,e.out=t.out});function cr(e,t){return new cu({type:"pipe",in:e,out:t})}const au=f("ZodReadonly",(e,t)=>{as.init(e,t),W.init(e,t),e.unwrap=()=>e._zod.def.innerType});function lu(e){return new au({type:"readonly",innerType:e})}const fu=f("ZodCustom",(e,t)=>{ls.init(e,t),W.init(e,t)});function du(e,t={}){return Qs(fu,e,t)}function hu(e){return ei(e)}export{Zr as $,Xi as _,wu as a,Yr as b,bu as c,ku as d,gu as e,pn as o,yu as p,vu as s,mu as u};
@@ -0,0 +1 @@
1
+ import{j as e}from"./radix-ui-DvRtHWGI.js";import{r as g}from"./react-vendor-Bjx91N7w.js";import{by as C,bz as w,a as G,bA as y,bi as k,bk as S,E as R,aH as A,e as f,I as j}from"./index-7dfuc3Cf.js";import{R as N,v as D,w as L,aq as T,a8 as I}from"./icons-bxdfpJdB.js";import"./tanstack-Dg84L5cM.js";import"./notifications-B4_o8bcr.js";import"./utils-CzKF5WmX.js";import"./form-utils-CuHzLhJZ.js";import"./charts-eIPy2oG6.js";function _(){const{state:s}=C(),n=w(),[o,r]=g.useState(""),[c,m]=g.useState(""),b=g.useCallback(async()=>{try{n.setGlobalEnvLoading(!0),n.setGlobalEnvError(null);const a=await fetch("/api/global-env");if(!a.ok)throw new Error("Failed to load Global Env config");const l=await a.json();n.setGlobalEnvConfig(l)}catch(a){n.setGlobalEnvError(a.message)}finally{n.setGlobalEnvLoading(!1)}},[n]),i=g.useCallback(async a=>{const l=s.globalEnvConfig;if(!l)return;const x={...l,...a};n.setGlobalEnvConfig(x);try{n.setGlobalEnvSaving(!0),n.setGlobalEnvError(null);const d=await fetch("/api/global-env",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(x)});if(!d.ok){const h=await d.json();throw new Error(h.error||"Failed to save")}const v=await d.json();n.setGlobalEnvConfig(v.config),n.setGlobalEnvSuccess(!0),setTimeout(()=>n.setGlobalEnvSuccess(!1),1500)}catch(d){n.setGlobalEnvConfig(l),n.setGlobalEnvError(d.message)}finally{n.setGlobalEnvSaving(!1)}},[s.globalEnvConfig,n]),E=g.useCallback(()=>{if(!o.trim()||!s.globalEnvConfig)return;const a={...s.globalEnvConfig.env,[o.trim()]:c};i({env:a}),r(""),m("")},[o,c,s.globalEnvConfig,i]),u=g.useCallback(a=>{if(!s.globalEnvConfig)return;const l={...s.globalEnvConfig.env};delete l[a],i({env:l})},[s.globalEnvConfig,i]);return{config:s.globalEnvConfig,loading:s.globalEnvLoading,saving:s.globalEnvSaving,error:s.globalEnvError,success:s.globalEnvSuccess,newEnvKey:o,setNewEnvKey:r,newEnvValue:c,setNewEnvValue:m,fetchConfig:b,saveConfig:i,addEnvVar:E,removeEnvVar:u}}function q(){const{t:s}=G(),{config:n,loading:o,saving:r,error:c,success:m,newEnvKey:b,setNewEnvKey:i,newEnvValue:E,setNewEnvValue:u,fetchConfig:a,saveConfig:l,addEnvVar:x,removeEnvVar:d}=_(),{fetchRawConfig:v}=y();g.useEffect(()=>{a(),v()},[a,v]);const h=()=>{l({enabled:!n?.enabled})};return o?e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsxs("div",{className:"flex items-center gap-3 text-muted-foreground",children:[e.jsx(N,{className:"w-5 h-5 animate-spin"}),e.jsx("span",{children:s("settings.loading")})]})}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:`absolute left-5 right-5 top-20 z-10 transition-all duration-200 ease-out ${c||m?"opacity-100 translate-y-0":"opacity-0 -translate-y-2 pointer-events-none"}`,children:[c&&e.jsxs(k,{variant:"destructive",className:"py-2 shadow-lg",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(S,{children:c})]}),m&&e.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-md border border-green-200 bg-green-50 text-green-700 shadow-lg dark:border-green-900/50 dark:bg-green-900/90 dark:text-green-300",children:[e.jsx(L,{className:"h-4 w-4 shrink-0"}),e.jsx("span",{className:"text-sm font-medium",children:s("settings.saved")})]})]}),e.jsx(R,{className:"flex-1",children:e.jsxs("div",{className:"p-5 space-y-6",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:s("settingsGlobalEnv.description")}),e.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-muted/50",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:n?.enabled?s("settingsGlobalEnv.enabled"):s("settingsGlobalEnv.disabled")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:n?.enabled?s("settingsGlobalEnv.enabledDesc"):s("settingsGlobalEnv.disabledDesc")})]}),e.jsx(A,{checked:n?.enabled??!0,onCheckedChange:h})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("h3",{className:"text-base font-medium",children:s("settingsGlobalEnv.envVars")}),n?.env&&Object.keys(n.env).length>0?e.jsx("div",{className:"space-y-2",children:Object.entries(n.env).map(([t,p])=>e.jsxs("div",{className:"flex items-center gap-2 p-3 rounded-lg border bg-background",children:[e.jsx("code",{className:"flex-1 font-mono text-sm truncate",children:t}),e.jsx("span",{className:"text-muted-foreground",children:"="}),e.jsx("code",{className:"font-mono text-sm px-2 py-1 bg-muted rounded",children:p}),e.jsx(f,{variant:"ghost",size:"sm",onClick:()=>d(t),disabled:r,className:"h-8 w-8 p-0 text-destructive hover:text-destructive hover:bg-destructive/10",children:e.jsx(T,{className:"w-4 h-4"})})]},t))}):e.jsx("div",{className:"p-4 rounded-lg border border-dashed text-center text-muted-foreground",children:e.jsx("p",{children:s("settingsGlobalEnv.noneConfigured")})}),e.jsxs("div",{className:"p-4 rounded-lg border bg-muted/30",children:[e.jsx("h4",{className:"text-sm font-medium mb-3",children:s("settingsGlobalEnv.addNew")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(j,{value:b,onChange:t=>i(t.target.value.toUpperCase()),placeholder:s("settingsGlobalEnv.keyName"),className:"flex-1 font-mono text-sm h-9",disabled:r}),e.jsx("span",{className:"flex items-center text-muted-foreground",children:"="}),e.jsx(j,{value:E,onChange:t=>u(t.target.value),placeholder:s("settingsGlobalEnv.value"),className:"flex-1 font-mono text-sm h-9",disabled:r}),e.jsxs(f,{size:"sm",onClick:x,disabled:r||!b.trim(),className:"h-9",children:[e.jsx(I,{className:"w-4 h-4 mr-1"}),s("settingsGlobalEnv.add")]})]})]}),e.jsxs("div",{className:"p-4 rounded-lg border bg-muted/30",children:[e.jsx("h4",{className:"text-sm font-medium mb-3",children:s("settingsGlobalEnv.quickAdd")}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[[{key:"DISABLE_BUG_COMMAND",value:"1"},{key:"DISABLE_ERROR_REPORTING",value:"1"},{key:"DISABLE_TELEMETRY",value:"1"}].map(({key:t,value:p})=>!n?.env?.[t]&&e.jsxs(f,{variant:"outline",size:"sm",onClick:()=>{i(t),u(p)},className:"text-xs font-mono",children:["+ ",t]},t)),n?.env&&["DISABLE_BUG_COMMAND","DISABLE_ERROR_REPORTING","DISABLE_TELEMETRY"].every(t=>n.env[t])&&e.jsx("span",{className:"text-sm text-muted-foreground",children:s("settingsGlobalEnv.allConfigured")})]})]})]})]})}),e.jsx("div",{className:"p-4 border-t bg-background",children:e.jsxs(f,{variant:"outline",size:"sm",onClick:()=>{a(),v()},disabled:o||r,className:"w-full",children:[e.jsx(N,{className:`w-4 h-4 mr-2 ${o?"animate-spin":""}`}),s("settings.refresh")]})})]})}export{q as default};
@@ -0,0 +1 @@
1
+ import{j as e}from"./radix-ui-DvRtHWGI.js";import{a as u,c as l,e as x,V as C,W as E,X as k,S as m}from"./index-7dfuc3Cf.js";import{r as h}from"./react-vendor-Bjx91N7w.js";import{u as _,a as A,b as F}from"./tanstack-Dg84L5cM.js";import{t as p}from"./notifications-B4_o8bcr.js";import{b8 as g,C as N,_ as v,n as w,R as b,V as O,v as P,T as R,ah as y,Y as H}from"./icons-bxdfpJdB.js";import{m as j,A as I}from"./proxy-Br5aAkn0.js";import"./utils-CzKF5WmX.js";import"./form-utils-CuHzLhJZ.js";import"./charts-eIPy2oG6.js";function M(){return _({queryKey:["health"],queryFn:async()=>(await fetch("/api/health")).json(),refetchInterval:3e4})}function S(){const s=A();return F({mutationFn:async a=>{const t=await fetch(`/api/health/fix/${a}`,{method:"POST"}),r=await t.json();if(!t.ok)throw new Error(r.message);return r},onSuccess:a=>{s.invalidateQueries({queryKey:["health"]}),p.success(a.message)},onError:a=>{p.error(a.message)}})}const q={ok:{dot:"bg-green-500",label:"OK",labelColor:"text-green-500"},warning:{dot:"bg-yellow-500",label:"WARN",labelColor:"text-yellow-500"},error:{dot:"bg-red-500",label:"ERR",labelColor:"text-red-500"},info:{dot:"bg-blue-500",label:"INFO",labelColor:"text-blue-500"}};function z({check:s}){const{t:a}=u(),t=S(),r=q[s.status],[n,i]=h.useState(!1),o=s.details||s.fix,c=d=>{navigator.clipboard.writeText(d),p.success(a("health.copied"))};return o?e.jsx(C,{open:n,onOpenChange:i,children:e.jsxs("div",{className:l("group rounded-lg border transition-all duration-150",n?"border-border bg-muted/30":"border-transparent hover:border-border/50 hover:bg-muted/50"),children:[e.jsx(E,{asChild:!0,children:e.jsxs("button",{className:"w-full flex items-center gap-3 px-3 py-2 text-left",children:[e.jsxs("div",{className:"relative flex items-center justify-center w-4 h-4",children:[e.jsx("div",{className:l("w-2 h-2 rounded-full",r.dot)}),s.status!=="ok"&&e.jsx("div",{className:l("absolute w-2 h-2 rounded-full animate-ping opacity-75",r.dot)})]}),e.jsx("span",{className:"flex-1 text-sm font-medium truncate",children:s.name}),e.jsxs("span",{className:l("font-mono text-xs font-semibold",r.labelColor),children:["[",r.label,"]"]}),e.jsx(N,{className:l("w-4 h-4 text-muted-foreground transition-transform duration-200",n&&"rotate-90")})]})}),e.jsx(k,{children:e.jsxs("div",{className:"px-3 pb-3 pt-1 space-y-2 ml-7",children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:s.message}),s.details&&e.jsx("pre",{className:"text-xs font-mono text-muted-foreground bg-background/50 rounded p-2 overflow-x-auto border border-border/50",children:s.details}),s.fix&&e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("div",{className:"flex-1 flex items-center gap-2 bg-background/50 rounded px-2 py-1.5 border border-border/50",children:[e.jsx(v,{className:"w-3 h-3 text-muted-foreground shrink-0"}),e.jsx("code",{className:"text-xs font-mono flex-1 truncate",children:s.fix}),e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>s.fix&&c(s.fix),className:"h-5 w-5 p-0",children:e.jsx(w,{className:"w-3 h-3"})})]}),s.fixable&&s.status!=="ok"&&e.jsxs(x,{size:"sm",onClick:()=>t.mutate(s.id),disabled:t.isPending,className:"h-7 px-3 text-xs",children:[e.jsx(g,{className:"w-3 h-3 mr-1"}),a("health.applyFix")]})]})]})})]})}):e.jsxs("div",{className:l("group flex items-center gap-3 px-3 py-2 rounded-lg","hover:bg-muted/50 transition-colors duration-150","border border-transparent hover:border-border/50"),children:[e.jsxs("div",{className:"relative flex items-center justify-center w-4 h-4",children:[e.jsx("div",{className:l("w-2 h-2 rounded-full",r.dot)}),s.status!=="ok"&&e.jsx("div",{className:l("absolute w-2 h-2 rounded-full animate-ping opacity-75",r.dot)})]}),e.jsx("span",{className:"flex-1 text-sm font-medium truncate",children:s.name}),e.jsxs("span",{className:l("font-mono text-xs font-semibold",r.labelColor),children:["[",r.label,"]"]}),s.fixable&&s.status!=="ok"&&e.jsxs(x,{size:"sm",variant:"ghost",onClick:()=>t.mutate(s.id),disabled:t.isPending,className:"h-6 px-2 text-xs opacity-0 group-hover:opacity-100 transition-opacity",children:[e.jsx(g,{className:"w-3 h-3 mr-1"}),a("health.fix")]})]})}function D(s,a){const t=Math.floor((Date.now()-s)/1e3);if(t<5)return a("health.justNow");if(t<60)return a("health.secondsAgo",{count:t});const r=Math.floor(t/60);if(r<60)return a("health.minutesAgo",{count:r});const n=Math.floor(r/60);return a("health.hoursAgo",{count:n})}function W({summary:s,version:a,lastScan:t,isLoading:r,onRefresh:n}){const{t:i}=u(),[,o]=h.useState(0);h.useEffect(()=>{const f=setInterval(()=>o(T=>T+1),1e3);return()=>clearInterval(f)},[]);const c=()=>{navigator.clipboard.writeText("ccs doctor"),p.success(i("health.copied"))},d=s.errors>0||s.warnings>0;return e.jsxs("div",{className:l("group relative overflow-hidden rounded-2xl border transition-all duration-500",d?"bg-rose-500/5 border-rose-500/20 shadow-[0_0_20px_-12px_rgba(244,63,94,0.3)]":"bg-emerald-500/5 border-emerald-500/20 shadow-[0_0_20px_-12px_rgba(16,185,129,0.3)]"),children:[e.jsx("div",{className:l("absolute inset-0 opacity-[0.05] blur-3xl pointer-events-none transition-colors duration-1000",d?"bg-rose-500":"bg-emerald-500")}),e.jsxs("div",{className:"relative flex flex-col md:flex-row items-center gap-4 px-6 py-4",children:[e.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:l("w-2.5 h-2.5 rounded-full",d?"bg-rose-500":"bg-emerald-500")}),e.jsx("div",{className:l("absolute inset-0 rounded-full animate-ping opacity-40",d?"bg-rose-500":"bg-emerald-500")})]}),e.jsx("h1",{className:"font-mono text-sm font-bold tracking-tight uppercase",children:i(d?"health.issuesDetected":"health.systemOptimal")})]}),e.jsx("div",{className:"hidden md:block h-4 w-px bg-border/50"}),e.jsxs("div",{className:"flex items-center gap-6 text-xs font-mono",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-muted-foreground uppercase text-[10px] tracking-widest",children:"Checks"}),e.jsx("span",{children:s.total})]}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-muted-foreground uppercase text-[10px] tracking-widest",children:"Passed"}),e.jsx("span",{className:"text-emerald-500",children:s.passed})]}),s.warnings>0&&e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-muted-foreground uppercase text-[10px] tracking-widest",children:"Warnings"}),e.jsx("span",{className:"text-amber-500 font-bold",children:s.warnings})]}),s.errors>0&&e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-muted-foreground uppercase text-[10px] tracking-widest",children:"Errors"}),e.jsx("span",{className:"text-rose-500 font-bold underline decoration-rose-500/30",children:s.errors})]})]}),e.jsx("div",{className:"flex-1"}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"flex flex-col items-end text-[10px] font-mono text-muted-foreground",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(b,{className:l("w-2.5 h-2.5",r&&"animate-spin")}),e.jsx("span",{children:t?D(t,i):"--"})]}),e.jsxs("div",{className:"flex items-center gap-1.5 opacity-60",children:[e.jsx(O,{className:"w-2.5 h-2.5"}),e.jsx("span",{children:a})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(x,{variant:"ghost",size:"sm",onClick:c,className:"h-8 px-3 gap-2 font-mono text-[10px] bg-background/40 hover:bg-background/60 border border-border/40 rounded-full",children:[e.jsx(v,{className:"w-3 h-3"}),e.jsx("span",{className:"hidden sm:inline",children:"ccs doctor"}),e.jsx(w,{className:"w-3 h-3 opacity-40"})]}),e.jsx(x,{variant:"ghost",size:"icon",onClick:n,disabled:r,className:"h-8 w-8 rounded-full bg-background/40 hover:bg-background/60 border border-border/40",children:e.jsx(b,{className:l("w-3.5 h-3.5",r&&"animate-spin")})})]})]})]})]})}function B({check:s}){const{t:a}=u(),t=S(),r=!!(s.details||s.fix||s.fixable),[n,i]=h.useState(!1),o=s.status==="error",c=o?P:R,d=()=>{s.fix&&(navigator.clipboard.writeText(s.fix),p.success(a("health.copied")))},f=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:l("flex items-center justify-center w-12 h-12 rounded-2xl shrink-0",o?"bg-rose-500/10 text-rose-500":"bg-amber-500/10 text-amber-500"),children:e.jsx(c,{className:"w-6 h-6"})}),e.jsxs("div",{className:"flex-1 min-w-0 space-y-1",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h3",{className:"text-lg font-bold tracking-tight",children:s.name}),r&&e.jsx("div",{className:"p-1 hover:bg-muted rounded-full transition-colors",children:e.jsx(N,{className:l("w-5 h-5 text-muted-foreground transition-transform",n&&"rotate-90")})})]}),e.jsx("p",{className:"text-sm font-medium leading-relaxed text-muted-foreground/80",children:s.message})]})]});return e.jsx(j.div,{layout:!0,initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,scale:.95},className:l("group relative overflow-hidden rounded-[2rem] p-px transition-all duration-300",o?"bg-gradient-to-br from-rose-500/20 via-rose-500/5 to-transparent":"bg-gradient-to-br from-amber-500/20 via-amber-500/5 to-transparent"),children:e.jsxs("div",{className:"relative h-full rounded-[calc(2rem-1px)] bg-background/80 backdrop-blur-md overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 rounded-[calc(2rem-1px)] shadow-[inset_0_1px_1px_rgba(255,255,255,0.1)] pointer-events-none"}),e.jsxs("div",{className:"p-6",children:[r?e.jsx("button",{type:"button",onClick:()=>i(!n),"aria-expanded":n,"aria-label":n?`Collapse ${s.name} details`:`Expand ${s.name} details`,className:"flex w-full select-none items-start gap-4 rounded-2xl text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:f}):e.jsx("div",{className:"flex w-full items-start gap-4",children:f}),e.jsx(I,{children:n&&e.jsx(j.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:[.32,.72,0,1]},className:"overflow-hidden",children:e.jsxs("div",{className:"mt-4 pt-4 border-t border-border/40 space-y-4",children:[s.details&&e.jsx("div",{className:"rounded-xl bg-muted/30 p-3 font-mono text-[11px] leading-relaxed text-muted-foreground break-all",children:s.details}),(s.fix||s.fixable)&&e.jsxs("div",{className:"flex flex-col sm:flex-row items-stretch sm:items-center gap-3",children:[s.fix&&e.jsxs("div",{className:"flex-1 flex items-center gap-2 h-10 px-3 rounded-full bg-background/50 border border-border/40",children:[e.jsx(v,{className:"w-3.5 h-3.5 text-muted-foreground"}),e.jsx("code",{className:"text-xs font-mono flex-1 truncate",children:s.fix}),e.jsx(x,{variant:"ghost",size:"icon",onClick:d,"aria-label":a("health.copy")??"Copy fix command",className:"h-6 w-6 rounded-full text-muted-foreground hover:text-foreground",children:e.jsx(w,{className:"w-3 h-3"})})]}),s.fixable&&e.jsxs(x,{onClick:()=>t.mutate(s.id),disabled:t.isPending,className:l("h-10 px-6 rounded-full font-bold shadow-lg shadow-primary/20 transition-all active:scale-95",o?"bg-rose-500 hover:bg-rose-600":"bg-amber-500 hover:bg-amber-600"),children:[t.isPending?e.jsx(b,{className:"w-4 h-4 mr-2 animate-spin"}):e.jsx(g,{className:"w-4 h-4 mr-2"}),a("health.applyFix")]})]})]})})})]})]})})}function K({checks:s}){const{t:a}=u();return s.length===0?null:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3 px-1",children:[e.jsx("h2",{className:"text-sm font-bold tracking-widest uppercase text-muted-foreground/60",children:a("health.attentionRequired")}),e.jsx("div",{className:"h-px flex-1 bg-border/40"}),e.jsx("span",{className:"font-mono text-xs text-rose-500 font-bold",children:s.length})]}),e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:e.jsx(I,{mode:"popLayout",children:s.map(t=>e.jsx(B,{check:t},t.id))})})]})}function Q({groups:s}){const{t:a}=u();return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3 px-1",children:[e.jsx("h2",{className:"text-sm font-bold tracking-widest uppercase text-muted-foreground/60",children:a("health.environmentAudit")}),e.jsx("div",{className:"h-px flex-1 bg-border/40"}),e.jsx(y,{className:"w-4 h-4 text-emerald-500/60"})]}),e.jsx("div",{className:"space-y-4",children:s.map(t=>e.jsx($,{group:t},t.id))})]})}function $({group:s}){const[a,t]=h.useState(!1),r=s.checks.filter(i=>i.status==="error"||i.status==="warning").length,n=r>0;return e.jsx(C,{open:a,onOpenChange:t,className:"group/audit",children:e.jsxs("div",{className:l("rounded-2xl border transition-all duration-300",a?"bg-muted/30 border-border/60":"bg-background hover:border-border/60"),children:[e.jsx(E,{asChild:!0,children:e.jsxs("button",{className:"w-full flex items-center gap-4 px-5 py-4 text-left",children:[e.jsx("div",{className:l("flex items-center justify-center w-8 h-8 rounded-full transition-colors",n?"bg-rose-500/10 text-rose-500":"bg-muted text-muted-foreground"),children:n?e.jsx(H,{className:"w-4 h-4"}):e.jsx(y,{className:"w-4 h-4"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-bold tracking-tight",children:s.name}),e.jsxs("p",{className:"text-[10px] text-muted-foreground uppercase tracking-widest font-mono",children:[s.checks.length," Checks"]})]}),n&&e.jsx("div",{className:"px-2 py-0.5 rounded-full bg-rose-500/10 text-rose-500 text-[10px] font-bold font-mono",children:r}),e.jsx(N,{className:l("w-4 h-4 text-muted-foreground transition-transform duration-300",a&&"rotate-90")})]})}),e.jsx(k,{children:e.jsx("div",{className:"px-5 pb-5 space-y-1",children:s.checks.map(i=>e.jsx(z,{check:i},i.id))})})]})})}function L(){return e.jsxs("div",{className:"p-6 max-w-6xl mx-auto space-y-12",children:[e.jsx(m,{className:"h-20 w-full rounded-2xl"}),e.jsxs("div",{className:"space-y-16",children:[e.jsxs("div",{className:"space-y-6",children:[e.jsx(m,{className:"h-4 w-48"}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsx(m,{className:"h-40 rounded-[2rem]"}),e.jsx(m,{className:"h-40 rounded-[2rem]"})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(m,{className:"h-4 w-48"}),[1,2,3].map(s=>e.jsx(m,{className:"h-16 rounded-2xl"},s))]})]})]})}function te(){const{t:s}=u(),{data:a,isLoading:t,refetch:r,dataUpdatedAt:n}=M();if(t&&!a)return e.jsx(L,{});const i=a?.checks.filter(c=>c.status==="error"||c.status==="warning")??[],o=i.length>0;return e.jsxs("div",{className:"relative pb-20 overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[e.jsx("div",{className:l("absolute top-[5%] -left-[5%] w-[60%] h-[60%] blur-[100px] rounded-full opacity-[0.08] transition-colors duration-1000",o?"bg-rose-500":"bg-emerald-500")}),e.jsx("div",{className:l("absolute -bottom-[5%] -right-[5%] w-[50%] h-[50%] blur-[100px] rounded-full opacity-[0.06] transition-colors duration-1000",o?"bg-amber-500":"bg-blue-500")}),e.jsx("div",{className:"absolute inset-0 opacity-[0.03] mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}})]}),e.jsxs("div",{className:"relative p-6 max-w-6xl mx-auto space-y-12",children:[a&&e.jsx(W,{summary:a.summary,version:a.version,lastScan:n,isLoading:t,onRefresh:r}),e.jsxs("div",{className:"space-y-16",children:[o?e.jsx(K,{checks:i}):e.jsxs(j.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},className:"py-20 flex flex-col items-center text-center space-y-6",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"w-24 h-24 rounded-[2.5rem] bg-emerald-500/10 flex items-center justify-center",children:e.jsx(y,{className:"w-12 h-12 text-emerald-500"})}),e.jsx("div",{className:"absolute inset-0 w-24 h-24 rounded-[2.5rem] bg-emerald-500/20 animate-ping opacity-20"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h2",{className:"text-3xl font-bold tracking-tight",children:s("health.allSystemsClear")}),e.jsx("p",{className:"text-muted-foreground max-w-[40ch] mx-auto",children:s("health.optimalStateDesc")})]})]}),a?.groups&&e.jsx(Q,{groups:a.groups})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4 text-[10px] uppercase tracking-widest font-mono text-muted-foreground/60 border-t border-border/40 pt-8",children:[e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"opacity-50",children:"Build"}),e.jsx("span",{className:"text-foreground",children:a?.version??"--"})]}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"opacity-50",children:"Platform"}),e.jsx("span",{className:"text-foreground",children:typeof navigator<"u"?navigator.platform:"linux"})]})]}),e.jsxs("div",{className:"flex items-center gap-2 px-3 py-1 rounded-full bg-muted/30 border border-border/40",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse"}),e.jsx("span",{children:s("health.liveMonitoring")})]})]})]})]})}export{te as HealthPage};
@@ -0,0 +1 @@
1
+ import{r as d}from"./react-vendor-Bjx91N7w.js";const M=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),_=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,o,c)=>c?c.toUpperCase():o.toLowerCase()),s=t=>{const e=_(t);return e.charAt(0).toUpperCase()+e.slice(1)},k=(...t)=>t.filter((e,o,c)=>!!e&&e.trim()!==""&&c.indexOf(e)===o).join(" ").trim(),m=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};var v={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const x=d.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:n="",children:h,iconNode:p,...y},r)=>d.createElement("svg",{ref:r,...v,width:e,height:e,stroke:t,strokeWidth:c?Number(o)*24/Number(e):o,className:k("lucide",n),...!h&&!m(y)&&{"aria-hidden":"true"},...y},[...p.map(([i,l])=>d.createElement(i,l)),...Array.isArray(h)?h:[h]]));const a=(t,e)=>{const o=d.forwardRef(({className:c,...n},h)=>d.createElement(x,{ref:h,iconNode:e,className:k(`lucide-${M(s(t))}`,`lucide-${t}`,c),...n}));return o.displayName=s(t),o};const g=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],J2=a("activity",g);const w=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Y2=a("archive",w);const f=[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]],a0=a("arrow-down-left",f);const $=[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]],e0=a("arrow-down-right",$);const u=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],t0=a("arrow-down-to-line",u);const N=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],o0=a("arrow-down",N);const b=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],c0=a("arrow-left",b);const z=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],h0=a("arrow-right-left",z);const q=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],d0=a("arrow-right",q);const C=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],n0=a("arrow-up-right",C);const j=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],y0=a("arrow-up",j);const A=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],s0=a("book-open",A);const H=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],k0=a("bot",H);const V=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],p0=a("box",V);const L=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]],r0=a("brain-circuit",L);const S=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],i0=a("brain",S);const P=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],l0=a("bug",P);const R=[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]],M0=a("calendar-clock",R);const D=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],_0=a("calendar-days",D);const F=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],m0=a("calendar",F);const B=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],v0=a("chart-column",B);const U=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],x0=a("chart-pie",U);const Z=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],g0=a("check-check",Z);const E=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],w0=a("check",E);const T=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],f0=a("chevron-down",T);const W=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],$0=a("chevron-left",W);const O=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],u0=a("chevron-right",O);const G=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],N0=a("chevron-up",G);const I=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],b0=a("chevrons-up-down",I);const K=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],z0=a("circle-alert",K);const X=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],q0=a("circle-check-big",X);const Q=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],C0=a("circle-check",Q);const J=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],j0=a("circle-question-mark",J);const Y=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],A0=a("circle-x",Y);const a1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],H0=a("circle",a1);const e1=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],V0=a("clipboard",e1);const t1=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],L0=a("clock",t1);const o1=[["path",{d:"m10.852 19.772-.383.924",key:"r7sl7d"}],["path",{d:"m13.148 14.228.383-.923",key:"1d5zpm"}],["path",{d:"M13.148 19.772a3 3 0 1 0-2.296-5.544l-.383-.923",key:"1ydik7"}],["path",{d:"m13.53 20.696-.382-.924a3 3 0 1 1-2.296-5.544",key:"1m1vsf"}],["path",{d:"m14.772 15.852.923-.383",key:"660p6e"}],["path",{d:"m14.772 18.148.923.383",key:"hrcpis"}],["path",{d:"M4.2 15.1a7 7 0 1 1 9.93-9.858A7 7 0 0 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2",key:"j2q98n"}],["path",{d:"m9.228 15.852-.923-.383",key:"1p9ong"}],["path",{d:"m9.228 18.148-.923.383",key:"6558rz"}]],S0=a("cloud-cog",o1);const c1=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],P0=a("cloud",c1);const h1=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],R0=a("code-xml",h1);const d1=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],D0=a("code",d1);const n1=[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]],F0=a("command",n1);const y1=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],B0=a("copy",y1);const s1=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],U0=a("cpu",s1);const k1=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Z0=a("database",k1);const p1=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],E0=a("dollar-sign",p1);const r1=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],T0=a("download",r1);const i1=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],W0=a("ellipsis",i1);const l1=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],O0=a("external-link",l1);const M1=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],G0=a("eye-off",M1);const _1=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],I0=a("eye",_1);const m1=[["path",{d:"M14 22h4a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6",key:"14cnrg"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M5 14a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1 1 1 0 0 1 1 1v2a1 1 0 0 0 1 1",key:"sr0ebq"}],["path",{d:"M9 22a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-2a1 1 0 0 0-1-1",key:"w793db"}]],K0=a("file-braces-corner",m1);const v1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],X0=a("file-braces",v1);const x1=[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]],Q0=a("file-code-corner",x1);const g1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],J0=a("file-code",g1);const w1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],Y0=a("file-down",w1);const f1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aa=a("file-exclamation-point",f1);const $1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],ea=a("file-text",$1);const u1=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]],ta=a("folder-check",u1);const N1=[["path",{d:"M10 10.5 8 13l2 2.5",key:"m4t9c1"}],["path",{d:"m14 10.5 2 2.5-2 2.5",key:"14w2eb"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z",key:"1u1bxd"}]],oa=a("folder-code",N1);const b1=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],ca=a("folder-open",b1);const z1=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ha=a("folder",z1);const q1=[["path",{d:"M12.531 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l.427-.473",key:"ol2ft2"}],["path",{d:"m16.5 3.5 5 5",key:"15e6fa"}],["path",{d:"m21.5 3.5-5 5",key:"m0lwru"}]],da=a("funnel-x",q1);const C1=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],na=a("gauge",C1);const j1=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],ya=a("git-branch",j1);const A1=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],sa=a("github",A1);const H1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],ka=a("globe",H1);const V1=[["circle",{cx:"12",cy:"9",r:"1",key:"124mty"}],["circle",{cx:"19",cy:"9",r:"1",key:"1ruzo2"}],["circle",{cx:"5",cy:"9",r:"1",key:"1a8b28"}],["circle",{cx:"12",cy:"15",r:"1",key:"1e56xg"}],["circle",{cx:"19",cy:"15",r:"1",key:"1a92ep"}],["circle",{cx:"5",cy:"15",r:"1",key:"5r1jwy"}]],pa=a("grip-horizontal",V1);const L1=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],ra=a("grip-vertical",L1);const S1=[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]],ia=a("hard-drive-download",S1);const P1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],la=a("history",P1);const R1=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Ma=a("house",R1);const D1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],_a=a("image",D1);const F1=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],ma=a("inbox",F1);const B1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],va=a("info",B1);const U1=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],xa=a("key-round",U1);const Z1=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],ga=a("key",Z1);const E1=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],wa=a("laptop",E1);const T1=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],fa=a("layers",T1);const W1=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],$a=a("link-2",W1);const O1=[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]],ua=a("list-filter",O1);const G1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Na=a("loader-circle",G1);const I1=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],ba=a("lock",I1);const K1=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],za=a("log-out",K1);const X1=[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]],qa=a("megaphone",X1);const Q1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Ca=a("message-square",Q1);const J1=[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8",key:"10dyio"}],["path",{d:"M10 19v-3.96 3.15",key:"1irgej"}],["path",{d:"M7 19h5",key:"qswx4l"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2",key:"1egngj"}]],ja=a("monitor-smartphone",J1);const Y1=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Aa=a("monitor",Y1);const a2=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Ha=a("moon",a2);const e2=[["path",{d:"M12.586 12.586 19 19",key:"ea5xo7"}],["path",{d:"M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z",key:"277e5u"}]],Va=a("mouse-pointer",e2);const t2=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],La=a("network",t2);const o2=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],Sa=a("panel-left",o2);const c2=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Pa=a("pause",c2);const h2=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Ra=a("pen-line",h2);const d2=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Da=a("pencil",d2);const n2=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Fa=a("play",n2);const y2=[["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]],Ba=a("plug-zap",y2);const s2=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Ua=a("plus",s2);const k2=[["path",{d:"M18.36 6.64A9 9 0 0 1 20.77 15",key:"dxknvb"}],["path",{d:"M6.16 6.16a9 9 0 1 0 12.68 12.68",key:"1x7qb5"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Za=a("power-off",k2);const p2=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],Ea=a("power",p2);const r2=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],Ta=a("puzzle",r2);const i2=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Wa=a("radio",i2);const l2=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Oa=a("refresh-cw",l2);const M2=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Ga=a("rotate-ccw",M2);const _2=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],Ia=a("rotate-cw",_2);const m2=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],Ka=a("route",m2);const v2=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],Xa=a("save",v2);const x2=[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m19 8 3 8a5 5 0 0 1-6 0zV7",key:"zcdpyk"}],["path",{d:"M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1",key:"1yorad"}],["path",{d:"m5 8 3 8a5 5 0 0 1-6 0zV7",key:"eua70x"}],["path",{d:"M7 21h10",key:"1b0cd5"}]],Qa=a("scale",x2);const g2=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],Ja=a("scroll-text",g2);const w2=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ya=a("search",w2);const f2=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],ae=a("server",f2);const $2=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],ee=a("settings-2",$2);const u2=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],te=a("settings",u2);const N2=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],oe=a("shield-alert",N2);const b2=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ce=a("shield-check",b2);const z2=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],he=a("shield",z2);const q2=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],de=a("sliders-horizontal",q2);const C2=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],ne=a("sparkles",C2);const j2=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],ye=a("square-terminal",j2);const A2=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],se=a("square",A2);const H2=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],ke=a("star",H2);const V2=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],pe=a("sun",V2);const L2=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],re=a("terminal",L2);const S2=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],ie=a("trash-2",S2);const P2=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],le=a("trending-up",P2);const R2=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Me=a("triangle-alert",R2);const D2=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],_e=a("unlink",D2);const F2=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],me=a("upload",F2);const B2=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],ve=a("user-round-check",B2);const U2=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],xe=a("user",U2);const Z2=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],ge=a("users",Z2);const E2=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],we=a("wand-sparkles",E2);const T2=[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]],fe=a("waves",T2);const W2=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],$e=a("wifi-off",W2);const O2=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],ue=a("wifi",O2);const G2=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],Ne=a("workflow",G2);const I2=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],be=a("wrench",I2);const K2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ze=a("x",K2);const X2=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],qe=a("zap",X2);export{D0 as $,J2 as A,s0 as B,u0 as C,A0 as D,G0 as E,ca as F,na as G,Ma as H,Fa as I,ra as J,ga as K,Na as L,Ha as M,ua as N,Ga as O,Sa as P,Wa as Q,Oa as R,ye as S,Me as T,ge as U,U0 as V,$e as W,ze as X,va as Y,qe as Z,re as _,v0 as a,Va as a$,n0 as a0,a0 as a1,ea as a2,aa as a3,pa as a4,d0 as a5,ee as a6,_a as a7,Ua as a8,ne as a9,S0 as aA,wa as aB,ia as aC,de as aD,X0 as aE,T0 as aF,c0 as aG,oe as aH,La as aI,W0 as aJ,oa as aK,ya as aL,Ne as aM,Ka as aN,K0 as aO,Ea as aP,Za as aQ,b0 as aR,Ba as aS,fa as aT,ta as aU,Ra as aV,la as aW,Q0 as aX,ha as aY,da as aZ,ma as a_,Aa as aa,Ca as ab,i0 as ac,ae as ad,Y2 as ae,J0 as af,$0 as ag,ce as ah,ja as ai,ba as aj,F0 as ak,E0 as al,Z0 as am,e0 as an,m0 as ao,me as ap,ie as aq,Qa as ar,_0 as as,le as at,x0 as au,Xa as av,Ya as aw,we as ax,R0 as ay,r0 as az,Ta as b,t0 as b0,_e as b1,$a as b2,fe as b3,p0 as b4,Da as b5,g0 as b6,ve as b7,be as b8,k0 as b9,M0 as ba,qa as bb,V0 as bc,P0 as bd,l0 as be,h0 as bf,Y0 as bg,Ia as bh,se as bi,o0 as bj,y0 as bk,sa as c,Ja as d,te as e,pe as f,I0 as g,ue as h,he as i,q0 as j,H0 as k,w0 as l,xa as m,B0 as n,O0 as o,xe as p,za as q,f0 as r,N0 as s,ka as t,L0 as u,z0 as v,C0 as w,j0 as x,ke as y,Pa as z};