@lumenflow/core 3.20.0 → 3.21.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 (305) hide show
  1. package/dist/active-wu-detector.d.ts +1 -0
  2. package/dist/adapters/context-adapters.d.ts +1 -0
  3. package/dist/adapters/filesystem-metrics.adapter.d.ts +1 -0
  4. package/dist/adapters/index.d.ts +1 -0
  5. package/dist/adapters/mock-dashboard-renderer.adapter.d.ts +1 -0
  6. package/dist/adapters/recovery-adapters.d.ts +1 -0
  7. package/dist/adapters/terminal-renderer.adapter.d.ts +1 -0
  8. package/dist/adapters/validation-adapters.d.ts +1 -0
  9. package/dist/agent-patterns-registry.d.ts +1 -0
  10. package/dist/arg-parser.d.ts +1 -0
  11. package/dist/atomic-merge.d.ts +1 -0
  12. package/dist/backlog-editor.d.ts +1 -0
  13. package/dist/backlog-generator.d.ts +1 -0
  14. package/dist/backlog-parser.d.ts +1 -0
  15. package/dist/backlog-sync-validator.d.ts +1 -0
  16. package/dist/branch-check.d.ts +1 -0
  17. package/dist/branch-drift.d.ts +1 -0
  18. package/dist/cleanup-install-config.d.ts +1 -0
  19. package/dist/cleanup-lock.d.ts +1 -0
  20. package/dist/cli/get-wu-dir.d.ts +1 -0
  21. package/dist/cli/is-agent-branch.d.ts +1 -0
  22. package/dist/client-ids.d.ts +1 -0
  23. package/dist/cloud-detect.d.ts +1 -0
  24. package/dist/code-path-validator.d.ts +1 -0
  25. package/dist/code-paths-overlap.d.ts +1 -0
  26. package/dist/color-support.d.ts +1 -0
  27. package/dist/commands-logger.d.ts +1 -0
  28. package/dist/commit-message-utils.d.ts +1 -0
  29. package/dist/config-contract.d.ts +1 -0
  30. package/dist/constants/backlog-patterns.d.ts +1 -0
  31. package/dist/constants/display-constants.d.ts +1 -0
  32. package/dist/constants/dora-constants.d.ts +1 -0
  33. package/dist/constants/duration-constants.d.ts +1 -0
  34. package/dist/constants/gate-constants.d.ts +1 -0
  35. package/dist/constants/git-constants.d.ts +1 -0
  36. package/dist/constants/index.d.ts +1 -0
  37. package/dist/constants/linter-constants.d.ts +1 -0
  38. package/dist/constants/lock-constants.d.ts +1 -0
  39. package/dist/constants/tokenizer-constants.d.ts +1 -0
  40. package/dist/constants/validation-constants.d.ts +1 -0
  41. package/dist/context/context-computer.d.ts +1 -0
  42. package/dist/context/git-state-reader.d.ts +1 -0
  43. package/dist/context/index.d.ts +1 -0
  44. package/dist/context/location-resolver.d.ts +1 -0
  45. package/dist/context/wu-state-reader.d.ts +1 -0
  46. package/dist/context-di.d.ts +1 -0
  47. package/dist/context-validation-integration.d.ts +1 -0
  48. package/dist/core/scope-checker.d.ts +1 -0
  49. package/dist/core/tool-runner.d.ts +1 -0
  50. package/dist/core/tool.constants.d.ts +1 -0
  51. package/dist/core/tool.schemas.d.ts +1 -0
  52. package/dist/core/worktree-guard.d.ts +1 -0
  53. package/dist/coverage-gate.d.ts +1 -0
  54. package/dist/cycle-detector.d.ts +1 -0
  55. package/dist/date-utils.d.ts +1 -0
  56. package/dist/delegation/index.d.ts +1 -0
  57. package/dist/delegation-escalation.d.ts +1 -0
  58. package/dist/delegation-monitor.d.ts +1 -0
  59. package/dist/delegation-recovery.d.ts +1 -0
  60. package/dist/delegation-registry-schema.d.ts +1 -0
  61. package/dist/delegation-registry-store.d.ts +1 -0
  62. package/dist/delegation-tree.d.ts +1 -0
  63. package/dist/dependency-graph.d.ts +1 -0
  64. package/dist/dependency-guard.d.ts +1 -0
  65. package/dist/dependency-validator.d.ts +1 -0
  66. package/dist/docs-layout-presets.d.ts +1 -0
  67. package/dist/docs-path-validator.d.ts +1 -0
  68. package/dist/domain/context.schemas.d.ts +1 -0
  69. package/dist/domain/index.d.ts +1 -0
  70. package/dist/domain/orchestration.constants.d.ts +1 -0
  71. package/dist/domain/orchestration.schemas.d.ts +1 -0
  72. package/dist/domain/orchestration.types.d.ts +1 -0
  73. package/dist/domain/recovery.schemas.d.ts +1 -0
  74. package/dist/domain/result.d.ts +1 -0
  75. package/dist/domain/validation.schemas.d.ts +1 -0
  76. package/dist/env-accessors.d.ts +1 -0
  77. package/dist/error-handler.d.ts +1 -0
  78. package/dist/file-classifiers.d.ts +1 -0
  79. package/dist/force-bypass-audit.d.ts +1 -0
  80. package/dist/gates-agent-mode.d.ts +1 -0
  81. package/dist/gates-config-internal.d.ts +1 -0
  82. package/dist/gates-config.d.ts +1 -0
  83. package/dist/gates-coverage.d.ts +1 -0
  84. package/dist/gates-presets.d.ts +1 -0
  85. package/dist/gates-schemas.d.ts +1 -0
  86. package/dist/generate-traceability.d.ts +1 -0
  87. package/dist/git-adapter.d.ts +1 -0
  88. package/dist/git-context-extractor.d.ts +1 -0
  89. package/dist/git-staged-validator.d.ts +1 -0
  90. package/dist/hardcoded-strings.d.ts +1 -0
  91. package/dist/incremental-lint.d.ts +1 -0
  92. package/dist/incremental-test.d.ts +1 -0
  93. package/dist/index.d.ts +1 -0
  94. package/dist/invariants/check-automated-tests.d.ts +1 -0
  95. package/dist/invariants-runner.d.ts +1 -0
  96. package/dist/lane-checker.d.ts +1 -0
  97. package/dist/lane-inference.d.ts +1 -0
  98. package/dist/lane-lock.d.ts +1 -0
  99. package/dist/lane-suggest-prompt.d.ts +1 -0
  100. package/dist/lane-validator.d.ts +1 -0
  101. package/dist/lifecycle/index.d.ts +1 -0
  102. package/dist/logs-lib.d.ts +1 -0
  103. package/dist/lumenflow-config-schema.d.ts +1 -0
  104. package/dist/lumenflow-config.d.ts +1 -0
  105. package/dist/lumenflow-home.d.ts +1 -0
  106. package/dist/manual-test-validator.d.ts +1 -0
  107. package/dist/merge-lock.d.ts +1 -0
  108. package/dist/micro-worktree-shared.d.ts +1 -0
  109. package/dist/micro-worktree.d.ts +1 -0
  110. package/dist/normalize-config-keys.d.ts +1 -0
  111. package/dist/object-guards.d.ts +1 -0
  112. package/dist/orchestration-advisory-loader.d.ts +1 -0
  113. package/dist/orchestration-advisory.d.ts +1 -0
  114. package/dist/orchestration-di.d.ts +1 -0
  115. package/dist/orchestration-rules.d.ts +1 -0
  116. package/dist/orphan-detector.d.ts +1 -0
  117. package/dist/pack-authoring-template-engine.d.ts +1 -0
  118. package/dist/package-manager-resolver.d.ts +1 -0
  119. package/dist/path-classifiers.d.ts +1 -0
  120. package/dist/path-factory.d.ts +1 -0
  121. package/dist/patrol-loop.d.ts +1 -0
  122. package/dist/piped-command-detector.d.ts +1 -0
  123. package/dist/ports/config.ports.d.ts +1 -0
  124. package/dist/ports/context.ports.d.ts +1 -0
  125. package/dist/ports/core-tools.ports.d.ts +1 -0
  126. package/dist/ports/dashboard-renderer.port.d.ts +1 -0
  127. package/dist/ports/git-validator.ports.d.ts +1 -0
  128. package/dist/ports/index.d.ts +1 -0
  129. package/dist/ports/metrics-collector.port.d.ts +1 -0
  130. package/dist/ports/recovery.ports.d.ts +1 -0
  131. package/dist/ports/sync-validator.ports.d.ts +1 -0
  132. package/dist/ports/validation.ports.d.ts +1 -0
  133. package/dist/ports/wu-helpers.ports.d.ts +1 -0
  134. package/dist/ports/wu-state.ports.d.ts +1 -0
  135. package/dist/process-detector.d.ts +1 -0
  136. package/dist/prompt-linter.d.ts +1 -0
  137. package/dist/prompt-monitor.d.ts +1 -0
  138. package/dist/rebase-artifact-cleanup.d.ts +1 -0
  139. package/dist/recovery/index.d.ts +1 -0
  140. package/dist/recovery/recovery-analyzer.d.ts +1 -0
  141. package/dist/resolve-policy.d.ts +1 -0
  142. package/dist/retry-strategy.d.ts +1 -0
  143. package/dist/rollback-utils.d.ts +1 -0
  144. package/dist/sandbox-allowlist.d.ts +1 -0
  145. package/dist/sandbox-backend-linux.d.ts +1 -0
  146. package/dist/sandbox-backend-macos.d.ts +1 -0
  147. package/dist/sandbox-backend-windows.d.ts +1 -0
  148. package/dist/sandbox-profile.d.ts +1 -0
  149. package/dist/schemas/agents-config.d.ts +1 -0
  150. package/dist/schemas/arg-validators.d.ts +1 -0
  151. package/dist/schemas/cloud-config.d.ts +1 -0
  152. package/dist/schemas/command-schemas.d.ts +1 -0
  153. package/dist/schemas/directories-config.d.ts +1 -0
  154. package/dist/schemas/flow-arg-validators.d.ts +1 -0
  155. package/dist/schemas/flow-schemas.d.ts +1 -0
  156. package/dist/schemas/gates-section-config.d.ts +1 -0
  157. package/dist/schemas/git-config.d.ts +1 -0
  158. package/dist/schemas/index.d.ts +1 -0
  159. package/dist/schemas/initiative-arg-validators.d.ts +1 -0
  160. package/dist/schemas/initiative-schemas.d.ts +1 -0
  161. package/dist/schemas/lanes-config.d.ts +1 -0
  162. package/dist/schemas/memory-arg-validators.d.ts +1 -0
  163. package/dist/schemas/memory-config.d.ts +1 -0
  164. package/dist/schemas/memory-schemas.d.ts +1 -0
  165. package/dist/schemas/operational-config.d.ts +1 -0
  166. package/dist/schemas/schema-utils.d.ts +1 -0
  167. package/dist/schemas/setup-arg-validators.d.ts +1 -0
  168. package/dist/schemas/setup-schemas.d.ts +1 -0
  169. package/dist/schemas/validation-arg-validators.d.ts +1 -0
  170. package/dist/schemas/validation-schemas.d.ts +1 -0
  171. package/dist/schemas/workspace-config.d.ts +1 -0
  172. package/dist/schemas/wu-config.d.ts +1 -0
  173. package/dist/schemas/wu-lifecycle-arg-validators.d.ts +1 -0
  174. package/dist/schemas/wu-lifecycle-schemas.d.ts +1 -0
  175. package/dist/section-headings.d.ts +1 -0
  176. package/dist/spawn-agent-guidance.d.ts +1 -0
  177. package/dist/spawn-constraints-generator.d.ts +1 -0
  178. package/dist/spawn-guidance-generators.d.ts +1 -0
  179. package/dist/spawn-policy-resolver.d.ts +1 -0
  180. package/dist/spawn-prompt-helpers.d.ts +1 -0
  181. package/dist/spawn-prompt-schema.d.ts +1 -0
  182. package/dist/spawn-strategy.d.ts +1 -0
  183. package/dist/spawn-task-builder.d.ts +1 -0
  184. package/dist/spawn-template-assembler.d.ts +1 -0
  185. package/dist/stamp-status-validator.d.ts +1 -0
  186. package/dist/stamp-tracking.d.ts +1 -0
  187. package/dist/stamp-utils.d.ts +1 -0
  188. package/dist/startup-env-validation.d.ts +1 -0
  189. package/dist/state-cleanup-core.d.ts +1 -0
  190. package/dist/state-doctor-core.d.ts +1 -0
  191. package/dist/state-machine.d.ts +1 -0
  192. package/dist/stream-error-handler.d.ts +1 -0
  193. package/dist/sync-validator.d.ts +1 -0
  194. package/dist/telemetry.d.ts +1 -0
  195. package/dist/template-loader.d.ts +1 -0
  196. package/dist/test-baseline.d.ts +1 -0
  197. package/dist/token-counter.d.ts +1 -0
  198. package/dist/types.d.ts +67 -0
  199. package/dist/usecases/analyze-recovery.usecase.d.ts +1 -0
  200. package/dist/usecases/compute-context.usecase.d.ts +1 -0
  201. package/dist/usecases/get-dashboard-data.usecase.d.ts +1 -0
  202. package/dist/usecases/get-suggestions.usecase.d.ts +1 -0
  203. package/dist/usecases/index.d.ts +1 -0
  204. package/dist/usecases/validate-command.usecase.d.ts +1 -0
  205. package/dist/user-normalizer.d.ts +1 -0
  206. package/dist/validation/command-registry.d.ts +1 -0
  207. package/dist/validation/index.d.ts +1 -0
  208. package/dist/validation/types.d.ts +1 -0
  209. package/dist/validation/validate-command.d.ts +1 -0
  210. package/dist/validators/backlog-sync.d.ts +1 -0
  211. package/dist/validators/claim-validation.d.ts +1 -0
  212. package/dist/validators/supabase-docs-linter.d.ts +1 -0
  213. package/dist/validators/wu-tasks.d.ts +1 -0
  214. package/dist/work-classifier.d.ts +1 -0
  215. package/dist/worktree-ownership.d.ts +1 -0
  216. package/dist/worktree-scanner.d.ts +1 -0
  217. package/dist/worktree-symlink.d.ts +1 -0
  218. package/dist/wu-backlog-updater.d.ts +1 -0
  219. package/dist/wu-checkpoint.d.ts +1 -0
  220. package/dist/wu-claim-helpers.d.ts +1 -0
  221. package/dist/wu-claim-resume.d.ts +1 -0
  222. package/dist/wu-cli-constants.d.ts +1 -0
  223. package/dist/wu-consistency-checker.d.ts +1 -0
  224. package/dist/wu-consistency-detector.d.ts +1 -0
  225. package/dist/wu-consistency-file-repairs.d.ts +1 -0
  226. package/dist/wu-constants.d.ts +1 -0
  227. package/dist/wu-context-constants.d.ts +1 -0
  228. package/dist/wu-create-defaults.d.ts +1 -0
  229. package/dist/wu-create-validators.d.ts +1 -0
  230. package/dist/wu-doc-types.d.ts +1 -0
  231. package/dist/wu-domain-constants.d.ts +1 -0
  232. package/dist/wu-done-branch-only.d.ts +1 -0
  233. package/dist/wu-done-branch-utils.d.ts +1 -0
  234. package/dist/wu-done-cleanup.d.ts +1 -0
  235. package/dist/wu-done-concurrent-merge.d.ts +1 -0
  236. package/dist/wu-done-docs-generate.d.ts +1 -0
  237. package/dist/wu-done-docs-only.d.ts +1 -0
  238. package/dist/wu-done-error-handling.d.ts +1 -0
  239. package/dist/wu-done-errors.d.ts +1 -0
  240. package/dist/wu-done-initiative-sync.d.ts +1 -0
  241. package/dist/wu-done-inputs.d.ts +1 -0
  242. package/dist/wu-done-machine.d.ts +1 -0
  243. package/dist/wu-done-main-sync.d.ts +1 -0
  244. package/dist/wu-done-merge-phase.d.ts +1 -0
  245. package/dist/wu-done-merge.d.ts +1 -0
  246. package/dist/wu-done-merged-worktree.d.ts +1 -0
  247. package/dist/wu-done-messages.d.ts +1 -0
  248. package/dist/wu-done-metadata.d.ts +1 -0
  249. package/dist/wu-done-paths.d.ts +1 -0
  250. package/dist/wu-done-pr.d.ts +1 -0
  251. package/dist/wu-done-preflight-checks.d.ts +1 -0
  252. package/dist/wu-done-preflight.d.ts +1 -0
  253. package/dist/wu-done-rebase.d.ts +1 -0
  254. package/dist/wu-done-retry-helpers.d.ts +1 -0
  255. package/dist/wu-done-ui.d.ts +1 -0
  256. package/dist/wu-done-utils.d.ts +1 -0
  257. package/dist/wu-done-validation.d.ts +1 -0
  258. package/dist/wu-done-validation.d.ts.map +1 -1
  259. package/dist/wu-done-validation.js +8 -2
  260. package/dist/wu-done-validation.js.map +1 -1
  261. package/dist/wu-done-validators.d.ts +1 -0
  262. package/dist/wu-done-worktree-services.d.ts +1 -0
  263. package/dist/wu-done-worktree.d.ts +1 -0
  264. package/dist/wu-done-zombie-recovery.d.ts +1 -0
  265. package/dist/wu-duplicate-id-detector.d.ts +1 -0
  266. package/dist/wu-event-sourcer.d.ts +1 -0
  267. package/dist/wu-events-cleanup.d.ts +1 -0
  268. package/dist/wu-git-constants.d.ts +1 -0
  269. package/dist/wu-helpers.d.ts +1 -0
  270. package/dist/wu-id-generator.d.ts +1 -0
  271. package/dist/wu-inconsistency-repairer.d.ts +1 -0
  272. package/dist/wu-lint.d.ts +1 -0
  273. package/dist/wu-list.d.ts +1 -0
  274. package/dist/wu-lock-manager.d.ts +1 -0
  275. package/dist/wu-paths-constants.d.ts +1 -0
  276. package/dist/wu-paths.d.ts +1 -0
  277. package/dist/wu-preflight-validators.d.ts +1 -0
  278. package/dist/wu-recovery.d.ts +1 -0
  279. package/dist/wu-repair-core.d.ts +1 -0
  280. package/dist/wu-repair-service.d.ts +1 -0
  281. package/dist/wu-rules-core.d.ts +1 -0
  282. package/dist/wu-rules-engine.d.ts +1 -0
  283. package/dist/wu-rules-resolvers.d.ts +1 -0
  284. package/dist/wu-schema-normalization.d.ts +1 -0
  285. package/dist/wu-schema.d.ts +1 -0
  286. package/dist/wu-spawn-context.d.ts +1 -0
  287. package/dist/wu-spawn-helpers.d.ts +1 -0
  288. package/dist/wu-spawn-skills.d.ts +1 -0
  289. package/dist/wu-spawn.d.ts +1 -0
  290. package/dist/wu-state-indexer.d.ts +1 -0
  291. package/dist/wu-state-schema.d.ts +1 -0
  292. package/dist/wu-state-store.d.ts +1 -0
  293. package/dist/wu-status-transition.d.ts +1 -0
  294. package/dist/wu-status-updater.d.ts +1 -0
  295. package/dist/wu-statuses.d.ts +1 -0
  296. package/dist/wu-transaction-collectors.d.ts +1 -0
  297. package/dist/wu-transaction.d.ts +1 -0
  298. package/dist/wu-type-helpers.d.ts +1 -0
  299. package/dist/wu-ui-constants.d.ts +1 -0
  300. package/dist/wu-validation-constants.d.ts +1 -0
  301. package/dist/wu-validation.d.ts +1 -0
  302. package/dist/wu-validator.d.ts +1 -0
  303. package/dist/wu-yaml-fixer.d.ts +1 -0
  304. package/dist/wu-yaml.d.ts +1 -0
  305. package/package.json +5 -4
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /** A single ID collision group */
2
3
  export interface DuplicateIdGroup {
3
4
  /** The duplicated WU ID */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type WUEvent } from './wu-state-schema.js';
2
3
  import type { WUStateIndexer } from './wu-state-indexer.js';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type WUEvent } from './wu-state-schema.js';
2
3
  import type { EventArchivalConfig } from './lumenflow-config-schema.js';
3
4
  export type { EventArchivalConfig };
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Git Constants
3
4
  *
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * WU Helpers - Shared utilities for worktree and WU validation hooks
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { IWuIdGitAdapter } from './ports/sync-validator.ports.js';
2
3
  export type { IWuIdGitAdapter } from './ports/sync-validator.ports.js';
3
4
  /** WU ID prefix constant */
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { ConsistencyError } from './wu-consistency-detector.js';
2
3
  import type { WUConsistencyRepairResult } from './wu-consistency-file-repairs.js';
3
4
  /**
package/dist/wu-lint.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type ValidationPhase } from './wu-rules-engine.js';
2
3
  /**
3
4
  * WU-2119: Interfaces for lint input types, replacing untyped parameters.
package/dist/wu-list.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU list entry returned by listWUs.
3
4
  * Contains essential fields for display and filtering.
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { LockData } from './ports/wu-state.ports.js';
2
3
  export type { LockData };
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU-1548: Shared Node.js filesystem error interface.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Resolve repo root from an absolute file path by traversing up N directory levels.
3
4
  *
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  import { type ValidationPhase } from './wu-rules-engine.js';
3
4
  interface PreflightResultData {
4
5
  valid: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU-1335: Maximum number of recovery attempts before escalating to manual intervention
3
4
  * WU-1747: Now derived from the recovery retry preset for consistency
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { checkWUConsistency, checkAllWUConsistency, repairWUInconsistency } from './wu-consistency-checker.js';
2
3
  export { checkWUConsistency, checkAllWUConsistency, repairWUInconsistency };
3
4
  export { detectZombieState, recoverZombieState, resetWorktreeYAMLForRecovery, getRecoveryMarkerPath, getRecoveryAttemptCount, incrementRecoveryAttempt, clearRecoveryAttempts, shouldEscalateToManualIntervention, MAX_RECOVERY_ATTEMPTS, } from './wu-recovery.js';
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { RepairResult } from './ports/wu-state.ports.js';
2
3
  export type { RepairResult };
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  export type ValidationPhase = 'intent' | 'structural' | 'reality';
2
3
  export interface ValidationIssue {
3
4
  code: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type ValidationIssue, validateWURulesSync, type ValidationPhase, type WUValidationContextInput, type WUValidationResult } from './wu-rules-core.js';
2
3
  export * from './wu-rules-core.js';
3
4
  export { pathReferenceExistsSync, pathReferenceExists, resolveBaseRef, resolveChangedFiles, resolveCliBinDiff, createDefaultWURuleResolvers, } from './wu-rules-resolvers.js';
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type CliBinDiffResult, type ResolveChangedFilesResult, type WURuleResolvers } from './wu-rules-core.js';
2
3
  export declare function pathReferenceExistsSync(reference: string, cwd: string): boolean;
3
4
  export declare function pathReferenceExists(reference: string, cwd: string): Promise<boolean>;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * @file wu-schema-normalization.ts
3
4
  * @description Schema normalization for legacy WU YAML formats (WU-2004)
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Work Unit YAML Schema
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { LumenFlowConfig } from './lumenflow-config-schema.js';
2
3
  /**
3
4
  * Section header for memory context in spawn prompts
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Option definitions for thinking mode configuration.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type ClientConfig } from './lumenflow-config-schema.js';
2
3
  interface ClientContext {
3
4
  name: string;
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * WU Spawn - Thin Facade (WU-2012)
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import { type WUEvent } from './wu-state-schema.js';
2
3
  import type { WUStateEntry, CheckpointOptions } from './ports/wu-state.ports.js';
3
4
  export type { WUStateEntry, CheckpointOptions };
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU State Schema (WU-1570)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU State Store - Facade (WU-2013, WU-2020)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  type TransitionDirection = 'block' | 'unblock';
2
3
  interface TransitionOptions {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Remove WU from In Progress section (idempotent)
3
4
  * Refactored from wu-done.ts line 471 to use frontmatter headings
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU Status Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  import type { WUDocBase as WUDoc } from './wu-doc-types.js';
2
3
  interface CollectMetadataParams {
3
4
  doc: WUDoc;
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * Represents a pending file write operation
3
4
  */
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * WU type/test helper predicates (WU-1444)
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * UI and Display Constants
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU Validation Constants (WU-1243)
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  interface WUTests {
2
3
  manual?: string[];
3
4
  [key: string]: unknown;
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ /// <reference path="./types.d.ts" />
2
3
  /**
3
4
  * WU Validator - Enforces code quality rules from Definition of Done
4
5
  *
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  interface WUYamlDoc {
2
3
  created?: string | Date;
3
4
  assigned_to?: string;
package/dist/wu-yaml.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="./types.d.ts" />
1
2
  /**
2
3
  * WU-1352: Standardized YAML stringify options.
3
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumenflow/core",
3
- "version": "3.20.0",
3
+ "version": "3.21.0",
4
4
  "description": "Core WU lifecycle tools for LumenFlow workflow framework",
5
5
  "keywords": [
6
6
  "lumenflow",
@@ -203,6 +203,7 @@
203
203
  "README.md"
204
204
  ],
205
205
  "dependencies": {
206
+ "@types/node": "^22.19.6",
206
207
  "chalk": "^5.6.2",
207
208
  "change-case": "^5.4.4",
208
209
  "cli-progress": "^3.12.0",
@@ -233,7 +234,7 @@
233
234
  "vitest": "^4.0.18"
234
235
  },
235
236
  "peerDependencies": {
236
- "@lumenflow/memory": "3.20.0"
237
+ "@lumenflow/memory": "3.21.0"
237
238
  },
238
239
  "peerDependenciesMeta": {
239
240
  "@lumenflow/memory": {
@@ -247,8 +248,8 @@
247
248
  "access": "public"
248
249
  },
249
250
  "scripts": {
250
- "build": "tsc",
251
- "build:dist": "tsc -p tsconfig.build.json",
251
+ "build": "tsc && node scripts/prepare-public-types.mjs",
252
+ "build:dist": "tsc -p tsconfig.build.json && node scripts/prepare-public-types.mjs",
252
253
  "pack:dist": "pnpm pack",
253
254
  "clean": "rm -rf dist *.tgz",
254
255
  "test": "vitest run",