ddd-ts-kit 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (948) hide show
  1. package/CHANGELOG.md +284 -0
  2. package/README.fr.md +405 -18
  3. package/README.md +372 -17
  4. package/dist/check/canonical/context-layers.d.ts +7 -0
  5. package/dist/check/canonical/context-layers.d.ts.map +1 -0
  6. package/dist/check/canonical/context-layers.js +13 -0
  7. package/dist/check/canonical/context-layers.js.map +1 -0
  8. package/dist/check/canonical/first-flaw.d.ts +9 -0
  9. package/dist/check/canonical/first-flaw.d.ts.map +1 -0
  10. package/dist/check/canonical/first-flaw.js +18 -0
  11. package/dist/check/canonical/first-flaw.js.map +1 -0
  12. package/dist/check/canonical/flaw-in-contexts.d.ts +9 -0
  13. package/dist/check/canonical/flaw-in-contexts.d.ts.map +1 -0
  14. package/dist/check/canonical/flaw-in-contexts.js +12 -0
  15. package/dist/check/canonical/flaw-in-contexts.js.map +1 -0
  16. package/dist/check/canonical/is-context-relative.d.ts +3 -0
  17. package/dist/check/canonical/is-context-relative.d.ts.map +1 -0
  18. package/dist/check/canonical/is-context-relative.js +12 -0
  19. package/dist/check/canonical/is-context-relative.js.map +1 -0
  20. package/dist/check/explain/language-docs.js +1 -1
  21. package/dist/check/explain/language-docs.js.map +1 -1
  22. package/dist/check/explain/tree-docs.js +3 -3
  23. package/dist/check/explain/tree-docs.js.map +1 -1
  24. package/dist/check/fixtures/fixtures.d.ts.map +1 -1
  25. package/dist/check/fixtures/fixtures.js +2 -0
  26. package/dist/check/fixtures/fixtures.js.map +1 -1
  27. package/dist/check/fixtures/other-language-fixtures.d.ts +3 -0
  28. package/dist/check/fixtures/other-language-fixtures.d.ts.map +1 -0
  29. package/dist/check/fixtures/other-language-fixtures.js +151 -0
  30. package/dist/check/fixtures/other-language-fixtures.js.map +1 -0
  31. package/dist/check/fixtures/tree-fixtures.d.ts.map +1 -1
  32. package/dist/check/fixtures/tree-fixtures.js +29 -2
  33. package/dist/check/fixtures/tree-fixtures.js.map +1 -1
  34. package/dist/check/language/in-outside-record.d.ts +9 -0
  35. package/dist/check/language/in-outside-record.d.ts.map +1 -0
  36. package/dist/check/language/in-outside-record.js +12 -0
  37. package/dist/check/language/in-outside-record.js.map +1 -0
  38. package/dist/check/language/is-outside-place.d.ts +4 -0
  39. package/dist/check/language/is-outside-place.d.ts.map +1 -0
  40. package/dist/check/language/is-outside-place.js +7 -0
  41. package/dist/check/language/is-outside-place.js.map +1 -0
  42. package/dist/check/language/other-language-of.d.ts +12 -0
  43. package/dist/check/language/other-language-of.d.ts.map +1 -0
  44. package/dist/check/language/other-language-of.js +46 -0
  45. package/dist/check/language/other-language-of.js.map +1 -0
  46. package/dist/check/language/record-arguments.d.ts +6 -0
  47. package/dist/check/language/record-arguments.d.ts.map +1 -0
  48. package/dist/check/language/record-arguments.js +28 -0
  49. package/dist/check/language/record-arguments.js.map +1 -0
  50. package/dist/check/language/type-declarations.d.ts +10 -0
  51. package/dist/check/language/type-declarations.d.ts.map +1 -0
  52. package/dist/check/language/type-declarations.js +37 -0
  53. package/dist/check/language/type-declarations.js.map +1 -0
  54. package/dist/check/language/type-root.d.ts +7 -0
  55. package/dist/check/language/type-root.d.ts.map +1 -0
  56. package/dist/check/language/type-root.js +43 -0
  57. package/dist/check/language/type-root.js.map +1 -0
  58. package/dist/check/language/typed-by-other-language.d.ts +9 -0
  59. package/dist/check/language/typed-by-other-language.d.ts.map +1 -0
  60. package/dist/check/language/typed-by-other-language.js +73 -0
  61. package/dist/check/language/typed-by-other-language.js.map +1 -0
  62. package/dist/check/project/markdown-under.d.ts +3 -0
  63. package/dist/check/project/markdown-under.d.ts.map +1 -0
  64. package/dist/check/project/markdown-under.js +20 -0
  65. package/dist/check/project/markdown-under.js.map +1 -0
  66. package/dist/check/rules/language-declared-vocabulary.d.ts.map +1 -1
  67. package/dist/check/rules/language-declared-vocabulary.js +28 -3
  68. package/dist/check/rules/language-declared-vocabulary.js.map +1 -1
  69. package/dist/check/rules/tree-documented-paths.d.ts.map +1 -1
  70. package/dist/check/rules/tree-documented-paths.js +14 -30
  71. package/dist/check/rules/tree-documented-paths.js.map +1 -1
  72. package/dist/check/text/annotation-before.d.ts +7 -0
  73. package/dist/check/text/annotation-before.d.ts.map +1 -0
  74. package/dist/check/text/annotation-before.js +30 -0
  75. package/dist/check/text/annotation-before.js.map +1 -0
  76. package/dist/check/text/type-at.d.ts +7 -0
  77. package/dist/check/text/type-at.d.ts.map +1 -0
  78. package/dist/check/text/type-at.js +22 -0
  79. package/dist/check/text/type-at.js.map +1 -0
  80. package/dist/check/text/type-brackets.d.ts +6 -0
  81. package/dist/check/text/type-brackets.d.ts.map +1 -0
  82. package/dist/check/text/type-brackets.js +11 -0
  83. package/dist/check/text/type-brackets.js.map +1 -0
  84. package/dist/check/text/type-closing.d.ts +3 -0
  85. package/dist/check/text/type-closing.d.ts.map +1 -0
  86. package/dist/check/text/type-closing.js +13 -0
  87. package/dist/check/text/type-closing.js.map +1 -0
  88. package/dist/citations/candidates-of.d.ts +16 -0
  89. package/dist/citations/candidates-of.d.ts.map +1 -0
  90. package/dist/citations/candidates-of.js +51 -0
  91. package/dist/citations/candidates-of.js.map +1 -0
  92. package/dist/citations/citation-line.d.ts +4 -0
  93. package/dist/citations/citation-line.d.ts.map +1 -0
  94. package/dist/citations/citation-line.js +36 -0
  95. package/dist/citations/citation-line.js.map +1 -0
  96. package/dist/citations/citations-of.d.ts +14 -0
  97. package/dist/citations/citations-of.d.ts.map +1 -0
  98. package/dist/citations/citations-of.js +21 -0
  99. package/dist/citations/citations-of.js.map +1 -0
  100. package/dist/citations/cited-name.d.ts +12 -0
  101. package/dist/citations/cited-name.d.ts.map +1 -0
  102. package/dist/citations/cited-name.js +2 -0
  103. package/dist/citations/cited-name.js.map +1 -0
  104. package/dist/citations/cited-names.d.ts +14 -0
  105. package/dist/citations/cited-names.d.ts.map +1 -0
  106. package/dist/citations/cited-names.js +71 -0
  107. package/dist/citations/cited-names.js.map +1 -0
  108. package/dist/citations/cited-parts.d.ts +19 -0
  109. package/dist/citations/cited-parts.d.ts.map +1 -0
  110. package/dist/citations/cited-parts.js +30 -0
  111. package/dist/citations/cited-parts.js.map +1 -0
  112. package/dist/citations/cited-removals.d.ts +8 -0
  113. package/dist/citations/cited-removals.d.ts.map +1 -0
  114. package/dist/citations/cited-removals.js +13 -0
  115. package/dist/citations/cited-removals.js.map +1 -0
  116. package/dist/citations/citing.d.ts +7 -0
  117. package/dist/citations/citing.d.ts.map +1 -0
  118. package/dist/citations/citing.js +2 -0
  119. package/dist/citations/citing.js.map +1 -0
  120. package/dist/citations/declaration.d.ts +6 -0
  121. package/dist/citations/declaration.d.ts.map +1 -0
  122. package/dist/citations/declaration.js +2 -0
  123. package/dist/citations/declaration.js.map +1 -0
  124. package/dist/citations/design-of.d.ts +9 -0
  125. package/dist/citations/design-of.d.ts.map +1 -0
  126. package/dist/citations/design-of.js +8 -0
  127. package/dist/citations/design-of.js.map +1 -0
  128. package/dist/citations/document-part.d.ts +17 -0
  129. package/dist/citations/document-part.d.ts.map +1 -0
  130. package/dist/citations/document-part.js +2 -0
  131. package/dist/citations/document-part.js.map +1 -0
  132. package/dist/citations/evidence.d.ts +14 -0
  133. package/dist/citations/evidence.d.ts.map +1 -0
  134. package/dist/citations/evidence.js +2 -0
  135. package/dist/citations/evidence.js.map +1 -0
  136. package/dist/citations/format-citations.d.ts +4 -0
  137. package/dist/citations/format-citations.d.ts.map +1 -0
  138. package/dist/citations/format-citations.js +23 -0
  139. package/dist/citations/format-citations.js.map +1 -0
  140. package/dist/citations/format-removals.d.ts +4 -0
  141. package/dist/citations/format-removals.d.ts.map +1 -0
  142. package/dist/citations/format-removals.js +15 -0
  143. package/dist/citations/format-removals.js.map +1 -0
  144. package/dist/citations/history-of.d.ts +8 -0
  145. package/dist/citations/history-of.d.ts.map +1 -0
  146. package/dist/citations/history-of.js +59 -0
  147. package/dist/citations/history-of.js.map +1 -0
  148. package/dist/citations/history.d.ts +23 -0
  149. package/dist/citations/history.d.ts.map +1 -0
  150. package/dist/citations/history.js +2 -0
  151. package/dist/citations/history.js.map +1 -0
  152. package/dist/citations/index-at-ref.d.ts +7 -0
  153. package/dist/citations/index-at-ref.d.ts.map +1 -0
  154. package/dist/citations/index-at-ref.js +22 -0
  155. package/dist/citations/index-at-ref.js.map +1 -0
  156. package/dist/citations/index-of-project.d.ts +5 -0
  157. package/dist/citations/index-of-project.d.ts.map +1 -0
  158. package/dist/citations/index-of-project.js +12 -0
  159. package/dist/citations/index-of-project.js.map +1 -0
  160. package/dist/citations/is-test-file.d.ts +3 -0
  161. package/dist/citations/is-test-file.d.ts.map +1 -0
  162. package/dist/citations/is-test-file.js +5 -0
  163. package/dist/citations/is-test-file.js.map +1 -0
  164. package/dist/citations/judge-citation.d.ts +7 -0
  165. package/dist/citations/judge-citation.d.ts.map +1 -0
  166. package/dist/citations/judge-citation.js +11 -0
  167. package/dist/citations/judge-citation.js.map +1 -0
  168. package/dist/citations/judge-member.d.ts +10 -0
  169. package/dist/citations/judge-member.d.ts.map +1 -0
  170. package/dist/citations/judge-member.js +39 -0
  171. package/dist/citations/judge-member.js.map +1 -0
  172. package/dist/citations/judge-path.d.ts +10 -0
  173. package/dist/citations/judge-path.d.ts.map +1 -0
  174. package/dist/citations/judge-path.js +38 -0
  175. package/dist/citations/judge-path.js.map +1 -0
  176. package/dist/citations/judge-symbol.d.ts +10 -0
  177. package/dist/citations/judge-symbol.d.ts.map +1 -0
  178. package/dist/citations/judge-symbol.js +29 -0
  179. package/dist/citations/judge-symbol.js.map +1 -0
  180. package/dist/citations/judged-citations.d.ts +17 -0
  181. package/dist/citations/judged-citations.d.ts.map +1 -0
  182. package/dist/citations/judged-citations.js +24 -0
  183. package/dist/citations/judged-citations.js.map +1 -0
  184. package/dist/citations/line-time.d.ts +7 -0
  185. package/dist/citations/line-time.d.ts.map +1 -0
  186. package/dist/citations/line-time.js +12 -0
  187. package/dist/citations/line-time.js.map +1 -0
  188. package/dist/citations/lines-of.d.ts +3 -0
  189. package/dist/citations/lines-of.d.ts.map +1 -0
  190. package/dist/citations/lines-of.js +5 -0
  191. package/dist/citations/lines-of.js.map +1 -0
  192. package/dist/citations/mentioned-rows.d.ts +7 -0
  193. package/dist/citations/mentioned-rows.d.ts.map +1 -0
  194. package/dist/citations/mentioned-rows.js +21 -0
  195. package/dist/citations/mentioned-rows.js.map +1 -0
  196. package/dist/citations/name-index-of.d.ts +5 -0
  197. package/dist/citations/name-index-of.d.ts.map +1 -0
  198. package/dist/citations/name-index-of.js +13 -0
  199. package/dist/citations/name-index-of.js.map +1 -0
  200. package/dist/citations/name-index.d.ts +8 -0
  201. package/dist/citations/name-index.d.ts.map +1 -0
  202. package/dist/citations/name-index.js +2 -0
  203. package/dist/citations/name-index.js.map +1 -0
  204. package/dist/citations/names-of-file.d.ts +7 -0
  205. package/dist/citations/names-of-file.d.ts.map +1 -0
  206. package/dist/citations/names-of-file.js +18 -0
  207. package/dist/citations/names-of-file.js.map +1 -0
  208. package/dist/citations/open-rows.d.ts +4 -0
  209. package/dist/citations/open-rows.d.ts.map +1 -0
  210. package/dist/citations/open-rows.js +9 -0
  211. package/dist/citations/open-rows.js.map +1 -0
  212. package/dist/citations/parts-of-document.d.ts +14 -0
  213. package/dist/citations/parts-of-document.d.ts.map +1 -0
  214. package/dist/citations/parts-of-document.js +51 -0
  215. package/dist/citations/parts-of-document.js.map +1 -0
  216. package/dist/citations/parts-of-slices.d.ts +13 -0
  217. package/dist/citations/parts-of-slices.d.ts.map +1 -0
  218. package/dist/citations/parts-of-slices.js +40 -0
  219. package/dist/citations/parts-of-slices.js.map +1 -0
  220. package/dist/citations/ref-notes.d.ts +6 -0
  221. package/dist/citations/ref-notes.d.ts.map +1 -0
  222. package/dist/citations/ref-notes.js +27 -0
  223. package/dist/citations/ref-notes.js.map +1 -0
  224. package/dist/citations/removal-naming.d.ts +9 -0
  225. package/dist/citations/removal-naming.d.ts.map +1 -0
  226. package/dist/citations/removal-naming.js +32 -0
  227. package/dist/citations/removal-naming.js.map +1 -0
  228. package/dist/citations/removals-at-ref.d.ts +8 -0
  229. package/dist/citations/removals-at-ref.d.ts.map +1 -0
  230. package/dist/citations/removals-at-ref.js +24 -0
  231. package/dist/citations/removals-at-ref.js.map +1 -0
  232. package/dist/citations/removals-since.d.ts +8 -0
  233. package/dist/citations/removals-since.d.ts.map +1 -0
  234. package/dist/citations/removals-since.js +16 -0
  235. package/dist/citations/removals-since.js.map +1 -0
  236. package/dist/citations/removed-by-of.d.ts +5 -0
  237. package/dist/citations/removed-by-of.d.ts.map +1 -0
  238. package/dist/citations/removed-by-of.js +6 -0
  239. package/dist/citations/removed-by-of.js.map +1 -0
  240. package/dist/citations/role-suffix-of.d.ts +8 -0
  241. package/dist/citations/role-suffix-of.d.ts.map +1 -0
  242. package/dist/citations/role-suffix-of.js +28 -0
  243. package/dist/citations/role-suffix-of.js.map +1 -0
  244. package/dist/citations/row-documents.d.ts +10 -0
  245. package/dist/citations/row-documents.d.ts.map +1 -0
  246. package/dist/citations/row-documents.js +42 -0
  247. package/dist/citations/row-documents.js.map +1 -0
  248. package/dist/citations/same-stem-names.d.ts +11 -0
  249. package/dist/citations/same-stem-names.d.ts.map +1 -0
  250. package/dist/citations/same-stem-names.js +41 -0
  251. package/dist/citations/same-stem-names.js.map +1 -0
  252. package/dist/citations/select-parts.d.ts +9 -0
  253. package/dist/citations/select-parts.d.ts.map +1 -0
  254. package/dist/citations/select-parts.js +11 -0
  255. package/dist/citations/select-parts.js.map +1 -0
  256. package/dist/citations/stale-citation.d.ts +39 -0
  257. package/dist/citations/stale-citation.d.ts.map +1 -0
  258. package/dist/citations/stale-citation.js +2 -0
  259. package/dist/citations/stale-citation.js.map +1 -0
  260. package/dist/citations/stale-names-at.d.ts +26 -0
  261. package/dist/citations/stale-names-at.d.ts.map +1 -0
  262. package/dist/citations/stale-names-at.js +31 -0
  263. package/dist/citations/stale-names-at.js.map +1 -0
  264. package/dist/citations/stale-names-since.d.ts +10 -0
  265. package/dist/citations/stale-names-since.d.ts.map +1 -0
  266. package/dist/citations/stale-names-since.js +26 -0
  267. package/dist/citations/stale-names-since.js.map +1 -0
  268. package/dist/citations/text-units.d.ts +7 -0
  269. package/dist/citations/text-units.d.ts.map +1 -0
  270. package/dist/citations/text-units.js +31 -0
  271. package/dist/citations/text-units.js.map +1 -0
  272. package/dist/commands/cited.d.ts +8 -0
  273. package/dist/commands/cited.d.ts.map +1 -0
  274. package/dist/commands/cited.js +70 -0
  275. package/dist/commands/cited.js.map +1 -0
  276. package/dist/commands/doctor.d.ts +1 -1
  277. package/dist/commands/doctor.d.ts.map +1 -1
  278. package/dist/commands/doctor.js +7 -3
  279. package/dist/commands/doctor.js.map +1 -1
  280. package/dist/commands/merge-trunk.d.ts +9 -0
  281. package/dist/commands/merge-trunk.d.ts.map +1 -0
  282. package/dist/commands/merge-trunk.js +58 -0
  283. package/dist/commands/merge-trunk.js.map +1 -0
  284. package/dist/commands/rows-option.d.ts +5 -0
  285. package/dist/commands/rows-option.d.ts.map +1 -0
  286. package/dist/commands/rows-option.js +13 -0
  287. package/dist/commands/rows-option.js.map +1 -0
  288. package/dist/commands/status.d.ts.map +1 -1
  289. package/dist/commands/status.js +3 -1
  290. package/dist/commands/status.js.map +1 -1
  291. package/dist/commands/story-check.d.ts +9 -0
  292. package/dist/commands/story-check.d.ts.map +1 -0
  293. package/dist/commands/story-check.js +21 -0
  294. package/dist/commands/story-check.js.map +1 -0
  295. package/dist/commands/verify-merge.d.ts +9 -0
  296. package/dist/commands/verify-merge.d.ts.map +1 -0
  297. package/dist/commands/verify-merge.js +33 -0
  298. package/dist/commands/verify-merge.js.map +1 -0
  299. package/dist/commands/worker-scope.d.ts +4 -1
  300. package/dist/commands/worker-scope.d.ts.map +1 -1
  301. package/dist/commands/worker-scope.js +17 -14
  302. package/dist/commands/worker-scope.js.map +1 -1
  303. package/dist/derived/is-derived.d.ts +8 -0
  304. package/dist/derived/is-derived.d.ts.map +1 -0
  305. package/dist/derived/is-derived.js +18 -0
  306. package/dist/derived/is-derived.js.map +1 -0
  307. package/dist/doctor/diagnose.d.ts +2 -2
  308. package/dist/doctor/diagnose.d.ts.map +1 -1
  309. package/dist/doctor/diagnose.js +4 -2
  310. package/dist/doctor/diagnose.js.map +1 -1
  311. package/dist/doctor/doctor-finding.d.ts +3 -2
  312. package/dist/doctor/doctor-finding.d.ts.map +1 -1
  313. package/dist/doctor/format-diagnosis.d.ts +2 -1
  314. package/dist/doctor/format-diagnosis.d.ts.map +1 -1
  315. package/dist/doctor/format-diagnosis.js +31 -6
  316. package/dist/doctor/format-diagnosis.js.map +1 -1
  317. package/dist/doctor/hook-findings.d.ts +8 -0
  318. package/dist/doctor/hook-findings.d.ts.map +1 -0
  319. package/dist/doctor/hook-findings.js +54 -0
  320. package/dist/doctor/hook-findings.js.map +1 -0
  321. package/dist/help/notes.d.ts +1 -1
  322. package/dist/help/notes.d.ts.map +1 -1
  323. package/dist/help/notes.js +94 -10
  324. package/dist/help/notes.js.map +1 -1
  325. package/dist/help/usage.d.ts +1 -1
  326. package/dist/help/usage.d.ts.map +1 -1
  327. package/dist/help/usage.js +7 -1
  328. package/dist/help/usage.js.map +1 -1
  329. package/dist/init/agent-permissions.d.ts.map +1 -1
  330. package/dist/init/agent-permissions.js +6 -0
  331. package/dist/init/agent-permissions.js.map +1 -1
  332. package/dist/init/manifest/versions.js +24 -24
  333. package/dist/merge/abort-merge.d.ts +6 -0
  334. package/dist/merge/abort-merge.d.ts.map +1 -0
  335. package/dist/merge/abort-merge.js +31 -0
  336. package/dist/merge/abort-merge.js.map +1 -0
  337. package/dist/merge/accept-in-merge-message.d.ts +7 -0
  338. package/dist/merge/accept-in-merge-message.d.ts.map +1 -0
  339. package/dist/merge/accept-in-merge-message.js +15 -0
  340. package/dist/merge/accept-in-merge-message.js.map +1 -0
  341. package/dist/merge/apply-resolutions.d.ts +8 -0
  342. package/dist/merge/apply-resolutions.d.ts.map +1 -0
  343. package/dist/merge/apply-resolutions.js +30 -0
  344. package/dist/merge/apply-resolutions.js.map +1 -0
  345. package/dist/merge/base-point.d.ts +34 -0
  346. package/dist/merge/base-point.d.ts.map +1 -0
  347. package/dist/merge/base-point.js +2 -0
  348. package/dist/merge/base-point.js.map +1 -0
  349. package/dist/merge/base-query.d.ts +14 -0
  350. package/dist/merge/base-query.d.ts.map +1 -0
  351. package/dist/merge/base-query.js +2 -0
  352. package/dist/merge/base-query.js.map +1 -0
  353. package/dist/merge/classify-conflict.d.ts +15 -0
  354. package/dist/merge/classify-conflict.d.ts.map +1 -0
  355. package/dist/merge/classify-conflict.js +33 -0
  356. package/dist/merge/classify-conflict.js.map +1 -0
  357. package/dist/merge/commit-merge.d.ts +15 -0
  358. package/dist/merge/commit-merge.d.ts.map +1 -0
  359. package/dist/merge/commit-merge.js +48 -0
  360. package/dist/merge/commit-merge.js.map +1 -0
  361. package/dist/merge/conflict-blocks.d.ts +23 -0
  362. package/dist/merge/conflict-blocks.d.ts.map +1 -0
  363. package/dist/merge/conflict-blocks.js +45 -0
  364. package/dist/merge/conflict-blocks.js.map +1 -0
  365. package/dist/merge/conflicted-path.d.ts +14 -0
  366. package/dist/merge/conflicted-path.d.ts.map +1 -0
  367. package/dist/merge/conflicted-path.js +2 -0
  368. package/dist/merge/conflicted-path.js.map +1 -0
  369. package/dist/merge/conflicted-paths.d.ts +9 -0
  370. package/dist/merge/conflicted-paths.d.ts.map +1 -0
  371. package/dist/merge/conflicted-paths.js +43 -0
  372. package/dist/merge/conflicted-paths.js.map +1 -0
  373. package/dist/merge/continue-merge.d.ts +16 -0
  374. package/dist/merge/continue-merge.d.ts.map +1 -0
  375. package/dist/merge/continue-merge.js +119 -0
  376. package/dist/merge/continue-merge.js.map +1 -0
  377. package/dist/merge/ensure-mergeable.d.ts +7 -0
  378. package/dist/merge/ensure-mergeable.d.ts.map +1 -0
  379. package/dist/merge/ensure-mergeable.js +42 -0
  380. package/dist/merge/ensure-mergeable.js.map +1 -0
  381. package/dist/merge/for-you-entry.d.ts +20 -0
  382. package/dist/merge/for-you-entry.d.ts.map +1 -0
  383. package/dist/merge/for-you-entry.js +47 -0
  384. package/dist/merge/for-you-entry.js.map +1 -0
  385. package/dist/merge/format-merge-report.d.ts +9 -0
  386. package/dist/merge/format-merge-report.d.ts.map +1 -0
  387. package/dist/merge/format-merge-report.js +105 -0
  388. package/dist/merge/format-merge-report.js.map +1 -0
  389. package/dist/merge/git-path.d.ts +3 -0
  390. package/dist/merge/git-path.d.ts.map +1 -0
  391. package/dist/merge/git-path.js +7 -0
  392. package/dist/merge/git-path.js.map +1 -0
  393. package/dist/merge/git-process.d.ts +14 -0
  394. package/dist/merge/git-process.d.ts.map +1 -0
  395. package/dist/merge/git-process.js +17 -0
  396. package/dist/merge/git-process.js.map +1 -0
  397. package/dist/merge/git-version.d.ts +9 -0
  398. package/dist/merge/git-version.d.ts.map +1 -0
  399. package/dist/merge/git-version.js +17 -0
  400. package/dist/merge/git-version.js.map +1 -0
  401. package/dist/merge/land-drizzle.d.ts +15 -0
  402. package/dist/merge/land-drizzle.d.ts.map +1 -0
  403. package/dist/merge/land-drizzle.js +34 -0
  404. package/dist/merge/land-drizzle.js.map +1 -0
  405. package/dist/merge/landed-commit.d.ts +20 -0
  406. package/dist/merge/landed-commit.d.ts.map +1 -0
  407. package/dist/merge/landed-commit.js +58 -0
  408. package/dist/merge/landed-commit.js.map +1 -0
  409. package/dist/merge/landed-point.d.ts +9 -0
  410. package/dist/merge/landed-point.d.ts.map +1 -0
  411. package/dist/merge/landed-point.js +80 -0
  412. package/dist/merge/landed-point.js.map +1 -0
  413. package/dist/merge/lost/changed-paths.d.ts +7 -0
  414. package/dist/merge/lost/changed-paths.d.ts.map +1 -0
  415. package/dist/merge/lost/changed-paths.js +25 -0
  416. package/dist/merge/lost/changed-paths.js.map +1 -0
  417. package/dist/merge/lost/collapsed-files.d.ts +10 -0
  418. package/dist/merge/lost/collapsed-files.d.ts.map +1 -0
  419. package/dist/merge/lost/collapsed-files.js +26 -0
  420. package/dist/merge/lost/collapsed-files.js.map +1 -0
  421. package/dist/merge/lost/commit-of.d.ts +3 -0
  422. package/dist/merge/lost/commit-of.d.ts.map +1 -0
  423. package/dist/merge/lost/commit-of.js +6 -0
  424. package/dist/merge/lost/commit-of.js.map +1 -0
  425. package/dist/merge/lost/conflict-markers.d.ts +10 -0
  426. package/dist/merge/lost/conflict-markers.d.ts.map +1 -0
  427. package/dist/merge/lost/conflict-markers.js +32 -0
  428. package/dist/merge/lost/conflict-markers.js.map +1 -0
  429. package/dist/merge/lost/deleted-specs.d.ts +5 -0
  430. package/dist/merge/lost/deleted-specs.d.ts.map +1 -0
  431. package/dist/merge/lost/deleted-specs.js +22 -0
  432. package/dist/merge/lost/deleted-specs.js.map +1 -0
  433. package/dist/merge/lost/finding-sections.d.ts +11 -0
  434. package/dist/merge/lost/finding-sections.d.ts.map +1 -0
  435. package/dist/merge/lost/finding-sections.js +46 -0
  436. package/dist/merge/lost/finding-sections.js.map +1 -0
  437. package/dist/merge/lost/format-merge-verification.d.ts +7 -0
  438. package/dist/merge/lost/format-merge-verification.d.ts.map +1 -0
  439. package/dist/merge/lost/format-merge-verification.js +45 -0
  440. package/dist/merge/lost/format-merge-verification.js.map +1 -0
  441. package/dist/merge/lost/hunk.d.ts +8 -0
  442. package/dist/merge/lost/hunk.d.ts.map +1 -0
  443. package/dist/merge/lost/hunk.js +2 -0
  444. package/dist/merge/lost/hunk.js.map +1 -0
  445. package/dist/merge/lost/hunks-of.d.ts +4 -0
  446. package/dist/merge/lost/hunks-of.d.ts.map +1 -0
  447. package/dist/merge/lost/hunks-of.js +32 -0
  448. package/dist/merge/lost/hunks-of.js.map +1 -0
  449. package/dist/merge/lost/in-progress-merge.d.ts +8 -0
  450. package/dist/merge/lost/in-progress-merge.d.ts.map +1 -0
  451. package/dist/merge/lost/in-progress-merge.js +49 -0
  452. package/dist/merge/lost/in-progress-merge.js.map +1 -0
  453. package/dist/merge/lost/is-generated-text.d.ts +6 -0
  454. package/dist/merge/lost/is-generated-text.d.ts.map +1 -0
  455. package/dist/merge/lost/is-generated-text.js +10 -0
  456. package/dist/merge/lost/is-generated-text.js.map +1 -0
  457. package/dist/merge/lost/is-line-checked.d.ts +8 -0
  458. package/dist/merge/lost/is-line-checked.d.ts.map +1 -0
  459. package/dist/merge/lost/is-line-checked.js +32 -0
  460. package/dist/merge/lost/is-line-checked.js.map +1 -0
  461. package/dist/merge/lost/kept-rows.d.ts +9 -0
  462. package/dist/merge/lost/kept-rows.d.ts.map +1 -0
  463. package/dist/merge/lost/kept-rows.js +41 -0
  464. package/dist/merge/lost/kept-rows.js.map +1 -0
  465. package/dist/merge/lost/line-counts.d.ts +19 -0
  466. package/dist/merge/lost/line-counts.d.ts.map +1 -0
  467. package/dist/merge/lost/line-counts.js +33 -0
  468. package/dist/merge/lost/line-counts.js.map +1 -0
  469. package/dist/merge/lost/line-findings.d.ts +15 -0
  470. package/dist/merge/lost/line-findings.d.ts.map +1 -0
  471. package/dist/merge/lost/line-findings.js +14 -0
  472. package/dist/merge/lost/line-findings.js.map +1 -0
  473. package/dist/merge/lost/lost-lines.d.ts +12 -0
  474. package/dist/merge/lost/lost-lines.d.ts.map +1 -0
  475. package/dist/merge/lost/lost-lines.js +64 -0
  476. package/dist/merge/lost/lost-lines.js.map +1 -0
  477. package/dist/merge/lost/lost-migrations.d.ts +9 -0
  478. package/dist/merge/lost/lost-migrations.d.ts.map +1 -0
  479. package/dist/merge/lost/lost-migrations.js +51 -0
  480. package/dist/merge/lost/lost-migrations.js.map +1 -0
  481. package/dist/merge/lost/lost-tests.d.ts +10 -0
  482. package/dist/merge/lost/lost-tests.d.ts.map +1 -0
  483. package/dist/merge/lost/lost-tests.js +43 -0
  484. package/dist/merge/lost/lost-tests.js.map +1 -0
  485. package/dist/merge/lost/merge-base-of.d.ts +17 -0
  486. package/dist/merge/lost/merge-base-of.d.ts.map +1 -0
  487. package/dist/merge/lost/merge-base-of.js +31 -0
  488. package/dist/merge/lost/merge-base-of.js.map +1 -0
  489. package/dist/merge/lost/merge-check.d.ts +14 -0
  490. package/dist/merge/lost/merge-check.d.ts.map +1 -0
  491. package/dist/merge/lost/merge-check.js +2 -0
  492. package/dist/merge/lost/merge-check.js.map +1 -0
  493. package/dist/merge/lost/merge-finding.d.ts +27 -0
  494. package/dist/merge/lost/merge-finding.d.ts.map +1 -0
  495. package/dist/merge/lost/merge-finding.js +2 -0
  496. package/dist/merge/lost/merge-finding.js.map +1 -0
  497. package/dist/merge/lost/merge-of-record.d.ts +14 -0
  498. package/dist/merge/lost/merge-of-record.d.ts.map +1 -0
  499. package/dist/merge/lost/merge-of-record.js +36 -0
  500. package/dist/merge/lost/merge-of-record.js.map +1 -0
  501. package/dist/merge/lost/merge-records.d.ts +13 -0
  502. package/dist/merge/lost/merge-records.d.ts.map +1 -0
  503. package/dist/merge/lost/merge-records.js +24 -0
  504. package/dist/merge/lost/merge-records.js.map +1 -0
  505. package/dist/merge/lost/merge-repository-of.d.ts +4 -0
  506. package/dist/merge/lost/merge-repository-of.d.ts.map +1 -0
  507. package/dist/merge/lost/merge-repository-of.js +21 -0
  508. package/dist/merge/lost/merge-repository-of.js.map +1 -0
  509. package/dist/merge/lost/merge-repository.d.ts +10 -0
  510. package/dist/merge/lost/merge-repository.d.ts.map +1 -0
  511. package/dist/merge/lost/merge-repository.js +2 -0
  512. package/dist/merge/lost/merge-repository.js.map +1 -0
  513. package/dist/merge/lost/merge-sides.d.ts +11 -0
  514. package/dist/merge/lost/merge-sides.d.ts.map +1 -0
  515. package/dist/merge/lost/merge-sides.js +2 -0
  516. package/dist/merge/lost/merge-sides.js.map +1 -0
  517. package/dist/merge/lost/merge-to-verify.d.ts +16 -0
  518. package/dist/merge/lost/merge-to-verify.d.ts.map +1 -0
  519. package/dist/merge/lost/merge-to-verify.js +2 -0
  520. package/dist/merge/lost/merge-to-verify.js.map +1 -0
  521. package/dist/merge/lost/merge-verification.d.ts +13 -0
  522. package/dist/merge/lost/merge-verification.d.ts.map +1 -0
  523. package/dist/merge/lost/merge-verification.js +2 -0
  524. package/dist/merge/lost/merge-verification.js.map +1 -0
  525. package/dist/merge/lost/merges-since.d.ts +4 -0
  526. package/dist/merge/lost/merges-since.d.ts.map +1 -0
  527. package/dist/merge/lost/merges-since.js +7 -0
  528. package/dist/merge/lost/merges-since.js.map +1 -0
  529. package/dist/merge/lost/normalized-lines.d.ts +13 -0
  530. package/dist/merge/lost/normalized-lines.d.ts.map +1 -0
  531. package/dist/merge/lost/normalized-lines.js +45 -0
  532. package/dist/merge/lost/normalized-lines.js.map +1 -0
  533. package/dist/merge/lost/ranked-places.d.ts +12 -0
  534. package/dist/merge/lost/ranked-places.d.ts.map +1 -0
  535. package/dist/merge/lost/ranked-places.js +11 -0
  536. package/dist/merge/lost/ranked-places.js.map +1 -0
  537. package/dist/merge/lost/revision-files.d.ts +9 -0
  538. package/dist/merge/lost/revision-files.d.ts.map +1 -0
  539. package/dist/merge/lost/revision-files.js +58 -0
  540. package/dist/merge/lost/revision-files.js.map +1 -0
  541. package/dist/merge/lost/rewritten-in-place.d.ts +12 -0
  542. package/dist/merge/lost/rewritten-in-place.d.ts.map +1 -0
  543. package/dist/merge/lost/rewritten-in-place.js +28 -0
  544. package/dist/merge/lost/rewritten-in-place.js.map +1 -0
  545. package/dist/merge/lost/side-hunks.d.ts +8 -0
  546. package/dist/merge/lost/side-hunks.d.ts.map +1 -0
  547. package/dist/merge/lost/side-hunks.js +18 -0
  548. package/dist/merge/lost/side-hunks.js.map +1 -0
  549. package/dist/merge/lost/since-of.d.ts +7 -0
  550. package/dist/merge/lost/since-of.d.ts.map +1 -0
  551. package/dist/merge/lost/since-of.js +22 -0
  552. package/dist/merge/lost/since-of.js.map +1 -0
  553. package/dist/merge/lost/spec-file.d.ts +3 -0
  554. package/dist/merge/lost/spec-file.d.ts.map +1 -0
  555. package/dist/merge/lost/spec-file.js +3 -0
  556. package/dist/merge/lost/spec-file.js.map +1 -0
  557. package/dist/merge/lost/superseded-lines.d.ts +25 -0
  558. package/dist/merge/lost/superseded-lines.d.ts.map +1 -0
  559. package/dist/merge/lost/superseded-lines.js +53 -0
  560. package/dist/merge/lost/superseded-lines.js.map +1 -0
  561. package/dist/merge/lost/three-way-count.d.ts +18 -0
  562. package/dist/merge/lost/three-way-count.d.ts.map +1 -0
  563. package/dist/merge/lost/three-way-count.js +18 -0
  564. package/dist/merge/lost/three-way-count.js.map +1 -0
  565. package/dist/merge/lost/verify-merge.d.ts +11 -0
  566. package/dist/merge/lost/verify-merge.d.ts.map +1 -0
  567. package/dist/merge/lost/verify-merge.js +95 -0
  568. package/dist/merge/lost/verify-merge.js.map +1 -0
  569. package/dist/merge/lost/verify-merges.d.ts +17 -0
  570. package/dist/merge/lost/verify-merges.d.ts.map +1 -0
  571. package/dist/merge/lost/verify-merges.js +49 -0
  572. package/dist/merge/lost/verify-merges.js.map +1 -0
  573. package/dist/merge/lost-lines-gate.d.ts +9 -0
  574. package/dist/merge/lost-lines-gate.d.ts.map +1 -0
  575. package/dist/merge/lost-lines-gate.js +28 -0
  576. package/dist/merge/lost-lines-gate.js.map +1 -0
  577. package/dist/merge/mentioned-tables.d.ts +3 -0
  578. package/dist/merge/mentioned-tables.d.ts.map +1 -0
  579. package/dist/merge/mentioned-tables.js +13 -0
  580. package/dist/merge/mentioned-tables.js.map +1 -0
  581. package/dist/merge/merge-context.d.ts +15 -0
  582. package/dist/merge/merge-context.d.ts.map +1 -0
  583. package/dist/merge/merge-context.js +14 -0
  584. package/dist/merge/merge-context.js.map +1 -0
  585. package/dist/merge/merge-exclusions.d.ts +8 -0
  586. package/dist/merge/merge-exclusions.d.ts.map +1 -0
  587. package/dist/merge/merge-exclusions.js +27 -0
  588. package/dist/merge/merge-exclusions.js.map +1 -0
  589. package/dist/merge/merge-message.d.ts +17 -0
  590. package/dist/merge/merge-message.d.ts.map +1 -0
  591. package/dist/merge/merge-message.js +16 -0
  592. package/dist/merge/merge-message.js.map +1 -0
  593. package/dist/merge/merge-report.d.ts +81 -0
  594. package/dist/merge/merge-report.d.ts.map +1 -0
  595. package/dist/merge/merge-report.js +2 -0
  596. package/dist/merge/merge-report.js.map +1 -0
  597. package/dist/merge/merge-slices-rows.d.ts +15 -0
  598. package/dist/merge/merge-slices-rows.d.ts.map +1 -0
  599. package/dist/merge/merge-slices-rows.js +111 -0
  600. package/dist/merge/merge-slices-rows.js.map +1 -0
  601. package/dist/merge/merge-state.d.ts +24 -0
  602. package/dist/merge/merge-state.d.ts.map +1 -0
  603. package/dist/merge/merge-state.js +41 -0
  604. package/dist/merge/merge-state.js.map +1 -0
  605. package/dist/merge/merge-steps.d.ts +18 -0
  606. package/dist/merge/merge-steps.d.ts.map +1 -0
  607. package/dist/merge/merge-steps.js +63 -0
  608. package/dist/merge/merge-steps.js.map +1 -0
  609. package/dist/merge/merge-stored-events-lock.d.ts +13 -0
  610. package/dist/merge/merge-stored-events-lock.d.ts.map +1 -0
  611. package/dist/merge/merge-stored-events-lock.js +50 -0
  612. package/dist/merge/merge-stored-events-lock.js.map +1 -0
  613. package/dist/merge/merge-trunk.d.ts +21 -0
  614. package/dist/merge/merge-trunk.d.ts.map +1 -0
  615. package/dist/merge/merge-trunk.js +150 -0
  616. package/dist/merge/merge-trunk.js.map +1 -0
  617. package/dist/merge/migrations-at.d.ts +11 -0
  618. package/dist/merge/migrations-at.d.ts.map +1 -0
  619. package/dist/merge/migrations-at.js +25 -0
  620. package/dist/merge/migrations-at.js.map +1 -0
  621. package/dist/merge/next-migration-number.d.ts +7 -0
  622. package/dist/merge/next-migration-number.d.ts.map +1 -0
  623. package/dist/merge/next-migration-number.js +17 -0
  624. package/dist/merge/next-migration-number.js.map +1 -0
  625. package/dist/merge/next-steps.d.ts +16 -0
  626. package/dist/merge/next-steps.d.ts.map +1 -0
  627. package/dist/merge/next-steps.js +16 -0
  628. package/dist/merge/next-steps.js.map +1 -0
  629. package/dist/merge/object-bytes.d.ts +6 -0
  630. package/dist/merge/object-bytes.d.ts.map +1 -0
  631. package/dist/merge/object-bytes.js +34 -0
  632. package/dist/merge/object-bytes.js.map +1 -0
  633. package/dist/merge/patch-ids-of.d.ts +7 -0
  634. package/dist/merge/patch-ids-of.d.ts.map +1 -0
  635. package/dist/merge/patch-ids-of.js +20 -0
  636. package/dist/merge/patch-ids-of.js.map +1 -0
  637. package/dist/merge/plain-git-merge.d.ts +11 -0
  638. package/dist/merge/plain-git-merge.d.ts.map +1 -0
  639. package/dist/merge/plain-git-merge.js +27 -0
  640. package/dist/merge/plain-git-merge.js.map +1 -0
  641. package/dist/merge/preview-merge.d.ts +27 -0
  642. package/dist/merge/preview-merge.d.ts.map +1 -0
  643. package/dist/merge/preview-merge.js +39 -0
  644. package/dist/merge/preview-merge.js.map +1 -0
  645. package/dist/merge/recorded-base.d.ts +11 -0
  646. package/dist/merge/recorded-base.d.ts.map +1 -0
  647. package/dist/merge/recorded-base.js +34 -0
  648. package/dist/merge/recorded-base.js.map +1 -0
  649. package/dist/merge/registry-union.d.ts +8 -0
  650. package/dist/merge/registry-union.d.ts.map +1 -0
  651. package/dist/merge/registry-union.js +22 -0
  652. package/dist/merge/registry-union.js.map +1 -0
  653. package/dist/merge/renumber-adrs.d.ts +19 -0
  654. package/dist/merge/renumber-adrs.d.ts.map +1 -0
  655. package/dist/merge/renumber-adrs.js +65 -0
  656. package/dist/merge/renumber-adrs.js.map +1 -0
  657. package/dist/merge/renumber-migrations.d.ts +23 -0
  658. package/dist/merge/renumber-migrations.d.ts.map +1 -0
  659. package/dist/merge/renumber-migrations.js +84 -0
  660. package/dist/merge/renumber-migrations.js.map +1 -0
  661. package/dist/merge/resolution.d.ts +19 -0
  662. package/dist/merge/resolution.d.ts.map +1 -0
  663. package/dist/merge/resolution.js +2 -0
  664. package/dist/merge/resolution.js.map +1 -0
  665. package/dist/merge/resolve-conflict.d.ts +11 -0
  666. package/dist/merge/resolve-conflict.d.ts.map +1 -0
  667. package/dist/merge/resolve-conflict.js +82 -0
  668. package/dist/merge/resolve-conflict.js.map +1 -0
  669. package/dist/merge/resume-merge.d.ts +5 -0
  670. package/dist/merge/resume-merge.d.ts.map +1 -0
  671. package/dist/merge/resume-merge.js +24 -0
  672. package/dist/merge/resume-merge.js.map +1 -0
  673. package/dist/merge/settle-regions.d.ts +10 -0
  674. package/dist/merge/settle-regions.d.ts.map +1 -0
  675. package/dist/merge/settle-regions.js +44 -0
  676. package/dist/merge/settle-regions.js.map +1 -0
  677. package/dist/merge/sharing-branches.d.ts +20 -0
  678. package/dist/merge/sharing-branches.d.ts.map +1 -0
  679. package/dist/merge/sharing-branches.js +24 -0
  680. package/dist/merge/sharing-branches.js.map +1 -0
  681. package/dist/merge/slices-table.d.ts +17 -0
  682. package/dist/merge/slices-table.d.ts.map +1 -0
  683. package/dist/merge/slices-table.js +35 -0
  684. package/dist/merge/slices-table.js.map +1 -0
  685. package/dist/merge/start-merge.d.ts +15 -0
  686. package/dist/merge/start-merge.d.ts.map +1 -0
  687. package/dist/merge/start-merge.js +33 -0
  688. package/dist/merge/start-merge.js.map +1 -0
  689. package/dist/merge/trunk-of.d.ts +9 -0
  690. package/dist/merge/trunk-of.d.ts.map +1 -0
  691. package/dist/merge/trunk-of.js +21 -0
  692. package/dist/merge/trunk-of.js.map +1 -0
  693. package/dist/merge/unmerged-entries.d.ts +4 -0
  694. package/dist/merge/unmerged-entries.d.ts.map +1 -0
  695. package/dist/merge/unmerged-entries.js +15 -0
  696. package/dist/merge/unmerged-entries.js.map +1 -0
  697. package/dist/migration/replay-drizzle-migrations.d.ts +5 -0
  698. package/dist/migration/replay-drizzle-migrations.d.ts.map +1 -1
  699. package/dist/migration/replay-drizzle-migrations.js +2 -2
  700. package/dist/migration/replay-drizzle-migrations.js.map +1 -1
  701. package/dist/migration/replayed-name.d.ts +5 -4
  702. package/dist/migration/replayed-name.d.ts.map +1 -1
  703. package/dist/migration/replayed-name.js +6 -5
  704. package/dist/migration/replayed-name.js.map +1 -1
  705. package/dist/plan/format-plan.d.ts +4 -1
  706. package/dist/plan/format-plan.d.ts.map +1 -1
  707. package/dist/plan/format-plan.js +7 -1
  708. package/dist/plan/format-plan.js.map +1 -1
  709. package/dist/progress/cells-of.d.ts +3 -0
  710. package/dist/progress/cells-of.d.ts.map +1 -0
  711. package/dist/progress/cells-of.js +12 -0
  712. package/dist/progress/cells-of.js.map +1 -0
  713. package/dist/progress/format-progress.d.ts.map +1 -1
  714. package/dist/progress/format-progress.js +9 -0
  715. package/dist/progress/format-progress.js.map +1 -1
  716. package/dist/progress/progress.d.ts +16 -0
  717. package/dist/progress/progress.d.ts.map +1 -1
  718. package/dist/progress/read-progress.d.ts +9 -3
  719. package/dist/progress/read-progress.d.ts.map +1 -1
  720. package/dist/progress/read-progress.js +18 -6
  721. package/dist/progress/read-progress.js.map +1 -1
  722. package/dist/progress/read-slice-rules.d.ts.map +1 -1
  723. package/dist/progress/read-slice-rules.js +1 -6
  724. package/dist/progress/read-slice-rules.js.map +1 -1
  725. package/dist/progress/read-slices.d.ts +2 -3
  726. package/dist/progress/read-slices.d.ts.map +1 -1
  727. package/dist/progress/read-slices.js +4 -50
  728. package/dist/progress/read-slices.js.map +1 -1
  729. package/dist/progress/rule-line.d.ts +7 -0
  730. package/dist/progress/rule-line.d.ts.map +1 -0
  731. package/dist/progress/rule-line.js +7 -0
  732. package/dist/progress/rule-line.js.map +1 -0
  733. package/dist/progress/slices-in.d.ts +8 -0
  734. package/dist/progress/slices-in.d.ts.map +1 -0
  735. package/dist/progress/slices-in.js +45 -0
  736. package/dist/progress/slices-in.js.map +1 -0
  737. package/dist/run.d.ts.map +1 -1
  738. package/dist/run.js +8 -0
  739. package/dist/run.js.map +1 -1
  740. package/dist/slice/format-slice-verification.d.ts.map +1 -1
  741. package/dist/slice/format-slice-verification.js +45 -6
  742. package/dist/slice/format-slice-verification.js.map +1 -1
  743. package/dist/slice/plan-staging.d.ts.map +1 -1
  744. package/dist/slice/plan-staging.js +1 -13
  745. package/dist/slice/plan-staging.js.map +1 -1
  746. package/dist/slice/record-verification.d.ts +8 -0
  747. package/dist/slice/record-verification.d.ts.map +1 -0
  748. package/dist/slice/record-verification.js +28 -0
  749. package/dist/slice/record-verification.js.map +1 -0
  750. package/dist/slice/slice-verification.d.ts +10 -0
  751. package/dist/slice/slice-verification.d.ts.map +1 -1
  752. package/dist/slice/verification-file.d.ts +3 -0
  753. package/dist/slice/verification-file.d.ts.map +1 -0
  754. package/dist/slice/verification-file.js +3 -0
  755. package/dist/slice/verification-file.js.map +1 -0
  756. package/dist/slice/verify-slice.d.ts +5 -2
  757. package/dist/slice/verify-slice.d.ts.map +1 -1
  758. package/dist/slice/verify-slice.js +26 -5
  759. package/dist/slice/verify-slice.js.map +1 -1
  760. package/dist/slice/worker-slice-of.d.ts +15 -0
  761. package/dist/slice/worker-slice-of.d.ts.map +1 -0
  762. package/dist/slice/worker-slice-of.js +32 -0
  763. package/dist/slice/worker-slice-of.js.map +1 -0
  764. package/dist/story/attribute-markers.d.ts +13 -0
  765. package/dist/story/attribute-markers.d.ts.map +1 -0
  766. package/dist/story/attribute-markers.js +38 -0
  767. package/dist/story/attribute-markers.js.map +1 -0
  768. package/dist/story/attributed-marker.d.ts +24 -0
  769. package/dist/story/attributed-marker.d.ts.map +1 -0
  770. package/dist/story/attributed-marker.js +2 -0
  771. package/dist/story/attributed-marker.js.map +1 -0
  772. package/dist/story/blamed-lines.d.ts +10 -0
  773. package/dist/story/blamed-lines.d.ts.map +1 -0
  774. package/dist/story/blamed-lines.js +36 -0
  775. package/dist/story/blamed-lines.js.map +1 -0
  776. package/dist/story/closing-of.d.ts +11 -0
  777. package/dist/story/closing-of.d.ts.map +1 -0
  778. package/dist/story/closing-of.js +87 -0
  779. package/dist/story/closing-of.js.map +1 -0
  780. package/dist/story/commit-rows.d.ts +16 -0
  781. package/dist/story/commit-rows.d.ts.map +1 -0
  782. package/dist/story/commit-rows.js +23 -0
  783. package/dist/story/commit-rows.js.map +1 -0
  784. package/dist/story/format-story-closing.d.ts +8 -0
  785. package/dist/story/format-story-closing.d.ts.map +1 -0
  786. package/dist/story/format-story-closing.js +89 -0
  787. package/dist/story/format-story-closing.js.map +1 -0
  788. package/dist/story/may-keep-open.d.ts +9 -0
  789. package/dist/story/may-keep-open.d.ts.map +1 -0
  790. package/dist/story/may-keep-open.js +12 -0
  791. package/dist/story/may-keep-open.js.map +1 -0
  792. package/dist/story/project-contexts.d.ts +5 -0
  793. package/dist/story/project-contexts.d.ts.map +1 -0
  794. package/dist/story/project-contexts.js +5 -0
  795. package/dist/story/project-contexts.js.map +1 -0
  796. package/dist/story/read-story-closing.d.ts +7 -0
  797. package/dist/story/read-story-closing.d.ts.map +1 -0
  798. package/dist/story/read-story-closing.js +44 -0
  799. package/dist/story/read-story-closing.js.map +1 -0
  800. package/dist/story/story-closing.d.ts +41 -0
  801. package/dist/story/story-closing.d.ts.map +1 -0
  802. package/dist/story/story-closing.js +2 -0
  803. package/dist/story/story-closing.js.map +1 -0
  804. package/dist/story/story-of.d.ts +7 -0
  805. package/dist/story/story-of.d.ts.map +1 -0
  806. package/dist/story/story-of.js +9 -0
  807. package/dist/story/story-of.js.map +1 -0
  808. package/dist/story/story-plan.d.ts +12 -0
  809. package/dist/story/story-plan.d.ts.map +1 -0
  810. package/dist/story/story-plan.js +2 -0
  811. package/dist/story/story-plan.js.map +1 -0
  812. package/dist/story/story-scope.d.ts +14 -0
  813. package/dist/story/story-scope.d.ts.map +1 -0
  814. package/dist/story/story-scope.js +14 -0
  815. package/dist/story/story-scope.js.map +1 -0
  816. package/dist/story/unclosed-stories.d.ts +19 -0
  817. package/dist/story/unclosed-stories.d.ts.map +1 -0
  818. package/dist/story/unclosed-stories.js +20 -0
  819. package/dist/story/unclosed-stories.js.map +1 -0
  820. package/dist/version.d.ts +1 -1
  821. package/dist/version.js +1 -1
  822. package/dist/worker/agent-file.d.ts +3 -0
  823. package/dist/worker/agent-file.d.ts.map +1 -0
  824. package/dist/worker/agent-file.js +3 -0
  825. package/dist/worker/agent-file.js.map +1 -0
  826. package/dist/worker/branch-standing.d.ts +24 -0
  827. package/dist/worker/branch-standing.d.ts.map +1 -0
  828. package/dist/worker/branch-standing.js +47 -0
  829. package/dist/worker/branch-standing.js.map +1 -0
  830. package/dist/worker/briefed-rows.d.ts +3 -2
  831. package/dist/worker/briefed-rows.d.ts.map +1 -1
  832. package/dist/worker/briefed-rows.js +32 -7
  833. package/dist/worker/briefed-rows.js.map +1 -1
  834. package/dist/worker/briefed-slice.d.ts +3 -0
  835. package/dist/worker/briefed-slice.d.ts.map +1 -1
  836. package/dist/worker/briefing-of.d.ts.map +1 -1
  837. package/dist/worker/briefing-of.js +37 -7
  838. package/dist/worker/briefing-of.js.map +1 -1
  839. package/dist/worker/design-line.d.ts +4 -0
  840. package/dist/worker/design-line.d.ts.map +1 -0
  841. package/dist/worker/design-line.js +9 -0
  842. package/dist/worker/design-line.js.map +1 -0
  843. package/dist/worker/design-note.d.ts +4 -0
  844. package/dist/worker/design-note.d.ts.map +1 -0
  845. package/dist/worker/design-note.js +19 -0
  846. package/dist/worker/design-note.js.map +1 -0
  847. package/dist/worker/ensure-contains-base.d.ts +3 -1
  848. package/dist/worker/ensure-contains-base.d.ts.map +1 -1
  849. package/dist/worker/ensure-contains-base.js +4 -2
  850. package/dist/worker/ensure-contains-base.js.map +1 -1
  851. package/dist/worker/find-worker.d.ts +23 -0
  852. package/dist/worker/find-worker.d.ts.map +1 -0
  853. package/dist/worker/find-worker.js +42 -0
  854. package/dist/worker/find-worker.js.map +1 -0
  855. package/dist/worker/format-resume.d.ts +4 -0
  856. package/dist/worker/format-resume.d.ts.map +1 -0
  857. package/dist/worker/format-resume.js +60 -0
  858. package/dist/worker/format-resume.js.map +1 -0
  859. package/dist/worker/format-workers.d.ts.map +1 -1
  860. package/dist/worker/format-workers.js +33 -5
  861. package/dist/worker/format-workers.js.map +1 -1
  862. package/dist/worker/install-dependencies.d.ts +16 -0
  863. package/dist/worker/install-dependencies.d.ts.map +1 -0
  864. package/dist/worker/install-dependencies.js +32 -0
  865. package/dist/worker/install-dependencies.js.map +1 -0
  866. package/dist/worker/landed-rows.d.ts +7 -0
  867. package/dist/worker/landed-rows.d.ts.map +1 -0
  868. package/dist/worker/landed-rows.js +8 -0
  869. package/dist/worker/landed-rows.js.map +1 -0
  870. package/dist/worker/named-paths.d.ts +3 -0
  871. package/dist/worker/named-paths.d.ts.map +1 -0
  872. package/dist/worker/named-paths.js +8 -0
  873. package/dist/worker/named-paths.js.map +1 -0
  874. package/dist/worker/next-step-of.d.ts +23 -0
  875. package/dist/worker/next-step-of.d.ts.map +1 -0
  876. package/dist/worker/next-step-of.js +32 -0
  877. package/dist/worker/next-step-of.js.map +1 -0
  878. package/dist/worker/open-worker-scope.d.ts +5 -2
  879. package/dist/worker/open-worker-scope.d.ts.map +1 -1
  880. package/dist/worker/open-worker-scope.js +63 -18
  881. package/dist/worker/open-worker-scope.js.map +1 -1
  882. package/dist/worker/progress-of.d.ts +14 -0
  883. package/dist/worker/progress-of.d.ts.map +1 -0
  884. package/dist/worker/progress-of.js +107 -0
  885. package/dist/worker/progress-of.js.map +1 -0
  886. package/dist/worker/read-agent-record.d.ts +4 -0
  887. package/dist/worker/read-agent-record.d.ts.map +1 -0
  888. package/dist/worker/read-agent-record.js +40 -0
  889. package/dist/worker/read-agent-record.js.map +1 -0
  890. package/dist/worker/read-verification.d.ts +9 -0
  891. package/dist/worker/read-verification.d.ts.map +1 -0
  892. package/dist/worker/read-verification.js +26 -0
  893. package/dist/worker/read-verification.js.map +1 -0
  894. package/dist/worker/read-worker-file.d.ts.map +1 -1
  895. package/dist/worker/read-worker-file.js +2 -1
  896. package/dist/worker/read-worker-file.js.map +1 -1
  897. package/dist/worker/read-workers.d.ts.map +1 -1
  898. package/dist/worker/read-workers.js +29 -9
  899. package/dist/worker/read-workers.js.map +1 -1
  900. package/dist/worker/resume-briefing.d.ts +17 -0
  901. package/dist/worker/resume-briefing.d.ts.map +1 -0
  902. package/dist/worker/resume-briefing.js +76 -0
  903. package/dist/worker/resume-briefing.js.map +1 -0
  904. package/dist/worker/resume-message.d.ts +15 -0
  905. package/dist/worker/resume-message.d.ts.map +1 -0
  906. package/dist/worker/resume-message.js +43 -0
  907. package/dist/worker/resume-message.js.map +1 -0
  908. package/dist/worker/resume-worker.d.ts +34 -0
  909. package/dist/worker/resume-worker.d.ts.map +1 -0
  910. package/dist/worker/resume-worker.js +47 -0
  911. package/dist/worker/resume-worker.js.map +1 -0
  912. package/dist/worker/row-commits.d.ts +22 -0
  913. package/dist/worker/row-commits.d.ts.map +1 -0
  914. package/dist/worker/row-commits.js +57 -0
  915. package/dist/worker/row-commits.js.map +1 -0
  916. package/dist/worker/rows-on-branches.d.ts +2 -1
  917. package/dist/worker/rows-on-branches.d.ts.map +1 -1
  918. package/dist/worker/rows-on-branches.js +2 -1
  919. package/dist/worker/rows-on-branches.js.map +1 -1
  920. package/dist/worker/stale-names-block.d.ts +4 -0
  921. package/dist/worker/stale-names-block.d.ts.map +1 -0
  922. package/dist/worker/stale-names-block.js +17 -0
  923. package/dist/worker/stale-names-block.js.map +1 -0
  924. package/dist/worker/state-line-of.d.ts +9 -0
  925. package/dist/worker/state-line-of.d.ts.map +1 -0
  926. package/dist/worker/state-line-of.js +55 -0
  927. package/dist/worker/state-line-of.js.map +1 -0
  928. package/dist/worker/worker-file.d.ts +2 -0
  929. package/dist/worker/worker-file.d.ts.map +1 -1
  930. package/dist/worker/worker-place.d.ts +3 -0
  931. package/dist/worker/worker-place.d.ts.map +1 -1
  932. package/dist/worker/worker-progress.d.ts +87 -0
  933. package/dist/worker/worker-progress.d.ts.map +1 -0
  934. package/dist/worker/worker-progress.js +2 -0
  935. package/dist/worker/worker-progress.js.map +1 -0
  936. package/dist/worker/worker-scope.d.ts +3 -0
  937. package/dist/worker/worker-scope.d.ts.map +1 -1
  938. package/dist/worker/workers-status.d.ts +29 -3
  939. package/dist/worker/workers-status.d.ts.map +1 -1
  940. package/package.json +2 -2
  941. package/templates/command/handler.spec.buses.ts.tpl +2 -2
  942. package/templates/command/handler.spec.tsyringe.ts.tpl +2 -2
  943. package/templates/init/AGENTS.md.tpl +1 -1
  944. package/templates/init/rules/application.md.tpl +1 -1
  945. package/templates/init/rules/infrastructure.md.tpl +3 -0
  946. package/templates/pipeline/lefthook.yml +5 -0
  947. package/templates/pipeline/package-scripts.json +1 -1
  948. package/templates/pipeline/vitest.config.ts.tpl +28 -27
@@ -1,8 +1,14 @@
1
1
  import { readConfig } from '../config/index.js';
2
+ import { formatResume } from '../worker/format-resume.js';
2
3
  import { openWorkerScope } from '../worker/open-worker-scope.js';
4
+ import { resumeWorker } from '../worker/resume-worker.js';
3
5
  import { Arguments } from './arguments.js';
4
6
  import { knownContext } from './known-context.js';
5
- /** Prepares the place of one worker of a parallel build (worktree, branch, scope file) and prints its briefing. */
7
+ import { rowsOption } from './rows-option.js';
8
+ /**
9
+ * Prepares the place of one worker of a parallel build (worktree, branch, dependencies, scope file) and prints its briefing.
10
+ * With `--resume`, reads where a stopped worker stands and prints the message or the briefing that resumes it, creating nothing.
11
+ */
6
12
  export const workerScopeCommand = (argv, io) => {
7
13
  const args = Arguments.parse(argv, {
8
14
  worktree: { type: 'string' },
@@ -10,31 +16,28 @@ export const workerScopeCommand = (argv, io) => {
10
16
  base: { type: 'string' },
11
17
  rows: { type: 'string' },
12
18
  'dry-run': { type: 'boolean', default: false },
19
+ 'no-install': { type: 'boolean', default: false },
20
+ resume: { type: 'boolean', default: false },
21
+ fresh: { type: 'boolean', default: false },
13
22
  });
14
23
  const root = args.projectRoot;
15
24
  const { config } = readConfig(root);
16
25
  const context = knownContext(config, args.positionals[0]);
26
+ if (args.flag('resume')) {
27
+ const resume = resumeWorker(root, { context, ...args.texts(['worktree', 'branch']), fresh: args.flag('fresh') });
28
+ io.out(args.json ? JSON.stringify(resume, null, 2) : formatResume(resume));
29
+ return 0;
30
+ }
17
31
  const scope = openWorkerScope(root, config, {
18
32
  context,
19
33
  ...args.texts(['worktree', 'branch', 'base']),
20
- ...rowsOf(args.text('rows')),
34
+ ...rowsOption(args.text('rows')),
21
35
  dryRun: args.flag('dry-run'),
36
+ install: !args.flag('no-install'),
22
37
  });
23
38
  io.out(args.json ? JSON.stringify(scope, null, 2) : formatScope(scope));
24
39
  return 0;
25
40
  };
26
- /** `--rows 4.15,4.16`: the ids of the # column, as written. */
27
- function rowsOf(rows) {
28
- if (rows === undefined) {
29
- return {};
30
- }
31
- return {
32
- rows: rows
33
- .split(',')
34
- .map((id) => id.trim().replace(/^#/, ''))
35
- .filter((id) => id !== ''),
36
- };
37
- }
38
41
  function formatScope(scope) {
39
42
  const would = scope.dryRun ? 'would be ' : '';
40
43
  const worktree = scope.created ? `${would}created` : 'kept';
@@ -1 +1 @@
1
- {"version":3,"file":"worker-scope.js","sourceRoot":"","sources":["../../src/commands/worker-scope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,mHAAmH;AACnH,MAAM,CAAC,MAAM,kBAAkB,GAAY,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE;IACtD,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE;QACjC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC5B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC1B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE;KAC/C,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC;IAC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C,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;QAC5B,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC;KAClC,CAAC,CAAC;IAEH,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;IAExE,OAAO,CAAC,CAAC;AACX,CAAC,CAAC;AAEF,SAAS,WAAW,CAAC,KAAkB;IACrC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9C,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC;IAE5D,OAAO;QACL,YAAY,QAAQ,KAAK,KAAK,CAAC,QAAQ,YAAY,KAAK,CAAC,MAAM,UAAU,KAAK,CAAC,KAAK,GAAG;QACvF,SAAS,KAAK,YAAY,KAAK,CAAC,SAAS,EAAE;QAC3C,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,IAAI,EAAE,CAAC;QAC7C,EAAE;QACF,KAAK,CAAC,QAAQ;KACf,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Config } from '../config/index.js';
2
+ /**
3
+ * What `npm run regenerate` rewrites: the dependency rules, the context map, the barrels and lists
4
+ * of each context, the contracts and their clients. Such a file is never merged by hand: it is
5
+ * written again from the sources. `path` is relative to the project root, with POSIX separators.
6
+ */
7
+ export declare function isDerived(path: string, { contextsDir }: Pick<Config, 'contextsDir'>): boolean;
8
+ //# sourceMappingURL=is-derived.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-derived.d.ts","sourceRoot":"","sources":["../../src/derived/is-derived.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,GAAG,OAAO,CAgB7F"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * What `npm run regenerate` rewrites: the dependency rules, the context map, the barrels and lists
3
+ * of each context, the contracts and their clients. Such a file is never merged by hand: it is
4
+ * written again from the sources. `path` is relative to the project root, with POSIX separators.
5
+ */
6
+ export function isDerived(path, { contextsDir }) {
7
+ const [context, file, ...deeper] = path.startsWith(`${contextsDir}/`)
8
+ ? path.slice(contextsDir.length + 1).split('/')
9
+ : [];
10
+ const ofAContext = context !== undefined &&
11
+ deeper.length === 0 &&
12
+ (file === 'CONTEXT.md' || file === `${context}.declarations.ts` || file === `${context}.dependencies.ts`);
13
+ return (ofAContext ||
14
+ path === '.dependency-cruiser.cjs' ||
15
+ path === 'docs/context-map.md' ||
16
+ /^(?:openapi|docs\/integration|clients)\//.test(path));
17
+ }
18
+ //# sourceMappingURL=is-derived.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-derived.js","sourceRoot":"","sources":["../../src/derived/is-derived.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAC,IAAY,EAAE,EAAE,WAAW,EAA+B;IAClF,MAAM,CAAC,OAAO,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,WAAW,GAAG,CAAC;QACnE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC;QAC/C,CAAC,CAAC,EAAE,CAAC;IAEP,MAAM,UAAU,GACd,OAAO,KAAK,SAAS;QACrB,MAAM,CAAC,MAAM,KAAK,CAAC;QACnB,CAAC,IAAI,KAAK,YAAY,IAAI,IAAI,KAAK,GAAG,OAAO,kBAAkB,IAAI,IAAI,KAAK,GAAG,OAAO,kBAAkB,CAAC,CAAC;IAE5G,OAAO,CACL,UAAU;QACV,IAAI,KAAK,yBAAyB;QAClC,IAAI,KAAK,qBAAqB;QAC9B,0CAA0C,CAAC,IAAI,CAAC,IAAI,CAAC,CACtD,CAAC;AACJ,CAAC"}
@@ -2,8 +2,8 @@ import type { Config } from '../config/index.js';
2
2
  import type { DoctorFinding } from './doctor-finding.js';
3
3
  /**
4
4
  * What the project lacks of what this version of the kit writes, the steps an upgrade leaves to do:
5
- * scripts, packages of the kit, permissions of the agents. Settings the project does not have
6
- * are not judged: an agent may run elsewhere than Claude Code.
5
+ * scripts, packages of the kit, permissions of the agents, then the git hooks of this clone.
6
+ * Settings the project does not have are not judged: an agent may run elsewhere than Claude Code.
7
7
  */
8
8
  export declare function diagnose(root: string, config: Config): DoctorFinding[];
9
9
  //# sourceMappingURL=diagnose.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"diagnose.d.ts","sourceRoot":"","sources":["../../src/doctor/diagnose.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAKzD;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,aAAa,EAAE,CAgBtE"}
1
+ {"version":3,"file":"diagnose.d.ts","sourceRoot":"","sources":["../../src/doctor/diagnose.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAMzD;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,aAAa,EAAE,CAiBtE"}
@@ -1,13 +1,14 @@
1
1
  import fs from 'node:fs';
2
2
  import path from 'node:path';
3
3
  import { isRecord } from '../config/values/is-record.js';
4
+ import { hookFindings } from './hook-findings.js';
4
5
  import { packageFindings } from './package-findings.js';
5
6
  import { permissionFindings } from './permission-findings.js';
6
7
  import { scriptFindings } from './script-findings.js';
7
8
  /**
8
9
  * What the project lacks of what this version of the kit writes, the steps an upgrade leaves to do:
9
- * scripts, packages of the kit, permissions of the agents. Settings the project does not have
10
- * are not judged: an agent may run elsewhere than Claude Code.
10
+ * scripts, packages of the kit, permissions of the agents, then the git hooks of this clone.
11
+ * Settings the project does not have are not judged: an agent may run elsewhere than Claude Code.
11
12
  */
12
13
  export function diagnose(root, config) {
13
14
  const manifest = readJson(path.join(root, 'package.json'));
@@ -21,6 +22,7 @@ export function diagnose(root, config) {
21
22
  ...scriptFindings(config, scripts),
22
23
  ...packageFindings(config, installed),
23
24
  ...(fs.existsSync(settingsFile) ? permissionFindings(config, readJson(settingsFile)) : []),
25
+ ...hookFindings(root),
24
26
  ];
25
27
  }
26
28
  function readJson(file) {
@@ -1 +1 @@
1
- {"version":3,"file":"diagnose.js","sourceRoot":"","sources":["../../src/doctor/diagnose.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEzD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAY,EAAE,MAAc;IACnD,MAAM,QAAQ,GAAG,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;QACL,GAAG,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC;QAClC,GAAG,eAAe,CAAC,MAAM,EAAE,SAAS,CAAC;QACrC,GAAG,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC1F,GAAG,YAAY,CAAC,IAAI,CAAC;KACtB,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ,CAAC,IAAY;IAC5B,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IACnD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"}
@@ -1,8 +1,9 @@
1
1
  /** One thing a project lacks, or writes otherwise, compared with what this version of the kit writes. */
2
2
  export interface DoctorFinding {
3
- readonly area: 'script' | 'package' | 'permission';
3
+ readonly area: 'script' | 'package' | 'permission' | 'hook';
4
4
  readonly name: string;
5
- readonly problem: 'missing' | 'other version' | 'written otherwise';
5
+ /** `not installed`: a git hook this clone lacks, a state of the clone rather than of the project. */
6
+ readonly problem: 'missing' | 'other version' | 'written otherwise' | 'not installed';
6
7
  /** What this version writes. */
7
8
  readonly expected: string;
8
9
  /** What the project has, when it has something. */
@@ -1 +1 @@
1
- {"version":3,"file":"doctor-finding.d.ts","sourceRoot":"","sources":["../../src/doctor/doctor-finding.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,YAAY,CAAC;IACnD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,SAAS,GAAG,eAAe,GAAG,mBAAmB,CAAC;IACpE,gCAAgC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,mDAAmD;IACnD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"doctor-finding.d.ts","sourceRoot":"","sources":["../../src/doctor/doctor-finding.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,MAAM,CAAC;IAC5D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,qGAAqG;IACrG,QAAQ,CAAC,OAAO,EAAE,SAAS,GAAG,eAAe,GAAG,mBAAmB,GAAG,eAAe,CAAC;IACtF,gCAAgC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,mDAAmD;IACnD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -1,4 +1,5 @@
1
+ import type { Stack } from '../config/index.js';
1
2
  import type { DoctorFinding } from './doctor-finding.js';
2
3
  /** The findings by area, each with what this version writes, then how to take what is missing. */
3
- export declare function formatDiagnosis(findings: readonly DoctorFinding[], version: string): string;
4
+ export declare function formatDiagnosis(findings: readonly DoctorFinding[], version: string, manager: Stack['packageManager']): string;
4
5
  //# sourceMappingURL=format-diagnosis.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"format-diagnosis.d.ts","sourceRoot":"","sources":["../../src/doctor/format-diagnosis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,kGAAkG;AAClG,wBAAgB,eAAe,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAQ3F"}
1
+ {"version":3,"file":"format-diagnosis.d.ts","sourceRoot":"","sources":["../../src/doctor/format-diagnosis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,kGAAkG;AAClG,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,SAAS,aAAa,EAAE,EAClC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAC/B,MAAM,CAYR"}
@@ -1,9 +1,16 @@
1
+ import { inDialect } from '../package-manager/in-dialect.js';
1
2
  /** The findings by area, each with what this version writes, then how to take what is missing. */
2
- export function formatDiagnosis(findings, version) {
3
+ export function formatDiagnosis(findings, version, manager) {
3
4
  if (findings.length === 0) {
4
- return `The project has what ddd-ts-kit ${version} writes: scripts, packages of the kit and permissions.`;
5
+ return `The project has what ddd-ts-kit ${version} writes: scripts, packages of the kit, permissions and git hooks.`;
5
6
  }
6
- return [`Compared with what ddd-ts-kit ${version} writes:`, ...findings.map(lineOf), '', ...fixesOf(findings)].join('\n');
7
+ return [
8
+ `Compared with what ddd-ts-kit ${version} writes:`,
9
+ ...findings.map(lineOf),
10
+ '',
11
+ ...fixesOf(findings),
12
+ ...hookFixesOf(findings).map((fix) => inDialect(fix, manager)),
13
+ ].join('\n');
7
14
  }
8
15
  function lineOf({ area, name, problem, expected, found }) {
9
16
  const yours = found === undefined ? '' : `; yours: ${found}`;
@@ -13,13 +20,31 @@ function version(area) {
13
20
  return area === 'package' ? 'range ' : '';
14
21
  }
15
22
  function fixesOf(findings) {
16
- const fixes = ['fix: `npx ddd-ts-kit init` adds what is missing and leaves what the project wrote; then install.'];
17
- if (findings.some((finding) => finding.area === 'package' && finding.problem === 'other version')) {
23
+ const ofTheProject = findings.filter((finding) => finding.area !== 'hook');
24
+ const fixes = ofTheProject.length === 0
25
+ ? []
26
+ : ['fix: `npx ddd-ts-kit init` adds what is missing and leaves what the project wrote; then install.'];
27
+ if (ofTheProject.some((finding) => finding.area === 'package' && finding.problem === 'other version')) {
18
28
  fixes.push('fix: upgrade `ddd-ts-kit` and every `@ddd-ts-kit/*` package together, to the ranges above; the steps of each version are in node_modules/ddd-ts-kit/CHANGELOG.md.');
19
29
  }
20
- if (findings.some((finding) => finding.problem === 'written otherwise')) {
30
+ if (ofTheProject.some((finding) => finding.problem === 'written otherwise')) {
21
31
  fixes.push("note: a script written otherwise may be yours on purpose; `npx ddd-ts-kit init --force` writes the kit's version over it.");
22
32
  }
23
33
  return fixes;
24
34
  }
35
+ /** Written for npm, said in the dialect of the project by the caller. */
36
+ function hookFixesOf(findings) {
37
+ const hooks = findings.filter((finding) => finding.area === 'hook');
38
+ const fixes = [];
39
+ if (hooks.some((finding) => finding.name === 'lefthook.yml lefthook')) {
40
+ fixes.push("fix: add the line `lefthook: node_modules/.bin/lefthook` at the top of lefthook.yml (or `npx ddd-ts-kit init --force` writes the kit's lefthook.yml over yours), then `npm run hooks:install`: each checkout then runs its own lefthook, and one without its dependencies fails the commit instead of skipping the checks.");
41
+ }
42
+ if (hooks.some((finding) => finding.name === 'lefthook.yml')) {
43
+ fixes.push('fix: `npx ddd-ts-kit init` writes lefthook.yml; then `npm run hooks:install`.');
44
+ }
45
+ if (hooks.some((finding) => finding.name === 'pre-commit')) {
46
+ fixes.push('fix: `npm run hooks:install` installs the hooks of lefthook.yml in this clone, once: every worktree of the repository shares them.');
47
+ }
48
+ return fixes;
49
+ }
25
50
  //# sourceMappingURL=format-diagnosis.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"format-diagnosis.js","sourceRoot":"","sources":["../../src/doctor/format-diagnosis.ts"],"names":[],"mappings":"AAEA,kGAAkG;AAClG,MAAM,UAAU,eAAe,CAAC,QAAkC,EAAE,OAAe;IACjF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,mCAAmC,OAAO,wDAAwD,CAAC;IAC5G,CAAC;IAED,OAAO,CAAC,iCAAiC,OAAO,UAAU,EAAE,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CA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
+ /**
3
+ * The git hooks of the project: lefthook.yml has the line that runs the lefthook of the checkout
4
+ * the hook fires in, and this clone has the pre-commit hook lefthook installs. Outside a git
5
+ * repository only the file is judged.
6
+ */
7
+ export declare function hookFindings(root: string): DoctorFinding[];
8
+ //# sourceMappingURL=hook-findings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hook-findings.d.ts","sourceRoot":"","sources":["../../src/doctor/hook-findings.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAKzD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,EAAE,CAE1D"}
@@ -0,0 +1,54 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+ import { runGit } from '../commit/run-git.js';
4
+ /** The line of lefthook.yml that makes each checkout run its own lefthook, and fail without its dependencies. */
5
+ const LEFTHOOK_KEY = 'lefthook: node_modules/.bin/lefthook';
6
+ /**
7
+ * The git hooks of the project: lefthook.yml has the line that runs the lefthook of the checkout
8
+ * the hook fires in, and this clone has the pre-commit hook lefthook installs. Outside a git
9
+ * repository only the file is judged.
10
+ */
11
+ export function hookFindings(root) {
12
+ return [...configFindings(root), ...installedFindings(root)];
13
+ }
14
+ function configFindings(root) {
15
+ const config = read(path.join(root, 'lefthook.yml'));
16
+ if (config === undefined) {
17
+ return [{ area: 'hook', name: 'lefthook.yml', problem: 'missing', expected: 'the file init writes' }];
18
+ }
19
+ return /^lefthook:\s*\S/m.test(config)
20
+ ? []
21
+ : [{ area: 'hook', name: 'lefthook.yml lefthook', problem: 'missing', expected: LEFTHOOK_KEY }];
22
+ }
23
+ /** Git reads its hooks from `git rev-parse --git-path hooks`: shared by every worktree, or core.hooksPath. */
24
+ function installedFindings(root) {
25
+ const hooks = runGit(root, ['rev-parse', '--git-path', 'hooks'])?.trim();
26
+ if (hooks === undefined || hooks === '') {
27
+ return [];
28
+ }
29
+ const hook = read(path.resolve(root, hooks, 'pre-commit'));
30
+ const expected = 'the hook lefthook installs';
31
+ if (hook === undefined) {
32
+ return [{ area: 'hook', name: 'pre-commit', problem: 'not installed', expected }];
33
+ }
34
+ return hook.includes('lefthook')
35
+ ? []
36
+ : [
37
+ {
38
+ area: 'hook',
39
+ name: 'pre-commit',
40
+ problem: 'written otherwise',
41
+ expected,
42
+ found: 'a hook lefthook did not write',
43
+ },
44
+ ];
45
+ }
46
+ function read(file) {
47
+ try {
48
+ return fs.readFileSync(file, 'utf8');
49
+ }
50
+ catch {
51
+ return undefined;
52
+ }
53
+ }
54
+ //# sourceMappingURL=hook-findings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hook-findings.js","sourceRoot":"","sources":["../../src/doctor/hook-findings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,iHAAiH;AACjH,MAAM,YAAY,GAAG,sCAAsC,CAAC;AAE5D;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY;IACvC,OAAO,CAAC,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC;IAErD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACxG,CAAC;IAED,OAAO,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC;QACpC,CAAC,CAAC,EAAE;QACJ,CA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declare const NOTES = " affected what a pull request has to run: the contexts a change set reaches through the context\n map (a changed context and the contexts downstream of it), as filters for the test\n runner and the linter; everything when a shared path changed or without --base\n build-aliases after the compiler: rewrites the import aliases left in the emitted .js and .d.ts files\n into relative paths, so that plain node runs the output (tsconfig.build.json by default)\n drizzle-generate the db:generate of a Drizzle project: drizzle-kit generate --name, which without a terminal\n fails and names the fix when drizzle-kit would ask whether a column or table is renamed,\n where drizzle-kit alone writes nothing and exits 0; then formats the snapshot and the\n journal it wrote with the Biome or Prettier of the format script, and warns when the\n SQL changes a primary key in an order that fails on PostgreSQL (exit code unchanged);\n --replay, after merging the trunk into a branch when both added migrations: deletes\n the migrations of the branch that --base <ref> (origin/main by default) does not have,\n with their snapshots and journal entries, then generates each again on top, in order,\n under its name (working- dropped outside a worker's worktree, a custom one keeping\n its SQL); refused while the journal holds conflict markers or when two of them change\n the schema\n error-factories moves a project from one class per error to static factories on one error class per\n concept: --plan writes error-factories.plan.json, where each class is given its concept;\n --apply follows it (classes, specs, every usage, \"stack.refusals\" in the config)\n value-objects moves the value objects of a project from a Result to factories that return the value or\n throw: every create returning Result<T, E> returns T, err(..) is thrown, unwrap(..) of\n them goes, specs assert expectRefusal(() => ..), \"stack.valueObjects\" becomes throwing\n controllers moves the function routes of a project, or of one context, to controller classes: each\n <name>.route.ts becomes <resource>/<name>/<name>.controller.ts behind the route group of\n its resource, its schema files and its spec follow; a context is turned whole or not at all\n doctor what an upgrade left to do: the scripts, the packages of the kit (at the ranges of this\n version) and the agent permissions this version writes that the project lacks or writes\n otherwise; init adds what is missing; --strict exits 1 while something is missing\n describe one context as facts: use cases, routes, events, ports, policies, gateways, dependencies\n status the next step of docs/architecture/plan.md, the slices of docs/architecture/slices.md by\n status and by owner, each row not done ready on the trunk (its dependencies done), ready\n on a branch (the others briefed to a worker with commits ahead of its base) or waiting\n (with the ids it waits for), and the TODO(domain), TODO(platform), it.todo and TODO(review)\n left in each context; --workers shows instead each worktree holding .ddd-ts-kit/worker.json (branch,\n context, rows, base, commits ahead, files changed since the base, its report), then the\n contexts and the files more than one worker holds\n sdk the typed client of each document of the contract, a workspace package under\n clients/<document> without runtime dependency: typed errors keyed by the error codes,\n credentials per security scheme; records \"sdk\" in the config the first time, wires the\n scripts (docs:generate regenerates it, docs:check compares it, ci:build builds it);\n --check writes nothing and exits 1 while a client differs from its contract\n todo those markers as file:line, in the project or in one context\n plan-waves the rows of slices.md not done, of the project or of one context, in waves (wave 1: every\n dependency done; wave n: the others in earlier waves), each wave cut into batches of one\n owner, one or two rows on one aggregate, with the worker-scope command that briefs each,\n the batches of a wave likely to touch the same files (same aggregate in Start with, or\n unknown when it names none), and the merge order; a cycle, a dependency on an unknown id\n or a row without owner is reported alone, and exits 1\n worker-scope a git worktree on the branch build/<context> (by default ../<project>-<context>), cut from\n --base <ref> (by default the current branch, refused from a worker's worktree), its\n .ddd-ts-kit/worker.json, and the briefing of the worker of that context; --rows <id,...>\n briefs those rows of slices.md only, with their rules; an existing worktree or branch\n that does not contain the base is refused\n verify-slice closes a slice before its commit, in one run: the regenerate script, check on the files\n changed since --since (new ones included), the test script for the context; then the\n changed files past 300 of the 350 lines, the paths of the slice to stage (its context, an\n end-to-end spec, a working migration, the derived files git tracks) and every other\n changed path, left out and never to stage with it; exits 1 while a step fails\n --commit-size the files and lines about to be committed against \"commit\" in the config (20 files and\n 600 lines by default, generated files not counted); --staged reads the index only;\n advisory, --strict exits 1 when over\n --stored-events docs records the shape of each version of the stored events in stored-events.lock.json,\n never rewriting a recorded one: run it once the shape of a version is the one to store;\n docs --check fails while a declared version is not recorded\n --sdk init records \"sdk\" in the config and generates the clients with the project\n --local-only generate refuses, and writes nothing, when the kind would write outside its context;\n \"generate --help --json\" says which kinds do";
2
+ export declare const NOTES = " affected what a pull request has to run: the contexts a change set reaches through the context\n map (a changed context and the contexts downstream of it), as filters for the test\n runner and the linter; everything when a shared path changed or without --base\n build-aliases after the compiler: rewrites the import aliases left in the emitted .js and .d.ts files\n into relative paths, so that plain node runs the output (tsconfig.build.json by default)\n drizzle-generate the db:generate of a Drizzle project: drizzle-kit generate --name, which without a terminal\n fails and names the fix when drizzle-kit would ask whether a column or table is renamed,\n where drizzle-kit alone writes nothing and exits 0; then formats the snapshot and the\n journal it wrote with the Biome or Prettier of the format script, and warns when the\n SQL changes a primary key in an order that fails on PostgreSQL (exit code unchanged);\n --replay, after merging the trunk into a branch when both added migrations: deletes\n the migrations of the branch that --base <ref> (origin/main by default) does not have,\n with their snapshots and journal entries, then generates each again on top, in order,\n under its name (working- dropped outside a worker's worktree, a custom one keeping\n its SQL); refused while the journal holds conflict markers or when two of them change\n the schema\n error-factories moves a project from one class per error to static factories on one error class per\n concept: --plan writes error-factories.plan.json, where each class is given its concept;\n --apply follows it (classes, specs, every usage, \"stack.refusals\" in the config)\n value-objects moves the value objects of a project from a Result to factories that return the value or\n throw: every create returning Result<T, E> returns T, err(..) is thrown, unwrap(..) of\n them goes, specs assert expectRefusal(() => ..), \"stack.valueObjects\" becomes throwing\n controllers moves the function routes of a project, or of one context, to controller classes: each\n <name>.route.ts becomes <resource>/<name>/<name>.controller.ts behind the route group of\n its resource, its schema files and its spec follow; a context is turned whole or not at all\n doctor what an upgrade left to do: the scripts, the packages of the kit (at the ranges of this\n version) and the agent permissions this version writes that the project lacks or writes\n otherwise, and the git hooks (the lefthook: line of lefthook.yml, the pre-commit hook of\n lefthook in this clone); init adds what is missing, hooks:install the hook; --strict\n exits 1 while something is missing, never for a hook this clone has not installed\n describe one context as facts: use cases, routes, events, ports, policies, gateways, dependencies\n status the next step of docs/architecture/plan.md, the slices of docs/architecture/slices.md by\n status and by owner, each row not done ready on the trunk (its dependencies done), ready\n on a branch (the others briefed to a worker with commits ahead of its base) or waiting\n (with the ids it waits for), a row that landed with a worker's branch but is not marked done,\n and the TODO(domain), TODO(platform), it.todo and TODO(review) left in each context, and\n each story or milestone whose rows are all done while markers of its own keep it open (see\n story-check, whose git blame it runs on those markers only); --workers shows instead each\n worktree holding .ddd-ts-kit/worker.json (branch, context, rows, base, commits ahead and\n files changed counted from where its branch landed on the base when it was squash-merged\n there (else from the merge base), commits behind, the commit it landed as, what merge-trunk\n would leave conflicted now, dependencies not installed, its report), a state line (rows\n committed, the row under way, files uncommitted, markers, last verify-slice, and the\n worker-scope --resume command of a stopped one), then the contexts and the files more than\n one worker holds\n sdk the typed client of each document of the contract, a workspace package under\n clients/<document> without runtime dependency: typed errors keyed by the error codes,\n credentials per security scheme; records \"sdk\" in the config the first time, wires the\n scripts (docs:generate regenerates it, docs:check compares it, ci:build builds it);\n --check writes nothing and exits 1 while a client differs from its contract\n todo those markers as file:line, in the project or in one context\n plan-waves the rows of slices.md not done, of the project or of one context, in waves (wave 1: every\n dependency done; wave n: the others in earlier waves), each wave cut into batches of one\n owner, one or two rows on one aggregate, with the worker-scope command that briefs each,\n the batches of a wave likely to touch the same files (same aggregate in Start with, or\n unknown when it names none), the merge order and what runs before each merge (merge-trunk\n --to-land); a cycle, a dependency on an unknown id or a row without owner is reported\n alone, and exits 1\n story-check whether a story or a milestone can close, <code> being the start of the ids of its rows\n (M1 for M1.01, M1.02: the id without its last .<number>): every row of it done in\n slices.md (the others listed with their status), and no marker of its own left\n (TODO(domain), TODO(platform), it.todo, TODO(review)). A marker is attributed to\n rows: those its text names (#M1.03 or M1.03, word-bounded), else those of the commit\n that wrote its line (git blame, once per file; its Slice: trailer, else the row ids\n its message names), else, not committed, those of .ddd-ts-kit/worker.json in a\n worker's worktree. It is the story's own when it belongs to one of its rows,\n wherever it is; a marker of a context of its rows that belongs to no row is its own\n when no other open story has a row in that context, and is listed without blocking\n otherwise (settle it or name its row in it); a marker of other stories' rows does not\n block. --strict: every marker of its contexts blocks. Each blocker comes with why it\n is its own, its file:line and its fix: handle it, or dismiss it by a decision record\n (generate adr), then delete the marker. Reads only: exits 0 when it can close, 1\n listing what keeps it open, 2 on a code no row carries or without slices.md\n worker-scope a git worktree on the branch build/<context> (by default ../<project>-<context>), cut from\n --base <ref> (by default the current branch, refused from a worker's worktree), its\n .ddd-ts-kit/worker.json, and the briefing of the worker of that context; --rows <id,...>\n briefs those rows of slices.md only, with their rules, the documents of their design and\n the names that design cites the base does not have (see cited), and by default the first\n batch plan-waves cuts for the context (one or two rows on one aggregate), a note naming the\n next; a worktree it creates gets the clean install of the package manager (npm ci), its\n time in the notes, unless --no-install; an existing worktree or branch that does not\n contain the base is refused, with the merge-trunk that brings it in\n --resume worker-scope reads where the stopped worker of the context stands (its rows by their\n Slice: trailer, the files of the row under way, the markers, its last verify-slice, its\n report, its agent as the guard recorded it) and prints the message that resumes its agent\n (SendMessage) or the briefing of a new one; creates and rewrites nothing; --fresh asks for\n a new agent whatever the last one did; several worktrees of the context need --worktree\n verify-slice closes a slice before its commit, in one run: the regenerate script, check on the files\n changed since --since (new ones included), the test script for the context; then the\n changed files past 300 of the 350 lines, the paths of the slice to stage (its context, an\n end-to-end spec, a working migration, the derived files git tracks) and every other\n changed path, left out and never to stage with it; the merges since --since, as\n verify-merge checks them, reported without failing the slice in this version (a later\n minor version fails it); exits 1 while a step fails; then the names the slice removes\n that the design of a row not done still cites (never a failure); in the worktree of a\n worker, the commit command with the trailer Slice: <row>, and\n .ddd-ts-kit/verification.json for the conductor\n cited the names the design of rows not done cites as code (paths, classes, Class.member) that\n the code does not have: those the history of --base removed (with the commit and the\n successor), the places the canonical tree refuses, and a name never there whose close\n name of the same part arrived after the line was written; planned names stay silent.\n The design of a row: its cells and rule lines in slices.md, a section of a document of\n docs/architecture whose heading names it, a document that names it or that its rule\n line links to. Default: every row not done, of the context when given, at the current\n branch. --removed-since <ref>: the names a change removes, from the merge base to the\n working tree, that such a design cites. Reads only, exits 0\n verify-merge what the merges of a branch lost, read from git only: every merge commit since --since\n (by default the base of .ddd-ts-kit/worker.json, then origin/HEAD, then origin/main) and\n the merge in progress (its result: the index and the working tree), or one <commit>; a\n squash commit takes --theirs <head of the branch it took in>. Errors: a line one side\n added or both kept missing from the result (whitespace, a line laid out again, a move\n to another file and imports merged into one statement aside), a file neither side\n deleted gone from the result, a row of slices.md done on one side and no longer done or\n gone, a test title or a spec file of one side gone, a migration of one side whose\n description (name without number and working-) the result lacks, a conflict marker;\n warnings: a line one side removed brought back, a line one side wrote where the other\n changed the same lines or deleted the file (the merge chose), a line the merge replaced\n by lines of its own. Derived files, files a tool says it wrote, migrations, lockfiles\n and slices.md are left out of the lines. The base is --base, else the Merge-Base:\n trailer of the merge, else git merge-base; entries of a Lost-Accepted: <file:line>,...\n trailer are listed and never fail, nor what a later commit restored; silent and exit 0\n without a merge, exit 1 on an error; --warn prints the same and exits 0, as the\n pre-push hook of init runs it in this version (a later minor version blocks the push)\n merge-trunk brings the trunk (--trunk, by default origin/HEAD then origin/main, never fetched) into the\n branch as one merge commit computed from the branch's own diff: from the newest commit of\n the branch the trunk holds (--since; else the commit whose patch, derived files,\n migrations, slices.md, plan.md and lockfiles left out, is one commit of the trunk, on this\n branch or a branch it shares commits with; else the base recorded for the worker when its\n lines are on the trunk; else git merge-base). Settles derived files and drizzle-kit meta\n (trunk side), generated regions of CONTEXT.md and the context map (trunk side), conflicts\n inside generated registries (lines of both sides), slices.md row by row (the furthest\n status), the stored-events lock by key, the lockfile (trunk side, installed again when\n the branch changed package.json); the rest is left in a merge in progress git\n understands, with what each side did (exit 1). Then, or on --continue: the drizzle\n migrations of both sides replayed, on --to-land the working migrations renamed (knex,\n Prisma, TypeORM; stop when both sides change one table), decision records renumbered,\n regenerate, verify-merge on the uncommitted result (an error stops; --accept-lost records\n a Lost-Accepted: trailer), and the commit of the merge's paths only, with the trailers\n Merge-Base:, Trunk: and Landed:; any other changed path blocks it. --dry-run previews,\n --abort undoes; refused (exit 2) on a dirty tree, another operation in progress, no\n committer known to git, an unknown trunk, or a git older than 2.40 with a base git\n would not compute\n --commit-size the files and lines about to be committed against \"commit\" in the config (20 files and\n 600 lines by default, generated files not counted); --staged reads the index only;\n advisory, --strict exits 1 when over\n --stored-events docs records the shape of each version of the stored events in stored-events.lock.json,\n never rewriting a recorded one: run it once the shape of a version is the one to store;\n docs --check fails while a declared version is not recorded\n --sdk init records \"sdk\" in the config and generates the clients with the project\n --local-only generate refuses, and writes nothing, when the kind would write outside its context;\n \"generate --help --json\" says which kinds do";
3
3
  //# sourceMappingURL=notes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../src/help/notes.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,eAAO,MAAM,KAAK,kqNAkE8C,CAAC"}
1
+ {"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../src/help/notes.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,eAAO,MAAM,KAAK,4peAsJ8C,CAAC"}
@@ -26,15 +26,24 @@ export const NOTES = ` affected what a pull request has to run: the con
26
26
  its resource, its schema files and its spec follow; a context is turned whole or not at all
27
27
  doctor what an upgrade left to do: the scripts, the packages of the kit (at the ranges of this
28
28
  version) and the agent permissions this version writes that the project lacks or writes
29
- otherwise; init adds what is missing; --strict exits 1 while something is missing
29
+ otherwise, and the git hooks (the lefthook: line of lefthook.yml, the pre-commit hook of
30
+ lefthook in this clone); init adds what is missing, hooks:install the hook; --strict
31
+ exits 1 while something is missing, never for a hook this clone has not installed
30
32
  describe one context as facts: use cases, routes, events, ports, policies, gateways, dependencies
31
33
  status the next step of docs/architecture/plan.md, the slices of docs/architecture/slices.md by
32
34
  status and by owner, each row not done ready on the trunk (its dependencies done), ready
33
35
  on a branch (the others briefed to a worker with commits ahead of its base) or waiting
34
- (with the ids it waits for), and the TODO(domain), TODO(platform), it.todo and TODO(review)
35
- left in each context; --workers shows instead each worktree holding .ddd-ts-kit/worker.json (branch,
36
- context, rows, base, commits ahead, files changed since the base, its report), then the
37
- contexts and the files more than one worker holds
36
+ (with the ids it waits for), a row that landed with a worker's branch but is not marked done,
37
+ and the TODO(domain), TODO(platform), it.todo and TODO(review) left in each context, and
38
+ each story or milestone whose rows are all done while markers of its own keep it open (see
39
+ story-check, whose git blame it runs on those markers only); --workers shows instead each
40
+ worktree holding .ddd-ts-kit/worker.json (branch, context, rows, base, commits ahead and
41
+ files changed counted from where its branch landed on the base when it was squash-merged
42
+ there (else from the merge base), commits behind, the commit it landed as, what merge-trunk
43
+ would leave conflicted now, dependencies not installed, its report), a state line (rows
44
+ committed, the row under way, files uncommitted, markers, last verify-slice, and the
45
+ worker-scope --resume command of a stopped one), then the contexts and the files more than
46
+ one worker holds
38
47
  sdk the typed client of each document of the contract, a workspace package under
39
48
  clients/<document> without runtime dependency: typed errors keyed by the error codes,
40
49
  credentials per security scheme; records "sdk" in the config the first time, wires the
@@ -45,18 +54,93 @@ export const NOTES = ` affected what a pull request has to run: the con
45
54
  dependency done; wave n: the others in earlier waves), each wave cut into batches of one
46
55
  owner, one or two rows on one aggregate, with the worker-scope command that briefs each,
47
56
  the batches of a wave likely to touch the same files (same aggregate in Start with, or
48
- unknown when it names none), and the merge order; a cycle, a dependency on an unknown id
49
- or a row without owner is reported alone, and exits 1
57
+ unknown when it names none), the merge order and what runs before each merge (merge-trunk
58
+ --to-land); a cycle, a dependency on an unknown id or a row without owner is reported
59
+ alone, and exits 1
60
+ story-check whether a story or a milestone can close, <code> being the start of the ids of its rows
61
+ (M1 for M1.01, M1.02: the id without its last .<number>): every row of it done in
62
+ slices.md (the others listed with their status), and no marker of its own left
63
+ (TODO(domain), TODO(platform), it.todo, TODO(review)). A marker is attributed to
64
+ rows: those its text names (#M1.03 or M1.03, word-bounded), else those of the commit
65
+ that wrote its line (git blame, once per file; its Slice: trailer, else the row ids
66
+ its message names), else, not committed, those of .ddd-ts-kit/worker.json in a
67
+ worker's worktree. It is the story's own when it belongs to one of its rows,
68
+ wherever it is; a marker of a context of its rows that belongs to no row is its own
69
+ when no other open story has a row in that context, and is listed without blocking
70
+ otherwise (settle it or name its row in it); a marker of other stories' rows does not
71
+ block. --strict: every marker of its contexts blocks. Each blocker comes with why it
72
+ is its own, its file:line and its fix: handle it, or dismiss it by a decision record
73
+ (generate adr), then delete the marker. Reads only: exits 0 when it can close, 1
74
+ listing what keeps it open, 2 on a code no row carries or without slices.md
50
75
  worker-scope a git worktree on the branch build/<context> (by default ../<project>-<context>), cut from
51
76
  --base <ref> (by default the current branch, refused from a worker's worktree), its
52
77
  .ddd-ts-kit/worker.json, and the briefing of the worker of that context; --rows <id,...>
53
- briefs those rows of slices.md only, with their rules; an existing worktree or branch
54
- that does not contain the base is refused
78
+ briefs those rows of slices.md only, with their rules, the documents of their design and
79
+ the names that design cites the base does not have (see cited), and by default the first
80
+ batch plan-waves cuts for the context (one or two rows on one aggregate), a note naming the
81
+ next; a worktree it creates gets the clean install of the package manager (npm ci), its
82
+ time in the notes, unless --no-install; an existing worktree or branch that does not
83
+ contain the base is refused, with the merge-trunk that brings it in
84
+ --resume worker-scope reads where the stopped worker of the context stands (its rows by their
85
+ Slice: trailer, the files of the row under way, the markers, its last verify-slice, its
86
+ report, its agent as the guard recorded it) and prints the message that resumes its agent
87
+ (SendMessage) or the briefing of a new one; creates and rewrites nothing; --fresh asks for
88
+ a new agent whatever the last one did; several worktrees of the context need --worktree
55
89
  verify-slice closes a slice before its commit, in one run: the regenerate script, check on the files
56
90
  changed since --since (new ones included), the test script for the context; then the
57
91
  changed files past 300 of the 350 lines, the paths of the slice to stage (its context, an
58
92
  end-to-end spec, a working migration, the derived files git tracks) and every other
59
- changed path, left out and never to stage with it; exits 1 while a step fails
93
+ changed path, left out and never to stage with it; the merges since --since, as
94
+ verify-merge checks them, reported without failing the slice in this version (a later
95
+ minor version fails it); exits 1 while a step fails; then the names the slice removes
96
+ that the design of a row not done still cites (never a failure); in the worktree of a
97
+ worker, the commit command with the trailer Slice: <row>, and
98
+ .ddd-ts-kit/verification.json for the conductor
99
+ cited the names the design of rows not done cites as code (paths, classes, Class.member) that
100
+ the code does not have: those the history of --base removed (with the commit and the
101
+ successor), the places the canonical tree refuses, and a name never there whose close
102
+ name of the same part arrived after the line was written; planned names stay silent.
103
+ The design of a row: its cells and rule lines in slices.md, a section of a document of
104
+ docs/architecture whose heading names it, a document that names it or that its rule
105
+ line links to. Default: every row not done, of the context when given, at the current
106
+ branch. --removed-since <ref>: the names a change removes, from the merge base to the
107
+ working tree, that such a design cites. Reads only, exits 0
108
+ verify-merge what the merges of a branch lost, read from git only: every merge commit since --since
109
+ (by default the base of .ddd-ts-kit/worker.json, then origin/HEAD, then origin/main) and
110
+ the merge in progress (its result: the index and the working tree), or one <commit>; a
111
+ squash commit takes --theirs <head of the branch it took in>. Errors: a line one side
112
+ added or both kept missing from the result (whitespace, a line laid out again, a move
113
+ to another file and imports merged into one statement aside), a file neither side
114
+ deleted gone from the result, a row of slices.md done on one side and no longer done or
115
+ gone, a test title or a spec file of one side gone, a migration of one side whose
116
+ description (name without number and working-) the result lacks, a conflict marker;
117
+ warnings: a line one side removed brought back, a line one side wrote where the other
118
+ changed the same lines or deleted the file (the merge chose), a line the merge replaced
119
+ by lines of its own. Derived files, files a tool says it wrote, migrations, lockfiles
120
+ and slices.md are left out of the lines. The base is --base, else the Merge-Base:
121
+ trailer of the merge, else git merge-base; entries of a Lost-Accepted: <file:line>,...
122
+ trailer are listed and never fail, nor what a later commit restored; silent and exit 0
123
+ without a merge, exit 1 on an error; --warn prints the same and exits 0, as the
124
+ pre-push hook of init runs it in this version (a later minor version blocks the push)
125
+ merge-trunk brings the trunk (--trunk, by default origin/HEAD then origin/main, never fetched) into the
126
+ branch as one merge commit computed from the branch's own diff: from the newest commit of
127
+ the branch the trunk holds (--since; else the commit whose patch, derived files,
128
+ migrations, slices.md, plan.md and lockfiles left out, is one commit of the trunk, on this
129
+ branch or a branch it shares commits with; else the base recorded for the worker when its
130
+ lines are on the trunk; else git merge-base). Settles derived files and drizzle-kit meta
131
+ (trunk side), generated regions of CONTEXT.md and the context map (trunk side), conflicts
132
+ inside generated registries (lines of both sides), slices.md row by row (the furthest
133
+ status), the stored-events lock by key, the lockfile (trunk side, installed again when
134
+ the branch changed package.json); the rest is left in a merge in progress git
135
+ understands, with what each side did (exit 1). Then, or on --continue: the drizzle
136
+ migrations of both sides replayed, on --to-land the working migrations renamed (knex,
137
+ Prisma, TypeORM; stop when both sides change one table), decision records renumbered,
138
+ regenerate, verify-merge on the uncommitted result (an error stops; --accept-lost records
139
+ a Lost-Accepted: trailer), and the commit of the merge's paths only, with the trailers
140
+ Merge-Base:, Trunk: and Landed:; any other changed path blocks it. --dry-run previews,
141
+ --abort undoes; refused (exit 2) on a dirty tree, another operation in progress, no
142
+ committer known to git, an unknown trunk, or a git older than 2.40 with a base git
143
+ would not compute
60
144
  --commit-size the files and lines about to be committed against "commit" in the config (20 files and
61
145
  600 lines by default, generated files not counted); --staged reads the index only;
62
146
  advisory, --strict exits 1 when over
@@ -1 +1 @@
1
- {"version":3,"file":"notes.js","sourceRoot":"","sources":["../../src/help/notes.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,MAAM,CAAC,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAkE2C,CAAC"}
1
+ {"version":3,"file":"notes.js","sourceRoot":"","sources":["../../src/help/notes.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,MAAM,CAAC,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAsJ2C,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /** Every command of the CLI and its flags, as `--help` prints them and docs/guides/commands.md shows them. */
2
- export declare const USAGE = "Usage\n ddd-ts-kit init [--http express|fastify|hono|nest|none]\n [--validation zod|class-validator|typebox|standard-schema|none]\n [--di tsyringe|nest|manual] [--tests vitest|jest]\n [--orm drizzle|knex|prisma|typeorm|custom|none] [--database postgres|mysql|sqlite|none]\n [--events in-memory|outbox] [--docs-ui swagger|scalar|redoc|none]\n [--ci github|gitlab|both|none] [--ci-extras <extra>,...|none]\n [--authn jwt|keycloak|none] [--authz rbac|abac|rebac|custom]\n [--broker none|rabbitmq|kafka|nats|redis|custom] [--cache none|redis] [--http-cache none|varnish]\n [--storage local|s3|none]\n [--audit on|off]\n [--errors none|sentry] [--logger stdout|pino|winston] [--style declared|explicit] [--assembly barrel|discovery]\n [--dependencies signature|listed] [--refusals factories|classes]\n [--routes controllers|functions] [--representations negotiated|json] [--forms on|off]\n [--value-objects throwing|result] [--literals named|free] [--values classes|free] [--tenancy none|shared-table] [--queue database|redis|memory]\n [--schemas shared|per-route]\n [--package-manager npm|pnpm] [--allow-no-outbox \"<reason>\"] [--import-alias '$<name>/']\n [--import-extension none|js] [--sdk]\n [--context <name>:<core|supporting|generic>]... [--preset identity]... [--dry-run] [--force]\n ddd-ts-kit generate <kind> ... [--term \"<Term>=<meaning>\"]... [--allow-name] [--local-only] [--dry-run] [--force] (alias: g)\n ddd-ts-kit generate --help --json\n ddd-ts-kit list [--context <name>]\n ddd-ts-kit describe <context>\n ddd-ts-kit status [--workers]\n ddd-ts-kit doctor [--strict]\n ddd-ts-kit todo [<context>]\n ddd-ts-kit plan-waves [<context>]\n ddd-ts-kit worker-scope <context> [--base <ref>] [--rows <id,...>] [--worktree <path>] [--branch <name>] [--dry-run]\n ddd-ts-kit verify-slice <context> --since <git-ref>\n ddd-ts-kit docs [--check] [--stored-events]\n ddd-ts-kit sdk [--check] [--dry-run]\n ddd-ts-kit depcruise-config [--check|--write]\n ddd-ts-kit build-aliases [--project <tsconfig>]\n ddd-ts-kit drizzle-generate --name <what-it-does> [--custom]\n ddd-ts-kit drizzle-generate --replay [--base <git-ref>]\n ddd-ts-kit error-factories --plan | --apply [--dry-run]\n ddd-ts-kit controllers [<context>] [--dry-run]\n ddd-ts-kit value-objects [--dry-run]\n ddd-ts-kit affected [--base <git-ref>] [--head <git-ref>] [--format text|json|github|env]\n ddd-ts-kit check [paths...] [--rule <id>]... [--format text|json|github|gitlab] [--changed-since <git-ref>] [--self]\n ddd-ts-kit check --clean-only <dir>... [--rule <id>]... [--format text|json|github]\n ddd-ts-kit check --commit-size [--staged] [--strict]\n ddd-ts-kit check-file <path>\n ddd-ts-kit rules\n ddd-ts-kit explain <rule-id>\n\nEvery command accepts --json (machine-readable output) and --cwd <dir> (project root).";
2
+ export declare const USAGE = "Usage\n ddd-ts-kit init [--http express|fastify|hono|nest|none]\n [--validation zod|class-validator|typebox|standard-schema|none]\n [--di tsyringe|nest|manual] [--tests vitest|jest]\n [--orm drizzle|knex|prisma|typeorm|custom|none] [--database postgres|mysql|sqlite|none]\n [--events in-memory|outbox] [--docs-ui swagger|scalar|redoc|none]\n [--ci github|gitlab|both|none] [--ci-extras <extra>,...|none]\n [--authn jwt|keycloak|none] [--authz rbac|abac|rebac|custom]\n [--broker none|rabbitmq|kafka|nats|redis|custom] [--cache none|redis] [--http-cache none|varnish]\n [--storage local|s3|none]\n [--audit on|off]\n [--errors none|sentry] [--logger stdout|pino|winston] [--style declared|explicit] [--assembly barrel|discovery]\n [--dependencies signature|listed] [--refusals factories|classes]\n [--routes controllers|functions] [--representations negotiated|json] [--forms on|off]\n [--value-objects throwing|result] [--literals named|free] [--values classes|free] [--tenancy none|shared-table] [--queue database|redis|memory]\n [--schemas shared|per-route]\n [--package-manager npm|pnpm] [--allow-no-outbox \"<reason>\"] [--import-alias '$<name>/']\n [--import-extension none|js] [--sdk]\n [--context <name>:<core|supporting|generic>]... [--preset identity]... [--dry-run] [--force]\n ddd-ts-kit generate <kind> ... [--term \"<Term>=<meaning>\"]... [--allow-name] [--local-only] [--dry-run] [--force] (alias: g)\n ddd-ts-kit generate --help --json\n ddd-ts-kit list [--context <name>]\n ddd-ts-kit describe <context>\n ddd-ts-kit status [--workers]\n ddd-ts-kit doctor [--strict]\n ddd-ts-kit todo [<context>]\n ddd-ts-kit plan-waves [<context>]\n ddd-ts-kit story-check <code> [--strict]\n ddd-ts-kit worker-scope <context> [--base <ref>] [--rows <id,...>] [--worktree <path>] [--branch <name>] [--no-install] [--dry-run]\n ddd-ts-kit worker-scope <context> --resume [--worktree <path> | --branch <name>] [--fresh]\n ddd-ts-kit verify-slice <context> --since <git-ref>\n ddd-ts-kit cited [<context>] [--rows <id,...>] [--base <ref>] [--removed-since <ref>]\n ddd-ts-kit verify-merge [<commit>] [--since <git-ref>] [--theirs <git-ref>] [--base <commit>] [--warn]\n ddd-ts-kit merge-trunk [--trunk <git-ref>] [--since <commit>] [--to-land] [--dry-run]\n ddd-ts-kit merge-trunk --continue [--accept-lost] | --abort\n ddd-ts-kit docs [--check] [--stored-events]\n ddd-ts-kit sdk [--check] [--dry-run]\n ddd-ts-kit depcruise-config [--check|--write]\n ddd-ts-kit build-aliases [--project <tsconfig>]\n ddd-ts-kit drizzle-generate --name <what-it-does> [--custom]\n ddd-ts-kit drizzle-generate --replay [--base <git-ref>]\n ddd-ts-kit error-factories --plan | --apply [--dry-run]\n ddd-ts-kit controllers [<context>] [--dry-run]\n ddd-ts-kit value-objects [--dry-run]\n ddd-ts-kit affected [--base <git-ref>] [--head <git-ref>] [--format text|json|github|env]\n ddd-ts-kit check [paths...] [--rule <id>]... [--format text|json|github|gitlab] [--changed-since <git-ref>] [--self]\n ddd-ts-kit check --clean-only <dir>... [--rule <id>]... [--format text|json|github]\n ddd-ts-kit check --commit-size [--staged] [--strict]\n ddd-ts-kit check-file <path>\n ddd-ts-kit rules\n ddd-ts-kit explain <rule-id>\n\nEvery command accepts --json (machine-readable output) and --cwd <dir> (project root).";
3
3
  //# sourceMappingURL=usage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../src/help/usage.ts"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,eAAO,MAAM,KAAK,+iGA8CqE,CAAC"}
1
+ {"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../src/help/usage.ts"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,eAAO,MAAM,KAAK,miHAoDqE,CAAC"}
@@ -26,8 +26,14 @@ export const USAGE = `Usage
26
26
  ddd-ts-kit doctor [--strict]
27
27
  ddd-ts-kit todo [<context>]
28
28
  ddd-ts-kit plan-waves [<context>]
29
- ddd-ts-kit worker-scope <context> [--base <ref>] [--rows <id,...>] [--worktree <path>] [--branch <name>] [--dry-run]
29
+ ddd-ts-kit story-check <code> [--strict]
30
+ ddd-ts-kit worker-scope <context> [--base <ref>] [--rows <id,...>] [--worktree <path>] [--branch <name>] [--no-install] [--dry-run]
31
+ ddd-ts-kit worker-scope <context> --resume [--worktree <path> | --branch <name>] [--fresh]
30
32
  ddd-ts-kit verify-slice <context> --since <git-ref>
33
+ ddd-ts-kit cited [<context>] [--rows <id,...>] [--base <ref>] [--removed-since <ref>]
34
+ ddd-ts-kit verify-merge [<commit>] [--since <git-ref>] [--theirs <git-ref>] [--base <commit>] [--warn]
35
+ ddd-ts-kit merge-trunk [--trunk <git-ref>] [--since <commit>] [--to-land] [--dry-run]
36
+ ddd-ts-kit merge-trunk --continue [--accept-lost] | --abort
31
37
  ddd-ts-kit docs [--check] [--stored-events]
32
38
  ddd-ts-kit sdk [--check] [--dry-run]
33
39
  ddd-ts-kit depcruise-config [--check|--write]
@@ -1 +1 @@
1
- {"version":3,"file":"usage.js","sourceRoot":"","sources":["../../src/help/usage.ts"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,MAAM,CAAC,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uFA8CkE,CAAC"}
1
+ {"version":3,"file":"usage.js","sourceRoot":"","sources":["../../src/help/usage.ts"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,MAAM,CAAC,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uFAoDkE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"agent-permissions.d.ts","sourceRoot":"","sources":["../../src/init/agent-permissions.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,GAAG,MAAM,GAAG,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC;AAEtF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAiD/B,CAAC"}
1
+ {"version":3,"file":"agent-permissions.d.ts","sourceRoot":"","sources":["../../src/init/agent-permissions.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,GAAG,MAAM,GAAG,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC;AAEtF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAuD/B,CAAC"}