zedbee 0.1.0-beta.14 → 0.1.0-beta.16

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 (379) hide show
  1. package/THIRD_PARTY_NOTICES.md +2 -0
  2. package/dist/attribution/pair-locations.d.ts.map +1 -1
  3. package/dist/attribution/pair-locations.js +20 -10
  4. package/dist/attribution/pair-locations.js.map +1 -1
  5. package/dist/cache/store.d.ts +1 -0
  6. package/dist/cache/store.d.ts.map +1 -1
  7. package/dist/cache/store.js +2 -0
  8. package/dist/cache/store.js.map +1 -1
  9. package/dist/checks/adapter.d.ts +3 -0
  10. package/dist/checks/adapter.d.ts.map +1 -1
  11. package/dist/checks/applicability.d.ts.map +1 -1
  12. package/dist/checks/applicability.js +43 -9
  13. package/dist/checks/applicability.js.map +1 -1
  14. package/dist/checks/comparison-context.d.ts +26 -0
  15. package/dist/checks/comparison-context.d.ts.map +1 -0
  16. package/dist/checks/comparison-context.js +187 -0
  17. package/dist/checks/comparison-context.js.map +1 -0
  18. package/dist/checks/compiler-inputs.d.ts +6 -6
  19. package/dist/checks/compiler-inputs.d.ts.map +1 -1
  20. package/dist/checks/compiler-inputs.js +88 -6
  21. package/dist/checks/compiler-inputs.js.map +1 -1
  22. package/dist/checks/diagnostic-details.d.ts +28 -0
  23. package/dist/checks/diagnostic-details.d.ts.map +1 -0
  24. package/dist/checks/diagnostic-details.js +410 -0
  25. package/dist/checks/diagnostic-details.js.map +1 -0
  26. package/dist/checks/dispatch-cache.d.ts.map +1 -1
  27. package/dist/checks/dispatch-cache.js +64 -5
  28. package/dist/checks/dispatch-cache.js.map +1 -1
  29. package/dist/checks/dispatch-target.d.ts.map +1 -1
  30. package/dist/checks/dispatch-target.js +6 -0
  31. package/dist/checks/dispatch-target.js.map +1 -1
  32. package/dist/checks/dispatcher.d.ts +9 -0
  33. package/dist/checks/dispatcher.d.ts.map +1 -1
  34. package/dist/checks/dispatcher.js +51 -18
  35. package/dist/checks/dispatcher.js.map +1 -1
  36. package/dist/checks/duplication/adapter.d.ts.map +1 -1
  37. package/dist/checks/duplication/adapter.js +2 -5
  38. package/dist/checks/duplication/adapter.js.map +1 -1
  39. package/dist/checks/duplication/input-paths.d.ts +10 -0
  40. package/dist/checks/duplication/input-paths.d.ts.map +1 -0
  41. package/dist/checks/duplication/input-paths.js +45 -0
  42. package/dist/checks/duplication/input-paths.js.map +1 -0
  43. package/dist/checks/engine-identity.d.ts.map +1 -1
  44. package/dist/checks/engine-identity.js +5 -4
  45. package/dist/checks/engine-identity.js.map +1 -1
  46. package/dist/checks/eslint/convert-message.d.ts.map +1 -1
  47. package/dist/checks/eslint/convert-message.js +4 -1
  48. package/dist/checks/eslint/convert-message.js.map +1 -1
  49. package/dist/checks/eslint/lint-adapter.d.ts.map +1 -1
  50. package/dist/checks/eslint/lint-adapter.js +12 -3
  51. package/dist/checks/eslint/lint-adapter.js.map +1 -1
  52. package/dist/checks/eslint/managed-config.d.ts +3 -0
  53. package/dist/checks/eslint/managed-config.d.ts.map +1 -1
  54. package/dist/checks/eslint/managed-config.js +18 -3
  55. package/dist/checks/eslint/managed-config.js.map +1 -1
  56. package/dist/checks/eslint/project/adapter.d.ts +3 -0
  57. package/dist/checks/eslint/project/adapter.d.ts.map +1 -0
  58. package/dist/checks/eslint/project/adapter.js +143 -0
  59. package/dist/checks/eslint/project/adapter.js.map +1 -0
  60. package/dist/checks/eslint/project/diagnostics.d.ts +15 -0
  61. package/dist/checks/eslint/project/diagnostics.d.ts.map +1 -0
  62. package/dist/checks/eslint/project/diagnostics.js +38 -0
  63. package/dist/checks/eslint/project/diagnostics.js.map +1 -0
  64. package/dist/checks/eslint/project/engine.d.ts +5 -0
  65. package/dist/checks/eslint/project/engine.d.ts.map +1 -0
  66. package/dist/checks/eslint/project/engine.js +207 -0
  67. package/dist/checks/eslint/project/engine.js.map +1 -0
  68. package/dist/checks/eslint/project/installation.d.ts +3 -0
  69. package/dist/checks/eslint/project/installation.d.ts.map +1 -0
  70. package/dist/checks/eslint/project/installation.js +118 -0
  71. package/dist/checks/eslint/project/installation.js.map +1 -0
  72. package/dist/checks/eslint/project/protocol.d.ts +6 -0
  73. package/dist/checks/eslint/project/protocol.d.ts.map +1 -0
  74. package/dist/checks/eslint/project/protocol.js +90 -0
  75. package/dist/checks/eslint/project/protocol.js.map +1 -0
  76. package/dist/checks/eslint/project/trust.d.ts +18 -0
  77. package/dist/checks/eslint/project/trust.d.ts.map +1 -0
  78. package/dist/checks/eslint/project/trust.js +93 -0
  79. package/dist/checks/eslint/project/trust.js.map +1 -0
  80. package/dist/checks/eslint/project/types.d.ts +53 -0
  81. package/dist/checks/eslint/project/types.d.ts.map +1 -0
  82. package/dist/checks/eslint/project/types.js +24 -0
  83. package/dist/checks/eslint/project/types.js.map +1 -0
  84. package/dist/checks/eslint/project/worker.d.ts +2 -0
  85. package/dist/checks/eslint/project/worker.d.ts.map +1 -0
  86. package/dist/checks/eslint/project/worker.js +89 -0
  87. package/dist/checks/eslint/project/worker.js.map +1 -0
  88. package/dist/checks/eslint/project/workspace.d.ts +7 -0
  89. package/dist/checks/eslint/project/workspace.d.ts.map +1 -0
  90. package/dist/checks/eslint/project/workspace.js +100 -0
  91. package/dist/checks/eslint/project/workspace.js.map +1 -0
  92. package/dist/checks/eslint/rule-settings.d.ts.map +1 -1
  93. package/dist/checks/eslint/rule-settings.js +2 -2
  94. package/dist/checks/eslint/rule-settings.js.map +1 -1
  95. package/dist/checks/observation-result.d.ts.map +1 -1
  96. package/dist/checks/observation-result.js +20 -2
  97. package/dist/checks/observation-result.js.map +1 -1
  98. package/dist/checks/policy-scheduling.d.ts +3 -5
  99. package/dist/checks/policy-scheduling.d.ts.map +1 -1
  100. package/dist/checks/policy-scheduling.js +15 -6
  101. package/dist/checks/policy-scheduling.js.map +1 -1
  102. package/dist/checks/prettier/settings.d.ts +2 -2
  103. package/dist/checks/project-inputs.d.ts.map +1 -1
  104. package/dist/checks/project-inputs.js +4 -13
  105. package/dist/checks/project-inputs.js.map +1 -1
  106. package/dist/checks/react/accessibility-settings.d.ts +14 -0
  107. package/dist/checks/react/accessibility-settings.d.ts.map +1 -0
  108. package/dist/checks/react/accessibility-settings.js +37 -0
  109. package/dist/checks/react/accessibility-settings.js.map +1 -0
  110. package/dist/checks/react/adapter.d.ts.map +1 -1
  111. package/dist/checks/react/adapter.js +3 -0
  112. package/dist/checks/react/adapter.js.map +1 -1
  113. package/dist/checks/react/config.d.ts +2 -1
  114. package/dist/checks/react/config.d.ts.map +1 -1
  115. package/dist/checks/react/config.js +9 -3
  116. package/dist/checks/react/config.js.map +1 -1
  117. package/dist/checks/react/managed-accessibility-plugin.d.ts +21 -0
  118. package/dist/checks/react/managed-accessibility-plugin.d.ts.map +1 -0
  119. package/dist/checks/react/managed-accessibility-plugin.js +83 -0
  120. package/dist/checks/react/managed-accessibility-plugin.js.map +1 -0
  121. package/dist/checks/react/managed-hooks-identity.d.ts +3 -0
  122. package/dist/checks/react/managed-hooks-identity.d.ts.map +1 -0
  123. package/dist/checks/react/managed-hooks-identity.js +4 -0
  124. package/dist/checks/react/managed-hooks-identity.js.map +1 -0
  125. package/dist/checks/react/managed-hooks-plugin.d.ts +5 -0
  126. package/dist/checks/react/managed-hooks-plugin.d.ts.map +1 -0
  127. package/dist/checks/react/managed-hooks-plugin.js +45 -0
  128. package/dist/checks/react/managed-hooks-plugin.js.map +1 -0
  129. package/dist/checks/runner/executor.d.ts +2 -0
  130. package/dist/checks/runner/executor.d.ts.map +1 -1
  131. package/dist/checks/runner/executor.js +16 -0
  132. package/dist/checks/runner/executor.js.map +1 -1
  133. package/dist/checks/runner/protocol.d.ts.map +1 -1
  134. package/dist/checks/runner/protocol.js +8 -0
  135. package/dist/checks/runner/protocol.js.map +1 -1
  136. package/dist/checks/runner/run-job.d.ts +1 -0
  137. package/dist/checks/runner/run-job.d.ts.map +1 -1
  138. package/dist/checks/runner/run-job.js +8 -1
  139. package/dist/checks/runner/run-job.js.map +1 -1
  140. package/dist/checks/runner/worker-slot.d.ts.map +1 -1
  141. package/dist/checks/runner/worker-slot.js +17 -1
  142. package/dist/checks/runner/worker-slot.js.map +1 -1
  143. package/dist/checks/runner/worker.js +4 -1
  144. package/dist/checks/runner/worker.js.map +1 -1
  145. package/dist/checks/sanitize-result.d.ts +4 -0
  146. package/dist/checks/sanitize-result.d.ts.map +1 -1
  147. package/dist/checks/sanitize-result.js +45 -0
  148. package/dist/checks/sanitize-result.js.map +1 -1
  149. package/dist/checks/secrets/content.d.ts.map +1 -1
  150. package/dist/checks/secrets/content.js +24 -9
  151. package/dist/checks/secrets/content.js.map +1 -1
  152. package/dist/checks/secrets/normalize.js +1 -1
  153. package/dist/checks/secrets/normalize.js.map +1 -1
  154. package/dist/checks/typescript/adapter.d.ts.map +1 -1
  155. package/dist/checks/typescript/adapter.js +6 -2
  156. package/dist/checks/typescript/adapter.js.map +1 -1
  157. package/dist/checks/typescript/compiler-host.d.ts +2 -0
  158. package/dist/checks/typescript/compiler-host.d.ts.map +1 -1
  159. package/dist/checks/typescript/compiler-host.js +2 -0
  160. package/dist/checks/typescript/compiler-host.js.map +1 -1
  161. package/dist/checks/typescript/compiler-options-provenance.d.ts +4 -0
  162. package/dist/checks/typescript/compiler-options-provenance.d.ts.map +1 -0
  163. package/dist/checks/typescript/compiler-options-provenance.js +13 -0
  164. package/dist/checks/typescript/compiler-options-provenance.js.map +1 -0
  165. package/dist/checks/typescript/configuration-paths.d.ts +8 -1
  166. package/dist/checks/typescript/configuration-paths.d.ts.map +1 -1
  167. package/dist/checks/typescript/configuration-paths.js +53 -13
  168. package/dist/checks/typescript/configuration-paths.js.map +1 -1
  169. package/dist/checks/typescript/convert-diagnostic.d.ts.map +1 -1
  170. package/dist/checks/typescript/convert-diagnostic.js +4 -1
  171. package/dist/checks/typescript/convert-diagnostic.js.map +1 -1
  172. package/dist/checks/typescript/project-coverage.d.ts.map +1 -1
  173. package/dist/checks/typescript/project-coverage.js +19 -2
  174. package/dist/checks/typescript/project-coverage.js.map +1 -1
  175. package/dist/checks/typescript/projects.d.ts +2 -1
  176. package/dist/checks/typescript/projects.d.ts.map +1 -1
  177. package/dist/checks/typescript/projects.js +3 -2
  178. package/dist/checks/typescript/projects.js.map +1 -1
  179. package/dist/cli.d.ts.map +1 -1
  180. package/dist/cli.js +22 -0
  181. package/dist/cli.js.map +1 -1
  182. package/dist/commands/checks.d.ts.map +1 -1
  183. package/dist/commands/checks.js +12 -5
  184. package/dist/commands/checks.js.map +1 -1
  185. package/dist/commands/init.d.ts +4 -0
  186. package/dist/commands/init.d.ts.map +1 -1
  187. package/dist/commands/init.js +13 -0
  188. package/dist/commands/init.js.map +1 -1
  189. package/dist/commands/scan.d.ts +2 -1
  190. package/dist/commands/scan.d.ts.map +1 -1
  191. package/dist/commands/scan.js +6 -0
  192. package/dist/commands/scan.js.map +1 -1
  193. package/dist/config/immutable-configuration.d.ts +2 -0
  194. package/dist/config/immutable-configuration.d.ts.map +1 -0
  195. package/dist/config/immutable-configuration.js +81 -0
  196. package/dist/config/immutable-configuration.js.map +1 -0
  197. package/dist/config/load-config.d.ts.map +1 -1
  198. package/dist/config/load-config.js +8 -1
  199. package/dist/config/load-config.js.map +1 -1
  200. package/dist/config/profiles.d.ts.map +1 -1
  201. package/dist/config/profiles.js +24 -3
  202. package/dist/config/profiles.js.map +1 -1
  203. package/dist/config/schema.d.ts +115 -9
  204. package/dist/config/schema.d.ts.map +1 -1
  205. package/dist/config/schema.js +31 -2
  206. package/dist/config/schema.js.map +1 -1
  207. package/dist/config/settings-registry.d.ts +3 -1
  208. package/dist/config/settings-registry.d.ts.map +1 -1
  209. package/dist/config/settings-registry.js +7 -79
  210. package/dist/config/settings-registry.js.map +1 -1
  211. package/dist/config/target-policy.d.ts +4 -1
  212. package/dist/config/target-policy.d.ts.map +1 -1
  213. package/dist/config/target-policy.js +96 -0
  214. package/dist/config/target-policy.js.map +1 -1
  215. package/dist/core/types.d.ts +15 -0
  216. package/dist/core/types.d.ts.map +1 -1
  217. package/dist/diagnostics/scan-performance.d.ts +50 -0
  218. package/dist/diagnostics/scan-performance.d.ts.map +1 -0
  219. package/dist/diagnostics/scan-performance.js +153 -0
  220. package/dist/diagnostics/scan-performance.js.map +1 -0
  221. package/dist/doctor/diagnostics.d.ts +2 -1
  222. package/dist/doctor/diagnostics.d.ts.map +1 -1
  223. package/dist/doctor/diagnostics.js +5 -0
  224. package/dist/doctor/diagnostics.js.map +1 -1
  225. package/dist/doctor/project-eslint.d.ts +4 -0
  226. package/dist/doctor/project-eslint.d.ts.map +1 -0
  227. package/dist/doctor/project-eslint.js +98 -0
  228. package/dist/doctor/project-eslint.js.map +1 -0
  229. package/dist/hooks/command.d.ts.map +1 -1
  230. package/dist/hooks/command.js +2 -4
  231. package/dist/hooks/command.js.map +1 -1
  232. package/dist/hooks/husky.d.ts.map +1 -1
  233. package/dist/hooks/husky.js +7 -1
  234. package/dist/hooks/husky.js.map +1 -1
  235. package/dist/hooks/install.d.ts.map +1 -1
  236. package/dist/hooks/install.js +5 -0
  237. package/dist/hooks/install.js.map +1 -1
  238. package/dist/hooks/installed-command.d.ts +11 -0
  239. package/dist/hooks/installed-command.d.ts.map +1 -0
  240. package/dist/hooks/installed-command.js +36 -0
  241. package/dist/hooks/installed-command.js.map +1 -0
  242. package/dist/init/eslint-setup.d.ts +16 -0
  243. package/dist/init/eslint-setup.d.ts.map +1 -0
  244. package/dist/init/eslint-setup.js +98 -0
  245. package/dist/init/eslint-setup.js.map +1 -0
  246. package/dist/init/presentation.d.ts +9 -2
  247. package/dist/init/presentation.d.ts.map +1 -1
  248. package/dist/init/presentation.js +20 -0
  249. package/dist/init/presentation.js.map +1 -1
  250. package/dist/init/recommend.d.ts.map +1 -1
  251. package/dist/init/recommend.js +28 -0
  252. package/dist/init/recommend.js.map +1 -1
  253. package/dist/init/selection-policy.d.ts +4 -0
  254. package/dist/init/selection-policy.d.ts.map +1 -1
  255. package/dist/init/selection-policy.js +17 -0
  256. package/dist/init/selection-policy.js.map +1 -1
  257. package/dist/init/types.d.ts +14 -0
  258. package/dist/init/types.d.ts.map +1 -1
  259. package/dist/init/write-config.d.ts.map +1 -1
  260. package/dist/init/write-config.js +34 -0
  261. package/dist/init/write-config.js.map +1 -1
  262. package/dist/policy/evaluate.d.ts.map +1 -1
  263. package/dist/policy/evaluate.js +19 -4
  264. package/dist/policy/evaluate.js.map +1 -1
  265. package/dist/renderers/json.d.ts.map +1 -1
  266. package/dist/renderers/json.js +21 -0
  267. package/dist/renderers/json.js.map +1 -1
  268. package/dist/renderers/text.d.ts.map +1 -1
  269. package/dist/renderers/text.js +41 -7
  270. package/dist/renderers/text.js.map +1 -1
  271. package/dist/reporting/agent-guidance.d.ts +1 -0
  272. package/dist/reporting/agent-guidance.d.ts.map +1 -1
  273. package/dist/reporting/agent-guidance.js +25 -0
  274. package/dist/reporting/agent-guidance.js.map +1 -1
  275. package/dist/reporting/check-coverage.d.ts +9 -0
  276. package/dist/reporting/check-coverage.d.ts.map +1 -0
  277. package/dist/reporting/check-coverage.js +38 -0
  278. package/dist/reporting/check-coverage.js.map +1 -0
  279. package/dist/reporting/fix-presentation.d.ts +1 -1
  280. package/dist/reporting/project-eslint-notices.d.ts +3 -0
  281. package/dist/reporting/project-eslint-notices.d.ts.map +1 -0
  282. package/dist/reporting/project-eslint-notices.js +9 -0
  283. package/dist/reporting/project-eslint-notices.js.map +1 -0
  284. package/dist/reporting/report-callouts.d.ts +2 -2
  285. package/dist/reporting/report-callouts.d.ts.map +1 -1
  286. package/dist/reporting/report-callouts.js +6 -2
  287. package/dist/reporting/report-callouts.js.map +1 -1
  288. package/dist/reporting/source-identity.d.ts +1 -0
  289. package/dist/reporting/source-identity.d.ts.map +1 -1
  290. package/dist/reporting/source-identity.js +6 -0
  291. package/dist/reporting/source-identity.js.map +1 -1
  292. package/dist/scan/analysis-session.d.ts +3 -0
  293. package/dist/scan/analysis-session.d.ts.map +1 -1
  294. package/dist/scan/analysis-session.js +53 -17
  295. package/dist/scan/analysis-session.js.map +1 -1
  296. package/dist/scan/change-summary.d.ts +9 -0
  297. package/dist/scan/change-summary.d.ts.map +1 -0
  298. package/dist/scan/change-summary.js +7 -0
  299. package/dist/scan/change-summary.js.map +1 -0
  300. package/dist/scan/incomplete-report.d.ts +2 -0
  301. package/dist/scan/incomplete-report.d.ts.map +1 -1
  302. package/dist/scan/incomplete-report.js +3 -0
  303. package/dist/scan/incomplete-report.js.map +1 -1
  304. package/dist/scan/merge-scan.d.ts.map +1 -1
  305. package/dist/scan/merge-scan.js +2 -1
  306. package/dist/scan/merge-scan.js.map +1 -1
  307. package/dist/scan/report.d.ts +2 -0
  308. package/dist/scan/report.d.ts.map +1 -1
  309. package/dist/scan/run-scan.d.ts +3 -0
  310. package/dist/scan/run-scan.d.ts.map +1 -1
  311. package/dist/scan/run-scan.js +57 -3
  312. package/dist/scan/run-scan.js.map +1 -1
  313. package/dist/scan/source-excerpts.d.ts.map +1 -1
  314. package/dist/scan/source-excerpts.js +7 -0
  315. package/dist/scan/source-excerpts.js.map +1 -1
  316. package/dist/service/client-connection.js +1 -1
  317. package/dist/service/client-connection.js.map +1 -1
  318. package/dist/service/client-executor.d.ts.map +1 -1
  319. package/dist/service/client-executor.js +35 -2
  320. package/dist/service/client-executor.js.map +1 -1
  321. package/dist/service/server-connection.d.ts.map +1 -1
  322. package/dist/service/server-connection.js +11 -2
  323. package/dist/service/server-connection.js.map +1 -1
  324. package/dist/telemetry/client.d.ts +5 -1
  325. package/dist/telemetry/client.d.ts.map +1 -1
  326. package/dist/telemetry/client.js +20 -3
  327. package/dist/telemetry/client.js.map +1 -1
  328. package/dist/telemetry/details-store.d.ts +8 -4
  329. package/dist/telemetry/details-store.d.ts.map +1 -1
  330. package/dist/telemetry/details-store.js +28 -5
  331. package/dist/telemetry/details-store.js.map +1 -1
  332. package/dist/telemetry/performance-summary.d.ts +7 -0
  333. package/dist/telemetry/performance-summary.d.ts.map +1 -0
  334. package/dist/telemetry/performance-summary.js +49 -0
  335. package/dist/telemetry/performance-summary.js.map +1 -0
  336. package/dist/telemetry/schema.d.ts +792 -145
  337. package/dist/telemetry/schema.d.ts.map +1 -1
  338. package/dist/telemetry/schema.js +78 -0
  339. package/dist/telemetry/schema.js.map +1 -1
  340. package/dist/telemetry/state.d.ts +12 -12
  341. package/dist/ui/branded-command-frame.d.ts.map +1 -1
  342. package/dist/ui/branded-command-frame.js +8 -3
  343. package/dist/ui/branded-command-frame.js.map +1 -1
  344. package/dist/ui/init-app.d.ts.map +1 -1
  345. package/dist/ui/init-app.js +41 -1
  346. package/dist/ui/init-app.js.map +1 -1
  347. package/dist/ui/init-view.d.ts.map +1 -1
  348. package/dist/ui/init-view.js +14 -4
  349. package/dist/ui/init-view.js.map +1 -1
  350. package/dist/ui/live-dashboard.d.ts.map +1 -1
  351. package/dist/ui/live-dashboard.js +10 -3
  352. package/dist/ui/live-dashboard.js.map +1 -1
  353. package/dist/ui/outcome-strip.d.ts.map +1 -1
  354. package/dist/ui/outcome-strip.js +7 -3
  355. package/dist/ui/outcome-strip.js.map +1 -1
  356. package/dist/ui/pixel-wordmark.d.ts +2 -1
  357. package/dist/ui/pixel-wordmark.d.ts.map +1 -1
  358. package/dist/ui/pixel-wordmark.js +3 -1
  359. package/dist/ui/pixel-wordmark.js.map +1 -1
  360. package/dist/ui/scan-app.d.ts.map +1 -1
  361. package/dist/ui/scan-app.js +2 -1
  362. package/dist/ui/scan-app.js.map +1 -1
  363. package/dist/ui/scan-result-dashboard.d.ts.map +1 -1
  364. package/dist/ui/scan-result-dashboard.js +11 -10
  365. package/dist/ui/scan-result-dashboard.js.map +1 -1
  366. package/dist/vendor/react-hooks/7.1.1/LICENSE +21 -0
  367. package/dist/vendor/react-hooks/7.1.1/development.cjs +55824 -0
  368. package/dist/vendor/react-hooks/7.1.1/index.cjs +2 -0
  369. package/dist/vendor/react-hooks/7.1.1/production.cjs +55649 -0
  370. package/dist/vendor/react-hooks/7.1.1/provenance.json +26 -0
  371. package/docs/checks.md +164 -9
  372. package/docs/cli-reference.md +56 -4
  373. package/docs/privacy.md +18 -1
  374. package/docs/react-analysis.md +66 -0
  375. package/docs/reporting.md +17 -0
  376. package/docs/support.md +23 -0
  377. package/package.json +8 -2
  378. package/plugins/swarm/references/scan.md +2 -0
  379. package/schema/zedbee.schema.json +134 -2
@@ -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,9 +153,9 @@ 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
+ complete: "complete";
156
157
  truncated: "truncated";
157
158
  unavailable: "unavailable";
158
- complete: "complete";
159
159
  }>;
160
160
  finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
161
161
  check_id: z.ZodEnum<{
@@ -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,20 +217,115 @@ 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;
225
225
  repo_ai_detection_status: z.ZodEnum<{
226
226
  partial: "partial";
227
- unavailable: "unavailable";
228
227
  complete: "complete";
228
+ unavailable: "unavailable";
229
229
  }>;
230
230
  }, z.core.$strict>;
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,9 +453,9 @@ 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<{
456
+ complete: "complete";
361
457
  truncated: "truncated";
362
458
  unavailable: "unavailable";
363
- complete: "complete";
364
459
  }>;
365
460
  finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
366
461
  check_id: z.ZodEnum<{
@@ -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,15 +517,15 @@ 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;
430
525
  repo_ai_detection_status: z.ZodEnum<{
431
526
  partial: "partial";
432
- unavailable: "unavailable";
433
527
  complete: "complete";
528
+ unavailable: "unavailable";
434
529
  }>;
435
530
  event_id: z.ZodString;
436
531
  run_id: z.ZodString;
@@ -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,75 @@ 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";
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<{
668
+ formatting: "formatting";
669
+ lint: "lint";
670
+ types: "types";
671
+ cyclomaticComplexity: "cyclomaticComplexity";
672
+ readabilityComplexity: "readabilityComplexity";
673
+ structuralSecurity: "structuralSecurity";
674
+ secrets: "secrets";
675
+ duplication: "duplication";
676
+ dependencyArchitecture: "dependencyArchitecture";
677
+ deadCode: "deadCode";
678
+ reactCorrectness: "reactCorrectness";
679
+ reactAccessibility: "reactAccessibility";
680
+ vulnerabilities: "vulnerabilities";
585
681
  }>;
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<{
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<{
617
695
  formatting: "formatting";
618
696
  lint: "lint";
619
697
  types: "types";
@@ -627,8 +705,36 @@ export declare const telemetryBatchSchema: z.ZodObject<{
627
705
  reactCorrectness: "reactCorrectness";
628
706
  reactAccessibility: "reactAccessibility";
629
707
  vulnerabilities: "vulnerabilities";
630
- }>>>;
631
- enabled_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
708
+ zedbee: "zedbee";
709
+ }>;
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<{
632
738
  formatting: "formatting";
633
739
  lint: "lint";
634
740
  types: "types";
@@ -642,8 +748,458 @@ export declare const telemetryBatchSchema: z.ZodObject<{
642
748
  reactCorrectness: "reactCorrectness";
643
749
  reactAccessibility: "reactAccessibility";
644
750
  vulnerabilities: "vulnerabilities";
645
- }>>>;
646
- finding_count: z.ZodOptional<z.ZodNumber>;
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<{
1048
+ formatting: "formatting";
1049
+ lint: "lint";
1050
+ types: "types";
1051
+ cyclomaticComplexity: "cyclomaticComplexity";
1052
+ readabilityComplexity: "readabilityComplexity";
1053
+ structuralSecurity: "structuralSecurity";
1054
+ secrets: "secrets";
1055
+ duplication: "duplication";
1056
+ dependencyArchitecture: "dependencyArchitecture";
1057
+ deadCode: "deadCode";
1058
+ reactCorrectness: "reactCorrectness";
1059
+ reactAccessibility: "reactAccessibility";
1060
+ vulnerabilities: "vulnerabilities";
1061
+ }>;
1062
+ rule_id: z.ZodString;
1063
+ severity: z.ZodEnum<{
1064
+ error: "error";
1065
+ info: "info";
1066
+ warning: "warning";
1067
+ }>;
1068
+ count: z.ZodNumber;
1069
+ }, z.core.$strict>>>;
1070
+ finding_unmapped_count: z.ZodOptional<z.ZodNumber>;
1071
+ finding_omitted_count: z.ZodOptional<z.ZodNumber>;
1072
+ finding_counts_clipped: z.ZodOptional<z.ZodBoolean>;
1073
+ completed_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1074
+ formatting: "formatting";
1075
+ lint: "lint";
1076
+ types: "types";
1077
+ cyclomaticComplexity: "cyclomaticComplexity";
1078
+ readabilityComplexity: "readabilityComplexity";
1079
+ structuralSecurity: "structuralSecurity";
1080
+ secrets: "secrets";
1081
+ duplication: "duplication";
1082
+ dependencyArchitecture: "dependencyArchitecture";
1083
+ deadCode: "deadCode";
1084
+ reactCorrectness: "reactCorrectness";
1085
+ reactAccessibility: "reactAccessibility";
1086
+ vulnerabilities: "vulnerabilities";
1087
+ }>>>;
1088
+ ai_detection_version: z.ZodLiteral<1>;
1089
+ caller_ai_tool: z.ZodEnum<{
1090
+ unknown: "unknown";
1091
+ claude_code: "claude_code";
1092
+ codex: "codex";
1093
+ cursor: "cursor";
1094
+ ambiguous: "ambiguous";
1095
+ }>;
1096
+ caller_ai_tool_candidates: z.ZodArray<z.ZodEnum<{
1097
+ claude_code: "claude_code";
1098
+ codex: "codex";
1099
+ cursor: "cursor";
1100
+ }>>;
1101
+ caller_ai_tool_source: z.ZodEnum<{
1102
+ none: "none";
1103
+ environment_hint: "environment_hint";
1104
+ }>;
1105
+ detected_ai_tools: z.ZodArray<z.ZodEnum<{
1106
+ claude_code: "claude_code";
1107
+ codex: "codex";
1108
+ cursor: "cursor";
1109
+ }>>;
1110
+ generic_agent_instructions_detected: z.ZodBoolean;
1111
+ repo_ai_detection_status: z.ZodEnum<{
1112
+ partial: "partial";
1113
+ complete: "complete";
1114
+ unavailable: "unavailable";
1115
+ }>;
1116
+ event_id: z.ZodString;
1117
+ run_id: z.ZodString;
1118
+ timestamp: z.ZodString;
1119
+ version: z.ZodString;
1120
+ os: z.ZodEnum<{
1121
+ darwin: "darwin";
1122
+ linux: "linux";
1123
+ win32: "win32";
1124
+ other: "other";
1125
+ }>;
1126
+ arch: z.ZodEnum<{
1127
+ other: "other";
1128
+ x64: "x64";
1129
+ arm64: "arm64";
1130
+ ia32: "ia32";
1131
+ arm: "arm";
1132
+ }>;
1133
+ node_major: z.ZodNumber;
1134
+ environment: z.ZodEnum<{
1135
+ ci: "ci";
1136
+ ci_not_detected: "ci_not_detected";
1137
+ }>;
1138
+ invocation_source: z.ZodEnum<{
1139
+ git_hook: "git_hook";
1140
+ unspecified: "unspecified";
1141
+ }>;
1142
+ installation_id: z.ZodOptional<z.ZodString>;
1143
+ ci_execution_id: z.ZodOptional<z.ZodString>;
1144
+ ci_provider: z.ZodOptional<z.ZodEnum<{
1145
+ unknown: "unknown";
1146
+ github_actions: "github_actions";
1147
+ gitlab_ci: "gitlab_ci";
1148
+ generic: "generic";
1149
+ }>>;
1150
+ scan_mode: z.ZodOptional<z.ZodEnum<{
1151
+ base: "base";
1152
+ staged: "staged";
1153
+ }>>;
1154
+ output_format: z.ZodOptional<z.ZodEnum<{
1155
+ json: "json";
1156
+ auto: "auto";
1157
+ ink: "ink";
1158
+ text: "text";
1159
+ sarif: "sarif";
1160
+ }>>;
1161
+ outcome: z.ZodOptional<z.ZodEnum<{
1162
+ pass: "pass";
1163
+ blocked: "blocked";
1164
+ incomplete: "incomplete";
1165
+ completed: "completed";
1166
+ cancelled: "cancelled";
1167
+ preview: "preview";
1168
+ applied: "applied";
1169
+ }>>;
1170
+ duration_ms: z.ZodOptional<z.ZodNumber>;
1171
+ empty_input: z.ZodOptional<z.ZodBoolean>;
1172
+ check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1173
+ formatting: "formatting";
1174
+ lint: "lint";
1175
+ types: "types";
1176
+ cyclomaticComplexity: "cyclomaticComplexity";
1177
+ readabilityComplexity: "readabilityComplexity";
1178
+ structuralSecurity: "structuralSecurity";
1179
+ secrets: "secrets";
1180
+ duplication: "duplication";
1181
+ dependencyArchitecture: "dependencyArchitecture";
1182
+ deadCode: "deadCode";
1183
+ reactCorrectness: "reactCorrectness";
1184
+ reactAccessibility: "reactAccessibility";
1185
+ vulnerabilities: "vulnerabilities";
1186
+ }>>>;
1187
+ enabled_check_ids: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1188
+ formatting: "formatting";
1189
+ lint: "lint";
1190
+ types: "types";
1191
+ cyclomaticComplexity: "cyclomaticComplexity";
1192
+ readabilityComplexity: "readabilityComplexity";
1193
+ structuralSecurity: "structuralSecurity";
1194
+ secrets: "secrets";
1195
+ duplication: "duplication";
1196
+ dependencyArchitecture: "dependencyArchitecture";
1197
+ deadCode: "deadCode";
1198
+ reactCorrectness: "reactCorrectness";
1199
+ reactAccessibility: "reactAccessibility";
1200
+ vulnerabilities: "vulnerabilities";
1201
+ }>>>;
1202
+ finding_count: z.ZodOptional<z.ZodNumber>;
647
1203
  applied_count: z.ZodOptional<z.ZodNumber>;
648
1204
  skipped_count: z.ZodOptional<z.ZodNumber>;
649
1205
  profile: z.ZodOptional<z.ZodEnum<{
@@ -653,24 +1209,115 @@ export declare const telemetryBatchSchema: z.ZodObject<{
653
1209
  thorough: "thorough";
654
1210
  }>>;
655
1211
  hook: z.ZodOptional<z.ZodEnum<{
1212
+ custom: "custom";
656
1213
  none: "none";
657
1214
  auto: "auto";
658
- custom: "custom";
659
- raw: "raw";
660
- "simple-git-hooks": "simple-git-hooks";
661
1215
  tracked: "tracked";
662
1216
  husky: "husky";
663
1217
  lefthook: "lefthook";
1218
+ "simple-git-hooks": "simple-git-hooks";
1219
+ raw: "raw";
664
1220
  }>>;
665
1221
  }, z.core.$strict>, z.ZodObject<{
666
- schema_version: z.ZodLiteral<2>;
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;
667
1314
  event: z.ZodLiteral<"scan_finished">;
668
1315
  command: z.ZodLiteral<"scan">;
669
1316
  finding_breakdown_version: z.ZodLiteral<1>;
670
1317
  finding_breakdown_status: z.ZodEnum<{
1318
+ complete: "complete";
671
1319
  truncated: "truncated";
672
1320
  unavailable: "unavailable";
673
- complete: "complete";
674
1321
  }>;
675
1322
  finding_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
676
1323
  check_id: z.ZodEnum<{
@@ -717,14 +1364,14 @@ export declare const telemetryBatchSchema: z.ZodObject<{
717
1364
  ai_detection_version: z.ZodLiteral<1>;
718
1365
  caller_ai_tool: z.ZodEnum<{
719
1366
  unknown: "unknown";
720
- codex: "codex";
721
1367
  claude_code: "claude_code";
1368
+ codex: "codex";
722
1369
  cursor: "cursor";
723
1370
  ambiguous: "ambiguous";
724
1371
  }>;
725
1372
  caller_ai_tool_candidates: z.ZodArray<z.ZodEnum<{
726
- codex: "codex";
727
1373
  claude_code: "claude_code";
1374
+ codex: "codex";
728
1375
  cursor: "cursor";
729
1376
  }>>;
730
1377
  caller_ai_tool_source: z.ZodEnum<{
@@ -732,15 +1379,15 @@ export declare const telemetryBatchSchema: z.ZodObject<{
732
1379
  environment_hint: "environment_hint";
733
1380
  }>;
734
1381
  detected_ai_tools: z.ZodArray<z.ZodEnum<{
735
- codex: "codex";
736
1382
  claude_code: "claude_code";
1383
+ codex: "codex";
737
1384
  cursor: "cursor";
738
1385
  }>>;
739
1386
  generic_agent_instructions_detected: z.ZodBoolean;
740
1387
  repo_ai_detection_status: z.ZodEnum<{
741
1388
  partial: "partial";
742
- unavailable: "unavailable";
743
1389
  complete: "complete";
1390
+ unavailable: "unavailable";
744
1391
  }>;
745
1392
  event_id: z.ZodString;
746
1393
  run_id: z.ZodString;
@@ -754,10 +1401,10 @@ export declare const telemetryBatchSchema: z.ZodObject<{
754
1401
  }>;
755
1402
  arch: z.ZodEnum<{
756
1403
  other: "other";
757
- arm: "arm";
1404
+ x64: "x64";
758
1405
  arm64: "arm64";
759
1406
  ia32: "ia32";
760
- x64: "x64";
1407
+ arm: "arm";
761
1408
  }>;
762
1409
  node_major: z.ZodNumber;
763
1410
  environment: z.ZodEnum<{
@@ -777,24 +1424,24 @@ export declare const telemetryBatchSchema: z.ZodObject<{
777
1424
  generic: "generic";
778
1425
  }>>;
779
1426
  scan_mode: z.ZodOptional<z.ZodEnum<{
780
- staged: "staged";
781
1427
  base: "base";
1428
+ staged: "staged";
782
1429
  }>>;
783
1430
  output_format: z.ZodOptional<z.ZodEnum<{
784
- auto: "auto";
785
1431
  json: "json";
786
- text: "text";
1432
+ auto: "auto";
787
1433
  ink: "ink";
1434
+ text: "text";
788
1435
  sarif: "sarif";
789
1436
  }>>;
790
1437
  outcome: z.ZodOptional<z.ZodEnum<{
791
- completed: "completed";
792
- incomplete: "incomplete";
793
1438
  pass: "pass";
794
1439
  blocked: "blocked";
1440
+ incomplete: "incomplete";
1441
+ completed: "completed";
1442
+ cancelled: "cancelled";
795
1443
  preview: "preview";
796
1444
  applied: "applied";
797
- cancelled: "cancelled";
798
1445
  }>>;
799
1446
  duration_ms: z.ZodOptional<z.ZodNumber>;
800
1447
  empty_input: z.ZodOptional<z.ZodBoolean>;
@@ -838,14 +1485,14 @@ export declare const telemetryBatchSchema: z.ZodObject<{
838
1485
  thorough: "thorough";
839
1486
  }>>;
840
1487
  hook: z.ZodOptional<z.ZodEnum<{
1488
+ custom: "custom";
841
1489
  none: "none";
842
1490
  auto: "auto";
843
- custom: "custom";
844
- raw: "raw";
845
- "simple-git-hooks": "simple-git-hooks";
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>;