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
@@ -0,0 +1,26 @@
1
+ {
2
+ "version": "7.1.1",
3
+ "revision": "effect-timing-v1",
4
+ "referenceCommits": [
5
+ "d083ec1da1e5252abd3ddfdde6dfbc09701a2c51"
6
+ ],
7
+ "inputs": {
8
+ "development": {
9
+ "sha256": "d401e94560ab2660e40fe59a3408828b96d78e9929a22358386aa51acbe32e2b",
10
+ "regionSha256": "8e08df3504be2f1cc809bc5adba5668af338e95da9cf71d8da0cd6df682b6047"
11
+ },
12
+ "production": {
13
+ "sha256": "0804a982675cb73e81b870e29ec3ddcbba959ed722afc2cc42ad14d4a99cd27a",
14
+ "regionSha256": "8e08df3504be2f1cc809bc5adba5668af338e95da9cf71d8da0cd6df682b6047"
15
+ }
16
+ },
17
+ "licenseSha256": "da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93",
18
+ "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==",
19
+ "analysisSha256": "7f63292231ae069cb3381182e72fa6f3d4f3cc44d00e2d64094edcc2a6353e12",
20
+ "files": {
21
+ "development.cjs": "0a5b751225380d1b65ca8fe25c44af4b25125a88b1fca284d9650eae2f4e4175",
22
+ "production.cjs": "6b88f6e0777a4a03e2b8667c4550d780bd01dd6e471b608f6e06b260314ad8a4",
23
+ "index.cjs": "983808bd4288084de6223487308109b9447ada19ab81ab7782c8dc72e42c11ab",
24
+ "LICENSE": "da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93"
25
+ }
26
+ }
package/docs/checks.md CHANGED
@@ -48,9 +48,9 @@ formatting to every unchanged file.
48
48
  | `secrets` | Secretlint 13.0.5 recommended preset | Compares redacted baseline/target locations; an ephemeral keyed source-range digest detects same-location replacement | Scans changed regular UTF-8 files up to 1 MiB, not Git history; pattern matches can need review |
49
49
  | `duplication` | jscpd clone detection and repository duplication percentage | Compares whole workspaces and attributes new clone regions/project regressions | Large source lists can exceed an operating-system argument limit |
50
50
  | `dependencyArchitecture` | Dependency Cruiser cycles and invalid dependency edges | Compares the workspace module graph | Uses managed rules, not a project's executable dependency-cruiser config |
51
- | `deadCode` | Knip unused files, exports, and dependency hygiene | Compares each workspace as a project; saved findings require validated snapshot inputs and package-absence guards | Framework plugins are disabled; dynamic framework conventions can require future managed profiles |
51
+ | `deadCode` | Knip unused files, exports, and dependency hygiene | Compares each workspace as a project; saved findings require validated snapshot inputs and package-absence guards | Framework plugins are disabled; custom Vite inputs need explicit entries |
52
52
  | `reactCorrectness` | React, Hooks, and JSX correctness | Runs only in discovered React/Ink/Next/Remix workspaces; calibrates each baseline/target workspace from staged dependency data | Uses the staged manifest, an unambiguous supported lockfile when available, then the managed React 19.2 fallback |
53
- | `reactAccessibility` | React DOM JSX accessibility | Runs only for React DOM, Next.js, and Remix—not Ink terminal UI | Static JSX rules cannot prove runtime accessibility |
53
+ | `reactAccessibility` | Static JSX accessibility checks | Runs only for React DOM, Next.js, and Remix—not Ink terminal UI | Static JSX rules cannot prove runtime accessibility |
54
54
  | `vulnerabilities` | Zedbee's bounded OSV API v1 client | Compares advisory/package/dependency-path state when supported lockfiles change or timing is `always` | Online only; discloses package name, exact version, and npm ecosystem identifier to `api.osv.dev` |
55
55
 
56
56
  ## Incomplete staged inputs
@@ -78,7 +78,24 @@ When a possible compiler input changes, both checks still conservatively check
78
78
  every discovered workspace containing TypeScript sources, including unchanged
79
79
  consumers and sibling workspaces. Both compare findings across the project,
80
80
  including unchanged files. Existing
81
- baseline findings remain non-blocking when unchanged source moves or is renamed.
81
+ baseline findings remain non-blocking when their supported comparison identities
82
+ remain unchanged. File renames and unchanged spans retain location pairing.
83
+ For complexity and `react/no-unescaped-entities`, selected source deletions and
84
+ extractions can also preserve baseline debt across files or workspaces, under
85
+ equivalent effective policy. Matching reserves retained originals, then requires
86
+ a unique removed entity and a unique destination with the same full syntax and
87
+ lexical ownership. Ordinary comments and token spacing may change; string
88
+ literals, JSX text, export wrappers, directives, and declaration ownership must
89
+ remain compatible. Copies, ambiguous duplicates, modified extracted bodies, and
90
+ policy changes receive no cross-file exemption. Parser/capture failures or move
91
+ budgets conservatively leave findings unmatched; affected finding evidence
92
+ identifies the fallback. This does not establish semantic equivalence: new
93
+ missing imports, scope errors, type errors, and other lint findings still use
94
+ their own comparison rules. Move discovery reads only selected captured source
95
+ changes, with limits of 128 files, 4 MiB total, 512 KiB per file, 10,000 entities,
96
+ 250,000 syntax tokens, and two seconds of matching. Nested/anonymous/member
97
+ functions require compatible syntax ownership; unsupported rearrangements may
98
+ remain new debt.
82
99
  File policies still control which lint findings are enabled. `when: "always"`
83
100
  retains full project comparison for a nonempty changeset even when its changed
84
101
  paths would otherwise be unrelated. Other analyzers retain their own input
@@ -168,10 +185,16 @@ Exactly seven configurable checks expose settings beyond severity and timing:
168
185
  | `readabilityComplexity` | Positive safe-integer `max`; Boolean `blockWorsening` | `max: 15`, `blockWorsening: true`; file-scoped |
169
186
  | `duplication` | Percentage `threshold`; `settings.minLines`, `settings.minTokens`, and `settings.mode` | `threshold: 5`, `minLines: 5`, `minTokens: 50`, `mode: "mild"`; workspace-wide |
170
187
  | `reactCorrectness` | Bundled React and Hooks `rules` | File-scoped and limited to rule IDs Zedbee ships |
171
- | `reactAccessibility` | Bundled jsx-a11y `rules` | File-scoped and limited to rule IDs Zedbee ships |
188
+ | `reactAccessibility` | Bundled jsx-a11y `rules` and custom component/attribute/polymorphic `settings` | File-scoped and limited to rule IDs Zedbee ships |
172
189
 
173
190
  A target-only score above `max` and a staged score that crosses `max` are blocking. `blockWorsening: true` additionally blocks an increase when both the baseline and target were already above `max`; set it to `false` to tolerate that above-limit worsening while teams pay down existing debt. Duplication `threshold` accepts 0 through 100. `minLines` and `minTokens` are positive safe integers. Duplication mode is one of `strict`, `mild`, or `weak`.
174
191
 
192
+ `reactAccessibility.settings` accepts only `components` (component-to-element map),
193
+ `attributes` (DOM attribute-to-JSX-properties arrays), `polymorphicPropName`, and
194
+ `polymorphicAllowList`. Settings are file-scoped and default to no custom mappings.
195
+ See [static JSX accessibility examples and limitations](react-analysis.md#static-jsx-accessibility-checks).
196
+ These checks cannot certify runtime accessibility.
197
+
175
198
  ### Prettier settings
176
199
 
177
200
  Formatting scans and fixes leave generated package-manager lockfiles alone:
@@ -365,3 +388,189 @@ Framework entries use Knip's entry-export exemption, so their exports are not
365
388
  checked for exact framework consumption. Reachable library exports still receive
366
389
  normal analysis. Custom `pageExtensions`, MDX/custom compilers and
367
390
  `next <command> <subdirectory>` discovery are outside these default conventions.
391
+
392
+ Vite dead-code analysis recognizes captured `<workspace>/index.html` in workspaces
393
+ that declare `vite`. Local `<script type="module" src="...">` references root
394
+ existing, owned JavaScript/TypeScript sources (js/jsx/mjs/cjs/ts/tsx/mts/cts).
395
+ Root-relative URLs resolve against that workspace; relative URLs resolve against
396
+ the HTML file. HTML tag/attribute names are case-insensitive, while the module
397
+ type value is exactly `module`, matching Vite. Attribute character references and
398
+ one level of URL percent encoding are decoded; query strings and fragments are
399
+ removed for file resolution. Loading modifiers such as `?raw`, `?url` and `?worker`
400
+ require explicit source entries. Comments, inert template/noscript content,
401
+ classic scripts and external/data URLs contribute no local entries. The first
402
+ occurrence of a duplicate attribute wins.
403
+
404
+ Additional entries belong only in the repository's root policy:
405
+
406
+ ```jsonc
407
+ {
408
+ "checks": {
409
+ "deadCode": {
410
+ "severity": "error",
411
+ "entryPoints": ["web/pages/admin.html", "web/src/custom-bootstrap.ts"],
412
+ },
413
+ },
414
+ }
415
+ ```
416
+
417
+ `entryPoints` contains at most 256 exact repository-relative source or HTML paths,
418
+ without globs, URLs or `..` components. Each path must exist in the selected target
419
+ and belong to one discovered workspace; contained symlinks must retain the same
420
+ canonical workspace owner. A newly added entry may be absent in the baseline.
421
+ Explicit HTML uses the same parser and its owning workspace as the root for
422
+ absolute URLs. Entries union with supported automatic/package entries. Root values
423
+ and repository provenance appear in `zedbee checks`; file overrides cannot set
424
+ `entryPoints`. Changing only the selected policy file (including a custom
425
+ `--config` JSONC path) schedules entry validation. Baseline and target graphs use
426
+ their own captured policy entry lists, so removing or retargeting an entry can
427
+ introduce a newly unused file without a source edit.
428
+
429
+ Vite configuration is analyzed as inert source, following imports without
430
+ executing it or loading Vite's Knip plugin. Only the first default configuration
431
+ in Vite's order (js, mjs, ts, cjs, mts, cts) is rooted; shadowed configurations remain
432
+ ordinary source. A concrete supported HTML module entry exempts only `vite` from
433
+ unused dependency reporting. Plugins and other development dependencies retain
434
+ normal checks. Entry exports receive Knip's entry-export exemption; unused exports
435
+ in reachable libraries and genuinely orphaned files are still reported.
436
+
437
+ Automatic support is limited to the default root and HTML module convention.
438
+ Custom roots, build/library or multi-page inputs, inline modules, `vite-ignore`,
439
+ HTML base URLs, virtual modules and plugin-injected entries require explicit
440
+ source entries describing every application entry. Detected custom root/build
441
+ properties, including shorthand properties, require explicit sources. Opaque
442
+ spreads, re-exported configurations, and dynamic exports also require explicit
443
+ sources; supported static object and `defineConfig` object exports are read
444
+ without evaluation. Automatic default HTML is not guessed
445
+ for custom or opaque configurations. Explicit source entries also cover inline/ignored modules and loading-modifier
446
+ references; those unsupported references are then covered by the supplied source
447
+ list rather than guessed from their URLs. Other supported local module references still contribute entries under the
448
+ default root. The configuration is not evaluated, so arbitrary dynamic settings
449
+ and plugin behavior cannot be inferred. Merely declaring Vite without default
450
+ HTML does not invent a bootstrap filename: provide entries for custom setups.
451
+
452
+ Missing/unsafe module references and unsupported HTML inputs yield an actionable
453
+ incomplete check instead of misleading unused-file findings. HTML parsing is
454
+ limited to 256 KiB and 16,384 visited nodes per file. HTML/configuration/explicit
455
+ inputs, including relevant absence probes, participate in captured analysis and
456
+ cache validation. HTML-only additions, edits, renames and removals schedule
457
+ workspace dead-code analysis; they do not schedule unrelated graph/type checks.
458
+
459
+ ### Synthetic credentials in fixtures
460
+
461
+ Secretlint can recognize a deliberately fake database URL as a credential. For a confirmed synthetic fixture, suppress just the database rule on the next line, with a reason:
462
+
463
+ ```python
464
+ # secretlint-disable-next-line @secretlint/secretlint-rule-database-connection-string -- Synthetic redaction fixture
465
+ DATABASE_URL = "postgresql://fixture:fake_password@db.example.invalid/test"
466
+ ```
467
+
468
+ ```javascript
469
+ // secretlint-disable-next-line @secretlint/secretlint-rule-database-connection-string -- Synthetic redaction fixture
470
+ const databaseUrl =
471
+ "postgresql://fixture:fake_password@db.example.invalid/test";
472
+ ```
473
+
474
+ Stage the annotation together with the fixture. It suppresses the named rule on that one line; other rules and adjacent lines remain protected. This is an intentional suppression, not verification that a credential is fake. Remove and rotate real credentials. Test directories and localhost URLs are not automatically exempt.
475
+
476
+ For dedicated fixture files, an exact-file `pathExclusions` entry with `checks: ["secrets"]` and a reason is also supported. That excludes the whole file from that check and is broader than the next-line annotation.
477
+
478
+ ### Experimental project ESLint
479
+
480
+ Swarm's default lint mode uses its bundled rules. To use your project's own
481
+ ESLint, run `zedbee init --eslint-engine project` and review the proposal.
482
+ Project configuration and plugins execute JavaScript with your user privileges;
483
+ setup asks for separate ESLint execution trust. Prettier trust does not grant it.
484
+ For an explicit noninteractive setup, use
485
+ `zedbee init --eslint-engine project --trust-project-eslint --yes`.
486
+
487
+ You can also select `checks.lint.engine: "project"` in `.zedbeerc.jsonc`.
488
+ A workspace override must select its entire subtree, for example
489
+ `"files": ["packages/web/**"]`; individual-file engine selection is rejected.
490
+ Use `zedbee doctor` to inspect configuration, installation, and saved trust
491
+ without executing your project configuration.
492
+
493
+ Within a selected workspace, project ESLint supplies lint, React, and JSX
494
+ accessibility rules. Swarm shows its separate managed React checks as covered
495
+ by project ESLint; that does not establish that your configuration enables
496
+ accessibility rules. Formatting, complexity, secrets, and other independent
497
+ checks remain separate. Explicit managed rule/settings or React severity
498
+ settings must be resolved before selecting project mode; setup preserves and
499
+ explains conflicts instead of silently discarding them.
500
+
501
+ The initial supported environment is installed **ESLint 9.39.5**, JavaScript flat
502
+ configuration (`eslint.config.js`, `.mjs`, or `.cjs`), ordinary local node_modules,
503
+ and an npm package-lock v2 or v3 matching the selected target's direct installed
504
+ dependencies. Swarm does not automatically install dependencies. Legacy
505
+ `.eslintrc`, processors, TypeScript configuration modules, Yarn PnP, and extra
506
+ file formats are outside this initial boundary. Captured files over 32 MiB or a mirror that cannot reproduce every captured input make project analysis incomplete rather than silently omitting data. Next.js, Jest, and import-plugin
507
+ combinations have not yet been certified by the compatibility fixtures. Plugin
508
+ results use ESLint's standard interface; unsupported execution or a plugin crash
509
+ is incomplete analysis, with no silent managed fallback. Project-rule automatic
510
+ fixes are not enabled.
511
+
512
+ Project mode analyzes captured source and local configuration imports. Both
513
+ baseline and target configurations run in fresh processes using the target's
514
+ validated installed toolchain; Swarm does not recreate historical installations.
515
+ A newly introduced configuration can establish new coverage without a baseline
516
+ config. A broken existing baseline remains incomplete. Configurations requiring
517
+ external local files, live checkout paths, network state, or extra environment
518
+ variables are not guaranteed to reproduce. The worker receives PATH, fixed locale,
519
+ a temporary HOME/TMPDIR, and Windows system paths where needed.
520
+
521
+ A project plugin can inspect files beyond the source file it reports on, so
522
+ project mode runs its configured JS/TS scope for every nonempty repository
523
+ change, including Markdown and deletion-only changes. It does not use persistent
524
+ result caching. This can take longer than managed mode. An all-ignored scope is
525
+ reported as skipped, rather than a successful lint run. JSON check results expose
526
+ `eslintAnalysis` with the installed version, checked/ignored/excluded counts, baseline
527
+ comparison state, and effective message policy.
528
+
529
+ Project findings preserve rule IDs, severity, and locations. Messages are
530
+ redacted by default because plugins can quote source. Setting
531
+ `reporting.projectEslintMessages: "full"` also requires separate local permission;
532
+ setup offers this separately, or use `--allow-project-eslint-messages` with the
533
+ explicit project setup command. Without permission, analysis continues with
534
+ redacted messages. Full local messages can contain source in terminal and saved
535
+ JSON reports. Source-bearing messages and private rule identifiers are not sent
536
+ to telemetry. Returning to managed mode does not remove reports already written.
537
+
538
+ ### Rule severity and focusable separators
539
+
540
+ For bundled lint, React, and accessibility rules, an explicit per-rule `warn`
541
+ remains a warning under an `error` check. Check-level `warn` limits enabled rules
542
+ to warnings; check or rule `off` disables its applicable scope. Numeric and array
543
+ rule forms follow the same precedence. An error from another enabled rule still
544
+ blocks the commit.
545
+
546
+ Swarm corrects jsx-a11y 6.10.2's treatment of a literal focusable
547
+ `role="separator"` with `aria-valuenow`: that pattern is an ARIA window splitter,
548
+ including programmatic focus through `tabIndex={-1}`. Plain unfocusable separators
549
+ with keyboard handlers and statically missing current values still report.
550
+ Ambiguous spread attributes do not receive the exception. This correction applies
551
+ to Swarm's managed engine; project ESLint retains the project's own plugin version
552
+ and behavior. It is a static check, not proof of runtime accessibility.
553
+
554
+ An existing JSX interaction finding can span an entire opening element, including
555
+ inline handlers. Swarm pairs an existing occurrence through its unchanged opening
556
+ line even when harmless handler edits expand the diagnostic range. A replacement
557
+ opening line or newly added occurrence is not exempt merely because it reuses a
558
+ line number.
559
+
560
+ The managed `react-hooks/set-state-in-effect` implementation includes a
561
+ versioned correction for state updates across waits and local effect helpers.
562
+ An async wrapper does not make an immediate update safe. See
563
+ [React analysis](react-analysis.md#state-updates-across-async-effect-helpers)
564
+ for its scope and the distinction from native project ESLint behavior.
565
+
566
+ Managed type and lint checks distinguish verified unavailable installation inputs from source errors. An incomplete comparison reports setup guidance; it does not suppress genuine new unresolved imports or removed exports. Existing relevance decisions still skip unaffected workspaces. Diagnostic messages can retain reviewed local names; see [reporting](reporting.md#diagnostic-message-detail) for contextual and source-free output.
567
+
568
+ Compiler checks conservatively include sibling workspaces when a source change
569
+ might affect them. A bounded exception avoids an unchanged sibling project only
570
+ when both snapshots prove it is self-contained: one local tsconfig including
571
+ `src`, no inherited configuration or references, explicit empty `types`, and
572
+ ordinary TypeScript modules with no imports, references, ambient augmentations,
573
+ or calls.
574
+ Unsupported configurations, JSX, ambient declarations, symlinks, missing data,
575
+ and proof limits retain conservative coverage. This is deliberately narrower
576
+ than assuming that a file outside the edited folder cannot be affected.
@@ -478,7 +478,34 @@ See [the complete check matrix](checks.md), [support matrix](support.md), [priva
478
478
  - For files intentionally outside every TypeScript project, a file override can set `checks.lint.typeInformation` to `"when-available"`. Zedbee then runs basic TypeScript lint without rules that require type information. The default is `"required"`; Zedbee never reduces coverage silently.
479
479
  - Intent-to-add entries are excluded from index mode as unstaged. Git LFS pointers, submodule pointers, and binary inputs selected by enabled text/source checks remain incomplete in either source mode with every affected path reported; use `pathExclusions` to intentionally suppress paths for specific checks.
480
480
  - OSV connectivity failures follow `checks.vulnerabilities.onUnavailable`: `block` fails closed, while `warn` reports the incomplete check and permits the commit if nothing else blocks.
481
- - If a hook cannot find Zedbee, restore the project-local dev dependency; generated hooks deliberately use `npx --no-install`.
481
+ - If a hook cannot find Zedbee, restore this checkout's dependencies using the repository's package-manager instructions. Fresh worktrees need their own available installation. Current generated hooks check their selected local CLI before starting Node and explain when no scan ran; they do not download a replacement or use another checkout's copy. Missing dependencies required by a running check are reported separately as incomplete analysis.
482
+ - Upgrading the installed package alone does not rewrite existing hooks. Run `zedbee init` to preview and apply the generated hook refresh. Custom hook commands are preserved and need a manual update. Lefthook and simple-git-hooks still require their normal activation step when setup reports activation as pending.
482
483
  - pnpm and modern Yarn lockfiles that use YAML alias references (including anchor-based reuse) make vulnerability analysis incomplete. Zedbee deliberately disables alias expansion to keep lockfile parsing bounded. Regenerate the lockfile with the package manager rather than hand-authoring reusable YAML nodes.
483
484
  - If a repository commits a package beneath `node_modules` and source code imports it, managed Knip analysis is incomplete. Zedbee refuses to let snapshot-controlled packages participate in analyzer module resolution; remove the committed package and restore dependencies through the package manager and lockfile.
484
485
  - Very large jscpd source lists can exceed the operating system argument limit, and framework-heavy Knip projects may need future managed profiles. Both cases are reported rather than silently skipped.
486
+
487
+ ### Selected changes and check coverage
488
+
489
+ Scan output distinguishes completed, skipped and incomplete check executions. Multiple workspace targets can contribute separate executions. Disabled checks are not counted as skipped. When every reported check is skipped, an allowed result says no applicable checks ran; when the execution list is empty, it says no checks ran for the selected changes. Neither claims that code was validated.
490
+
491
+ Optional JSON `changeSummary` contains `added`, `modified`, `deleted` and `renamed` path counts from the selected index or commit comparison. Renames count once. The field is absent when change discovery failed and for combined merge comparisons. Existing `summary.passed` still counts completed executions without findings.
492
+
493
+ A scan does not know whether an earlier staging command failed. Chain staging and committing with `&&` and review the selected changes; see [staging troubleshooting](support.md#staging-and-deletion-only-commits).
494
+
495
+ Experimental ESLint setup options for `zedbee init`:
496
+
497
+ - `--eslint-engine managed|project`: select bundled rules or the project's installed ESLint.
498
+ - `--trust-project-eslint`: explicitly grant execution trust when applying project setup.
499
+ - `--allow-project-eslint-messages`: separately allow source-bearing diagnostic text in local reports.
500
+
501
+ Review the experimental support boundary in [Checks](checks.md#experimental-project-eslint)
502
+ before choosing project mode. `zedbee doctor` inspects installation, flat config,
503
+ and stored trust as data, without executing the configuration.
504
+
505
+ ### Managed diagnostic messages
506
+
507
+ `zedbee scan --diagnostic-messages contextual` preserves reviewed module, member and function descriptions in local output. This is the default. `--diagnostic-messages source-free` requests trusted source-free explanations. Combine it with `--no-source` for a report without diagnostic names or source excerpts. The repository setting is `reporting.diagnosticMessages`; the CLI choice overrides it.
508
+
509
+ Contextual output is local reporting, including temporary JSON reports, and can contain source-derived names. Sensitive or unsupported details are withheld with redaction metadata. Telemetry, ordinary progress events and persistent observation-cache prose remain source-free. Native project ESLint full messages still require their separate local permission.
510
+
511
+ The managed source-free option does not override separately authorized full project ESLint messages. When sharing a report from project ESLint mode, also set `reporting.projectEslintMessages` to `"redacted"`.
package/docs/privacy.md CHANGED
@@ -239,7 +239,9 @@ and is not included in scan findings, temporary reports, or structured exports.
239
239
 
240
240
  Syntax entity names, including quoted member keys and lexical owners, and Knip issue names become deterministic opaque digests before attribution or cache persistence. Structural ownership markers remain available for comparison, without retaining the original names. Prior cache payload versions are rejected; upgrades do not retroactively erase old cache files or exported reports.
241
241
 
242
- TypeScript, lint, and React diagnostics use explanations from the bundled compiler and managed rule metadata. Substituted source values appear as `[source]`, so credentials that require surrounding source context to detect cannot leak through diagnostic messages. Private message digests preserve comparison between diagnostics without storing their original prose. Cached diagnostic messages are checked against the same trusted explanations before reuse. Existing cache files and previously exported reports are not retroactively erased by an upgrade.
242
+ Managed TypeScript, lint, and React diagnostics default to contextual local messages. Supported messages retain useful module, member, and function-category names after targeted redaction. Local terminal output and JSON or temporary reports can therefore contain source-derived names. Secret detection is best-effort; unsupported or uncertain detail is withheld with a redaction reason. For strict source-free output, set `reporting.diagnosticMessages` to `"source-free"` or pass `--diagnostic-messages source-free`. This setting is independent of source excerpts: use `--no-source` as well when sharing a report that must contain neither diagnostic names nor source lines.
243
+
244
+ Diagnostic details are bounded to the current scan and reviewed before crossing analyzer IPC. Persistent analysis caches and ordinary progress events retain source-free diagnostic prose; private comparison digests preserve semantic matching without storing original messages. A contextual scan may rerun the affected analyzer on a cache hit to recover details from immutable inputs. Telemetry never receives diagnostic prose or source names. Native project ESLint retains its separate full-message consent requirement. Existing cache files and previously exported reports are not retroactively erased by an upgrade.
243
245
 
244
246
  When enabled, the content-addressed cache stores only schema-validated normalized observations and integrity metadata from audited analyzers. TypeScript, lint, and Knip entries include private input fingerprints: content digests, scoped path identifiers, directory listings, and missing-file observations. Knip's scope remains the selected snapshot, including guards against installed packages entering resolution; its captured filesystem does not grant access to outside source bytes. Captured bytes remain in memory for analysis and are not saved in this cache. Zedbee rechecks fingerprints before reusing results; incomplete metadata disables caching for that result. Each internal Knip worker exits before its snapshot is released. New or unknown checks remain uncached until their inputs are audited. Installed engine identities come from the package metadata shipped with the active installation; missing identity metadata disables caching for that check. The cache must never store source, detected secret values, raw analyzer output, absolute snapshot paths, or online response bodies. Corrupt, ineligible, or incompatible entries are treated as misses.
245
247
 
@@ -258,3 +260,31 @@ Report cleanup and write warnings are non-blocking maintenance diagnostics. Zedb
258
260
  ## Agent and CI output
259
261
 
260
262
  Explicit `--format text`, `--format json`, and `--format sarif` are complete surfaces with no terminal finding cap and no automatic report file. JSON and SARIF are stable machine surfaces; SARIF is emitted as a complete SARIF 2.1.0 report for enterprise ingestion. Both structured formats use repository-relative paths, deterministic ordering, stable finding IDs, explicit attribution evidence, and the same online disclosures as the interactive experience. ANSI decoration and animation are never included.
263
+
264
+ Project ESLint configuration and plugins require separate local execution trust.
265
+ Their diagnostic text is redacted by default. Full project messages require an
266
+ additional permission because they may quote source; when permitted, that text
267
+ may appear in terminal and local JSON reports. Revoking permission affects future
268
+ reports, not copies already saved. Arbitrary project diagnostic text, private
269
+ plugin rule names, source, and paths are excluded from telemetry. Supervised
270
+ processes provide cancellation and failure isolation, not a sandbox for trusted
271
+ configuration code.
272
+
273
+ The managed source-free option does not override separately authorized full project ESLint messages. When sharing a report from project ESLint mode, also set `reporting.projectEslintMessages` to `"redacted"`.
274
+
275
+ ### Performance diagnostics
276
+
277
+ Completed scan telemetry can include bounded totals by check: elapsed, worker queue and execution milliseconds, cache hits/misses/bypasses, a changed-file-count bucket, execution mode, and approved incomplete-error codes. These retain everyday local usage. They contain no repository/workspace names, file paths, source, or raw error messages. Overlapping check durations are not CPU time or an additive scan-duration breakdown. Older clients may omit these details. Existing opt-out settings apply.
278
+
279
+ Temporary report maintenance uses the current invocation's age policy for all
280
+ tracked scan/fix reports at the same physical checkout. A later shorter policy
281
+ can therefore expire an earlier report; separate checkout roots are isolated.
282
+ OS or external cleanup may remove temporary files sooner. Use explicit JSON or
283
+ SARIF redirection outside OS temporary storage for durable investigation files;
284
+ see [reporting and exports](reporting.md#explicit-complete-exports).
285
+
286
+ The optional `--diagnostics` maintenance record is local stderr output, not
287
+ telemetry. It contains bounded counts, effective age policy, protocol/state
288
+ recovery status, and write/capacity outcome, with no report contents, filenames,
289
+ or source/repository/temporary paths. Actual expiry removals and already-missing
290
+ tracked entries are counted separately; an external deletion's cause is unknown.
@@ -37,3 +37,69 @@ node_modules or executes project React code. Baseline and target snapshots are
37
37
  calibrated independently, so a React upgrade is analyzed with each side's own
38
38
  declared dependency state. Rules of Hooks, missing list keys, and DOM accessibility
39
39
  rules do not depend on the React version setting.
40
+
41
+ ## Static JSX accessibility checks
42
+
43
+ `reactAccessibility` applies static JSX accessibility checks; it cannot certify
44
+ an accessible application. Test keyboard behavior, focus management, contrast,
45
+ and assistive technology against the rendered interface as well.
46
+
47
+ Teach the managed jsx-a11y engine about a design system with inert settings:
48
+
49
+ ```json
50
+ {
51
+ "schemaVersion": 1,
52
+ "checks": {
53
+ "reactAccessibility": {
54
+ "settings": {
55
+ "components": { "Photo": "img", "Button": "button" },
56
+ "attributes": { "for": ["htmlFor", "for"] },
57
+ "polymorphicPropName": "as",
58
+ "polymorphicAllowList": ["Box"]
59
+ }
60
+ }
61
+ }
62
+ }
63
+ ```
64
+
65
+ Here `<Photo src="logo.png" />` receives the image's missing-alt check, while
66
+ `<Photo src="logo.png" alt="Logo" />` passes that check. `<Box as="img" />`
67
+ also receives image semantics. `attributes` maps a DOM attribute to an array of
68
+ JSX property names supported by jsx-a11y; the example permits `for` as well as
69
+ `htmlFor` for label association. A polymorphic allow list limits `as` handling to
70
+ named components; omitting it applies the configured property wherever the
71
+ plugin supports polymorphism. Dynamic rendered element names may be unknown to
72
+ static analysis.
73
+
74
+ These four fields are optional and default to no custom mappings. Use ordered
75
+ `overrides` to scope settings to workspace or file globs. Later settings replace
76
+ the corresponding field: a later `components` map replaces the earlier map,
77
+ while unrelated fields are retained. Configure mappings to match what components
78
+ actually render; Zedbee does not inspect their implementation to verify the map.
79
+ Mappings do not execute project code or load project plugins. The managed
80
+ focusable-separator correction also applies when the element uses a mapped
81
+ custom component.
82
+
83
+ ### State updates across async effect helpers
84
+
85
+ Managed React correctness includes Swarm's versioned correction to
86
+ `react-hooks/set-state-in-effect`. The check distinguishes an immediate state
87
+ update from one that can run only after an `await` suspends execution. For
88
+ locally analyzable helpers, calling the helper with `.then()` or from an
89
+ immediately invoked async wrapper preserves that distinction.
90
+
91
+ An `async` function starts running immediately. A state update before its first
92
+ `await` can therefore still be reported when the function is called from an
93
+ effect, including through a wrapper. Updating state after a request settles
94
+ is allowed by this rule. Error handlers need the same distinction: a function
95
+ that throws before returning a promise can reach its caller's catch immediately;
96
+ a rejected promise is observed after suspension.
97
+
98
+ The correction follows known local calls and the compiler's supported aliases
99
+ and control flow. It does not provide whole-program analysis of arbitrary
100
+ imports, dynamic dispatch, or custom thenables. Existing rule options,
101
+ configured severity, and ref-derived exceptions still apply. Other React
102
+ checks continue to run.
103
+
104
+ Project ESLint mode uses the project's installed Hooks plugin and its native
105
+ behavior. Swarm's managed correction does not modify that installation.
package/docs/reporting.md CHANGED
@@ -41,7 +41,7 @@ age. Redirect explicit JSON when durable fix-plan metadata is required.
41
41
 
42
42
  An automatic scan (`zedbee scan` or `zedbee scan --format auto`) always writes a complete versioned JSON report to operating-system temporary storage. A pass with zero findings still receives a report. Its complete report path appears before the final output and after the final result; the path is printed only after a complete report exists. A wide ordinary TTY uses branded Ink. A narrow terminal, redirected output, CI, `TERM=dumb`, or screen-reader output uses a linear ANSI-free result.
43
43
 
44
- Automatic output shows up to 25 findings by default, with blockers first; that limit applies only to findings. Counts, disclosures, incomplete checks, report warnings, guidance, and report paths remain complete. Explicit `--format ink` is a bounded preview using the same limit, but writes a temporary report only when its finding preview overflows. Fixing only the visible preview is insufficient; read the complete report and address every applicable finding.
44
+ Automatic output shows up to 25 findings by default, with blockers first. Blocking parse, unresolved-input, and supported compiler-configuration failures precede unsafe/implicit-any findings; independent secrets and structural-security blockers also take priority. Omitted findings are counted by check and rule, with complete details in the full report. This ordering does not establish that one finding caused another, and the JSON/SARIF ordering and every finding remain unchanged. In staged mode, unresolved imports receive general staged-diff guidance; it does not assert that an importer has unstaged edits or that a previous staging command failed. That preview limit applies only to findings. Counts, disclosures, incomplete checks, report warnings, guidance, and report paths remain complete. Explicit `--format ink` is a bounded preview using the same limit, but writes a temporary report only when its finding preview overflows. Fixing only the visible preview is insufficient; read the complete report and address every applicable finding.
45
45
 
46
46
  Configure the limit and maximum report age without making any lockfile changes:
47
47
 
@@ -62,6 +62,25 @@ Configure the limit and maximum report age without making any lockfile changes:
62
62
 
63
63
  `terminalFindingLimit` defaults to 25; set it to any positive integer or `"all"` to show every finding. `temporaryReportMaxAge` defaults to `"24h"` and accepts positive whole-number durations such as `"30m"`, `"24h"`, and `"7d"`. Temporary reports become eligible for cleanup at the configured age and are removed during a subsequent Zedbee maintenance run. The operating system may remove them sooner. These handoffs are not archives. This configuration example is illustrative; `zedbee init` writes editable recommended guidance. `opening` and `nextStep` can be blanked independently with `""` to hide that heading/message. Complete-report lines remain when a configured message is blank.
64
64
 
65
+ The **current maintenance request's age policy** applies to all tracked scan and
66
+ fix reports at the same canonical checkout directory. For example, a 21-hour-old
67
+ report survives a passing scan with `24h`, but a later scan or fix request with
68
+ `1h` may remove it. The expiry policy is not stored separately per report. Linked
69
+ worktrees with different physical checkout roots have separate directories;
70
+ branches and scan/fix invocations at one root share a directory. Capacity refusal
71
+ does not evict younger reports, and unknown files are preserved when lifecycle
72
+ state cannot be recovered. This behavior does not establish the cause of any
73
+ previously missing report.
74
+
75
+ With `--diagnostics`, the local stderr diagnostics include a bounded
76
+ `reportMaintenance` record: effective maximum age in milliseconds, protocol
77
+ version, the number of reports actually removed after expiry, the number of
78
+ expired tracked entries already missing, lifecycle-state recovery status, and
79
+ write/capacity outcome. An already-missing entry is not counted as a removal and
80
+ has no inferred cause. These observations contain no report content, filenames,
81
+ repository paths, or report paths, and are not telemetry. They describe this
82
+ maintenance request only and are absent without the opt-in flag.
83
+
65
84
  The temporary JSON report follows the disk source-excerpt policy, not the interactive preview policy. The default `"interactive"` policy can show source excerpts live in Ink but omits ordinary excerpts from disk. Set `sourceExcerpts` to `"always"` or pass `--include-source` to persist them; `"never"` or `--no-source` omits them. Secret content is always redacted.
66
85
 
67
86
  Cleanup and write warnings are non-blocking report-maintenance diagnostics and do not replace the scan's normal outcome. A cleanup warning identifies a safely validated path when possible. A report failure prints no path or configured guidance, restores every finding, preserves the canonical scan outcome, and shows the fixed `REPORT UNAVAILABLE` alert twice—above and below the result. `REPORT DELIVERY WARNING` is a detail panel for report-maintenance information, not the fixed failure alert.
@@ -76,6 +95,19 @@ npx zedbee scan --format json > zedbee-report.json
76
95
  npx zedbee scan --format sarif > zedbee.sarif
77
96
  ```
78
97
 
98
+ To retain an investigation artifact outside OS temporary storage while preserving
99
+ the scan's exit status (including with shell `errexit` enabled):
100
+
101
+ ```sh
102
+ status=0
103
+ npx zedbee scan --format json > ./investigation-report.json || status=$?
104
+ exit "$status"
105
+ ```
106
+
107
+ Use `--format sarif` with the same pattern for SARIF. Choose a durable destination
108
+ and manage its access and retention yourself; a temporary handoff path is not an
109
+ archive.
110
+
79
111
  These explicit formats create no sidecar or automatic temporary report. Text is stable human-readable output, JSON is Zedbee's versioned machine contract, and SARIF is the enterprise interchange format. Redirect explicit JSON or SARIF when durable output is required. Coding tools that receive a complete-report path must process it and respect exit code 2 as incomplete required analysis; they must not treat a preview or an incomplete scan as clean.
80
112
 
81
113
  For a clean CI checkout, fetch the intended base ref and export an explicit committed comparison:
@@ -112,3 +144,22 @@ Explicit output is complete even when automatic terminal presentation is constra
112
144
  SARIF follows the configured source-excerpt policy. Redirected SARIF omits ordinary source excerpts by default; use `--include-source` to opt in, `--no-source` to suppress them, or configure `reporting.sourceExcerpts`. Secret findings remain redacted in every format. Index-mode SARIF uses the exact staged Git-index snapshot; base-mode SARIF uses committed `HEAD`. Neither observes later working-tree edits.
113
145
 
114
146
  SARIF columns use UTF-16 code units, declared by `run.columnKind: "utf16CodeUnits"`. Diagnostic locations retain their original ranges. Permitted source excerpts appear in `result.properties["zedbee/sourceExcerpt"]` with `line`, `text`, `redacted: false`, and `truncated`; the existing `sourceExcerptTruncated` property also records truncation. Excerpt text is a sanitized display line: tabs expand to spaces, unsafe characters are replaced, and long lines may be truncated. It is therefore not emitted as a SARIF `region.snippet` or `contextRegion`. Redacted and omitted excerpts expose no source text.
147
+
148
+ Experimental project ESLint adds optional `eslintAnalysis` metadata to its lint
149
+ check result: `version`, `checkedFiles`, `ignoredFiles`, `excludedFiles`, `baseline` (`compared` or
150
+ `new-coverage`), and `messages` (`redacted` or `full`). Both snapshot sides use the
151
+ reported target-installed toolchain. Zero checked files means skipped coverage,
152
+ not a successful lint run. A requested full-message policy without its separate
153
+ local permission remains `redacted` in the actual result.
154
+
155
+ ### Diagnostic message detail
156
+
157
+ Managed diagnostics default to contextual messages so module, member and function descriptions can explain the finding. Use `zedbee scan --diagnostic-messages source-free` to request source-free explanations. Set `reporting.diagnosticMessages` in repository configuration for the default. The command-line choice overrides that default.
158
+
159
+ Contextual mode supports the pinned TS2591 missing-name template (including `process` and the standard Node type-install hint) and reviewed built-in React entity escape alternatives. Custom React `forbid` characters and alternatives are not a raw-message bypass. Source-free mode deliberately retains placeholder redaction for contextual substitutions. Validated complexity findings include their numeric score, effective limit, and baseline score when worsening, without adding entity names to the prose.
160
+
161
+ JSON and terminal output use the same reviewed message. A finding's optional `messageRedaction` metadata explains withheld detail. This affects presentation; severity, attribution, stable finding IDs and fix selection use the underlying observation. Source excerpts have their own control. Project ESLint's full-message permission is separate.
162
+
163
+ A `project-delta` finding means a diagnostic is new in a validated comparison; it is not an exact causal trace. If required installation inputs are unavailable, Swarm reports an incomplete check with setup guidance rather than claiming the commit introduced a source error. A required incomplete check prevents a misleading pass. Other completed checks still report their results.
164
+
165
+ The managed source-free option does not override separately authorized full project ESLint messages. When sharing a report from project ESLint mode, also set `reporting.projectEslintMessages` to `"redacted"`.
package/docs/support.md CHANGED
@@ -163,3 +163,26 @@ every changed and skipped file, stage intended results, and rescan.
163
163
  - an offline OSV database;
164
164
  - legacy binary `bun.lockb` vulnerability parsing;
165
165
  - automatic staging, committing, or mutation of the Git index.
166
+
167
+ ## Check the version actually used by a hook
168
+
169
+ A dependency declaration, lockfile resolution, installed package, and executable selected by a hook can disagree. Inspect all four before diagnosing a version-specific problem. For a hook that invokes `node ./web/node_modules/zedbee/dist/cli.js`, run these from the repository root:
170
+
171
+ ```sh
172
+ node ./web/node_modules/zedbee/dist/cli.js --version
173
+ node -p "require('./web/node_modules/zedbee/package.json').version"
174
+ ```
175
+
176
+ Compare those results with the dependency in `web/package.json` and the owning lockfile. Use the repository's package manager and workspace installation instructions to synchronize the installation. If the manifest and lockfile disagree, update the lockfile deliberately; a frozen or clean install alone will not reconcile conflicting declarations. Recheck the exact hook executable and repeat the scan afterward. Swarm does not install or upgrade dependencies during a scan.
177
+
178
+ ## Staging and deletion-only commits
179
+
180
+ A commit scan inspects the Git index. “Commit allowed” describes that selected content; it does not confirm that every intended file was staged. A failed earlier `git add` is not recorded in the index. Stop the calling workflow when staging fails, for example:
181
+
182
+ ```sh
183
+ git add <paths> && git commit
184
+ ```
185
+
186
+ Review `git diff --cached --stat` and the scan's staged-change counts. Unstaged and untracked files are not part of the scan. Deleting documentation may require no configured checks; the result reports skipped work rather than successful execution. Deleting source can still require compiler or project checks, including checks for broken imports. Partial staging is supported.
187
+
188
+ For synthetic credential fixtures, see [the narrow Secretlint annotation](checks.md#synthetic-credentials-in-fixtures).
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017-present, Jon Schlinkert.
3
+ Copyright (c) 2013-2024 Andrey Kucherenko
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,43 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020-present LongYinan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ MIT License
24
+
25
+ Copyright (c) 2018 GitHub
26
+
27
+ Permission is hereby granted, free of charge, to any person obtaining a copy
28
+ of this software and associated documentation files (the "Software"), to deal
29
+ in the Software without restriction, including without limitation the rights
30
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31
+ copies of the Software, and to permit persons to whom the Software is
32
+ furnished to do so, subject to the following conditions:
33
+
34
+ The above copyright notice and this permission notice shall be included in all
35
+ copies or substantial portions of the Software.
36
+
37
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
43
+ SOFTWARE.