zedbee 0.1.0-beta.1

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 (981) hide show
  1. package/DISCLOSURE +19 -0
  2. package/LICENSE +121 -0
  3. package/README.md +91 -0
  4. package/SECURITY.md +47 -0
  5. package/THIRD_PARTY_NOTICES.md +18244 -0
  6. package/dist/attribution/compare.d.ts +16 -0
  7. package/dist/attribution/compare.d.ts.map +1 -0
  8. package/dist/attribution/compare.js +159 -0
  9. package/dist/attribution/compare.js.map +1 -0
  10. package/dist/attribution/entities.d.ts +11 -0
  11. package/dist/attribution/entities.d.ts.map +1 -0
  12. package/dist/attribution/entities.js +349 -0
  13. package/dist/attribution/entities.js.map +1 -0
  14. package/dist/attribution/fingerprint.d.ts +18 -0
  15. package/dist/attribution/fingerprint.d.ts.map +1 -0
  16. package/dist/attribution/fingerprint.js +340 -0
  17. package/dist/attribution/fingerprint.js.map +1 -0
  18. package/dist/attribution/metrics.d.ts +8 -0
  19. package/dist/attribution/metrics.d.ts.map +1 -0
  20. package/dist/attribution/metrics.js +196 -0
  21. package/dist/attribution/metrics.js.map +1 -0
  22. package/dist/attribution/range.d.ts +4 -0
  23. package/dist/attribution/range.d.ts.map +1 -0
  24. package/dist/attribution/range.js +32 -0
  25. package/dist/attribution/range.js.map +1 -0
  26. package/dist/cache/captured-dependencies.d.ts +50 -0
  27. package/dist/cache/captured-dependencies.d.ts.map +1 -0
  28. package/dist/cache/captured-dependencies.js +479 -0
  29. package/dist/cache/captured-dependencies.js.map +1 -0
  30. package/dist/cache/dependency-inputs.d.ts +38 -0
  31. package/dist/cache/dependency-inputs.d.ts.map +1 -0
  32. package/dist/cache/dependency-inputs.js +151 -0
  33. package/dist/cache/dependency-inputs.js.map +1 -0
  34. package/dist/cache/key.d.ts +42 -0
  35. package/dist/cache/key.d.ts.map +1 -0
  36. package/dist/cache/key.js +197 -0
  37. package/dist/cache/key.js.map +1 -0
  38. package/dist/cache/store.d.ts +35 -0
  39. package/dist/cache/store.d.ts.map +1 -0
  40. package/dist/cache/store.js +177 -0
  41. package/dist/cache/store.js.map +1 -0
  42. package/dist/checks/adapter.d.ts +96 -0
  43. package/dist/checks/adapter.d.ts.map +1 -0
  44. package/dist/checks/adapter.js +2 -0
  45. package/dist/checks/adapter.js.map +1 -0
  46. package/dist/checks/analysis-reuse.d.ts +14 -0
  47. package/dist/checks/analysis-reuse.d.ts.map +1 -0
  48. package/dist/checks/analysis-reuse.js +123 -0
  49. package/dist/checks/analysis-reuse.js.map +1 -0
  50. package/dist/checks/applicability.d.ts +7 -0
  51. package/dist/checks/applicability.d.ts.map +1 -0
  52. package/dist/checks/applicability.js +121 -0
  53. package/dist/checks/applicability.js.map +1 -0
  54. package/dist/checks/complexity/adapter.d.ts +7 -0
  55. package/dist/checks/complexity/adapter.d.ts.map +1 -0
  56. package/dist/checks/complexity/adapter.js +206 -0
  57. package/dist/checks/complexity/adapter.js.map +1 -0
  58. package/dist/checks/complexity/metric-message.d.ts +7 -0
  59. package/dist/checks/complexity/metric-message.d.ts.map +1 -0
  60. package/dist/checks/complexity/metric-message.js +16 -0
  61. package/dist/checks/complexity/metric-message.js.map +1 -0
  62. package/dist/checks/complexity/readability-rule.d.ts +5 -0
  63. package/dist/checks/complexity/readability-rule.d.ts.map +1 -0
  64. package/dist/checks/complexity/readability-rule.js +110 -0
  65. package/dist/checks/complexity/readability-rule.js.map +1 -0
  66. package/dist/checks/configuration-presentation.d.ts +8 -0
  67. package/dist/checks/configuration-presentation.d.ts.map +1 -0
  68. package/dist/checks/configuration-presentation.js +94 -0
  69. package/dist/checks/configuration-presentation.js.map +1 -0
  70. package/dist/checks/dead-code/adapter.d.ts +3 -0
  71. package/dist/checks/dead-code/adapter.d.ts.map +1 -0
  72. package/dist/checks/dead-code/adapter.js +218 -0
  73. package/dist/checks/dead-code/adapter.js.map +1 -0
  74. package/dist/checks/dead-code/captured-filesystem.d.ts +12 -0
  75. package/dist/checks/dead-code/captured-filesystem.d.ts.map +1 -0
  76. package/dist/checks/dead-code/captured-filesystem.js +138 -0
  77. package/dist/checks/dead-code/captured-filesystem.js.map +1 -0
  78. package/dist/checks/dead-code/executor.d.ts +21 -0
  79. package/dist/checks/dead-code/executor.d.ts.map +1 -0
  80. package/dist/checks/dead-code/executor.js +78 -0
  81. package/dist/checks/dead-code/executor.js.map +1 -0
  82. package/dist/checks/dead-code/import-boundary.d.ts +14 -0
  83. package/dist/checks/dead-code/import-boundary.d.ts.map +1 -0
  84. package/dist/checks/dead-code/import-boundary.js +256 -0
  85. package/dist/checks/dead-code/import-boundary.js.map +1 -0
  86. package/dist/checks/dead-code/knip-worker.d.ts +2 -0
  87. package/dist/checks/dead-code/knip-worker.d.ts.map +1 -0
  88. package/dist/checks/dead-code/knip-worker.js +169 -0
  89. package/dist/checks/dead-code/knip-worker.js.map +1 -0
  90. package/dist/checks/dead-code/managed-config.d.ts +13 -0
  91. package/dist/checks/dead-code/managed-config.d.ts.map +1 -0
  92. package/dist/checks/dead-code/managed-config.js +128 -0
  93. package/dist/checks/dead-code/managed-config.js.map +1 -0
  94. package/dist/checks/dead-code/parse-report.d.ts +3 -0
  95. package/dist/checks/dead-code/parse-report.d.ts.map +1 -0
  96. package/dist/checks/dead-code/parse-report.js +107 -0
  97. package/dist/checks/dead-code/parse-report.js.map +1 -0
  98. package/dist/checks/dead-code/resolver.LICENSE +22 -0
  99. package/dist/checks/dead-code/resolver.provenance.json +10 -0
  100. package/dist/checks/dead-code/resolver.wasm +0 -0
  101. package/dist/checks/dead-code/wasi.d.ts +9 -0
  102. package/dist/checks/dead-code/wasi.d.ts.map +1 -0
  103. package/dist/checks/dead-code/wasi.js +101 -0
  104. package/dist/checks/dead-code/wasi.js.map +1 -0
  105. package/dist/checks/dependency-architecture/adapter.d.ts +3 -0
  106. package/dist/checks/dependency-architecture/adapter.d.ts.map +1 -0
  107. package/dist/checks/dependency-architecture/adapter.js +305 -0
  108. package/dist/checks/dependency-architecture/adapter.js.map +1 -0
  109. package/dist/checks/dependency-architecture/normalize-graph.d.ts +11 -0
  110. package/dist/checks/dependency-architecture/normalize-graph.d.ts.map +1 -0
  111. package/dist/checks/dependency-architecture/normalize-graph.js +225 -0
  112. package/dist/checks/dependency-architecture/normalize-graph.js.map +1 -0
  113. package/dist/checks/dependency-architecture/rules.d.ts +11 -0
  114. package/dist/checks/dependency-architecture/rules.d.ts.map +1 -0
  115. package/dist/checks/dependency-architecture/rules.js +47 -0
  116. package/dist/checks/dependency-architecture/rules.js.map +1 -0
  117. package/dist/checks/description.d.ts +41 -0
  118. package/dist/checks/description.d.ts.map +1 -0
  119. package/dist/checks/description.js +2 -0
  120. package/dist/checks/description.js.map +1 -0
  121. package/dist/checks/descriptors.d.ts +7 -0
  122. package/dist/checks/descriptors.d.ts.map +1 -0
  123. package/dist/checks/descriptors.js +50 -0
  124. package/dist/checks/descriptors.js.map +1 -0
  125. package/dist/checks/diagnostics.d.ts +25 -0
  126. package/dist/checks/diagnostics.d.ts.map +1 -0
  127. package/dist/checks/diagnostics.js +106 -0
  128. package/dist/checks/diagnostics.js.map +1 -0
  129. package/dist/checks/dispatcher.d.ts +18 -0
  130. package/dist/checks/dispatcher.d.ts.map +1 -0
  131. package/dist/checks/dispatcher.js +789 -0
  132. package/dist/checks/dispatcher.js.map +1 -0
  133. package/dist/checks/duplication/adapter.d.ts +9 -0
  134. package/dist/checks/duplication/adapter.d.ts.map +1 -0
  135. package/dist/checks/duplication/adapter.js +155 -0
  136. package/dist/checks/duplication/adapter.js.map +1 -0
  137. package/dist/checks/duplication/normalize-clone.d.ts +12 -0
  138. package/dist/checks/duplication/normalize-clone.d.ts.map +1 -0
  139. package/dist/checks/duplication/normalize-clone.js +190 -0
  140. package/dist/checks/duplication/normalize-clone.js.map +1 -0
  141. package/dist/checks/duplication/settings.d.ts +16 -0
  142. package/dist/checks/duplication/settings.d.ts.map +1 -0
  143. package/dist/checks/duplication/settings.js +32 -0
  144. package/dist/checks/duplication/settings.js.map +1 -0
  145. package/dist/checks/duplication/types.d.ts +53 -0
  146. package/dist/checks/duplication/types.d.ts.map +1 -0
  147. package/dist/checks/duplication/types.js +2 -0
  148. package/dist/checks/duplication/types.js.map +1 -0
  149. package/dist/checks/engine-identity.d.ts +5 -0
  150. package/dist/checks/engine-identity.d.ts.map +1 -0
  151. package/dist/checks/engine-identity.js +130 -0
  152. package/dist/checks/engine-identity.js.map +1 -0
  153. package/dist/checks/eslint/comment-directive.d.ts +3 -0
  154. package/dist/checks/eslint/comment-directive.d.ts.map +1 -0
  155. package/dist/checks/eslint/comment-directive.js +39 -0
  156. package/dist/checks/eslint/comment-directive.js.map +1 -0
  157. package/dist/checks/eslint/convert-message.d.ts +4 -0
  158. package/dist/checks/eslint/convert-message.d.ts.map +1 -0
  159. package/dist/checks/eslint/convert-message.js +67 -0
  160. package/dist/checks/eslint/convert-message.js.map +1 -0
  161. package/dist/checks/eslint/freeze-rule-settings.d.ts +4 -0
  162. package/dist/checks/eslint/freeze-rule-settings.d.ts.map +1 -0
  163. package/dist/checks/eslint/freeze-rule-settings.js +19 -0
  164. package/dist/checks/eslint/freeze-rule-settings.js.map +1 -0
  165. package/dist/checks/eslint/lint-adapter.d.ts +8 -0
  166. package/dist/checks/eslint/lint-adapter.d.ts.map +1 -0
  167. package/dist/checks/eslint/lint-adapter.js +227 -0
  168. package/dist/checks/eslint/lint-adapter.js.map +1 -0
  169. package/dist/checks/eslint/load-engine.d.ts +7 -0
  170. package/dist/checks/eslint/load-engine.d.ts.map +1 -0
  171. package/dist/checks/eslint/load-engine.js +126 -0
  172. package/dist/checks/eslint/load-engine.js.map +1 -0
  173. package/dist/checks/eslint/managed-config.d.ts +27 -0
  174. package/dist/checks/eslint/managed-config.d.ts.map +1 -0
  175. package/dist/checks/eslint/managed-config.js +223 -0
  176. package/dist/checks/eslint/managed-config.js.map +1 -0
  177. package/dist/checks/eslint/parse-store.d.ts +13 -0
  178. package/dist/checks/eslint/parse-store.d.ts.map +1 -0
  179. package/dist/checks/eslint/parse-store.js +138 -0
  180. package/dist/checks/eslint/parse-store.js.map +1 -0
  181. package/dist/checks/eslint/rule-settings.d.ts +15 -0
  182. package/dist/checks/eslint/rule-settings.d.ts.map +1 -0
  183. package/dist/checks/eslint/rule-settings.js +317 -0
  184. package/dist/checks/eslint/rule-settings.js.map +1 -0
  185. package/dist/checks/events.d.ts +27 -0
  186. package/dist/checks/events.d.ts.map +1 -0
  187. package/dist/checks/events.js +2 -0
  188. package/dist/checks/events.js.map +1 -0
  189. package/dist/checks/incomplete-error.d.ts +26 -0
  190. package/dist/checks/incomplete-error.d.ts.map +1 -0
  191. package/dist/checks/incomplete-error.js +53 -0
  192. package/dist/checks/incomplete-error.js.map +1 -0
  193. package/dist/checks/incomplete-result.d.ts +17 -0
  194. package/dist/checks/incomplete-result.d.ts.map +1 -0
  195. package/dist/checks/incomplete-result.js +27 -0
  196. package/dist/checks/incomplete-result.js.map +1 -0
  197. package/dist/checks/input-contract.d.ts +10 -0
  198. package/dist/checks/input-contract.d.ts.map +1 -0
  199. package/dist/checks/input-contract.js +85 -0
  200. package/dist/checks/input-contract.js.map +1 -0
  201. package/dist/checks/metadata.d.ts +71 -0
  202. package/dist/checks/metadata.d.ts.map +1 -0
  203. package/dist/checks/metadata.js +34 -0
  204. package/dist/checks/metadata.js.map +1 -0
  205. package/dist/checks/observation-result.d.ts +4 -0
  206. package/dist/checks/observation-result.d.ts.map +1 -0
  207. package/dist/checks/observation-result.js +242 -0
  208. package/dist/checks/observation-result.js.map +1 -0
  209. package/dist/checks/policy-scheduling.d.ts +9 -0
  210. package/dist/checks/policy-scheduling.d.ts.map +1 -0
  211. package/dist/checks/policy-scheduling.js +116 -0
  212. package/dist/checks/policy-scheduling.js.map +1 -0
  213. package/dist/checks/prettier/adapter.d.ts +3 -0
  214. package/dist/checks/prettier/adapter.d.ts.map +1 -0
  215. package/dist/checks/prettier/adapter.js +174 -0
  216. package/dist/checks/prettier/adapter.js.map +1 -0
  217. package/dist/checks/prettier/fingerprint.d.ts +2 -0
  218. package/dist/checks/prettier/fingerprint.d.ts.map +1 -0
  219. package/dist/checks/prettier/fingerprint.js +7 -0
  220. package/dist/checks/prettier/fingerprint.js.map +1 -0
  221. package/dist/checks/prettier/format-diff.d.ts +9 -0
  222. package/dist/checks/prettier/format-diff.d.ts.map +1 -0
  223. package/dist/checks/prettier/format-diff.js +180 -0
  224. package/dist/checks/prettier/format-diff.js.map +1 -0
  225. package/dist/checks/prettier/settings.d.ts +43 -0
  226. package/dist/checks/prettier/settings.d.ts.map +1 -0
  227. package/dist/checks/prettier/settings.js +76 -0
  228. package/dist/checks/prettier/settings.js.map +1 -0
  229. package/dist/checks/prettier/supported-path.d.ts +19 -0
  230. package/dist/checks/prettier/supported-path.d.ts.map +1 -0
  231. package/dist/checks/prettier/supported-path.js +21 -0
  232. package/dist/checks/prettier/supported-path.js.map +1 -0
  233. package/dist/checks/project/config-boundary.d.ts +16 -0
  234. package/dist/checks/project/config-boundary.d.ts.map +1 -0
  235. package/dist/checks/project/config-boundary.js +249 -0
  236. package/dist/checks/project/config-boundary.js.map +1 -0
  237. package/dist/checks/react/accessibility-adapter.d.ts +2 -0
  238. package/dist/checks/react/accessibility-adapter.d.ts.map +1 -0
  239. package/dist/checks/react/accessibility-adapter.js +3 -0
  240. package/dist/checks/react/accessibility-adapter.js.map +1 -0
  241. package/dist/checks/react/adapter.d.ts +11 -0
  242. package/dist/checks/react/adapter.d.ts.map +1 -0
  243. package/dist/checks/react/adapter.js +181 -0
  244. package/dist/checks/react/adapter.js.map +1 -0
  245. package/dist/checks/react/config.d.ts +4 -0
  246. package/dist/checks/react/config.d.ts.map +1 -0
  247. package/dist/checks/react/config.js +31 -0
  248. package/dist/checks/react/config.js.map +1 -0
  249. package/dist/checks/react/correctness-adapter.d.ts +2 -0
  250. package/dist/checks/react/correctness-adapter.d.ts.map +1 -0
  251. package/dist/checks/react/correctness-adapter.js +3 -0
  252. package/dist/checks/react/correctness-adapter.js.map +1 -0
  253. package/dist/checks/react/rule-settings.d.ts +2 -0
  254. package/dist/checks/react/rule-settings.d.ts.map +1 -0
  255. package/dist/checks/react/rule-settings.js +2 -0
  256. package/dist/checks/react/rule-settings.js.map +1 -0
  257. package/dist/checks/react/version.d.ts +13 -0
  258. package/dist/checks/react/version.d.ts.map +1 -0
  259. package/dist/checks/react/version.js +152 -0
  260. package/dist/checks/react/version.js.map +1 -0
  261. package/dist/checks/runner/bootstrap.d.ts +2 -0
  262. package/dist/checks/runner/bootstrap.d.ts.map +1 -0
  263. package/dist/checks/runner/bootstrap.js +30 -0
  264. package/dist/checks/runner/bootstrap.js.map +1 -0
  265. package/dist/checks/runner/context.d.ts +16 -0
  266. package/dist/checks/runner/context.d.ts.map +1 -0
  267. package/dist/checks/runner/context.js +38 -0
  268. package/dist/checks/runner/context.js.map +1 -0
  269. package/dist/checks/runner/envelope.d.ts +23 -0
  270. package/dist/checks/runner/envelope.d.ts.map +1 -0
  271. package/dist/checks/runner/envelope.js +134 -0
  272. package/dist/checks/runner/envelope.js.map +1 -0
  273. package/dist/checks/runner/executor.d.ts +29 -0
  274. package/dist/checks/runner/executor.d.ts.map +1 -0
  275. package/dist/checks/runner/executor.js +322 -0
  276. package/dist/checks/runner/executor.js.map +1 -0
  277. package/dist/checks/runner/exit-status.d.ts +10 -0
  278. package/dist/checks/runner/exit-status.d.ts.map +1 -0
  279. package/dist/checks/runner/exit-status.js +14 -0
  280. package/dist/checks/runner/exit-status.js.map +1 -0
  281. package/dist/checks/runner/process-group.d.ts +7 -0
  282. package/dist/checks/runner/process-group.d.ts.map +1 -0
  283. package/dist/checks/runner/process-group.js +54 -0
  284. package/dist/checks/runner/process-group.js.map +1 -0
  285. package/dist/checks/runner/protocol.d.ts +33 -0
  286. package/dist/checks/runner/protocol.d.ts.map +1 -0
  287. package/dist/checks/runner/protocol.js +120 -0
  288. package/dist/checks/runner/protocol.js.map +1 -0
  289. package/dist/checks/runner/registry.d.ts +5 -0
  290. package/dist/checks/runner/registry.d.ts.map +1 -0
  291. package/dist/checks/runner/registry.js +39 -0
  292. package/dist/checks/runner/registry.js.map +1 -0
  293. package/dist/checks/runner/run-job.d.ts +8 -0
  294. package/dist/checks/runner/run-job.d.ts.map +1 -0
  295. package/dist/checks/runner/run-job.js +16 -0
  296. package/dist/checks/runner/run-job.js.map +1 -0
  297. package/dist/checks/runner/send-worker-reply.d.ts +4 -0
  298. package/dist/checks/runner/send-worker-reply.d.ts.map +1 -0
  299. package/dist/checks/runner/send-worker-reply.js +11 -0
  300. package/dist/checks/runner/send-worker-reply.js.map +1 -0
  301. package/dist/checks/runner/session.d.ts +8 -0
  302. package/dist/checks/runner/session.d.ts.map +1 -0
  303. package/dist/checks/runner/session.js +18 -0
  304. package/dist/checks/runner/session.js.map +1 -0
  305. package/dist/checks/runner/supervisor.d.ts +2 -0
  306. package/dist/checks/runner/supervisor.d.ts.map +1 -0
  307. package/dist/checks/runner/supervisor.js +273 -0
  308. package/dist/checks/runner/supervisor.js.map +1 -0
  309. package/dist/checks/runner/windows-job.d.ts +10 -0
  310. package/dist/checks/runner/windows-job.d.ts.map +1 -0
  311. package/dist/checks/runner/windows-job.js +104 -0
  312. package/dist/checks/runner/windows-job.js.map +1 -0
  313. package/dist/checks/runner/worker-slot.d.ts +75 -0
  314. package/dist/checks/runner/worker-slot.d.ts.map +1 -0
  315. package/dist/checks/runner/worker-slot.js +375 -0
  316. package/dist/checks/runner/worker-slot.js.map +1 -0
  317. package/dist/checks/runner/worker.d.ts +2 -0
  318. package/dist/checks/runner/worker.d.ts.map +1 -0
  319. package/dist/checks/runner/worker.js +212 -0
  320. package/dist/checks/runner/worker.js.map +1 -0
  321. package/dist/checks/sanitize-result.d.ts +73 -0
  322. package/dist/checks/sanitize-result.d.ts.map +1 -0
  323. package/dist/checks/sanitize-result.js +281 -0
  324. package/dist/checks/sanitize-result.js.map +1 -0
  325. package/dist/checks/sanitize-target.d.ts +8 -0
  326. package/dist/checks/sanitize-target.d.ts.map +1 -0
  327. package/dist/checks/sanitize-target.js +26 -0
  328. package/dist/checks/sanitize-target.js.map +1 -0
  329. package/dist/checks/secrets/adapter.d.ts +9 -0
  330. package/dist/checks/secrets/adapter.d.ts.map +1 -0
  331. package/dist/checks/secrets/adapter.js +86 -0
  332. package/dist/checks/secrets/adapter.js.map +1 -0
  333. package/dist/checks/secrets/config.d.ts +3 -0
  334. package/dist/checks/secrets/config.d.ts.map +1 -0
  335. package/dist/checks/secrets/config.js +13 -0
  336. package/dist/checks/secrets/config.js.map +1 -0
  337. package/dist/checks/secrets/content.d.ts +25 -0
  338. package/dist/checks/secrets/content.d.ts.map +1 -0
  339. package/dist/checks/secrets/content.js +126 -0
  340. package/dist/checks/secrets/content.js.map +1 -0
  341. package/dist/checks/secrets/normalize.d.ts +11 -0
  342. package/dist/checks/secrets/normalize.d.ts.map +1 -0
  343. package/dist/checks/secrets/normalize.js +61 -0
  344. package/dist/checks/secrets/normalize.js.map +1 -0
  345. package/dist/checks/settle-snapshot-sides.d.ts +2 -0
  346. package/dist/checks/settle-snapshot-sides.d.ts.map +1 -0
  347. package/dist/checks/settle-snapshot-sides.js +30 -0
  348. package/dist/checks/settle-snapshot-sides.js.map +1 -0
  349. package/dist/checks/structural-security/adapter.d.ts +3 -0
  350. package/dist/checks/structural-security/adapter.d.ts.map +1 -0
  351. package/dist/checks/structural-security/adapter.js +112 -0
  352. package/dist/checks/structural-security/adapter.js.map +1 -0
  353. package/dist/checks/structural-security/fingerprint.d.ts +3 -0
  354. package/dist/checks/structural-security/fingerprint.d.ts.map +1 -0
  355. package/dist/checks/structural-security/fingerprint.js +13 -0
  356. package/dist/checks/structural-security/fingerprint.js.map +1 -0
  357. package/dist/checks/structural-security/rules.d.ts +11 -0
  358. package/dist/checks/structural-security/rules.d.ts.map +1 -0
  359. package/dist/checks/structural-security/rules.js +377 -0
  360. package/dist/checks/structural-security/rules.js.map +1 -0
  361. package/dist/checks/typescript/adapter.d.ts +11 -0
  362. package/dist/checks/typescript/adapter.d.ts.map +1 -0
  363. package/dist/checks/typescript/adapter.js +71 -0
  364. package/dist/checks/typescript/adapter.js.map +1 -0
  365. package/dist/checks/typescript/compiler-host.d.ts +20 -0
  366. package/dist/checks/typescript/compiler-host.d.ts.map +1 -0
  367. package/dist/checks/typescript/compiler-host.js +295 -0
  368. package/dist/checks/typescript/compiler-host.js.map +1 -0
  369. package/dist/checks/typescript/config.d.ts +10 -0
  370. package/dist/checks/typescript/config.d.ts.map +1 -0
  371. package/dist/checks/typescript/config.js +297 -0
  372. package/dist/checks/typescript/config.js.map +1 -0
  373. package/dist/checks/typescript/convert-diagnostic.d.ts +4 -0
  374. package/dist/checks/typescript/convert-diagnostic.d.ts.map +1 -0
  375. package/dist/checks/typescript/convert-diagnostic.js +79 -0
  376. package/dist/checks/typescript/convert-diagnostic.js.map +1 -0
  377. package/dist/checks/typescript/reuse-inputs.d.ts +7 -0
  378. package/dist/checks/typescript/reuse-inputs.d.ts.map +1 -0
  379. package/dist/checks/typescript/reuse-inputs.js +31 -0
  380. package/dist/checks/typescript/reuse-inputs.js.map +1 -0
  381. package/dist/checks/vulnerabilities/adapter.d.ts +10 -0
  382. package/dist/checks/vulnerabilities/adapter.d.ts.map +1 -0
  383. package/dist/checks/vulnerabilities/adapter.js +97 -0
  384. package/dist/checks/vulnerabilities/adapter.js.map +1 -0
  385. package/dist/checks/vulnerabilities/inventory/errors.d.ts +8 -0
  386. package/dist/checks/vulnerabilities/inventory/errors.d.ts.map +1 -0
  387. package/dist/checks/vulnerabilities/inventory/errors.js +18 -0
  388. package/dist/checks/vulnerabilities/inventory/errors.js.map +1 -0
  389. package/dist/checks/vulnerabilities/inventory/limits.d.ts +9 -0
  390. package/dist/checks/vulnerabilities/inventory/limits.d.ts.map +1 -0
  391. package/dist/checks/vulnerabilities/inventory/limits.js +9 -0
  392. package/dist/checks/vulnerabilities/inventory/limits.js.map +1 -0
  393. package/dist/checks/vulnerabilities/inventory/normalize.d.ts +7 -0
  394. package/dist/checks/vulnerabilities/inventory/normalize.d.ts.map +1 -0
  395. package/dist/checks/vulnerabilities/inventory/normalize.js +89 -0
  396. package/dist/checks/vulnerabilities/inventory/normalize.js.map +1 -0
  397. package/dist/checks/vulnerabilities/inventory/parse-bun.d.ts +3 -0
  398. package/dist/checks/vulnerabilities/inventory/parse-bun.d.ts.map +1 -0
  399. package/dist/checks/vulnerabilities/inventory/parse-bun.js +70 -0
  400. package/dist/checks/vulnerabilities/inventory/parse-bun.js.map +1 -0
  401. package/dist/checks/vulnerabilities/inventory/parse-lockfile.d.ts +4 -0
  402. package/dist/checks/vulnerabilities/inventory/parse-lockfile.d.ts.map +1 -0
  403. package/dist/checks/vulnerabilities/inventory/parse-lockfile.js +55 -0
  404. package/dist/checks/vulnerabilities/inventory/parse-lockfile.js.map +1 -0
  405. package/dist/checks/vulnerabilities/inventory/parse-npm.d.ts +3 -0
  406. package/dist/checks/vulnerabilities/inventory/parse-npm.d.ts.map +1 -0
  407. package/dist/checks/vulnerabilities/inventory/parse-npm.js +216 -0
  408. package/dist/checks/vulnerabilities/inventory/parse-npm.js.map +1 -0
  409. package/dist/checks/vulnerabilities/inventory/parse-pnpm.d.ts +3 -0
  410. package/dist/checks/vulnerabilities/inventory/parse-pnpm.d.ts.map +1 -0
  411. package/dist/checks/vulnerabilities/inventory/parse-pnpm.js +133 -0
  412. package/dist/checks/vulnerabilities/inventory/parse-pnpm.js.map +1 -0
  413. package/dist/checks/vulnerabilities/inventory/parse-yarn.d.ts +3 -0
  414. package/dist/checks/vulnerabilities/inventory/parse-yarn.d.ts.map +1 -0
  415. package/dist/checks/vulnerabilities/inventory/parse-yarn.js +125 -0
  416. package/dist/checks/vulnerabilities/inventory/parse-yarn.js.map +1 -0
  417. package/dist/checks/vulnerabilities/inventory/source-position.d.ts +5 -0
  418. package/dist/checks/vulnerabilities/inventory/source-position.d.ts.map +1 -0
  419. package/dist/checks/vulnerabilities/inventory/source-position.js +22 -0
  420. package/dist/checks/vulnerabilities/inventory/source-position.js.map +1 -0
  421. package/dist/checks/vulnerabilities/inventory/types.d.ts +11 -0
  422. package/dist/checks/vulnerabilities/inventory/types.d.ts.map +1 -0
  423. package/dist/checks/vulnerabilities/inventory/types.js +2 -0
  424. package/dist/checks/vulnerabilities/inventory/types.js.map +1 -0
  425. package/dist/checks/vulnerabilities/inventory/validate-structure.d.ts +2 -0
  426. package/dist/checks/vulnerabilities/inventory/validate-structure.d.ts.map +1 -0
  427. package/dist/checks/vulnerabilities/inventory/validate-structure.js +34 -0
  428. package/dist/checks/vulnerabilities/inventory/validate-structure.js.map +1 -0
  429. package/dist/checks/vulnerabilities/normalize.d.ts +5 -0
  430. package/dist/checks/vulnerabilities/normalize.d.ts.map +1 -0
  431. package/dist/checks/vulnerabilities/normalize.js +59 -0
  432. package/dist/checks/vulnerabilities/normalize.js.map +1 -0
  433. package/dist/checks/vulnerabilities/osv/client.d.ts +15 -0
  434. package/dist/checks/vulnerabilities/osv/client.d.ts.map +1 -0
  435. package/dist/checks/vulnerabilities/osv/client.js +229 -0
  436. package/dist/checks/vulnerabilities/osv/client.js.map +1 -0
  437. package/dist/checks/vulnerabilities/osv/errors.d.ts +11 -0
  438. package/dist/checks/vulnerabilities/osv/errors.d.ts.map +1 -0
  439. package/dist/checks/vulnerabilities/osv/errors.js +19 -0
  440. package/dist/checks/vulnerabilities/osv/errors.js.map +1 -0
  441. package/dist/checks/vulnerabilities/osv/read-response.d.ts +3 -0
  442. package/dist/checks/vulnerabilities/osv/read-response.d.ts.map +1 -0
  443. package/dist/checks/vulnerabilities/osv/read-response.js +50 -0
  444. package/dist/checks/vulnerabilities/osv/read-response.js.map +1 -0
  445. package/dist/checks/vulnerabilities/osv/schemas.d.ts +41 -0
  446. package/dist/checks/vulnerabilities/osv/schemas.d.ts.map +1 -0
  447. package/dist/checks/vulnerabilities/osv/schemas.js +50 -0
  448. package/dist/checks/vulnerabilities/osv/schemas.js.map +1 -0
  449. package/dist/checks/vulnerabilities/osv/types.d.ts +40 -0
  450. package/dist/checks/vulnerabilities/osv/types.d.ts.map +1 -0
  451. package/dist/checks/vulnerabilities/osv/types.js +2 -0
  452. package/dist/checks/vulnerabilities/osv/types.js.map +1 -0
  453. package/dist/cli.d.ts +14 -0
  454. package/dist/cli.d.ts.map +1 -0
  455. package/dist/cli.js +289 -0
  456. package/dist/cli.js.map +1 -0
  457. package/dist/commands/checks.d.ts +32 -0
  458. package/dist/commands/checks.d.ts.map +1 -0
  459. package/dist/commands/checks.js +351 -0
  460. package/dist/commands/checks.js.map +1 -0
  461. package/dist/commands/diagnostics.d.ts +25 -0
  462. package/dist/commands/diagnostics.d.ts.map +1 -0
  463. package/dist/commands/diagnostics.js +82 -0
  464. package/dist/commands/diagnostics.js.map +1 -0
  465. package/dist/commands/doctor.d.ts +26 -0
  466. package/dist/commands/doctor.d.ts.map +1 -0
  467. package/dist/commands/doctor.js +84 -0
  468. package/dist/commands/doctor.js.map +1 -0
  469. package/dist/commands/executor.d.ts +4 -0
  470. package/dist/commands/executor.d.ts.map +1 -0
  471. package/dist/commands/executor.js +42 -0
  472. package/dist/commands/executor.js.map +1 -0
  473. package/dist/commands/fix.d.ts +51 -0
  474. package/dist/commands/fix.d.ts.map +1 -0
  475. package/dist/commands/fix.js +462 -0
  476. package/dist/commands/fix.js.map +1 -0
  477. package/dist/commands/init.d.ts +40 -0
  478. package/dist/commands/init.d.ts.map +1 -0
  479. package/dist/commands/init.js +184 -0
  480. package/dist/commands/init.js.map +1 -0
  481. package/dist/commands/scan.d.ts +55 -0
  482. package/dist/commands/scan.d.ts.map +1 -0
  483. package/dist/commands/scan.js +270 -0
  484. package/dist/commands/scan.js.map +1 -0
  485. package/dist/commands/service.d.ts +6 -0
  486. package/dist/commands/service.d.ts.map +1 -0
  487. package/dist/commands/service.js +20 -0
  488. package/dist/commands/service.js.map +1 -0
  489. package/dist/config/file-policy.d.ts +10 -0
  490. package/dist/config/file-policy.d.ts.map +1 -0
  491. package/dist/config/file-policy.js +72 -0
  492. package/dist/config/file-policy.js.map +1 -0
  493. package/dist/config/json-schema.d.ts +4 -0
  494. package/dist/config/json-schema.d.ts.map +1 -0
  495. package/dist/config/json-schema.js +129 -0
  496. package/dist/config/json-schema.js.map +1 -0
  497. package/dist/config/load-config.d.ts +17 -0
  498. package/dist/config/load-config.d.ts.map +1 -0
  499. package/dist/config/load-config.js +406 -0
  500. package/dist/config/load-config.js.map +1 -0
  501. package/dist/config/profiles.d.ts +3 -0
  502. package/dist/config/profiles.d.ts.map +1 -0
  503. package/dist/config/profiles.js +317 -0
  504. package/dist/config/profiles.js.map +1 -0
  505. package/dist/config/schema.d.ts +944 -0
  506. package/dist/config/schema.d.ts.map +1 -0
  507. package/dist/config/schema.js +364 -0
  508. package/dist/config/schema.js.map +1 -0
  509. package/dist/config/settings-definition.d.ts +25 -0
  510. package/dist/config/settings-definition.d.ts.map +1 -0
  511. package/dist/config/settings-definition.js +2 -0
  512. package/dist/config/settings-definition.js.map +1 -0
  513. package/dist/config/settings-registry.d.ts +19 -0
  514. package/dist/config/settings-registry.d.ts.map +1 -0
  515. package/dist/config/settings-registry.js +161 -0
  516. package/dist/config/settings-registry.js.map +1 -0
  517. package/dist/config/target-policy.d.ts +8 -0
  518. package/dist/config/target-policy.d.ts.map +1 -0
  519. package/dist/config/target-policy.js +58 -0
  520. package/dist/config/target-policy.js.map +1 -0
  521. package/dist/core/compare.d.ts +3 -0
  522. package/dist/core/compare.d.ts.map +1 -0
  523. package/dist/core/compare.js +5 -0
  524. package/dist/core/compare.js.map +1 -0
  525. package/dist/core/display-text.d.ts +13 -0
  526. package/dist/core/display-text.d.ts.map +1 -0
  527. package/dist/core/display-text.js +24 -0
  528. package/dist/core/display-text.js.map +1 -0
  529. package/dist/core/package-version.d.ts +2 -0
  530. package/dist/core/package-version.d.ts.map +1 -0
  531. package/dist/core/package-version.js +14 -0
  532. package/dist/core/package-version.js.map +1 -0
  533. package/dist/core/summarize.d.ts +4 -0
  534. package/dist/core/summarize.d.ts.map +1 -0
  535. package/dist/core/summarize.js +28 -0
  536. package/dist/core/summarize.js.map +1 -0
  537. package/dist/core/types.d.ts +128 -0
  538. package/dist/core/types.d.ts.map +1 -0
  539. package/dist/core/types.js +2 -0
  540. package/dist/core/types.js.map +1 -0
  541. package/dist/doctor/diagnostics.d.ts +27 -0
  542. package/dist/doctor/diagnostics.d.ts.map +1 -0
  543. package/dist/doctor/diagnostics.js +379 -0
  544. package/dist/doctor/diagnostics.js.map +1 -0
  545. package/dist/fixes/apply-plan.d.ts +14 -0
  546. package/dist/fixes/apply-plan.d.ts.map +1 -0
  547. package/dist/fixes/apply-plan.js +245 -0
  548. package/dist/fixes/apply-plan.js.map +1 -0
  549. package/dist/fixes/availability.d.ts +3 -0
  550. package/dist/fixes/availability.d.ts.map +1 -0
  551. package/dist/fixes/availability.js +4 -0
  552. package/dist/fixes/availability.js.map +1 -0
  553. package/dist/fixes/build-plan.d.ts +40 -0
  554. package/dist/fixes/build-plan.d.ts.map +1 -0
  555. package/dist/fixes/build-plan.js +589 -0
  556. package/dist/fixes/build-plan.js.map +1 -0
  557. package/dist/fixes/eslint-provider.d.ts +16 -0
  558. package/dist/fixes/eslint-provider.d.ts.map +1 -0
  559. package/dist/fixes/eslint-provider.js +153 -0
  560. package/dist/fixes/eslint-provider.js.map +1 -0
  561. package/dist/fixes/exact-edits.d.ts +5 -0
  562. package/dist/fixes/exact-edits.d.ts.map +1 -0
  563. package/dist/fixes/exact-edits.js +69 -0
  564. package/dist/fixes/exact-edits.js.map +1 -0
  565. package/dist/fixes/prettier-provider.d.ts +18 -0
  566. package/dist/fixes/prettier-provider.d.ts.map +1 -0
  567. package/dist/fixes/prettier-provider.js +74 -0
  568. package/dist/fixes/prettier-provider.js.map +1 -0
  569. package/dist/fixes/result-presentation.d.ts +9 -0
  570. package/dist/fixes/result-presentation.d.ts.map +1 -0
  571. package/dist/fixes/result-presentation.js +20 -0
  572. package/dist/fixes/result-presentation.js.map +1 -0
  573. package/dist/fixes/sanitize.d.ts +11 -0
  574. package/dist/fixes/sanitize.d.ts.map +1 -0
  575. package/dist/fixes/sanitize.js +217 -0
  576. package/dist/fixes/sanitize.js.map +1 -0
  577. package/dist/fixes/types.d.ts +123 -0
  578. package/dist/fixes/types.d.ts.map +1 -0
  579. package/dist/fixes/types.js +8 -0
  580. package/dist/fixes/types.js.map +1 -0
  581. package/dist/fixes/write-working-file.d.ts +26 -0
  582. package/dist/fixes/write-working-file.d.ts.map +1 -0
  583. package/dist/fixes/write-working-file.js +221 -0
  584. package/dist/fixes/write-working-file.js.map +1 -0
  585. package/dist/git/base-comparison.d.ts +13 -0
  586. package/dist/git/base-comparison.d.ts.map +1 -0
  587. package/dist/git/base-comparison.js +64 -0
  588. package/dist/git/base-comparison.js.map +1 -0
  589. package/dist/git/base-ref.d.ts +4 -0
  590. package/dist/git/base-ref.d.ts.map +1 -0
  591. package/dist/git/base-ref.js +21 -0
  592. package/dist/git/base-ref.js.map +1 -0
  593. package/dist/git/batch-object-stream.d.ts +8 -0
  594. package/dist/git/batch-object-stream.d.ts.map +1 -0
  595. package/dist/git/batch-object-stream.js +111 -0
  596. package/dist/git/batch-object-stream.js.map +1 -0
  597. package/dist/git/change-set.d.ts +25 -0
  598. package/dist/git/change-set.d.ts.map +1 -0
  599. package/dist/git/change-set.js +346 -0
  600. package/dist/git/change-set.js.map +1 -0
  601. package/dist/git/client.d.ts +39 -0
  602. package/dist/git/client.d.ts.map +1 -0
  603. package/dist/git/client.js +384 -0
  604. package/dist/git/client.js.map +1 -0
  605. package/dist/git/errors.d.ts +7 -0
  606. package/dist/git/errors.d.ts.map +1 -0
  607. package/dist/git/errors.js +11 -0
  608. package/dist/git/errors.js.map +1 -0
  609. package/dist/git/snapshot-path.d.ts +14 -0
  610. package/dist/git/snapshot-path.d.ts.map +1 -0
  611. package/dist/git/snapshot-path.js +59 -0
  612. package/dist/git/snapshot-path.js.map +1 -0
  613. package/dist/git/snapshot.d.ts +28 -0
  614. package/dist/git/snapshot.d.ts.map +1 -0
  615. package/dist/git/snapshot.js +492 -0
  616. package/dist/git/snapshot.js.map +1 -0
  617. package/dist/hooks/detect.d.ts +8 -0
  618. package/dist/hooks/detect.d.ts.map +1 -0
  619. package/dist/hooks/detect.js +208 -0
  620. package/dist/hooks/detect.js.map +1 -0
  621. package/dist/hooks/husky.d.ts +3 -0
  622. package/dist/hooks/husky.d.ts.map +1 -0
  623. package/dist/hooks/husky.js +23 -0
  624. package/dist/hooks/husky.js.map +1 -0
  625. package/dist/hooks/lefthook.d.ts +3 -0
  626. package/dist/hooks/lefthook.d.ts.map +1 -0
  627. package/dist/hooks/lefthook.js +27 -0
  628. package/dist/hooks/lefthook.js.map +1 -0
  629. package/dist/hooks/raw-git.d.ts +2 -0
  630. package/dist/hooks/raw-git.d.ts.map +1 -0
  631. package/dist/hooks/raw-git.js +5 -0
  632. package/dist/hooks/raw-git.js.map +1 -0
  633. package/dist/hooks/simple-git-hooks.d.ts +3 -0
  634. package/dist/hooks/simple-git-hooks.d.ts.map +1 -0
  635. package/dist/hooks/simple-git-hooks.js +33 -0
  636. package/dist/hooks/simple-git-hooks.js.map +1 -0
  637. package/dist/hooks/state.d.ts +2 -0
  638. package/dist/hooks/state.d.ts.map +1 -0
  639. package/dist/hooks/state.js +10 -0
  640. package/dist/hooks/state.js.map +1 -0
  641. package/dist/index.d.ts +19 -0
  642. package/dist/index.d.ts.map +1 -0
  643. package/dist/index.js +14 -0
  644. package/dist/index.js.map +1 -0
  645. package/dist/init/recommend.d.ts +7 -0
  646. package/dist/init/recommend.d.ts.map +1 -0
  647. package/dist/init/recommend.js +274 -0
  648. package/dist/init/recommend.js.map +1 -0
  649. package/dist/init/types.d.ts +60 -0
  650. package/dist/init/types.d.ts.map +1 -0
  651. package/dist/init/types.js +2 -0
  652. package/dist/init/types.js.map +1 -0
  653. package/dist/init/write-config.d.ts +3 -0
  654. package/dist/init/write-config.d.ts.map +1 -0
  655. package/dist/init/write-config.js +195 -0
  656. package/dist/init/write-config.js.map +1 -0
  657. package/dist/inspection/inspect-repository.d.ts +7 -0
  658. package/dist/inspection/inspect-repository.d.ts.map +1 -0
  659. package/dist/inspection/inspect-repository.js +212 -0
  660. package/dist/inspection/inspect-repository.js.map +1 -0
  661. package/dist/inspection/read-json.d.ts +37 -0
  662. package/dist/inspection/read-json.d.ts.map +1 -0
  663. package/dist/inspection/read-json.js +345 -0
  664. package/dist/inspection/read-json.js.map +1 -0
  665. package/dist/inspection/snapshot-registry.d.ts +24 -0
  666. package/dist/inspection/snapshot-registry.d.ts.map +1 -0
  667. package/dist/inspection/snapshot-registry.js +174 -0
  668. package/dist/inspection/snapshot-registry.js.map +1 -0
  669. package/dist/inspection/source-capture.d.ts +42 -0
  670. package/dist/inspection/source-capture.d.ts.map +1 -0
  671. package/dist/inspection/source-capture.js +336 -0
  672. package/dist/inspection/source-capture.js.map +1 -0
  673. package/dist/inspection/types.d.ts +31 -0
  674. package/dist/inspection/types.d.ts.map +1 -0
  675. package/dist/inspection/types.js +9 -0
  676. package/dist/inspection/types.js.map +1 -0
  677. package/dist/inspection/workspaces.d.ts +22 -0
  678. package/dist/inspection/workspaces.d.ts.map +1 -0
  679. package/dist/inspection/workspaces.js +209 -0
  680. package/dist/inspection/workspaces.js.map +1 -0
  681. package/dist/policy/evaluate.d.ts +13 -0
  682. package/dist/policy/evaluate.d.ts.map +1 -0
  683. package/dist/policy/evaluate.js +71 -0
  684. package/dist/policy/evaluate.js.map +1 -0
  685. package/dist/renderers/incomplete.d.ts +4 -0
  686. package/dist/renderers/incomplete.d.ts.map +1 -0
  687. package/dist/renderers/incomplete.js +72 -0
  688. package/dist/renderers/incomplete.js.map +1 -0
  689. package/dist/renderers/json.d.ts +3 -0
  690. package/dist/renderers/json.d.ts.map +1 -0
  691. package/dist/renderers/json.js +126 -0
  692. package/dist/renderers/json.js.map +1 -0
  693. package/dist/renderers/sarif.d.ts +3 -0
  694. package/dist/renderers/sarif.d.ts.map +1 -0
  695. package/dist/renderers/sarif.js +222 -0
  696. package/dist/renderers/sarif.js.map +1 -0
  697. package/dist/renderers/terminal-cells.d.ts +6 -0
  698. package/dist/renderers/terminal-cells.d.ts.map +1 -0
  699. package/dist/renderers/terminal-cells.js +110 -0
  700. package/dist/renderers/terminal-cells.js.map +1 -0
  701. package/dist/renderers/terminal-style.d.ts +4 -0
  702. package/dist/renderers/terminal-style.d.ts.map +1 -0
  703. package/dist/renderers/terminal-style.js +21 -0
  704. package/dist/renderers/terminal-style.js.map +1 -0
  705. package/dist/renderers/text.d.ts +10 -0
  706. package/dist/renderers/text.d.ts.map +1 -0
  707. package/dist/renderers/text.js +379 -0
  708. package/dist/renderers/text.js.map +1 -0
  709. package/dist/reporting/agent-guidance.d.ts +11 -0
  710. package/dist/reporting/agent-guidance.d.ts.map +1 -0
  711. package/dist/reporting/agent-guidance.js +17 -0
  712. package/dist/reporting/agent-guidance.js.map +1 -0
  713. package/dist/reporting/check-label.d.ts +3 -0
  714. package/dist/reporting/check-label.d.ts.map +1 -0
  715. package/dist/reporting/check-label.js +38 -0
  716. package/dist/reporting/check-label.js.map +1 -0
  717. package/dist/reporting/next-steps.d.ts +13 -0
  718. package/dist/reporting/next-steps.d.ts.map +1 -0
  719. package/dist/reporting/next-steps.js +47 -0
  720. package/dist/reporting/next-steps.js.map +1 -0
  721. package/dist/reporting/presentation.d.ts +23 -0
  722. package/dist/reporting/presentation.d.ts.map +1 -0
  723. package/dist/reporting/presentation.js +120 -0
  724. package/dist/reporting/presentation.js.map +1 -0
  725. package/dist/reporting/report-age.d.ts +3 -0
  726. package/dist/reporting/report-age.d.ts.map +1 -0
  727. package/dist/reporting/report-age.js +31 -0
  728. package/dist/reporting/report-age.js.map +1 -0
  729. package/dist/reporting/report-callouts.d.ts +15 -0
  730. package/dist/reporting/report-callouts.d.ts.map +1 -0
  731. package/dist/reporting/report-callouts.js +47 -0
  732. package/dist/reporting/report-callouts.js.map +1 -0
  733. package/dist/reporting/report-path.d.ts +3 -0
  734. package/dist/reporting/report-path.d.ts.map +1 -0
  735. package/dist/reporting/report-path.js +8 -0
  736. package/dist/reporting/report-path.js.map +1 -0
  737. package/dist/reporting/result-sections.d.ts +14 -0
  738. package/dist/reporting/result-sections.d.ts.map +1 -0
  739. package/dist/reporting/result-sections.js +27 -0
  740. package/dist/reporting/result-sections.js.map +1 -0
  741. package/dist/reporting/source-identity.d.ts +4 -0
  742. package/dist/reporting/source-identity.d.ts.map +1 -0
  743. package/dist/reporting/source-identity.js +17 -0
  744. package/dist/reporting/source-identity.js.map +1 -0
  745. package/dist/reporting/source-line.d.ts +3 -0
  746. package/dist/reporting/source-line.d.ts.map +1 -0
  747. package/dist/reporting/source-line.js +8 -0
  748. package/dist/reporting/source-line.js.map +1 -0
  749. package/dist/reporting/temporary-reports.d.ts +31 -0
  750. package/dist/reporting/temporary-reports.d.ts.map +1 -0
  751. package/dist/reporting/temporary-reports.js +646 -0
  752. package/dist/reporting/temporary-reports.js.map +1 -0
  753. package/dist/runtime/node-support.d.ts +3 -0
  754. package/dist/runtime/node-support.d.ts.map +1 -0
  755. package/dist/runtime/node-support.js +6 -0
  756. package/dist/runtime/node-support.js.map +1 -0
  757. package/dist/scan/analysis-failure.d.ts +18 -0
  758. package/dist/scan/analysis-failure.d.ts.map +1 -0
  759. package/dist/scan/analysis-failure.js +210 -0
  760. package/dist/scan/analysis-failure.js.map +1 -0
  761. package/dist/scan/analysis-session.d.ts +90 -0
  762. package/dist/scan/analysis-session.d.ts.map +1 -0
  763. package/dist/scan/analysis-session.js +327 -0
  764. package/dist/scan/analysis-session.js.map +1 -0
  765. package/dist/scan/incomplete-report.d.ts +25 -0
  766. package/dist/scan/incomplete-report.d.ts.map +1 -0
  767. package/dist/scan/incomplete-report.js +78 -0
  768. package/dist/scan/incomplete-report.js.map +1 -0
  769. package/dist/scan/report.d.ts +37 -0
  770. package/dist/scan/report.d.ts.map +1 -0
  771. package/dist/scan/report.js +2 -0
  772. package/dist/scan/report.js.map +1 -0
  773. package/dist/scan/reporting-options.d.ts +7 -0
  774. package/dist/scan/reporting-options.d.ts.map +1 -0
  775. package/dist/scan/reporting-options.js +19 -0
  776. package/dist/scan/reporting-options.js.map +1 -0
  777. package/dist/scan/resource-policy.d.ts +13 -0
  778. package/dist/scan/resource-policy.d.ts.map +1 -0
  779. package/dist/scan/resource-policy.js +67 -0
  780. package/dist/scan/resource-policy.js.map +1 -0
  781. package/dist/scan/run-scan.d.ts +32 -0
  782. package/dist/scan/run-scan.d.ts.map +1 -0
  783. package/dist/scan/run-scan.js +130 -0
  784. package/dist/scan/run-scan.js.map +1 -0
  785. package/dist/scan/source-excerpts.d.ts +7 -0
  786. package/dist/scan/source-excerpts.d.ts.map +1 -0
  787. package/dist/scan/source-excerpts.js +225 -0
  788. package/dist/scan/source-excerpts.js.map +1 -0
  789. package/dist/scan/source-mode.d.ts +9 -0
  790. package/dist/scan/source-mode.d.ts.map +1 -0
  791. package/dist/scan/source-mode.js +20 -0
  792. package/dist/scan/source-mode.js.map +1 -0
  793. package/dist/scan/unsupported-inputs.d.ts +14 -0
  794. package/dist/scan/unsupported-inputs.d.ts.map +1 -0
  795. package/dist/scan/unsupported-inputs.js +71 -0
  796. package/dist/scan/unsupported-inputs.js.map +1 -0
  797. package/dist/service/client.d.ts +37 -0
  798. package/dist/service/client.d.ts.map +1 -0
  799. package/dist/service/client.js +656 -0
  800. package/dist/service/client.js.map +1 -0
  801. package/dist/service/entry.d.ts +2 -0
  802. package/dist/service/entry.d.ts.map +1 -0
  803. package/dist/service/entry.js +104 -0
  804. package/dist/service/entry.js.map +1 -0
  805. package/dist/service/identity-content.d.ts +8 -0
  806. package/dist/service/identity-content.d.ts.map +1 -0
  807. package/dist/service/identity-content.js +250 -0
  808. package/dist/service/identity-content.js.map +1 -0
  809. package/dist/service/identity-parallel.d.ts +3 -0
  810. package/dist/service/identity-parallel.d.ts.map +1 -0
  811. package/dist/service/identity-parallel.js +83 -0
  812. package/dist/service/identity-parallel.js.map +1 -0
  813. package/dist/service/identity-worker.d.ts +2 -0
  814. package/dist/service/identity-worker.d.ts.map +1 -0
  815. package/dist/service/identity-worker.js +32 -0
  816. package/dist/service/identity-worker.js.map +1 -0
  817. package/dist/service/identity.d.ts +17 -0
  818. package/dist/service/identity.d.ts.map +1 -0
  819. package/dist/service/identity.js +70 -0
  820. package/dist/service/identity.js.map +1 -0
  821. package/dist/service/protocol.d.ts +32 -0
  822. package/dist/service/protocol.d.ts.map +1 -0
  823. package/dist/service/protocol.js +153 -0
  824. package/dist/service/protocol.js.map +1 -0
  825. package/dist/service/server.d.ts +28 -0
  826. package/dist/service/server.d.ts.map +1 -0
  827. package/dist/service/server.js +462 -0
  828. package/dist/service/server.js.map +1 -0
  829. package/dist/service/state.d.ts +32 -0
  830. package/dist/service/state.d.ts.map +1 -0
  831. package/dist/service/state.js +270 -0
  832. package/dist/service/state.js.map +1 -0
  833. package/dist/service/transport.d.ts +16 -0
  834. package/dist/service/transport.d.ts.map +1 -0
  835. package/dist/service/transport.js +116 -0
  836. package/dist/service/transport.js.map +1 -0
  837. package/dist/service/windows-pipe.d.ts +16 -0
  838. package/dist/service/windows-pipe.d.ts.map +1 -0
  839. package/dist/service/windows-pipe.js +397 -0
  840. package/dist/service/windows-pipe.js.map +1 -0
  841. package/dist/ui/bee-grid.d.ts +19 -0
  842. package/dist/ui/bee-grid.d.ts.map +1 -0
  843. package/dist/ui/bee-grid.js +36 -0
  844. package/dist/ui/bee-grid.js.map +1 -0
  845. package/dist/ui/branded-command-frame.d.ts +18 -0
  846. package/dist/ui/branded-command-frame.d.ts.map +1 -0
  847. package/dist/ui/branded-command-frame.js +46 -0
  848. package/dist/ui/branded-command-frame.js.map +1 -0
  849. package/dist/ui/checks-dashboard.d.ts +11 -0
  850. package/dist/ui/checks-dashboard.d.ts.map +1 -0
  851. package/dist/ui/checks-dashboard.js +39 -0
  852. package/dist/ui/checks-dashboard.js.map +1 -0
  853. package/dist/ui/compact-pixels.d.ts +7 -0
  854. package/dist/ui/compact-pixels.d.ts.map +1 -0
  855. package/dist/ui/compact-pixels.js +21 -0
  856. package/dist/ui/compact-pixels.js.map +1 -0
  857. package/dist/ui/doctor-dashboard.d.ts +11 -0
  858. package/dist/ui/doctor-dashboard.d.ts.map +1 -0
  859. package/dist/ui/doctor-dashboard.js +46 -0
  860. package/dist/ui/doctor-dashboard.js.map +1 -0
  861. package/dist/ui/findings-list.d.ts +8 -0
  862. package/dist/ui/findings-list.d.ts.map +1 -0
  863. package/dist/ui/findings-list.js +39 -0
  864. package/dist/ui/findings-list.js.map +1 -0
  865. package/dist/ui/fix-app.d.ts +34 -0
  866. package/dist/ui/fix-app.d.ts.map +1 -0
  867. package/dist/ui/fix-app.js +232 -0
  868. package/dist/ui/fix-app.js.map +1 -0
  869. package/dist/ui/fix-result-dashboard.d.ts +12 -0
  870. package/dist/ui/fix-result-dashboard.d.ts.map +1 -0
  871. package/dist/ui/fix-result-dashboard.js +47 -0
  872. package/dist/ui/fix-result-dashboard.js.map +1 -0
  873. package/dist/ui/incomplete-list.d.ts +7 -0
  874. package/dist/ui/incomplete-list.d.ts.map +1 -0
  875. package/dist/ui/incomplete-list.js +25 -0
  876. package/dist/ui/incomplete-list.js.map +1 -0
  877. package/dist/ui/init-app.d.ts +24 -0
  878. package/dist/ui/init-app.d.ts.map +1 -0
  879. package/dist/ui/init-app.js +294 -0
  880. package/dist/ui/init-app.js.map +1 -0
  881. package/dist/ui/live-dashboard.d.ts +28 -0
  882. package/dist/ui/live-dashboard.d.ts.map +1 -0
  883. package/dist/ui/live-dashboard.js +268 -0
  884. package/dist/ui/live-dashboard.js.map +1 -0
  885. package/dist/ui/outcome-strip.d.ts +7 -0
  886. package/dist/ui/outcome-strip.d.ts.map +1 -0
  887. package/dist/ui/outcome-strip.js +67 -0
  888. package/dist/ui/outcome-strip.js.map +1 -0
  889. package/dist/ui/pixel-bee.d.ts +11 -0
  890. package/dist/ui/pixel-bee.d.ts.map +1 -0
  891. package/dist/ui/pixel-bee.js +67 -0
  892. package/dist/ui/pixel-bee.js.map +1 -0
  893. package/dist/ui/pixel-clock.d.ts +10 -0
  894. package/dist/ui/pixel-clock.d.ts.map +1 -0
  895. package/dist/ui/pixel-clock.js +65 -0
  896. package/dist/ui/pixel-clock.js.map +1 -0
  897. package/dist/ui/pixel-wordmark.d.ts +11 -0
  898. package/dist/ui/pixel-wordmark.d.ts.map +1 -0
  899. package/dist/ui/pixel-wordmark.js +47 -0
  900. package/dist/ui/pixel-wordmark.js.map +1 -0
  901. package/dist/ui/render-ink.d.ts +12 -0
  902. package/dist/ui/render-ink.d.ts.map +1 -0
  903. package/dist/ui/render-ink.js +119 -0
  904. package/dist/ui/render-ink.js.map +1 -0
  905. package/dist/ui/render-static.d.ts +8 -0
  906. package/dist/ui/render-static.d.ts.map +1 -0
  907. package/dist/ui/render-static.js +40 -0
  908. package/dist/ui/render-static.js.map +1 -0
  909. package/dist/ui/scan-app.d.ts +17 -0
  910. package/dist/ui/scan-app.d.ts.map +1 -0
  911. package/dist/ui/scan-app.js +65 -0
  912. package/dist/ui/scan-app.js.map +1 -0
  913. package/dist/ui/scan-result-dashboard.d.ts +9 -0
  914. package/dist/ui/scan-result-dashboard.d.ts.map +1 -0
  915. package/dist/ui/scan-result-dashboard.js +109 -0
  916. package/dist/ui/scan-result-dashboard.js.map +1 -0
  917. package/dist/ui/terminal-mouse.d.ts +11 -0
  918. package/dist/ui/terminal-mouse.d.ts.map +1 -0
  919. package/dist/ui/terminal-mouse.js +18 -0
  920. package/dist/ui/terminal-mouse.js.map +1 -0
  921. package/dist/ui/terminal-viewport-model.d.ts +5 -0
  922. package/dist/ui/terminal-viewport-model.d.ts.map +1 -0
  923. package/dist/ui/terminal-viewport-model.js +32 -0
  924. package/dist/ui/terminal-viewport-model.js.map +1 -0
  925. package/dist/ui/terminal-viewport.d.ts +18 -0
  926. package/dist/ui/terminal-viewport.d.ts.map +1 -0
  927. package/dist/ui/terminal-viewport.js +80 -0
  928. package/dist/ui/terminal-viewport.js.map +1 -0
  929. package/dist/ui/theme.d.ts +18 -0
  930. package/dist/ui/theme.d.ts.map +1 -0
  931. package/dist/ui/theme.js +18 -0
  932. package/dist/ui/theme.js.map +1 -0
  933. package/dist/updates/cache.d.ts +12 -0
  934. package/dist/updates/cache.d.ts.map +1 -0
  935. package/dist/updates/cache.js +71 -0
  936. package/dist/updates/cache.js.map +1 -0
  937. package/dist/updates/metadata.d.ts +15 -0
  938. package/dist/updates/metadata.d.ts.map +1 -0
  939. package/dist/updates/metadata.js +78 -0
  940. package/dist/updates/metadata.js.map +1 -0
  941. package/dist/updates/notification.d.ts +19 -0
  942. package/dist/updates/notification.d.ts.map +1 -0
  943. package/dist/updates/notification.js +95 -0
  944. package/dist/updates/notification.js.map +1 -0
  945. package/dist/updates/worker.d.ts +5 -0
  946. package/dist/updates/worker.d.ts.map +1 -0
  947. package/dist/updates/worker.js +54 -0
  948. package/dist/updates/worker.js.map +1 -0
  949. package/docs/checks.md +185 -0
  950. package/docs/cli-reference.md +324 -0
  951. package/docs/commercial-licensing.md +26 -0
  952. package/docs/dependency-license-obligations.md +16 -0
  953. package/docs/managed-fixes.md +203 -0
  954. package/docs/privacy.md +90 -0
  955. package/docs/react-analysis.md +39 -0
  956. package/docs/readability-complexity.md +35 -0
  957. package/docs/reporting.md +105 -0
  958. package/docs/structural-security-coverage.md +32 -0
  959. package/docs/support.md +137 -0
  960. package/licenses/overrides/ast-grep-platform-0.45.1-LICENSE +21 -0
  961. package/licenses/overrides/emnapi-1.11.2-LICENSE +21 -0
  962. package/licenses/overrides/esrecurse-4.3.0-LICENSE +22 -0
  963. package/licenses/overrides/humanfs-types-0.15.0-LICENSE +201 -0
  964. package/licenses/overrides/imurmurhash-0.1.4-LICENSE +20 -0
  965. package/licenses/overrides/jscpd-5.0.15-LICENSE +21 -0
  966. package/licenses/overrides/keyv-4.5.4-LICENSE +22 -0
  967. package/licenses/overrides/koffi-platform-3.2.1-LICENSE +22 -0
  968. package/licenses/overrides/language-subtag-registry-0.3.23-LICENSE +125 -0
  969. package/licenses/overrides/language-tags-1.0.9-LICENSE +21 -0
  970. package/licenses/overrides/napi-rs-wasm-runtime-1.1.6-LICENSE +43 -0
  971. package/licenses/overrides/natural-compare-1.4.0-LICENSE +21 -0
  972. package/licenses/overrides/oxc-parser-platform-0.143.0-LICENSE +22 -0
  973. package/licenses/overrides/tslib-2.8.1-LICENSE +12 -0
  974. package/licenses/overrides/wasm-util-0.10.3-LICENSE +21 -0
  975. package/licenses/overrides/yarnpkg-lockfile-1.1.0-LICENSE +26 -0
  976. package/licenses/overrides/yoga-layout-3.2.1-LICENSE +21 -0
  977. package/licenses/production-inventory.json +8533 -0
  978. package/licenses/reviewed-obligations.json +23 -0
  979. package/licenses/reviewed-overrides.json +614 -0
  980. package/package.json +133 -0
  981. package/schema/zedbee.schema.json +4828 -0
@@ -0,0 +1,203 @@
1
+ # Managed fixes
2
+
3
+ `zedbee fix` rescans the current staged code, builds a fresh source-free plan,
4
+ and applies only approved managed fixes to working files. It never stages or
5
+ commits. Review the resulting working-tree diff, stage the changes you want,
6
+ and rescan before committing.
7
+
8
+ ## Quick start
9
+
10
+ Preview every supported kind of fix:
11
+
12
+ ```bash
13
+ npx zedbee fix
14
+ ```
15
+
16
+ In an interactive terminal, the preview is followed by a confirmation. A narrow
17
+ TTY remains a framed interactive, scrollable UI where you can Apply or Cancel;
18
+ width changes the viewport, not the approval behavior. A non-TTY invocation
19
+ without `--yes` prints a linear preview and does not write. `--yes` is the
20
+ automation approval flag:
21
+
22
+ ```bash
23
+ npx zedbee fix --yes
24
+ npx zedbee fix --yes --format json
25
+ ```
26
+
27
+ The bare command selects all three fixable checks. A named selector limits the
28
+ fresh analysis and plan to only the selected check:
29
+
30
+ ```bash
31
+ npx zedbee fix formatting
32
+ npx zedbee fix lint
33
+ npx zedbee fix reactCorrectness
34
+ ```
35
+
36
+ `formatting`, `lint`, and `reactCorrectness` are the only supported selectors.
37
+ For example, `zedbee fix reactAccessibility` is rejected instead of silently
38
+ doing something else. Suggestions and all unsupported checks remain manual.
39
+
40
+ ## What Zedbee can change
41
+
42
+ Both blocking and warning fixes are included when their check and rule are
43
+ enabled. Severity affects scan policy, not whether a safe supported fix may be
44
+ offered.
45
+
46
+ | Check | Managed behavior | Working-tree scope |
47
+ | ------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------ |
48
+ | `lint` | Applies only exact reported official fixes from Zedbee's bundled ESLint rules; ESLint suggestions remain manual | Exact finding ranges, composed with non-overlapping unstaged edits |
49
+ | `reactCorrectness` | Applies only exact reported official fixes from the bundled React and Hooks rules; React suggestions remain manual | Exact finding ranges, composed with non-overlapping unstaged edits |
50
+ | `formatting` | Runs managed Prettier after exact fixes | Complete current working file, including unstaged work |
51
+
52
+ ESLint and React correctness therefore apply only exact reported official fixes.
53
+ They do not run a broad `--fix`, apply suggestions, repair unreported debt, or
54
+ load project plugins and configuration. Prettier intentionally has whole-file
55
+ semantics: it formats the complete current working file, including unstaged
56
+ work in that file. Select `lint` or `reactCorrectness` alone when whole-file
57
+ formatting is not wanted.
58
+
59
+ For a file that receives both kinds, exact fixes run before selected
60
+ formatting. This preserves one deterministic order:
61
+
62
+ ```text
63
+ current working bytes
64
+ -> compose non-overlapping exact lint/React edits
65
+ -> format the complete resulting working file
66
+ -> atomically replace that working file
67
+ ```
68
+
69
+ ## Staged and unstaged examples
70
+
71
+ Suppose `src/value.ts` contains a staged extra semicolon, followed by a new
72
+ unstaged declaration. Bare `zedbee fix` can remove the exact staged lint error
73
+ and then format both declarations because formatting sees the complete current
74
+ working file. The Git index remains byte-for-byte unchanged.
75
+
76
+ If an unstaged edit overlaps the exact range Zedbee planned to replace, that
77
+ exact fix is marked as skipped before approval. Other safe exact fixes and
78
+ selected whole-file formatting remain applicable, including on the same file.
79
+ Non-overlapping unstaged edits are preserved. Zedbee skips the remaining actions
80
+ for a file if it changes after the preview or if safe read, formatting, or
81
+ atomic write checks fail.
82
+
83
+ The plan describes `target: "index"` because findings come from the fresh staged
84
+ snapshot. Application still targets working files only. Zedbee never stages or
85
+ commits, so the staged proposal is not silently rewritten under a pending
86
+ commit.
87
+
88
+ ## Preview and JSON
89
+
90
+ A typical compact plan reports selected checks, fix-action and file counts,
91
+ unique blocking and warning finding counts, file paths, whether each file
92
+ already has unstaged changes, and finding IDs. Each exact edit is one fix; one
93
+ whole-file formatting action is one fix even when several findings lead to it:
94
+
95
+ ```json
96
+ {
97
+ "applied": false,
98
+ "schemaVersion": 1,
99
+ "target": "index",
100
+ "selectedChecks": ["formatting", "lint", "reactCorrectness"],
101
+ "exitCode": 0,
102
+ "summary": {
103
+ "fixes": 3,
104
+ "files": 1,
105
+ "blocking": 1,
106
+ "warnings": 2,
107
+ "skipped": 0
108
+ },
109
+ "files": [
110
+ {
111
+ "path": "src/value.ts",
112
+ "fixes": 3,
113
+ "applicableFixes": 3,
114
+ "skippedFixes": 0,
115
+ "status": "applicable",
116
+ "reasons": [],
117
+ "hasUnstagedChanges": true
118
+ }
119
+ ],
120
+ "items": [
121
+ {
122
+ "checkId": "formatting",
123
+ "file": "src/value.ts",
124
+ "findingIds": ["format-warning", "lint-error", "lint-warning"],
125
+ "scope": "working-file",
126
+ "fixes": 1,
127
+ "blocking": 0,
128
+ "warnings": 1,
129
+ "status": "applicable"
130
+ },
131
+ {
132
+ "checkId": "lint",
133
+ "file": "src/value.ts",
134
+ "findingIds": ["lint-error", "lint-warning"],
135
+ "scope": "finding",
136
+ "fixes": 2,
137
+ "blocking": 1,
138
+ "warnings": 1,
139
+ "status": "applicable"
140
+ }
141
+ ]
142
+ }
143
+ ```
144
+
145
+ JSON remains schema version 1 and contains no replayable patch. Plans and apply
146
+ results are source-free metadata: they omit source text, replacements, base
147
+ content, hashes, absolute repository paths, and private execution material.
148
+ `--format json` without `--yes` is a deterministic, non-writing automation
149
+ preview with `applied: false`; adding `--yes` returns `applied: true` and a
150
+ source-free `result`.
151
+
152
+ Large interactive or text plans can persist the same complete source-free JSON
153
+ metadata in protected operating-system temporary storage. Maintenance warnings
154
+ do not change the fix outcome. The path is printed only after the report exists;
155
+ use explicit JSON redirection when an automation needs durable output.
156
+
157
+ ## Partial progress, conflicts, and durability
158
+
159
+ Partial completion applies safe files, reports skipped fixes with the file,
160
+ issue kind, reason, and remediation, and exits 1. A conflict or stale file does
161
+ not roll back a different safe file. Files are validated and replaced
162
+ independently.
163
+ Inspect every reported issue before retrying.
164
+
165
+ A durability warning can mean the working file was replaced but Zedbee could
166
+ not confirm directory durability. That is partial progress with a nonzero exit;
167
+ do not retry automatically. Inspect the file and filesystem first.
168
+
169
+ When one fix provider cannot finish, Zedbee keeps that check visibly marked
170
+ incomplete but may still preview and apply actions produced by other providers
171
+ that completed successfully. The incomplete provider contributes no actions,
172
+ and the command exits 1 even when every approved trustworthy action succeeds.
173
+ If no trustworthy actions remain, the interactive screen is read-only. A
174
+ foundational failure that prevents Zedbee from building a trustworthy plan at
175
+ all remains exit 2 and is never applied.
176
+
177
+ | Status | Managed-fix meaning |
178
+ | -----: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
179
+ | `0` | Preview/cancellation made no writes, or every selected provider and approved file operation completed without an issue |
180
+ | `1` | Some safe work may have completed, but at least one provider was incomplete or a conflict, stale file, formatting failure, write failure, or durability warning was reported |
181
+ | `2` | Zedbee could not build a trustworthy complete plan; no plan was applied |
182
+
183
+ ## Review, stage, and rescan
184
+
185
+ After an apply, treat the working tree as developer-owned work:
186
+
187
+ ```bash
188
+ git diff -- src/value.ts
189
+ git diff --cached
190
+ git add -- src/value.ts
191
+ npx zedbee scan
192
+ ```
193
+
194
+ Review the full working-tree diff, stage only the intended result, and rescan
195
+ the newly current index. Re-running `zedbee fix` also rescans current staged
196
+ code and recalculates candidates; it does not replay a prior plan. If a conflict
197
+ was reported, resolve the overlap manually before building another plan.
198
+
199
+ For agents and CI, prefer `npx zedbee fix --format json` to inspect a plan and
200
+ `npx zedbee fix --yes --format json` only after policy grants write approval.
201
+ Check `applied`, the top-level plan `exitCode`, the applied `result.exitCode`,
202
+ every issue, and the process status. Never infer that files were staged, never
203
+ commit automatically, and always review, stage, and rescan explicitly.
@@ -0,0 +1,90 @@
1
+ # Privacy and Data Handling
2
+
3
+ ## Local snapshot processing
4
+
5
+ Index mode materializes two temporary representations: committed `HEAD` and the exact staged Git index. It does not scan later unstaged working-tree edits. Source excerpts are read from that exact index snapshot, so an excerpt cannot be replaced by later working-tree content. An intent-to-add entry supplies no staged file content and is excluded as unstaged. Staged Git LFS pointers and submodule pointers cannot be inspected and make the scan incomplete. Binary assets remain allowed, but binary paths selected by enabled source, formatting, or vulnerability checks are incomplete rather than silently skipped. Every affected path is reported; intentional suppression is configurable with `pathExclusions`.
6
+
7
+ Explicit base mode (`scan --base <ref>`) instead materializes the unique merge-base commit and committed `HEAD`. Selected repository source, configuration, and excerpts come only from those immutable commit trees; staged, unstaged, and untracked source edits are not selected scan inputs. The permitted supporting dependency reads are described below. The base ref and common history must already be available locally. Zedbee performs no automatic network fetch, and missing shallow ancestry produces an incomplete result with exit code 2.
8
+
9
+ Snapshot paths are validated under a Zedbee-owned temporary directory, selected repository links may not escape it, and cleanup is attempted before the command returns once execution has stopped. Unproved execution cleanup retains snapshots and makes the scan incomplete. Cleanup failure may disclose one validated Zedbee temporary directory so the invoking human or agent can inspect exactly what remains; resolve the execution/cleanup problem before removing it. If Zedbee cannot safely validate the directory's identity, it reports no path and instead directs the operator to inspect the OS temporary directory for stale `zedbee-snapshot-*` directories. Correct permissions, locks, or filesystem problems before retrying: a persistent cause can make later cleanups fail and leave additional snapshots.
10
+
11
+ Local analyzers receive protected snapshot paths, selected checked source bytes, and managed inert configuration. Zedbee does not run package-manager lifecycle scripts, project commands, remediation, or executable project analyzer configuration.
12
+
13
+ TypeScript and typed lint can also capture supporting dependency inputs through constrained installed project `node_modules` and bundled TypeScript resolution boundaries. These are permitted local dependency reads outside the selected source snapshots. Captured content supports analysis in memory; only validated input fingerprints and normalized observations may enter the scan cache. Knip's captured inputs remain snapshot-only. Setup and diagnostics (`init` and `doctor`) may read working-copy configuration.
14
+
15
+ ## Local analyzer service
16
+
17
+ CLI scans and fixes normally share a private service for the current installation and Node runtime. It starts lazily, uses owner-restricted local sockets or Windows named pipes, and authenticates peers before accepting bounded source-bearing requests. Installed production contents are freshly checked when acquiring the service. No repository configuration can select a service endpoint, executable, worker module or ownership capability. This is local IPC, not a network upload or an operating-system sandbox; processes retain the invoking user's permissions.
18
+
19
+ Each analysis session freshly acquires its selected source bytes and clears source/project state on release. Engine modules with supported cleanup can remain loaded; compiler-backed React checks require worker retirement to release the upstream private source cache. Source, parsed programs and working-file formatting inputs are not a persistent service cache. Service discovery records contain protocol/content identity, a random instance and an authentication secret under owner-only permissions; they contain no source. Source-free coordination files can remain after shutdown, including an inert zero-byte completion file if a management client dies.
20
+
21
+ `scan --no-service` and `fix --no-service` close a local executor with the command. `service status` creates no state; `service stop` stops active work and waits for native cleanup. Automatic replacement after an upgrade lets existing sessions finish before cleanup and replacement. The service also stops after five idle minutes. Snapshot deletion waits for execution cleanup, including an independent native cleanup proof after lost IPC. If cleanup cannot be proved, snapshots remain and the scan is incomplete. Correct the reported cause before retrying or removing them.
22
+
23
+ ## Working-file fixes
24
+
25
+ Managed fix analysis uses the same isolated staged snapshots, then previews the
26
+ current working files that have supported candidates. Public managed fix plans
27
+ and results are source-free and contain no source text, replacements, hashes,
28
+ absolute repository paths, or replayable patches. Source-bearing candidate data
29
+ exists in the invoking process and bounded analyzer-session messages long enough to produce, validate and apply an approved plan. Formatting workers receive the complete current working source; that source is cleared with their session.
30
+
31
+ `zedbee fix` writes only validated working files. It does not stage or commit.
32
+ Exact lint and React edits are rejected when they overlap unstaged work;
33
+ selected Prettier formatting intentionally processes the complete current
34
+ working file, so it can reformat unstaged work. Review the working-tree diff
35
+ before staging anything.
36
+
37
+ ## Secrets
38
+
39
+ Secrets are always redacted, including when source excerpts are enabled by repository policy or CLI override. Zedbee passes changed snapshot text directly to Secretlint's in-process API with its own fixed preset; it never loads `.secretlintrc` or executable project configuration. Secretlint results are immediately reduced to rule and location metadata. Raw secret text, match text, upstream messages, author data, and source lines never cross into Zedbee findings, events, text, JSON, source excerpts, or stable IDs. To distinguish a different secret replacing existing debt at the same rule and location, Zedbee computes a per-scan HMAC over the exact source range with a random key. The digest and key are ephemeral and are not rendered, cached, or persisted.
40
+
41
+ ## Online vulnerability scanning
42
+
43
+ Zedbee's online-only OSV API client sends these metadata categories to `api.osv.dev`:
44
+
45
+ - package names;
46
+ - exact versions;
47
+ - the npm ecosystem identifier.
48
+
49
+ Repository source code and file hashes are not sent. Zedbee emits the service/category disclosure before scheduling online execution and persists it in Ink, text, and JSON results. File-scoped availability overrides are rejected.
50
+
51
+ There is no offline database mode. `checks.vulnerabilities.onUnavailable` controls an actual OSV outage or offline machine: `block` fails closed with an incomplete scan, while `warn` reports the incomplete check and permits the commit if no other policy blocks it. `zedbee init` asks for this choice whenever vulnerability scanning is available.
52
+
53
+ ## Update notifications
54
+
55
+ Interactive CLI commands may request `https://registry.npmjs.org/zedbee/latest`
56
+ in a detached background process. This request retrieves Zedbee's public release
57
+ metadata; it does not send repository code, dependency lists, file hashes, or
58
+ the installed Zedbee version. npm receives ordinary connection metadata such
59
+ as the requesting IP address. Redirects are rejected, the response size and
60
+ request duration are bounded, and failures do not affect command results.
61
+
62
+ The updater stores only the check timestamp, release name/version, and optional
63
+ Node.js engine requirement in `zedbee/update.json` beneath `XDG_CACHE_HOME`
64
+ (when absolute), or `~/.cache` otherwise. This cache is separate from scan
65
+ observations. Checks are attempted at most daily during ordinary use, including
66
+ after a failed request; concurrent workers share a refresh lock. Cached notices
67
+ older than seven days are ignored. No update is automatically installed.
68
+
69
+ Set `ZEDBEE_NO_UPDATE_CHECK=1` or `NO_UPDATE_NOTIFIER=1` to prevent both requests
70
+ and notices. CI, redirected output, JSON, SARIF, and help/version-only invocations
71
+ do not start an update check. Update information is informational terminal output
72
+ and is not included in scan findings, temporary reports, or structured exports.
73
+
74
+ ## Scan cache
75
+
76
+ 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.
77
+
78
+ ## Report source visibility
79
+
80
+ Interactive Ink shows ordinary source excerpts from the selected immutable target snapshot by default: the staged index in index mode or committed `HEAD` in base mode. Redirected text, JSON, and SARIF source excerpts are default off. This means ordinary selected source may be visible to the human or agent that invokes an interactive scan; use `--no-source` to suppress it. Use `--include-source` to opt text, JSON, or SARIF in, or set repository policy to `always`; an explicit CLI choice overrides repository policy for that scan. SARIF follows the same source-excerpt policy and never exposes secret finding content.
81
+
82
+ Automatic scans always write their complete JSON report to protected operating-system temporary storage, including passes with zero findings. Forced `--format ink` writes one only when its finding preview overflows. Zedbee requests owner-only POSIX permissions (directory mode `0700`, file mode `0600`) where supported and relies on user-specific OS temporary-storage protections on other platforms. `reporting.temporaryReportMaxAge` defaults to `"24h"`. 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. Use explicit JSON or SARIF output/redirection for a durable export.
83
+
84
+ Interactive source excerpts and disk persistence deliberately use separate source-excerpt policy decisions. By default, an automatic temporary report omits ordinary source, while Ink may show excerpts with the `interactive` setting; `always` or `--include-source` permits persistence, while `never` or `--no-source` prevents it. Existing source options and CLI overrides apply to automatic reports. Secret content is always redacted under every choice.
85
+
86
+ Report cleanup and write warnings are non-blocking maintenance diagnostics. Zedbee prints a report path only after a complete file exists. If writing fails, it restores every finding to terminal output; if cleanup fails, it warns and discloses only a safely validated managed path when one is available.
87
+
88
+ ## Agent and CI output
89
+
90
+ 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.
@@ -0,0 +1,39 @@
1
+ # React analysis policy
2
+
3
+ Zedbee runs React correctness checks only in workspaces that inspection identifies
4
+ as React, React DOM, Ink, Next.js, or Remix. DOM accessibility rules run only for
5
+ React DOM, Next.js, and Remix; JSX syntax alone does not imply a browser renderer.
6
+ This prevents DOM-specific advice from being applied to Ink terminal components.
7
+
8
+ Project ESLint, Babel, parser, and plugin configuration is never loaded. Zedbee
9
+ uses its pinned React, Hooks, and JSX accessibility plugins with report-only flat
10
+ configuration.
11
+
12
+ ## React version calibration
13
+
14
+ For each workspace and each isolated snapshot, React correctness independently
15
+ calibrates the managed React plugin from that snapshot's data. It first reads the
16
+ direct `react` declaration from that selected snapshot's `package.json`. If its exact
17
+ version or supported semver range can be resolved, Zedbee then prefers one
18
+ unambiguous matching direct record from a supported lockfile in the same
19
+ snapshot: `package-lock.json`, `npm-shrinkwrap.json`, `pnpm-lock.yaml`,
20
+ `yarn.lock`, or `bun.lock`. An exact workspace importer wins; otherwise a
21
+ lockfile-wide record may be used only when that lockfile owns the workspace.
22
+ This prevents a sibling workspace's lockfile record from calibrating the wrong
23
+ package in a monorepo.
24
+
25
+ If a supporting lockfile cannot be parsed, no matching record is unambiguous,
26
+ or the record belongs to another workspace, Zedbee silently uses the resolvable
27
+ selected manifest version instead. If the direct React declaration is absent,
28
+ unsupported, or cannot be resolved, Zedbee silently falls back to its managed
29
+ React 19.2 baseline. This makes calibration deterministic and gives
30
+ version-sensitive rules more appropriate input without requiring developers to
31
+ edit lockfiles for Zedbee.
32
+
33
+ Zedbee deliberately does not use eslint-plugin-react's `detect` mode: it would
34
+ probe the scanned project's installed package tree. React calibration parses
35
+ only manifests and lockfiles from the selected snapshot and never loads project
36
+ node_modules or executes project React code. Baseline and target snapshots are
37
+ calibrated independently, so a React upgrade is analyzed with each side's own
38
+ declared dependency state. Rules of Hooks, missing list keys, and DOM accessibility
39
+ rules do not depend on the React version setting.
@@ -0,0 +1,35 @@
1
+ # Zedbee Readability Complexity
2
+
3
+ > **Migration warning:** Zedbee Readability Complexity is an original metric. It is not Sonar Cognitive Complexity and does not claim score parity. Teams migrating from Sonar will see different numbers and must recalibrate their thresholds before blocking commits.
4
+
5
+ Zedbee reports one readability score for every function, method, constructor,
6
+ accessor, and arrow or function expression. Function boundaries reset both the
7
+ score and nesting depth, so a nested function never increases its owner's
8
+ score.
9
+
10
+ ## Scoring contract
11
+
12
+ - A decision contributes `1 + current decision nesting`.
13
+ - `if`, loops, `switch`, `catch`, and conditional (`?:`) expressions are
14
+ decisions.
15
+ - An `else if` contributes one decision without inheriting an extra nesting
16
+ level from the preceding `if`.
17
+ - Each contiguous same-operator logical segment contributes one. Changing from
18
+ `&&` to `||` starts another segment.
19
+
20
+ These examples are normative:
21
+
22
+ - `function f(){ if (a) { if (b) work(); } }` scores **3**: the outer
23
+ decision adds 1 and the nested decision adds 2.
24
+ - `function f(){ return a && b || c; }` scores **2**: the `&&` and `||`
25
+ segments each add 1.
26
+ - `function f(){ try { work(); } catch { recover(); } }` scores **1**: the
27
+ catch path adds 1.
28
+
29
+ Cyclomatic complexity is a separate metric produced by ESLint's core
30
+ `complexity` rule. Zedbee compares the complete baseline and staged values for
31
+ the same canonical syntax entity. Central attribution reports a blocking
32
+ finding only when the entity intersects the staged change and the configured
33
+ limit policy says the metric crossed or worsened above its threshold. Existing
34
+ debt and metrics on unchanged entities remain visible as unstaged observations,
35
+ not commit-blocking findings.
@@ -0,0 +1,105 @@
1
+ # Reporting and enterprise export
2
+
3
+ ## Safe analyzer diagnostics
4
+
5
+ `zedbee scan --diagnostics` and `zedbee fix --diagnostics` add runtime and stage
6
+ timings to stderr without changing the selected report format, findings, or exit
7
+ status. Analyzer failures include the check, operation, failure category, managed
8
+ engine identity, and available snapshot or exit metadata. Categories distinguish
9
+ startup, execution, cancellation, abnormal exit, invalid response, and cleanup
10
+ failures. Ordinary output remains unchanged when the flag is absent.
11
+
12
+ These diagnostics exclude source text, raw analyzer stdout/stderr, exception
13
+ stacks, and absolute repository or temporary paths. Expected incomplete-input
14
+ messages can still identify affected repository-relative files in the report.
15
+ Use diagnostics to investigate an incomplete result; they do not make that result
16
+ a pass. Check the report's source-excerpt settings before sharing the report itself.
17
+
18
+ ## Managed fix plans
19
+
20
+ A managed fix JSON preview remains schema version 1, is source-free, and
21
+ contains no replayable patch. It reports only repository-relative paths,
22
+ selected checks, counts, finding IDs, scopes, unstaged-change flags, approval
23
+ state, and source-free apply issues. Source text, replacements, hashes, and
24
+ private execution material are excluded. `zedbee fix --format json` previews
25
+ without writing; `zedbee fix --yes --format json` applies and includes the
26
+ result. See the [managed-fixes guide](managed-fixes.md).
27
+
28
+ Large human-readable plans may receive a complete temporary JSON plan path.
29
+ That path is printed only after persistence succeeds, maintenance warnings are
30
+ non-blocking, and the file follows the same configured temporary-report cleanup
31
+ age. Redirect explicit JSON when durable fix-plan metadata is required.
32
+
33
+ ## Automatic terminal output
34
+
35
+ 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.
36
+
37
+ 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.
38
+
39
+ Configure the limit and maximum report age without making any lockfile changes:
40
+
41
+ ```jsonc
42
+ {
43
+ "schemaVersion": 1,
44
+ "reporting": {
45
+ "sourceExcerpts": "interactive",
46
+ "terminalFindingLimit": 25,
47
+ "temporaryReportMaxAge": "24h",
48
+ "agentGuidance": {
49
+ "opening": "Use the complete report as the source of truth.",
50
+ "nextStep": "Fix every blocking finding, then run Zedbee again.",
51
+ },
52
+ },
53
+ }
54
+ ```
55
+
56
+ `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.
57
+
58
+ 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.
59
+
60
+ 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.
61
+
62
+ ## Explicit complete exports
63
+
64
+ Explicit text (`--format text`), JSON (`--format json`), and SARIF (`--format sarif`) output remains complete and never uses the terminal finding limit. This complete-export guarantee does not include forced Ink:
65
+
66
+ ```bash
67
+ npx zedbee scan --format text > zedbee-report.txt
68
+ npx zedbee scan --format json > zedbee-report.json
69
+ npx zedbee scan --format sarif > zedbee.sarif
70
+ ```
71
+
72
+ 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.
73
+
74
+ For a clean CI checkout, fetch the intended base ref and export an explicit committed comparison:
75
+
76
+ ```sh
77
+ git fetch --no-tags origin main
78
+ npx zedbee scan --base origin/main --format sarif > zedbee.sarif
79
+ ```
80
+
81
+ Ordinary `scan` remains an index comparison and sees no changes when a clean checkout's index matches `HEAD`. `--base origin/main` reports `mode: "base"`, the requested base, the resolved unique merge-base commit, committed `HEAD` as the target, and the number of changed paths between those commits. The base ref and sufficient ancestry must already exist locally; Zedbee never fetches automatically. Missing shallow history is reported as incomplete with exit code 2. Base-mode policy and source come from committed `HEAD`, never staged, unstaged, or untracked checkout files. `fix --base` is intentionally unavailable because committed report inputs are immutable.
82
+
83
+ ## SARIF 2.1.0
84
+
85
+ For enterprise ingestion, redirect the SARIF format your workflow consumes:
86
+
87
+ ```bash
88
+ npx zedbee scan --format sarif > zedbee.sarif
89
+ ```
90
+
91
+ `--format sarif` emits one complete report in SARIF 2.1.0. It is non-interactive, ANSI-free, deterministically ordered, and suitable for enterprise ingestion. The report includes the Zedbee tool and rule metadata, every canonical finding, stable finding fingerprints, repository-relative locations, attribution evidence, network disclosures, and incomplete-check notifications.
92
+
93
+ SARIF is a structured representation of the same scan, not a different policy decision. It retains Zedbee's normal exit status:
94
+
95
+ | Code | Meaning |
96
+ | ---: | -------------------------------------------------------- |
97
+ | `0` | Scan completed with no blocking findings. |
98
+ | `1` | Scan completed and repository policy blocked the commit. |
99
+ | `2` | Zedbee or an enabled check could not complete. |
100
+
101
+ For incomplete scans, the SARIF invocation has `executionSuccessful: false`, and each incomplete check is recorded in `toolExecutionNotifications`. A warning disposition can permit a commit under the configured policy, but it remains visible in the report; consumers must not treat incomplete analysis as a clean scan.
102
+
103
+ Explicit output is complete even when automatic terminal presentation is constrained: terminal finding limits never abbreviate explicitly requested text, JSON, or SARIF. Future terminal presentation changes do not alter this export contract.
104
+
105
+ 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.
@@ -0,0 +1,32 @@
1
+ # Structural security coverage
2
+
3
+ Zedbee ships a small, original set of high-confidence JavaScript and TypeScript
4
+ structural checks. They run locally against the exact Git-index snapshots and do
5
+ not load project code or download third-party rules.
6
+
7
+ | Rule | Reported structure |
8
+ | ------------------------------- | -------------------------------------------------------------------------------------------- |
9
+ | `direct-eval` | A direct `eval(...)` call |
10
+ | `function-constructor` | `Function(...)` or `new Function(...)` |
11
+ | `child-process-string-exec` | Imported Node `child_process.exec` or `execSync` |
12
+ | `dynamic-vm-execution` | Imported Node `vm.runInContext`, `runInNewContext`, or `runInThisContext` |
13
+ | `tls-verification-disabled` | An object property setting `rejectUnauthorized` to `false` |
14
+ | `weak-password-hash` | An imported Node MD5 or SHA-1 `createHash` call directly updated with a password-named value |
15
+ | `credential-over-insecure-http` | Imported Node HTTP(S)/`request` options combining static HTTP with a present credential |
16
+
17
+ These checks are intentionally narrower than Semgrep. They provide local AST
18
+ matching only: there is no dataflow or taint tracking, interfile analysis,
19
+ reachability analysis, framework rule pack, or continuously updated community
20
+ registry. In particular, aliases assigned after import and values assembled
21
+ across statements may not be detected. Zedbee should not be described as a
22
+ replacement for Semgrep Pro or an enterprise SAST platform.
23
+
24
+ For precision, global-looking APIs are ignored when their names are rebound in
25
+ the file. Request-option matching is limited to imports from Node's HTTP(S)
26
+ modules and the `request` package, and statically empty credential values are
27
+ ignored. These conservative boundaries can produce false negatives when aliases
28
+ are assembled dynamically.
29
+
30
+ Teams that need broader coverage can enable the separately managed Semgrep check
31
+ when that adapter is available. Keeping this built-in set original and bounded
32
+ also makes its behavior and licensing provenance straightforward to audit.