@lumenflow/core 4.24.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arg-parser.d.ts.map +1 -1
- package/dist/arg-parser.js +16 -0
- package/dist/arg-parser.js.map +1 -1
- package/dist/atomic-merge.d.ts.map +1 -1
- package/dist/atomic-merge.js +25 -18
- package/dist/atomic-merge.js.map +1 -1
- package/dist/client-ids.d.ts +1 -15
- package/dist/client-ids.d.ts.map +1 -1
- package/dist/client-ids.js +4 -13
- package/dist/client-ids.js.map +1 -1
- package/dist/code-path-validator.d.ts.map +1 -1
- package/dist/code-path-validator.js +6 -3
- package/dist/code-path-validator.js.map +1 -1
- package/dist/config-contract.d.ts +1 -30
- package/dist/config-contract.d.ts.map +1 -1
- package/dist/config-contract.js +4 -60
- package/dist/config-contract.js.map +1 -1
- package/dist/constants/backlog-patterns.d.ts +1 -20
- package/dist/constants/backlog-patterns.d.ts.map +1 -1
- package/dist/constants/backlog-patterns.js +2 -23
- package/dist/constants/backlog-patterns.js.map +1 -1
- package/dist/constants/duration-constants.d.ts +1 -28
- package/dist/constants/duration-constants.d.ts.map +1 -1
- package/dist/constants/duration-constants.js +4 -28
- package/dist/constants/duration-constants.js.map +1 -1
- package/dist/constants/gate-constants.d.ts +1 -23
- package/dist/constants/gate-constants.d.ts.map +1 -1
- package/dist/constants/gate-constants.js +4 -23
- package/dist/constants/gate-constants.js.map +1 -1
- package/dist/constants/lock-constants.d.ts +1 -28
- package/dist/constants/lock-constants.d.ts.map +1 -1
- package/dist/constants/lock-constants.js +2 -28
- package/dist/constants/lock-constants.js.map +1 -1
- package/dist/core/tool.schemas.d.ts +11 -11
- package/dist/core/worktree-guard.js +2 -2
- package/dist/core/worktree-guard.js.map +1 -1
- package/dist/cycle-detector.d.ts +4 -48
- package/dist/cycle-detector.d.ts.map +1 -1
- package/dist/cycle-detector.js +4 -78
- package/dist/cycle-detector.js.map +1 -1
- package/dist/date-utils.d.ts +1 -65
- package/dist/date-utils.d.ts.map +1 -1
- package/dist/date-utils.js +4 -140
- package/dist/date-utils.js.map +1 -1
- package/dist/delegation-monitor.d.ts +2 -0
- package/dist/delegation-monitor.d.ts.map +1 -1
- package/dist/delegation-monitor.js +29 -2
- package/dist/delegation-monitor.js.map +1 -1
- package/dist/delegation-recovery.d.ts +36 -17
- package/dist/delegation-recovery.d.ts.map +1 -1
- package/dist/delegation-recovery.js +285 -82
- package/dist/delegation-recovery.js.map +1 -1
- package/dist/delegation-registry-schema.d.ts +257 -31
- package/dist/delegation-registry-schema.d.ts.map +1 -1
- package/dist/delegation-registry-schema.js +43 -34
- package/dist/delegation-registry-schema.js.map +1 -1
- package/dist/delegation-registry-store.d.ts +4 -128
- package/dist/delegation-registry-store.d.ts.map +1 -1
- package/dist/delegation-registry-store.js +39 -178
- package/dist/delegation-registry-store.js.map +1 -1
- package/dist/delegation-tree.d.ts +12 -20
- package/dist/delegation-tree.d.ts.map +1 -1
- package/dist/delegation-tree.js +40 -29
- package/dist/delegation-tree.js.map +1 -1
- package/dist/delivery-review-contract.d.ts +1 -1
- package/dist/delivery-review-contract.d.ts.map +1 -1
- package/dist/docs-layout-presets.d.ts +1 -30
- package/dist/docs-layout-presets.d.ts.map +1 -1
- package/dist/docs-layout-presets.js +4 -38
- package/dist/docs-layout-presets.js.map +1 -1
- package/dist/domain/context.schemas.d.ts +3 -3
- package/dist/domain/orchestration.constants.d.ts +1 -110
- package/dist/domain/orchestration.constants.d.ts.map +1 -1
- package/dist/domain/orchestration.constants.js +2 -127
- package/dist/domain/orchestration.constants.js.map +1 -1
- package/dist/domain/orchestration.schemas.d.ts +1 -306
- package/dist/domain/orchestration.schemas.d.ts.map +1 -1
- package/dist/domain/orchestration.schemas.js +2 -211
- package/dist/domain/orchestration.schemas.js.map +1 -1
- package/dist/domain/orchestration.types.d.ts +1 -133
- package/dist/domain/orchestration.types.d.ts.map +1 -1
- package/dist/domain/orchestration.types.js +2 -2
- package/dist/domain/orchestration.types.js.map +1 -1
- package/dist/domain/recovery.schemas.d.ts +3 -3
- package/dist/domain/validation.schemas.d.ts +4 -4
- package/dist/error-handler.d.ts +4 -173
- package/dist/error-handler.d.ts.map +1 -1
- package/dist/error-handler.js +4 -244
- package/dist/error-handler.js.map +1 -1
- package/dist/file-classifiers.d.ts.map +1 -1
- package/dist/file-classifiers.js +26 -0
- package/dist/file-classifiers.js.map +1 -1
- package/dist/git-adapter.d.ts +4 -448
- package/dist/git-adapter.d.ts.map +1 -1
- package/dist/git-adapter.js +4 -772
- package/dist/git-adapter.js.map +1 -1
- package/dist/git-context-extractor.d.ts +4 -98
- package/dist/git-context-extractor.d.ts.map +1 -1
- package/dist/git-context-extractor.js +4 -563
- package/dist/git-context-extractor.js.map +1 -1
- package/dist/git-staged-validator.d.ts +4 -29
- package/dist/git-staged-validator.d.ts.map +1 -1
- package/dist/git-staged-validator.js +4 -46
- package/dist/git-staged-validator.js.map +1 -1
- package/dist/incremental-lint.d.ts.map +1 -1
- package/dist/incremental-lint.js +3 -2
- package/dist/incremental-lint.js.map +1 -1
- package/dist/incremental-test.d.ts +1 -32
- package/dist/incremental-test.d.ts.map +1 -1
- package/dist/incremental-test.js +4 -61
- package/dist/incremental-test.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/integration-target.d.ts +30 -0
- package/dist/integration-target.d.ts.map +1 -0
- package/dist/integration-target.js +51 -0
- package/dist/integration-target.js.map +1 -0
- package/dist/lane-checker.d.ts.map +1 -1
- package/dist/lane-checker.js +8 -0
- package/dist/lane-checker.js.map +1 -1
- package/dist/lumenflow-config-schema.d.ts +73 -29
- package/dist/lumenflow-config-schema.d.ts.map +1 -1
- package/dist/lumenflow-config-schema.js +1 -1
- package/dist/lumenflow-config-schema.js.map +1 -1
- package/dist/lumenflow-config.d.ts +10 -34
- package/dist/lumenflow-config.d.ts.map +1 -1
- package/dist/lumenflow-config.js +32 -142
- package/dist/lumenflow-config.js.map +1 -1
- package/dist/manual-test-validator.d.ts +1 -96
- package/dist/manual-test-validator.d.ts.map +1 -1
- package/dist/manual-test-validator.js +4 -245
- package/dist/manual-test-validator.js.map +1 -1
- package/dist/micro-worktree-shared.d.ts.map +1 -1
- package/dist/micro-worktree-shared.js +10 -9
- package/dist/micro-worktree-shared.js.map +1 -1
- package/dist/micro-worktree.d.ts.map +1 -1
- package/dist/micro-worktree.js +26 -23
- package/dist/micro-worktree.js.map +1 -1
- package/dist/normalize-config-keys.d.ts +1 -10
- package/dist/normalize-config-keys.d.ts.map +1 -1
- package/dist/normalize-config-keys.js +7 -73
- package/dist/normalize-config-keys.js.map +1 -1
- package/dist/object-guards.d.ts +1 -10
- package/dist/object-guards.d.ts.map +1 -1
- package/dist/object-guards.js +7 -20
- package/dist/object-guards.js.map +1 -1
- package/dist/ports/config.ports.d.ts +1 -82
- package/dist/ports/config.ports.d.ts.map +1 -1
- package/dist/ports/config.ports.js +2 -1
- package/dist/ports/config.ports.js.map +1 -1
- package/dist/ports/dashboard-renderer.port.d.ts +1 -112
- package/dist/ports/dashboard-renderer.port.d.ts.map +1 -1
- package/dist/ports/dashboard-renderer.port.js +2 -1
- package/dist/ports/dashboard-renderer.port.js.map +1 -1
- package/dist/ports/git-validator.ports.d.ts +5 -110
- package/dist/ports/git-validator.ports.d.ts.map +1 -1
- package/dist/ports/git-validator.ports.js +8 -1
- package/dist/ports/git-validator.ports.js.map +1 -1
- package/dist/ports/sync-validator.ports.d.ts +1 -51
- package/dist/ports/sync-validator.ports.d.ts.map +1 -1
- package/dist/ports/sync-validator.ports.js +2 -1
- package/dist/ports/sync-validator.ports.js.map +1 -1
- package/dist/ports/wu-helpers.ports.d.ts +1 -156
- package/dist/ports/wu-helpers.ports.d.ts.map +1 -1
- package/dist/ports/wu-helpers.ports.js +2 -1
- package/dist/ports/wu-helpers.ports.js.map +1 -1
- package/dist/ports/wu-state.ports.d.ts +1 -208
- package/dist/ports/wu-state.ports.d.ts.map +1 -1
- package/dist/ports/wu-state.ports.js +2 -1
- package/dist/ports/wu-state.ports.js.map +1 -1
- package/dist/rebase-artifact-cleanup.d.ts.map +1 -1
- package/dist/rebase-artifact-cleanup.js +6 -3
- package/dist/rebase-artifact-cleanup.js.map +1 -1
- package/dist/sandbox-allowlist.d.ts +1 -15
- package/dist/sandbox-allowlist.d.ts.map +1 -1
- package/dist/sandbox-allowlist.js +4 -74
- package/dist/sandbox-allowlist.js.map +1 -1
- package/dist/sandbox-backend-linux.d.ts +1 -5
- package/dist/sandbox-backend-linux.d.ts.map +1 -1
- package/dist/sandbox-backend-linux.js +4 -64
- package/dist/sandbox-backend-linux.js.map +1 -1
- package/dist/sandbox-backend-macos.d.ts +1 -5
- package/dist/sandbox-backend-macos.d.ts.map +1 -1
- package/dist/sandbox-backend-macos.js +4 -109
- package/dist/sandbox-backend-macos.js.map +1 -1
- package/dist/sandbox-backend-windows.d.ts +1 -5
- package/dist/sandbox-backend-windows.d.ts.map +1 -1
- package/dist/sandbox-backend-windows.js +4 -27
- package/dist/sandbox-backend-windows.js.map +1 -1
- package/dist/sandbox-profile.d.ts +1 -57
- package/dist/sandbox-profile.d.ts.map +1 -1
- package/dist/sandbox-profile.js +4 -65
- package/dist/sandbox-profile.js.map +1 -1
- package/dist/schemas/agents-config.d.ts +47 -0
- package/dist/schemas/agents-config.d.ts.map +1 -1
- package/dist/schemas/agents-config.js +59 -0
- package/dist/schemas/agents-config.js.map +1 -1
- package/dist/schemas/command-schemas.d.ts +4 -4
- package/dist/schemas/flow-arg-validators.d.ts +2 -2
- package/dist/schemas/flow-schemas.d.ts +4 -4
- package/dist/schemas/gates-section-config.d.ts +32 -13
- package/dist/schemas/gates-section-config.d.ts.map +1 -1
- package/dist/schemas/gates-section-config.js +16 -1
- package/dist/schemas/gates-section-config.js.map +1 -1
- package/dist/schemas/initiative-arg-validators.d.ts +2 -2
- package/dist/schemas/initiative-schemas.d.ts +12 -12
- package/dist/schemas/lanes-config.d.ts +5 -5
- package/dist/schemas/memory-arg-validators.d.ts +6 -0
- package/dist/schemas/memory-arg-validators.d.ts.map +1 -1
- package/dist/schemas/memory-config.d.ts +4 -4
- package/dist/schemas/memory-schemas.d.ts +12 -0
- package/dist/schemas/memory-schemas.d.ts.map +1 -1
- package/dist/schemas/memory-schemas.js +12 -0
- package/dist/schemas/memory-schemas.js.map +1 -1
- package/dist/schemas/operational-config.d.ts +4 -4
- package/dist/schemas/setup-arg-validators.d.ts +3 -3
- package/dist/schemas/setup-schemas.d.ts +8 -8
- package/dist/schemas/wu-config.d.ts +3 -3
- package/dist/schemas/wu-lifecycle-arg-validators.d.ts +2 -2
- package/dist/schemas/wu-lifecycle-schemas.d.ts +4 -4
- package/dist/section-headings.d.ts +1 -34
- package/dist/section-headings.d.ts.map +1 -1
- package/dist/section-headings.js +2 -51
- package/dist/section-headings.js.map +1 -1
- package/dist/spawn-constraints-generator.js +3 -3
- package/dist/spawn-constraints-generator.js.map +1 -1
- package/dist/spawn-guidance-generators.d.ts +1 -1
- package/dist/spawn-guidance-generators.d.ts.map +1 -1
- package/dist/spawn-policy-resolver.d.ts +1 -1
- package/dist/spawn-policy-resolver.d.ts.map +1 -1
- package/dist/spawn-task-builder.d.ts +17 -1
- package/dist/spawn-task-builder.d.ts.map +1 -1
- package/dist/spawn-task-builder.js +63 -1
- package/dist/spawn-task-builder.js.map +1 -1
- package/dist/spawn-template-assembler.d.ts +1 -1
- package/dist/spawn-template-assembler.d.ts.map +1 -1
- package/dist/state-machine.d.ts +1 -9
- package/dist/state-machine.d.ts.map +1 -1
- package/dist/state-machine.js +2 -86
- package/dist/state-machine.js.map +1 -1
- package/dist/sync-validator.d.ts.map +1 -1
- package/dist/sync-validator.js +15 -12
- package/dist/sync-validator.js.map +1 -1
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +3 -2
- package/dist/telemetry.js.map +1 -1
- package/dist/work-classifier.d.ts +1 -102
- package/dist/work-classifier.d.ts.map +1 -1
- package/dist/work-classifier.js +2 -424
- package/dist/work-classifier.js.map +1 -1
- package/dist/worktree-symlink.d.ts +2 -2
- package/dist/worktree-symlink.d.ts.map +1 -1
- package/dist/worktree-symlink.js +37 -12
- package/dist/worktree-symlink.js.map +1 -1
- package/dist/wu-cli-constants.d.ts +1 -433
- package/dist/wu-cli-constants.d.ts.map +1 -1
- package/dist/wu-cli-constants.js +4 -436
- package/dist/wu-cli-constants.js.map +1 -1
- package/dist/wu-consistency-file-repairs.d.ts.map +1 -1
- package/dist/wu-consistency-file-repairs.js +5 -3
- package/dist/wu-consistency-file-repairs.js.map +1 -1
- package/dist/wu-context-constants.d.ts +22 -0
- package/dist/wu-context-constants.d.ts.map +1 -1
- package/dist/wu-context-constants.js +22 -0
- package/dist/wu-context-constants.js.map +1 -1
- package/dist/wu-doc-types.d.ts +1 -47
- package/dist/wu-doc-types.d.ts.map +1 -1
- package/dist/wu-domain-constants.d.ts +1 -295
- package/dist/wu-domain-constants.d.ts.map +1 -1
- package/dist/wu-domain-constants.js +4 -397
- package/dist/wu-domain-constants.js.map +1 -1
- package/dist/wu-done-branch-only.d.ts +1 -1
- package/dist/wu-done-branch-only.d.ts.map +1 -1
- package/dist/wu-done-branch-only.js +22 -13
- package/dist/wu-done-branch-only.js.map +1 -1
- package/dist/wu-done-branch-utils.d.ts.map +1 -1
- package/dist/wu-done-branch-utils.js +5 -3
- package/dist/wu-done-branch-utils.js.map +1 -1
- package/dist/wu-done-cleanup.d.ts.map +1 -1
- package/dist/wu-done-cleanup.js +66 -22
- package/dist/wu-done-cleanup.js.map +1 -1
- package/dist/wu-done-concurrent-merge.d.ts.map +1 -1
- package/dist/wu-done-concurrent-merge.js +9 -6
- package/dist/wu-done-concurrent-merge.js.map +1 -1
- package/dist/wu-done-errors.d.ts +3 -3
- package/dist/wu-done-errors.d.ts.map +1 -1
- package/dist/wu-done-inputs.d.ts.map +1 -1
- package/dist/wu-done-inputs.js +3 -0
- package/dist/wu-done-inputs.js.map +1 -1
- package/dist/wu-done-merge-phase.d.ts.map +1 -1
- package/dist/wu-done-merge-phase.js +4 -2
- package/dist/wu-done-merge-phase.js.map +1 -1
- package/dist/wu-done-merge.d.ts.map +1 -1
- package/dist/wu-done-merge.js +16 -8
- package/dist/wu-done-merge.js.map +1 -1
- package/dist/wu-done-merged-worktree.d.ts.map +1 -1
- package/dist/wu-done-merged-worktree.js +7 -8
- package/dist/wu-done-merged-worktree.js.map +1 -1
- package/dist/wu-done-messages.d.ts.map +1 -1
- package/dist/wu-done-messages.js +12 -5
- package/dist/wu-done-messages.js.map +1 -1
- package/dist/wu-done-metadata.d.ts.map +1 -1
- package/dist/wu-done-metadata.js +3 -8
- package/dist/wu-done-metadata.js.map +1 -1
- package/dist/wu-done-preflight-checks.d.ts.map +1 -1
- package/dist/wu-done-preflight-checks.js +21 -15
- package/dist/wu-done-preflight-checks.js.map +1 -1
- package/dist/wu-done-rebase.d.ts.map +1 -1
- package/dist/wu-done-rebase.js +10 -8
- package/dist/wu-done-rebase.js.map +1 -1
- package/dist/wu-done-retry-helpers.d.ts.map +1 -1
- package/dist/wu-done-retry-helpers.js +13 -11
- package/dist/wu-done-retry-helpers.js.map +1 -1
- package/dist/wu-done-validation.d.ts.map +1 -1
- package/dist/wu-done-validation.js +4 -2
- package/dist/wu-done-validation.js.map +1 -1
- package/dist/wu-done-worktree-services.d.ts.map +1 -1
- package/dist/wu-done-worktree-services.js +4 -2
- package/dist/wu-done-worktree-services.js.map +1 -1
- package/dist/wu-done-worktree.d.ts.map +1 -1
- package/dist/wu-done-worktree.js +4 -2
- package/dist/wu-done-worktree.js.map +1 -1
- package/dist/wu-git-constants.d.ts +1 -175
- package/dist/wu-git-constants.d.ts.map +1 -1
- package/dist/wu-git-constants.js +4 -175
- package/dist/wu-git-constants.js.map +1 -1
- package/dist/wu-helpers.d.ts +24 -0
- package/dist/wu-helpers.d.ts.map +1 -1
- package/dist/wu-helpers.js +37 -4
- package/dist/wu-helpers.js.map +1 -1
- package/dist/wu-id-format.d.ts +1 -137
- package/dist/wu-id-format.d.ts.map +1 -1
- package/dist/wu-id-format.js +2 -249
- package/dist/wu-id-format.js.map +1 -1
- package/dist/wu-id-generator.d.ts.map +1 -1
- package/dist/wu-id-generator.js +8 -5
- package/dist/wu-id-generator.js.map +1 -1
- package/dist/wu-paths-constants.d.ts +1 -253
- package/dist/wu-paths-constants.d.ts.map +1 -1
- package/dist/wu-paths-constants.js +4 -273
- package/dist/wu-paths-constants.js.map +1 -1
- package/dist/wu-paths.d.ts +1 -274
- package/dist/wu-paths.d.ts.map +1 -1
- package/dist/wu-paths.js +4 -236
- package/dist/wu-paths.js.map +1 -1
- package/dist/wu-rules-resolvers.d.ts.map +1 -1
- package/dist/wu-rules-resolvers.js +11 -6
- package/dist/wu-rules-resolvers.js.map +1 -1
- package/dist/wu-schema.d.ts +1 -830
- package/dist/wu-schema.d.ts.map +1 -1
- package/dist/wu-schema.js +4 -929
- package/dist/wu-schema.js.map +1 -1
- package/dist/wu-spawn-helpers.d.ts.map +1 -1
- package/dist/wu-spawn-helpers.js +5 -2
- package/dist/wu-spawn-helpers.js.map +1 -1
- package/dist/wu-spawn.d.ts +2 -2
- package/dist/wu-spawn.d.ts.map +1 -1
- package/dist/wu-spawn.js +2 -2
- package/dist/wu-spawn.js.map +1 -1
- package/dist/wu-state-schema.d.ts +1 -291
- package/dist/wu-state-schema.d.ts.map +1 -1
- package/dist/wu-state-schema.js +4 -212
- package/dist/wu-state-schema.js.map +1 -1
- package/dist/wu-status-transition.d.ts +3 -1
- package/dist/wu-status-transition.d.ts.map +1 -1
- package/dist/wu-status-transition.js +9 -24
- package/dist/wu-status-transition.js.map +1 -1
- package/dist/wu-statuses.d.ts +1 -208
- package/dist/wu-statuses.d.ts.map +1 -1
- package/dist/wu-statuses.js +4 -242
- package/dist/wu-statuses.js.map +1 -1
- package/dist/wu-transaction-collectors.d.ts +1 -0
- package/dist/wu-transaction-collectors.d.ts.map +1 -1
- package/dist/wu-transaction-collectors.js +13 -8
- package/dist/wu-transaction-collectors.js.map +1 -1
- package/dist/wu-type-helpers.d.ts +1 -27
- package/dist/wu-type-helpers.d.ts.map +1 -1
- package/dist/wu-type-helpers.js +4 -46
- package/dist/wu-type-helpers.js.map +1 -1
- package/dist/wu-ui-constants.d.ts +1 -235
- package/dist/wu-ui-constants.d.ts.map +1 -1
- package/dist/wu-ui-constants.js +5 -235
- package/dist/wu-ui-constants.js.map +1 -1
- package/dist/wu-validation-constants.d.ts +1 -60
- package/dist/wu-validation-constants.d.ts.map +1 -1
- package/dist/wu-validation-constants.js +4 -66
- package/dist/wu-validation-constants.js.map +1 -1
- package/dist/wu-yaml.d.ts +1 -112
- package/dist/wu-yaml.d.ts.map +1 -1
- package/dist/wu-yaml.js +4 -304
- package/dist/wu-yaml.js.map +1 -1
- package/package.json +12 -9
- package/dist/coverage-gate.d.ts +0 -128
- package/dist/coverage-gate.d.ts.map +0 -1
- package/dist/coverage-gate.js +0 -211
- package/dist/coverage-gate.js.map +0 -1
- package/dist/gates-agent-mode.d.ts +0 -108
- package/dist/gates-agent-mode.d.ts.map +0 -1
- package/dist/gates-agent-mode.js +0 -138
- package/dist/gates-agent-mode.js.map +0 -1
- package/dist/gates-config-internal.d.ts +0 -54
- package/dist/gates-config-internal.d.ts.map +0 -1
- package/dist/gates-config-internal.js +0 -107
- package/dist/gates-config-internal.js.map +0 -1
- package/dist/gates-config.d.ts +0 -68
- package/dist/gates-config.d.ts.map +0 -1
- package/dist/gates-config.js +0 -193
- package/dist/gates-config.js.map +0 -1
- package/dist/gates-coverage.d.ts +0 -42
- package/dist/gates-coverage.d.ts.map +0 -1
- package/dist/gates-coverage.js +0 -162
- package/dist/gates-coverage.js.map +0 -1
- package/dist/gates-presets.d.ts +0 -52
- package/dist/gates-presets.d.ts.map +0 -1
- package/dist/gates-presets.js +0 -117
- package/dist/gates-presets.js.map +0 -1
- package/dist/gates-schemas.d.ts +0 -143
- package/dist/gates-schemas.d.ts.map +0 -1
- package/dist/gates-schemas.js +0 -67
- package/dist/gates-schemas.js.map +0 -1
- package/dist/package-manager-resolver.d.ts +0 -80
- package/dist/package-manager-resolver.d.ts.map +0 -1
- package/dist/package-manager-resolver.js +0 -245
- package/dist/package-manager-resolver.js.map +0 -1
- package/dist/resolve-policy.d.ts +0 -293
- package/dist/resolve-policy.d.ts.map +0 -1
- package/dist/resolve-policy.js +0 -303
- package/dist/resolve-policy.js.map +0 -1
|
@@ -1,276 +1,7 @@
|
|
|
1
1
|
// Copyright (c) 2026 Hellmai Ltd
|
|
2
2
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
* Contains LumenFlow directory paths, file extensions, config files, filesystem
|
|
8
|
-
* constants, build artifacts, and path manipulation helpers.
|
|
9
|
-
*
|
|
10
|
-
* @module wu-paths-constants
|
|
11
|
-
*/
|
|
12
|
-
import path from 'node:path';
|
|
13
|
-
import { tmpdir } from 'node:os';
|
|
14
|
-
import { GIT_DIRECTORY_NAME, WORKSPACE_CONFIG_FILE_NAME } from './config-contract.js';
|
|
15
|
-
import { DEFAULT_DOCS_LAYOUT, DOCS_LAYOUT_PRESETS } from './docs-layout-presets.js';
|
|
16
|
-
const DEFAULT_DOCS_PATHS = DOCS_LAYOUT_PRESETS[DEFAULT_DOCS_LAYOUT];
|
|
17
|
-
const UTF8_ENCODING = 'utf8';
|
|
18
|
-
/**
|
|
19
|
-
* File system constants
|
|
20
|
-
*
|
|
21
|
-
* WU-923: Centralized to eliminate hardcoded strings
|
|
22
|
-
*/
|
|
23
|
-
export const FILE_SYSTEM = {
|
|
24
|
-
/** Standard file encoding */
|
|
25
|
-
ENCODING: UTF8_ENCODING,
|
|
26
|
-
/** UTF-8 encoding (alias for compatibility) */
|
|
27
|
-
UTF8: UTF8_ENCODING,
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Configuration file paths
|
|
31
|
-
*
|
|
32
|
-
* WU-923: Centralized config file names
|
|
33
|
-
*/
|
|
34
|
-
export const CONFIG_FILES = {
|
|
35
|
-
/** Canonical workspace config */
|
|
36
|
-
WORKSPACE_CONFIG: WORKSPACE_CONFIG_FILE_NAME,
|
|
37
|
-
/** Lane inference taxonomy */
|
|
38
|
-
LANE_INFERENCE: '.lumenflow.lane-inference.yaml',
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Directory paths within the monorepo
|
|
42
|
-
*
|
|
43
|
-
* Centralized directory path strings.
|
|
44
|
-
*/
|
|
45
|
-
export const DIRECTORIES = {
|
|
46
|
-
APPS_WEB: 'apps/web/',
|
|
47
|
-
WORKTREES: 'worktrees/',
|
|
48
|
-
AI: 'ai/',
|
|
49
|
-
CLAUDE: '.claude/',
|
|
50
|
-
CLAUDE_HOOKS: '.claude/hooks/',
|
|
51
|
-
DOCS: 'docs/',
|
|
52
|
-
PACKAGES: 'packages/',
|
|
53
|
-
TOOLS: 'tools/',
|
|
54
|
-
MEMORY_BANK: 'memory-bank/',
|
|
55
|
-
WU_DIR: `${DEFAULT_DOCS_PATHS.tasks}/wu`,
|
|
56
|
-
INITIATIVES_DIR: `${DEFAULT_DOCS_PATHS.tasks}/initiatives`,
|
|
57
|
-
// WU-1814: Paths for active WU detection
|
|
58
|
-
BACKLOG_PATH: `${DEFAULT_DOCS_PATHS.tasks}/backlog.md`,
|
|
59
|
-
STATUS_PATH: `${DEFAULT_DOCS_PATHS.tasks}/status.md`,
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Build artifact cleanup globs
|
|
63
|
-
*
|
|
64
|
-
* Centralized glob patterns for worktree artifact cleanup.
|
|
65
|
-
*/
|
|
66
|
-
export const BUILD_ARTIFACT_GLOBS = {
|
|
67
|
-
/** Common dist directories inside worktrees */
|
|
68
|
-
DIST_DIRS: [
|
|
69
|
-
'packages/*/dist',
|
|
70
|
-
'packages/**/dist',
|
|
71
|
-
'apps/*/dist',
|
|
72
|
-
'apps/**/dist',
|
|
73
|
-
'tools/*/dist',
|
|
74
|
-
'tools/**/dist',
|
|
75
|
-
],
|
|
76
|
-
/** TypeScript build info files */
|
|
77
|
-
TSBUILDINFO_FILES: ['**/*.tsbuildinfo'],
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Build artifact cleanup ignore patterns
|
|
81
|
-
*
|
|
82
|
-
* Centralized ignore globs for artifact cleanup.
|
|
83
|
-
*/
|
|
84
|
-
const GIT_ARTIFACT_IGNORE_GLOB = `**/${GIT_DIRECTORY_NAME}/**`;
|
|
85
|
-
export const BUILD_ARTIFACT_IGNORES = [
|
|
86
|
-
'**/node_modules/**',
|
|
87
|
-
GIT_ARTIFACT_IGNORE_GLOB,
|
|
88
|
-
'**/.turbo/**',
|
|
89
|
-
];
|
|
90
|
-
/**
|
|
91
|
-
* Script file paths
|
|
92
|
-
*
|
|
93
|
-
* Centralized paths to validation scripts.
|
|
94
|
-
*/
|
|
95
|
-
export const SCRIPT_PATHS = {
|
|
96
|
-
/** Prompt registry validation */
|
|
97
|
-
VALIDATE_PROMPT_REGISTRY: 'tools/validate-prompt-registry.js',
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* File extensions
|
|
101
|
-
*
|
|
102
|
-
* Centralized file extension strings to avoid magic strings.
|
|
103
|
-
*/
|
|
104
|
-
export const FILE_EXTENSIONS = {
|
|
105
|
-
/** Newline-delimited JSON format */
|
|
106
|
-
NDJSON: '.ndjson',
|
|
107
|
-
/** Markdown format */
|
|
108
|
-
MARKDOWN: '.md',
|
|
109
|
-
/** YAML format */
|
|
110
|
-
YAML: '.yaml',
|
|
111
|
-
/** YAML alternate extension */
|
|
112
|
-
YML: '.yml',
|
|
113
|
-
/** JSON format */
|
|
114
|
-
JSON: '.json',
|
|
115
|
-
/** Log format */
|
|
116
|
-
LOG: '.log',
|
|
117
|
-
/** Stamp files (completion markers) */
|
|
118
|
-
STAMP: '.done',
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Path-related constants
|
|
122
|
-
*
|
|
123
|
-
* WU-1062: Centralized path literals for lumenflow-home and spec-branch operations.
|
|
124
|
-
*/
|
|
125
|
-
export const PATH_LITERALS = {
|
|
126
|
-
/** Tilde prefix for home directory expansion (e.g., ~/path) */
|
|
127
|
-
TILDE_PREFIX: '~/',
|
|
128
|
-
/** Tilde character for home directory */
|
|
129
|
-
TILDE: '~',
|
|
130
|
-
/** Plan file suffix for WU plans */
|
|
131
|
-
PLAN_FILE_SUFFIX: '-plan.md',
|
|
132
|
-
/** Trailing slash regex pattern */
|
|
133
|
-
TRAILING_SLASH_REGEX: /\/+$/,
|
|
134
|
-
/** .lumenflow path prefix for internal path detection (WU-1430) */
|
|
135
|
-
LUMENFLOW_PREFIX: '.lumenflow/',
|
|
136
|
-
/** Current directory prefix for repo-internal paths (WU-1430) */
|
|
137
|
-
CURRENT_DIR_PREFIX: './',
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* Slice lengths for path operations
|
|
141
|
-
*
|
|
142
|
-
* WU-1062: Magic numbers extracted for path manipulation.
|
|
143
|
-
*/
|
|
144
|
-
export const PATH_SLICE_LENGTHS = {
|
|
145
|
-
/** Length of '~/' prefix for tilde expansion */
|
|
146
|
-
TILDE_PREFIX_LENGTH: 2,
|
|
147
|
-
/** Length of '/' for leading slash removal */
|
|
148
|
-
LEADING_SLASH_LENGTH: 1,
|
|
149
|
-
};
|
|
150
|
-
/**
|
|
151
|
-
* WU-1174: Lock directory name constant
|
|
152
|
-
*
|
|
153
|
-
* Defined separately so it can be used both in LUMENFLOW_PATHS.LOCK_DIR
|
|
154
|
-
* and for test isolation in cleanup-lock.ts/merge-lock.ts.
|
|
155
|
-
*/
|
|
156
|
-
export const LOCK_DIR_NAME = '.lumenflow-locks';
|
|
157
|
-
/**
|
|
158
|
-
* LumenFlow directory paths
|
|
159
|
-
*
|
|
160
|
-
* Centralized paths for .lumenflow directory structure to eliminate hardcoded strings.
|
|
161
|
-
* Used by telemetry, agent-session, agent-incidents, memory, and commands-logger modules.
|
|
162
|
-
*/
|
|
163
|
-
export const LUMENFLOW_PATHS = {
|
|
164
|
-
/** Base directory for all LumenFlow runtime data */
|
|
165
|
-
BASE: '.lumenflow',
|
|
166
|
-
/** WU state store directory */
|
|
167
|
-
STATE_DIR: '.lumenflow/state',
|
|
168
|
-
/** Stamp directory (WU completion markers) */
|
|
169
|
-
STAMPS_DIR: '.lumenflow/stamps',
|
|
170
|
-
/** Archive directory for old WU events (WU-1430) */
|
|
171
|
-
ARCHIVE_DIR: '.lumenflow/archive',
|
|
172
|
-
/** Merge lock file (runtime coordination, WU-1747) */
|
|
173
|
-
MERGE_LOCK: '.lumenflow/merge.lock',
|
|
174
|
-
/** Base telemetry directory */
|
|
175
|
-
TELEMETRY: '.lumenflow/telemetry',
|
|
176
|
-
/** Flow log file (WU flow events) */
|
|
177
|
-
FLOW_LOG: '.lumenflow/flow.log',
|
|
178
|
-
/** Agent sessions directory */
|
|
179
|
-
SESSIONS: '.lumenflow/sessions',
|
|
180
|
-
/** Agent incidents directory */
|
|
181
|
-
INCIDENTS: '.lumenflow/incidents',
|
|
182
|
-
/** Git commands log file */
|
|
183
|
-
COMMANDS_LOG: '.lumenflow/commands.log',
|
|
184
|
-
/** Memory layer directory */
|
|
185
|
-
MEMORY_DIR: '.lumenflow/memory',
|
|
186
|
-
/** Memory layer JSONL file */
|
|
187
|
-
MEMORY_JSONL: '.lumenflow/memory/memory.jsonl',
|
|
188
|
-
/** WU-1539: Memory signals JSONL file */
|
|
189
|
-
MEMORY_SIGNALS: '.lumenflow/memory/signals.jsonl',
|
|
190
|
-
/** Audit log for tool calls */
|
|
191
|
-
AUDIT_LOG: '.lumenflow/telemetry/tools.ndjson',
|
|
192
|
-
/** Feedback drafts directory */
|
|
193
|
-
FEEDBACK_DRAFTS: '.lumenflow/feedback-drafts',
|
|
194
|
-
/** Feedback index file */
|
|
195
|
-
FEEDBACK_INDEX: '.lumenflow/feedback-index.ndjson',
|
|
196
|
-
/** Current session file */
|
|
197
|
-
SESSION_CURRENT: '.lumenflow/sessions/current.json',
|
|
198
|
-
/** WU events log */
|
|
199
|
-
WU_EVENTS: '.lumenflow/state/wu-events.jsonl',
|
|
200
|
-
/** Lock files directory (lane locks - persisted) */
|
|
201
|
-
LOCKS_DIR: '.lumenflow/locks',
|
|
202
|
-
/** Force bypass audit log */
|
|
203
|
-
FORCE_BYPASSES: '.lumenflow/force-bypasses.log',
|
|
204
|
-
/** WU-1539: Skip-gates audit log */
|
|
205
|
-
SKIP_GATES_AUDIT: '.lumenflow/skip-gates-audit.log',
|
|
206
|
-
/** WU-1539: Skip-COS-gates audit log */
|
|
207
|
-
SKIP_COS_GATES_AUDIT: '.lumenflow/skip-cos-gates-audit.log',
|
|
208
|
-
/** Test baseline file for ratchet pattern (WU-1430) */
|
|
209
|
-
TEST_BASELINE: '.lumenflow/test-baseline.json',
|
|
210
|
-
/** Templates directory (WU-1430) */
|
|
211
|
-
TEMPLATES_DIR: '.lumenflow/templates',
|
|
212
|
-
/** Spawn prompt templates (WU-1674) */
|
|
213
|
-
SPAWN_PROMPT_DIR: '.lumenflow/templates/spawn-prompt',
|
|
214
|
-
/** Template manifest file (WU-1430) */
|
|
215
|
-
TEMPLATE_MANIFEST: '.lumenflow/templates/manifest.yaml',
|
|
216
|
-
/** Skills directory for agent skills (WU-1430) */
|
|
217
|
-
SKILLS_DIR: '.lumenflow/skills',
|
|
218
|
-
/** Agents directory for agent definitions (WU-1430) */
|
|
219
|
-
AGENTS_DIR: '.lumenflow/agents',
|
|
220
|
-
/** Methodology log for delegation telemetry (WU-1430) */
|
|
221
|
-
METHODOLOGY_LOG: '.lumenflow/telemetry/methodology.ndjson',
|
|
222
|
-
/** Prompt metrics cache (WU-1430) */
|
|
223
|
-
PROMPT_METRICS: '.lumenflow/telemetry/prompt-metrics.json',
|
|
224
|
-
/** Prompt lint results (WU-1430) */
|
|
225
|
-
PROMPT_LINT: '.lumenflow/telemetry/prompt-lint.ndjson',
|
|
226
|
-
/** Recovery markers directory (WU-1430) */
|
|
227
|
-
RECOVERY_DIR: '.lumenflow/recovery',
|
|
228
|
-
/** Checkpoints directory (WU-1430) */
|
|
229
|
-
CHECKPOINTS_DIR: '.lumenflow/checkpoints',
|
|
230
|
-
/** WU-1471: Hook counters directory for auto-checkpoint interval tracking */
|
|
231
|
-
HOOK_COUNTERS_DIR: '.lumenflow/state/hook-counters',
|
|
232
|
-
/** Cache directory under user home (WU-1430) */
|
|
233
|
-
HOME_CACHE: 'cache',
|
|
234
|
-
/**
|
|
235
|
-
* WU-1174: Runtime lock directory for merge/cleanup locks
|
|
236
|
-
*
|
|
237
|
-
* These locks are transient and should NOT be created in the main checkout
|
|
238
|
-
* because wu:done runs from main. Using os.tmpdir() ensures:
|
|
239
|
-
* 1. Locks don't pollute the git working tree
|
|
240
|
-
* 2. Locks work across processes on the same machine
|
|
241
|
-
* 3. No "Working tree is not clean" errors if process crashes
|
|
242
|
-
*
|
|
243
|
-
* Note: Lane locks still use LOCKS_DIR (.lumenflow/locks) because they need
|
|
244
|
-
* to persist across sessions and be visible to other agents.
|
|
245
|
-
*/
|
|
246
|
-
LOCK_DIR: path.join(tmpdir(), LOCK_DIR_NAME),
|
|
247
|
-
};
|
|
248
|
-
/**
|
|
249
|
-
* File tool constants (WU-1403)
|
|
250
|
-
*
|
|
251
|
-
* Centralized strings for file:read, file:write, file:edit tools.
|
|
252
|
-
* Prevents duplicate string literals and hardcoded magic values.
|
|
253
|
-
*/
|
|
254
|
-
export const FILE_TOOLS = {
|
|
255
|
-
/** Tool name prefixes */
|
|
256
|
-
NAMES: {
|
|
257
|
-
READ: 'file:read',
|
|
258
|
-
WRITE: 'file:write',
|
|
259
|
-
EDIT: 'file:edit',
|
|
260
|
-
DELETE: 'file:delete',
|
|
261
|
-
},
|
|
262
|
-
/** Tool domain */
|
|
263
|
-
DOMAIN: 'file',
|
|
264
|
-
/** Permission levels */
|
|
265
|
-
PERMISSIONS: {
|
|
266
|
-
READ: 'read',
|
|
267
|
-
WRITE: 'write',
|
|
268
|
-
},
|
|
269
|
-
/** Worktree instruction templates (WU-1403: provides reusable instruction strings) */
|
|
270
|
-
WORKTREE_INSTRUCTIONS: {
|
|
271
|
-
CLAIM_COMMAND: 'pnpm wu:claim --id <wu-id> --lane "<lane>"',
|
|
272
|
-
CD_COMMAND: 'cd worktrees/<lane>-<wu-id>/',
|
|
273
|
-
DOC_REFERENCE: 'CLAUDE.md §2 (Worktree Discipline)',
|
|
274
|
-
},
|
|
275
|
-
};
|
|
3
|
+
// WU-2678 (INIT-058 L4): Shim — real module lives in @lumenflow/packs-software-delivery.
|
|
4
|
+
// Re-export preserves the `@lumenflow/core/wu-paths-constants` subpath for existing consumers
|
|
5
|
+
// until Layer 7 removes the shim.
|
|
6
|
+
export * from '@lumenflow/packs-software-delivery/constants/wu-paths-constants';
|
|
276
7
|
//# sourceMappingURL=wu-paths-constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wu-paths-constants.js","sourceRoot":"","sources":["../src/wu-paths-constants.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"wu-paths-constants.js","sourceRoot":"","sources":["../src/wu-paths-constants.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,yCAAyC;AAEzC,yFAAyF;AACzF,8FAA8F;AAC9F,kCAAkC;AAClC,cAAc,iEAAiE,CAAC"}
|
package/dist/wu-paths.d.ts
CHANGED
|
@@ -1,276 +1,3 @@
|
|
|
1
1
|
/// <reference path="./types.d.ts" />
|
|
2
|
-
|
|
3
|
-
* Resolve repo root from an absolute file path by traversing up N directory levels.
|
|
4
|
-
*
|
|
5
|
-
* @param absolutePath - Absolute path to a file within the repo
|
|
6
|
-
* @param depth - Number of directory levels to traverse up
|
|
7
|
-
* @returns Absolute path to repo root
|
|
8
|
-
*/
|
|
9
|
-
export declare function resolveRepoRoot(absolutePath: string, depth: number): string;
|
|
10
|
-
/**
|
|
11
|
-
* Get the state store directory path from backlog.md path.
|
|
12
|
-
*
|
|
13
|
-
* WU-1523: Now computes depth dynamically from configured backlog path
|
|
14
|
-
* instead of using fixed depth values. This fixes empty backlog.md
|
|
15
|
-
* and status.md rendering in scaffolded projects with non-default docs structures.
|
|
16
|
-
*
|
|
17
|
-
* @param backlogPath - Absolute path to backlog.md
|
|
18
|
-
* @returns Absolute path to state store directory
|
|
19
|
-
*/
|
|
20
|
-
export declare function getStateStoreDirFromBacklog(backlogPath: string): string;
|
|
21
|
-
/**
|
|
22
|
-
* Create WU paths object with configurable base paths
|
|
23
|
-
*
|
|
24
|
-
* @param options - Options for path generation
|
|
25
|
-
* @param options.projectRoot - Override project root
|
|
26
|
-
* @returns WU paths object
|
|
27
|
-
*/
|
|
28
|
-
export declare function createWuPaths(options?: {
|
|
29
|
-
projectRoot?: string;
|
|
30
|
-
}): {
|
|
31
|
-
/**
|
|
32
|
-
* Get path to WU YAML file
|
|
33
|
-
* @param id - WU ID (e.g., 'WU-123')
|
|
34
|
-
* @returns Path to WU YAML file
|
|
35
|
-
*/
|
|
36
|
-
WU: (id: string) => string;
|
|
37
|
-
/**
|
|
38
|
-
* Get path to WU directory
|
|
39
|
-
* @returns Path to WU directory
|
|
40
|
-
*/
|
|
41
|
-
WU_DIR: () => string;
|
|
42
|
-
/**
|
|
43
|
-
* Get path to status.md
|
|
44
|
-
* @returns Path to status.md
|
|
45
|
-
*/
|
|
46
|
-
STATUS: () => string;
|
|
47
|
-
/**
|
|
48
|
-
* Get path to backlog.md
|
|
49
|
-
* @returns Path to backlog.md
|
|
50
|
-
*/
|
|
51
|
-
BACKLOG: () => string;
|
|
52
|
-
/**
|
|
53
|
-
* Get path to stamps directory
|
|
54
|
-
* @returns Path to stamps directory
|
|
55
|
-
*/
|
|
56
|
-
STAMPS_DIR: () => string;
|
|
57
|
-
/**
|
|
58
|
-
* Get path to WU done stamp file
|
|
59
|
-
* @param id - WU ID (e.g., 'WU-123')
|
|
60
|
-
* @returns Path to stamp file
|
|
61
|
-
*/
|
|
62
|
-
STAMP: (id: string) => string;
|
|
63
|
-
/**
|
|
64
|
-
* Get path to state directory
|
|
65
|
-
* @returns Path to state directory
|
|
66
|
-
*/
|
|
67
|
-
STATE_DIR: () => string;
|
|
68
|
-
/**
|
|
69
|
-
* Get path to initiatives directory
|
|
70
|
-
* @returns Path to initiatives directory
|
|
71
|
-
*/
|
|
72
|
-
INITIATIVES_DIR: () => string;
|
|
73
|
-
/**
|
|
74
|
-
* Get path to initiative YAML file
|
|
75
|
-
* @param id - Initiative ID (e.g., 'INIT-001')
|
|
76
|
-
* @returns Path to initiative YAML file
|
|
77
|
-
*/
|
|
78
|
-
INITIATIVE: (id: string) => string;
|
|
79
|
-
/**
|
|
80
|
-
* Get path to worktrees directory
|
|
81
|
-
* @returns Path to worktrees directory
|
|
82
|
-
*/
|
|
83
|
-
WORKTREES_DIR: () => string;
|
|
84
|
-
/**
|
|
85
|
-
* Get path to a specific worktree directory
|
|
86
|
-
* @param lane - Lane name (e.g., 'Framework: Core')
|
|
87
|
-
* @param id - WU ID (e.g., 'WU-123')
|
|
88
|
-
* @returns Path to worktree directory
|
|
89
|
-
*/
|
|
90
|
-
WORKTREE: (lane: string, id: string) => string;
|
|
91
|
-
/**
|
|
92
|
-
* Get path to plans directory
|
|
93
|
-
* @returns Path to plans directory (WU-1301)
|
|
94
|
-
*/
|
|
95
|
-
PLANS_DIR: () => string;
|
|
96
|
-
/**
|
|
97
|
-
* Get path to templates directory
|
|
98
|
-
* @returns Path to templates directory (WU-1310)
|
|
99
|
-
*/
|
|
100
|
-
TEMPLATES_DIR: () => string;
|
|
101
|
-
/**
|
|
102
|
-
* Get path to onboarding directory
|
|
103
|
-
* @returns Path to onboarding directory (WU-1310)
|
|
104
|
-
*/
|
|
105
|
-
ONBOARDING_DIR: () => string;
|
|
106
|
-
/**
|
|
107
|
-
* Get path to LumenFlow complete guide
|
|
108
|
-
* @returns Path to complete guide markdown
|
|
109
|
-
*/
|
|
110
|
-
COMPLETE_GUIDE_PATH: () => string;
|
|
111
|
-
/**
|
|
112
|
-
* Get path to onboarding quick reference commands
|
|
113
|
-
* @returns Path to quick reference markdown
|
|
114
|
-
*/
|
|
115
|
-
QUICK_REF_PATH: () => string;
|
|
116
|
-
/**
|
|
117
|
-
* Get path to onboarding starting prompt
|
|
118
|
-
* @returns Path to starting prompt markdown
|
|
119
|
-
*/
|
|
120
|
-
STARTING_PROMPT_PATH: () => string;
|
|
121
|
-
/**
|
|
122
|
-
* Get path to WU sizing guide
|
|
123
|
-
* @returns Path to sizing guide markdown
|
|
124
|
-
*/
|
|
125
|
-
SIZING_GUIDE_PATH: () => string;
|
|
126
|
-
/**
|
|
127
|
-
* Get path to governance document
|
|
128
|
-
* @returns Path to governance markdown
|
|
129
|
-
*/
|
|
130
|
-
GOVERNANCE_PATH: () => string;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* Default WU paths using default config
|
|
134
|
-
* For backwards compatibility with existing code
|
|
135
|
-
*/
|
|
136
|
-
export declare const WU_PATHS: {
|
|
137
|
-
/**
|
|
138
|
-
* Get path to WU YAML file
|
|
139
|
-
* @param id - WU ID (e.g., 'WU-123')
|
|
140
|
-
* @returns Path to WU YAML file
|
|
141
|
-
*/
|
|
142
|
-
WU: (id: string) => string;
|
|
143
|
-
/**
|
|
144
|
-
* Get path to WU directory
|
|
145
|
-
* @returns Path to WU directory
|
|
146
|
-
*/
|
|
147
|
-
WU_DIR: () => string;
|
|
148
|
-
/**
|
|
149
|
-
* Get path to status.md
|
|
150
|
-
* @returns Path to status.md
|
|
151
|
-
*/
|
|
152
|
-
STATUS: () => string;
|
|
153
|
-
/**
|
|
154
|
-
* Get path to backlog.md
|
|
155
|
-
* @returns Path to backlog.md
|
|
156
|
-
*/
|
|
157
|
-
BACKLOG: () => string;
|
|
158
|
-
/**
|
|
159
|
-
* Get path to stamps directory
|
|
160
|
-
* @returns Path to stamps directory
|
|
161
|
-
*/
|
|
162
|
-
STAMPS_DIR: () => string;
|
|
163
|
-
/**
|
|
164
|
-
* Get path to WU done stamp file
|
|
165
|
-
* @param id - WU ID (e.g., 'WU-123')
|
|
166
|
-
* @returns Path to stamp file
|
|
167
|
-
*/
|
|
168
|
-
STAMP: (id: string) => string;
|
|
169
|
-
/**
|
|
170
|
-
* Get path to state directory
|
|
171
|
-
* @returns Path to state directory
|
|
172
|
-
*/
|
|
173
|
-
STATE_DIR: () => string;
|
|
174
|
-
/**
|
|
175
|
-
* Get path to initiatives directory
|
|
176
|
-
* @returns Path to initiatives directory
|
|
177
|
-
*/
|
|
178
|
-
INITIATIVES_DIR: () => string;
|
|
179
|
-
/**
|
|
180
|
-
* Get path to initiative YAML file
|
|
181
|
-
* @param id - Initiative ID (e.g., 'INIT-001')
|
|
182
|
-
* @returns Path to initiative YAML file
|
|
183
|
-
*/
|
|
184
|
-
INITIATIVE: (id: string) => string;
|
|
185
|
-
/**
|
|
186
|
-
* Get path to worktrees directory
|
|
187
|
-
* @returns Path to worktrees directory
|
|
188
|
-
*/
|
|
189
|
-
WORKTREES_DIR: () => string;
|
|
190
|
-
/**
|
|
191
|
-
* Get path to a specific worktree directory
|
|
192
|
-
* @param lane - Lane name (e.g., 'Framework: Core')
|
|
193
|
-
* @param id - WU ID (e.g., 'WU-123')
|
|
194
|
-
* @returns Path to worktree directory
|
|
195
|
-
*/
|
|
196
|
-
WORKTREE: (lane: string, id: string) => string;
|
|
197
|
-
/**
|
|
198
|
-
* Get path to plans directory
|
|
199
|
-
* @returns Path to plans directory (WU-1301)
|
|
200
|
-
*/
|
|
201
|
-
PLANS_DIR: () => string;
|
|
202
|
-
/**
|
|
203
|
-
* Get path to templates directory
|
|
204
|
-
* @returns Path to templates directory (WU-1310)
|
|
205
|
-
*/
|
|
206
|
-
TEMPLATES_DIR: () => string;
|
|
207
|
-
/**
|
|
208
|
-
* Get path to onboarding directory
|
|
209
|
-
* @returns Path to onboarding directory (WU-1310)
|
|
210
|
-
*/
|
|
211
|
-
ONBOARDING_DIR: () => string;
|
|
212
|
-
/**
|
|
213
|
-
* Get path to LumenFlow complete guide
|
|
214
|
-
* @returns Path to complete guide markdown
|
|
215
|
-
*/
|
|
216
|
-
COMPLETE_GUIDE_PATH: () => string;
|
|
217
|
-
/**
|
|
218
|
-
* Get path to onboarding quick reference commands
|
|
219
|
-
* @returns Path to quick reference markdown
|
|
220
|
-
*/
|
|
221
|
-
QUICK_REF_PATH: () => string;
|
|
222
|
-
/**
|
|
223
|
-
* Get path to onboarding starting prompt
|
|
224
|
-
* @returns Path to starting prompt markdown
|
|
225
|
-
*/
|
|
226
|
-
STARTING_PROMPT_PATH: () => string;
|
|
227
|
-
/**
|
|
228
|
-
* Get path to WU sizing guide
|
|
229
|
-
* @returns Path to sizing guide markdown
|
|
230
|
-
*/
|
|
231
|
-
SIZING_GUIDE_PATH: () => string;
|
|
232
|
-
/**
|
|
233
|
-
* Get path to governance document
|
|
234
|
-
* @returns Path to governance markdown
|
|
235
|
-
*/
|
|
236
|
-
GOVERNANCE_PATH: () => string;
|
|
237
|
-
};
|
|
238
|
-
/**
|
|
239
|
-
* Generate default worktree path from WU document
|
|
240
|
-
*
|
|
241
|
-
* @param doc - WU document with lane and id fields
|
|
242
|
-
* @returns Worktree path or null if inputs are invalid
|
|
243
|
-
*/
|
|
244
|
-
export declare function defaultWorktreeFrom(doc: {
|
|
245
|
-
lane?: string;
|
|
246
|
-
id?: string;
|
|
247
|
-
} | null | undefined): string | null;
|
|
248
|
-
/**
|
|
249
|
-
* Resolve a repo-root-relative path to an absolute path using project root.
|
|
250
|
-
*
|
|
251
|
-
* @param relativePath - Path relative to project root
|
|
252
|
-
* @param moduleUrl - import.meta.url of the calling module (for backwards compat)
|
|
253
|
-
* @returns Absolute path resolved from project root
|
|
254
|
-
*/
|
|
255
|
-
export declare function resolveFromProjectRoot(relativePath: string, moduleUrl?: string): string;
|
|
256
|
-
/**
|
|
257
|
-
* Get absolute path to WU YAML file
|
|
258
|
-
*
|
|
259
|
-
* @param id - WU ID (e.g., 'WU-123')
|
|
260
|
-
* @param options - Options
|
|
261
|
-
* @returns Absolute path to WU YAML file
|
|
262
|
-
*/
|
|
263
|
-
export declare function getAbsoluteWuPath(id: string, options?: {
|
|
264
|
-
projectRoot?: string;
|
|
265
|
-
}): string;
|
|
266
|
-
/**
|
|
267
|
-
* Get absolute path to stamp file
|
|
268
|
-
*
|
|
269
|
-
* @param id - WU ID (e.g., 'WU-123')
|
|
270
|
-
* @param options - Options
|
|
271
|
-
* @returns Absolute path to stamp file
|
|
272
|
-
*/
|
|
273
|
-
export declare function getAbsoluteStampPath(id: string, options?: {
|
|
274
|
-
projectRoot?: string;
|
|
275
|
-
}): string;
|
|
2
|
+
export * from '@lumenflow/packs-software-delivery/state/wu-paths';
|
|
276
3
|
//# sourceMappingURL=wu-paths.d.ts.map
|
package/dist/wu-paths.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wu-paths.d.ts","sourceRoot":"","sources":["../src/wu-paths.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wu-paths.d.ts","sourceRoot":"","sources":["../src/wu-paths.ts"],"names":[],"mappings":"AAMA,cAAc,mDAAmD,CAAC"}
|