@pennyfarthing/core 7.4.0 → 7.5.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 (369) hide show
  1. package/dist/cli/utils/files.d.ts +0 -1
  2. package/dist/cli/utils/files.js +73 -56
  3. package/dist/cli/utils/manifest.d.ts +0 -1
  4. package/dist/cli/utils/manifest.js +48 -45
  5. package/dist/cli/utils/version.d.ts +0 -1
  6. package/dist/cli/utils/version.js +38 -32
  7. package/dist/index.d.ts +0 -1
  8. package/dist/index.js +39 -11
  9. package/dist/permissions/index.d.ts +0 -1
  10. package/dist/permissions/index.js +7 -4
  11. package/dist/permissions/permission-schema.d.ts +0 -1
  12. package/dist/permissions/permission-schema.js +13 -9
  13. package/dist/scripts/job-fair-aggregator.d.ts +0 -1
  14. package/dist/scripts/job-fair-aggregator.js +484 -341
  15. package/dist/workflow/index.d.ts +0 -1
  16. package/dist/workflow/index.js +12 -5
  17. package/dist/workflow/workflow-loader.d.ts +0 -1
  18. package/dist/workflow/workflow-loader.js +40 -34
  19. package/dist/workflow/workflow-permissions.d.ts +0 -1
  20. package/dist/workflow/workflow-permissions.js +14 -8
  21. package/dist/workflow/workflow-router.d.ts +0 -1
  22. package/dist/workflow/workflow-router.js +70 -51
  23. package/dist/workflow/workflow-schema.d.ts +0 -1
  24. package/dist/workflow/workflow-schema.js +62 -59
  25. package/package.json +1 -1
  26. package/dist/bmad/context-reader.d.ts +0 -71
  27. package/dist/bmad/context-reader.d.ts.map +0 -1
  28. package/dist/bmad/context-reader.js +0 -369
  29. package/dist/bmad/context-reader.js.map +0 -1
  30. package/dist/bmad/context-reader.test.d.ts +0 -71
  31. package/dist/bmad/context-reader.test.d.ts.map +0 -1
  32. package/dist/bmad/context-reader.test.js +0 -878
  33. package/dist/bmad/context-reader.test.js.map +0 -1
  34. package/dist/bmad/epics-parser.d.ts +0 -61
  35. package/dist/bmad/epics-parser.d.ts.map +0 -1
  36. package/dist/bmad/epics-parser.js +0 -331
  37. package/dist/bmad/epics-parser.js.map +0 -1
  38. package/dist/bmad/epics-parser.test.d.ts +0 -7
  39. package/dist/bmad/epics-parser.test.d.ts.map +0 -1
  40. package/dist/bmad/epics-parser.test.js +0 -449
  41. package/dist/bmad/epics-parser.test.js.map +0 -1
  42. package/dist/bmad/index.d.ts +0 -11
  43. package/dist/bmad/index.d.ts.map +0 -1
  44. package/dist/bmad/index.js +0 -24
  45. package/dist/bmad/index.js.map +0 -1
  46. package/dist/bmad/status-sync.d.ts +0 -173
  47. package/dist/bmad/status-sync.d.ts.map +0 -1
  48. package/dist/bmad/status-sync.js +0 -463
  49. package/dist/bmad/status-sync.js.map +0 -1
  50. package/dist/bmad/status-sync.test.d.ts +0 -7
  51. package/dist/bmad/status-sync.test.d.ts.map +0 -1
  52. package/dist/bmad/status-sync.test.js +0 -702
  53. package/dist/bmad/status-sync.test.js.map +0 -1
  54. package/dist/bmad/story-exporter.d.ts +0 -55
  55. package/dist/bmad/story-exporter.d.ts.map +0 -1
  56. package/dist/bmad/story-exporter.js +0 -170
  57. package/dist/bmad/story-exporter.js.map +0 -1
  58. package/dist/bmad/story-exporter.test.d.ts +0 -51
  59. package/dist/bmad/story-exporter.test.d.ts.map +0 -1
  60. package/dist/bmad/story-exporter.test.js +0 -603
  61. package/dist/bmad/story-exporter.test.js.map +0 -1
  62. package/dist/bmad/story-parser.d.ts +0 -44
  63. package/dist/bmad/story-parser.d.ts.map +0 -1
  64. package/dist/bmad/story-parser.js +0 -307
  65. package/dist/bmad/story-parser.js.map +0 -1
  66. package/dist/bmad/story-parser.test.d.ts +0 -44
  67. package/dist/bmad/story-parser.test.d.ts.map +0 -1
  68. package/dist/bmad/story-parser.test.js +0 -693
  69. package/dist/bmad/story-parser.test.js.map +0 -1
  70. package/dist/cli/commands/command.d.ts +0 -28
  71. package/dist/cli/commands/command.d.ts.map +0 -1
  72. package/dist/cli/commands/command.js +0 -399
  73. package/dist/cli/commands/command.js.map +0 -1
  74. package/dist/cli/commands/cyclist.d.ts +0 -46
  75. package/dist/cli/commands/cyclist.d.ts.map +0 -1
  76. package/dist/cli/commands/cyclist.js +0 -196
  77. package/dist/cli/commands/cyclist.js.map +0 -1
  78. package/dist/cli/commands/cyclist.test.d.ts +0 -13
  79. package/dist/cli/commands/cyclist.test.d.ts.map +0 -1
  80. package/dist/cli/commands/cyclist.test.js +0 -245
  81. package/dist/cli/commands/cyclist.test.js.map +0 -1
  82. package/dist/cli/commands/doctor.d.ts +0 -9
  83. package/dist/cli/commands/doctor.d.ts.map +0 -1
  84. package/dist/cli/commands/doctor.js +0 -652
  85. package/dist/cli/commands/doctor.js.map +0 -1
  86. package/dist/cli/commands/init.d.ts +0 -8
  87. package/dist/cli/commands/init.d.ts.map +0 -1
  88. package/dist/cli/commands/init.js +0 -524
  89. package/dist/cli/commands/init.js.map +0 -1
  90. package/dist/cli/commands/skill.d.ts +0 -28
  91. package/dist/cli/commands/skill.d.ts.map +0 -1
  92. package/dist/cli/commands/skill.js +0 -416
  93. package/dist/cli/commands/skill.js.map +0 -1
  94. package/dist/cli/commands/theme.d.ts +0 -21
  95. package/dist/cli/commands/theme.d.ts.map +0 -1
  96. package/dist/cli/commands/theme.js +0 -201
  97. package/dist/cli/commands/theme.js.map +0 -1
  98. package/dist/cli/commands/uninstall.d.ts +0 -8
  99. package/dist/cli/commands/uninstall.d.ts.map +0 -1
  100. package/dist/cli/commands/uninstall.js +0 -237
  101. package/dist/cli/commands/uninstall.js.map +0 -1
  102. package/dist/cli/commands/update.d.ts +0 -9
  103. package/dist/cli/commands/update.d.ts.map +0 -1
  104. package/dist/cli/commands/update.js +0 -418
  105. package/dist/cli/commands/update.js.map +0 -1
  106. package/dist/cli/commands/version.d.ts +0 -2
  107. package/dist/cli/commands/version.d.ts.map +0 -1
  108. package/dist/cli/commands/version.js +0 -28
  109. package/dist/cli/commands/version.js.map +0 -1
  110. package/dist/cli/customization.test.d.ts +0 -12
  111. package/dist/cli/customization.test.d.ts.map +0 -1
  112. package/dist/cli/customization.test.js +0 -84
  113. package/dist/cli/customization.test.js.map +0 -1
  114. package/dist/cli/cyclist-migration.test.d.ts +0 -16
  115. package/dist/cli/cyclist-migration.test.d.ts.map +0 -1
  116. package/dist/cli/cyclist-migration.test.js +0 -225
  117. package/dist/cli/cyclist-migration.test.js.map +0 -1
  118. package/dist/cli/index.d.ts +0 -3
  119. package/dist/cli/index.d.ts.map +0 -1
  120. package/dist/cli/index.js +0 -174
  121. package/dist/cli/index.js.map +0 -1
  122. package/dist/cli/ocean-profiles.test.d.ts +0 -13
  123. package/dist/cli/ocean-profiles.test.d.ts.map +0 -1
  124. package/dist/cli/ocean-profiles.test.js +0 -134
  125. package/dist/cli/ocean-profiles.test.js.map +0 -1
  126. package/dist/cli/theme-maker.test.d.ts +0 -11
  127. package/dist/cli/theme-maker.test.d.ts.map +0 -1
  128. package/dist/cli/theme-maker.test.js +0 -356
  129. package/dist/cli/theme-maker.test.js.map +0 -1
  130. package/dist/cli/utils/constants.d.ts +0 -66
  131. package/dist/cli/utils/constants.d.ts.map +0 -1
  132. package/dist/cli/utils/constants.js +0 -54
  133. package/dist/cli/utils/constants.js.map +0 -1
  134. package/dist/cli/utils/files.d.ts.map +0 -1
  135. package/dist/cli/utils/files.js.map +0 -1
  136. package/dist/cli/utils/logger.d.ts +0 -26
  137. package/dist/cli/utils/logger.d.ts.map +0 -1
  138. package/dist/cli/utils/logger.js +0 -88
  139. package/dist/cli/utils/logger.js.map +0 -1
  140. package/dist/cli/utils/manifest.d.ts.map +0 -1
  141. package/dist/cli/utils/manifest.js.map +0 -1
  142. package/dist/cli/utils/node-modules.d.ts +0 -6
  143. package/dist/cli/utils/node-modules.d.ts.map +0 -1
  144. package/dist/cli/utils/node-modules.js +0 -31
  145. package/dist/cli/utils/node-modules.js.map +0 -1
  146. package/dist/cli/utils/prompts.d.ts +0 -34
  147. package/dist/cli/utils/prompts.d.ts.map +0 -1
  148. package/dist/cli/utils/prompts.js +0 -93
  149. package/dist/cli/utils/prompts.js.map +0 -1
  150. package/dist/cli/utils/symlinks.d.ts +0 -29
  151. package/dist/cli/utils/symlinks.d.ts.map +0 -1
  152. package/dist/cli/utils/symlinks.js +0 -181
  153. package/dist/cli/utils/symlinks.js.map +0 -1
  154. package/dist/cli/utils/themes.d.ts +0 -101
  155. package/dist/cli/utils/themes.d.ts.map +0 -1
  156. package/dist/cli/utils/themes.js +0 -373
  157. package/dist/cli/utils/themes.js.map +0 -1
  158. package/dist/cli/utils/themes.test.d.ts +0 -12
  159. package/dist/cli/utils/themes.test.d.ts.map +0 -1
  160. package/dist/cli/utils/themes.test.js +0 -147
  161. package/dist/cli/utils/themes.test.js.map +0 -1
  162. package/dist/cli/utils/version.d.ts.map +0 -1
  163. package/dist/cli/utils/version.js.map +0 -1
  164. package/dist/cli/workspace.test.d.ts +0 -8
  165. package/dist/cli/workspace.test.d.ts.map +0 -1
  166. package/dist/cli/workspace.test.js +0 -151
  167. package/dist/cli/workspace.test.js.map +0 -1
  168. package/dist/index.d.ts.map +0 -1
  169. package/dist/index.js.map +0 -1
  170. package/dist/jira/jira-epic-creation.d.ts +0 -109
  171. package/dist/jira/jira-epic-creation.d.ts.map +0 -1
  172. package/dist/jira/jira-epic-creation.js +0 -253
  173. package/dist/jira/jira-epic-creation.js.map +0 -1
  174. package/dist/jira/jira-epic-creation.test.d.ts +0 -16
  175. package/dist/jira/jira-epic-creation.test.d.ts.map +0 -1
  176. package/dist/jira/jira-epic-creation.test.js +0 -387
  177. package/dist/jira/jira-epic-creation.test.js.map +0 -1
  178. package/dist/jira/jira-sprint-sync.d.ts +0 -247
  179. package/dist/jira/jira-sprint-sync.d.ts.map +0 -1
  180. package/dist/jira/jira-sprint-sync.js +0 -670
  181. package/dist/jira/jira-sprint-sync.js.map +0 -1
  182. package/dist/jira/jira-sprint-sync.test.d.ts +0 -16
  183. package/dist/jira/jira-sprint-sync.test.d.ts.map +0 -1
  184. package/dist/jira/jira-sprint-sync.test.js +0 -845
  185. package/dist/jira/jira-sprint-sync.test.js.map +0 -1
  186. package/dist/permissions/index.d.ts.map +0 -1
  187. package/dist/permissions/index.js.map +0 -1
  188. package/dist/permissions/permission-schema.d.ts.map +0 -1
  189. package/dist/permissions/permission-schema.js.map +0 -1
  190. package/dist/permissions/permission-schema.test.d.ts +0 -40
  191. package/dist/permissions/permission-schema.test.d.ts.map +0 -1
  192. package/dist/permissions/permission-schema.test.js +0 -367
  193. package/dist/permissions/permission-schema.test.js.map +0 -1
  194. package/dist/scripts/add-ocean-profiles.d.ts +0 -9
  195. package/dist/scripts/add-ocean-profiles.d.ts.map +0 -1
  196. package/dist/scripts/add-ocean-profiles.js +0 -695
  197. package/dist/scripts/add-ocean-profiles.js.map +0 -1
  198. package/dist/scripts/benchmark-integration.d.ts +0 -182
  199. package/dist/scripts/benchmark-integration.d.ts.map +0 -1
  200. package/dist/scripts/benchmark-integration.js +0 -691
  201. package/dist/scripts/benchmark-integration.js.map +0 -1
  202. package/dist/scripts/benchmark-integration.test.d.ts +0 -13
  203. package/dist/scripts/benchmark-integration.test.d.ts.map +0 -1
  204. package/dist/scripts/benchmark-integration.test.js +0 -680
  205. package/dist/scripts/benchmark-integration.test.js.map +0 -1
  206. package/dist/scripts/debugging-scenarios.test.d.ts +0 -18
  207. package/dist/scripts/debugging-scenarios.test.d.ts.map +0 -1
  208. package/dist/scripts/debugging-scenarios.test.js +0 -317
  209. package/dist/scripts/debugging-scenarios.test.js.map +0 -1
  210. package/dist/scripts/generate-all-spiders.d.ts +0 -10
  211. package/dist/scripts/generate-all-spiders.d.ts.map +0 -1
  212. package/dist/scripts/generate-all-spiders.js +0 -306
  213. package/dist/scripts/generate-all-spiders.js.map +0 -1
  214. package/dist/scripts/generate-report.d.ts +0 -65
  215. package/dist/scripts/generate-report.d.ts.map +0 -1
  216. package/dist/scripts/generate-report.js +0 -378
  217. package/dist/scripts/generate-report.js.map +0 -1
  218. package/dist/scripts/generate-report.test.d.ts +0 -13
  219. package/dist/scripts/generate-report.test.d.ts.map +0 -1
  220. package/dist/scripts/generate-report.test.js +0 -363
  221. package/dist/scripts/generate-report.test.js.map +0 -1
  222. package/dist/scripts/generate-spider-report.d.ts +0 -65
  223. package/dist/scripts/generate-spider-report.d.ts.map +0 -1
  224. package/dist/scripts/generate-spider-report.js +0 -366
  225. package/dist/scripts/generate-spider-report.js.map +0 -1
  226. package/dist/scripts/generate-spider-report.test.d.ts +0 -13
  227. package/dist/scripts/generate-spider-report.test.d.ts.map +0 -1
  228. package/dist/scripts/generate-spider-report.test.js +0 -367
  229. package/dist/scripts/generate-spider-report.test.js.map +0 -1
  230. package/dist/scripts/generate-spider.d.ts +0 -47
  231. package/dist/scripts/generate-spider.d.ts.map +0 -1
  232. package/dist/scripts/generate-spider.js +0 -338
  233. package/dist/scripts/generate-spider.js.map +0 -1
  234. package/dist/scripts/generate-spider.test.d.ts +0 -14
  235. package/dist/scripts/generate-spider.test.d.ts.map +0 -1
  236. package/dist/scripts/generate-spider.test.js +0 -271
  237. package/dist/scripts/generate-spider.test.js.map +0 -1
  238. package/dist/scripts/job-fair-aggregator.d.ts.map +0 -1
  239. package/dist/scripts/job-fair-aggregator.js.map +0 -1
  240. package/dist/scripts/job-fair-aggregator.test.d.ts +0 -14
  241. package/dist/scripts/job-fair-aggregator.test.d.ts.map +0 -1
  242. package/dist/scripts/job-fair-aggregator.test.js +0 -616
  243. package/dist/scripts/job-fair-aggregator.test.js.map +0 -1
  244. package/dist/scripts/run-ci.test.d.ts +0 -20
  245. package/dist/scripts/run-ci.test.d.ts.map +0 -1
  246. package/dist/scripts/run-ci.test.js +0 -127
  247. package/dist/scripts/run-ci.test.js.map +0 -1
  248. package/dist/scripts/theme-detail.test.d.ts +0 -10
  249. package/dist/scripts/theme-detail.test.d.ts.map +0 -1
  250. package/dist/scripts/theme-detail.test.js +0 -199
  251. package/dist/scripts/theme-detail.test.js.map +0 -1
  252. package/dist/scripts/validate-ocean-profiles.d.ts +0 -9
  253. package/dist/scripts/validate-ocean-profiles.d.ts.map +0 -1
  254. package/dist/scripts/validate-ocean-profiles.js +0 -130
  255. package/dist/scripts/validate-ocean-profiles.js.map +0 -1
  256. package/dist/workflow/gate-handler.d.ts +0 -94
  257. package/dist/workflow/gate-handler.d.ts.map +0 -1
  258. package/dist/workflow/gate-handler.js +0 -189
  259. package/dist/workflow/gate-handler.js.map +0 -1
  260. package/dist/workflow/gate-handler.test.d.ts +0 -14
  261. package/dist/workflow/gate-handler.test.d.ts.map +0 -1
  262. package/dist/workflow/gate-handler.test.js +0 -543
  263. package/dist/workflow/gate-handler.test.js.map +0 -1
  264. package/dist/workflow/generic-handoff.d.ts +0 -281
  265. package/dist/workflow/generic-handoff.d.ts.map +0 -1
  266. package/dist/workflow/generic-handoff.js +0 -411
  267. package/dist/workflow/generic-handoff.js.map +0 -1
  268. package/dist/workflow/generic-handoff.test.d.ts +0 -21
  269. package/dist/workflow/generic-handoff.test.d.ts.map +0 -1
  270. package/dist/workflow/generic-handoff.test.js +0 -499
  271. package/dist/workflow/generic-handoff.test.js.map +0 -1
  272. package/dist/workflow/generic-sm-finish.d.ts +0 -89
  273. package/dist/workflow/generic-sm-finish.d.ts.map +0 -1
  274. package/dist/workflow/generic-sm-finish.js +0 -157
  275. package/dist/workflow/generic-sm-finish.js.map +0 -1
  276. package/dist/workflow/generic-sm-setup.d.ts +0 -138
  277. package/dist/workflow/generic-sm-setup.d.ts.map +0 -1
  278. package/dist/workflow/generic-sm-setup.js +0 -382
  279. package/dist/workflow/generic-sm-setup.js.map +0 -1
  280. package/dist/workflow/index.d.ts.map +0 -1
  281. package/dist/workflow/index.js.map +0 -1
  282. package/dist/workflow/session-state.d.ts +0 -92
  283. package/dist/workflow/session-state.d.ts.map +0 -1
  284. package/dist/workflow/session-state.js +0 -198
  285. package/dist/workflow/session-state.js.map +0 -1
  286. package/dist/workflow/session-state.test.d.ts +0 -8
  287. package/dist/workflow/session-state.test.d.ts.map +0 -1
  288. package/dist/workflow/session-state.test.js +0 -551
  289. package/dist/workflow/session-state.test.js.map +0 -1
  290. package/dist/workflow/sm-subagents.test.d.ts +0 -23
  291. package/dist/workflow/sm-subagents.test.d.ts.map +0 -1
  292. package/dist/workflow/sm-subagents.test.js +0 -727
  293. package/dist/workflow/sm-subagents.test.js.map +0 -1
  294. package/dist/workflow/step-parser.d.ts +0 -45
  295. package/dist/workflow/step-parser.d.ts.map +0 -1
  296. package/dist/workflow/step-parser.js +0 -147
  297. package/dist/workflow/step-parser.js.map +0 -1
  298. package/dist/workflow/step-parser.test.d.ts +0 -14
  299. package/dist/workflow/step-parser.test.d.ts.map +0 -1
  300. package/dist/workflow/step-parser.test.js +0 -470
  301. package/dist/workflow/step-parser.test.js.map +0 -1
  302. package/dist/workflow/story-workflow-routing.test.d.ts +0 -17
  303. package/dist/workflow/story-workflow-routing.test.d.ts.map +0 -1
  304. package/dist/workflow/story-workflow-routing.test.js +0 -559
  305. package/dist/workflow/story-workflow-routing.test.js.map +0 -1
  306. package/dist/workflow/test-cache.d.ts +0 -131
  307. package/dist/workflow/test-cache.d.ts.map +0 -1
  308. package/dist/workflow/test-cache.js +0 -226
  309. package/dist/workflow/test-cache.js.map +0 -1
  310. package/dist/workflow/test-cache.test.d.ts +0 -17
  311. package/dist/workflow/test-cache.test.d.ts.map +0 -1
  312. package/dist/workflow/test-cache.test.js +0 -438
  313. package/dist/workflow/test-cache.test.js.map +0 -1
  314. package/dist/workflow/trimodal.d.ts +0 -86
  315. package/dist/workflow/trimodal.d.ts.map +0 -1
  316. package/dist/workflow/trimodal.js +0 -118
  317. package/dist/workflow/trimodal.js.map +0 -1
  318. package/dist/workflow/trimodal.test.d.ts +0 -11
  319. package/dist/workflow/trimodal.test.d.ts.map +0 -1
  320. package/dist/workflow/trimodal.test.js +0 -395
  321. package/dist/workflow/trimodal.test.js.map +0 -1
  322. package/dist/workflow/variable-resolver.d.ts +0 -67
  323. package/dist/workflow/variable-resolver.d.ts.map +0 -1
  324. package/dist/workflow/variable-resolver.js +0 -156
  325. package/dist/workflow/variable-resolver.js.map +0 -1
  326. package/dist/workflow/variable-resolver.test.d.ts +0 -14
  327. package/dist/workflow/variable-resolver.test.d.ts.map +0 -1
  328. package/dist/workflow/variable-resolver.test.js +0 -400
  329. package/dist/workflow/variable-resolver.test.js.map +0 -1
  330. package/dist/workflow/workflow-executor.d.ts +0 -163
  331. package/dist/workflow/workflow-executor.d.ts.map +0 -1
  332. package/dist/workflow/workflow-executor.js +0 -197
  333. package/dist/workflow/workflow-executor.js.map +0 -1
  334. package/dist/workflow/workflow-executor.test.d.ts +0 -8
  335. package/dist/workflow/workflow-executor.test.d.ts.map +0 -1
  336. package/dist/workflow/workflow-executor.test.js +0 -444
  337. package/dist/workflow/workflow-executor.test.js.map +0 -1
  338. package/dist/workflow/workflow-loader.d.ts.map +0 -1
  339. package/dist/workflow/workflow-loader.js.map +0 -1
  340. package/dist/workflow/workflow-loader.test.d.ts +0 -15
  341. package/dist/workflow/workflow-loader.test.d.ts.map +0 -1
  342. package/dist/workflow/workflow-loader.test.js +0 -354
  343. package/dist/workflow/workflow-loader.test.js.map +0 -1
  344. package/dist/workflow/workflow-migration.test.d.ts +0 -17
  345. package/dist/workflow/workflow-migration.test.d.ts.map +0 -1
  346. package/dist/workflow/workflow-migration.test.js +0 -371
  347. package/dist/workflow/workflow-migration.test.js.map +0 -1
  348. package/dist/workflow/workflow-permissions.d.ts.map +0 -1
  349. package/dist/workflow/workflow-permissions.js.map +0 -1
  350. package/dist/workflow/workflow-permissions.test.d.ts +0 -15
  351. package/dist/workflow/workflow-permissions.test.d.ts.map +0 -1
  352. package/dist/workflow/workflow-permissions.test.js +0 -301
  353. package/dist/workflow/workflow-permissions.test.js.map +0 -1
  354. package/dist/workflow/workflow-router.d.ts.map +0 -1
  355. package/dist/workflow/workflow-router.js.map +0 -1
  356. package/dist/workflow/workflow-router.test.d.ts +0 -20
  357. package/dist/workflow/workflow-router.test.d.ts.map +0 -1
  358. package/dist/workflow/workflow-router.test.js +0 -607
  359. package/dist/workflow/workflow-router.test.js.map +0 -1
  360. package/dist/workflow/workflow-schema.d.ts.map +0 -1
  361. package/dist/workflow/workflow-schema.js.map +0 -1
  362. package/dist/workflow/workflow-schema.test.d.ts +0 -45
  363. package/dist/workflow/workflow-schema.test.d.ts.map +0 -1
  364. package/dist/workflow/workflow-schema.test.js +0 -512
  365. package/dist/workflow/workflow-schema.test.js.map +0 -1
  366. package/dist/workflow/workflow-stepped-schema.test.d.ts +0 -18
  367. package/dist/workflow/workflow-stepped-schema.test.d.ts.map +0 -1
  368. package/dist/workflow/workflow-stepped-schema.test.js +0 -608
  369. package/dist/workflow/workflow-stepped-schema.test.js.map +0 -1
@@ -68,4 +68,3 @@ export declare function getDirectoryHashes(dirPath: string): Record<string, stri
68
68
  * @throws Error if root cannot be found within 10 levels
69
69
  */
70
70
  export declare function findMonorepoRoot(startDir: string): string;
71
- //# sourceMappingURL=files.d.ts.map
@@ -1,70 +1,87 @@
1
- import { createHash } from 'crypto';
2
- import { readFileSync, existsSync, statSync, readdirSync, lstatSync } from 'fs';
3
- import fsExtra from 'fs-extra';
4
- import { join, relative, dirname } from 'path';
5
- const { copySync, ensureDirSync, removeSync } = fsExtra;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.hashFile = hashFile;
4
+ exports.hashString = hashString;
5
+ exports.isSymlink = isSymlink;
6
+ exports.pathExists = pathExists;
7
+ exports.isDirectory = isDirectory;
8
+ exports.getAllFiles = getAllFiles;
9
+ exports.copyDirectory = copyDirectory;
10
+ exports.copyFile = copyFile;
11
+ exports.remove = remove;
12
+ exports.ensureDir = ensureDir;
13
+ exports.filesMatch = filesMatch;
14
+ exports.fileMatchesHash = fileMatchesHash;
15
+ exports.getDirectoryHashes = getDirectoryHashes;
16
+ exports.findMonorepoRoot = findMonorepoRoot;
17
+ var crypto_1 = require("crypto");
18
+ var fs_1 = require("fs");
19
+ var fs_extra_1 = require("fs-extra");
20
+ var path_1 = require("path");
21
+ var copySync = fs_extra_1.default.copySync, ensureDirSync = fs_extra_1.default.ensureDirSync, removeSync = fs_extra_1.default.removeSync;
6
22
  /**
7
23
  * Calculate SHA256 hash of a file
8
24
  */
9
- export function hashFile(filePath) {
10
- const content = readFileSync(filePath);
11
- return createHash('sha256').update(content).digest('hex');
25
+ function hashFile(filePath) {
26
+ var content = (0, fs_1.readFileSync)(filePath);
27
+ return (0, crypto_1.createHash)('sha256').update(content).digest('hex');
12
28
  }
13
29
  /**
14
30
  * Calculate SHA256 hash of a string
15
31
  */
16
- export function hashString(content) {
17
- return createHash('sha256').update(content).digest('hex');
32
+ function hashString(content) {
33
+ return (0, crypto_1.createHash)('sha256').update(content).digest('hex');
18
34
  }
19
35
  /**
20
36
  * Check if a path is a symlink
21
37
  */
22
- export function isSymlink(path) {
38
+ function isSymlink(path) {
23
39
  try {
24
- return lstatSync(path).isSymbolicLink();
40
+ return (0, fs_1.lstatSync)(path).isSymbolicLink();
25
41
  }
26
- catch {
42
+ catch (_a) {
27
43
  return false;
28
44
  }
29
45
  }
30
46
  /**
31
47
  * Check if a path exists (follows symlinks)
32
48
  */
33
- export function pathExists(path) {
34
- return existsSync(path);
49
+ function pathExists(path) {
50
+ return (0, fs_1.existsSync)(path);
35
51
  }
36
52
  /**
37
53
  * Check if a path is a directory
38
54
  */
39
- export function isDirectory(path) {
55
+ function isDirectory(path) {
40
56
  try {
41
- return statSync(path).isDirectory();
57
+ return (0, fs_1.statSync)(path).isDirectory();
42
58
  }
43
- catch {
59
+ catch (_a) {
44
60
  return false;
45
61
  }
46
62
  }
47
63
  /**
48
64
  * Get all files in a directory recursively (skips symlinks)
49
65
  */
50
- export function getAllFiles(dirPath, basePath) {
51
- const base = basePath || dirPath;
52
- const files = [];
53
- if (!existsSync(dirPath)) {
66
+ function getAllFiles(dirPath, basePath) {
67
+ var base = basePath || dirPath;
68
+ var files = [];
69
+ if (!(0, fs_1.existsSync)(dirPath)) {
54
70
  return files;
55
71
  }
56
- const entries = readdirSync(dirPath, { withFileTypes: true });
57
- for (const entry of entries) {
58
- const fullPath = join(dirPath, entry.name);
72
+ var entries = (0, fs_1.readdirSync)(dirPath, { withFileTypes: true });
73
+ for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) {
74
+ var entry = entries_1[_i];
75
+ var fullPath = (0, path_1.join)(dirPath, entry.name);
59
76
  // Skip symlinks to avoid issues with stale or circular links
60
77
  if (entry.isSymbolicLink()) {
61
78
  continue;
62
79
  }
63
80
  if (entry.isDirectory()) {
64
- files.push(...getAllFiles(fullPath, base));
81
+ files.push.apply(files, getAllFiles(fullPath, base));
65
82
  }
66
83
  else {
67
- files.push(relative(base, fullPath));
84
+ files.push((0, path_1.relative)(base, fullPath));
68
85
  }
69
86
  }
70
87
  return files;
@@ -72,44 +89,44 @@ export function getAllFiles(dirPath, basePath) {
72
89
  /**
73
90
  * Copy a directory recursively, returning list of copied files
74
91
  */
75
- export function copyDirectory(source, dest, options) {
76
- const files = getAllFiles(source);
77
- if (!options?.dryRun) {
92
+ function copyDirectory(source, dest, options) {
93
+ var files = getAllFiles(source);
94
+ if (!(options === null || options === void 0 ? void 0 : options.dryRun)) {
78
95
  ensureDirSync(dest);
79
96
  copySync(source, dest, { overwrite: true });
80
97
  }
81
- return files.map(f => join(dest, f));
98
+ return files.map(function (f) { return (0, path_1.join)(dest, f); });
82
99
  }
83
100
  /**
84
101
  * Copy a single file
85
102
  */
86
- export function copyFile(source, dest, options) {
87
- if (!options?.dryRun) {
88
- ensureDirSync(dirname(dest));
103
+ function copyFile(source, dest, options) {
104
+ if (!(options === null || options === void 0 ? void 0 : options.dryRun)) {
105
+ ensureDirSync((0, path_1.dirname)(dest));
89
106
  copySync(source, dest, { overwrite: true });
90
107
  }
91
108
  }
92
109
  /**
93
110
  * Remove a file or directory
94
111
  */
95
- export function remove(path, options) {
96
- if (!options?.dryRun) {
112
+ function remove(path, options) {
113
+ if (!(options === null || options === void 0 ? void 0 : options.dryRun)) {
97
114
  removeSync(path);
98
115
  }
99
116
  }
100
117
  /**
101
118
  * Ensure a directory exists
102
119
  */
103
- export function ensureDir(path, options) {
104
- if (!options?.dryRun) {
120
+ function ensureDir(path, options) {
121
+ if (!(options === null || options === void 0 ? void 0 : options.dryRun)) {
105
122
  ensureDirSync(path);
106
123
  }
107
124
  }
108
125
  /**
109
126
  * Compare two files by hash
110
127
  */
111
- export function filesMatch(path1, path2) {
112
- if (!existsSync(path1) || !existsSync(path2)) {
128
+ function filesMatch(path1, path2) {
129
+ if (!(0, fs_1.existsSync)(path1) || !(0, fs_1.existsSync)(path2)) {
113
130
  return false;
114
131
  }
115
132
  return hashFile(path1) === hashFile(path2);
@@ -117,8 +134,8 @@ export function filesMatch(path1, path2) {
117
134
  /**
118
135
  * Check if file content matches expected hash
119
136
  */
120
- export function fileMatchesHash(filePath, expectedHash) {
121
- if (!existsSync(filePath)) {
137
+ function fileMatchesHash(filePath, expectedHash) {
138
+ if (!(0, fs_1.existsSync)(filePath)) {
122
139
  return false;
123
140
  }
124
141
  return hashFile(filePath) === expectedHash;
@@ -126,11 +143,12 @@ export function fileMatchesHash(filePath, expectedHash) {
126
143
  /**
127
144
  * Get file hashes for all files in a directory
128
145
  */
129
- export function getDirectoryHashes(dirPath) {
130
- const files = getAllFiles(dirPath);
131
- const hashes = {};
132
- for (const file of files) {
133
- const fullPath = join(dirPath, file);
146
+ function getDirectoryHashes(dirPath) {
147
+ var files = getAllFiles(dirPath);
148
+ var hashes = {};
149
+ for (var _i = 0, files_1 = files; _i < files_1.length; _i++) {
150
+ var file = files_1[_i];
151
+ var fullPath = (0, path_1.join)(dirPath, file);
134
152
  hashes[file] = hashFile(fullPath);
135
153
  }
136
154
  return hashes;
@@ -144,19 +162,18 @@ export function getDirectoryHashes(dirPath) {
144
162
  * @returns Absolute path to monorepo root
145
163
  * @throws Error if root cannot be found within 10 levels
146
164
  */
147
- export function findMonorepoRoot(startDir) {
148
- let dir = startDir;
149
- for (let i = 0; i < 10; i++) {
150
- if (existsSync(join(dir, 'pennyfarthing-dist'))) {
165
+ function findMonorepoRoot(startDir) {
166
+ var dir = startDir;
167
+ for (var i = 0; i < 10; i++) {
168
+ if ((0, fs_1.existsSync)((0, path_1.join)(dir, 'pennyfarthing-dist'))) {
151
169
  return dir;
152
170
  }
153
- const parent = dirname(dir);
154
- if (parent === dir) {
171
+ var parent_1 = (0, path_1.dirname)(dir);
172
+ if (parent_1 === dir) {
155
173
  // Reached filesystem root
156
174
  break;
157
175
  }
158
- dir = parent;
176
+ dir = parent_1;
159
177
  }
160
- throw new Error(`Could not find monorepo root (pennyfarthing-dist/) starting from ${startDir}`);
178
+ throw new Error("Could not find monorepo root (pennyfarthing-dist/) starting from ".concat(startDir));
161
179
  }
162
- //# sourceMappingURL=files.js.map
@@ -44,4 +44,3 @@ export declare function updateManifestForUpdate(manifest: Manifest, newVersion:
44
44
  * Get the installed version from manifest
45
45
  */
46
46
  export declare function getInstalledVersion(projectRoot: string): string | null;
47
- //# sourceMappingURL=manifest.d.ts.map
@@ -1,54 +1,74 @@
1
- import { readFileSync, writeFileSync, existsSync } from 'fs';
2
- import { join } from 'path';
3
- import fsExtra from 'fs-extra';
4
- const { ensureDirSync } = fsExtra;
5
- const MANIFEST_PATH = '.claude/manifest.json';
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.getManifestPath = getManifestPath;
15
+ exports.manifestExists = manifestExists;
16
+ exports.readManifest = readManifest;
17
+ exports.writeManifest = writeManifest;
18
+ exports.createManifest = createManifest;
19
+ exports.updateManifestForUpdate = updateManifestForUpdate;
20
+ exports.getInstalledVersion = getInstalledVersion;
21
+ var fs_1 = require("fs");
22
+ var path_1 = require("path");
23
+ var fs_extra_1 = require("fs-extra");
24
+ var ensureDirSync = fs_extra_1.default.ensureDirSync;
25
+ var MANIFEST_PATH = '.claude/manifest.json';
6
26
  /**
7
27
  * Get the full path to the manifest file
8
28
  */
9
- export function getManifestPath(projectRoot) {
10
- return join(projectRoot, MANIFEST_PATH);
29
+ function getManifestPath(projectRoot) {
30
+ return (0, path_1.join)(projectRoot, MANIFEST_PATH);
11
31
  }
12
32
  /**
13
33
  * Check if a manifest exists
14
34
  */
15
- export function manifestExists(projectRoot) {
16
- return existsSync(getManifestPath(projectRoot));
35
+ function manifestExists(projectRoot) {
36
+ return (0, fs_1.existsSync)(getManifestPath(projectRoot));
17
37
  }
18
38
  /**
19
39
  * Read the manifest file
20
40
  */
21
- export function readManifest(projectRoot) {
22
- const manifestPath = getManifestPath(projectRoot);
23
- if (!existsSync(manifestPath)) {
41
+ function readManifest(projectRoot) {
42
+ var manifestPath = getManifestPath(projectRoot);
43
+ if (!(0, fs_1.existsSync)(manifestPath)) {
24
44
  return null;
25
45
  }
26
46
  try {
27
- const content = readFileSync(manifestPath, 'utf8');
47
+ var content = (0, fs_1.readFileSync)(manifestPath, 'utf8');
28
48
  return JSON.parse(content);
29
49
  }
30
50
  catch (error) {
31
- throw new Error(`Failed to read manifest: ${error}`);
51
+ throw new Error("Failed to read manifest: ".concat(error));
32
52
  }
33
53
  }
34
54
  /**
35
55
  * Write the manifest file
36
56
  */
37
- export function writeManifest(projectRoot, manifest, options) {
38
- if (options?.dryRun) {
57
+ function writeManifest(projectRoot, manifest, options) {
58
+ if (options === null || options === void 0 ? void 0 : options.dryRun) {
39
59
  return;
40
60
  }
41
- const manifestPath = getManifestPath(projectRoot);
42
- ensureDirSync(join(projectRoot, '.claude'));
43
- writeFileSync(manifestPath, JSON.stringify(manifest, null, 2) + '\n', 'utf8');
61
+ var manifestPath = getManifestPath(projectRoot);
62
+ ensureDirSync((0, path_1.join)(projectRoot, '.claude'));
63
+ (0, fs_1.writeFileSync)(manifestPath, JSON.stringify(manifest, null, 2) + '\n', 'utf8');
44
64
  }
45
65
  /**
46
66
  * Create a new manifest
47
67
  * Note: copy mode was deprecated in v4.0.4 - all installs now use symlink mode
48
68
  */
49
- export function createManifest(projectName, version, options) {
50
- const now = new Date().toISOString();
51
- const managedPaths = [
69
+ function createManifest(projectName, version, options) {
70
+ var now = new Date().toISOString();
71
+ var managedPaths = [
52
72
  '.claude/agents',
53
73
  '.claude/commands',
54
74
  '.claude/guides',
@@ -56,35 +76,18 @@ export function createManifest(projectName, version, options) {
56
76
  '.claude/personas',
57
77
  '.claude/scripts'
58
78
  ];
59
- return {
60
- version,
61
- installedAt: now,
62
- updatedAt: now,
63
- projectName,
64
- installationType: 'symlink',
65
- ...(options.nodeModulesPath && { nodeModulesPath: options.nodeModulesPath }),
66
- managedPaths,
67
- fileHashes: {},
68
- ...(options.migrationSource && { migrationSource: options.migrationSource })
69
- };
79
+ return __assign(__assign(__assign({ version: version, installedAt: now, updatedAt: now, projectName: projectName, installationType: 'symlink' }, (options.nodeModulesPath && { nodeModulesPath: options.nodeModulesPath })), { managedPaths: managedPaths, fileHashes: {} }), (options.migrationSource && { migrationSource: options.migrationSource }));
70
80
  }
71
81
  /**
72
82
  * Update manifest after an update
73
83
  */
74
- export function updateManifestForUpdate(manifest, newVersion, newHashes, userModified) {
75
- return {
76
- ...manifest,
77
- version: newVersion,
78
- updatedAt: new Date().toISOString(),
79
- fileHashes: newHashes,
80
- ...(userModified && userModified.length > 0 && { userModified })
81
- };
84
+ function updateManifestForUpdate(manifest, newVersion, newHashes, userModified) {
85
+ return __assign(__assign(__assign({}, manifest), { version: newVersion, updatedAt: new Date().toISOString(), fileHashes: newHashes }), (userModified && userModified.length > 0 && { userModified: userModified }));
82
86
  }
83
87
  /**
84
88
  * Get the installed version from manifest
85
89
  */
86
- export function getInstalledVersion(projectRoot) {
87
- const manifest = readManifest(projectRoot);
88
- return manifest?.version || null;
90
+ function getInstalledVersion(projectRoot) {
91
+ var manifest = readManifest(projectRoot);
92
+ return (manifest === null || manifest === void 0 ? void 0 : manifest.version) || null;
89
93
  }
90
- //# sourceMappingURL=manifest.js.map
@@ -7,4 +7,3 @@ export declare function getPackageVersion(): string;
7
7
  * This contains all files that get installed to target projects
8
8
  */
9
9
  export declare function getAssetsPath(): string;
10
- //# sourceMappingURL=version.d.ts.map
@@ -1,41 +1,47 @@
1
- import { readFileSync, existsSync } from 'fs';
2
- import { join, dirname } from 'path';
3
- import { fileURLToPath } from 'url';
4
- const __filename = fileURLToPath(import.meta.url);
5
- const __dirname = dirname(__filename);
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getPackageVersion = getPackageVersion;
4
+ exports.getAssetsPath = getAssetsPath;
5
+ var fs_1 = require("fs");
6
+ var path_1 = require("path");
7
+ var url_1 = require("url");
8
+ var __filename = (0, url_1.fileURLToPath)(import.meta.url);
9
+ var __dirname = (0, path_1.dirname)(__filename);
6
10
  /**
7
11
  * Get the package version from VERSION file or package.json
8
12
  */
9
- export function getPackageVersion() {
13
+ function getPackageVersion() {
10
14
  // Try VERSION file first (relative to compiled output location)
11
- const versionPaths = [
12
- join(__dirname, '../../../VERSION'), // From dist/cli/utils/
13
- join(__dirname, '../../VERSION'), // Fallback
14
- join(process.cwd(), 'VERSION') // If running from package root
15
+ var versionPaths = [
16
+ (0, path_1.join)(__dirname, '../../../VERSION'), // From dist/cli/utils/
17
+ (0, path_1.join)(__dirname, '../../VERSION'), // Fallback
18
+ (0, path_1.join)(process.cwd(), 'VERSION') // If running from package root
15
19
  ];
16
- for (const versionPath of versionPaths) {
17
- if (existsSync(versionPath)) {
20
+ for (var _i = 0, versionPaths_1 = versionPaths; _i < versionPaths_1.length; _i++) {
21
+ var versionPath = versionPaths_1[_i];
22
+ if ((0, fs_1.existsSync)(versionPath)) {
18
23
  try {
19
- return readFileSync(versionPath, 'utf8').trim();
24
+ return (0, fs_1.readFileSync)(versionPath, 'utf8').trim();
20
25
  }
21
- catch {
26
+ catch (_a) {
22
27
  continue;
23
28
  }
24
29
  }
25
30
  }
26
31
  // Fallback to package.json
27
- const packagePaths = [
28
- join(__dirname, '../../../../../package.json'), // From packages/core/dist/cli/utils/ in npm install
29
- join(__dirname, '../../../package.json'), // From dist/cli/utils/ in local dev
30
- join(__dirname, '../../package.json')
32
+ var packagePaths = [
33
+ (0, path_1.join)(__dirname, '../../../../../package.json'), // From packages/core/dist/cli/utils/ in npm install
34
+ (0, path_1.join)(__dirname, '../../../package.json'), // From dist/cli/utils/ in local dev
35
+ (0, path_1.join)(__dirname, '../../package.json')
31
36
  ];
32
- for (const packagePath of packagePaths) {
33
- if (existsSync(packagePath)) {
37
+ for (var _b = 0, packagePaths_1 = packagePaths; _b < packagePaths_1.length; _b++) {
38
+ var packagePath = packagePaths_1[_b];
39
+ if ((0, fs_1.existsSync)(packagePath)) {
34
40
  try {
35
- const pkg = JSON.parse(readFileSync(packagePath, 'utf8'));
41
+ var pkg = JSON.parse((0, fs_1.readFileSync)(packagePath, 'utf8'));
36
42
  return pkg.version;
37
43
  }
38
- catch {
44
+ catch (_c) {
39
45
  continue;
40
46
  }
41
47
  }
@@ -46,19 +52,19 @@ export function getPackageVersion() {
46
52
  * Get the distributable package directory path
47
53
  * This contains all files that get installed to target projects
48
54
  */
49
- export function getAssetsPath() {
50
- const searchPaths = [
51
- join(__dirname, '../../../../../pennyfarthing-dist'), // From packages/core/dist/cli/utils/ to package root
52
- join(__dirname, '../../../../pennyfarthing-dist'),
53
- join(__dirname, '../../../pennyfarthing-dist'),
54
- join(__dirname, '../../pennyfarthing-dist'),
55
- join(process.cwd(), 'pennyfarthing-dist')
55
+ function getAssetsPath() {
56
+ var searchPaths = [
57
+ (0, path_1.join)(__dirname, '../../../../../pennyfarthing-dist'), // From packages/core/dist/cli/utils/ to package root
58
+ (0, path_1.join)(__dirname, '../../../../pennyfarthing-dist'),
59
+ (0, path_1.join)(__dirname, '../../../pennyfarthing-dist'),
60
+ (0, path_1.join)(__dirname, '../../pennyfarthing-dist'),
61
+ (0, path_1.join)(process.cwd(), 'pennyfarthing-dist')
56
62
  ];
57
- for (const searchPath of searchPaths) {
58
- if (existsSync(searchPath)) {
63
+ for (var _i = 0, searchPaths_1 = searchPaths; _i < searchPaths_1.length; _i++) {
64
+ var searchPath = searchPaths_1[_i];
65
+ if ((0, fs_1.existsSync)(searchPath)) {
59
66
  return searchPath;
60
67
  }
61
68
  }
62
69
  throw new Error('Package directory not found (looked for pennyfarthing-dist/)');
63
70
  }
64
- //# sourceMappingURL=version.js.map
package/dist/index.d.ts CHANGED
@@ -4,4 +4,3 @@ export { hashFile, hashString, pathExists, isDirectory, isSymlink, getAllFiles,
4
4
  export { validatePermissionRequest, createGrant, type PermissionRequest, type PermissionGrant, type PermissionValidationError, type PermissionValidationResult, type GrantType, VALID_GRANT_TYPES, } from './permissions/index.js';
5
5
  export { aggregateJobFairResults, getBaselineComparison, getRoleStatistics, getTopPerformers, getHistoricalTrend, saveHistoricalSnapshot, aggregateByDimension, getDimensionValues, generateDifferentialReport, type Performer, type RoleStats, type OverallChampion, type TrendPoint, type AggregateStats, type DimensionName, type DimensionValues, type ThemeDimensions, type DimensionValueStats, type DimensionComparison, type DimensionStats, } from './scripts/job-fair-aggregator.js';
6
6
  export { validateWorkflow, type WorkflowDefinition, type WorkflowPhase, type WorkflowTriggers, type WorkflowPermissionPreset, type WorkflowValidationError, type WorkflowValidationResult, loadWorkflowFile, loadWorkflowsFromDir, type WorkflowLoadResult, type WorkflowLoadResults, routeStoryToWorkflow, type StoryMetadata, type RoutingResult, checkWorkflowPermissions, type WorkflowPermissionCheckResult, } from './workflow/index.js';
7
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,20 +1,48 @@
1
+ "use strict";
1
2
  // Pennyfarthing - Programmatic API
2
3
  // For use by other tools and slash commands
3
- export { getPackageVersion, getAssetsPath } from './cli/utils/version.js';
4
- export { readManifest, writeManifest, manifestExists, getInstalledVersion } from './cli/utils/manifest.js';
5
- export { hashFile, hashString, pathExists, isDirectory, isSymlink, getAllFiles, getDirectoryHashes } from './cli/utils/files.js';
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.checkWorkflowPermissions = exports.routeStoryToWorkflow = exports.loadWorkflowsFromDir = exports.loadWorkflowFile = exports.validateWorkflow = exports.generateDifferentialReport = exports.getDimensionValues = exports.aggregateByDimension = exports.saveHistoricalSnapshot = exports.getHistoricalTrend = exports.getTopPerformers = exports.getRoleStatistics = exports.getBaselineComparison = exports.aggregateJobFairResults = exports.VALID_GRANT_TYPES = exports.createGrant = exports.validatePermissionRequest = exports.getDirectoryHashes = exports.getAllFiles = exports.isSymlink = exports.isDirectory = exports.pathExists = exports.hashString = exports.hashFile = exports.getInstalledVersion = exports.manifestExists = exports.writeManifest = exports.readManifest = exports.getAssetsPath = exports.getPackageVersion = void 0;
6
+ var version_js_1 = require("./cli/utils/version.js");
7
+ Object.defineProperty(exports, "getPackageVersion", { enumerable: true, get: function () { return version_js_1.getPackageVersion; } });
8
+ Object.defineProperty(exports, "getAssetsPath", { enumerable: true, get: function () { return version_js_1.getAssetsPath; } });
9
+ var manifest_js_1 = require("./cli/utils/manifest.js");
10
+ Object.defineProperty(exports, "readManifest", { enumerable: true, get: function () { return manifest_js_1.readManifest; } });
11
+ Object.defineProperty(exports, "writeManifest", { enumerable: true, get: function () { return manifest_js_1.writeManifest; } });
12
+ Object.defineProperty(exports, "manifestExists", { enumerable: true, get: function () { return manifest_js_1.manifestExists; } });
13
+ Object.defineProperty(exports, "getInstalledVersion", { enumerable: true, get: function () { return manifest_js_1.getInstalledVersion; } });
14
+ var files_js_1 = require("./cli/utils/files.js");
15
+ Object.defineProperty(exports, "hashFile", { enumerable: true, get: function () { return files_js_1.hashFile; } });
16
+ Object.defineProperty(exports, "hashString", { enumerable: true, get: function () { return files_js_1.hashString; } });
17
+ Object.defineProperty(exports, "pathExists", { enumerable: true, get: function () { return files_js_1.pathExists; } });
18
+ Object.defineProperty(exports, "isDirectory", { enumerable: true, get: function () { return files_js_1.isDirectory; } });
19
+ Object.defineProperty(exports, "isSymlink", { enumerable: true, get: function () { return files_js_1.isSymlink; } });
20
+ Object.defineProperty(exports, "getAllFiles", { enumerable: true, get: function () { return files_js_1.getAllFiles; } });
21
+ Object.defineProperty(exports, "getDirectoryHashes", { enumerable: true, get: function () { return files_js_1.getDirectoryHashes; } });
6
22
  // Permission Request Protocol (Story 33-1)
7
- export { validatePermissionRequest, createGrant, VALID_GRANT_TYPES, } from './permissions/index.js';
23
+ var index_js_1 = require("./permissions/index.js");
24
+ Object.defineProperty(exports, "validatePermissionRequest", { enumerable: true, get: function () { return index_js_1.validatePermissionRequest; } });
25
+ Object.defineProperty(exports, "createGrant", { enumerable: true, get: function () { return index_js_1.createGrant; } });
26
+ Object.defineProperty(exports, "VALID_GRANT_TYPES", { enumerable: true, get: function () { return index_js_1.VALID_GRANT_TYPES; } });
8
27
  // Job-Fair Aggregator (Story 7-4, 7-5)
9
- export { aggregateJobFairResults, getBaselineComparison, getRoleStatistics, getTopPerformers, getHistoricalTrend, saveHistoricalSnapshot, aggregateByDimension, getDimensionValues, generateDifferentialReport, } from './scripts/job-fair-aggregator.js';
28
+ var job_fair_aggregator_js_1 = require("./scripts/job-fair-aggregator.js");
29
+ Object.defineProperty(exports, "aggregateJobFairResults", { enumerable: true, get: function () { return job_fair_aggregator_js_1.aggregateJobFairResults; } });
30
+ Object.defineProperty(exports, "getBaselineComparison", { enumerable: true, get: function () { return job_fair_aggregator_js_1.getBaselineComparison; } });
31
+ Object.defineProperty(exports, "getRoleStatistics", { enumerable: true, get: function () { return job_fair_aggregator_js_1.getRoleStatistics; } });
32
+ Object.defineProperty(exports, "getTopPerformers", { enumerable: true, get: function () { return job_fair_aggregator_js_1.getTopPerformers; } });
33
+ Object.defineProperty(exports, "getHistoricalTrend", { enumerable: true, get: function () { return job_fair_aggregator_js_1.getHistoricalTrend; } });
34
+ Object.defineProperty(exports, "saveHistoricalSnapshot", { enumerable: true, get: function () { return job_fair_aggregator_js_1.saveHistoricalSnapshot; } });
35
+ Object.defineProperty(exports, "aggregateByDimension", { enumerable: true, get: function () { return job_fair_aggregator_js_1.aggregateByDimension; } });
36
+ Object.defineProperty(exports, "getDimensionValues", { enumerable: true, get: function () { return job_fair_aggregator_js_1.getDimensionValues; } });
37
+ Object.defineProperty(exports, "generateDifferentialReport", { enumerable: true, get: function () { return job_fair_aggregator_js_1.generateDifferentialReport; } });
10
38
  // Workflow System (Stories 31-1, 31-2, 31-3, MSSCI-11710)
11
- export {
39
+ var index_js_2 = require("./workflow/index.js");
12
40
  // Schema validation
13
- validateWorkflow,
41
+ Object.defineProperty(exports, "validateWorkflow", { enumerable: true, get: function () { return index_js_2.validateWorkflow; } });
14
42
  // Workflow loading
15
- loadWorkflowFile, loadWorkflowsFromDir,
43
+ Object.defineProperty(exports, "loadWorkflowFile", { enumerable: true, get: function () { return index_js_2.loadWorkflowFile; } });
44
+ Object.defineProperty(exports, "loadWorkflowsFromDir", { enumerable: true, get: function () { return index_js_2.loadWorkflowsFromDir; } });
16
45
  // Story-to-workflow routing
17
- routeStoryToWorkflow,
46
+ Object.defineProperty(exports, "routeStoryToWorkflow", { enumerable: true, get: function () { return index_js_2.routeStoryToWorkflow; } });
18
47
  // Permission checking (Story MSSCI-11710)
19
- checkWorkflowPermissions, } from './workflow/index.js';
20
- //# sourceMappingURL=index.js.map
48
+ Object.defineProperty(exports, "checkWorkflowPermissions", { enumerable: true, get: function () { return index_js_2.checkWorkflowPermissions; } });
@@ -6,4 +6,3 @@
6
6
  * Exports types and validation for the permission request system.
7
7
  */
8
8
  export { type GrantType, type PermissionRequest, type PermissionGrant, type PermissionValidationError, type PermissionValidationResult, validatePermissionRequest, createGrant, VALID_GRANT_TYPES, } from './permission-schema.js';
9
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /**
2
3
  * Permission Request Protocol Module
3
4
  *
@@ -5,9 +6,11 @@
5
6
  *
6
7
  * Exports types and validation for the permission request system.
7
8
  */
8
- export {
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.VALID_GRANT_TYPES = exports.createGrant = exports.validatePermissionRequest = void 0;
11
+ var permission_schema_js_1 = require("./permission-schema.js");
9
12
  // Functions
10
- validatePermissionRequest, createGrant,
13
+ Object.defineProperty(exports, "validatePermissionRequest", { enumerable: true, get: function () { return permission_schema_js_1.validatePermissionRequest; } });
14
+ Object.defineProperty(exports, "createGrant", { enumerable: true, get: function () { return permission_schema_js_1.createGrant; } });
11
15
  // Constants
12
- VALID_GRANT_TYPES, } from './permission-schema.js';
13
- //# sourceMappingURL=index.js.map
16
+ Object.defineProperty(exports, "VALID_GRANT_TYPES", { enumerable: true, get: function () { return permission_schema_js_1.VALID_GRANT_TYPES; } });
@@ -86,4 +86,3 @@ export declare function validatePermissionRequest(input: unknown): PermissionVal
86
86
  export declare function createGrant(request: PermissionRequest): PermissionGrant;
87
87
  /** Valid grant type values */
88
88
  export declare const VALID_GRANT_TYPES: readonly GrantType[];
89
- //# sourceMappingURL=permission-schema.d.ts.map