zedbee 0.1.0-beta.15 → 0.1.0-beta.17

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 (645) hide show
  1. package/THIRD_PARTY_NOTICES.md +70 -74
  2. package/dist/attribution/metrics.d.ts.map +1 -1
  3. package/dist/attribution/metrics.js +8 -5
  4. package/dist/attribution/metrics.js.map +1 -1
  5. package/dist/attribution/pair-locations.d.ts.map +1 -1
  6. package/dist/attribution/pair-locations.js +20 -10
  7. package/dist/attribution/pair-locations.js.map +1 -1
  8. package/dist/attribution/pair-source-moves.d.ts +12 -0
  9. package/dist/attribution/pair-source-moves.d.ts.map +1 -0
  10. package/dist/attribution/pair-source-moves.js +108 -0
  11. package/dist/attribution/pair-source-moves.js.map +1 -0
  12. package/dist/attribution/source-moves.d.ts +47 -0
  13. package/dist/attribution/source-moves.d.ts.map +1 -0
  14. package/dist/attribution/source-moves.js +199 -0
  15. package/dist/attribution/source-moves.js.map +1 -0
  16. package/dist/cache/store.d.ts +1 -0
  17. package/dist/cache/store.d.ts.map +1 -1
  18. package/dist/cache/store.js +2 -0
  19. package/dist/cache/store.js.map +1 -1
  20. package/dist/checks/adapter.d.ts +3 -0
  21. package/dist/checks/adapter.d.ts.map +1 -1
  22. package/dist/checks/applicability.d.ts.map +1 -1
  23. package/dist/checks/applicability.js +14 -2
  24. package/dist/checks/applicability.js.map +1 -1
  25. package/dist/checks/changed-file-paths.d.ts.map +1 -1
  26. package/dist/checks/changed-file-paths.js +7 -1
  27. package/dist/checks/changed-file-paths.js.map +1 -1
  28. package/dist/checks/closed-compiler-project.d.ts +5 -0
  29. package/dist/checks/closed-compiler-project.d.ts.map +1 -0
  30. package/dist/checks/closed-compiler-project.js +106 -0
  31. package/dist/checks/closed-compiler-project.js.map +1 -0
  32. package/dist/checks/comparison-context.d.ts +26 -0
  33. package/dist/checks/comparison-context.d.ts.map +1 -0
  34. package/dist/checks/comparison-context.js +187 -0
  35. package/dist/checks/comparison-context.js.map +1 -0
  36. package/dist/checks/compiler-inputs.d.ts +1 -1
  37. package/dist/checks/compiler-inputs.d.ts.map +1 -1
  38. package/dist/checks/compiler-inputs.js +39 -2
  39. package/dist/checks/compiler-inputs.js.map +1 -1
  40. package/dist/checks/complexity/adapter.d.ts.map +1 -1
  41. package/dist/checks/complexity/adapter.js +21 -2
  42. package/dist/checks/complexity/adapter.js.map +1 -1
  43. package/dist/checks/dead-code/adapter.d.ts.map +1 -1
  44. package/dist/checks/dead-code/adapter.js +16 -5
  45. package/dist/checks/dead-code/adapter.js.map +1 -1
  46. package/dist/checks/dead-code/entry-configuration.d.ts +6 -0
  47. package/dist/checks/dead-code/entry-configuration.d.ts.map +1 -0
  48. package/dist/checks/dead-code/entry-configuration.js +48 -0
  49. package/dist/checks/dead-code/entry-configuration.js.map +1 -0
  50. package/dist/checks/dead-code/managed-config.d.ts +1 -1
  51. package/dist/checks/dead-code/managed-config.d.ts.map +1 -1
  52. package/dist/checks/dead-code/managed-config.js +24 -3
  53. package/dist/checks/dead-code/managed-config.js.map +1 -1
  54. package/dist/checks/dead-code/vite-entrypoints.d.ts +13 -0
  55. package/dist/checks/dead-code/vite-entrypoints.d.ts.map +1 -0
  56. package/dist/checks/dead-code/vite-entrypoints.js +314 -0
  57. package/dist/checks/dead-code/vite-entrypoints.js.map +1 -0
  58. package/dist/checks/diagnostic-details.d.ts +28 -0
  59. package/dist/checks/diagnostic-details.d.ts.map +1 -0
  60. package/dist/checks/diagnostic-details.js +442 -0
  61. package/dist/checks/diagnostic-details.js.map +1 -0
  62. package/dist/checks/dispatch-cache.d.ts.map +1 -1
  63. package/dist/checks/dispatch-cache.js +64 -5
  64. package/dist/checks/dispatch-cache.js.map +1 -1
  65. package/dist/checks/dispatch-target.d.ts.map +1 -1
  66. package/dist/checks/dispatch-target.js +6 -0
  67. package/dist/checks/dispatch-target.js.map +1 -1
  68. package/dist/checks/dispatcher.d.ts.map +1 -1
  69. package/dist/checks/dispatcher.js +14 -2
  70. package/dist/checks/dispatcher.js.map +1 -1
  71. package/dist/checks/engine-identity.d.ts.map +1 -1
  72. package/dist/checks/engine-identity.js +9 -7
  73. package/dist/checks/engine-identity.js.map +1 -1
  74. package/dist/checks/eslint/convert-message.d.ts.map +1 -1
  75. package/dist/checks/eslint/convert-message.js +9 -3
  76. package/dist/checks/eslint/convert-message.js.map +1 -1
  77. package/dist/checks/eslint/lint-adapter.d.ts.map +1 -1
  78. package/dist/checks/eslint/lint-adapter.js +7 -0
  79. package/dist/checks/eslint/lint-adapter.js.map +1 -1
  80. package/dist/checks/eslint/managed-config.d.ts +3 -0
  81. package/dist/checks/eslint/managed-config.d.ts.map +1 -1
  82. package/dist/checks/eslint/managed-config.js +18 -3
  83. package/dist/checks/eslint/managed-config.js.map +1 -1
  84. package/dist/checks/eslint/project/adapter.d.ts +3 -0
  85. package/dist/checks/eslint/project/adapter.d.ts.map +1 -0
  86. package/dist/checks/eslint/project/adapter.js +143 -0
  87. package/dist/checks/eslint/project/adapter.js.map +1 -0
  88. package/dist/checks/eslint/project/diagnostics.d.ts +15 -0
  89. package/dist/checks/eslint/project/diagnostics.d.ts.map +1 -0
  90. package/dist/checks/eslint/project/diagnostics.js +38 -0
  91. package/dist/checks/eslint/project/diagnostics.js.map +1 -0
  92. package/dist/checks/eslint/project/engine.d.ts +5 -0
  93. package/dist/checks/eslint/project/engine.d.ts.map +1 -0
  94. package/dist/checks/eslint/project/engine.js +207 -0
  95. package/dist/checks/eslint/project/engine.js.map +1 -0
  96. package/dist/checks/eslint/project/installation.d.ts +3 -0
  97. package/dist/checks/eslint/project/installation.d.ts.map +1 -0
  98. package/dist/checks/eslint/project/installation.js +118 -0
  99. package/dist/checks/eslint/project/installation.js.map +1 -0
  100. package/dist/checks/eslint/project/protocol.d.ts +6 -0
  101. package/dist/checks/eslint/project/protocol.d.ts.map +1 -0
  102. package/dist/checks/eslint/project/protocol.js +90 -0
  103. package/dist/checks/eslint/project/protocol.js.map +1 -0
  104. package/dist/checks/eslint/project/trust.d.ts +18 -0
  105. package/dist/checks/eslint/project/trust.d.ts.map +1 -0
  106. package/dist/checks/eslint/project/trust.js +93 -0
  107. package/dist/checks/eslint/project/trust.js.map +1 -0
  108. package/dist/checks/eslint/project/types.d.ts +53 -0
  109. package/dist/checks/eslint/project/types.d.ts.map +1 -0
  110. package/dist/checks/eslint/project/types.js +24 -0
  111. package/dist/checks/eslint/project/types.js.map +1 -0
  112. package/dist/checks/eslint/project/worker.d.ts +2 -0
  113. package/dist/checks/eslint/project/worker.d.ts.map +1 -0
  114. package/dist/checks/eslint/project/worker.js +89 -0
  115. package/dist/checks/eslint/project/worker.js.map +1 -0
  116. package/dist/checks/eslint/project/workspace.d.ts +7 -0
  117. package/dist/checks/eslint/project/workspace.d.ts.map +1 -0
  118. package/dist/checks/eslint/project/workspace.js +100 -0
  119. package/dist/checks/eslint/project/workspace.js.map +1 -0
  120. package/dist/checks/eslint/rule-settings.d.ts.map +1 -1
  121. package/dist/checks/eslint/rule-settings.js +2 -2
  122. package/dist/checks/eslint/rule-settings.js.map +1 -1
  123. package/dist/checks/observation-result.d.ts.map +1 -1
  124. package/dist/checks/observation-result.js +89 -9
  125. package/dist/checks/observation-result.js.map +1 -1
  126. package/dist/checks/policy-scheduling.d.ts.map +1 -1
  127. package/dist/checks/policy-scheduling.js +6 -0
  128. package/dist/checks/policy-scheduling.js.map +1 -1
  129. package/dist/checks/prettier/settings.d.ts +2 -2
  130. package/dist/checks/project-inputs.d.ts +1 -1
  131. package/dist/checks/project-inputs.d.ts.map +1 -1
  132. package/dist/checks/project-inputs.js +10 -1
  133. package/dist/checks/project-inputs.js.map +1 -1
  134. package/dist/checks/react/accessibility-settings.d.ts +14 -0
  135. package/dist/checks/react/accessibility-settings.d.ts.map +1 -0
  136. package/dist/checks/react/accessibility-settings.js +37 -0
  137. package/dist/checks/react/accessibility-settings.js.map +1 -0
  138. package/dist/checks/react/adapter.d.ts.map +1 -1
  139. package/dist/checks/react/adapter.js +28 -3
  140. package/dist/checks/react/adapter.js.map +1 -1
  141. package/dist/checks/react/config.d.ts +2 -1
  142. package/dist/checks/react/config.d.ts.map +1 -1
  143. package/dist/checks/react/config.js +9 -3
  144. package/dist/checks/react/config.js.map +1 -1
  145. package/dist/checks/react/managed-accessibility-plugin.d.ts +21 -0
  146. package/dist/checks/react/managed-accessibility-plugin.d.ts.map +1 -0
  147. package/dist/checks/react/managed-accessibility-plugin.js +83 -0
  148. package/dist/checks/react/managed-accessibility-plugin.js.map +1 -0
  149. package/dist/checks/react/managed-hooks-identity.d.ts +3 -0
  150. package/dist/checks/react/managed-hooks-identity.d.ts.map +1 -0
  151. package/dist/checks/react/managed-hooks-identity.js +4 -0
  152. package/dist/checks/react/managed-hooks-identity.js.map +1 -0
  153. package/dist/checks/react/managed-hooks-plugin.d.ts +5 -0
  154. package/dist/checks/react/managed-hooks-plugin.d.ts.map +1 -0
  155. package/dist/checks/react/managed-hooks-plugin.js +45 -0
  156. package/dist/checks/react/managed-hooks-plugin.js.map +1 -0
  157. package/dist/checks/runner/executor.d.ts +2 -0
  158. package/dist/checks/runner/executor.d.ts.map +1 -1
  159. package/dist/checks/runner/executor.js +16 -0
  160. package/dist/checks/runner/executor.js.map +1 -1
  161. package/dist/checks/runner/protocol.d.ts.map +1 -1
  162. package/dist/checks/runner/protocol.js +8 -0
  163. package/dist/checks/runner/protocol.js.map +1 -1
  164. package/dist/checks/runner/run-job.d.ts +1 -0
  165. package/dist/checks/runner/run-job.d.ts.map +1 -1
  166. package/dist/checks/runner/run-job.js +8 -1
  167. package/dist/checks/runner/run-job.js.map +1 -1
  168. package/dist/checks/runner/worker-slot.d.ts.map +1 -1
  169. package/dist/checks/runner/worker-slot.js +17 -1
  170. package/dist/checks/runner/worker-slot.js.map +1 -1
  171. package/dist/checks/runner/worker.js +4 -1
  172. package/dist/checks/runner/worker.js.map +1 -1
  173. package/dist/checks/sanitize-result.d.ts +4 -0
  174. package/dist/checks/sanitize-result.d.ts.map +1 -1
  175. package/dist/checks/sanitize-result.js +45 -0
  176. package/dist/checks/sanitize-result.js.map +1 -1
  177. package/dist/checks/secrets/normalize.js +1 -1
  178. package/dist/checks/secrets/normalize.js.map +1 -1
  179. package/dist/checks/source-moves.d.ts +9 -0
  180. package/dist/checks/source-moves.d.ts.map +1 -0
  181. package/dist/checks/source-moves.js +184 -0
  182. package/dist/checks/source-moves.js.map +1 -0
  183. package/dist/checks/typescript/adapter.d.ts.map +1 -1
  184. package/dist/checks/typescript/adapter.js +2 -0
  185. package/dist/checks/typescript/adapter.js.map +1 -1
  186. package/dist/checks/typescript/compiler-host.d.ts.map +1 -1
  187. package/dist/checks/typescript/compiler-host.js +2 -0
  188. package/dist/checks/typescript/compiler-host.js.map +1 -1
  189. package/dist/checks/typescript/compiler-options-provenance.d.ts +4 -0
  190. package/dist/checks/typescript/compiler-options-provenance.d.ts.map +1 -0
  191. package/dist/checks/typescript/compiler-options-provenance.js +13 -0
  192. package/dist/checks/typescript/compiler-options-provenance.js.map +1 -0
  193. package/dist/checks/typescript/convert-diagnostic.d.ts.map +1 -1
  194. package/dist/checks/typescript/convert-diagnostic.js +4 -1
  195. package/dist/checks/typescript/convert-diagnostic.js.map +1 -1
  196. package/dist/checks/typescript/project-coverage.d.ts.map +1 -1
  197. package/dist/checks/typescript/project-coverage.js +19 -2
  198. package/dist/checks/typescript/project-coverage.js.map +1 -1
  199. package/dist/cli.d.ts.map +1 -1
  200. package/dist/cli.js +22 -0
  201. package/dist/cli.js.map +1 -1
  202. package/dist/commands/checks.d.ts.map +1 -1
  203. package/dist/commands/checks.js +12 -7
  204. package/dist/commands/checks.js.map +1 -1
  205. package/dist/commands/diagnostics.d.ts +1 -0
  206. package/dist/commands/diagnostics.d.ts.map +1 -1
  207. package/dist/commands/diagnostics.js +28 -0
  208. package/dist/commands/diagnostics.js.map +1 -1
  209. package/dist/commands/fix.d.ts.map +1 -1
  210. package/dist/commands/fix.js +4 -1
  211. package/dist/commands/fix.js.map +1 -1
  212. package/dist/commands/init.d.ts +4 -0
  213. package/dist/commands/init.d.ts.map +1 -1
  214. package/dist/commands/init.js +13 -0
  215. package/dist/commands/init.js.map +1 -1
  216. package/dist/commands/scan.d.ts +2 -1
  217. package/dist/commands/scan.d.ts.map +1 -1
  218. package/dist/commands/scan.js +10 -0
  219. package/dist/commands/scan.js.map +1 -1
  220. package/dist/config/immutable-configuration.d.ts +2 -0
  221. package/dist/config/immutable-configuration.d.ts.map +1 -0
  222. package/dist/config/immutable-configuration.js +81 -0
  223. package/dist/config/immutable-configuration.js.map +1 -0
  224. package/dist/config/load-config.d.ts.map +1 -1
  225. package/dist/config/load-config.js +8 -1
  226. package/dist/config/load-config.js.map +1 -1
  227. package/dist/config/profiles.d.ts.map +1 -1
  228. package/dist/config/profiles.js +30 -3
  229. package/dist/config/profiles.js.map +1 -1
  230. package/dist/config/schema.d.ts +152 -26
  231. package/dist/config/schema.d.ts.map +1 -1
  232. package/dist/config/schema.js +47 -3
  233. package/dist/config/schema.js.map +1 -1
  234. package/dist/config/settings-registry.d.ts +3 -1
  235. package/dist/config/settings-registry.d.ts.map +1 -1
  236. package/dist/config/settings-registry.js +9 -81
  237. package/dist/config/settings-registry.js.map +1 -1
  238. package/dist/config/target-policy.d.ts +4 -1
  239. package/dist/config/target-policy.d.ts.map +1 -1
  240. package/dist/config/target-policy.js +96 -0
  241. package/dist/config/target-policy.js.map +1 -1
  242. package/dist/core/types.d.ts +15 -0
  243. package/dist/core/types.d.ts.map +1 -1
  244. package/dist/diagnostics/scan-performance.d.ts +50 -0
  245. package/dist/diagnostics/scan-performance.d.ts.map +1 -0
  246. package/dist/diagnostics/scan-performance.js +153 -0
  247. package/dist/diagnostics/scan-performance.js.map +1 -0
  248. package/dist/doctor/diagnostics.d.ts +2 -1
  249. package/dist/doctor/diagnostics.d.ts.map +1 -1
  250. package/dist/doctor/diagnostics.js +5 -0
  251. package/dist/doctor/diagnostics.js.map +1 -1
  252. package/dist/doctor/project-eslint.d.ts +4 -0
  253. package/dist/doctor/project-eslint.d.ts.map +1 -0
  254. package/dist/doctor/project-eslint.js +98 -0
  255. package/dist/doctor/project-eslint.js.map +1 -0
  256. package/dist/hooks/command.d.ts.map +1 -1
  257. package/dist/hooks/command.js +2 -4
  258. package/dist/hooks/command.js.map +1 -1
  259. package/dist/hooks/husky.d.ts.map +1 -1
  260. package/dist/hooks/husky.js +7 -1
  261. package/dist/hooks/husky.js.map +1 -1
  262. package/dist/hooks/install.d.ts.map +1 -1
  263. package/dist/hooks/install.js +5 -0
  264. package/dist/hooks/install.js.map +1 -1
  265. package/dist/hooks/installed-command.d.ts +11 -0
  266. package/dist/hooks/installed-command.d.ts.map +1 -0
  267. package/dist/hooks/installed-command.js +36 -0
  268. package/dist/hooks/installed-command.js.map +1 -0
  269. package/dist/init/eslint-setup.d.ts +16 -0
  270. package/dist/init/eslint-setup.d.ts.map +1 -0
  271. package/dist/init/eslint-setup.js +98 -0
  272. package/dist/init/eslint-setup.js.map +1 -0
  273. package/dist/init/presentation.d.ts +9 -2
  274. package/dist/init/presentation.d.ts.map +1 -1
  275. package/dist/init/presentation.js +20 -0
  276. package/dist/init/presentation.js.map +1 -1
  277. package/dist/init/recommend.d.ts.map +1 -1
  278. package/dist/init/recommend.js +28 -0
  279. package/dist/init/recommend.js.map +1 -1
  280. package/dist/init/selection-policy.d.ts +4 -0
  281. package/dist/init/selection-policy.d.ts.map +1 -1
  282. package/dist/init/selection-policy.js +17 -0
  283. package/dist/init/selection-policy.js.map +1 -1
  284. package/dist/init/types.d.ts +14 -0
  285. package/dist/init/types.d.ts.map +1 -1
  286. package/dist/init/write-config.d.ts.map +1 -1
  287. package/dist/init/write-config.js +34 -0
  288. package/dist/init/write-config.js.map +1 -1
  289. package/dist/policy/evaluate.d.ts.map +1 -1
  290. package/dist/policy/evaluate.js +19 -4
  291. package/dist/policy/evaluate.js.map +1 -1
  292. package/dist/renderers/json.d.ts.map +1 -1
  293. package/dist/renderers/json.js +21 -0
  294. package/dist/renderers/json.js.map +1 -1
  295. package/dist/renderers/text.d.ts.map +1 -1
  296. package/dist/renderers/text.js +45 -7
  297. package/dist/renderers/text.js.map +1 -1
  298. package/dist/reporting/agent-guidance.d.ts +1 -0
  299. package/dist/reporting/agent-guidance.d.ts.map +1 -1
  300. package/dist/reporting/agent-guidance.js +25 -0
  301. package/dist/reporting/agent-guidance.js.map +1 -1
  302. package/dist/reporting/check-coverage.d.ts +9 -0
  303. package/dist/reporting/check-coverage.d.ts.map +1 -0
  304. package/dist/reporting/check-coverage.js +38 -0
  305. package/dist/reporting/check-coverage.js.map +1 -0
  306. package/dist/reporting/finding-priority.d.ts +6 -0
  307. package/dist/reporting/finding-priority.d.ts.map +1 -0
  308. package/dist/reporting/finding-priority.js +69 -0
  309. package/dist/reporting/finding-priority.js.map +1 -0
  310. package/dist/reporting/fix-plan-store.d.ts +2 -5
  311. package/dist/reporting/fix-plan-store.d.ts.map +1 -1
  312. package/dist/reporting/fix-plan-store.js +2 -1
  313. package/dist/reporting/fix-plan-store.js.map +1 -1
  314. package/dist/reporting/fix-presentation.d.ts +1 -1
  315. package/dist/reporting/presentation.d.ts +3 -1
  316. package/dist/reporting/presentation.d.ts.map +1 -1
  317. package/dist/reporting/presentation.js +19 -7
  318. package/dist/reporting/presentation.js.map +1 -1
  319. package/dist/reporting/project-eslint-notices.d.ts +3 -0
  320. package/dist/reporting/project-eslint-notices.d.ts.map +1 -0
  321. package/dist/reporting/project-eslint-notices.js +9 -0
  322. package/dist/reporting/project-eslint-notices.js.map +1 -0
  323. package/dist/reporting/report-callouts.d.ts +2 -2
  324. package/dist/reporting/report-callouts.d.ts.map +1 -1
  325. package/dist/reporting/report-callouts.js +5 -2
  326. package/dist/reporting/report-callouts.js.map +1 -1
  327. package/dist/reporting/result-sections.d.ts +1 -0
  328. package/dist/reporting/result-sections.d.ts.map +1 -1
  329. package/dist/reporting/result-sections.js +12 -0
  330. package/dist/reporting/result-sections.js.map +1 -1
  331. package/dist/reporting/source-identity.d.ts +1 -0
  332. package/dist/reporting/source-identity.d.ts.map +1 -1
  333. package/dist/reporting/source-identity.js +6 -0
  334. package/dist/reporting/source-identity.js.map +1 -1
  335. package/dist/reporting/temporary-report-common.d.ts +13 -1
  336. package/dist/reporting/temporary-report-common.d.ts.map +1 -1
  337. package/dist/reporting/temporary-report-common.js +4 -1
  338. package/dist/reporting/temporary-report-common.js.map +1 -1
  339. package/dist/reporting/temporary-report-lifecycle.d.ts +3 -3
  340. package/dist/reporting/temporary-report-lifecycle.d.ts.map +1 -1
  341. package/dist/reporting/temporary-report-lifecycle.js +18 -4
  342. package/dist/reporting/temporary-report-lifecycle.js.map +1 -1
  343. package/dist/reporting/temporary-reports.d.ts +1 -1
  344. package/dist/reporting/temporary-reports.d.ts.map +1 -1
  345. package/dist/reporting/temporary-reports.js +22 -3
  346. package/dist/reporting/temporary-reports.js.map +1 -1
  347. package/dist/scan/analysis-session.d.ts +3 -0
  348. package/dist/scan/analysis-session.d.ts.map +1 -1
  349. package/dist/scan/analysis-session.js +28 -1
  350. package/dist/scan/analysis-session.js.map +1 -1
  351. package/dist/scan/change-summary.d.ts +9 -0
  352. package/dist/scan/change-summary.d.ts.map +1 -0
  353. package/dist/scan/change-summary.js +7 -0
  354. package/dist/scan/change-summary.js.map +1 -0
  355. package/dist/scan/incomplete-report.d.ts +2 -0
  356. package/dist/scan/incomplete-report.d.ts.map +1 -1
  357. package/dist/scan/incomplete-report.js +3 -0
  358. package/dist/scan/incomplete-report.js.map +1 -1
  359. package/dist/scan/merge-scan.d.ts.map +1 -1
  360. package/dist/scan/merge-scan.js +2 -1
  361. package/dist/scan/merge-scan.js.map +1 -1
  362. package/dist/scan/report.d.ts +2 -0
  363. package/dist/scan/report.d.ts.map +1 -1
  364. package/dist/scan/run-scan.d.ts +3 -0
  365. package/dist/scan/run-scan.d.ts.map +1 -1
  366. package/dist/scan/run-scan.js +57 -3
  367. package/dist/scan/run-scan.js.map +1 -1
  368. package/dist/scan/source-excerpts.d.ts.map +1 -1
  369. package/dist/scan/source-excerpts.js +7 -0
  370. package/dist/scan/source-excerpts.js.map +1 -1
  371. package/dist/service/client-connection.js +1 -1
  372. package/dist/service/client-connection.js.map +1 -1
  373. package/dist/service/client-executor.d.ts.map +1 -1
  374. package/dist/service/client-executor.js +35 -2
  375. package/dist/service/client-executor.js.map +1 -1
  376. package/dist/service/server-connection.d.ts.map +1 -1
  377. package/dist/service/server-connection.js +11 -2
  378. package/dist/service/server-connection.js.map +1 -1
  379. package/dist/telemetry/client.d.ts +5 -1
  380. package/dist/telemetry/client.d.ts.map +1 -1
  381. package/dist/telemetry/client.js +20 -3
  382. package/dist/telemetry/client.js.map +1 -1
  383. package/dist/telemetry/details-store.d.ts +8 -4
  384. package/dist/telemetry/details-store.d.ts.map +1 -1
  385. package/dist/telemetry/details-store.js +28 -5
  386. package/dist/telemetry/details-store.js.map +1 -1
  387. package/dist/telemetry/performance-summary.d.ts +7 -0
  388. package/dist/telemetry/performance-summary.d.ts.map +1 -0
  389. package/dist/telemetry/performance-summary.js +49 -0
  390. package/dist/telemetry/performance-summary.js.map +1 -0
  391. package/dist/telemetry/schema.d.ts +813 -166
  392. package/dist/telemetry/schema.d.ts.map +1 -1
  393. package/dist/telemetry/schema.js +78 -0
  394. package/dist/telemetry/schema.js.map +1 -1
  395. package/dist/telemetry/state.d.ts +12 -12
  396. package/dist/ui/init-app.d.ts.map +1 -1
  397. package/dist/ui/init-app.js +41 -1
  398. package/dist/ui/init-app.js.map +1 -1
  399. package/dist/ui/init-view.d.ts.map +1 -1
  400. package/dist/ui/init-view.js +14 -4
  401. package/dist/ui/init-view.js.map +1 -1
  402. package/dist/ui/outcome-strip.d.ts.map +1 -1
  403. package/dist/ui/outcome-strip.js +7 -3
  404. package/dist/ui/outcome-strip.js.map +1 -1
  405. package/dist/ui/scan-app.d.ts.map +1 -1
  406. package/dist/ui/scan-app.js +2 -1
  407. package/dist/ui/scan-app.js.map +1 -1
  408. package/dist/ui/scan-result-dashboard.d.ts.map +1 -1
  409. package/dist/ui/scan-result-dashboard.js +7 -6
  410. package/dist/ui/scan-result-dashboard.js.map +1 -1
  411. package/dist/vendor/react-hooks/7.1.1/LICENSE +21 -0
  412. package/dist/vendor/react-hooks/7.1.1/development.cjs +55824 -0
  413. package/dist/vendor/react-hooks/7.1.1/index.cjs +2 -0
  414. package/dist/vendor/react-hooks/7.1.1/production.cjs +55649 -0
  415. package/dist/vendor/react-hooks/7.1.1/provenance.json +26 -0
  416. package/docs/checks.md +213 -4
  417. package/docs/cli-reference.md +28 -1
  418. package/docs/privacy.md +31 -1
  419. package/docs/react-analysis.md +66 -0
  420. package/docs/reporting.md +52 -1
  421. package/docs/support.md +23 -0
  422. package/{node_modules/dependency-cruiser/node_modules/picomatch/LICENSE → licenses/overrides/jscpd-5.4.2-LICENSE} +5 -5
  423. package/licenses/overrides/napi-rs-wasm-runtime-1.2.5-LICENSE +43 -0
  424. package/licenses/reviewed-overrides.json +70 -0
  425. package/node_modules/acorn/CHANGELOG.md +14 -0
  426. package/node_modules/acorn/dist/acorn.js +42 -14
  427. package/node_modules/acorn/dist/acorn.mjs +42 -14
  428. package/node_modules/acorn/package.json +1 -1
  429. package/node_modules/dependency-cruiser/README.md +7 -8
  430. package/node_modules/dependency-cruiser/bin/depcruise-baseline.mjs +12 -5
  431. package/node_modules/dependency-cruiser/bin/{dependency-cruise.mjs → dependency-cruiser.mjs} +24 -14
  432. package/node_modules/dependency-cruiser/configs/rules/no-duplicate-dependency-types.cjs +1 -1
  433. package/node_modules/dependency-cruiser/node_modules/ignore/README.md +138 -8
  434. package/node_modules/dependency-cruiser/node_modules/ignore/index.d.ts +56 -20
  435. package/node_modules/dependency-cruiser/node_modules/ignore/index.js +1032 -229
  436. package/node_modules/dependency-cruiser/node_modules/ignore/legacy.js +868 -184
  437. package/node_modules/dependency-cruiser/node_modules/ignore/package.json +10 -4
  438. package/node_modules/dependency-cruiser/node_modules/semver/LICENSE +15 -0
  439. package/node_modules/dependency-cruiser/node_modules/semver/README.md +680 -0
  440. package/node_modules/dependency-cruiser/node_modules/semver/bin/semver.js +195 -0
  441. package/node_modules/dependency-cruiser/node_modules/semver/classes/comparator.js +143 -0
  442. package/node_modules/dependency-cruiser/node_modules/semver/classes/index.js +7 -0
  443. package/node_modules/dependency-cruiser/node_modules/semver/classes/range.js +577 -0
  444. package/node_modules/dependency-cruiser/node_modules/semver/classes/semver.js +350 -0
  445. package/node_modules/dependency-cruiser/node_modules/semver/functions/clean.js +8 -0
  446. package/node_modules/dependency-cruiser/node_modules/semver/functions/cmp.js +54 -0
  447. package/node_modules/dependency-cruiser/node_modules/semver/functions/coerce.js +62 -0
  448. package/node_modules/dependency-cruiser/node_modules/semver/functions/compare-build.js +9 -0
  449. package/node_modules/dependency-cruiser/node_modules/semver/functions/compare-loose.js +5 -0
  450. package/node_modules/dependency-cruiser/node_modules/semver/functions/compare.js +7 -0
  451. package/node_modules/dependency-cruiser/node_modules/semver/functions/diff.js +60 -0
  452. package/node_modules/dependency-cruiser/node_modules/semver/functions/eq.js +5 -0
  453. package/node_modules/dependency-cruiser/node_modules/semver/functions/gt.js +5 -0
  454. package/node_modules/dependency-cruiser/node_modules/semver/functions/gte.js +5 -0
  455. package/node_modules/dependency-cruiser/node_modules/semver/functions/inc.js +21 -0
  456. package/node_modules/dependency-cruiser/node_modules/semver/functions/lt.js +5 -0
  457. package/node_modules/dependency-cruiser/node_modules/semver/functions/lte.js +5 -0
  458. package/node_modules/dependency-cruiser/node_modules/semver/functions/major.js +5 -0
  459. package/node_modules/dependency-cruiser/node_modules/semver/functions/minor.js +5 -0
  460. package/node_modules/dependency-cruiser/node_modules/semver/functions/neq.js +5 -0
  461. package/node_modules/dependency-cruiser/node_modules/semver/functions/parse.js +18 -0
  462. package/node_modules/dependency-cruiser/node_modules/semver/functions/patch.js +5 -0
  463. package/node_modules/dependency-cruiser/node_modules/semver/functions/prerelease.js +8 -0
  464. package/node_modules/dependency-cruiser/node_modules/semver/functions/rcompare.js +5 -0
  465. package/node_modules/dependency-cruiser/node_modules/semver/functions/rsort.js +5 -0
  466. package/node_modules/dependency-cruiser/node_modules/semver/functions/satisfies.js +12 -0
  467. package/node_modules/dependency-cruiser/node_modules/semver/functions/sort.js +5 -0
  468. package/node_modules/dependency-cruiser/node_modules/semver/functions/truncate.js +48 -0
  469. package/node_modules/dependency-cruiser/node_modules/semver/functions/valid.js +8 -0
  470. package/node_modules/dependency-cruiser/node_modules/semver/index.js +93 -0
  471. package/node_modules/dependency-cruiser/node_modules/semver/internal/constants.js +67 -0
  472. package/node_modules/dependency-cruiser/node_modules/semver/internal/debug.js +11 -0
  473. package/node_modules/dependency-cruiser/node_modules/semver/internal/identifiers.js +29 -0
  474. package/node_modules/dependency-cruiser/node_modules/semver/internal/lrucache.js +42 -0
  475. package/node_modules/dependency-cruiser/node_modules/semver/internal/parse-options.js +17 -0
  476. package/node_modules/dependency-cruiser/node_modules/semver/internal/re.js +223 -0
  477. package/node_modules/dependency-cruiser/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  478. package/node_modules/dependency-cruiser/node_modules/semver/package.json +78 -0
  479. package/node_modules/dependency-cruiser/node_modules/semver/preload.js +4 -0
  480. package/node_modules/dependency-cruiser/node_modules/semver/range.bnf +17 -0
  481. package/node_modules/dependency-cruiser/node_modules/semver/ranges/gtr.js +6 -0
  482. package/node_modules/dependency-cruiser/node_modules/semver/ranges/intersects.js +9 -0
  483. package/node_modules/dependency-cruiser/node_modules/semver/ranges/ltr.js +6 -0
  484. package/node_modules/dependency-cruiser/node_modules/semver/ranges/max-satisfying.js +27 -0
  485. package/node_modules/dependency-cruiser/node_modules/semver/ranges/min-satisfying.js +26 -0
  486. package/node_modules/dependency-cruiser/node_modules/semver/ranges/min-version.js +63 -0
  487. package/node_modules/dependency-cruiser/node_modules/semver/ranges/outside.js +82 -0
  488. package/node_modules/dependency-cruiser/node_modules/semver/ranges/simplify.js +49 -0
  489. package/node_modules/dependency-cruiser/node_modules/semver/ranges/subset.js +249 -0
  490. package/node_modules/dependency-cruiser/node_modules/semver/ranges/to-comparators.js +10 -0
  491. package/node_modules/dependency-cruiser/node_modules/semver/ranges/valid.js +13 -0
  492. package/node_modules/dependency-cruiser/package.json +16 -10
  493. package/node_modules/dependency-cruiser/src/analyze/analyze-modules.mjs +5 -1
  494. package/node_modules/dependency-cruiser/src/analyze/index.mjs +3 -3
  495. package/node_modules/dependency-cruiser/src/analyze/soften-known-violations.mjs +4 -2
  496. package/node_modules/dependency-cruiser/src/analyze/summarize/get-stats.mjs +38 -3
  497. package/node_modules/dependency-cruiser/src/analyze/summarize/index.mjs +28 -105
  498. package/node_modules/dependency-cruiser/src/analyze/summarize/summarize-options.mjs +3 -0
  499. package/node_modules/dependency-cruiser/src/analyze/summarize/verify-environment.mjs +146 -0
  500. package/node_modules/dependency-cruiser/src/cache/cache.mjs +1 -1
  501. package/node_modules/dependency-cruiser/src/cache/options-compatible.mjs +3 -0
  502. package/node_modules/dependency-cruiser/src/cli/defaults.mjs +0 -1
  503. package/node_modules/dependency-cruiser/src/cli/index.mjs +11 -3
  504. package/node_modules/dependency-cruiser/src/cli/init-config/build-config.mjs +14 -0
  505. package/node_modules/dependency-cruiser/src/cli/init-config/config-template.mjs +7 -2
  506. package/node_modules/dependency-cruiser/src/cli/init-config/environment-helpers.mjs +5 -1
  507. package/node_modules/dependency-cruiser/src/cli/init-config/get-user-input.mjs +11 -0
  508. package/node_modules/dependency-cruiser/src/cli/init-config/index.mjs +1 -0
  509. package/node_modules/dependency-cruiser/src/cli/init-config/normalize-init-options.mjs +1 -1
  510. package/node_modules/dependency-cruiser/src/cli/init-config/types.d.mts +4 -0
  511. package/node_modules/dependency-cruiser/src/cli/init-config/write-run-scripts-to-manifest.mjs +7 -7
  512. package/node_modules/dependency-cruiser/src/cli/normalize-cli-options.mjs +63 -2
  513. package/node_modules/dependency-cruiser/src/config-utl/extract-ts-config.mjs +1 -1
  514. package/node_modules/dependency-cruiser/src/extract/helpers.mjs +1 -0
  515. package/node_modules/dependency-cruiser/src/extract/resolve/determine-dependency-types.mjs +15 -7
  516. package/node_modules/dependency-cruiser/src/extract/resolve/merge-manifests.mjs +6 -3
  517. package/node_modules/dependency-cruiser/src/extract/swc/dependency-visitor.mjs +21 -4
  518. package/node_modules/dependency-cruiser/src/extract/swc/parse.mjs +14 -4
  519. package/node_modules/dependency-cruiser/src/extract/transpile/index.mjs +1 -1
  520. package/node_modules/dependency-cruiser/src/extract/transpile/meta.mjs +15 -3
  521. package/node_modules/dependency-cruiser/src/extract/transpile/svelte-wrap.mjs +23 -2
  522. package/node_modules/dependency-cruiser/src/extract/transpile/try-import-available.mjs +2 -2
  523. package/node_modules/dependency-cruiser/src/extract/transpile/typescript-wrap.mjs +23 -1
  524. package/node_modules/dependency-cruiser/src/extract/tsc/extract-typescript-deps.mjs +57 -12
  525. package/node_modules/dependency-cruiser/src/extract/tsc/extract.mjs +2 -0
  526. package/node_modules/dependency-cruiser/src/graph-utl/add-focus.mjs +2 -2
  527. package/node_modules/dependency-cruiser/src/graph-utl/compare.mjs +113 -14
  528. package/node_modules/dependency-cruiser/src/main/cruise.mjs +1 -2
  529. package/node_modules/dependency-cruiser/src/main/format.mjs +1 -1
  530. package/node_modules/dependency-cruiser/src/main/options/defaults.mjs +1 -0
  531. package/node_modules/dependency-cruiser/src/main/options/normalize.mjs +13 -4
  532. package/node_modules/dependency-cruiser/src/main/report-wrap.mjs +4 -2
  533. package/node_modules/dependency-cruiser/src/main/resolve-options/normalize.mjs +0 -27
  534. package/node_modules/dependency-cruiser/src/meta.cjs +1 -1
  535. package/node_modules/dependency-cruiser/src/report/anon/index.mjs +1 -1
  536. package/node_modules/dependency-cruiser/src/report/azure-devops.mjs +15 -11
  537. package/node_modules/dependency-cruiser/src/report/baseline.mjs +67 -10
  538. package/node_modules/dependency-cruiser/src/report/csv.mjs +1 -1
  539. package/node_modules/dependency-cruiser/src/report/dot/index.mjs +1 -1
  540. package/node_modules/dependency-cruiser/src/report/dot-webpage/dot-module.mjs +1 -1
  541. package/node_modules/dependency-cruiser/src/report/error-html/error-html-template.mjs +2 -0
  542. package/node_modules/dependency-cruiser/src/report/error-html/index.mjs +84 -8
  543. package/node_modules/dependency-cruiser/src/report/error.mjs +62 -13
  544. package/node_modules/dependency-cruiser/src/report/html/index.mjs +1 -1
  545. package/node_modules/dependency-cruiser/src/report/index.mjs +3 -2
  546. package/node_modules/dependency-cruiser/src/report/markdown.mjs +89 -19
  547. package/node_modules/dependency-cruiser/src/report/metrics.mjs +3 -3
  548. package/node_modules/dependency-cruiser/src/report/null.mjs +6 -3
  549. package/node_modules/dependency-cruiser/src/report/teamcity.mjs +4 -1
  550. package/node_modules/dependency-cruiser/src/schema/configuration.validate.mjs +1 -1
  551. package/node_modules/dependency-cruiser/src/schema/cruise-result.validate.mjs +1 -1
  552. package/node_modules/dependency-cruiser/src/utl/try-import.mjs +1 -1
  553. package/node_modules/dependency-cruiser/types/cruise-result.d.mts +14 -0
  554. package/node_modules/dependency-cruiser/types/dependency-cruiser.d.mts +6 -0
  555. package/node_modules/dependency-cruiser/types/options.d.mts +37 -2
  556. package/node_modules/dependency-cruiser/types/reporter-options.d.mts +30 -5
  557. package/node_modules/dependency-cruiser/types/restrictions.d.mts +2 -2
  558. package/node_modules/dependency-cruiser/types/shared-types.d.mts +16 -13
  559. package/node_modules/enhanced-resolve/README.md +46 -1
  560. package/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js +31 -6
  561. package/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js +27 -6
  562. package/node_modules/enhanced-resolve/lib/PackageMapPlugin.js +297 -0
  563. package/node_modules/enhanced-resolve/lib/Resolver.js +37 -30
  564. package/node_modules/enhanced-resolve/lib/ResolverFactory.js +104 -11
  565. package/node_modules/enhanced-resolve/lib/getPaths.js +6 -1
  566. package/node_modules/enhanced-resolve/lib/index.js +4 -0
  567. package/node_modules/enhanced-resolve/lib/util/entrypoints.js +104 -0
  568. package/node_modules/enhanced-resolve/lib/util/graceful-fs-browser.js +5 -1
  569. package/node_modules/enhanced-resolve/lib/util/identifier.js +4 -2
  570. package/node_modules/enhanced-resolve/lib/util/packageMap.js +224 -0
  571. package/node_modules/enhanced-resolve/lib/util/path.js +29 -8
  572. package/node_modules/enhanced-resolve/lib/util/pathToFileURL.js +87 -0
  573. package/node_modules/enhanced-resolve/package.json +8 -9
  574. package/node_modules/enhanced-resolve/types/AliasFieldPlugin.d.ts +41 -0
  575. package/node_modules/enhanced-resolve/types/AliasPlugin.d.ts +32 -0
  576. package/node_modules/enhanced-resolve/types/AliasUtils.d.ts +128 -0
  577. package/node_modules/enhanced-resolve/types/AppendPlugin.d.ts +27 -0
  578. package/node_modules/enhanced-resolve/types/CachedInputFileSystem.d.ts +224 -0
  579. package/node_modules/enhanced-resolve/types/CloneBasenamePlugin.d.ts +24 -0
  580. package/node_modules/enhanced-resolve/types/ConditionalPlugin.d.ts +33 -0
  581. package/node_modules/enhanced-resolve/types/DescriptionFilePlugin.d.ts +30 -0
  582. package/node_modules/enhanced-resolve/types/DescriptionFileUtils.d.ts +83 -0
  583. package/node_modules/enhanced-resolve/types/DirectoryExistsPlugin.d.ts +23 -0
  584. package/node_modules/enhanced-resolve/types/ExportsFieldPlugin.d.ts +45 -0
  585. package/node_modules/enhanced-resolve/types/ExtensionAliasPlugin.d.ts +31 -0
  586. package/node_modules/enhanced-resolve/types/FileExistsPlugin.d.ts +23 -0
  587. package/node_modules/enhanced-resolve/types/ImportsFieldPlugin.d.ts +45 -0
  588. package/node_modules/enhanced-resolve/types/JoinRequestPartPlugin.d.ts +24 -0
  589. package/node_modules/enhanced-resolve/types/JoinRequestPlugin.d.ts +24 -0
  590. package/node_modules/enhanced-resolve/types/LogInfoPlugin.d.ts +18 -0
  591. package/node_modules/enhanced-resolve/types/MainFieldPlugin.d.ts +41 -0
  592. package/node_modules/enhanced-resolve/types/ModulesInHierachicDirectoriesPlugin.d.ts +2 -0
  593. package/node_modules/enhanced-resolve/types/ModulesInHierarchicalDirectoriesPlugin.d.ts +26 -0
  594. package/node_modules/enhanced-resolve/types/ModulesInRootPlugin.d.ts +27 -0
  595. package/node_modules/enhanced-resolve/types/ModulesUtils.d.ts +25 -0
  596. package/node_modules/enhanced-resolve/types/NextPlugin.d.ts +23 -0
  597. package/node_modules/enhanced-resolve/types/PackageMapPlugin.d.ts +85 -0
  598. package/node_modules/enhanced-resolve/types/ParsePlugin.d.ts +27 -0
  599. package/node_modules/enhanced-resolve/types/PnpPlugin.d.ts +42 -0
  600. package/node_modules/enhanced-resolve/types/Resolver.d.ts +1545 -0
  601. package/node_modules/enhanced-resolve/types/ResolverFactory.d.ts +340 -0
  602. package/node_modules/enhanced-resolve/types/RestrictionsPlugin.d.ts +52 -0
  603. package/node_modules/enhanced-resolve/types/ResultPlugin.d.ts +18 -0
  604. package/node_modules/enhanced-resolve/types/RootsPlugin.d.ts +30 -0
  605. package/node_modules/enhanced-resolve/types/SelfReferencePlugin.d.ts +31 -0
  606. package/node_modules/enhanced-resolve/types/SymlinkPlugin.d.ts +24 -0
  607. package/node_modules/enhanced-resolve/types/SyncAsyncFileSystemDecorator.d.ts +52 -0
  608. package/node_modules/enhanced-resolve/types/TryNextPlugin.d.ts +26 -0
  609. package/node_modules/enhanced-resolve/types/TsconfigPathsPlugin.d.ts +204 -0
  610. package/node_modules/enhanced-resolve/types/UnsafeCachePlugin.d.ts +43 -0
  611. package/node_modules/enhanced-resolve/types/UseFilePlugin.d.ts +27 -0
  612. package/node_modules/enhanced-resolve/types/createInnerContext.d.ts +10 -0
  613. package/node_modules/enhanced-resolve/types/forEachBail.d.ts +15 -0
  614. package/node_modules/enhanced-resolve/types/getInnerRequest.d.ts +7 -0
  615. package/node_modules/enhanced-resolve/types/getPaths.d.ts +34 -0
  616. package/node_modules/enhanced-resolve/types/index.d.ts +131 -0
  617. package/node_modules/enhanced-resolve/types/util/entrypoints.d.ts +62 -0
  618. package/node_modules/enhanced-resolve/types/util/fileURLToPath.d.ts +14 -0
  619. package/node_modules/enhanced-resolve/types/util/fs.d.ts +38 -0
  620. package/node_modules/enhanced-resolve/types/util/graceful-fs-browser.d.ts +22 -0
  621. package/node_modules/enhanced-resolve/types/util/identifier.d.ts +7 -0
  622. package/node_modules/enhanced-resolve/types/util/memoize.d.ts +15 -0
  623. package/node_modules/enhanced-resolve/types/util/module-browser.d.ts +1 -0
  624. package/node_modules/enhanced-resolve/types/util/packageMap.d.ts +118 -0
  625. package/node_modules/enhanced-resolve/types/util/path-browser.d.ts +45 -0
  626. package/node_modules/enhanced-resolve/types/util/path.d.ts +125 -0
  627. package/node_modules/enhanced-resolve/types/util/pathToFileURL.d.ts +14 -0
  628. package/node_modules/enhanced-resolve/types/util/process-browser.d.ts +3 -0
  629. package/node_modules/enhanced-resolve/types/util/strip-json-comments.d.ts +24 -0
  630. package/node_modules/enhanced-resolve/types/util/url-browser.d.ts +1 -0
  631. package/node_modules/enhanced-resolve/types.d.ts +5 -2057
  632. package/node_modules/is-installed-globally/index.js +26 -4
  633. package/node_modules/is-installed-globally/package.json +1 -1
  634. package/package.json +12 -6
  635. package/plugins/swarm/references/scan.md +2 -0
  636. package/schema/zedbee.schema.json +146 -3
  637. package/node_modules/dependency-cruiser/node_modules/picomatch/README.md +0 -743
  638. package/node_modules/dependency-cruiser/node_modules/picomatch/index.js +0 -17
  639. package/node_modules/dependency-cruiser/node_modules/picomatch/lib/constants.js +0 -184
  640. package/node_modules/dependency-cruiser/node_modules/picomatch/lib/parse.js +0 -1416
  641. package/node_modules/dependency-cruiser/node_modules/picomatch/lib/picomatch.js +0 -361
  642. package/node_modules/dependency-cruiser/node_modules/picomatch/lib/scan.js +0 -391
  643. package/node_modules/dependency-cruiser/node_modules/picomatch/lib/utils.js +0 -72
  644. package/node_modules/dependency-cruiser/node_modules/picomatch/package.json +0 -83
  645. package/node_modules/dependency-cruiser/node_modules/picomatch/posix.js +0 -3
@@ -23,17 +23,17 @@ export declare const telemetryV1EventSchema: z.ZodObject<{
23
23
  }>;
24
24
  arch: z.ZodEnum<{
25
25
  other: "other";
26
- arm: "arm";
26
+ x64: "x64";
27
27
  arm64: "arm64";
28
28
  ia32: "ia32";
29
- x64: "x64";
29
+ arm: "arm";
30
30
  }>;
31
31
  node_major: z.ZodNumber;
32
32
  command: z.ZodEnum<{
33
33
  checks: "checks";
34
34
  fix: "fix";
35
- init: "init";
36
35
  scan: "scan";
36
+ init: "init";
37
37
  doctor: "doctor";
38
38
  }>;
39
39
  environment: z.ZodEnum<{
@@ -53,24 +53,24 @@ export declare const telemetryV1EventSchema: z.ZodObject<{
53
53
  generic: "generic";
54
54
  }>>;
55
55
  scan_mode: z.ZodOptional<z.ZodEnum<{
56
- staged: "staged";
57
56
  base: "base";
57
+ staged: "staged";
58
58
  }>>;
59
59
  output_format: z.ZodOptional<z.ZodEnum<{
60
- auto: "auto";
61
60
  json: "json";
62
- text: "text";
61
+ auto: "auto";
63
62
  ink: "ink";
63
+ text: "text";
64
64
  sarif: "sarif";
65
65
  }>>;
66
66
  outcome: z.ZodOptional<z.ZodEnum<{
67
- completed: "completed";
68
- incomplete: "incomplete";
69
67
  pass: "pass";
70
68
  blocked: "blocked";
69
+ incomplete: "incomplete";
70
+ completed: "completed";
71
+ cancelled: "cancelled";
71
72
  preview: "preview";
72
73
  applied: "applied";
73
- cancelled: "cancelled";
74
74
  }>>;
75
75
  duration_ms: z.ZodOptional<z.ZodNumber>;
76
76
  empty_input: z.ZodOptional<z.ZodBoolean>;
@@ -114,14 +114,14 @@ export declare const telemetryV1EventSchema: z.ZodObject<{
114
114
  thorough: "thorough";
115
115
  }>>;
116
116
  hook: z.ZodOptional<z.ZodEnum<{
117
+ custom: "custom";
117
118
  none: "none";
118
119
  auto: "auto";
119
- custom: "custom";
120
- raw: "raw";
121
- "simple-git-hooks": "simple-git-hooks";
122
120
  tracked: "tracked";
123
121
  husky: "husky";
124
122
  lefthook: "lefthook";
123
+ "simple-git-hooks": "simple-git-hooks";
124
+ raw: "raw";
125
125
  }>>;
126
126
  }, z.core.$strict>;
127
127
  export type TelemetryV1Event = z.infer<typeof telemetryV1EventSchema>;
@@ -153,8 +153,8 @@ export declare const findingGroupSchema: z.ZodObject<{
153
153
  export declare const scanDetailsSchema: z.ZodObject<{
154
154
  finding_breakdown_version: z.ZodLiteral<1>;
155
155
  finding_breakdown_status: z.ZodEnum<{
156
- truncated: "truncated";
157
156
  complete: "complete";
157
+ truncated: "truncated";
158
158
  unavailable: "unavailable";
159
159
  }>;
160
160
  finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -202,14 +202,14 @@ export declare const scanDetailsSchema: z.ZodObject<{
202
202
  ai_detection_version: z.ZodLiteral<1>;
203
203
  caller_ai_tool: z.ZodEnum<{
204
204
  unknown: "unknown";
205
- codex: "codex";
206
205
  claude_code: "claude_code";
206
+ codex: "codex";
207
207
  cursor: "cursor";
208
208
  ambiguous: "ambiguous";
209
209
  }>;
210
210
  caller_ai_tool_candidates: z.ZodArray<z.ZodEnum<{
211
- codex: "codex";
212
211
  claude_code: "claude_code";
212
+ codex: "codex";
213
213
  cursor: "cursor";
214
214
  }>>;
215
215
  caller_ai_tool_source: z.ZodEnum<{
@@ -217,8 +217,8 @@ export declare const scanDetailsSchema: z.ZodObject<{
217
217
  environment_hint: "environment_hint";
218
218
  }>;
219
219
  detected_ai_tools: z.ZodArray<z.ZodEnum<{
220
- codex: "codex";
221
220
  claude_code: "claude_code";
221
+ codex: "codex";
222
222
  cursor: "cursor";
223
223
  }>>;
224
224
  generic_agent_instructions_detected: z.ZodBoolean;
@@ -231,6 +231,101 @@ export declare const scanDetailsSchema: z.ZodObject<{
231
231
  export type ScanDetails = z.infer<typeof scanDetailsSchema>;
232
232
  export type FindingGroup = z.infer<typeof findingGroupSchema>;
233
233
  export declare const SCAN_DETAIL_KEYS: (keyof ScanDetails)[];
234
+ export declare const INCOMPLETE_CODES: readonly ["other", "SECRET_FILE_TOO_LARGE", "SECRET_FILE_INVALID_UTF8", "SECRET_FILE_UNSAFE", "SECRETLINT_ANALYSIS_FAILED", "TYPED_LINT_PROJECT_MISMATCH", "TYPESCRIPT_PROJECT_MISMATCH", "ADAPTER_RESULT_INVALID", "CHECK_DISPATCH_FAILED", "SNAPSHOT_CLEANUP_FAILED", "COMPLEXITY_FILE_ANALYSIS_FAILED", "STRUCTURAL_SECURITY_PARSE_FAILED", "ANALYZER_SERVICE_UNAVAILABLE"];
235
+ export declare const performanceTelemetrySchema: z.ZodObject<{
236
+ performance_version: z.ZodLiteral<1>;
237
+ performance_status: z.ZodEnum<{
238
+ partial: "partial";
239
+ complete: "complete";
240
+ unavailable: "unavailable";
241
+ }>;
242
+ changed_file_count_bucket: z.ZodEnum<{
243
+ 0: "0";
244
+ 1: "1";
245
+ unknown: "unknown";
246
+ "2-5": "2-5";
247
+ "6-20": "6-20";
248
+ "21-100": "21-100";
249
+ "101+": "101+";
250
+ }>;
251
+ change_category: z.ZodEnum<{
252
+ unknown: "unknown";
253
+ source: "source";
254
+ non_source: "non_source";
255
+ configuration_or_dependency: "configuration_or_dependency";
256
+ mixed: "mixed";
257
+ }>;
258
+ execution_mode: z.ZodEnum<{
259
+ unknown: "unknown";
260
+ none: "none";
261
+ local: "local";
262
+ service: "service";
263
+ }>;
264
+ worker_count: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
265
+ check_performance: z.ZodArray<z.ZodObject<{
266
+ check_id: z.ZodEnum<{
267
+ formatting: "formatting";
268
+ lint: "lint";
269
+ types: "types";
270
+ cyclomaticComplexity: "cyclomaticComplexity";
271
+ readabilityComplexity: "readabilityComplexity";
272
+ structuralSecurity: "structuralSecurity";
273
+ secrets: "secrets";
274
+ duplication: "duplication";
275
+ dependencyArchitecture: "dependencyArchitecture";
276
+ deadCode: "deadCode";
277
+ reactCorrectness: "reactCorrectness";
278
+ reactAccessibility: "reactAccessibility";
279
+ vulnerabilities: "vulnerabilities";
280
+ }>;
281
+ task_count: z.ZodNumber;
282
+ elapsed_sum_ms: z.ZodNumber;
283
+ elapsed_max_ms: z.ZodNumber;
284
+ queue_sum_ms: z.ZodOptional<z.ZodNumber>;
285
+ queue_max_ms: z.ZodOptional<z.ZodNumber>;
286
+ worker_sum_ms: z.ZodOptional<z.ZodNumber>;
287
+ worker_max_ms: z.ZodOptional<z.ZodNumber>;
288
+ cache_hits: z.ZodNumber;
289
+ cache_misses: z.ZodNumber;
290
+ cache_bypasses: z.ZodNumber;
291
+ }, z.core.$strict>>;
292
+ incomplete_reasons: z.ZodArray<z.ZodObject<{
293
+ check_id: z.ZodEnum<{
294
+ formatting: "formatting";
295
+ lint: "lint";
296
+ types: "types";
297
+ cyclomaticComplexity: "cyclomaticComplexity";
298
+ readabilityComplexity: "readabilityComplexity";
299
+ structuralSecurity: "structuralSecurity";
300
+ secrets: "secrets";
301
+ duplication: "duplication";
302
+ dependencyArchitecture: "dependencyArchitecture";
303
+ deadCode: "deadCode";
304
+ reactCorrectness: "reactCorrectness";
305
+ reactAccessibility: "reactAccessibility";
306
+ vulnerabilities: "vulnerabilities";
307
+ zedbee: "zedbee";
308
+ }>;
309
+ code: z.ZodEnum<{
310
+ other: "other";
311
+ SECRET_FILE_TOO_LARGE: "SECRET_FILE_TOO_LARGE";
312
+ SECRET_FILE_INVALID_UTF8: "SECRET_FILE_INVALID_UTF8";
313
+ SECRET_FILE_UNSAFE: "SECRET_FILE_UNSAFE";
314
+ SECRETLINT_ANALYSIS_FAILED: "SECRETLINT_ANALYSIS_FAILED";
315
+ TYPED_LINT_PROJECT_MISMATCH: "TYPED_LINT_PROJECT_MISMATCH";
316
+ TYPESCRIPT_PROJECT_MISMATCH: "TYPESCRIPT_PROJECT_MISMATCH";
317
+ ADAPTER_RESULT_INVALID: "ADAPTER_RESULT_INVALID";
318
+ CHECK_DISPATCH_FAILED: "CHECK_DISPATCH_FAILED";
319
+ SNAPSHOT_CLEANUP_FAILED: "SNAPSHOT_CLEANUP_FAILED";
320
+ COMPLEXITY_FILE_ANALYSIS_FAILED: "COMPLEXITY_FILE_ANALYSIS_FAILED";
321
+ STRUCTURAL_SECURITY_PARSE_FAILED: "STRUCTURAL_SECURITY_PARSE_FAILED";
322
+ ANALYZER_SERVICE_UNAVAILABLE: "ANALYZER_SERVICE_UNAVAILABLE";
323
+ }>;
324
+ count: z.ZodNumber;
325
+ }, z.core.$strict>>;
326
+ incomplete_reasons_omitted: z.ZodNumber;
327
+ }, z.core.$strict>;
328
+ export type ScanPerformanceTelemetry = z.infer<typeof performanceTelemetrySchema>;
234
329
  export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
235
330
  schema_version: z.ZodLiteral<1>;
236
331
  event: z.ZodEnum<{
@@ -252,17 +347,17 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
252
347
  }>;
253
348
  arch: z.ZodEnum<{
254
349
  other: "other";
255
- arm: "arm";
350
+ x64: "x64";
256
351
  arm64: "arm64";
257
352
  ia32: "ia32";
258
- x64: "x64";
353
+ arm: "arm";
259
354
  }>;
260
355
  node_major: z.ZodNumber;
261
356
  command: z.ZodEnum<{
262
357
  checks: "checks";
263
358
  fix: "fix";
264
- init: "init";
265
359
  scan: "scan";
360
+ init: "init";
266
361
  doctor: "doctor";
267
362
  }>;
268
363
  environment: z.ZodEnum<{
@@ -282,24 +377,24 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
282
377
  generic: "generic";
283
378
  }>>;
284
379
  scan_mode: z.ZodOptional<z.ZodEnum<{
285
- staged: "staged";
286
380
  base: "base";
381
+ staged: "staged";
287
382
  }>>;
288
383
  output_format: z.ZodOptional<z.ZodEnum<{
289
- auto: "auto";
290
384
  json: "json";
291
- text: "text";
385
+ auto: "auto";
292
386
  ink: "ink";
387
+ text: "text";
293
388
  sarif: "sarif";
294
389
  }>>;
295
390
  outcome: z.ZodOptional<z.ZodEnum<{
296
- completed: "completed";
297
- incomplete: "incomplete";
298
391
  pass: "pass";
299
392
  blocked: "blocked";
393
+ incomplete: "incomplete";
394
+ completed: "completed";
395
+ cancelled: "cancelled";
300
396
  preview: "preview";
301
397
  applied: "applied";
302
- cancelled: "cancelled";
303
398
  }>>;
304
399
  duration_ms: z.ZodOptional<z.ZodNumber>;
305
400
  empty_input: z.ZodOptional<z.ZodBoolean>;
@@ -343,14 +438,14 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
343
438
  thorough: "thorough";
344
439
  }>>;
345
440
  hook: z.ZodOptional<z.ZodEnum<{
441
+ custom: "custom";
346
442
  none: "none";
347
443
  auto: "auto";
348
- custom: "custom";
349
- raw: "raw";
350
- "simple-git-hooks": "simple-git-hooks";
351
444
  tracked: "tracked";
352
445
  husky: "husky";
353
446
  lefthook: "lefthook";
447
+ "simple-git-hooks": "simple-git-hooks";
448
+ raw: "raw";
354
449
  }>>;
355
450
  }, z.core.$strict>, z.ZodObject<{
356
451
  schema_version: z.ZodLiteral<2>;
@@ -358,8 +453,8 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
358
453
  command: z.ZodLiteral<"scan">;
359
454
  finding_breakdown_version: z.ZodLiteral<1>;
360
455
  finding_breakdown_status: z.ZodEnum<{
361
- truncated: "truncated";
362
456
  complete: "complete";
457
+ truncated: "truncated";
363
458
  unavailable: "unavailable";
364
459
  }>;
365
460
  finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -407,14 +502,14 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
407
502
  ai_detection_version: z.ZodLiteral<1>;
408
503
  caller_ai_tool: z.ZodEnum<{
409
504
  unknown: "unknown";
410
- codex: "codex";
411
505
  claude_code: "claude_code";
506
+ codex: "codex";
412
507
  cursor: "cursor";
413
508
  ambiguous: "ambiguous";
414
509
  }>;
415
510
  caller_ai_tool_candidates: z.ZodArray<z.ZodEnum<{
416
- codex: "codex";
417
511
  claude_code: "claude_code";
512
+ codex: "codex";
418
513
  cursor: "cursor";
419
514
  }>>;
420
515
  caller_ai_tool_source: z.ZodEnum<{
@@ -422,8 +517,8 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
422
517
  environment_hint: "environment_hint";
423
518
  }>;
424
519
  detected_ai_tools: z.ZodArray<z.ZodEnum<{
425
- codex: "codex";
426
520
  claude_code: "claude_code";
521
+ codex: "codex";
427
522
  cursor: "cursor";
428
523
  }>>;
429
524
  generic_agent_instructions_detected: z.ZodBoolean;
@@ -444,10 +539,10 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
444
539
  }>;
445
540
  arch: z.ZodEnum<{
446
541
  other: "other";
447
- arm: "arm";
542
+ x64: "x64";
448
543
  arm64: "arm64";
449
544
  ia32: "ia32";
450
- x64: "x64";
545
+ arm: "arm";
451
546
  }>;
452
547
  node_major: z.ZodNumber;
453
548
  environment: z.ZodEnum<{
@@ -467,24 +562,24 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
467
562
  generic: "generic";
468
563
  }>>;
469
564
  scan_mode: z.ZodOptional<z.ZodEnum<{
470
- staged: "staged";
471
565
  base: "base";
566
+ staged: "staged";
472
567
  }>>;
473
568
  output_format: z.ZodOptional<z.ZodEnum<{
474
- auto: "auto";
475
569
  json: "json";
476
- text: "text";
570
+ auto: "auto";
477
571
  ink: "ink";
572
+ text: "text";
478
573
  sarif: "sarif";
479
574
  }>>;
480
575
  outcome: z.ZodOptional<z.ZodEnum<{
481
- completed: "completed";
482
- incomplete: "incomplete";
483
576
  pass: "pass";
484
577
  blocked: "blocked";
578
+ incomplete: "incomplete";
579
+ completed: "completed";
580
+ cancelled: "cancelled";
485
581
  preview: "preview";
486
582
  applied: "applied";
487
- cancelled: "cancelled";
488
583
  }>>;
489
584
  duration_ms: z.ZodOptional<z.ZodNumber>;
490
585
  empty_input: z.ZodOptional<z.ZodBoolean>;
@@ -528,92 +623,48 @@ export declare const telemetryEventSchema: z.ZodUnion<readonly [z.ZodObject<{
528
623
  thorough: "thorough";
529
624
  }>>;
530
625
  hook: z.ZodOptional<z.ZodEnum<{
626
+ custom: "custom";
531
627
  none: "none";
532
628
  auto: "auto";
533
- custom: "custom";
534
- raw: "raw";
535
- "simple-git-hooks": "simple-git-hooks";
536
629
  tracked: "tracked";
537
630
  husky: "husky";
538
631
  lefthook: "lefthook";
632
+ "simple-git-hooks": "simple-git-hooks";
633
+ raw: "raw";
539
634
  }>>;
540
- }, z.core.$strict>]>;
541
- export type TelemetryEvent = z.infer<typeof telemetryEventSchema>;
542
- export type TelemetryCommand = (typeof TELEMETRY_COMMANDS)[number];
543
- export declare const telemetryBatchSchema: z.ZodObject<{
544
- events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
545
- schema_version: z.ZodLiteral<1>;
546
- event: z.ZodEnum<{
547
- scan_started: "scan_started";
548
- scan_finished: "scan_finished";
549
- fix_finished: "fix_finished";
550
- setup_finished: "setup_finished";
551
- command_finished: "command_finished";
552
- }>;
553
- event_id: z.ZodString;
554
- run_id: z.ZodString;
555
- timestamp: z.ZodString;
556
- version: z.ZodString;
557
- os: z.ZodEnum<{
558
- darwin: "darwin";
559
- linux: "linux";
560
- win32: "win32";
561
- other: "other";
562
- }>;
563
- arch: z.ZodEnum<{
564
- other: "other";
565
- arm: "arm";
566
- arm64: "arm64";
567
- ia32: "ia32";
568
- x64: "x64";
569
- }>;
570
- node_major: z.ZodNumber;
571
- command: z.ZodEnum<{
572
- checks: "checks";
573
- fix: "fix";
574
- init: "init";
575
- scan: "scan";
576
- doctor: "doctor";
577
- }>;
578
- environment: z.ZodEnum<{
579
- ci: "ci";
580
- ci_not_detected: "ci_not_detected";
581
- }>;
582
- invocation_source: z.ZodEnum<{
583
- git_hook: "git_hook";
584
- unspecified: "unspecified";
585
- }>;
586
- installation_id: z.ZodOptional<z.ZodString>;
587
- ci_execution_id: z.ZodOptional<z.ZodString>;
588
- ci_provider: z.ZodOptional<z.ZodEnum<{
589
- unknown: "unknown";
590
- github_actions: "github_actions";
591
- gitlab_ci: "gitlab_ci";
592
- generic: "generic";
593
- }>>;
594
- scan_mode: z.ZodOptional<z.ZodEnum<{
595
- staged: "staged";
596
- base: "base";
597
- }>>;
598
- output_format: z.ZodOptional<z.ZodEnum<{
599
- auto: "auto";
600
- json: "json";
601
- text: "text";
602
- ink: "ink";
603
- sarif: "sarif";
604
- }>>;
605
- outcome: z.ZodOptional<z.ZodEnum<{
606
- completed: "completed";
607
- incomplete: "incomplete";
608
- pass: "pass";
609
- blocked: "blocked";
610
- preview: "preview";
611
- applied: "applied";
612
- cancelled: "cancelled";
613
- }>>;
614
- duration_ms: z.ZodOptional<z.ZodNumber>;
615
- empty_input: z.ZodOptional<z.ZodBoolean>;
616
- check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
635
+ }, z.core.$strict>, z.ZodObject<{
636
+ schema_version: z.ZodLiteral<3>;
637
+ performance_version: z.ZodLiteral<1>;
638
+ performance_status: z.ZodEnum<{
639
+ partial: "partial";
640
+ complete: "complete";
641
+ unavailable: "unavailable";
642
+ }>;
643
+ changed_file_count_bucket: z.ZodEnum<{
644
+ 0: "0";
645
+ 1: "1";
646
+ unknown: "unknown";
647
+ "2-5": "2-5";
648
+ "6-20": "6-20";
649
+ "21-100": "21-100";
650
+ "101+": "101+";
651
+ }>;
652
+ change_category: z.ZodEnum<{
653
+ unknown: "unknown";
654
+ source: "source";
655
+ non_source: "non_source";
656
+ configuration_or_dependency: "configuration_or_dependency";
657
+ mixed: "mixed";
658
+ }>;
659
+ execution_mode: z.ZodEnum<{
660
+ unknown: "unknown";
661
+ none: "none";
662
+ local: "local";
663
+ service: "service";
664
+ }>;
665
+ worker_count: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
666
+ check_performance: z.ZodArray<z.ZodObject<{
667
+ check_id: z.ZodEnum<{
617
668
  formatting: "formatting";
618
669
  lint: "lint";
619
670
  types: "types";
@@ -627,8 +678,20 @@ export declare const telemetryBatchSchema: z.ZodObject<{
627
678
  reactCorrectness: "reactCorrectness";
628
679
  reactAccessibility: "reactAccessibility";
629
680
  vulnerabilities: "vulnerabilities";
630
- }>>>;
631
- enabled_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
681
+ }>;
682
+ task_count: z.ZodNumber;
683
+ elapsed_sum_ms: z.ZodNumber;
684
+ elapsed_max_ms: z.ZodNumber;
685
+ queue_sum_ms: z.ZodOptional<z.ZodNumber>;
686
+ queue_max_ms: z.ZodOptional<z.ZodNumber>;
687
+ worker_sum_ms: z.ZodOptional<z.ZodNumber>;
688
+ worker_max_ms: z.ZodOptional<z.ZodNumber>;
689
+ cache_hits: z.ZodNumber;
690
+ cache_misses: z.ZodNumber;
691
+ cache_bypasses: z.ZodNumber;
692
+ }, z.core.$strict>>;
693
+ incomplete_reasons: z.ZodArray<z.ZodObject<{
694
+ check_id: z.ZodEnum<{
632
695
  formatting: "formatting";
633
696
  lint: "lint";
634
697
  types: "types";
@@ -642,38 +705,346 @@ export declare const telemetryBatchSchema: z.ZodObject<{
642
705
  reactCorrectness: "reactCorrectness";
643
706
  reactAccessibility: "reactAccessibility";
644
707
  vulnerabilities: "vulnerabilities";
645
- }>>>;
646
- finding_count: z.ZodOptional<z.ZodNumber>;
647
- applied_count: z.ZodOptional<z.ZodNumber>;
648
- skipped_count: z.ZodOptional<z.ZodNumber>;
649
- profile: z.ZodOptional<z.ZodEnum<{
650
- custom: "custom";
651
- fast: "fast";
652
- recommended: "recommended";
653
- thorough: "thorough";
654
- }>>;
655
- hook: z.ZodOptional<z.ZodEnum<{
656
- none: "none";
657
- auto: "auto";
658
- custom: "custom";
659
- raw: "raw";
660
- "simple-git-hooks": "simple-git-hooks";
661
- tracked: "tracked";
662
- husky: "husky";
663
- lefthook: "lefthook";
664
- }>>;
665
- }, z.core.$strict>, z.ZodObject<{
666
- schema_version: z.ZodLiteral<2>;
667
- event: z.ZodLiteral<"scan_finished">;
668
- command: z.ZodLiteral<"scan">;
669
- finding_breakdown_version: z.ZodLiteral<1>;
670
- finding_breakdown_status: z.ZodEnum<{
671
- truncated: "truncated";
672
- complete: "complete";
673
- unavailable: "unavailable";
708
+ zedbee: "zedbee";
674
709
  }>;
675
- finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
676
- check_id: z.ZodEnum<{
710
+ code: z.ZodEnum<{
711
+ other: "other";
712
+ SECRET_FILE_TOO_LARGE: "SECRET_FILE_TOO_LARGE";
713
+ SECRET_FILE_INVALID_UTF8: "SECRET_FILE_INVALID_UTF8";
714
+ SECRET_FILE_UNSAFE: "SECRET_FILE_UNSAFE";
715
+ SECRETLINT_ANALYSIS_FAILED: "SECRETLINT_ANALYSIS_FAILED";
716
+ TYPED_LINT_PROJECT_MISMATCH: "TYPED_LINT_PROJECT_MISMATCH";
717
+ TYPESCRIPT_PROJECT_MISMATCH: "TYPESCRIPT_PROJECT_MISMATCH";
718
+ ADAPTER_RESULT_INVALID: "ADAPTER_RESULT_INVALID";
719
+ CHECK_DISPATCH_FAILED: "CHECK_DISPATCH_FAILED";
720
+ SNAPSHOT_CLEANUP_FAILED: "SNAPSHOT_CLEANUP_FAILED";
721
+ COMPLEXITY_FILE_ANALYSIS_FAILED: "COMPLEXITY_FILE_ANALYSIS_FAILED";
722
+ STRUCTURAL_SECURITY_PARSE_FAILED: "STRUCTURAL_SECURITY_PARSE_FAILED";
723
+ ANALYZER_SERVICE_UNAVAILABLE: "ANALYZER_SERVICE_UNAVAILABLE";
724
+ }>;
725
+ count: z.ZodNumber;
726
+ }, z.core.$strict>>;
727
+ incomplete_reasons_omitted: z.ZodNumber;
728
+ event: z.ZodLiteral<"scan_finished">;
729
+ command: z.ZodLiteral<"scan">;
730
+ finding_breakdown_version: z.ZodLiteral<1>;
731
+ finding_breakdown_status: z.ZodEnum<{
732
+ complete: "complete";
733
+ truncated: "truncated";
734
+ unavailable: "unavailable";
735
+ }>;
736
+ finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
737
+ check_id: z.ZodEnum<{
738
+ formatting: "formatting";
739
+ lint: "lint";
740
+ types: "types";
741
+ cyclomaticComplexity: "cyclomaticComplexity";
742
+ readabilityComplexity: "readabilityComplexity";
743
+ structuralSecurity: "structuralSecurity";
744
+ secrets: "secrets";
745
+ duplication: "duplication";
746
+ dependencyArchitecture: "dependencyArchitecture";
747
+ deadCode: "deadCode";
748
+ reactCorrectness: "reactCorrectness";
749
+ reactAccessibility: "reactAccessibility";
750
+ vulnerabilities: "vulnerabilities";
751
+ }>;
752
+ rule_id: z.ZodString;
753
+ severity: z.ZodEnum<{
754
+ error: "error";
755
+ info: "info";
756
+ warning: "warning";
757
+ }>;
758
+ count: z.ZodNumber;
759
+ }, z.core.$strict>>>;
760
+ finding_unmapped_count: z.ZodOptional<z.ZodNumber>;
761
+ finding_omitted_count: z.ZodOptional<z.ZodNumber>;
762
+ finding_counts_clipped: z.ZodOptional<z.ZodBoolean>;
763
+ completed_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
764
+ formatting: "formatting";
765
+ lint: "lint";
766
+ types: "types";
767
+ cyclomaticComplexity: "cyclomaticComplexity";
768
+ readabilityComplexity: "readabilityComplexity";
769
+ structuralSecurity: "structuralSecurity";
770
+ secrets: "secrets";
771
+ duplication: "duplication";
772
+ dependencyArchitecture: "dependencyArchitecture";
773
+ deadCode: "deadCode";
774
+ reactCorrectness: "reactCorrectness";
775
+ reactAccessibility: "reactAccessibility";
776
+ vulnerabilities: "vulnerabilities";
777
+ }>>>;
778
+ ai_detection_version: z.ZodLiteral<1>;
779
+ caller_ai_tool: z.ZodEnum<{
780
+ unknown: "unknown";
781
+ claude_code: "claude_code";
782
+ codex: "codex";
783
+ cursor: "cursor";
784
+ ambiguous: "ambiguous";
785
+ }>;
786
+ caller_ai_tool_candidates: z.ZodArray<z.ZodEnum<{
787
+ claude_code: "claude_code";
788
+ codex: "codex";
789
+ cursor: "cursor";
790
+ }>>;
791
+ caller_ai_tool_source: z.ZodEnum<{
792
+ none: "none";
793
+ environment_hint: "environment_hint";
794
+ }>;
795
+ detected_ai_tools: z.ZodArray<z.ZodEnum<{
796
+ claude_code: "claude_code";
797
+ codex: "codex";
798
+ cursor: "cursor";
799
+ }>>;
800
+ generic_agent_instructions_detected: z.ZodBoolean;
801
+ repo_ai_detection_status: z.ZodEnum<{
802
+ partial: "partial";
803
+ complete: "complete";
804
+ unavailable: "unavailable";
805
+ }>;
806
+ event_id: z.ZodString;
807
+ run_id: z.ZodString;
808
+ timestamp: z.ZodString;
809
+ version: z.ZodString;
810
+ os: z.ZodEnum<{
811
+ darwin: "darwin";
812
+ linux: "linux";
813
+ win32: "win32";
814
+ other: "other";
815
+ }>;
816
+ arch: z.ZodEnum<{
817
+ other: "other";
818
+ x64: "x64";
819
+ arm64: "arm64";
820
+ ia32: "ia32";
821
+ arm: "arm";
822
+ }>;
823
+ node_major: z.ZodNumber;
824
+ environment: z.ZodEnum<{
825
+ ci: "ci";
826
+ ci_not_detected: "ci_not_detected";
827
+ }>;
828
+ invocation_source: z.ZodEnum<{
829
+ git_hook: "git_hook";
830
+ unspecified: "unspecified";
831
+ }>;
832
+ installation_id: z.ZodOptional<z.ZodString>;
833
+ ci_execution_id: z.ZodOptional<z.ZodString>;
834
+ ci_provider: z.ZodOptional<z.ZodEnum<{
835
+ unknown: "unknown";
836
+ github_actions: "github_actions";
837
+ gitlab_ci: "gitlab_ci";
838
+ generic: "generic";
839
+ }>>;
840
+ scan_mode: z.ZodOptional<z.ZodEnum<{
841
+ base: "base";
842
+ staged: "staged";
843
+ }>>;
844
+ output_format: z.ZodOptional<z.ZodEnum<{
845
+ json: "json";
846
+ auto: "auto";
847
+ ink: "ink";
848
+ text: "text";
849
+ sarif: "sarif";
850
+ }>>;
851
+ outcome: z.ZodOptional<z.ZodEnum<{
852
+ pass: "pass";
853
+ blocked: "blocked";
854
+ incomplete: "incomplete";
855
+ completed: "completed";
856
+ cancelled: "cancelled";
857
+ preview: "preview";
858
+ applied: "applied";
859
+ }>>;
860
+ duration_ms: z.ZodOptional<z.ZodNumber>;
861
+ empty_input: z.ZodOptional<z.ZodBoolean>;
862
+ check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
863
+ formatting: "formatting";
864
+ lint: "lint";
865
+ types: "types";
866
+ cyclomaticComplexity: "cyclomaticComplexity";
867
+ readabilityComplexity: "readabilityComplexity";
868
+ structuralSecurity: "structuralSecurity";
869
+ secrets: "secrets";
870
+ duplication: "duplication";
871
+ dependencyArchitecture: "dependencyArchitecture";
872
+ deadCode: "deadCode";
873
+ reactCorrectness: "reactCorrectness";
874
+ reactAccessibility: "reactAccessibility";
875
+ vulnerabilities: "vulnerabilities";
876
+ }>>>;
877
+ enabled_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
878
+ formatting: "formatting";
879
+ lint: "lint";
880
+ types: "types";
881
+ cyclomaticComplexity: "cyclomaticComplexity";
882
+ readabilityComplexity: "readabilityComplexity";
883
+ structuralSecurity: "structuralSecurity";
884
+ secrets: "secrets";
885
+ duplication: "duplication";
886
+ dependencyArchitecture: "dependencyArchitecture";
887
+ deadCode: "deadCode";
888
+ reactCorrectness: "reactCorrectness";
889
+ reactAccessibility: "reactAccessibility";
890
+ vulnerabilities: "vulnerabilities";
891
+ }>>>;
892
+ finding_count: z.ZodOptional<z.ZodNumber>;
893
+ applied_count: z.ZodOptional<z.ZodNumber>;
894
+ skipped_count: z.ZodOptional<z.ZodNumber>;
895
+ profile: z.ZodOptional<z.ZodEnum<{
896
+ custom: "custom";
897
+ fast: "fast";
898
+ recommended: "recommended";
899
+ thorough: "thorough";
900
+ }>>;
901
+ hook: z.ZodOptional<z.ZodEnum<{
902
+ custom: "custom";
903
+ none: "none";
904
+ auto: "auto";
905
+ tracked: "tracked";
906
+ husky: "husky";
907
+ lefthook: "lefthook";
908
+ "simple-git-hooks": "simple-git-hooks";
909
+ raw: "raw";
910
+ }>>;
911
+ }, z.core.$strict>]>;
912
+ export type TelemetryEvent = z.infer<typeof telemetryEventSchema>;
913
+ export type TelemetryCommand = (typeof TELEMETRY_COMMANDS)[number];
914
+ export declare const telemetryBatchSchema: z.ZodObject<{
915
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
916
+ schema_version: z.ZodLiteral<1>;
917
+ event: z.ZodEnum<{
918
+ scan_started: "scan_started";
919
+ scan_finished: "scan_finished";
920
+ fix_finished: "fix_finished";
921
+ setup_finished: "setup_finished";
922
+ command_finished: "command_finished";
923
+ }>;
924
+ event_id: z.ZodString;
925
+ run_id: z.ZodString;
926
+ timestamp: z.ZodString;
927
+ version: z.ZodString;
928
+ os: z.ZodEnum<{
929
+ darwin: "darwin";
930
+ linux: "linux";
931
+ win32: "win32";
932
+ other: "other";
933
+ }>;
934
+ arch: z.ZodEnum<{
935
+ other: "other";
936
+ x64: "x64";
937
+ arm64: "arm64";
938
+ ia32: "ia32";
939
+ arm: "arm";
940
+ }>;
941
+ node_major: z.ZodNumber;
942
+ command: z.ZodEnum<{
943
+ checks: "checks";
944
+ fix: "fix";
945
+ scan: "scan";
946
+ init: "init";
947
+ doctor: "doctor";
948
+ }>;
949
+ environment: z.ZodEnum<{
950
+ ci: "ci";
951
+ ci_not_detected: "ci_not_detected";
952
+ }>;
953
+ invocation_source: z.ZodEnum<{
954
+ git_hook: "git_hook";
955
+ unspecified: "unspecified";
956
+ }>;
957
+ installation_id: z.ZodOptional<z.ZodString>;
958
+ ci_execution_id: z.ZodOptional<z.ZodString>;
959
+ ci_provider: z.ZodOptional<z.ZodEnum<{
960
+ unknown: "unknown";
961
+ github_actions: "github_actions";
962
+ gitlab_ci: "gitlab_ci";
963
+ generic: "generic";
964
+ }>>;
965
+ scan_mode: z.ZodOptional<z.ZodEnum<{
966
+ base: "base";
967
+ staged: "staged";
968
+ }>>;
969
+ output_format: z.ZodOptional<z.ZodEnum<{
970
+ json: "json";
971
+ auto: "auto";
972
+ ink: "ink";
973
+ text: "text";
974
+ sarif: "sarif";
975
+ }>>;
976
+ outcome: z.ZodOptional<z.ZodEnum<{
977
+ pass: "pass";
978
+ blocked: "blocked";
979
+ incomplete: "incomplete";
980
+ completed: "completed";
981
+ cancelled: "cancelled";
982
+ preview: "preview";
983
+ applied: "applied";
984
+ }>>;
985
+ duration_ms: z.ZodOptional<z.ZodNumber>;
986
+ empty_input: z.ZodOptional<z.ZodBoolean>;
987
+ check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
988
+ formatting: "formatting";
989
+ lint: "lint";
990
+ types: "types";
991
+ cyclomaticComplexity: "cyclomaticComplexity";
992
+ readabilityComplexity: "readabilityComplexity";
993
+ structuralSecurity: "structuralSecurity";
994
+ secrets: "secrets";
995
+ duplication: "duplication";
996
+ dependencyArchitecture: "dependencyArchitecture";
997
+ deadCode: "deadCode";
998
+ reactCorrectness: "reactCorrectness";
999
+ reactAccessibility: "reactAccessibility";
1000
+ vulnerabilities: "vulnerabilities";
1001
+ }>>>;
1002
+ enabled_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1003
+ formatting: "formatting";
1004
+ lint: "lint";
1005
+ types: "types";
1006
+ cyclomaticComplexity: "cyclomaticComplexity";
1007
+ readabilityComplexity: "readabilityComplexity";
1008
+ structuralSecurity: "structuralSecurity";
1009
+ secrets: "secrets";
1010
+ duplication: "duplication";
1011
+ dependencyArchitecture: "dependencyArchitecture";
1012
+ deadCode: "deadCode";
1013
+ reactCorrectness: "reactCorrectness";
1014
+ reactAccessibility: "reactAccessibility";
1015
+ vulnerabilities: "vulnerabilities";
1016
+ }>>>;
1017
+ finding_count: z.ZodOptional<z.ZodNumber>;
1018
+ applied_count: z.ZodOptional<z.ZodNumber>;
1019
+ skipped_count: z.ZodOptional<z.ZodNumber>;
1020
+ profile: z.ZodOptional<z.ZodEnum<{
1021
+ custom: "custom";
1022
+ fast: "fast";
1023
+ recommended: "recommended";
1024
+ thorough: "thorough";
1025
+ }>>;
1026
+ hook: z.ZodOptional<z.ZodEnum<{
1027
+ custom: "custom";
1028
+ none: "none";
1029
+ auto: "auto";
1030
+ tracked: "tracked";
1031
+ husky: "husky";
1032
+ lefthook: "lefthook";
1033
+ "simple-git-hooks": "simple-git-hooks";
1034
+ raw: "raw";
1035
+ }>>;
1036
+ }, z.core.$strict>, z.ZodObject<{
1037
+ schema_version: z.ZodLiteral<2>;
1038
+ event: z.ZodLiteral<"scan_finished">;
1039
+ command: z.ZodLiteral<"scan">;
1040
+ finding_breakdown_version: z.ZodLiteral<1>;
1041
+ finding_breakdown_status: z.ZodEnum<{
1042
+ complete: "complete";
1043
+ truncated: "truncated";
1044
+ unavailable: "unavailable";
1045
+ }>;
1046
+ finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
1047
+ check_id: z.ZodEnum<{
677
1048
  formatting: "formatting";
678
1049
  lint: "lint";
679
1050
  types: "types";
@@ -717,14 +1088,14 @@ export declare const telemetryBatchSchema: z.ZodObject<{
717
1088
  ai_detection_version: z.ZodLiteral<1>;
718
1089
  caller_ai_tool: z.ZodEnum<{
719
1090
  unknown: "unknown";
720
- codex: "codex";
721
1091
  claude_code: "claude_code";
1092
+ codex: "codex";
722
1093
  cursor: "cursor";
723
1094
  ambiguous: "ambiguous";
724
1095
  }>;
725
1096
  caller_ai_tool_candidates: z.ZodArray<z.ZodEnum<{
726
- codex: "codex";
727
1097
  claude_code: "claude_code";
1098
+ codex: "codex";
728
1099
  cursor: "cursor";
729
1100
  }>>;
730
1101
  caller_ai_tool_source: z.ZodEnum<{
@@ -732,8 +1103,8 @@ export declare const telemetryBatchSchema: z.ZodObject<{
732
1103
  environment_hint: "environment_hint";
733
1104
  }>;
734
1105
  detected_ai_tools: z.ZodArray<z.ZodEnum<{
735
- codex: "codex";
736
1106
  claude_code: "claude_code";
1107
+ codex: "codex";
737
1108
  cursor: "cursor";
738
1109
  }>>;
739
1110
  generic_agent_instructions_detected: z.ZodBoolean;
@@ -754,10 +1125,10 @@ export declare const telemetryBatchSchema: z.ZodObject<{
754
1125
  }>;
755
1126
  arch: z.ZodEnum<{
756
1127
  other: "other";
757
- arm: "arm";
1128
+ x64: "x64";
758
1129
  arm64: "arm64";
759
1130
  ia32: "ia32";
760
- x64: "x64";
1131
+ arm: "arm";
761
1132
  }>;
762
1133
  node_major: z.ZodNumber;
763
1134
  environment: z.ZodEnum<{
@@ -777,24 +1148,24 @@ export declare const telemetryBatchSchema: z.ZodObject<{
777
1148
  generic: "generic";
778
1149
  }>>;
779
1150
  scan_mode: z.ZodOptional<z.ZodEnum<{
780
- staged: "staged";
781
1151
  base: "base";
1152
+ staged: "staged";
782
1153
  }>>;
783
1154
  output_format: z.ZodOptional<z.ZodEnum<{
784
- auto: "auto";
785
1155
  json: "json";
786
- text: "text";
1156
+ auto: "auto";
787
1157
  ink: "ink";
1158
+ text: "text";
788
1159
  sarif: "sarif";
789
1160
  }>>;
790
1161
  outcome: z.ZodOptional<z.ZodEnum<{
791
- completed: "completed";
792
- incomplete: "incomplete";
793
1162
  pass: "pass";
794
1163
  blocked: "blocked";
1164
+ incomplete: "incomplete";
1165
+ completed: "completed";
1166
+ cancelled: "cancelled";
795
1167
  preview: "preview";
796
1168
  applied: "applied";
797
- cancelled: "cancelled";
798
1169
  }>>;
799
1170
  duration_ms: z.ZodOptional<z.ZodNumber>;
800
1171
  empty_input: z.ZodOptional<z.ZodBoolean>;
@@ -838,14 +1209,290 @@ export declare const telemetryBatchSchema: z.ZodObject<{
838
1209
  thorough: "thorough";
839
1210
  }>>;
840
1211
  hook: z.ZodOptional<z.ZodEnum<{
1212
+ custom: "custom";
841
1213
  none: "none";
842
1214
  auto: "auto";
843
- custom: "custom";
844
- raw: "raw";
1215
+ tracked: "tracked";
1216
+ husky: "husky";
1217
+ lefthook: "lefthook";
845
1218
  "simple-git-hooks": "simple-git-hooks";
1219
+ raw: "raw";
1220
+ }>>;
1221
+ }, z.core.$strict>, z.ZodObject<{
1222
+ schema_version: z.ZodLiteral<3>;
1223
+ performance_version: z.ZodLiteral<1>;
1224
+ performance_status: z.ZodEnum<{
1225
+ partial: "partial";
1226
+ complete: "complete";
1227
+ unavailable: "unavailable";
1228
+ }>;
1229
+ changed_file_count_bucket: z.ZodEnum<{
1230
+ 0: "0";
1231
+ 1: "1";
1232
+ unknown: "unknown";
1233
+ "2-5": "2-5";
1234
+ "6-20": "6-20";
1235
+ "21-100": "21-100";
1236
+ "101+": "101+";
1237
+ }>;
1238
+ change_category: z.ZodEnum<{
1239
+ unknown: "unknown";
1240
+ source: "source";
1241
+ non_source: "non_source";
1242
+ configuration_or_dependency: "configuration_or_dependency";
1243
+ mixed: "mixed";
1244
+ }>;
1245
+ execution_mode: z.ZodEnum<{
1246
+ unknown: "unknown";
1247
+ none: "none";
1248
+ local: "local";
1249
+ service: "service";
1250
+ }>;
1251
+ worker_count: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
1252
+ check_performance: z.ZodArray<z.ZodObject<{
1253
+ check_id: z.ZodEnum<{
1254
+ formatting: "formatting";
1255
+ lint: "lint";
1256
+ types: "types";
1257
+ cyclomaticComplexity: "cyclomaticComplexity";
1258
+ readabilityComplexity: "readabilityComplexity";
1259
+ structuralSecurity: "structuralSecurity";
1260
+ secrets: "secrets";
1261
+ duplication: "duplication";
1262
+ dependencyArchitecture: "dependencyArchitecture";
1263
+ deadCode: "deadCode";
1264
+ reactCorrectness: "reactCorrectness";
1265
+ reactAccessibility: "reactAccessibility";
1266
+ vulnerabilities: "vulnerabilities";
1267
+ }>;
1268
+ task_count: z.ZodNumber;
1269
+ elapsed_sum_ms: z.ZodNumber;
1270
+ elapsed_max_ms: z.ZodNumber;
1271
+ queue_sum_ms: z.ZodOptional<z.ZodNumber>;
1272
+ queue_max_ms: z.ZodOptional<z.ZodNumber>;
1273
+ worker_sum_ms: z.ZodOptional<z.ZodNumber>;
1274
+ worker_max_ms: z.ZodOptional<z.ZodNumber>;
1275
+ cache_hits: z.ZodNumber;
1276
+ cache_misses: z.ZodNumber;
1277
+ cache_bypasses: z.ZodNumber;
1278
+ }, z.core.$strict>>;
1279
+ incomplete_reasons: z.ZodArray<z.ZodObject<{
1280
+ check_id: z.ZodEnum<{
1281
+ formatting: "formatting";
1282
+ lint: "lint";
1283
+ types: "types";
1284
+ cyclomaticComplexity: "cyclomaticComplexity";
1285
+ readabilityComplexity: "readabilityComplexity";
1286
+ structuralSecurity: "structuralSecurity";
1287
+ secrets: "secrets";
1288
+ duplication: "duplication";
1289
+ dependencyArchitecture: "dependencyArchitecture";
1290
+ deadCode: "deadCode";
1291
+ reactCorrectness: "reactCorrectness";
1292
+ reactAccessibility: "reactAccessibility";
1293
+ vulnerabilities: "vulnerabilities";
1294
+ zedbee: "zedbee";
1295
+ }>;
1296
+ code: z.ZodEnum<{
1297
+ other: "other";
1298
+ SECRET_FILE_TOO_LARGE: "SECRET_FILE_TOO_LARGE";
1299
+ SECRET_FILE_INVALID_UTF8: "SECRET_FILE_INVALID_UTF8";
1300
+ SECRET_FILE_UNSAFE: "SECRET_FILE_UNSAFE";
1301
+ SECRETLINT_ANALYSIS_FAILED: "SECRETLINT_ANALYSIS_FAILED";
1302
+ TYPED_LINT_PROJECT_MISMATCH: "TYPED_LINT_PROJECT_MISMATCH";
1303
+ TYPESCRIPT_PROJECT_MISMATCH: "TYPESCRIPT_PROJECT_MISMATCH";
1304
+ ADAPTER_RESULT_INVALID: "ADAPTER_RESULT_INVALID";
1305
+ CHECK_DISPATCH_FAILED: "CHECK_DISPATCH_FAILED";
1306
+ SNAPSHOT_CLEANUP_FAILED: "SNAPSHOT_CLEANUP_FAILED";
1307
+ COMPLEXITY_FILE_ANALYSIS_FAILED: "COMPLEXITY_FILE_ANALYSIS_FAILED";
1308
+ STRUCTURAL_SECURITY_PARSE_FAILED: "STRUCTURAL_SECURITY_PARSE_FAILED";
1309
+ ANALYZER_SERVICE_UNAVAILABLE: "ANALYZER_SERVICE_UNAVAILABLE";
1310
+ }>;
1311
+ count: z.ZodNumber;
1312
+ }, z.core.$strict>>;
1313
+ incomplete_reasons_omitted: z.ZodNumber;
1314
+ event: z.ZodLiteral<"scan_finished">;
1315
+ command: z.ZodLiteral<"scan">;
1316
+ finding_breakdown_version: z.ZodLiteral<1>;
1317
+ finding_breakdown_status: z.ZodEnum<{
1318
+ complete: "complete";
1319
+ truncated: "truncated";
1320
+ unavailable: "unavailable";
1321
+ }>;
1322
+ finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
1323
+ check_id: z.ZodEnum<{
1324
+ formatting: "formatting";
1325
+ lint: "lint";
1326
+ types: "types";
1327
+ cyclomaticComplexity: "cyclomaticComplexity";
1328
+ readabilityComplexity: "readabilityComplexity";
1329
+ structuralSecurity: "structuralSecurity";
1330
+ secrets: "secrets";
1331
+ duplication: "duplication";
1332
+ dependencyArchitecture: "dependencyArchitecture";
1333
+ deadCode: "deadCode";
1334
+ reactCorrectness: "reactCorrectness";
1335
+ reactAccessibility: "reactAccessibility";
1336
+ vulnerabilities: "vulnerabilities";
1337
+ }>;
1338
+ rule_id: z.ZodString;
1339
+ severity: z.ZodEnum<{
1340
+ error: "error";
1341
+ info: "info";
1342
+ warning: "warning";
1343
+ }>;
1344
+ count: z.ZodNumber;
1345
+ }, z.core.$strict>>>;
1346
+ finding_unmapped_count: z.ZodOptional<z.ZodNumber>;
1347
+ finding_omitted_count: z.ZodOptional<z.ZodNumber>;
1348
+ finding_counts_clipped: z.ZodOptional<z.ZodBoolean>;
1349
+ completed_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1350
+ formatting: "formatting";
1351
+ lint: "lint";
1352
+ types: "types";
1353
+ cyclomaticComplexity: "cyclomaticComplexity";
1354
+ readabilityComplexity: "readabilityComplexity";
1355
+ structuralSecurity: "structuralSecurity";
1356
+ secrets: "secrets";
1357
+ duplication: "duplication";
1358
+ dependencyArchitecture: "dependencyArchitecture";
1359
+ deadCode: "deadCode";
1360
+ reactCorrectness: "reactCorrectness";
1361
+ reactAccessibility: "reactAccessibility";
1362
+ vulnerabilities: "vulnerabilities";
1363
+ }>>>;
1364
+ ai_detection_version: z.ZodLiteral<1>;
1365
+ caller_ai_tool: z.ZodEnum<{
1366
+ unknown: "unknown";
1367
+ claude_code: "claude_code";
1368
+ codex: "codex";
1369
+ cursor: "cursor";
1370
+ ambiguous: "ambiguous";
1371
+ }>;
1372
+ caller_ai_tool_candidates: z.ZodArray<z.ZodEnum<{
1373
+ claude_code: "claude_code";
1374
+ codex: "codex";
1375
+ cursor: "cursor";
1376
+ }>>;
1377
+ caller_ai_tool_source: z.ZodEnum<{
1378
+ none: "none";
1379
+ environment_hint: "environment_hint";
1380
+ }>;
1381
+ detected_ai_tools: z.ZodArray<z.ZodEnum<{
1382
+ claude_code: "claude_code";
1383
+ codex: "codex";
1384
+ cursor: "cursor";
1385
+ }>>;
1386
+ generic_agent_instructions_detected: z.ZodBoolean;
1387
+ repo_ai_detection_status: z.ZodEnum<{
1388
+ partial: "partial";
1389
+ complete: "complete";
1390
+ unavailable: "unavailable";
1391
+ }>;
1392
+ event_id: z.ZodString;
1393
+ run_id: z.ZodString;
1394
+ timestamp: z.ZodString;
1395
+ version: z.ZodString;
1396
+ os: z.ZodEnum<{
1397
+ darwin: "darwin";
1398
+ linux: "linux";
1399
+ win32: "win32";
1400
+ other: "other";
1401
+ }>;
1402
+ arch: z.ZodEnum<{
1403
+ other: "other";
1404
+ x64: "x64";
1405
+ arm64: "arm64";
1406
+ ia32: "ia32";
1407
+ arm: "arm";
1408
+ }>;
1409
+ node_major: z.ZodNumber;
1410
+ environment: z.ZodEnum<{
1411
+ ci: "ci";
1412
+ ci_not_detected: "ci_not_detected";
1413
+ }>;
1414
+ invocation_source: z.ZodEnum<{
1415
+ git_hook: "git_hook";
1416
+ unspecified: "unspecified";
1417
+ }>;
1418
+ installation_id: z.ZodOptional<z.ZodString>;
1419
+ ci_execution_id: z.ZodOptional<z.ZodString>;
1420
+ ci_provider: z.ZodOptional<z.ZodEnum<{
1421
+ unknown: "unknown";
1422
+ github_actions: "github_actions";
1423
+ gitlab_ci: "gitlab_ci";
1424
+ generic: "generic";
1425
+ }>>;
1426
+ scan_mode: z.ZodOptional<z.ZodEnum<{
1427
+ base: "base";
1428
+ staged: "staged";
1429
+ }>>;
1430
+ output_format: z.ZodOptional<z.ZodEnum<{
1431
+ json: "json";
1432
+ auto: "auto";
1433
+ ink: "ink";
1434
+ text: "text";
1435
+ sarif: "sarif";
1436
+ }>>;
1437
+ outcome: z.ZodOptional<z.ZodEnum<{
1438
+ pass: "pass";
1439
+ blocked: "blocked";
1440
+ incomplete: "incomplete";
1441
+ completed: "completed";
1442
+ cancelled: "cancelled";
1443
+ preview: "preview";
1444
+ applied: "applied";
1445
+ }>>;
1446
+ duration_ms: z.ZodOptional<z.ZodNumber>;
1447
+ empty_input: z.ZodOptional<z.ZodBoolean>;
1448
+ check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1449
+ formatting: "formatting";
1450
+ lint: "lint";
1451
+ types: "types";
1452
+ cyclomaticComplexity: "cyclomaticComplexity";
1453
+ readabilityComplexity: "readabilityComplexity";
1454
+ structuralSecurity: "structuralSecurity";
1455
+ secrets: "secrets";
1456
+ duplication: "duplication";
1457
+ dependencyArchitecture: "dependencyArchitecture";
1458
+ deadCode: "deadCode";
1459
+ reactCorrectness: "reactCorrectness";
1460
+ reactAccessibility: "reactAccessibility";
1461
+ vulnerabilities: "vulnerabilities";
1462
+ }>>>;
1463
+ enabled_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1464
+ formatting: "formatting";
1465
+ lint: "lint";
1466
+ types: "types";
1467
+ cyclomaticComplexity: "cyclomaticComplexity";
1468
+ readabilityComplexity: "readabilityComplexity";
1469
+ structuralSecurity: "structuralSecurity";
1470
+ secrets: "secrets";
1471
+ duplication: "duplication";
1472
+ dependencyArchitecture: "dependencyArchitecture";
1473
+ deadCode: "deadCode";
1474
+ reactCorrectness: "reactCorrectness";
1475
+ reactAccessibility: "reactAccessibility";
1476
+ vulnerabilities: "vulnerabilities";
1477
+ }>>>;
1478
+ finding_count: z.ZodOptional<z.ZodNumber>;
1479
+ applied_count: z.ZodOptional<z.ZodNumber>;
1480
+ skipped_count: z.ZodOptional<z.ZodNumber>;
1481
+ profile: z.ZodOptional<z.ZodEnum<{
1482
+ custom: "custom";
1483
+ fast: "fast";
1484
+ recommended: "recommended";
1485
+ thorough: "thorough";
1486
+ }>>;
1487
+ hook: z.ZodOptional<z.ZodEnum<{
1488
+ custom: "custom";
1489
+ none: "none";
1490
+ auto: "auto";
846
1491
  tracked: "tracked";
847
1492
  husky: "husky";
848
1493
  lefthook: "lefthook";
1494
+ "simple-git-hooks": "simple-git-hooks";
1495
+ raw: "raw";
849
1496
  }>>;
850
1497
  }, z.core.$strict>]>>;
851
1498
  }, z.core.$strict>;