@productbrain/cli 0.1.0-beta.1584 → 0.1.0-beta.15861
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/README.md +19 -8
- package/dist/__tests__/adminConfig.test.d.ts +18 -0
- package/dist/__tests__/adminConfig.test.d.ts.map +1 -0
- package/dist/__tests__/adminConfig.test.js +221 -0
- package/dist/__tests__/adminConfig.test.js.map +1 -0
- package/dist/__tests__/canonicalRefs.vocab.test.js +2 -2
- package/dist/__tests__/canonicalRefs.vocab.test.js.map +1 -1
- package/dist/__tests__/capture-receipt-coaching.test.d.ts +2 -0
- package/dist/__tests__/capture-receipt-coaching.test.d.ts.map +1 -0
- package/dist/__tests__/capture-receipt-coaching.test.js +119 -0
- package/dist/__tests__/capture-receipt-coaching.test.js.map +1 -0
- package/dist/__tests__/capture-receipt-link-verbs.test.d.ts +2 -0
- package/dist/__tests__/capture-receipt-link-verbs.test.d.ts.map +1 -0
- package/dist/__tests__/capture-receipt-link-verbs.test.js +31 -0
- package/dist/__tests__/capture-receipt-link-verbs.test.js.map +1 -0
- package/dist/__tests__/capture-receipt-role-hint.test.d.ts +2 -0
- package/dist/__tests__/capture-receipt-role-hint.test.d.ts.map +1 -0
- package/dist/__tests__/capture-receipt-role-hint.test.js +70 -0
- package/dist/__tests__/capture-receipt-role-hint.test.js.map +1 -0
- package/dist/__tests__/capture-receipt-spine-floor.test.d.ts +2 -0
- package/dist/__tests__/capture-receipt-spine-floor.test.d.ts.map +1 -0
- package/dist/__tests__/capture-receipt-spine-floor.test.js +95 -0
- package/dist/__tests__/capture-receipt-spine-floor.test.js.map +1 -0
- package/dist/__tests__/capture.test.js +534 -365
- package/dist/__tests__/capture.test.js.map +1 -1
- package/dist/__tests__/cli-error-once.test.d.ts +2 -0
- package/dist/__tests__/cli-error-once.test.d.ts.map +1 -0
- package/dist/__tests__/cli-error-once.test.js +53 -0
- package/dist/__tests__/cli-error-once.test.js.map +1 -0
- package/dist/__tests__/client-binding-guard.test.d.ts +2 -0
- package/dist/__tests__/client-binding-guard.test.d.ts.map +1 -0
- package/dist/__tests__/client-binding-guard.test.js +84 -0
- package/dist/__tests__/client-binding-guard.test.js.map +1 -0
- package/dist/__tests__/coaching-mirror-drift.test.d.ts +2 -0
- package/dist/__tests__/coaching-mirror-drift.test.d.ts.map +1 -0
- package/dist/__tests__/coaching-mirror-drift.test.js +49 -0
- package/dist/__tests__/coaching-mirror-drift.test.js.map +1 -0
- package/dist/__tests__/codex-prep-parity.test.js +21 -47
- package/dist/__tests__/codex-prep-parity.test.js.map +1 -1
- package/dist/__tests__/config-conversation-profile.test.d.ts +2 -0
- package/dist/__tests__/config-conversation-profile.test.d.ts.map +1 -0
- package/dist/__tests__/config-conversation-profile.test.js +91 -0
- package/dist/__tests__/config-conversation-profile.test.js.map +1 -0
- package/dist/__tests__/config-prod-fallthrough.test.js +23 -12
- package/dist/__tests__/config-prod-fallthrough.test.js.map +1 -1
- package/dist/__tests__/config.test.js +583 -40
- package/dist/__tests__/config.test.js.map +1 -1
- package/dist/__tests__/constants.test.js +13 -4
- package/dist/__tests__/constants.test.js.map +1 -1
- package/dist/__tests__/constellation.test.js +41 -15
- package/dist/__tests__/constellation.test.js.map +1 -1
- package/dist/__tests__/conversation.test.d.ts +2 -0
- package/dist/__tests__/conversation.test.d.ts.map +1 -0
- package/dist/__tests__/conversation.test.js +113 -0
- package/dist/__tests__/conversation.test.js.map +1 -0
- package/dist/__tests__/entry-formatter.test.d.ts +2 -0
- package/dist/__tests__/entry-formatter.test.d.ts.map +1 -0
- package/dist/__tests__/entry-formatter.test.js +306 -0
- package/dist/__tests__/entry-formatter.test.js.map +1 -0
- package/dist/__tests__/entry-preflight.test.d.ts +2 -0
- package/dist/__tests__/entry-preflight.test.d.ts.map +1 -0
- package/dist/__tests__/entry-preflight.test.js +90 -0
- package/dist/__tests__/entry-preflight.test.js.map +1 -0
- package/dist/__tests__/entryAccept-batch.test.d.ts +2 -0
- package/dist/__tests__/entryAccept-batch.test.d.ts.map +1 -0
- package/dist/__tests__/entryAccept-batch.test.js +407 -0
- package/dist/__tests__/entryAccept-batch.test.js.map +1 -0
- package/dist/__tests__/entryAccept.test.d.ts +2 -0
- package/dist/__tests__/entryAccept.test.d.ts.map +1 -0
- package/dist/__tests__/entryAccept.test.js +560 -0
- package/dist/__tests__/entryAccept.test.js.map +1 -0
- package/dist/__tests__/entryDiscardResolve.test.d.ts +2 -0
- package/dist/__tests__/entryDiscardResolve.test.d.ts.map +1 -0
- package/dist/__tests__/entryDiscardResolve.test.js +36 -0
- package/dist/__tests__/entryDiscardResolve.test.js.map +1 -0
- package/dist/__tests__/entryOwn.test.d.ts +2 -0
- package/dist/__tests__/entryOwn.test.d.ts.map +1 -0
- package/dist/__tests__/entryOwn.test.js +102 -0
- package/dist/__tests__/entryOwn.test.js.map +1 -0
- package/dist/__tests__/entryReplace.test.d.ts +2 -0
- package/dist/__tests__/entryReplace.test.d.ts.map +1 -0
- package/dist/__tests__/entryReplace.test.js +60 -0
- package/dist/__tests__/entryReplace.test.js.map +1 -0
- package/dist/__tests__/entryTick.test.d.ts +2 -0
- package/dist/__tests__/entryTick.test.d.ts.map +1 -0
- package/dist/__tests__/entryTick.test.js +40 -0
- package/dist/__tests__/entryTick.test.js.map +1 -0
- package/dist/__tests__/envelope-contract.test.js +7 -5
- package/dist/__tests__/envelope-contract.test.js.map +1 -1
- package/dist/__tests__/errors.test.js +70 -0
- package/dist/__tests__/errors.test.js.map +1 -1
- package/dist/__tests__/fields.test.js +14 -3
- package/dist/__tests__/fields.test.js.map +1 -1
- package/dist/__tests__/gateway-dry-run-timeout.test.d.ts +2 -0
- package/dist/__tests__/gateway-dry-run-timeout.test.d.ts.map +1 -0
- package/dist/__tests__/gateway-dry-run-timeout.test.js +74 -0
- package/dist/__tests__/gateway-dry-run-timeout.test.js.map +1 -0
- package/dist/__tests__/gateway-timeout-body-phase.test.d.ts +2 -0
- package/dist/__tests__/gateway-timeout-body-phase.test.d.ts.map +1 -0
- package/dist/__tests__/gateway-timeout-body-phase.test.js +116 -0
- package/dist/__tests__/gateway-timeout-body-phase.test.js.map +1 -0
- package/dist/__tests__/gateway-unavailable.test.d.ts +2 -0
- package/dist/__tests__/gateway-unavailable.test.d.ts.map +1 -0
- package/dist/__tests__/gateway-unavailable.test.js +86 -0
- package/dist/__tests__/gateway-unavailable.test.js.map +1 -0
- package/dist/__tests__/get-batch-spinner.test.d.ts +2 -0
- package/dist/__tests__/get-batch-spinner.test.d.ts.map +1 -0
- package/dist/__tests__/get-batch-spinner.test.js +47 -0
- package/dist/__tests__/get-batch-spinner.test.js.map +1 -0
- package/dist/__tests__/get-batch.test.d.ts +2 -0
- package/dist/__tests__/get-batch.test.d.ts.map +1 -0
- package/dist/__tests__/get-batch.test.js +133 -0
- package/dist/__tests__/get-batch.test.js.map +1 -0
- package/dist/__tests__/glossary.test.js +10 -27
- package/dist/__tests__/glossary.test.js.map +1 -1
- package/dist/__tests__/health-gap-kinds-drift.test.d.ts +2 -0
- package/dist/__tests__/health-gap-kinds-drift.test.d.ts.map +1 -0
- package/dist/__tests__/health-gap-kinds-drift.test.js +43 -0
- package/dist/__tests__/health-gap-kinds-drift.test.js.map +1 -0
- package/dist/__tests__/help-no-ids.test.d.ts +2 -0
- package/dist/__tests__/help-no-ids.test.d.ts.map +1 -0
- package/dist/__tests__/help-no-ids.test.js +81 -0
- package/dist/__tests__/help-no-ids.test.js.map +1 -0
- package/dist/__tests__/init.test.d.ts +2 -1
- package/dist/__tests__/init.test.d.ts.map +1 -1
- package/dist/__tests__/init.test.js +283 -23
- package/dist/__tests__/init.test.js.map +1 -1
- package/dist/__tests__/kernel-value-sets-drift.test.d.ts +2 -0
- package/dist/__tests__/kernel-value-sets-drift.test.d.ts.map +1 -0
- package/dist/__tests__/kernel-value-sets-drift.test.js +46 -0
- package/dist/__tests__/kernel-value-sets-drift.test.js.map +1 -0
- package/dist/__tests__/kernel-value-sets-generator.test.d.ts +2 -0
- package/dist/__tests__/kernel-value-sets-generator.test.d.ts.map +1 -0
- package/dist/__tests__/kernel-value-sets-generator.test.js +108 -0
- package/dist/__tests__/kernel-value-sets-generator.test.js.map +1 -0
- package/dist/__tests__/login.test.js +47 -4
- package/dist/__tests__/login.test.js.map +1 -1
- package/dist/__tests__/missingPin.test.d.ts +11 -0
- package/dist/__tests__/missingPin.test.d.ts.map +1 -0
- package/dist/__tests__/missingPin.test.js +232 -0
- package/dist/__tests__/missingPin.test.js.map +1 -0
- package/dist/__tests__/no-session-one-place.test.d.ts +2 -0
- package/dist/__tests__/no-session-one-place.test.d.ts.map +1 -0
- package/dist/__tests__/no-session-one-place.test.js +33 -0
- package/dist/__tests__/no-session-one-place.test.js.map +1 -0
- package/dist/__tests__/notice-marker.test.js +146 -11
- package/dist/__tests__/notice-marker.test.js.map +1 -1
- package/dist/__tests__/orient-bound-scope.test.d.ts +2 -0
- package/dist/__tests__/orient-bound-scope.test.d.ts.map +1 -0
- package/dist/__tests__/orient-bound-scope.test.js +178 -0
- package/dist/__tests__/orient-bound-scope.test.js.map +1 -0
- package/dist/__tests__/orient-rules.test.d.ts +2 -0
- package/dist/__tests__/orient-rules.test.d.ts.map +1 -0
- package/dist/__tests__/orient-rules.test.js +88 -0
- package/dist/__tests__/orient-rules.test.js.map +1 -0
- package/dist/__tests__/orient.test.js +349 -62
- package/dist/__tests__/orient.test.js.map +1 -1
- package/dist/__tests__/preview-key-refresh.test.js +73 -13
- package/dist/__tests__/preview-key-refresh.test.js.map +1 -1
- package/dist/__tests__/profile-create-key.test.d.ts +2 -0
- package/dist/__tests__/profile-create-key.test.d.ts.map +1 -0
- package/dist/__tests__/profile-create-key.test.js +57 -0
- package/dist/__tests__/profile-create-key.test.js.map +1 -0
- package/dist/__tests__/profiles.test.js +534 -16
- package/dist/__tests__/profiles.test.js.map +1 -1
- package/dist/__tests__/prompts.test.js +18 -1
- package/dist/__tests__/prompts.test.js.map +1 -1
- package/dist/__tests__/proof-run.test.js +45 -0
- package/dist/__tests__/proof-run.test.js.map +1 -1
- package/dist/__tests__/rate-limit-resilience.test.d.ts +8 -0
- package/dist/__tests__/rate-limit-resilience.test.d.ts.map +1 -0
- package/dist/__tests__/rate-limit-resilience.test.js +191 -0
- package/dist/__tests__/rate-limit-resilience.test.js.map +1 -0
- package/dist/__tests__/read-action-down-lines.test.d.ts +2 -0
- package/dist/__tests__/read-action-down-lines.test.d.ts.map +1 -0
- package/dist/__tests__/read-action-down-lines.test.js +110 -0
- package/dist/__tests__/read-action-down-lines.test.js.map +1 -0
- package/dist/__tests__/read-target-notice.test.d.ts +2 -0
- package/dist/__tests__/read-target-notice.test.d.ts.map +1 -0
- package/dist/__tests__/read-target-notice.test.js +125 -0
- package/dist/__tests__/read-target-notice.test.js.map +1 -0
- package/dist/__tests__/relate.test.js +269 -14
- package/dist/__tests__/relate.test.js.map +1 -1
- package/dist/__tests__/removed-commands.test.d.ts +2 -0
- package/dist/__tests__/removed-commands.test.d.ts.map +1 -0
- package/dist/__tests__/removed-commands.test.js +99 -0
- package/dist/__tests__/removed-commands.test.js.map +1 -0
- package/dist/__tests__/reply-commands-registered.test.d.ts +2 -0
- package/dist/__tests__/reply-commands-registered.test.d.ts.map +1 -0
- package/dist/__tests__/reply-commands-registered.test.js +83 -0
- package/dist/__tests__/reply-commands-registered.test.js.map +1 -0
- package/dist/__tests__/reply-lines.test.d.ts +2 -0
- package/dist/__tests__/reply-lines.test.d.ts.map +1 -0
- package/dist/__tests__/reply-lines.test.js +67 -0
- package/dist/__tests__/reply-lines.test.js.map +1 -0
- package/dist/__tests__/reportedProfile.test.d.ts +2 -0
- package/dist/__tests__/reportedProfile.test.d.ts.map +1 -0
- package/dist/__tests__/reportedProfile.test.js +328 -0
- package/dist/__tests__/reportedProfile.test.js.map +1 -0
- package/dist/__tests__/restore.test.d.ts +2 -0
- package/dist/__tests__/restore.test.d.ts.map +1 -0
- package/dist/__tests__/restore.test.js +91 -0
- package/dist/__tests__/restore.test.js.map +1 -0
- package/dist/__tests__/route-latency-budget.test.d.ts +2 -0
- package/dist/__tests__/route-latency-budget.test.d.ts.map +1 -0
- package/dist/__tests__/route-latency-budget.test.js +111 -0
- package/dist/__tests__/route-latency-budget.test.js.map +1 -0
- package/dist/__tests__/runner.test.js +59 -44
- package/dist/__tests__/runner.test.js.map +1 -1
- package/dist/__tests__/session-binding-refusal-tenant.test.d.ts +2 -0
- package/dist/__tests__/session-binding-refusal-tenant.test.d.ts.map +1 -0
- package/dist/__tests__/session-binding-refusal-tenant.test.js +112 -0
- package/dist/__tests__/session-binding-refusal-tenant.test.js.map +1 -0
- package/dist/__tests__/session-close-conversation.test.d.ts +2 -0
- package/dist/__tests__/session-close-conversation.test.d.ts.map +1 -0
- package/dist/__tests__/session-close-conversation.test.js +75 -0
- package/dist/__tests__/session-close-conversation.test.js.map +1 -0
- package/dist/__tests__/session-close-loop.test.js +167 -32
- package/dist/__tests__/session-close-loop.test.js.map +1 -1
- package/dist/__tests__/session-ended-refusal.test.d.ts +2 -0
- package/dist/__tests__/session-ended-refusal.test.d.ts.map +1 -0
- package/dist/__tests__/session-ended-refusal.test.js +76 -0
- package/dist/__tests__/session-ended-refusal.test.js.map +1 -0
- package/dist/__tests__/session-hook-conversation.test.d.ts +2 -0
- package/dist/__tests__/session-hook-conversation.test.d.ts.map +1 -0
- package/dist/__tests__/session-hook-conversation.test.js +87 -0
- package/dist/__tests__/session-hook-conversation.test.js.map +1 -0
- package/dist/__tests__/session-label.test.d.ts +2 -0
- package/dist/__tests__/session-label.test.d.ts.map +1 -0
- package/dist/__tests__/session-label.test.js +46 -0
- package/dist/__tests__/session-label.test.js.map +1 -0
- package/dist/__tests__/session-list-show.test.d.ts +2 -0
- package/dist/__tests__/session-list-show.test.d.ts.map +1 -0
- package/dist/__tests__/session-list-show.test.js +171 -0
- package/dist/__tests__/session-list-show.test.js.map +1 -0
- package/dist/__tests__/session-pinned-role.test.d.ts +2 -0
- package/dist/__tests__/session-pinned-role.test.d.ts.map +1 -0
- package/dist/__tests__/session-pinned-role.test.js +334 -0
- package/dist/__tests__/session-pinned-role.test.js.map +1 -0
- package/dist/__tests__/session-reset.test.js +26 -11
- package/dist/__tests__/session-reset.test.js.map +1 -1
- package/dist/__tests__/session-resume-backstop.test.js +42 -2
- package/dist/__tests__/session-resume-backstop.test.js.map +1 -1
- package/dist/__tests__/session-role-name-sanitize.test.d.ts +2 -0
- package/dist/__tests__/session-role-name-sanitize.test.d.ts.map +1 -0
- package/dist/__tests__/session-role-name-sanitize.test.js +119 -0
- package/dist/__tests__/session-role-name-sanitize.test.js.map +1 -0
- package/dist/__tests__/session-seat-record.test.d.ts +2 -0
- package/dist/__tests__/session-seat-record.test.d.ts.map +1 -0
- package/dist/__tests__/session-seat-record.test.js +99 -0
- package/dist/__tests__/session-seat-record.test.js.map +1 -0
- package/dist/__tests__/session-seat-split.test.d.ts +2 -0
- package/dist/__tests__/session-seat-split.test.d.ts.map +1 -0
- package/dist/__tests__/session-seat-split.test.js +168 -0
- package/dist/__tests__/session-seat-split.test.js.map +1 -0
- package/dist/__tests__/session-start-key-refresh.test.js +64 -30
- package/dist/__tests__/session-start-key-refresh.test.js.map +1 -1
- package/dist/__tests__/session-state-machine.test.js +193 -27
- package/dist/__tests__/session-state-machine.test.js.map +1 -1
- package/dist/__tests__/session-switch.test.js +218 -7
- package/dist/__tests__/session-switch.test.js.map +1 -1
- package/dist/__tests__/session-touch.test.js +86 -107
- package/dist/__tests__/session-touch.test.js.map +1 -1
- package/dist/__tests__/session.test.js +0 -3
- package/dist/__tests__/session.test.js.map +1 -1
- package/dist/__tests__/sessionBinding.test.d.ts +2 -0
- package/dist/__tests__/sessionBinding.test.d.ts.map +1 -0
- package/dist/__tests__/sessionBinding.test.js +131 -0
- package/dist/__tests__/sessionBinding.test.js.map +1 -0
- package/dist/__tests__/sessionByIdLookup.test.d.ts +2 -0
- package/dist/__tests__/sessionByIdLookup.test.d.ts.map +1 -0
- package/dist/__tests__/sessionByIdLookup.test.js +63 -0
- package/dist/__tests__/sessionByIdLookup.test.js.map +1 -0
- package/dist/__tests__/spinner-labels.test.js +8 -0
- package/dist/__tests__/spinner-labels.test.js.map +1 -1
- package/dist/__tests__/state.test.js +21 -1
- package/dist/__tests__/state.test.js.map +1 -1
- package/dist/__tests__/stillTrue.test.d.ts +2 -0
- package/dist/__tests__/stillTrue.test.d.ts.map +1 -0
- package/dist/__tests__/stillTrue.test.js +53 -0
- package/dist/__tests__/stillTrue.test.js.map +1 -0
- package/dist/__tests__/strip.test.js +57 -3
- package/dist/__tests__/strip.test.js.map +1 -1
- package/dist/__tests__/tenant-notice-write-path.test.d.ts +2 -0
- package/dist/__tests__/tenant-notice-write-path.test.d.ts.map +1 -0
- package/dist/__tests__/tenant-notice-write-path.test.js +183 -0
- package/dist/__tests__/tenant-notice-write-path.test.js.map +1 -0
- package/dist/__tests__/unknown-option-flags.test.d.ts +2 -0
- package/dist/__tests__/unknown-option-flags.test.d.ts.map +1 -0
- package/dist/__tests__/unknown-option-flags.test.js +81 -0
- package/dist/__tests__/unknown-option-flags.test.js.map +1 -0
- package/dist/__tests__/update-check.test.js +21 -1
- package/dist/__tests__/update-check.test.js.map +1 -1
- package/dist/__tests__/update.test.js +651 -8
- package/dist/__tests__/update.test.js.map +1 -1
- package/dist/__tests__/upgrade-runner.test.js +44 -21
- package/dist/__tests__/upgrade-runner.test.js.map +1 -1
- package/dist/__tests__/verify-formatter.test.d.ts +2 -0
- package/dist/__tests__/verify-formatter.test.d.ts.map +1 -0
- package/dist/__tests__/verify-formatter.test.js +85 -0
- package/dist/__tests__/verify-formatter.test.js.map +1 -0
- package/dist/__tests__/vocabulary-leak.test.d.ts +1 -7
- package/dist/__tests__/vocabulary-leak.test.d.ts.map +1 -1
- package/dist/__tests__/vocabulary-leak.test.js +9 -118
- package/dist/__tests__/vocabulary-leak.test.js.map +1 -1
- package/dist/__tests__/workspace.test.js +10 -71
- package/dist/__tests__/workspace.test.js.map +1 -1
- package/dist/__tests__/workspaceNotice.test.d.ts +2 -0
- package/dist/__tests__/workspaceNotice.test.d.ts.map +1 -0
- package/dist/__tests__/workspaceNotice.test.js +551 -0
- package/dist/__tests__/workspaceNotice.test.js.map +1 -0
- package/dist/commands/__tests__/quality.test.d.ts +2 -0
- package/dist/commands/__tests__/quality.test.d.ts.map +1 -0
- package/dist/commands/__tests__/quality.test.js +317 -0
- package/dist/commands/__tests__/quality.test.js.map +1 -0
- package/dist/commands/__tests__/rework.test.d.ts +2 -0
- package/dist/commands/__tests__/rework.test.d.ts.map +1 -0
- package/dist/commands/__tests__/rework.test.js +151 -0
- package/dist/commands/__tests__/rework.test.js.map +1 -0
- package/dist/commands/__tests__/search.test.d.ts +2 -0
- package/dist/commands/__tests__/search.test.d.ts.map +1 -0
- package/dist/commands/__tests__/search.test.js +102 -0
- package/dist/commands/__tests__/search.test.js.map +1 -0
- package/dist/commands/__tests__/seatWake.test.d.ts +2 -0
- package/dist/commands/__tests__/seatWake.test.d.ts.map +1 -0
- package/dist/commands/__tests__/seatWake.test.js +60 -0
- package/dist/commands/__tests__/seatWake.test.js.map +1 -0
- package/dist/commands/__tests__/tasksList.test.d.ts +2 -0
- package/dist/commands/__tests__/tasksList.test.d.ts.map +1 -0
- package/dist/commands/__tests__/tasksList.test.js +102 -0
- package/dist/commands/__tests__/tasksList.test.js.map +1 -0
- package/dist/commands/__tests__/tensionsList.test.d.ts +2 -0
- package/dist/commands/__tests__/tensionsList.test.d.ts.map +1 -0
- package/dist/commands/__tests__/tensionsList.test.js +63 -0
- package/dist/commands/__tests__/tensionsList.test.js.map +1 -0
- package/dist/commands/accept-policy.d.ts +10 -0
- package/dist/commands/accept-policy.d.ts.map +1 -0
- package/dist/commands/accept-policy.js +101 -0
- package/dist/commands/accept-policy.js.map +1 -0
- package/dist/commands/admin/cockpit.d.ts +3 -14
- package/dist/commands/admin/cockpit.d.ts.map +1 -1
- package/dist/commands/admin/cockpit.js +14 -79
- package/dist/commands/admin/cockpit.js.map +1 -1
- package/dist/commands/admin/cockpit.test.d.ts +2 -0
- package/dist/commands/admin/cockpit.test.d.ts.map +1 -0
- package/dist/commands/admin/cockpit.test.js +104 -0
- package/dist/commands/admin/cockpit.test.js.map +1 -0
- package/dist/commands/admin/index.d.ts +49 -0
- package/dist/commands/admin/index.d.ts.map +1 -1
- package/dist/commands/admin/index.js +149 -30
- package/dist/commands/admin/index.js.map +1 -1
- package/dist/commands/admin/index.test.d.ts +2 -0
- package/dist/commands/admin/index.test.d.ts.map +1 -0
- package/dist/commands/admin/index.test.js +94 -0
- package/dist/commands/admin/index.test.js.map +1 -0
- package/dist/commands/admin/inspect.d.ts.map +1 -1
- package/dist/commands/admin/inspect.js +12 -17
- package/dist/commands/admin/inspect.js.map +1 -1
- package/dist/commands/admin/manage.d.ts.map +1 -1
- package/dist/commands/admin/manage.js +17 -224
- package/dist/commands/admin/manage.js.map +1 -1
- package/dist/commands/admin/manage.test.d.ts +0 -14
- package/dist/commands/admin/manage.test.d.ts.map +1 -1
- package/dist/commands/admin/manage.test.js +86 -142
- package/dist/commands/admin/manage.test.js.map +1 -1
- package/dist/commands/admin/probe.d.ts +75 -0
- package/dist/commands/admin/probe.d.ts.map +1 -0
- package/dist/commands/admin/probe.js +224 -0
- package/dist/commands/admin/probe.js.map +1 -0
- package/dist/commands/admin/probe.test.d.ts +2 -0
- package/dist/commands/admin/probe.test.d.ts.map +1 -0
- package/dist/commands/admin/probe.test.js +193 -0
- package/dist/commands/admin/probe.test.js.map +1 -0
- package/dist/commands/admin/run.d.ts +43 -0
- package/dist/commands/admin/run.d.ts.map +1 -0
- package/dist/commands/admin/run.js +78 -0
- package/dist/commands/admin/run.js.map +1 -0
- package/dist/commands/admin/run.test.d.ts +18 -0
- package/dist/commands/admin/run.test.d.ts.map +1 -0
- package/dist/commands/admin/run.test.js +168 -0
- package/dist/commands/admin/run.test.js.map +1 -0
- package/dist/commands/admin/seed.d.ts +14 -35
- package/dist/commands/admin/seed.d.ts.map +1 -1
- package/dist/commands/admin/seed.js +50 -352
- package/dist/commands/admin/seed.js.map +1 -1
- package/dist/commands/admin/seed.test.d.ts +3 -4
- package/dist/commands/admin/seed.test.d.ts.map +1 -1
- package/dist/commands/admin/seed.test.js +36 -73
- package/dist/commands/admin/seed.test.js.map +1 -1
- package/dist/commands/admin/seedRegistryEntries.generated.d.ts +3 -1
- package/dist/commands/admin/seedRegistryEntries.generated.d.ts.map +1 -1
- package/dist/commands/admin/seedRegistryEntries.generated.js +19 -106
- package/dist/commands/admin/seedRegistryEntries.generated.js.map +1 -1
- package/dist/commands/admin/seedRegistryEntries.test.d.ts +5 -3
- package/dist/commands/admin/seedRegistryEntries.test.d.ts.map +1 -1
- package/dist/commands/admin/seedRegistryEntries.test.js +69 -30
- package/dist/commands/admin/seedRegistryEntries.test.js.map +1 -1
- package/dist/commands/admin/seedRowType.d.ts +22 -0
- package/dist/commands/admin/seedRowType.d.ts.map +1 -0
- package/dist/commands/admin/seedRowType.js +2 -0
- package/dist/commands/admin/seedRowType.js.map +1 -0
- package/dist/commands/admin/seedStatusColor.d.ts +9 -0
- package/dist/commands/admin/seedStatusColor.d.ts.map +1 -0
- package/dist/commands/admin/seedStatusColor.js +19 -0
- package/dist/commands/admin/seedStatusColor.js.map +1 -0
- package/dist/commands/admin/seedStatusColor.test.d.ts +2 -0
- package/dist/commands/admin/seedStatusColor.test.d.ts.map +1 -0
- package/dist/commands/admin/seedStatusColor.test.js +31 -0
- package/dist/commands/admin/seedStatusColor.test.js.map +1 -0
- package/dist/commands/brief.d.ts.map +1 -1
- package/dist/commands/brief.js +27 -10
- package/dist/commands/brief.js.map +1 -1
- package/dist/commands/capture.d.ts +15 -16
- package/dist/commands/capture.d.ts.map +1 -1
- package/dist/commands/capture.js +134 -337
- package/dist/commands/capture.js.map +1 -1
- package/dist/commands/chain-walk.d.ts.map +1 -1
- package/dist/commands/chain-walk.js +1 -3
- package/dist/commands/chain-walk.js.map +1 -1
- package/dist/commands/changes.d.ts.map +1 -1
- package/dist/commands/changes.js +1 -3
- package/dist/commands/changes.js.map +1 -1
- package/dist/commands/codex-prep.d.ts +3 -3
- package/dist/commands/codex-prep.d.ts.map +1 -1
- package/dist/commands/codex-prep.js +4 -6
- package/dist/commands/codex-prep.js.map +1 -1
- package/dist/commands/collections.d.ts +1 -1
- package/dist/commands/collections.d.ts.map +1 -1
- package/dist/commands/collections.js +5 -13
- package/dist/commands/collections.js.map +1 -1
- package/dist/commands/conflicts.d.ts +55 -0
- package/dist/commands/conflicts.d.ts.map +1 -0
- package/dist/commands/conflicts.js +265 -0
- package/dist/commands/conflicts.js.map +1 -0
- package/dist/commands/conflicts.test.d.ts +2 -0
- package/dist/commands/conflicts.test.d.ts.map +1 -0
- package/dist/commands/conflicts.test.js +264 -0
- package/dist/commands/conflicts.test.js.map +1 -0
- package/dist/commands/connect-config.test.js +12 -9
- package/dist/commands/connect-config.test.js.map +1 -1
- package/dist/commands/connect-decline.test.d.ts +2 -0
- package/dist/commands/connect-decline.test.d.ts.map +1 -0
- package/dist/commands/connect-decline.test.js +70 -0
- package/dist/commands/connect-decline.test.js.map +1 -0
- package/dist/commands/connect-integration.test.d.ts +2 -2
- package/dist/commands/connect-integration.test.js +38 -18
- package/dist/commands/connect-integration.test.js.map +1 -1
- package/dist/commands/connect-legacy-migration.test.d.ts +2 -0
- package/dist/commands/connect-legacy-migration.test.d.ts.map +1 -0
- package/dist/commands/connect-legacy-migration.test.js +108 -0
- package/dist/commands/connect-legacy-migration.test.js.map +1 -0
- package/dist/commands/connect-redeem-failure.test.d.ts +2 -0
- package/dist/commands/connect-redeem-failure.test.d.ts.map +1 -0
- package/dist/commands/connect-redeem-failure.test.js +133 -0
- package/dist/commands/connect-redeem-failure.test.js.map +1 -0
- package/dist/commands/connect-screens.d.ts +11 -17
- package/dist/commands/connect-screens.d.ts.map +1 -1
- package/dist/commands/connect-screens.js +19 -81
- package/dist/commands/connect-screens.js.map +1 -1
- package/dist/commands/connect-screens.test.d.ts +2 -0
- package/dist/commands/connect-screens.test.d.ts.map +1 -0
- package/dist/commands/connect-screens.test.js +19 -0
- package/dist/commands/connect-screens.test.js.map +1 -0
- package/dist/commands/connect-seal.test.d.ts +2 -0
- package/dist/commands/connect-seal.test.d.ts.map +1 -0
- package/dist/commands/connect-seal.test.js +54 -0
- package/dist/commands/connect-seal.test.js.map +1 -0
- package/dist/commands/connect.d.ts +16 -14
- package/dist/commands/connect.d.ts.map +1 -1
- package/dist/commands/connect.js +254 -89
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/connect.test.js +268 -30
- package/dist/commands/connect.test.js.map +1 -1
- package/dist/commands/constellation.d.ts.map +1 -1
- package/dist/commands/constellation.js +1 -3
- package/dist/commands/constellation.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +1 -3
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/cross-cut.d.ts.map +1 -1
- package/dist/commands/cross-cut.js +1 -3
- package/dist/commands/cross-cut.js.map +1 -1
- package/dist/commands/direction.d.ts +10 -0
- package/dist/commands/direction.d.ts.map +1 -0
- package/dist/commands/direction.js +75 -0
- package/dist/commands/direction.js.map +1 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +115 -48
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/doctor.test.js +220 -29
- package/dist/commands/doctor.test.js.map +1 -1
- package/dist/commands/entryAccept.d.ts +63 -0
- package/dist/commands/entryAccept.d.ts.map +1 -0
- package/dist/commands/entryAccept.js +307 -0
- package/dist/commands/entryAccept.js.map +1 -0
- package/dist/commands/entryDiscardResolve.d.ts +9 -0
- package/dist/commands/entryDiscardResolve.d.ts.map +1 -0
- package/dist/commands/entryDiscardResolve.js +27 -0
- package/dist/commands/entryDiscardResolve.js.map +1 -0
- package/dist/commands/entryOwn.d.ts +10 -0
- package/dist/commands/entryOwn.d.ts.map +1 -0
- package/dist/commands/entryOwn.js +40 -0
- package/dist/commands/entryOwn.js.map +1 -0
- package/dist/commands/entryPreflight.d.ts +13 -0
- package/dist/commands/entryPreflight.d.ts.map +1 -0
- package/dist/commands/entryPreflight.js +58 -0
- package/dist/commands/entryPreflight.js.map +1 -0
- package/dist/commands/entryReplace.d.ts +7 -0
- package/dist/commands/entryReplace.d.ts.map +1 -0
- package/dist/commands/entryReplace.js +34 -0
- package/dist/commands/entryReplace.js.map +1 -0
- package/dist/commands/entryTick.d.ts +8 -0
- package/dist/commands/entryTick.d.ts.map +1 -0
- package/dist/commands/entryTick.js +42 -0
- package/dist/commands/entryTick.js.map +1 -0
- package/dist/commands/feedback.d.ts +39 -0
- package/dist/commands/feedback.d.ts.map +1 -0
- package/dist/commands/feedback.js +165 -0
- package/dist/commands/feedback.js.map +1 -0
- package/dist/commands/feedback.test.d.ts +2 -0
- package/dist/commands/feedback.test.d.ts.map +1 -0
- package/dist/commands/feedback.test.js +109 -0
- package/dist/commands/feedback.test.js.map +1 -0
- package/dist/commands/fields.d.ts.map +1 -1
- package/dist/commands/fields.js +2 -4
- package/dist/commands/fields.js.map +1 -1
- package/dist/commands/files.d.ts +26 -0
- package/dist/commands/files.d.ts.map +1 -0
- package/dist/commands/files.js +160 -0
- package/dist/commands/files.js.map +1 -0
- package/dist/commands/files.test.d.ts +2 -0
- package/dist/commands/files.test.d.ts.map +1 -0
- package/dist/commands/files.test.js +278 -0
- package/dist/commands/files.test.js.map +1 -0
- package/dist/commands/get.d.ts +5 -8
- package/dist/commands/get.d.ts.map +1 -1
- package/dist/commands/get.js +33 -48
- package/dist/commands/get.js.map +1 -1
- package/dist/commands/history.d.ts +32 -0
- package/dist/commands/history.d.ts.map +1 -0
- package/dist/commands/history.js +55 -0
- package/dist/commands/history.js.map +1 -0
- package/dist/commands/history.test.d.ts +2 -0
- package/dist/commands/history.test.d.ts.map +1 -0
- package/dist/commands/history.test.js +135 -0
- package/dist/commands/history.test.js.map +1 -0
- package/dist/commands/init.d.ts +29 -2
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +178 -21
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/login.d.ts +2 -2
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +36 -22
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/method.d.ts +5 -97
- package/dist/commands/method.d.ts.map +1 -1
- package/dist/commands/method.js +47 -776
- package/dist/commands/method.js.map +1 -1
- package/dist/commands/organisation.d.ts +12 -0
- package/dist/commands/organisation.d.ts.map +1 -0
- package/dist/commands/organisation.js +143 -0
- package/dist/commands/organisation.js.map +1 -0
- package/dist/commands/organisation.test.d.ts +2 -0
- package/dist/commands/organisation.test.d.ts.map +1 -0
- package/dist/commands/organisation.test.js +116 -0
- package/dist/commands/organisation.test.js.map +1 -0
- package/dist/commands/organisationHierarchy.d.ts +15 -0
- package/dist/commands/organisationHierarchy.d.ts.map +1 -0
- package/dist/commands/organisationHierarchy.js +102 -0
- package/dist/commands/organisationHierarchy.js.map +1 -0
- package/dist/commands/organisationHierarchy.test.d.ts +2 -0
- package/dist/commands/organisationHierarchy.test.d.ts.map +1 -0
- package/dist/commands/organisationHierarchy.test.js +144 -0
- package/dist/commands/organisationHierarchy.test.js.map +1 -0
- package/dist/commands/organisationWrite.d.ts +22 -0
- package/dist/commands/organisationWrite.d.ts.map +1 -0
- package/dist/commands/organisationWrite.js +46 -0
- package/dist/commands/organisationWrite.js.map +1 -0
- package/dist/commands/orient.d.ts +34 -129
- package/dist/commands/orient.d.ts.map +1 -1
- package/dist/commands/orient.js +147 -40
- package/dist/commands/orient.js.map +1 -1
- package/dist/commands/outcome.d.ts +131 -0
- package/dist/commands/outcome.d.ts.map +1 -0
- package/dist/commands/outcome.js +239 -0
- package/dist/commands/outcome.js.map +1 -0
- package/dist/commands/outcome.test.d.ts +2 -0
- package/dist/commands/outcome.test.d.ts.map +1 -0
- package/dist/commands/outcome.test.js +413 -0
- package/dist/commands/outcome.test.js.map +1 -0
- package/dist/commands/people.d.ts +6 -0
- package/dist/commands/people.d.ts.map +1 -0
- package/dist/commands/people.js +21 -0
- package/dist/commands/people.js.map +1 -0
- package/dist/commands/people.test.d.ts +2 -0
- package/dist/commands/people.test.d.ts.map +1 -0
- package/dist/commands/people.test.js +61 -0
- package/dist/commands/people.test.js.map +1 -0
- package/dist/commands/profile.d.ts +42 -4
- package/dist/commands/profile.d.ts.map +1 -1
- package/dist/commands/profile.js +222 -36
- package/dist/commands/profile.js.map +1 -1
- package/dist/commands/proof-run.d.ts.map +1 -1
- package/dist/commands/proof-run.js +12 -10
- package/dist/commands/proof-run.js.map +1 -1
- package/dist/commands/quality.d.ts +38 -0
- package/dist/commands/quality.d.ts.map +1 -0
- package/dist/commands/quality.js +99 -0
- package/dist/commands/quality.js.map +1 -0
- package/dist/commands/questions.d.ts +28 -0
- package/dist/commands/questions.d.ts.map +1 -0
- package/dist/commands/questions.js +279 -0
- package/dist/commands/questions.js.map +1 -0
- package/dist/commands/questions.test.d.ts +2 -0
- package/dist/commands/questions.test.d.ts.map +1 -0
- package/dist/commands/questions.test.js +297 -0
- package/dist/commands/questions.test.js.map +1 -0
- package/dist/commands/relate.d.ts +10 -0
- package/dist/commands/relate.d.ts.map +1 -1
- package/dist/commands/relate.js +119 -26
- package/dist/commands/relate.js.map +1 -1
- package/dist/commands/restore.d.ts +2 -0
- package/dist/commands/restore.d.ts.map +1 -0
- package/dist/commands/restore.js +88 -0
- package/dist/commands/restore.js.map +1 -0
- package/dist/commands/rework.d.ts +24 -0
- package/dist/commands/rework.d.ts.map +1 -0
- package/dist/commands/rework.js +96 -0
- package/dist/commands/rework.js.map +1 -0
- package/dist/commands/role.d.ts +98 -0
- package/dist/commands/role.d.ts.map +1 -0
- package/dist/commands/role.js +185 -0
- package/dist/commands/role.js.map +1 -0
- package/dist/commands/role.test.d.ts +2 -0
- package/dist/commands/role.test.d.ts.map +1 -0
- package/dist/commands/role.test.js +438 -0
- package/dist/commands/role.test.js.map +1 -0
- package/dist/commands/scoreboard.d.ts +4 -9
- package/dist/commands/scoreboard.d.ts.map +1 -1
- package/dist/commands/scoreboard.js +7 -14
- package/dist/commands/scoreboard.js.map +1 -1
- package/dist/commands/scoreboard.test.d.ts +2 -0
- package/dist/commands/scoreboard.test.d.ts.map +1 -0
- package/dist/commands/scoreboard.test.js +51 -0
- package/dist/commands/scoreboard.test.js.map +1 -0
- package/dist/commands/search.d.ts +14 -2
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/search.js +52 -6
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/seatWake.d.ts +39 -0
- package/dist/commands/seatWake.d.ts.map +1 -0
- package/dist/commands/seatWake.js +50 -0
- package/dist/commands/seatWake.js.map +1 -0
- package/dist/commands/session-hook.d.ts +38 -0
- package/dist/commands/session-hook.d.ts.map +1 -0
- package/dist/commands/session-hook.js +97 -0
- package/dist/commands/session-hook.js.map +1 -0
- package/dist/commands/session-hook.test.d.ts +2 -0
- package/dist/commands/session-hook.test.d.ts.map +1 -0
- package/dist/commands/session-hook.test.js +89 -0
- package/dist/commands/session-hook.test.js.map +1 -0
- package/dist/commands/session.d.ts +38 -5
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +297 -215
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/status.d.ts +7 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +101 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/status.test.d.ts +2 -0
- package/dist/commands/status.test.d.ts.map +1 -0
- package/dist/commands/status.test.js +75 -0
- package/dist/commands/status.test.js.map +1 -0
- package/dist/commands/stillTrue.d.ts +14 -0
- package/dist/commands/stillTrue.d.ts.map +1 -0
- package/dist/commands/stillTrue.js +47 -0
- package/dist/commands/stillTrue.js.map +1 -0
- package/dist/commands/tasksList.d.ts +15 -0
- package/dist/commands/tasksList.d.ts.map +1 -0
- package/dist/commands/tasksList.js +67 -0
- package/dist/commands/tasksList.js.map +1 -0
- package/dist/commands/tensionsList.d.ts +5 -0
- package/dist/commands/tensionsList.d.ts.map +1 -0
- package/dist/commands/tensionsList.js +25 -0
- package/dist/commands/tensionsList.js.map +1 -0
- package/dist/commands/update.d.ts +19 -2
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +192 -28
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/upgrade.js +9 -9
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/commands/usage.d.ts.map +1 -1
- package/dist/commands/usage.js +0 -18
- package/dist/commands/usage.js.map +1 -1
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +9 -6
- package/dist/commands/verify.js.map +1 -1
- package/dist/commands/welcome.d.ts.map +1 -1
- package/dist/commands/welcome.js +7 -3
- package/dist/commands/welcome.js.map +1 -1
- package/dist/commands/whoami.d.ts +13 -2
- package/dist/commands/whoami.d.ts.map +1 -1
- package/dist/commands/whoami.js +82 -20
- package/dist/commands/whoami.js.map +1 -1
- package/dist/commands/whoami.test.js +101 -6
- package/dist/commands/whoami.test.js.map +1 -1
- package/dist/commands/workspace.d.ts +7 -74
- package/dist/commands/workspace.d.ts.map +1 -1
- package/dist/commands/workspace.js +8 -76
- package/dist/commands/workspace.js.map +1 -1
- package/dist/formatters/__tests__/chainWalk.test.d.ts +2 -0
- package/dist/formatters/__tests__/chainWalk.test.d.ts.map +1 -0
- package/dist/formatters/__tests__/chainWalk.test.js +52 -0
- package/dist/formatters/__tests__/chainWalk.test.js.map +1 -0
- package/dist/formatters/__tests__/orient-openTasks.test.d.ts +2 -0
- package/dist/formatters/__tests__/orient-openTasks.test.d.ts.map +1 -0
- package/dist/formatters/__tests__/orient-openTasks.test.js +76 -0
- package/dist/formatters/__tests__/orient-openTasks.test.js.map +1 -0
- package/dist/formatters/__tests__/orient-plannedWorkCut.test.d.ts +2 -0
- package/dist/formatters/__tests__/orient-plannedWorkCut.test.d.ts.map +1 -0
- package/dist/formatters/__tests__/orient-plannedWorkCut.test.js +47 -0
- package/dist/formatters/__tests__/orient-plannedWorkCut.test.js.map +1 -0
- package/dist/formatters/__tests__/orient-provenance.test.d.ts +2 -3
- package/dist/formatters/__tests__/orient-provenance.test.d.ts.map +1 -1
- package/dist/formatters/__tests__/orient-provenance.test.js +41 -187
- package/dist/formatters/__tests__/orient-provenance.test.js.map +1 -1
- package/dist/formatters/__tests__/orient-ruleLists.test.d.ts +2 -0
- package/dist/formatters/__tests__/orient-ruleLists.test.d.ts.map +1 -0
- package/dist/formatters/__tests__/orient-ruleLists.test.js +92 -0
- package/dist/formatters/__tests__/orient-ruleLists.test.js.map +1 -0
- package/dist/formatters/__tests__/orient-workPackageList.test.d.ts +2 -0
- package/dist/formatters/__tests__/orient-workPackageList.test.d.ts.map +1 -0
- package/dist/formatters/__tests__/orient-workPackageList.test.js +68 -0
- package/dist/formatters/__tests__/orient-workPackageList.test.js.map +1 -0
- package/dist/formatters/__tests__/session-list-show.test.d.ts +2 -0
- package/dist/formatters/__tests__/session-list-show.test.d.ts.map +1 -0
- package/dist/formatters/__tests__/session-list-show.test.js +199 -0
- package/dist/formatters/__tests__/session-list-show.test.js.map +1 -0
- package/dist/formatters/__tests__/session.test.js +203 -43
- package/dist/formatters/__tests__/session.test.js.map +1 -1
- package/dist/formatters/__tests__/tensionsList.test.d.ts +2 -0
- package/dist/formatters/__tests__/tensionsList.test.d.ts.map +1 -0
- package/dist/formatters/__tests__/tensionsList.test.js +30 -0
- package/dist/formatters/__tests__/tensionsList.test.js.map +1 -0
- package/dist/formatters/brief.d.ts +9 -18
- package/dist/formatters/brief.d.ts.map +1 -1
- package/dist/formatters/brief.js +22 -23
- package/dist/formatters/brief.js.map +1 -1
- package/dist/formatters/brief.test.d.ts +2 -0
- package/dist/formatters/brief.test.d.ts.map +1 -0
- package/dist/formatters/brief.test.js +69 -0
- package/dist/formatters/brief.test.js.map +1 -0
- package/dist/formatters/capture.d.ts +34 -17
- package/dist/formatters/capture.d.ts.map +1 -1
- package/dist/formatters/capture.js +54 -19
- package/dist/formatters/capture.js.map +1 -1
- package/dist/formatters/chain-walk.d.ts +4 -0
- package/dist/formatters/chain-walk.d.ts.map +1 -1
- package/dist/formatters/chain-walk.js +7 -5
- package/dist/formatters/chain-walk.js.map +1 -1
- package/dist/formatters/coaching.d.ts +59 -0
- package/dist/formatters/coaching.d.ts.map +1 -0
- package/dist/formatters/coaching.js +51 -0
- package/dist/formatters/coaching.js.map +1 -0
- package/dist/formatters/collections.d.ts +0 -1
- package/dist/formatters/collections.d.ts.map +1 -1
- package/dist/formatters/collections.js +14 -5
- package/dist/formatters/collections.js.map +1 -1
- package/dist/formatters/conflicts.d.ts +104 -0
- package/dist/formatters/conflicts.d.ts.map +1 -0
- package/dist/formatters/conflicts.js +130 -0
- package/dist/formatters/conflicts.js.map +1 -0
- package/dist/formatters/conflicts.test.d.ts +2 -0
- package/dist/formatters/conflicts.test.d.ts.map +1 -0
- package/dist/formatters/conflicts.test.js +236 -0
- package/dist/formatters/conflicts.test.js.map +1 -0
- package/dist/formatters/constellation.d.ts +2 -0
- package/dist/formatters/constellation.d.ts.map +1 -1
- package/dist/formatters/constellation.js +2 -0
- package/dist/formatters/constellation.js.map +1 -1
- package/dist/formatters/context.d.ts +1 -1
- package/dist/formatters/context.d.ts.map +1 -1
- package/dist/formatters/context.js.map +1 -1
- package/dist/formatters/direction.d.ts +48 -0
- package/dist/formatters/direction.d.ts.map +1 -0
- package/dist/formatters/direction.js +75 -0
- package/dist/formatters/direction.js.map +1 -0
- package/dist/formatters/direction.test.d.ts +2 -0
- package/dist/formatters/direction.test.d.ts.map +1 -0
- package/dist/formatters/direction.test.js +70 -0
- package/dist/formatters/direction.test.js.map +1 -0
- package/dist/formatters/entry.d.ts +73 -4
- package/dist/formatters/entry.d.ts.map +1 -1
- package/dist/formatters/entry.js +82 -12
- package/dist/formatters/entry.js.map +1 -1
- package/dist/formatters/entryAccept.d.ts +69 -0
- package/dist/formatters/entryAccept.d.ts.map +1 -0
- package/dist/formatters/entryAccept.js +71 -0
- package/dist/formatters/entryAccept.js.map +1 -0
- package/dist/formatters/feedback.d.ts +61 -0
- package/dist/formatters/feedback.d.ts.map +1 -0
- package/dist/formatters/feedback.js +95 -0
- package/dist/formatters/feedback.js.map +1 -0
- package/dist/formatters/feedback.test.d.ts +2 -0
- package/dist/formatters/feedback.test.d.ts.map +1 -0
- package/dist/formatters/feedback.test.js +142 -0
- package/dist/formatters/feedback.test.js.map +1 -0
- package/dist/formatters/fields.d.ts +7 -1
- package/dist/formatters/fields.d.ts.map +1 -1
- package/dist/formatters/fields.js +9 -3
- package/dist/formatters/fields.js.map +1 -1
- package/dist/formatters/fields.test.d.ts +2 -0
- package/dist/formatters/fields.test.d.ts.map +1 -0
- package/dist/formatters/fields.test.js +42 -0
- package/dist/formatters/fields.test.js.map +1 -0
- package/dist/formatters/orient.coherencyCheckTag.test.d.ts +2 -0
- package/dist/formatters/orient.coherencyCheckTag.test.d.ts.map +1 -0
- package/dist/formatters/orient.coherencyCheckTag.test.js +22 -0
- package/dist/formatters/orient.coherencyCheckTag.test.js.map +1 -0
- package/dist/formatters/orient.d.ts +87 -200
- package/dist/formatters/orient.d.ts.map +1 -1
- package/dist/formatters/orient.js +139 -292
- package/dist/formatters/orient.js.map +1 -1
- package/dist/formatters/orient.rcrtMiss.test.d.ts +2 -0
- package/dist/formatters/orient.rcrtMiss.test.d.ts.map +1 -0
- package/dist/formatters/orient.rcrtMiss.test.js +74 -0
- package/dist/formatters/orient.rcrtMiss.test.js.map +1 -0
- package/dist/formatters/orient.rituals.test.d.ts +2 -0
- package/dist/formatters/orient.rituals.test.d.ts.map +1 -0
- package/dist/formatters/orient.rituals.test.js +69 -0
- package/dist/formatters/orient.rituals.test.js.map +1 -0
- package/dist/formatters/orient.taskAlignment.test.d.ts +2 -0
- package/dist/formatters/orient.taskAlignment.test.d.ts.map +1 -0
- package/dist/formatters/orient.taskAlignment.test.js +69 -0
- package/dist/formatters/orient.taskAlignment.test.js.map +1 -0
- package/dist/formatters/orientDegradation.d.ts +35 -0
- package/dist/formatters/orientDegradation.d.ts.map +1 -0
- package/dist/formatters/orientDegradation.js +47 -0
- package/dist/formatters/orientDegradation.js.map +1 -0
- package/dist/formatters/orientDegradation.test.d.ts +2 -0
- package/dist/formatters/orientDegradation.test.d.ts.map +1 -0
- package/dist/formatters/orientDegradation.test.js +26 -0
- package/dist/formatters/orientDegradation.test.js.map +1 -0
- package/dist/formatters/orientDirection.d.ts +25 -0
- package/dist/formatters/orientDirection.d.ts.map +1 -0
- package/dist/formatters/orientDirection.js +7 -0
- package/dist/formatters/orientDirection.js.map +1 -0
- package/dist/formatters/orientDirection.test.d.ts +2 -0
- package/dist/formatters/orientDirection.test.d.ts.map +1 -0
- package/dist/formatters/orientDirection.test.js +65 -0
- package/dist/formatters/orientDirection.test.js.map +1 -0
- package/dist/formatters/orientRetrievalMiss.d.ts +22 -0
- package/dist/formatters/orientRetrievalMiss.d.ts.map +1 -0
- package/dist/formatters/orientRetrievalMiss.js +17 -0
- package/dist/formatters/orientRetrievalMiss.js.map +1 -0
- package/dist/formatters/plannedWorkCounts.d.ts +21 -0
- package/dist/formatters/plannedWorkCounts.d.ts.map +1 -0
- package/dist/formatters/plannedWorkCounts.js +32 -0
- package/dist/formatters/plannedWorkCounts.js.map +1 -0
- package/dist/formatters/qualityChecks.d.ts +21 -0
- package/dist/formatters/qualityChecks.d.ts.map +1 -0
- package/dist/formatters/qualityChecks.js +137 -0
- package/dist/formatters/qualityChecks.js.map +1 -0
- package/dist/formatters/questions.d.ts +101 -0
- package/dist/formatters/questions.d.ts.map +1 -0
- package/dist/formatters/questions.js +132 -0
- package/dist/formatters/questions.js.map +1 -0
- package/dist/formatters/questions.test.d.ts +2 -0
- package/dist/formatters/questions.test.d.ts.map +1 -0
- package/dist/formatters/questions.test.js +196 -0
- package/dist/formatters/questions.test.js.map +1 -0
- package/dist/formatters/relate.d.ts +13 -2
- package/dist/formatters/relate.d.ts.map +1 -1
- package/dist/formatters/relate.js +15 -5
- package/dist/formatters/relate.js.map +1 -1
- package/dist/formatters/relate.test.d.ts +2 -0
- package/dist/formatters/relate.test.d.ts.map +1 -0
- package/dist/formatters/relate.test.js +91 -0
- package/dist/formatters/relate.test.js.map +1 -0
- package/dist/formatters/scoreboard.d.ts.map +1 -1
- package/dist/formatters/scoreboard.js +99 -3
- package/dist/formatters/scoreboard.js.map +1 -1
- package/dist/formatters/scoreboard.test.d.ts +2 -0
- package/dist/formatters/scoreboard.test.d.ts.map +1 -0
- package/dist/formatters/scoreboard.test.js +265 -0
- package/dist/formatters/scoreboard.test.js.map +1 -0
- package/dist/formatters/search.d.ts +40 -0
- package/dist/formatters/search.d.ts.map +1 -1
- package/dist/formatters/search.js +41 -12
- package/dist/formatters/search.js.map +1 -1
- package/dist/formatters/search.test.d.ts +2 -0
- package/dist/formatters/search.test.d.ts.map +1 -0
- package/dist/formatters/search.test.js +86 -0
- package/dist/formatters/search.test.js.map +1 -0
- package/dist/formatters/session-feedback.test.d.ts +2 -0
- package/dist/formatters/session-feedback.test.d.ts.map +1 -0
- package/dist/formatters/session-feedback.test.js +282 -0
- package/dist/formatters/session-feedback.test.js.map +1 -0
- package/dist/formatters/session.d.ts +108 -13
- package/dist/formatters/session.d.ts.map +1 -1
- package/dist/formatters/session.js +244 -83
- package/dist/formatters/session.js.map +1 -1
- package/dist/formatters/spineCheck.d.ts +14 -0
- package/dist/formatters/spineCheck.d.ts.map +1 -0
- package/dist/formatters/spineCheck.js +129 -0
- package/dist/formatters/spineCheck.js.map +1 -0
- package/dist/formatters/spineCheck.test.d.ts +2 -0
- package/dist/formatters/spineCheck.test.d.ts.map +1 -0
- package/dist/formatters/spineCheck.test.js +85 -0
- package/dist/formatters/spineCheck.test.js.map +1 -0
- package/dist/formatters/tensionsList.d.ts +17 -0
- package/dist/formatters/tensionsList.d.ts.map +1 -0
- package/dist/formatters/tensionsList.js +33 -0
- package/dist/formatters/tensionsList.js.map +1 -0
- package/dist/formatters/update.d.ts +28 -0
- package/dist/formatters/update.d.ts.map +1 -1
- package/dist/formatters/update.js +41 -7
- package/dist/formatters/update.js.map +1 -1
- package/dist/formatters/update.test.d.ts +2 -0
- package/dist/formatters/update.test.d.ts.map +1 -0
- package/dist/formatters/update.test.js +80 -0
- package/dist/formatters/update.test.js.map +1 -0
- package/dist/formatters/verify.d.ts +12 -4
- package/dist/formatters/verify.d.ts.map +1 -1
- package/dist/formatters/verify.js +22 -2
- package/dist/formatters/verify.js.map +1 -1
- package/dist/generated/healthGapKinds.generated.d.ts +12 -0
- package/dist/generated/healthGapKinds.generated.d.ts.map +1 -0
- package/dist/generated/healthGapKinds.generated.js +16 -0
- package/dist/generated/healthGapKinds.generated.js.map +1 -0
- package/dist/generated/organisationalAuthorityRefusalCodes.generated.d.ts +12 -0
- package/dist/generated/organisationalAuthorityRefusalCodes.generated.d.ts.map +1 -0
- package/dist/generated/organisationalAuthorityRefusalCodes.generated.js +11 -0
- package/dist/generated/organisationalAuthorityRefusalCodes.generated.js.map +1 -0
- package/dist/generated/routeLatencyBudget.generated.d.ts +65 -0
- package/dist/generated/routeLatencyBudget.generated.d.ts.map +1 -0
- package/dist/generated/routeLatencyBudget.generated.js +279 -0
- package/dist/generated/routeLatencyBudget.generated.js.map +1 -0
- package/dist/handleCliError.d.ts +38 -0
- package/dist/handleCliError.d.ts.map +1 -0
- package/dist/handleCliError.js +132 -0
- package/dist/handleCliError.js.map +1 -0
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +199 -713
- package/dist/index.js.map +1 -1
- package/dist/lib/__tests__/parseFields.test.js +21 -0
- package/dist/lib/__tests__/parseFields.test.js.map +1 -1
- package/dist/lib/__tests__/tasksUnderWords.test.d.ts +2 -0
- package/dist/lib/__tests__/tasksUnderWords.test.d.ts.map +1 -0
- package/dist/lib/__tests__/tasksUnderWords.test.js +82 -0
- package/dist/lib/__tests__/tasksUnderWords.test.js.map +1 -0
- package/dist/lib/adminConfig.d.ts +48 -0
- package/dist/lib/adminConfig.d.ts.map +1 -0
- package/dist/lib/adminConfig.js +126 -0
- package/dist/lib/adminConfig.js.map +1 -0
- package/dist/lib/attestationWords.d.ts +22 -0
- package/dist/lib/attestationWords.d.ts.map +1 -0
- package/dist/lib/attestationWords.js +30 -0
- package/dist/lib/attestationWords.js.map +1 -0
- package/dist/lib/boundScope.d.ts +95 -0
- package/dist/lib/boundScope.d.ts.map +1 -0
- package/dist/lib/boundScope.js +207 -0
- package/dist/lib/boundScope.js.map +1 -0
- package/dist/lib/canonicalRefs.d.ts +28 -14
- package/dist/lib/canonicalRefs.d.ts.map +1 -1
- package/dist/lib/canonicalRefs.js +9 -28
- package/dist/lib/canonicalRefs.js.map +1 -1
- package/dist/lib/captureLink.d.ts +7 -0
- package/dist/lib/captureLink.d.ts.map +1 -0
- package/dist/lib/captureLink.js +29 -0
- package/dist/lib/captureLink.js.map +1 -0
- package/dist/lib/changedByBlank.d.ts +12 -0
- package/dist/lib/changedByBlank.d.ts.map +1 -0
- package/dist/lib/changedByBlank.js +11 -0
- package/dist/lib/changedByBlank.js.map +1 -0
- package/dist/lib/checklist.d.ts +173 -0
- package/dist/lib/checklist.d.ts.map +1 -0
- package/dist/lib/checklist.js +260 -0
- package/dist/lib/checklist.js.map +1 -0
- package/dist/lib/cliFirstRun.d.ts +36 -0
- package/dist/lib/cliFirstRun.d.ts.map +1 -0
- package/dist/lib/cliFirstRun.js +36 -0
- package/dist/lib/cliFirstRun.js.map +1 -0
- package/dist/lib/client.d.ts +31 -28
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +263 -113
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/compose-wrapup-view.d.ts +23 -5
- package/dist/lib/compose-wrapup-view.d.ts.map +1 -1
- package/dist/lib/compose-wrapup-view.js +6 -4
- package/dist/lib/compose-wrapup-view.js.map +1 -1
- package/dist/lib/config.d.ts +65 -117
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +171 -402
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/configResult.d.ts +110 -0
- package/dist/lib/configResult.d.ts.map +1 -0
- package/dist/lib/configResult.js +189 -0
- package/dist/lib/configResult.js.map +1 -0
- package/dist/lib/conflictResolution.d.ts +132 -0
- package/dist/lib/conflictResolution.d.ts.map +1 -0
- package/dist/lib/conflictResolution.js +96 -0
- package/dist/lib/conflictResolution.js.map +1 -0
- package/dist/lib/connectKeyLabel.d.ts +2 -2
- package/dist/lib/connectKeyLabel.js +2 -2
- package/dist/lib/connectProfileName.d.ts +36 -0
- package/dist/lib/connectProfileName.d.ts.map +1 -0
- package/dist/lib/connectProfileName.js +72 -0
- package/dist/lib/connectProfileName.js.map +1 -0
- package/dist/lib/connectProfileName.test.d.ts +2 -0
- package/dist/lib/connectProfileName.test.d.ts.map +1 -0
- package/dist/lib/connectProfileName.test.js +100 -0
- package/dist/lib/connectProfileName.test.js.map +1 -0
- package/dist/lib/constants.d.ts +7 -2
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/constants.js +9 -2
- package/dist/lib/constants.js.map +1 -1
- package/dist/lib/conversation.d.ts +48 -0
- package/dist/lib/conversation.d.ts.map +1 -0
- package/dist/lib/conversation.js +136 -0
- package/dist/lib/conversation.js.map +1 -0
- package/dist/lib/createEntryResult.d.ts +34 -0
- package/dist/lib/createEntryResult.d.ts.map +1 -0
- package/dist/lib/createEntryResult.js +12 -0
- package/dist/lib/createEntryResult.js.map +1 -0
- package/dist/lib/dateValidation.d.ts +9 -0
- package/dist/lib/dateValidation.d.ts.map +1 -0
- package/dist/lib/dateValidation.js +38 -0
- package/dist/lib/dateValidation.js.map +1 -0
- package/dist/lib/deployment.js +2 -2
- package/dist/lib/deployment.js.map +1 -1
- package/dist/lib/deployment.test.js +20 -1
- package/dist/lib/deployment.test.js.map +1 -1
- package/dist/lib/envKeySnapshot.d.ts +10 -0
- package/dist/lib/envKeySnapshot.d.ts.map +1 -0
- package/dist/lib/envKeySnapshot.js +30 -0
- package/dist/lib/envKeySnapshot.js.map +1 -0
- package/dist/lib/errors.d.ts +93 -1
- package/dist/lib/errors.d.ts.map +1 -1
- package/dist/lib/errors.js +89 -1
- package/dist/lib/errors.js.map +1 -1
- package/dist/lib/gatewayTimeout.d.ts +86 -0
- package/dist/lib/gatewayTimeout.d.ts.map +1 -0
- package/dist/lib/gatewayTimeout.js +132 -0
- package/dist/lib/gatewayTimeout.js.map +1 -0
- package/dist/lib/gitEnvLeakKeysParity.test.d.ts +2 -0
- package/dist/lib/gitEnvLeakKeysParity.test.d.ts.map +1 -0
- package/dist/lib/gitEnvLeakKeysParity.test.js +73 -0
- package/dist/lib/gitEnvLeakKeysParity.test.js.map +1 -0
- package/dist/lib/glossary.d.ts +3 -15
- package/dist/lib/glossary.d.ts.map +1 -1
- package/dist/lib/glossary.js +6 -47
- package/dist/lib/glossary.js.map +1 -1
- package/dist/lib/historyLine.d.ts +52 -0
- package/dist/lib/historyLine.d.ts.map +1 -0
- package/dist/lib/historyLine.js +107 -0
- package/dist/lib/historyLine.js.map +1 -0
- package/dist/lib/judgeWait.d.ts +50 -0
- package/dist/lib/judgeWait.d.ts.map +1 -0
- package/dist/lib/judgeWait.js +64 -0
- package/dist/lib/judgeWait.js.map +1 -0
- package/dist/lib/kernelEnvelope.d.ts +65 -0
- package/dist/lib/kernelEnvelope.d.ts.map +1 -0
- package/dist/lib/kernelEnvelope.js +117 -0
- package/dist/lib/kernelEnvelope.js.map +1 -0
- package/dist/lib/keyResultLines.d.ts +27 -0
- package/dist/lib/keyResultLines.d.ts.map +1 -0
- package/dist/lib/keyResultLines.js +32 -0
- package/dist/lib/keyResultLines.js.map +1 -0
- package/dist/lib/limits.d.ts +155 -0
- package/dist/lib/limits.d.ts.map +1 -0
- package/dist/lib/limits.js +233 -0
- package/dist/lib/limits.js.map +1 -0
- package/dist/lib/localBinding.d.ts +86 -0
- package/dist/lib/localBinding.d.ts.map +1 -0
- package/dist/lib/localBinding.js +173 -0
- package/dist/lib/localBinding.js.map +1 -0
- package/dist/lib/nameFromText.d.ts +15 -0
- package/dist/lib/nameFromText.d.ts.map +1 -0
- package/dist/lib/nameFromText.js +36 -0
- package/dist/lib/nameFromText.js.map +1 -0
- package/dist/lib/notFoundLine.d.ts +10 -0
- package/dist/lib/notFoundLine.d.ts.map +1 -0
- package/dist/lib/notFoundLine.js +15 -0
- package/dist/lib/notFoundLine.js.map +1 -0
- package/dist/lib/notice-marker.d.ts.map +1 -1
- package/dist/lib/notice-marker.js +186 -16
- package/dist/lib/notice-marker.js.map +1 -1
- package/dist/lib/outcomeObjectiveLines.d.ts +34 -0
- package/dist/lib/outcomeObjectiveLines.d.ts.map +1 -0
- package/dist/lib/outcomeObjectiveLines.js +30 -0
- package/dist/lib/outcomeObjectiveLines.js.map +1 -0
- package/dist/lib/ownerLine.d.ts +90 -0
- package/dist/lib/ownerLine.d.ts.map +1 -0
- package/dist/lib/ownerLine.js +77 -0
- package/dist/lib/ownerLine.js.map +1 -0
- package/dist/lib/parseFields.d.ts +13 -0
- package/dist/lib/parseFields.d.ts.map +1 -1
- package/dist/lib/parseFields.js +20 -1
- package/dist/lib/parseFields.js.map +1 -1
- package/dist/lib/pinnedRole.d.ts +29 -0
- package/dist/lib/pinnedRole.d.ts.map +1 -0
- package/dist/lib/pinnedRole.js +115 -0
- package/dist/lib/pinnedRole.js.map +1 -0
- package/dist/lib/platformGlossary.d.ts +22 -0
- package/dist/lib/platformGlossary.d.ts.map +1 -0
- package/dist/lib/platformGlossary.js +26 -0
- package/dist/lib/platformGlossary.js.map +1 -0
- package/dist/lib/previewBanner.d.ts +9 -0
- package/dist/lib/previewBanner.d.ts.map +1 -0
- package/dist/lib/previewBanner.js +36 -0
- package/dist/lib/previewBanner.js.map +1 -0
- package/dist/lib/priority.d.ts +64 -0
- package/dist/lib/priority.d.ts.map +1 -0
- package/dist/lib/priority.js +31 -0
- package/dist/lib/priority.js.map +1 -0
- package/dist/lib/privateFile.d.ts +13 -0
- package/dist/lib/privateFile.d.ts.map +1 -0
- package/dist/lib/privateFile.js +65 -0
- package/dist/lib/privateFile.js.map +1 -0
- package/dist/lib/privateFile.test.d.ts +2 -0
- package/dist/lib/privateFile.test.d.ts.map +1 -0
- package/dist/lib/privateFile.test.js +76 -0
- package/dist/lib/privateFile.test.js.map +1 -0
- package/dist/lib/productbrain-files.d.ts +108 -0
- package/dist/lib/productbrain-files.d.ts.map +1 -0
- package/dist/lib/productbrain-files.js +240 -0
- package/dist/lib/productbrain-files.js.map +1 -0
- package/dist/lib/productbrain-files.test.d.ts +2 -0
- package/dist/lib/productbrain-files.test.d.ts.map +1 -0
- package/dist/lib/productbrain-files.test.js +518 -0
- package/dist/lib/productbrain-files.test.js.map +1 -0
- package/dist/lib/profiles.d.ts +52 -4
- package/dist/lib/profiles.d.ts.map +1 -1
- package/dist/lib/profiles.js +75 -23
- package/dist/lib/profiles.js.map +1 -1
- package/dist/lib/projectConfig.d.ts +130 -0
- package/dist/lib/projectConfig.d.ts.map +1 -0
- package/dist/lib/projectConfig.js +252 -0
- package/dist/lib/projectConfig.js.map +1 -0
- package/dist/lib/prompts.d.ts +2 -0
- package/dist/lib/prompts.d.ts.map +1 -1
- package/dist/lib/prompts.js +2 -0
- package/dist/lib/prompts.js.map +1 -1
- package/dist/lib/proseBody.d.ts +14 -0
- package/dist/lib/proseBody.d.ts.map +1 -0
- package/dist/lib/proseBody.js +25 -0
- package/dist/lib/proseBody.js.map +1 -0
- package/dist/lib/rate-limit.d.ts +40 -0
- package/dist/lib/rate-limit.d.ts.map +1 -0
- package/dist/lib/rate-limit.js +89 -0
- package/dist/lib/rate-limit.js.map +1 -0
- package/dist/lib/readinessNotices.d.ts +2 -0
- package/dist/lib/readinessNotices.d.ts.map +1 -0
- package/dist/lib/readinessNotices.js +12 -0
- package/dist/lib/readinessNotices.js.map +1 -0
- package/dist/lib/replyLines.d.ts +22 -0
- package/dist/lib/replyLines.d.ts.map +1 -0
- package/dist/lib/replyLines.js +69 -0
- package/dist/lib/replyLines.js.map +1 -0
- package/dist/lib/reportedProfile.d.ts +18 -0
- package/dist/lib/reportedProfile.d.ts.map +1 -0
- package/dist/lib/reportedProfile.js +148 -0
- package/dist/lib/reportedProfile.js.map +1 -0
- package/dist/lib/restsOn.d.ts +33 -0
- package/dist/lib/restsOn.d.ts.map +1 -0
- package/dist/lib/restsOn.js +34 -0
- package/dist/lib/restsOn.js.map +1 -0
- package/dist/lib/routeCommandWords.d.ts +13 -0
- package/dist/lib/routeCommandWords.d.ts.map +1 -0
- package/dist/lib/routeCommandWords.js +27 -0
- package/dist/lib/routeCommandWords.js.map +1 -0
- package/dist/lib/ruleListRender.d.ts +325 -0
- package/dist/lib/ruleListRender.d.ts.map +1 -0
- package/dist/lib/ruleListRender.js +393 -0
- package/dist/lib/ruleListRender.js.map +1 -0
- package/dist/lib/runner.d.ts +9 -1
- package/dist/lib/runner.d.ts.map +1 -1
- package/dist/lib/runner.js +30 -4
- package/dist/lib/runner.js.map +1 -1
- package/dist/lib/seatRoster.d.ts +65 -0
- package/dist/lib/seatRoster.d.ts.map +1 -0
- package/dist/lib/seatRoster.js +41 -0
- package/dist/lib/seatRoster.js.map +1 -0
- package/dist/lib/seatSentence.d.ts +250 -0
- package/dist/lib/seatSentence.d.ts.map +1 -0
- package/dist/lib/seatSentence.js +268 -0
- package/dist/lib/seatSentence.js.map +1 -0
- package/dist/lib/session.d.ts +84 -12
- package/dist/lib/session.d.ts.map +1 -1
- package/dist/lib/session.js +238 -24
- package/dist/lib/session.js.map +1 -1
- package/dist/lib/sessionBinding.d.ts +62 -0
- package/dist/lib/sessionBinding.d.ts.map +1 -0
- package/dist/lib/sessionBinding.js +126 -0
- package/dist/lib/sessionBinding.js.map +1 -0
- package/dist/lib/sessionNotices.d.ts +52 -0
- package/dist/lib/sessionNotices.d.ts.map +1 -0
- package/dist/lib/sessionNotices.js +132 -0
- package/dist/lib/sessionNotices.js.map +1 -0
- package/dist/lib/sessionNotices.test.d.ts +2 -0
- package/dist/lib/sessionNotices.test.d.ts.map +1 -0
- package/dist/lib/sessionNotices.test.js +65 -0
- package/dist/lib/sessionNotices.test.js.map +1 -0
- package/dist/lib/sessionOpen.d.ts +31 -0
- package/dist/lib/sessionOpen.d.ts.map +1 -0
- package/dist/lib/sessionOpen.js +68 -0
- package/dist/lib/sessionOpen.js.map +1 -0
- package/dist/lib/sessionStartCommands.d.ts +5 -0
- package/dist/lib/sessionStartCommands.d.ts.map +1 -0
- package/dist/lib/sessionStartCommands.js +12 -0
- package/dist/lib/sessionStartCommands.js.map +1 -0
- package/dist/lib/sessionStartDoors.d.ts +35 -0
- package/dist/lib/sessionStartDoors.d.ts.map +1 -0
- package/dist/lib/sessionStartDoors.js +38 -0
- package/dist/lib/sessionStartDoors.js.map +1 -0
- package/dist/lib/sessionStartWords.d.ts +18 -0
- package/dist/lib/sessionStartWords.d.ts.map +1 -0
- package/dist/lib/sessionStartWords.js +34 -0
- package/dist/lib/sessionStartWords.js.map +1 -0
- package/dist/lib/spineRungs.d.ts +62 -0
- package/dist/lib/spineRungs.d.ts.map +1 -0
- package/dist/lib/spineRungs.js +41 -0
- package/dist/lib/spineRungs.js.map +1 -0
- package/dist/lib/spineVerdictRead.d.ts +76 -0
- package/dist/lib/spineVerdictRead.d.ts.map +1 -0
- package/dist/lib/spineVerdictRead.js +76 -0
- package/dist/lib/spineVerdictRead.js.map +1 -0
- package/dist/lib/spinner.d.ts +3 -0
- package/dist/lib/spinner.d.ts.map +1 -1
- package/dist/lib/spinner.js +46 -32
- package/dist/lib/spinner.js.map +1 -1
- package/dist/lib/spinner.test.js +44 -1
- package/dist/lib/spinner.test.js.map +1 -1
- package/dist/lib/startup-signals.d.ts +12 -0
- package/dist/lib/startup-signals.d.ts.map +1 -0
- package/dist/lib/startup-signals.js +173 -0
- package/dist/lib/startup-signals.js.map +1 -0
- package/dist/lib/startup-signals.test.d.ts +2 -0
- package/dist/lib/startup-signals.test.d.ts.map +1 -0
- package/dist/lib/startup-signals.test.js +165 -0
- package/dist/lib/startup-signals.test.js.map +1 -0
- package/dist/lib/state.d.ts +11 -2
- package/dist/lib/state.d.ts.map +1 -1
- package/dist/lib/state.js +11 -4
- package/dist/lib/state.js.map +1 -1
- package/dist/lib/statusCategories.d.ts +177 -0
- package/dist/lib/statusCategories.d.ts.map +1 -0
- package/dist/lib/statusCategories.js +310 -0
- package/dist/lib/statusCategories.js.map +1 -0
- package/dist/lib/strip.d.ts +17 -0
- package/dist/lib/strip.d.ts.map +1 -1
- package/dist/lib/strip.js +48 -1
- package/dist/lib/strip.js.map +1 -1
- package/dist/lib/style.d.ts +18 -5
- package/dist/lib/style.d.ts.map +1 -1
- package/dist/lib/style.js +34 -20
- package/dist/lib/style.js.map +1 -1
- package/dist/lib/style.test.js +1 -2
- package/dist/lib/style.test.js.map +1 -1
- package/dist/lib/taskDue.d.ts +34 -0
- package/dist/lib/taskDue.d.ts.map +1 -0
- package/dist/lib/taskDue.js +63 -0
- package/dist/lib/taskDue.js.map +1 -0
- package/dist/lib/tokenConstants.d.ts +14 -2
- package/dist/lib/tokenConstants.d.ts.map +1 -1
- package/dist/lib/tokenConstants.js +17 -2
- package/dist/lib/tokenConstants.js.map +1 -1
- package/dist/lib/unavailableWords.d.ts +51 -0
- package/dist/lib/unavailableWords.d.ts.map +1 -0
- package/dist/lib/unavailableWords.js +63 -0
- package/dist/lib/unavailableWords.js.map +1 -0
- package/dist/lib/update-check.d.ts +3 -8
- package/dist/lib/update-check.d.ts.map +1 -1
- package/dist/lib/update-check.js +11 -46
- package/dist/lib/update-check.js.map +1 -1
- package/dist/lib/upgrade-runner.d.ts +20 -4
- package/dist/lib/upgrade-runner.d.ts.map +1 -1
- package/dist/lib/upgrade-runner.js +67 -37
- package/dist/lib/upgrade-runner.js.map +1 -1
- package/dist/lib/walkCutWords.d.ts +45 -0
- package/dist/lib/walkCutWords.d.ts.map +1 -0
- package/dist/lib/walkCutWords.js +41 -0
- package/dist/lib/walkCutWords.js.map +1 -0
- package/dist/lib/workPackageList.d.ts +242 -0
- package/dist/lib/workPackageList.d.ts.map +1 -0
- package/dist/lib/workPackageList.js +221 -0
- package/dist/lib/workPackageList.js.map +1 -0
- package/dist/lib/workspace-probe.d.ts +10 -2
- package/dist/lib/workspace-probe.d.ts.map +1 -1
- package/dist/lib/workspace-probe.js +1 -8
- package/dist/lib/workspace-probe.js.map +1 -1
- package/dist/lib/workspaceNotice.d.ts +201 -0
- package/dist/lib/workspaceNotice.d.ts.map +1 -0
- package/dist/lib/workspaceNotice.js +346 -0
- package/dist/lib/workspaceNotice.js.map +1 -0
- package/dist/lib/workspaceVocabCache.d.ts +3 -9
- package/dist/lib/workspaceVocabCache.d.ts.map +1 -1
- package/dist/lib/workspaceVocabCache.js +3 -9
- package/dist/lib/workspaceVocabCache.js.map +1 -1
- package/dist/registerEntryCommands.d.ts +18 -0
- package/dist/registerEntryCommands.d.ts.map +1 -0
- package/dist/registerEntryCommands.js +152 -0
- package/dist/registerEntryCommands.js.map +1 -0
- package/dist/registerHistoryCommand.d.ts +8 -0
- package/dist/registerHistoryCommand.d.ts.map +1 -0
- package/dist/registerHistoryCommand.js +14 -0
- package/dist/registerHistoryCommand.js.map +1 -0
- package/dist/registerOutcomeCommands.d.ts +27 -0
- package/dist/registerOutcomeCommands.d.ts.map +1 -0
- package/dist/registerOutcomeCommands.js +29 -0
- package/dist/registerOutcomeCommands.js.map +1 -0
- package/dist/registerRoleCommands.d.ts +12 -0
- package/dist/registerRoleCommands.d.ts.map +1 -0
- package/dist/registerRoleCommands.js +73 -0
- package/dist/registerRoleCommands.js.map +1 -0
- package/dist/registerTensionsCommands.d.ts +11 -0
- package/dist/registerTensionsCommands.d.ts.map +1 -0
- package/dist/registerTensionsCommands.js +29 -0
- package/dist/registerTensionsCommands.js.map +1 -0
- package/dist/scoreboard/diagnose.d.ts +90 -139
- package/dist/scoreboard/diagnose.d.ts.map +1 -1
- package/dist/scoreboard/diagnose.js +97 -197
- package/dist/scoreboard/diagnose.js.map +1 -1
- package/dist/scoreboard/diagnose.test.d.ts +6 -3
- package/dist/scoreboard/diagnose.test.d.ts.map +1 -1
- package/dist/scoreboard/diagnose.test.js +117 -120
- package/dist/scoreboard/diagnose.test.js.map +1 -1
- package/dist/scoreboard/floors.d.ts +34 -0
- package/dist/scoreboard/floors.d.ts.map +1 -0
- package/dist/scoreboard/floors.js +11 -0
- package/dist/scoreboard/floors.js.map +1 -0
- package/dist/served-doors.test.d.ts +2 -0
- package/dist/served-doors.test.d.ts.map +1 -0
- package/dist/served-doors.test.js +169 -0
- package/dist/served-doors.test.js.map +1 -0
- package/package.json +8 -8
- package/dist/__tests__/adapters.test.d.ts +0 -2
- package/dist/__tests__/adapters.test.d.ts.map +0 -1
- package/dist/__tests__/adapters.test.js +0 -417
- package/dist/__tests__/adapters.test.js.map +0 -1
- package/dist/__tests__/audit.test.d.ts +0 -2
- package/dist/__tests__/audit.test.d.ts.map +0 -1
- package/dist/__tests__/audit.test.js +0 -415
- package/dist/__tests__/audit.test.js.map +0 -1
- package/dist/__tests__/authority-domains-queue.test.d.ts +0 -2
- package/dist/__tests__/authority-domains-queue.test.d.ts.map +0 -1
- package/dist/__tests__/authority-domains-queue.test.js +0 -169
- package/dist/__tests__/authority-domains-queue.test.js.map +0 -1
- package/dist/__tests__/authority-domains.test.d.ts +0 -2
- package/dist/__tests__/authority-domains.test.d.ts.map +0 -1
- package/dist/__tests__/authority-domains.test.js +0 -48
- package/dist/__tests__/authority-domains.test.js.map +0 -1
- package/dist/__tests__/batch-transformations.test.d.ts +0 -2
- package/dist/__tests__/batch-transformations.test.d.ts.map +0 -1
- package/dist/__tests__/batch-transformations.test.js +0 -263
- package/dist/__tests__/batch-transformations.test.js.map +0 -1
- package/dist/__tests__/capture-receipt-domain.test.d.ts +0 -2
- package/dist/__tests__/capture-receipt-domain.test.d.ts.map +0 -1
- package/dist/__tests__/capture-receipt-domain.test.js +0 -29
- package/dist/__tests__/capture-receipt-domain.test.js.map +0 -1
- package/dist/__tests__/experiment.test.d.ts +0 -6
- package/dist/__tests__/experiment.test.d.ts.map +0 -1
- package/dist/__tests__/experiment.test.js +0 -69
- package/dist/__tests__/experiment.test.js.map +0 -1
- package/dist/__tests__/handshake-augment.test.d.ts +0 -2
- package/dist/__tests__/handshake-augment.test.d.ts.map +0 -1
- package/dist/__tests__/handshake-augment.test.js +0 -423
- package/dist/__tests__/handshake-augment.test.js.map +0 -1
- package/dist/__tests__/handshake-dormancy.test.d.ts +0 -2
- package/dist/__tests__/handshake-dormancy.test.d.ts.map +0 -1
- package/dist/__tests__/handshake-dormancy.test.js +0 -207
- package/dist/__tests__/handshake-dormancy.test.js.map +0 -1
- package/dist/__tests__/handshake-formatter.test.d.ts +0 -2
- package/dist/__tests__/handshake-formatter.test.d.ts.map +0 -1
- package/dist/__tests__/handshake-formatter.test.js +0 -67
- package/dist/__tests__/handshake-formatter.test.js.map +0 -1
- package/dist/__tests__/handshake-preview.test.d.ts +0 -2
- package/dist/__tests__/handshake-preview.test.d.ts.map +0 -1
- package/dist/__tests__/handshake-preview.test.js +0 -949
- package/dist/__tests__/handshake-preview.test.js.map +0 -1
- package/dist/__tests__/handshake.e2e.test.d.ts +0 -2
- package/dist/__tests__/handshake.e2e.test.d.ts.map +0 -1
- package/dist/__tests__/handshake.e2e.test.js +0 -1252
- package/dist/__tests__/handshake.e2e.test.js.map +0 -1
- package/dist/__tests__/handshake.test.d.ts +0 -2
- package/dist/__tests__/handshake.test.d.ts.map +0 -1
- package/dist/__tests__/handshake.test.js +0 -981
- package/dist/__tests__/handshake.test.js.map +0 -1
- package/dist/__tests__/hook-intents.test.d.ts +0 -2
- package/dist/__tests__/hook-intents.test.d.ts.map +0 -1
- package/dist/__tests__/hook-intents.test.js +0 -184
- package/dist/__tests__/hook-intents.test.js.map +0 -1
- package/dist/__tests__/ingest.test.d.ts +0 -2
- package/dist/__tests__/ingest.test.d.ts.map +0 -1
- package/dist/__tests__/ingest.test.js +0 -185
- package/dist/__tests__/ingest.test.js.map +0 -1
- package/dist/__tests__/manifest.test.d.ts +0 -6
- package/dist/__tests__/manifest.test.d.ts.map +0 -1
- package/dist/__tests__/manifest.test.js +0 -255
- package/dist/__tests__/manifest.test.js.map +0 -1
- package/dist/__tests__/method-publish-coherency.test.d.ts +0 -9
- package/dist/__tests__/method-publish-coherency.test.d.ts.map +0 -1
- package/dist/__tests__/method-publish-coherency.test.js +0 -71
- package/dist/__tests__/method-publish-coherency.test.js.map +0 -1
- package/dist/__tests__/method-registry.integration.test.d.ts +0 -6
- package/dist/__tests__/method-registry.integration.test.d.ts.map +0 -1
- package/dist/__tests__/method-registry.integration.test.js +0 -18
- package/dist/__tests__/method-registry.integration.test.js.map +0 -1
- package/dist/__tests__/method-registry.test.d.ts +0 -14
- package/dist/__tests__/method-registry.test.d.ts.map +0 -1
- package/dist/__tests__/method-registry.test.js +0 -134
- package/dist/__tests__/method-registry.test.js.map +0 -1
- package/dist/__tests__/onboarding-path-b.test.d.ts +0 -2
- package/dist/__tests__/onboarding-path-b.test.d.ts.map +0 -1
- package/dist/__tests__/onboarding-path-b.test.js +0 -46
- package/dist/__tests__/onboarding-path-b.test.js.map +0 -1
- package/dist/__tests__/onboarding.test.d.ts +0 -6
- package/dist/__tests__/onboarding.test.d.ts.map +0 -1
- package/dist/__tests__/onboarding.test.js +0 -347
- package/dist/__tests__/onboarding.test.js.map +0 -1
- package/dist/__tests__/perimeter.test.d.ts +0 -2
- package/dist/__tests__/perimeter.test.d.ts.map +0 -1
- package/dist/__tests__/perimeter.test.js +0 -165
- package/dist/__tests__/perimeter.test.js.map +0 -1
- package/dist/__tests__/personal-layer.test.d.ts +0 -11
- package/dist/__tests__/personal-layer.test.d.ts.map +0 -1
- package/dist/__tests__/personal-layer.test.js +0 -268
- package/dist/__tests__/personal-layer.test.js.map +0 -1
- package/dist/__tests__/promote-batch.test.d.ts +0 -2
- package/dist/__tests__/promote-batch.test.d.ts.map +0 -1
- package/dist/__tests__/promote-batch.test.js +0 -185
- package/dist/__tests__/promote-batch.test.js.map +0 -1
- package/dist/__tests__/promote.test.d.ts +0 -2
- package/dist/__tests__/promote.test.d.ts.map +0 -1
- package/dist/__tests__/promote.test.js +0 -318
- package/dist/__tests__/promote.test.js.map +0 -1
- package/dist/__tests__/proposals.test.d.ts +0 -2
- package/dist/__tests__/proposals.test.d.ts.map +0 -1
- package/dist/__tests__/proposals.test.js +0 -167
- package/dist/__tests__/proposals.test.js.map +0 -1
- package/dist/__tests__/repo-detect.test.d.ts +0 -2
- package/dist/__tests__/repo-detect.test.d.ts.map +0 -1
- package/dist/__tests__/repo-detect.test.js +0 -215
- package/dist/__tests__/repo-detect.test.js.map +0 -1
- package/dist/__tests__/setup-ingest.test.d.ts +0 -2
- package/dist/__tests__/setup-ingest.test.d.ts.map +0 -1
- package/dist/__tests__/setup-ingest.test.js +0 -71
- package/dist/__tests__/setup-ingest.test.js.map +0 -1
- package/dist/__tests__/setup-resolver.test.d.ts +0 -14
- package/dist/__tests__/setup-resolver.test.d.ts.map +0 -1
- package/dist/__tests__/setup-resolver.test.js +0 -228
- package/dist/__tests__/setup-resolver.test.js.map +0 -1
- package/dist/__tests__/surface-profiles.test.d.ts +0 -2
- package/dist/__tests__/surface-profiles.test.d.ts.map +0 -1
- package/dist/__tests__/surface-profiles.test.js +0 -233
- package/dist/__tests__/surface-profiles.test.js.map +0 -1
- package/dist/__tests__/surfaces.test.d.ts +0 -2
- package/dist/__tests__/surfaces.test.d.ts.map +0 -1
- package/dist/__tests__/surfaces.test.js +0 -46
- package/dist/__tests__/surfaces.test.js.map +0 -1
- package/dist/commands/__tests__/connect-handoff.test.d.ts +0 -11
- package/dist/commands/__tests__/connect-handoff.test.d.ts.map +0 -1
- package/dist/commands/__tests__/connect-handoff.test.js +0 -111
- package/dist/commands/__tests__/connect-handoff.test.js.map +0 -1
- package/dist/commands/__tests__/setup-detect-surfaces.test.d.ts +0 -15
- package/dist/commands/__tests__/setup-detect-surfaces.test.d.ts.map +0 -1
- package/dist/commands/__tests__/setup-detect-surfaces.test.js +0 -149
- package/dist/commands/__tests__/setup-detect-surfaces.test.js.map +0 -1
- package/dist/commands/__tests__/setup-state.test.d.ts +0 -2
- package/dist/commands/__tests__/setup-state.test.d.ts.map +0 -1
- package/dist/commands/__tests__/setup-state.test.js +0 -194
- package/dist/commands/__tests__/setup-state.test.js.map +0 -1
- package/dist/commands/accept.d.ts +0 -18
- package/dist/commands/accept.d.ts.map +0 -1
- package/dist/commands/accept.js +0 -76
- package/dist/commands/accept.js.map +0 -1
- package/dist/commands/audit.d.ts +0 -25
- package/dist/commands/audit.d.ts.map +0 -1
- package/dist/commands/audit.js +0 -223
- package/dist/commands/audit.js.map +0 -1
- package/dist/commands/authority-domains.d.ts +0 -157
- package/dist/commands/authority-domains.d.ts.map +0 -1
- package/dist/commands/authority-domains.js +0 -356
- package/dist/commands/authority-domains.js.map +0 -1
- package/dist/commands/brand-pack.d.ts +0 -2
- package/dist/commands/brand-pack.d.ts.map +0 -1
- package/dist/commands/brand-pack.js +0 -25
- package/dist/commands/brand-pack.js.map +0 -1
- package/dist/commands/connect-context.d.ts +0 -45
- package/dist/commands/connect-context.d.ts.map +0 -1
- package/dist/commands/connect-context.js +0 -64
- package/dist/commands/connect-context.js.map +0 -1
- package/dist/commands/connect-context.test.d.ts +0 -2
- package/dist/commands/connect-context.test.d.ts.map +0 -1
- package/dist/commands/connect-context.test.js +0 -110
- package/dist/commands/connect-context.test.js.map +0 -1
- package/dist/commands/connect-handoff.d.ts +0 -51
- package/dist/commands/connect-handoff.d.ts.map +0 -1
- package/dist/commands/connect-handoff.js +0 -70
- package/dist/commands/connect-handoff.js.map +0 -1
- package/dist/commands/handshake.d.ts +0 -249
- package/dist/commands/handshake.d.ts.map +0 -1
- package/dist/commands/handshake.js +0 -2635
- package/dist/commands/handshake.js.map +0 -1
- package/dist/commands/ingest.d.ts +0 -14
- package/dist/commands/ingest.d.ts.map +0 -1
- package/dist/commands/ingest.js +0 -189
- package/dist/commands/ingest.js.map +0 -1
- package/dist/commands/migrate-setup.d.ts +0 -18
- package/dist/commands/migrate-setup.d.ts.map +0 -1
- package/dist/commands/migrate-setup.js +0 -148
- package/dist/commands/migrate-setup.js.map +0 -1
- package/dist/commands/promote.d.ts +0 -23
- package/dist/commands/promote.d.ts.map +0 -1
- package/dist/commands/promote.js +0 -215
- package/dist/commands/promote.js.map +0 -1
- package/dist/commands/proposals.d.ts +0 -9
- package/dist/commands/proposals.d.ts.map +0 -1
- package/dist/commands/proposals.js +0 -24
- package/dist/commands/proposals.js.map +0 -1
- package/dist/commands/reject.d.ts +0 -14
- package/dist/commands/reject.d.ts.map +0 -1
- package/dist/commands/reject.js +0 -44
- package/dist/commands/reject.js.map +0 -1
- package/dist/commands/setup-audit.d.ts +0 -59
- package/dist/commands/setup-audit.d.ts.map +0 -1
- package/dist/commands/setup-audit.js +0 -250
- package/dist/commands/setup-audit.js.map +0 -1
- package/dist/commands/setup-detect-surfaces.d.ts +0 -38
- package/dist/commands/setup-detect-surfaces.d.ts.map +0 -1
- package/dist/commands/setup-detect-surfaces.js +0 -76
- package/dist/commands/setup-detect-surfaces.js.map +0 -1
- package/dist/commands/setup-ingest.d.ts +0 -17
- package/dist/commands/setup-ingest.d.ts.map +0 -1
- package/dist/commands/setup-ingest.js +0 -174
- package/dist/commands/setup-ingest.js.map +0 -1
- package/dist/commands/setup-resolver.d.ts +0 -58
- package/dist/commands/setup-resolver.d.ts.map +0 -1
- package/dist/commands/setup-resolver.js +0 -150
- package/dist/commands/setup-resolver.js.map +0 -1
- package/dist/commands/setup-state.d.ts +0 -42
- package/dist/commands/setup-state.d.ts.map +0 -1
- package/dist/commands/setup-state.js +0 -93
- package/dist/commands/setup-state.js.map +0 -1
- package/dist/commands/setup.d.ts +0 -23
- package/dist/commands/setup.d.ts.map +0 -1
- package/dist/commands/setup.js +0 -69
- package/dist/commands/setup.js.map +0 -1
- package/dist/formatters/audit.d.ts +0 -52
- package/dist/formatters/audit.d.ts.map +0 -1
- package/dist/formatters/audit.js +0 -81
- package/dist/formatters/audit.js.map +0 -1
- package/dist/formatters/handshake.d.ts +0 -62
- package/dist/formatters/handshake.d.ts.map +0 -1
- package/dist/formatters/handshake.js +0 -198
- package/dist/formatters/handshake.js.map +0 -1
- package/dist/formatters/promote.d.ts +0 -35
- package/dist/formatters/promote.d.ts.map +0 -1
- package/dist/formatters/promote.js +0 -46
- package/dist/formatters/promote.js.map +0 -1
- package/dist/formatters/proposals.d.ts +0 -45
- package/dist/formatters/proposals.d.ts.map +0 -1
- package/dist/formatters/proposals.js +0 -62
- package/dist/formatters/proposals.js.map +0 -1
- package/dist/generators/adapters.d.ts +0 -44
- package/dist/generators/adapters.d.ts.map +0 -1
- package/dist/generators/adapters.js +0 -290
- package/dist/generators/adapters.js.map +0 -1
- package/dist/generators/adapters.test.d.ts +0 -2
- package/dist/generators/adapters.test.d.ts.map +0 -1
- package/dist/generators/adapters.test.js +0 -27
- package/dist/generators/adapters.test.js.map +0 -1
- package/dist/generators/archetypes.d.ts +0 -52
- package/dist/generators/archetypes.d.ts.map +0 -1
- package/dist/generators/archetypes.js +0 -190
- package/dist/generators/archetypes.js.map +0 -1
- package/dist/generators/archetypes.test.d.ts +0 -2
- package/dist/generators/archetypes.test.d.ts.map +0 -1
- package/dist/generators/archetypes.test.js +0 -272
- package/dist/generators/archetypes.test.js.map +0 -1
- package/dist/generators/boundary-manifest.d.ts +0 -29
- package/dist/generators/boundary-manifest.d.ts.map +0 -1
- package/dist/generators/boundary-manifest.js +0 -183
- package/dist/generators/boundary-manifest.js.map +0 -1
- package/dist/generators/boundary-manifest.test.d.ts +0 -2
- package/dist/generators/boundary-manifest.test.d.ts.map +0 -1
- package/dist/generators/boundary-manifest.test.js +0 -91
- package/dist/generators/boundary-manifest.test.js.map +0 -1
- package/dist/generators/briefing-md.d.ts +0 -8
- package/dist/generators/briefing-md.d.ts.map +0 -1
- package/dist/generators/briefing-md.js +0 -51
- package/dist/generators/briefing-md.js.map +0 -1
- package/dist/generators/chain-classifier.d.ts +0 -63
- package/dist/generators/chain-classifier.d.ts.map +0 -1
- package/dist/generators/chain-classifier.js +0 -131
- package/dist/generators/chain-classifier.js.map +0 -1
- package/dist/generators/chain-classifier.test.d.ts +0 -2
- package/dist/generators/chain-classifier.test.d.ts.map +0 -1
- package/dist/generators/chain-classifier.test.js +0 -371
- package/dist/generators/chain-classifier.test.js.map +0 -1
- package/dist/generators/chain-rules.d.ts +0 -42
- package/dist/generators/chain-rules.d.ts.map +0 -1
- package/dist/generators/chain-rules.js +0 -152
- package/dist/generators/chain-rules.js.map +0 -1
- package/dist/generators/chain-rules.test.d.ts +0 -2
- package/dist/generators/chain-rules.test.d.ts.map +0 -1
- package/dist/generators/chain-rules.test.js +0 -211
- package/dist/generators/chain-rules.test.js.map +0 -1
- package/dist/generators/context-md.d.ts +0 -8
- package/dist/generators/context-md.d.ts.map +0 -1
- package/dist/generators/context-md.js +0 -134
- package/dist/generators/context-md.js.map +0 -1
- package/dist/generators/handshake-diff.d.ts +0 -67
- package/dist/generators/handshake-diff.d.ts.map +0 -1
- package/dist/generators/handshake-diff.js +0 -183
- package/dist/generators/handshake-diff.js.map +0 -1
- package/dist/generators/handshake-diff.test.d.ts +0 -2
- package/dist/generators/handshake-diff.test.d.ts.map +0 -1
- package/dist/generators/handshake-diff.test.js +0 -264
- package/dist/generators/handshake-diff.test.js.map +0 -1
- package/dist/generators/manifest.d.ts +0 -115
- package/dist/generators/manifest.d.ts.map +0 -1
- package/dist/generators/manifest.js +0 -277
- package/dist/generators/manifest.js.map +0 -1
- package/dist/generators/portable-knowledge.d.ts +0 -159
- package/dist/generators/portable-knowledge.d.ts.map +0 -1
- package/dist/generators/portable-knowledge.js +0 -596
- package/dist/generators/portable-knowledge.js.map +0 -1
- package/dist/generators/portable-knowledge.test.d.ts +0 -2
- package/dist/generators/portable-knowledge.test.d.ts.map +0 -1
- package/dist/generators/portable-knowledge.test.js +0 -927
- package/dist/generators/portable-knowledge.test.js.map +0 -1
- package/dist/generators/region-projections.d.ts +0 -18
- package/dist/generators/region-projections.d.ts.map +0 -1
- package/dist/generators/region-projections.js +0 -49
- package/dist/generators/region-projections.js.map +0 -1
- package/dist/generators/region-projections.test.d.ts +0 -2
- package/dist/generators/region-projections.test.d.ts.map +0 -1
- package/dist/generators/region-projections.test.js +0 -63
- package/dist/generators/region-projections.test.js.map +0 -1
- package/dist/generators/region.d.ts +0 -24
- package/dist/generators/region.d.ts.map +0 -1
- package/dist/generators/region.js +0 -87
- package/dist/generators/region.js.map +0 -1
- package/dist/generators/region.test.d.ts +0 -2
- package/dist/generators/region.test.d.ts.map +0 -1
- package/dist/generators/region.test.js +0 -126
- package/dist/generators/region.test.js.map +0 -1
- package/dist/generators/surface-profiles.d.ts +0 -48
- package/dist/generators/surface-profiles.d.ts.map +0 -1
- package/dist/generators/surface-profiles.js +0 -98
- package/dist/generators/surface-profiles.js.map +0 -1
- package/dist/lib/activation.d.ts +0 -28
- package/dist/lib/activation.d.ts.map +0 -1
- package/dist/lib/activation.js +0 -57
- package/dist/lib/activation.js.map +0 -1
- package/dist/lib/activation.test.d.ts +0 -6
- package/dist/lib/activation.test.d.ts.map +0 -1
- package/dist/lib/activation.test.js +0 -121
- package/dist/lib/activation.test.js.map +0 -1
- package/dist/lib/collectionRegistry.d.ts +0 -40
- package/dist/lib/collectionRegistry.d.ts.map +0 -1
- package/dist/lib/collectionRegistry.js +0 -112
- package/dist/lib/collectionRegistry.js.map +0 -1
- package/dist/lib/conversation-engine.d.ts +0 -45
- package/dist/lib/conversation-engine.d.ts.map +0 -1
- package/dist/lib/conversation-engine.js +0 -112
- package/dist/lib/conversation-engine.js.map +0 -1
- package/dist/lib/conversation-phases.d.ts +0 -59
- package/dist/lib/conversation-phases.d.ts.map +0 -1
- package/dist/lib/conversation-phases.js +0 -11
- package/dist/lib/conversation-phases.js.map +0 -1
- package/dist/lib/conversation-signals.d.ts +0 -30
- package/dist/lib/conversation-signals.d.ts.map +0 -1
- package/dist/lib/conversation-signals.js +0 -64
- package/dist/lib/conversation-signals.js.map +0 -1
- package/dist/lib/experiment.d.ts +0 -18
- package/dist/lib/experiment.d.ts.map +0 -1
- package/dist/lib/experiment.js +0 -28
- package/dist/lib/experiment.js.map +0 -1
- package/dist/lib/frontmatter.d.ts +0 -55
- package/dist/lib/frontmatter.d.ts.map +0 -1
- package/dist/lib/frontmatter.js +0 -92
- package/dist/lib/frontmatter.js.map +0 -1
- package/dist/lib/frontmatter.test.d.ts +0 -15
- package/dist/lib/frontmatter.test.d.ts.map +0 -1
- package/dist/lib/frontmatter.test.js +0 -98
- package/dist/lib/frontmatter.test.js.map +0 -1
- package/dist/lib/hook-intents.d.ts +0 -51
- package/dist/lib/hook-intents.d.ts.map +0 -1
- package/dist/lib/hook-intents.js +0 -85
- package/dist/lib/hook-intents.js.map +0 -1
- package/dist/lib/inferSourceDate.d.ts +0 -12
- package/dist/lib/inferSourceDate.d.ts.map +0 -1
- package/dist/lib/inferSourceDate.js +0 -44
- package/dist/lib/inferSourceDate.js.map +0 -1
- package/dist/lib/method-registry.d.ts +0 -32
- package/dist/lib/method-registry.d.ts.map +0 -1
- package/dist/lib/method-registry.js +0 -53
- package/dist/lib/method-registry.js.map +0 -1
- package/dist/lib/normalizeMaterializedFilename.d.ts +0 -28
- package/dist/lib/normalizeMaterializedFilename.d.ts.map +0 -1
- package/dist/lib/normalizeMaterializedFilename.js +0 -56
- package/dist/lib/normalizeMaterializedFilename.js.map +0 -1
- package/dist/lib/normalizeMaterializedFilename.test.d.ts +0 -16
- package/dist/lib/normalizeMaterializedFilename.test.d.ts.map +0 -1
- package/dist/lib/normalizeMaterializedFilename.test.js +0 -90
- package/dist/lib/normalizeMaterializedFilename.test.js.map +0 -1
- package/dist/lib/onboarding-path-b.d.ts +0 -10
- package/dist/lib/onboarding-path-b.d.ts.map +0 -1
- package/dist/lib/onboarding-path-b.js +0 -213
- package/dist/lib/onboarding-path-b.js.map +0 -1
- package/dist/lib/onboarding-shared.d.ts +0 -80
- package/dist/lib/onboarding-shared.d.ts.map +0 -1
- package/dist/lib/onboarding-shared.js +0 -174
- package/dist/lib/onboarding-shared.js.map +0 -1
- package/dist/lib/onboarding-topics.d.ts +0 -27
- package/dist/lib/onboarding-topics.d.ts.map +0 -1
- package/dist/lib/onboarding-topics.js +0 -57
- package/dist/lib/onboarding-topics.js.map +0 -1
- package/dist/lib/onboarding.d.ts +0 -17
- package/dist/lib/onboarding.d.ts.map +0 -1
- package/dist/lib/onboarding.js +0 -350
- package/dist/lib/onboarding.js.map +0 -1
- package/dist/lib/repo-detect.d.ts +0 -33
- package/dist/lib/repo-detect.d.ts.map +0 -1
- package/dist/lib/repo-detect.js +0 -83
- package/dist/lib/repo-detect.js.map +0 -1
- package/dist/lib/startup-resolution-signals.d.ts +0 -34
- package/dist/lib/startup-resolution-signals.d.ts.map +0 -1
- package/dist/lib/startup-resolution-signals.js +0 -118
- package/dist/lib/startup-resolution-signals.js.map +0 -1
- package/dist/lib/startup-resolution-signals.test.d.ts +0 -2
- package/dist/lib/startup-resolution-signals.test.d.ts.map +0 -1
- package/dist/lib/startup-resolution-signals.test.js +0 -113
- package/dist/lib/startup-resolution-signals.test.js.map +0 -1
- package/dist/lib/telemetry.d.ts +0 -15
- package/dist/lib/telemetry.d.ts.map +0 -1
- package/dist/lib/telemetry.js +0 -47
- package/dist/lib/telemetry.js.map +0 -1
- package/dist/lib/wizard-surfaces.d.ts +0 -47
- package/dist/lib/wizard-surfaces.d.ts.map +0 -1
- package/dist/lib/wizard-surfaces.js +0 -176
- package/dist/lib/wizard-surfaces.js.map +0 -1
- package/dist/lib/wizard-surfaces.test.d.ts +0 -2
- package/dist/lib/wizard-surfaces.test.d.ts.map +0 -1
- package/dist/lib/wizard-surfaces.test.js +0 -127
- package/dist/lib/wizard-surfaces.test.js.map +0 -1
- package/dist/lib/wizard-trust.d.ts +0 -31
- package/dist/lib/wizard-trust.d.ts.map +0 -1
- package/dist/lib/wizard-trust.js +0 -66
- package/dist/lib/wizard-trust.js.map +0 -1
- package/dist/lib/wizard-trust.test.d.ts +0 -2
- package/dist/lib/wizard-trust.test.d.ts.map +0 -1
- package/dist/lib/wizard-trust.test.js +0 -32
- package/dist/lib/wizard-trust.test.js.map +0 -1
- package/dist/scoreboard/localDrift.d.ts +0 -23
- package/dist/scoreboard/localDrift.d.ts.map +0 -1
- package/dist/scoreboard/localDrift.js +0 -111
- package/dist/scoreboard/localDrift.js.map +0 -1
- package/dist/scoreboard/localDrift.test.d.ts +0 -9
- package/dist/scoreboard/localDrift.test.d.ts.map +0 -1
- package/dist/scoreboard/localDrift.test.js +0 -82
- package/dist/scoreboard/localDrift.test.js.map +0 -1
- package/dist/setup/__tests__/coach-traces.test.d.ts +0 -2
- package/dist/setup/__tests__/coach-traces.test.d.ts.map +0 -1
- package/dist/setup/__tests__/coach-traces.test.js +0 -189
- package/dist/setup/__tests__/coach-traces.test.js.map +0 -1
- package/dist/setup/__tests__/setup-commands.test.d.ts +0 -2
- package/dist/setup/__tests__/setup-commands.test.d.ts.map +0 -1
- package/dist/setup/__tests__/setup-commands.test.js +0 -177
- package/dist/setup/__tests__/setup-commands.test.js.map +0 -1
- package/dist/setup/__tests__/state-machine.test.d.ts +0 -2
- package/dist/setup/__tests__/state-machine.test.d.ts.map +0 -1
- package/dist/setup/__tests__/state-machine.test.js +0 -341
- package/dist/setup/__tests__/state-machine.test.js.map +0 -1
- package/dist/setup/detect-surfaces.d.ts +0 -21
- package/dist/setup/detect-surfaces.d.ts.map +0 -1
- package/dist/setup/detect-surfaces.js +0 -39
- package/dist/setup/detect-surfaces.js.map +0 -1
- package/dist/setup/manifest-writer.d.ts +0 -17
- package/dist/setup/manifest-writer.d.ts.map +0 -1
- package/dist/setup/manifest-writer.js +0 -153
- package/dist/setup/manifest-writer.js.map +0 -1
- package/dist/setup/perimeter.d.ts +0 -72
- package/dist/setup/perimeter.d.ts.map +0 -1
- package/dist/setup/perimeter.js +0 -128
- package/dist/setup/perimeter.js.map +0 -1
- package/dist/setup/state-machine.d.ts +0 -67
- package/dist/setup/state-machine.d.ts.map +0 -1
- package/dist/setup/state-machine.js +0 -124
- package/dist/setup/state-machine.js.map +0 -1
- package/dist/surfaces/__tests__/adapter.test.d.ts +0 -2
- package/dist/surfaces/__tests__/adapter.test.d.ts.map +0 -1
- package/dist/surfaces/__tests__/adapter.test.js +0 -90
- package/dist/surfaces/__tests__/adapter.test.js.map +0 -1
- package/dist/surfaces/__tests__/pb-setup-passthrough.test.d.ts +0 -2
- package/dist/surfaces/__tests__/pb-setup-passthrough.test.d.ts.map +0 -1
- package/dist/surfaces/__tests__/pb-setup-passthrough.test.js +0 -132
- package/dist/surfaces/__tests__/pb-setup-passthrough.test.js.map +0 -1
- package/dist/surfaces/__tests__/telemetry.test.d.ts +0 -2
- package/dist/surfaces/__tests__/telemetry.test.d.ts.map +0 -1
- package/dist/surfaces/__tests__/telemetry.test.js +0 -55
- package/dist/surfaces/__tests__/telemetry.test.js.map +0 -1
- package/dist/surfaces/adapter.d.ts +0 -70
- package/dist/surfaces/adapter.d.ts.map +0 -1
- package/dist/surfaces/adapter.js +0 -2
- package/dist/surfaces/adapter.js.map +0 -1
- package/dist/surfaces/adapters/claude.d.ts +0 -3
- package/dist/surfaces/adapters/claude.d.ts.map +0 -1
- package/dist/surfaces/adapters/claude.js +0 -67
- package/dist/surfaces/adapters/claude.js.map +0 -1
- package/dist/surfaces/adapters/codex.d.ts +0 -3
- package/dist/surfaces/adapters/codex.d.ts.map +0 -1
- package/dist/surfaces/adapters/codex.js +0 -61
- package/dist/surfaces/adapters/codex.js.map +0 -1
- package/dist/surfaces/adapters/copilot.d.ts +0 -3
- package/dist/surfaces/adapters/copilot.d.ts.map +0 -1
- package/dist/surfaces/adapters/copilot.js +0 -59
- package/dist/surfaces/adapters/copilot.js.map +0 -1
- package/dist/surfaces/adapters/cursor.d.ts +0 -3
- package/dist/surfaces/adapters/cursor.d.ts.map +0 -1
- package/dist/surfaces/adapters/cursor.js +0 -78
- package/dist/surfaces/adapters/cursor.js.map +0 -1
- package/dist/surfaces/registry.d.ts +0 -76
- package/dist/surfaces/registry.d.ts.map +0 -1
- package/dist/surfaces/registry.js +0 -117
- package/dist/surfaces/registry.js.map +0 -1
- package/dist/surfaces/telemetry.d.ts +0 -17
- package/dist/surfaces/telemetry.d.ts.map +0 -1
- package/dist/surfaces/telemetry.js +0 -31
- package/dist/surfaces/telemetry.js.map +0 -1
- package/templates/archetypes/boundary.md +0 -23
- package/templates/archetypes/constraint.md +0 -23
- package/templates/archetypes/convention.md +0 -23
- package/templates/archetypes/policy.md +0 -23
- package/templates/archetypes/quality-gate.md +0 -23
- package/templates/archetypes/workflow.md +0 -23
- package/templates/general/code-integrity.md +0 -11
- package/templates/general/getting-started.md +0 -12
- package/templates/method-registry.json +0 -16
- package/templates/node-ts/code-integrity.md +0 -13
- package/templates/node-ts/testing.md +0 -12
- package/templates/python/code-integrity.md +0 -13
- package/templates/python/testing.md +0 -12
package/dist/index.js
CHANGED
|
@@ -1,173 +1,86 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* Product Brain CLI — Chain knowledge + write-back in the terminal.
|
|
4
|
-
*
|
|
5
|
-
* BET-181 Slice 0: global --json / --pretty flags for agent-native output (DEC-299).
|
|
3
|
+
* Product Brain CLI — Chain knowledge + write-back in the terminal. Read: BET-108.
|
|
4
|
+
* Write: pb session + pb capture (TEN-27, INS-80). BET-181 Slice 0: global --json / --pretty flags for agent-native output (DEC-299).
|
|
6
5
|
*/
|
|
7
6
|
import { readFileSync } from 'node:fs';
|
|
8
7
|
import { dirname, join } from 'node:path';
|
|
9
8
|
import { fileURLToPath } from 'node:url';
|
|
10
|
-
import { Command
|
|
9
|
+
import { Command } from 'commander';
|
|
11
10
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
12
11
|
const cliPackageVersion = JSON.parse(readFileSync(join(__dirname, '..', 'package.json'), 'utf8'));
|
|
13
12
|
import { setOutputMode, setQuietMode, isJsonMode } from './lib/runner.js';
|
|
14
13
|
import { CLIError, ErrorCode } from './lib/errors.js';
|
|
14
|
+
import { handleCliError as handleError, silenceCommanderErrors } from './handleCliError.js';
|
|
15
15
|
import { runContext } from './commands/context.js';
|
|
16
|
-
import { runGet
|
|
16
|
+
import { runGet } from './commands/get.js';
|
|
17
17
|
import { runScoreboard } from './commands/scoreboard.js';
|
|
18
|
+
import { registerHistoryCommand } from './registerHistoryCommand.js';
|
|
19
|
+
import { runReworkReport } from './commands/rework.js';
|
|
18
20
|
import { runConnect } from './commands/connect.js';
|
|
19
21
|
import { runLogin } from './commands/login.js';
|
|
20
|
-
import { runSetup } from './commands/setup.js';
|
|
21
|
-
import { runSetupDetectSurfaces, formatDetectSurfacesSummary } from './commands/setup-detect-surfaces.js';
|
|
22
|
-
import { runSetupState } from './commands/setup-state.js';
|
|
23
|
-
import { runSetupAudit } from './commands/setup-audit.js';
|
|
24
22
|
import { runOrient } from './commands/orient.js';
|
|
25
|
-
import { runSearch } from './commands/search.js';
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
23
|
+
import { runSearch, searchWordings } from './commands/search.js';
|
|
24
|
+
import { runSessionId, runSessionReset, runSessionList, runSessionShow } from './commands/session.js';
|
|
25
|
+
import { registerSessionClose, registerSessionStart } from './commands/session-hook.js';
|
|
28
26
|
import { runCapture } from './commands/capture.js';
|
|
29
27
|
import { runUpdate } from './commands/update.js';
|
|
30
|
-
import {
|
|
31
|
-
import { runIngest } from './commands/ingest.js';
|
|
28
|
+
import { runRestore } from './commands/restore.js';
|
|
32
29
|
import { runFields } from './commands/fields.js';
|
|
33
30
|
import { runConstellation } from './commands/constellation.js';
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { runAudit } from './commands/audit.js';
|
|
37
|
-
import { runProposals } from './commands/proposals.js';
|
|
38
|
-
import { runAccept } from './commands/accept.js';
|
|
39
|
-
import { runReject } from './commands/reject.js';
|
|
31
|
+
import { registerEntryCommands, registerRelateCommands } from './registerEntryCommands.js';
|
|
32
|
+
import { registerTasksCommands, registerTensionsCommands } from './registerTensionsCommands.js';
|
|
40
33
|
import { runChanges } from './commands/changes.js';
|
|
34
|
+
import { registerMethodCommands } from './commands/method.js'; // TASK-1214 same-line combine
|
|
35
|
+
import { registerOutcomeCommands } from './registerOutcomeCommands.js';
|
|
36
|
+
import { registerRoleCommands } from './registerRoleCommands.js';
|
|
41
37
|
import { runChainWalk } from './commands/chain-walk.js';
|
|
42
38
|
import { runCrossCut } from './commands/cross-cut.js';
|
|
43
39
|
import { runBrief, runCompoundBrief, isCompoundType } from './commands/brief.js';
|
|
44
40
|
import { runVerify } from './commands/verify.js';
|
|
45
41
|
import { runCodexPrep } from './commands/codex-prep.js';
|
|
42
|
+
import { runStillTrue } from './commands/stillTrue.js'; // same-line combine, TASK-384 S1
|
|
46
43
|
import { runCollectionsList, runCollectionsGet, runCollectionsAudit, runCollectionsExport } from './commands/collections.js';
|
|
47
|
-
import { runWorkspaceVerify,
|
|
48
|
-
import { runAuthorityDomainsActivateCutover, runAuthorityDomainsAdd, runAuthorityDomainsDeactivateCutover, runAuthorityDomainsBenchmark, runAuthorityDomainsDiscardPending, runAuthorityDomainsPropose, runAuthorityDomainsQueueTag, runAuthorityDomainsRatify, runAuthorityDomainsReadiness, runAuthorityDomainsRecordSample, runAuthorityDomainsReject, runAuthorityDomainsReview, runAuthorityDomainsPrincipleDistribution, } from './commands/authority-domains.js';
|
|
44
|
+
import { runWorkspaceVerify, runDefinitionsDiff } from './commands/workspace.js';
|
|
49
45
|
import { runDoctor } from './commands/doctor.js';
|
|
50
46
|
import { runWhoami } from './commands/whoami.js';
|
|
47
|
+
import { runFiles } from './commands/files.js';
|
|
51
48
|
import { runUpgrade } from './commands/upgrade.js';
|
|
52
49
|
import { runProfileList, runProfileCreate, runProfileUse, runProfileDelete } from './commands/profile.js';
|
|
53
|
-
import { runInit } from './commands/init.js';
|
|
54
|
-
import {
|
|
50
|
+
import { parseInitClient, runInit } from './commands/init.js';
|
|
51
|
+
import { runStatus } from './commands/status.js';
|
|
55
52
|
import { createAdminCommand } from './commands/admin/index.js';
|
|
53
|
+
import { createFeedbackCommand } from './commands/feedback.js';
|
|
54
|
+
import { createConflictsCommand } from './commands/conflicts.js';
|
|
55
|
+
import { createQuestionCommand } from './commands/questions.js';
|
|
56
|
+
import { createDirectionCommand } from './commands/direction.js';
|
|
57
|
+
import { createOrganisationCommand } from './commands/organisation.js';
|
|
58
|
+
import { createAcceptPolicyCommand } from './commands/accept-policy.js'; // WP-661 S3
|
|
56
59
|
import { runUsage } from './commands/usage.js';
|
|
57
|
-
import { runProofRun } from './commands/proof-run.js';
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
60
|
+
import { runProofRun } from './commands/proof-run.js'; // same-line combine
|
|
61
|
+
import { registerQualityCommands } from './commands/quality.js';
|
|
62
|
+
import { formatGlossary } from './lib/glossary.js';
|
|
63
|
+
import { PLATFORM_GLOSSARY_TERMS } from './lib/platformGlossary.js';
|
|
64
|
+
import { AGENT_KEY_PREFIX, API_KEY_PREFIX } from './lib/tokenConstants.js';
|
|
65
|
+
import { heading } from './lib/style.js';
|
|
66
|
+
import { CLASH } from './lib/conflictResolution.js'; // TASK-1674: the clash word in --changed-by's help
|
|
67
|
+
import { printPreviewBanner } from './lib/previewBanner.js';
|
|
68
|
+
import { checkForUpdate } from './lib/update-check.js'; // same-line combine
|
|
69
|
+
import { CLI_INSTALL_COMMAND } from './lib/cliFirstRun.js';
|
|
70
|
+
import { ENTRY_BODY_HELP, ENTRY_NAME_HELP } from './lib/limits.js';
|
|
65
71
|
const program = new Command();
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
* addition to the PREVIEW banner. Each is registered directly on `program`, so
|
|
69
|
-
* `actionCommand.name()` matches verbatim. We gate on top-level (parent === program)
|
|
70
|
-
* to avoid false positives from nested commands whose leaf name collides
|
|
71
|
-
* (e.g. `pb workspace verify`, which is a health check, not a Chain write).
|
|
72
|
-
*/
|
|
73
|
-
const PREVIEW_WRITE_COMMANDS = new Set([
|
|
74
|
-
'capture',
|
|
75
|
-
'update',
|
|
76
|
-
'verify',
|
|
77
|
-
'promote',
|
|
78
|
-
'relate',
|
|
79
|
-
'unrelate',
|
|
80
|
-
'ingest',
|
|
81
|
-
'accept',
|
|
82
|
-
'reject',
|
|
83
|
-
]);
|
|
84
|
-
/**
|
|
85
|
-
* Print a loud PREVIEW banner to stderr when pb is bound to a throwaway preview.
|
|
86
|
-
*
|
|
87
|
-
* Writes to stderr (NOT stdout) so stdout stays clean JSON for agents — and so the
|
|
88
|
-
* banner appears even when --json or --quiet are set, which is the whole point: the
|
|
89
|
-
* agent must see it every time. Cheap + synchronous (one file read). Never throws.
|
|
90
|
-
*
|
|
91
|
-
* For every Chain-write command (see PREVIEW_WRITE_COMMANDS), also writes an
|
|
92
|
-
* advisory reminding the user that real learnings belong in the real Chain.
|
|
93
|
-
*/
|
|
94
|
-
function printPreviewBanner(actionCommand) {
|
|
95
|
-
try {
|
|
96
|
-
const binding = getPreviewBinding();
|
|
97
|
-
if (!binding)
|
|
98
|
-
return;
|
|
99
|
-
const name = binding.workspaceName ?? 'preview';
|
|
100
|
-
process.stderr.write(yellow(bold(`⚠ PREVIEW ${name} — writes are throwaway. npm run pb:real to return to the real Chain`)) + '\n');
|
|
101
|
-
const isTopLevel = actionCommand.parent?.name() === 'pb';
|
|
102
|
-
if (isTopLevel && PREVIEW_WRITE_COMMANDS.has(actionCommand.name())) {
|
|
103
|
-
process.stderr.write(` → real learnings belong in the real Chain. Switch back with: npm run pb:real\n`);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
catch {
|
|
107
|
-
// Never let the banner crash the CLI
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Global error handler — single exit point for all CLI errors.
|
|
112
|
-
* CLIError: format with code + category + guidance.
|
|
113
|
-
* CommanderError: re-throw for --help / --version (exitCode 0), format others.
|
|
114
|
-
* Regular Error: wrap as INTERNAL.
|
|
115
|
-
*/
|
|
116
|
-
function handleError(err) {
|
|
117
|
-
// Commander help/version exits with code 0 — let them through
|
|
118
|
-
if (err instanceof CommanderError && err.exitCode === 0) {
|
|
119
|
-
process.exit(0);
|
|
120
|
-
}
|
|
121
|
-
const json = isJsonMode();
|
|
122
|
-
if (err instanceof CLIError) {
|
|
123
|
-
if (json) {
|
|
124
|
-
process.stderr.write(JSON.stringify(err.toJSON()) + '\n');
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
process.stderr.write(err.message + '\n');
|
|
128
|
-
if (err.guidance) {
|
|
129
|
-
process.stderr.write(err.guidance + '\n');
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
process.exit(1);
|
|
133
|
-
}
|
|
134
|
-
// CommanderError (bad usage, missing args, etc.)
|
|
135
|
-
if (err instanceof CommanderError) {
|
|
136
|
-
const cliErr = new CLIError(err.message, {
|
|
137
|
-
code: ErrorCode.VALIDATION_FAILED,
|
|
138
|
-
category: 'validation',
|
|
139
|
-
});
|
|
140
|
-
if (json) {
|
|
141
|
-
process.stderr.write(JSON.stringify(cliErr.toJSON()) + '\n');
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
process.stderr.write(err.message + '\n');
|
|
145
|
-
}
|
|
146
|
-
process.exit(err.exitCode);
|
|
147
|
-
}
|
|
148
|
-
// Unknown / unstructured errors
|
|
149
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
150
|
-
if (json) {
|
|
151
|
-
process.stderr.write(JSON.stringify({ error: message, code: 'INTERNAL', category: 'internal' }) + '\n');
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
process.stderr.write(message + '\n');
|
|
155
|
-
}
|
|
156
|
-
process.exit(1);
|
|
157
|
-
}
|
|
72
|
+
// WP-753 V2 (TASK-203): the global error handler lives in ./handleCliError.ts (STD-2/DEC-1724 —
|
|
73
|
+
// kept out of this grandfathered file); imported below as handleError for the call site's own name.
|
|
158
74
|
program
|
|
159
75
|
.name('pb')
|
|
160
76
|
.description('Product Brain — Chain knowledge + write-back CLI')
|
|
161
77
|
.version(cliPackageVersion.version)
|
|
162
78
|
// Global output mode flags (DEC-299, BET-181)
|
|
163
|
-
.option('--json', 'Output machine-readable JSON (
|
|
164
|
-
.option('--pretty', 'Force human-readable output even when
|
|
79
|
+
.option('--json', 'Output machine-readable JSON (the card is the default even when piped)')
|
|
80
|
+
.option('--pretty', 'Force human-readable output even when PB_JSON=1 is set')
|
|
165
81
|
.option('-q, --quiet', 'Suppress non-essential output (banners, hints, progress)')
|
|
166
82
|
.exitOverride(); // Throw CommanderError instead of calling process.exit directly
|
|
167
|
-
// Apply global output mode BEFORE subcommand actions run
|
|
168
|
-
// Commander preAction hook signature: (hookedCommand, actionCommand)
|
|
169
|
-
// hookedCommand = the command where hook was registered (root program)
|
|
170
|
-
// actionCommand = the subcommand actually being invoked
|
|
83
|
+
// Apply global output mode BEFORE subcommand actions run. Commander preAction hook signature: (hookedCommand = root program, actionCommand = the subcommand actually invoked).
|
|
171
84
|
program.hook('preAction', (_hookedCommand, actionCommand) => {
|
|
172
85
|
const globalOpts = program.opts();
|
|
173
86
|
if (globalOpts.json) {
|
|
@@ -176,156 +89,63 @@ program.hook('preAction', (_hookedCommand, actionCommand) => {
|
|
|
176
89
|
else if (globalOpts.pretty) {
|
|
177
90
|
setOutputMode('pretty');
|
|
178
91
|
}
|
|
179
|
-
// else: 'auto' (default) — TTY
|
|
92
|
+
// else: 'auto' (default) — isJsonMode() checks PB_JSON=1, never TTY (WP-744 / 1e-B)
|
|
180
93
|
if (globalOpts.quiet) {
|
|
181
94
|
setQuietMode(true);
|
|
182
95
|
}
|
|
183
96
|
// Ambient update notification — non-blocking, suppressed in JSON mode (WP-322 S1)
|
|
184
97
|
checkForUpdate(cliPackageVersion.version);
|
|
185
|
-
// PREVIEW banner — writes to stderr so it's always visible even in --json/--quiet mode.
|
|
186
|
-
// Advisory line added for top-level Chain-write commands: real learnings belong in the real Chain.
|
|
98
|
+
// PREVIEW banner — writes to stderr so it's always visible even in --json/--quiet mode. Advisory line added for top-level Chain-write commands: real learnings belong in the real Chain.
|
|
187
99
|
printPreviewBanner(actionCommand);
|
|
188
100
|
});
|
|
189
|
-
// Default action — status dashboard when `pb` is invoked with no command.
|
|
190
|
-
// `pb --help` still works because Commander intercepts --help before the action runs.
|
|
101
|
+
// Default action — status dashboard when `pb` is invoked with no command. `pb --help` still works because Commander intercepts --help before the action runs.
|
|
191
102
|
program.action(async () => {
|
|
192
|
-
|
|
193
|
-
if (program.args.length > 0) {
|
|
194
|
-
const args = program.args;
|
|
195
|
-
// `pb start` / `pb start session` → `pb session start`
|
|
196
|
-
if (args[0] === 'start') {
|
|
197
|
-
await runSessionStart();
|
|
198
|
-
return;
|
|
199
|
-
}
|
|
200
|
-
// `pb close` / `pb close session` → `pb session close`
|
|
201
|
-
if (args[0] === 'close') {
|
|
202
|
-
await runSessionClose({});
|
|
203
|
-
return;
|
|
204
|
-
}
|
|
205
|
-
// Unknown command — show a helpful error instead of the welcome screen
|
|
206
|
-
const unknown = args[0];
|
|
207
|
-
process.stderr.write(`error: unknown command '${unknown}'\n`);
|
|
208
|
-
process.stderr.write(`Run 'pb --help' to see available commands.\n`);
|
|
209
|
-
process.exit(1);
|
|
210
|
-
}
|
|
211
|
-
const tier = detectRenderTier();
|
|
212
|
-
// JSON tier — structured status output
|
|
213
|
-
if (tier === 'json') {
|
|
214
|
-
// Check for API key first (sync, no network)
|
|
215
|
-
let hasKey = false;
|
|
216
|
-
try {
|
|
217
|
-
const { getConfig: gc } = await import('./lib/config.js');
|
|
218
|
-
gc();
|
|
219
|
-
hasKey = true;
|
|
220
|
-
}
|
|
221
|
-
catch {
|
|
222
|
-
// No valid key
|
|
223
|
-
}
|
|
224
|
-
if (!hasKey) {
|
|
225
|
-
process.stdout.write(JSON.stringify({
|
|
226
|
-
configured: false,
|
|
227
|
-
hint: 'Run pb login to configure your API key.',
|
|
228
|
-
}) + '\n');
|
|
229
|
-
return;
|
|
230
|
-
}
|
|
231
|
-
const { readSession } = await import('./lib/session.js');
|
|
232
|
-
const { probeWorkspace } = await import('./lib/workspace-probe.js');
|
|
233
|
-
const session = readSession();
|
|
234
|
-
const wsInfo = await probeWorkspace();
|
|
235
|
-
process.stdout.write(JSON.stringify({
|
|
236
|
-
configured: true,
|
|
237
|
-
workspace: wsInfo?.name ?? null,
|
|
238
|
-
session: session ? { id: session.sessionId, startedAt: session.startedAt } : null,
|
|
239
|
-
entryCount: wsInfo?.entryCount ?? null,
|
|
240
|
-
hint: 'Run pb --help for available commands.',
|
|
241
|
-
}) + '\n');
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
// Ink tier: suppress withSpinner output before Ink mounts — spinner writes pollute the TUI canvas
|
|
245
|
-
if (tier === 'ink')
|
|
246
|
-
setQuietMode(true);
|
|
247
|
-
// Resolve state (plain and ink both need it)
|
|
248
|
-
const state = await resolveSetupState();
|
|
249
|
-
// Plain tier — console output driven by state
|
|
250
|
-
if (tier === 'plain') {
|
|
251
|
-
process.stdout.write('\n');
|
|
252
|
-
if (state.stage === 'unconfigured') {
|
|
253
|
-
process.stdout.write(`${bold('Product Brain')} ${dim('— not connected')}\n\n`);
|
|
254
|
-
process.stdout.write(`${heading('Get started')}\n\n`);
|
|
255
|
-
hint('1. pb login Save your API key');
|
|
256
|
-
hint('2. pb connect Connect a workspace');
|
|
257
|
-
hint('3. pb orient -b See what\'s happening');
|
|
258
|
-
process.stdout.write('\n');
|
|
259
|
-
hint('pb --help Show all commands');
|
|
260
|
-
process.stdout.write('\n');
|
|
261
|
-
}
|
|
262
|
-
else if (state.stage === 'authenticated') {
|
|
263
|
-
process.stdout.write(`${bold('Product Brain')} ${dim('— server unreachable')}\n\n`);
|
|
264
|
-
process.stdout.write(` ${green(icons.pass)} Key: configured\n`);
|
|
265
|
-
process.stdout.write(` ! Server: unreachable — run pb doctor to diagnose\n\n`);
|
|
266
|
-
hint('pb session start Start a write session');
|
|
267
|
-
hint('pb doctor Diagnose connection issues');
|
|
268
|
-
hint('pb --help Show all commands');
|
|
269
|
-
process.stdout.write('\n');
|
|
270
|
-
}
|
|
271
|
-
else {
|
|
272
|
-
// workspace-bound or active
|
|
273
|
-
const workspaceName = state.workspaceName ?? 'unknown';
|
|
274
|
-
const entryCount = state.entryCount ?? 0;
|
|
275
|
-
const title = `${bold('Product Brain')} ${dim('—')} ${bold(workspaceName)}`;
|
|
276
|
-
process.stdout.write(`${title}\n\n`);
|
|
277
|
-
process.stdout.write(` ${green(icons.pass)} Key: configured\n`);
|
|
278
|
-
process.stdout.write(` ${green(icons.pass)} Workspace: ${workspaceName} (${entryCount} entries)\n`);
|
|
279
|
-
if (state.sessionActive) {
|
|
280
|
-
process.stdout.write(` ${green(icons.pass)} Session: active\n`);
|
|
281
|
-
}
|
|
282
|
-
else {
|
|
283
|
-
process.stdout.write(` ${dim('- Session: none')}\n`);
|
|
284
|
-
}
|
|
285
|
-
process.stdout.write('\n');
|
|
286
|
-
if (!state.sessionActive) {
|
|
287
|
-
hint('pb session start Start a write session');
|
|
288
|
-
}
|
|
289
|
-
hint('pb orient -b Workspace overview');
|
|
290
|
-
hint('pb --help Show all commands');
|
|
291
|
-
process.stdout.write('\n');
|
|
292
|
-
}
|
|
293
|
-
return;
|
|
294
|
-
}
|
|
295
|
-
// Ink tier — interactive TUI
|
|
296
|
-
const version = cliPackageVersion.version;
|
|
297
|
-
const { render } = await import('ink');
|
|
298
|
-
const { WelcomeCockpit } = await import('./commands/welcome.js');
|
|
299
|
-
const React = await import('react');
|
|
300
|
-
const { waitUntilExit, unmount } = render(React.default.createElement(WelcomeCockpit, { state, version, onExit: () => unmount() }));
|
|
301
|
-
await waitUntilExit();
|
|
103
|
+
await runStatus({ args: program.args, version: cliPackageVersion.version });
|
|
302
104
|
});
|
|
303
105
|
program
|
|
304
|
-
.command('get <entry-
|
|
305
|
-
.description('Display full
|
|
306
|
-
.action(async (
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
await runGet({ entryId: entryId.trim() });
|
|
106
|
+
.command('get <entry-ids...>')
|
|
107
|
+
.description('Display full entries by ID (data, relations, last 10 history events); pb get A B C reads all three')
|
|
108
|
+
.action(async (ids) => {
|
|
109
|
+
const entryIds = ids.map((id) => id.trim()).filter(Boolean);
|
|
110
|
+
if (entryIds.length === 0)
|
|
111
|
+
return void program.commands.find((c) => c.name() === 'get')?.help();
|
|
112
|
+
await runGet({ entryIds });
|
|
312
113
|
});
|
|
114
|
+
registerHistoryCommand(program); // WP-753 V2 (TASK-203): same-line combine, module-health shrink-only budget
|
|
313
115
|
program
|
|
314
116
|
.command('scoreboard')
|
|
315
|
-
.description('Flywheel scoreboard —
|
|
316
|
-
.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
.
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
117
|
+
.description('Flywheel scoreboard — metrics + diagnosis layer (agent-primary; --json for structured consumption)')
|
|
118
|
+
.action(async () => {
|
|
119
|
+
await runScoreboard();
|
|
120
|
+
});
|
|
121
|
+
const qualityCmd = program
|
|
122
|
+
.command('quality')
|
|
123
|
+
.description('Quality-check surfaces');
|
|
124
|
+
registerQualityCommands(qualityCmd);
|
|
125
|
+
const reworkCmd = program
|
|
126
|
+
.command('rework')
|
|
127
|
+
.description('Report observed rework signals (fills the rework meter)');
|
|
128
|
+
reworkCmd
|
|
129
|
+
.command('report <entry-id>')
|
|
130
|
+
.description('Report a rework event attributed to a previously served governance entry (agent-native checkpoint; requires an active session)')
|
|
131
|
+
.requiredOption('--classification <kind>', 'revision | ci_review_correction | user_override')
|
|
132
|
+
.option('--via <kind>', 'How this was observed: followup_commit | ci_rerun | manual', 'manual')
|
|
133
|
+
.option('--attributable', 'Flag: this ci_review_correction is attributed to a missing/violated served decision')
|
|
134
|
+
.option('--task <text>', 'Task context this rework relates to (truncated server-side, never raw diff/comment text)')
|
|
135
|
+
.option('--conversation <id>', 'Explicit conversation override, matching `pb session start --conversation <id>` — use when the shell has no PB_CONVERSATION_ID set')
|
|
136
|
+
.action(async (entryId, opts) => {
|
|
137
|
+
await runReworkReport({
|
|
138
|
+
entryId,
|
|
139
|
+
classification: opts.classification,
|
|
140
|
+
reportedVia: opts.via,
|
|
141
|
+
attributable: opts.attributable,
|
|
142
|
+
task: opts.task,
|
|
143
|
+
conversation: opts.conversation,
|
|
144
|
+
});
|
|
325
145
|
});
|
|
326
146
|
program
|
|
327
147
|
.command('context <entry-id>')
|
|
328
|
-
.description('Gather and display constellation context (
|
|
148
|
+
.description('Gather and display constellation context (human-readable card by default, even when piped — pass --json for machine-readable output)')
|
|
329
149
|
.action(async (entryId) => {
|
|
330
150
|
if (!entryId?.trim()) {
|
|
331
151
|
program.commands.find((c) => c.name() === 'context')?.help();
|
|
@@ -335,14 +155,14 @@ program
|
|
|
335
155
|
});
|
|
336
156
|
program
|
|
337
157
|
.command('changes')
|
|
338
|
-
.description('Detect entries modified and relations created since a given time
|
|
158
|
+
.description('Detect entries modified and relations created since a given time')
|
|
339
159
|
.requiredOption('--since <duration>', 'Time window: 1h, 6h, 1d, 7d, 30d')
|
|
340
160
|
.action(async (opts) => {
|
|
341
161
|
await runChanges({ since: opts.since });
|
|
342
162
|
});
|
|
343
163
|
program
|
|
344
164
|
.command('walk <entry-id>')
|
|
345
|
-
.description('Directed deep traversal along one relation type to depth 4
|
|
165
|
+
.description('Directed deep traversal along one relation type to depth 4')
|
|
346
166
|
.option('-d, --depth <n>', 'Traversal depth 1-4 (default 2)', '2')
|
|
347
167
|
.option('--direction <dir>', 'Traversal direction: outgoing or incoming (default outgoing)', 'outgoing')
|
|
348
168
|
.option('-t, --type <relation-type>', 'Filter by relation type (e.g. depends_on, informs, governs)')
|
|
@@ -363,18 +183,18 @@ program
|
|
|
363
183
|
});
|
|
364
184
|
program
|
|
365
185
|
.command('cross-cut')
|
|
366
|
-
.description('Structural aggregation — all relations of a given type grouped by source collection
|
|
186
|
+
.description('Structural aggregation — all relations of a given type grouped by source collection')
|
|
367
187
|
.requiredOption('--type <relation-type>', 'Relation type to scan (e.g. part_of, informs, governs)')
|
|
368
188
|
.action(async (opts) => {
|
|
369
189
|
await runCrossCut({ type: opts.type });
|
|
370
190
|
});
|
|
371
191
|
program
|
|
372
192
|
.command('brief [type]')
|
|
373
|
-
.description('Brief intelligence queries
|
|
374
|
-
' pb brief --skill <name> Incremental delta for a skill
|
|
375
|
-
' pb brief steering Compound: changes + structure + delta + readiness
|
|
376
|
-
' pb brief confidence Compound: changes + active
|
|
377
|
-
' pb brief delta [--since] Compound: changes + relations since timestamp
|
|
193
|
+
.description('Brief intelligence queries.\n' +
|
|
194
|
+
' pb brief --skill <name> Incremental delta for a skill\n' +
|
|
195
|
+
' pb brief steering Compound: changes + structure + delta + readiness\n' +
|
|
196
|
+
' pb brief confidence Compound: changes + active work packages (tensions: `pb tensions list`)\n' +
|
|
197
|
+
' pb brief delta [--since] Compound: changes + relations since timestamp')
|
|
378
198
|
.option('--skill <name>', 'Skill name for incremental brief (e.g. preflight, shaping, review)')
|
|
379
199
|
.option('--since-last', 'Compare against last brief run (incremental mode)')
|
|
380
200
|
.option('--since <timestamp>', 'ISO 8601 timestamp for delta type (e.g. 2026-03-24T00:00:00Z)')
|
|
@@ -396,51 +216,23 @@ program
|
|
|
396
216
|
});
|
|
397
217
|
program
|
|
398
218
|
.command('search [query...]')
|
|
399
|
-
.description('Full-text search across all collections')
|
|
219
|
+
.description('Full-text search across all collections. Quote each wording to search several at once: pb search "invite code" "invite link". Single words with no space are one search.')
|
|
400
220
|
.action(async (queryParts = []) => {
|
|
401
|
-
const
|
|
402
|
-
if (
|
|
221
|
+
const wordings = searchWordings(queryParts);
|
|
222
|
+
if (wordings.length === 0) {
|
|
403
223
|
program.commands.find((c) => c.name() === 'search')?.help();
|
|
404
224
|
return;
|
|
405
225
|
}
|
|
406
|
-
await runSearch({
|
|
226
|
+
await runSearch({ wordings });
|
|
407
227
|
});
|
|
408
228
|
program
|
|
409
229
|
.command('orient')
|
|
410
|
-
.description('Print
|
|
411
|
-
.option('-b, --brief', 'Compact view:
|
|
230
|
+
.description('Print all orient sections (strategic context, work packages, governance, tensions, etc.)')
|
|
231
|
+
.option('-b, --brief', 'Compact view: counts, top work packages, tensions, planned work')
|
|
412
232
|
.option('-t, --task <task>', 'Task description for task-shaped governance and context')
|
|
413
|
-
.option('-s, --scope <domain>', 'Domain scope for governance filtering. Forwarded to the workspace model for validation and custom domain resolution.')
|
|
414
233
|
.option('--full', 'Full depth orient (tier=full). Use for thorough context loading.')
|
|
415
|
-
.
|
|
416
|
-
|
|
417
|
-
});
|
|
418
|
-
program
|
|
419
|
-
.command('handshake')
|
|
420
|
-
.description('Generate context files for AI developer tools (AGENTS.md, .codex/skills/, CLAUDE.md, .cursor/rules/, .github/copilot-instructions.md)')
|
|
421
|
-
.option('--force', 'Overwrite adapter files even if they exist without auto-generated marker')
|
|
422
|
-
.option('--apply', 'Write files (default: preview only)')
|
|
423
|
-
.option('--dry-run', 'Show what would be generated without writing files (alias for preview)')
|
|
424
|
-
.option('--init', 'Set up Claude Code integration: team hooks + personal trust level')
|
|
425
|
-
.option('--level <level>', 'With --init: trust level (guide|work|silent|full-trust). Without --init: content tier (beginner|intermediate|expert)')
|
|
426
|
-
.option('--generate', 'Fetch governance entries from the Chain and merge generated rules (BET-286)')
|
|
427
|
-
.option('--surfaces <list>', 'Comma-separated surfaces to write (cursor,claude,copilot,codex)')
|
|
428
|
-
.option('--no-prompt', 'Headless mode: refuse on tampered projection files (WP-421 S3, doneWhen #17). Always implied when stdout is not a TTY.')
|
|
429
|
-
.option('--lenient', 'WP-439 S4: continue past setup-asset body fetch failures with a warning (legacy behaviour). By default, body fetch failures are hard errors; run `pb setup-audit --repair` to fix orphaned rows.')
|
|
430
|
-
.action(async (opts) => {
|
|
431
|
-
if (opts.init) {
|
|
432
|
-
await runHandshakeInit({ level: opts.level, dryRun: opts.dryRun });
|
|
433
|
-
return;
|
|
434
|
-
}
|
|
435
|
-
// Commander turns `--no-prompt` into `prompt: false`. We invert so HandshakeOptions sees noPrompt=true.
|
|
436
|
-
const noPrompt = opts.prompt === false;
|
|
437
|
-
// Attribute the bare-handshake invocation so its context.served row is separable from
|
|
438
|
-
// session-start ('session-start') / session-close ('session-close') / manual orient rows.
|
|
439
|
-
// Without this, the kernel used to coerce the absent path to 'manual-orient', polluting the
|
|
440
|
-
// proof slice that isolates manual `pb orient --task` rows (the 'handshake' union member was
|
|
441
|
-
// otherwise never emitted).
|
|
442
|
-
await runHandshake({ force: opts.force, apply: opts.apply, dryRun: opts.dryRun, level: opts.level, generate: opts.generate, surfaces: opts.surfaces?.split(','), noPrompt, lenient: opts.lenient, invocationPath: 'handshake' });
|
|
443
|
-
});
|
|
234
|
+
.option('--rules', 'Print each rule\'s whole body under its line, so no pb get per rule is needed')
|
|
235
|
+
.action((opts) => runOrient({ ...opts, task: opts.task?.trim() || undefined }));
|
|
444
236
|
program
|
|
445
237
|
.command('codex-prep <task...>')
|
|
446
238
|
.description('Generate task-specific governance context for Codex (.codex/task-context.md)')
|
|
@@ -456,21 +248,22 @@ program
|
|
|
456
248
|
});
|
|
457
249
|
program
|
|
458
250
|
.command('init')
|
|
459
|
-
.description('
|
|
460
|
-
.
|
|
461
|
-
|
|
462
|
-
});
|
|
251
|
+
.description('Install the session hooks for Claude Code, Codex and Cursor in this repo and check your setup')
|
|
252
|
+
.option('--dry-run', 'Print the hooks it would add without writing any hook file')
|
|
253
|
+
.option('--client <tool>', 'Also write this tool\'s hook in a folder without its files: claude, codex or cursor', parseInitClient)
|
|
254
|
+
.action(async (opts) => { await runInit({ dryRun: opts.dryRun, client: opts.client }); });
|
|
463
255
|
program
|
|
464
256
|
.command('connect <token>')
|
|
465
|
-
.description('Redeem an onboarding token and save your API key locally
|
|
257
|
+
.description('Redeem an onboarding token and save your API key locally. Uses CONVEX_SITE_URL if set, otherwise the production gateway. Override with --gateway or PB_CONNECT_GATEWAY_URL. In a non-interactive shell (e.g. CI), pass --yes to confirm the workspace, optionally with --name to label the key.')
|
|
466
258
|
.option('--gateway <url>', 'Override redeem gateway (default: CONVEX_SITE_URL or production). Use when token came from a different Convex deployment.')
|
|
467
|
-
.option('--name <label>', 'Optional label for this API key in workspace settings.
|
|
259
|
+
.option('--name <label>', 'Optional label for this API key in workspace settings. Skips the key-label prompt when set.')
|
|
260
|
+
.option('-y, --yes', 'Skip the interactive workspace confirmation. Required to connect in a non-interactive shell (e.g. CI).')
|
|
468
261
|
.action(async (token, opts) => {
|
|
469
262
|
if (!token?.trim()) {
|
|
470
263
|
program.commands.find((c) => c.name() === 'connect')?.help();
|
|
471
264
|
return;
|
|
472
265
|
}
|
|
473
|
-
await runConnect(token.trim(), { gateway: opts.gateway, name: opts.name });
|
|
266
|
+
await runConnect(token.trim(), { gateway: opts.gateway, name: opts.name, assumeYes: opts.yes });
|
|
474
267
|
});
|
|
475
268
|
program
|
|
476
269
|
.command('login')
|
|
@@ -494,68 +287,39 @@ program
|
|
|
494
287
|
await runWhoami();
|
|
495
288
|
});
|
|
496
289
|
program
|
|
497
|
-
.command('
|
|
498
|
-
.description('
|
|
499
|
-
.
|
|
500
|
-
|
|
501
|
-
});
|
|
502
|
-
program
|
|
503
|
-
.command('setup-detect-surfaces')
|
|
504
|
-
.description('Detect local surface markers and union-merge into manifest.surfaces (STD-235 forward-only)')
|
|
505
|
-
.action(async () => {
|
|
506
|
-
const result = await runSetupDetectSurfaces();
|
|
507
|
-
if (process.stdout.isTTY) {
|
|
508
|
-
process.stdout.write(formatDetectSurfacesSummary(result) + '\n');
|
|
509
|
-
}
|
|
510
|
-
else {
|
|
511
|
-
process.stderr.write(formatDetectSurfacesSummary(result) + '\n');
|
|
512
|
-
}
|
|
513
|
-
});
|
|
514
|
-
program
|
|
515
|
-
.command('setup-state')
|
|
516
|
-
.description('Emit compact JSON of getPbSetupState (machine-readable, used by the pb-setup skill body)')
|
|
517
|
-
.action(async () => {
|
|
518
|
-
await runSetupState();
|
|
519
|
-
});
|
|
520
|
-
// WP-439 S2: setup-asset orphan audit. Read-only diagnostic; exits 1 if any
|
|
521
|
-
// setup_asset row has a broken body wiring (will fail at handshake).
|
|
522
|
-
// WP-439 S3: --repair attempts to restore class III/II orphans from STARTER_*
|
|
523
|
-
// constants. Class I (inline-only) and IV (hash drift) are NOT touched.
|
|
524
|
-
program
|
|
525
|
-
.command('setup-audit')
|
|
526
|
-
.description('Audit setup_asset rows for orphaned bodies (WP-439 S2/S3). Exits 1 if any orphan or repair-failure.')
|
|
527
|
-
.option('--json', 'Emit machine-readable JSON (overrides pretty output for this command)')
|
|
528
|
-
.option('--repair', 'Attempt to restore class III/II orphans from STARTER_* constants (WP-439 S3)')
|
|
290
|
+
.command('files')
|
|
291
|
+
.description('Show which .productbrain files are pb-owned vs committed, and what writes each.')
|
|
292
|
+
.option('--fix', 'Add any exposed pb-owned files to .gitignore (idempotent)')
|
|
293
|
+
.option('--dry-run', 'With --fix: preview the .gitignore lines without writing')
|
|
529
294
|
.action(async (opts) => {
|
|
530
|
-
await
|
|
295
|
+
await runFiles({ fix: opts.fix, dryRun: opts.dryRun });
|
|
531
296
|
});
|
|
532
297
|
// --- Write commands (require active session) ---
|
|
533
298
|
const sessionCmd = program
|
|
534
299
|
.command('session')
|
|
535
|
-
.description('Manage write sessions (
|
|
536
|
-
sessionCmd
|
|
537
|
-
.command('start')
|
|
538
|
-
.description('Start a tracked write session (opens session, refreshes context)')
|
|
539
|
-
.option('--json', 'Output machine-readable JSON (deprecated: use global --json flag)')
|
|
540
|
-
.action(async (opts) => {
|
|
541
|
-
await runSessionStart({ json: opts.json });
|
|
542
|
-
});
|
|
300
|
+
.description('Manage write sessions (sessions required before write access)');
|
|
301
|
+
registerSessionStart(sessionCmd); // TASK-562: start and close live in commands/session-hook.ts
|
|
543
302
|
sessionCmd
|
|
544
303
|
.command('id')
|
|
545
|
-
.description('Print current session ID to stdout (machine-readable
|
|
304
|
+
.description('Print current session ID to stdout (machine-readable)')
|
|
546
305
|
.action(() => {
|
|
547
306
|
runSessionId();
|
|
548
307
|
});
|
|
308
|
+
registerSessionClose(sessionCmd);
|
|
309
|
+
// WP-479 E4: traceback + quota observability.
|
|
549
310
|
sessionCmd
|
|
550
|
-
.command('
|
|
551
|
-
.description('
|
|
552
|
-
.
|
|
553
|
-
|
|
554
|
-
await runSessionClose({ force: opts.force });
|
|
311
|
+
.command('list')
|
|
312
|
+
.description('List active sessions (with quota gauge) + recent non-active ones')
|
|
313
|
+
.action(async () => {
|
|
314
|
+
await runSessionList();
|
|
555
315
|
});
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
316
|
+
sessionCmd
|
|
317
|
+
.command('show <id-or-conversation>')
|
|
318
|
+
.description('Show a conversation\'s full session lineage + governance serves')
|
|
319
|
+
.action(async (idOrConversation) => {
|
|
320
|
+
await runSessionShow(idOrConversation);
|
|
321
|
+
});
|
|
322
|
+
// TEN-2189 / WP-456 E2: hard-reset worktree-local session state (no resume marker) + clear the PREVIEW_MODE marker. Recovery path for a session stranded on the wrong workspace after a pb:preview/pb:real binding flip.
|
|
559
323
|
sessionCmd
|
|
560
324
|
.command('reset')
|
|
561
325
|
.description('Hard-reset local session state (discard session.json + clear PREVIEW_MODE)')
|
|
@@ -566,19 +330,19 @@ sessionCmd
|
|
|
566
330
|
program
|
|
567
331
|
.command('capture [text...]')
|
|
568
332
|
.description('Capture knowledge to the Chain (requires active session)')
|
|
569
|
-
.option('-n, --name <name>',
|
|
570
|
-
.option('-d, --description <desc>',
|
|
333
|
+
.option('-n, --name <name>', `${ENTRY_NAME_HELP} Left out, it is the first sentence of the text.`)
|
|
334
|
+
.option('-d, --description <desc>', `${ENTRY_BODY_HELP} Left out, it is the whole text.`)
|
|
571
335
|
.option('-c, --collection <slug>', 'Explicit collection (skip auto-classification)')
|
|
572
|
-
.option('-f, --field <key=value>', 'Set a data field (repeatable;
|
|
573
|
-
.option('-l, --link <entry-id>', 'Link
|
|
574
|
-
.option('-t, --type <relation-type>', 'Relation type for --link
|
|
575
|
-
.option('--source-ref <ref>', 'Source reference URI (
|
|
576
|
-
.option('--source-excerpt <text>', 'Verbatim source excerpt
|
|
577
|
-
|
|
578
|
-
.option('--draft', 'Force the entry to draft regardless of workspace governance mode (TEN-2226)')
|
|
336
|
+
.option('-f, --field <key=value>', 'Set a data field (repeatable; checklist: -f doneWhen="a" -f doneWhen="b", one item per flag)', (val, prev) => [...prev, val], [])
|
|
337
|
+
.option('-l, --link <entry-id>', 'Link to an existing entry by id or name (repeatable; pairs with the -t in the same position)', (val, prev) => [...prev, val], [])
|
|
338
|
+
.option('-t, --link-type <relation-type>', 'Relation type for the -l in the same position; one per --link, no default', (val, prev) => [...prev, val], [])
|
|
339
|
+
.option('--source-ref <ref>', 'Source reference URI (e.g. "meeting-2026-03-28.md")')
|
|
340
|
+
.option('--source-excerpt <text>', 'Verbatim source excerpt')
|
|
341
|
+
.option('--draft', 'Force the entry to draft regardless of workspace governance mode — opt-in override, keeps it draft even in Open mode')
|
|
579
342
|
.option('--json', 'Output machine-readable JSON (deprecated: use global --json flag)')
|
|
580
|
-
.option('--
|
|
581
|
-
.option('--
|
|
343
|
+
.option('--owner-role <entry-id>', 'Existing Role entry ID to create AS OWNER of (you must hold it, and its team is the one you hold it in: root first, else the shallowest)') // WP-753 O1b: --owner-team deleted, default owner resolves from the session's acting role.
|
|
344
|
+
.option('--team <team-ref>', 'For a role: the team it is born in. For a team: its parent. Defaults to the root team')
|
|
345
|
+
.option('--entry-type <canonical-key>', 'Explicit canonical type for the new entry (e.g. objective, key_result) — bypasses classification; -t/--link-type is the --link relation type')
|
|
582
346
|
.action(async (textParts = [], opts) => {
|
|
583
347
|
const text = textParts.join(' ').trim();
|
|
584
348
|
if (!text && !opts.name) {
|
|
@@ -586,137 +350,63 @@ program
|
|
|
586
350
|
return;
|
|
587
351
|
}
|
|
588
352
|
await runCapture({
|
|
589
|
-
text: text || opts.name || '',
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
collection: opts.collection,
|
|
593
|
-
field: opts.field,
|
|
594
|
-
link: opts.link,
|
|
595
|
-
type: opts.type,
|
|
596
|
-
sourceRef: opts.sourceRef,
|
|
597
|
-
sourceExcerpt: opts.sourceExcerpt,
|
|
598
|
-
draft: opts.draft,
|
|
599
|
-
json: opts.json,
|
|
600
|
-
suggestOnly: opts.suggestOnly,
|
|
601
|
-
strict: opts.strict,
|
|
353
|
+
text: text || opts.name || '', name: opts.name, description: opts.description, collection: opts.collection,
|
|
354
|
+
field: opts.field, link: opts.link, linkType: opts.linkType, sourceRef: opts.sourceRef, sourceExcerpt: opts.sourceExcerpt,
|
|
355
|
+
draft: opts.draft, json: opts.json, ownerRole: opts.ownerRole, entryType: opts.entryType, team: opts.team,
|
|
602
356
|
});
|
|
603
357
|
});
|
|
604
358
|
// --- Update command (TEN-703) ---
|
|
605
359
|
program
|
|
606
360
|
.command('update <entry-id>')
|
|
607
361
|
.description('Update fields on an existing Chain entry (requires active session)')
|
|
608
|
-
.option('-f, --field <key=value>', 'Set a data field (repeatable)', (val, prev) => [...prev, val], [])
|
|
362
|
+
.option('-f, --field <key=value>', 'Set a data field (repeatable; checklist: -f doneWhen="a" -f doneWhen="b", one item per flag)', (val, prev) => [...prev, val], [])
|
|
609
363
|
.option('--name <name>', 'Update entry name')
|
|
610
|
-
.option('--status <status>', 'Update entry status (draft |
|
|
364
|
+
.option('--status <status>', 'Update entry status (draft | archived) — accepted is set via `pb entry accept`; active/deprecated are legacy and refused')
|
|
611
365
|
.option('--workflow-status <status>', 'Set workflow status (server-validated)')
|
|
612
|
-
.option('--
|
|
613
|
-
.option('--
|
|
614
|
-
.option('--
|
|
366
|
+
.option('--type <canonical-key>', 'Reclassify a DRAFT entry to another canonical type (immutable once accepted — supersede instead)')
|
|
367
|
+
.option('--note <text>', 'Change note for history').option('--change-reason <text>', 'Why what the entry promises is changing (required for a promise-field change)')
|
|
368
|
+
.option('--changed-by <entry-id>', `The newer entry this update answers a ${CLASH.one} with; needs --change-reason`)
|
|
369
|
+
.option('--override-reason <text>', 'Why it stands alone or why a text keeps after its checklist failed, at least 12 characters. Your name is kept with it.')
|
|
370
|
+
.option('--acknowledge <response>', 'Answer why it stands alone: linked | accepted-fix | diverged')
|
|
615
371
|
.option('--ack-entry <entry-id>', 'Authorizing entry for --acknowledge linked / accepted-fix')
|
|
616
|
-
.option('--ack-reason <text>', '
|
|
372
|
+
.option('--ack-reason <text>', 'Why you diverge, at least 12 characters; required with --acknowledge diverged')
|
|
373
|
+
// Commander camelCases every flag to exactly the UpdateOptions key it feeds, so the options
|
|
374
|
+
// object spreads straight through. The previous hand-written 1:1 mapping had to be edited twice
|
|
375
|
+
// per new flag (once here, once in the type) and silently dropped anything you forgot.
|
|
617
376
|
.action(async (entryId, opts) => {
|
|
618
|
-
await runUpdate({
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
});
|
|
631
|
-
// --- Promote command (Wave 2 CLI Polish) ---
|
|
632
|
-
program
|
|
633
|
-
.command('verify <entry-id>')
|
|
634
|
-
.description('Mark an entry as verified (BET-240: source fidelity trust signal)')
|
|
635
|
-
.action(async (entryId) => {
|
|
377
|
+
await runUpdate({ entryId, ...opts });
|
|
378
|
+
});
|
|
379
|
+
// --- Restore command (WP-514 review round 2, P1) ---
|
|
380
|
+
program
|
|
381
|
+
.command('restore <entry-id>')
|
|
382
|
+
.description('Restore an archived Chain entry to draft (requires active session + rung-3 authority coverage)')
|
|
383
|
+
.action(async (entryId) => { await runRestore(entryId); });
|
|
384
|
+
// --- Entry noun-scoped commands (DEC-1574, WP-640 S4) — registerEntryCommands.ts ---
|
|
385
|
+
registerEntryCommands(program);
|
|
386
|
+
registerTensionsCommands(program);
|
|
387
|
+
registerTasksCommands(program); // WP-768 L0, DEC-2459: same-line combine (module-health)
|
|
388
|
+
program.command('verify <entry-id>').description('Mark an entry as verified (source fidelity trust signal)').action(async (entryId) => {
|
|
636
389
|
if (!entryId?.trim()) {
|
|
637
390
|
program.commands.find((c) => c.name() === 'verify')?.help();
|
|
638
391
|
return;
|
|
639
392
|
}
|
|
640
393
|
await runVerify({ entryId: entryId.trim() });
|
|
641
394
|
});
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
.option('--override-reason <text>', 'Typed override (≥12 chars) clearing a steering coherency block at publish — recorded with author attribution (WP-465)')
|
|
647
|
-
.option('--acknowledge <response>', 'Respond to a coherency challenge: linked | accepted-fix | diverged (WP-465)')
|
|
648
|
-
.option('--ack-entry <entry-id>', 'Authorizing entry for --acknowledge linked / accepted-fix')
|
|
649
|
-
.option('--ack-reason <text>', 'Divergence rationale (≥12 chars) for --acknowledge diverged')
|
|
650
|
-
.action(async (entryIds, opts) => {
|
|
651
|
-
await runPromote({
|
|
652
|
-
entryIds,
|
|
653
|
-
message: opts.message,
|
|
654
|
-
overrideReason: opts.overrideReason,
|
|
655
|
-
acknowledge: opts.acknowledge,
|
|
656
|
-
ackEntry: opts.ackEntry,
|
|
657
|
-
ackReason: opts.ackReason,
|
|
658
|
-
});
|
|
659
|
-
});
|
|
660
|
-
// --- Relate / Unrelate commands (TEN-704) ---
|
|
661
|
-
program
|
|
662
|
-
.command('relate <from-id> <type> <to-id>')
|
|
663
|
-
.description('Add a typed relation between two entries (requires active session)')
|
|
664
|
-
.option('--if-missing', 'Only create relation if it does not already exist')
|
|
665
|
-
.action(async (fromId, type, toId, opts) => {
|
|
666
|
-
await runRelate({ fromId, type, toId, ifMissing: opts.ifMissing });
|
|
667
|
-
});
|
|
668
|
-
program
|
|
669
|
-
.command('unrelate <from-id> <type> <to-id>')
|
|
670
|
-
.description('Remove a typed relation between two entries (requires active session)')
|
|
671
|
-
.action(async (fromId, type, toId) => {
|
|
672
|
-
await runUnrelate({ fromId, type, toId });
|
|
673
|
-
});
|
|
674
|
-
// --- Ingest command (BET-81) ---
|
|
675
|
-
program
|
|
676
|
-
.command('ingest <pattern>')
|
|
677
|
-
.description('Bulk ingest documents to Chain as drafts')
|
|
678
|
-
.option('--dry-run', 'Stage entries without auto-committing. Shows summary only.')
|
|
679
|
-
.option('--resume', 'Skip files whose sourceRef is already committed in staging.')
|
|
680
|
-
.option('--concurrency <n>', 'Process up to N files in parallel (default 1, max 5).', '1')
|
|
681
|
-
.action(async (pattern, opts) => {
|
|
682
|
-
const concurrency = parseInt(opts.concurrency ?? '1', 10);
|
|
683
|
-
if (Number.isNaN(concurrency) || concurrency < 1) {
|
|
684
|
-
throw new CLIError('--concurrency must be a positive integer.', {
|
|
685
|
-
code: ErrorCode.VALIDATION_FAILED,
|
|
686
|
-
category: 'validation',
|
|
687
|
-
});
|
|
688
|
-
}
|
|
689
|
-
await runIngest({
|
|
690
|
-
pattern,
|
|
691
|
-
dryRun: opts.dryRun,
|
|
692
|
-
resume: opts.resume,
|
|
693
|
-
concurrency,
|
|
694
|
-
});
|
|
695
|
-
});
|
|
696
|
-
// --- migrate:setup command (WP-345 S0b) ---
|
|
697
|
-
program
|
|
698
|
-
.command('migrate:setup')
|
|
699
|
-
.description('Migrate .productbrain/skills|rules|hooks/*.md into the DB setup-assets collection (WP-345)')
|
|
700
|
-
.option('--dry-run', 'Show what would be migrated without writing to DB.')
|
|
701
|
-
.option('--cwd <path>', 'Override working directory (default: process.cwd())')
|
|
702
|
-
.action(async (opts) => {
|
|
703
|
-
const { runMigrateSetup } = await import('./commands/migrate-setup.js');
|
|
704
|
-
await runMigrateSetup({ dryRun: opts.dryRun, cwd: opts.cwd });
|
|
705
|
-
});
|
|
706
|
-
// --- setup:ingest command (WP-345 S3) ---
|
|
707
|
-
program
|
|
708
|
-
.command('setup:ingest <path>')
|
|
709
|
-
.description('Push a single .productbrain skill/rule/hook file to the DB setup-assets SSOT (WP-345)')
|
|
710
|
-
.option('--dry-run', 'Show what would be ingested without writing to DB.')
|
|
711
|
-
.option('--json', 'Output machine-readable JSON (deprecated: use global --json flag)')
|
|
712
|
-
.action(async (filePath, opts) => {
|
|
713
|
-
if (!filePath?.trim()) {
|
|
714
|
-
program.commands.find((c) => c.name() === 'setup:ingest')?.help();
|
|
395
|
+
// TASK-384 S1: distinct from verify (attestation) — the holder of the owning role (else the nearest seated Team Lead) confirms accuracy; no content/version change.
|
|
396
|
+
program.command('still-true <entry-id>').description('Confirm an entry is still true (the holder of the owning role, else the nearest seated Team Lead)').action(async (entryId) => {
|
|
397
|
+
if (!entryId?.trim()) {
|
|
398
|
+
program.commands.find((c) => c.name() === 'still-true')?.help();
|
|
715
399
|
return;
|
|
716
400
|
}
|
|
717
|
-
|
|
718
|
-
await runSetupIngest(filePath.trim(), { dryRun: opts.dryRun });
|
|
401
|
+
await runStillTrue({ entryId: entryId.trim() });
|
|
719
402
|
});
|
|
403
|
+
// registerProposalCommands(program) deleted (WP-776 S2a, DEC-1771) — `pb accept`/`pb reject`/`pb proposals` are gone.
|
|
404
|
+
registerOutcomeCommands(program);
|
|
405
|
+
registerRoleCommands(program);
|
|
406
|
+
registerMethodCommands(program); // WP-722 S2 outcome; WP-730 S2 role; TASK-1214 method
|
|
407
|
+
// --- Relate / Unrelate commands (TEN-704) — registerEntryCommands.ts (WP-688 S2a: moved off
|
|
408
|
+
// this shrink-only file to fund the --dry-run flag) ---
|
|
409
|
+
registerRelateCommands(program);
|
|
720
410
|
// --- Fields command (BET-181 Slice 2) ---
|
|
721
411
|
program
|
|
722
412
|
.command('fields <collection>')
|
|
@@ -739,62 +429,10 @@ program
|
|
|
739
429
|
}
|
|
740
430
|
await runConstellation({ entryId: entryId.trim() });
|
|
741
431
|
});
|
|
742
|
-
// --- Audit command (BET-182 Slice 2) ---
|
|
743
|
-
program
|
|
744
|
-
.command('audit <entry-ids...>')
|
|
745
|
-
.description('Run hygiene audit on bet(s) — 13 gates (shaping) / 18 gates (handoff), exit code reflects verdict')
|
|
746
|
-
.option('--phase <phase>', 'Override phase detection (shaping | handoff)')
|
|
747
|
-
.option('--gate <name>', 'Run only specified gate(s) (repeatable)', (val, prev) => [...prev, val], [])
|
|
748
|
-
.option('--fix', 'Auto-execute exact fixes via pb update, rerun once')
|
|
749
|
-
.option('--verbose', 'Show all gates including PASS detail')
|
|
750
|
-
.action(async (entryIds, opts) => {
|
|
751
|
-
await runAudit({
|
|
752
|
-
entryIds: entryIds.map((id) => id.trim()).filter(Boolean),
|
|
753
|
-
phase: opts.phase,
|
|
754
|
-
gate: opts.gate,
|
|
755
|
-
fix: opts.fix,
|
|
756
|
-
verbose: opts.verbose,
|
|
757
|
-
});
|
|
758
|
-
});
|
|
759
|
-
program
|
|
760
|
-
.command('brand-pack')
|
|
761
|
-
.description('Internal marketing: structured community copy via OpenRouter (requires OPENROUTER_API_KEY). Forwards args to scripts/brand-pack.mjs')
|
|
762
|
-
.allowUnknownOption(true)
|
|
763
|
-
.allowExcessArguments(true)
|
|
764
|
-
.action(() => {
|
|
765
|
-
runBrandPack(process.argv);
|
|
766
|
-
});
|
|
767
|
-
// --- Governance proposal commands (BET-221 Slice 3) ---
|
|
768
|
-
program
|
|
769
|
-
.command('proposals')
|
|
770
|
-
.description('List open consent proposals with expiry countdown (BET-221)')
|
|
771
|
-
.action(async () => {
|
|
772
|
-
await runProposals();
|
|
773
|
-
});
|
|
774
|
-
program
|
|
775
|
-
.command('accept [proposal-id]')
|
|
776
|
-
.description('Approve a consent proposal by ID, or --auto to batch-approve all')
|
|
777
|
-
.option('-a, --auto', 'Auto-approve all open proposals (skip contradictions)')
|
|
778
|
-
.action(async (proposalId, opts) => {
|
|
779
|
-
if (!proposalId && !opts.auto) {
|
|
780
|
-
throw new CLIError('Usage: pb accept <proposal-id> or pb accept --auto', {
|
|
781
|
-
code: ErrorCode.VALIDATION_FAILED,
|
|
782
|
-
category: 'validation',
|
|
783
|
-
});
|
|
784
|
-
}
|
|
785
|
-
await runAccept({ proposalId, auto: opts.auto });
|
|
786
|
-
});
|
|
787
|
-
program
|
|
788
|
-
.command('reject <proposal-id>')
|
|
789
|
-
.description('Reject a consent proposal with a required reason (BR-7)')
|
|
790
|
-
.requiredOption('-r, --reason <text>', 'Reason for rejection (required)')
|
|
791
|
-
.action(async (proposalId, opts) => {
|
|
792
|
-
await runReject({ proposalId, reason: opts.reason });
|
|
793
|
-
});
|
|
794
432
|
// --- Collections command (BET-280 Slice 1) ---
|
|
795
433
|
const collectionsCmd = program
|
|
796
434
|
.command('collections')
|
|
797
|
-
.description('Inspect and audit workspace collection registry
|
|
435
|
+
.description('Inspect and audit workspace collection registry');
|
|
798
436
|
collectionsCmd
|
|
799
437
|
.command('list')
|
|
800
438
|
.description('List all collections — slug, name, field count, icon')
|
|
@@ -826,186 +464,27 @@ collectionsCmd
|
|
|
826
464
|
// --- Workspace operator commands (WP-305 Slice 4) ---
|
|
827
465
|
const workspaceCmd = program
|
|
828
466
|
.command('workspace')
|
|
829
|
-
.description('Operator
|
|
467
|
+
.description('Operator command for workspace health');
|
|
830
468
|
workspaceCmd
|
|
831
469
|
.command('verify')
|
|
832
470
|
.description('Check workspace health — seeds, collections, glossary (admin only)')
|
|
833
471
|
.action(async () => {
|
|
834
472
|
await runWorkspaceVerify();
|
|
835
473
|
});
|
|
836
|
-
workspaceCmd
|
|
837
|
-
.command('repair')
|
|
838
|
-
.description('Backfill missing seeds for the active workspace (admin only)')
|
|
839
|
-
.action(async () => {
|
|
840
|
-
await runWorkspaceRepair();
|
|
841
|
-
});
|
|
842
|
-
const authorityDomainsCmd = program
|
|
843
|
-
.command('authority-domains')
|
|
844
|
-
.description('Operator commands for WP-354 authority-domain readiness and evidence');
|
|
845
|
-
function collectRepeatableOption(value, previous) {
|
|
846
|
-
return [...(previous ?? []), value];
|
|
847
|
-
}
|
|
848
|
-
authorityDomainsCmd
|
|
849
|
-
.command('add <slug>')
|
|
850
|
-
.description('Create an authority domain for this workspace')
|
|
851
|
-
.option('--description <description>', 'Authority-domain description')
|
|
852
|
-
.option('--alias <alias>', 'Alias/keyword for this domain (repeatable)', collectRepeatableOption)
|
|
853
|
-
.option('--path-glob <glob>', 'Changed-path glob for this domain (repeatable)', collectRepeatableOption)
|
|
854
|
-
.action(async (slug, opts) => {
|
|
855
|
-
await runAuthorityDomainsAdd(slug, opts);
|
|
856
|
-
});
|
|
857
|
-
authorityDomainsCmd
|
|
858
|
-
.command('propose')
|
|
859
|
-
.description('Generate authority-domain tag proposals')
|
|
860
|
-
.option('--dry-run', 'Preview without writing staging proposals')
|
|
861
|
-
.option('--limit <n>', 'Maximum governance entries to classify')
|
|
862
|
-
.option('--mock', 'Use deterministic mock classifier')
|
|
863
|
-
.action(async (opts) => {
|
|
864
|
-
await runAuthorityDomainsPropose(opts);
|
|
865
|
-
});
|
|
866
|
-
authorityDomainsCmd
|
|
867
|
-
.command('review')
|
|
868
|
-
.description('List authority-domain tag proposals')
|
|
869
|
-
.option('--status <status>', 'pending, committed, rejected, or skipped', 'pending')
|
|
870
|
-
.option('--limit <n>', 'Maximum proposals to list')
|
|
871
|
-
.option('--sample <n>', 'Return a stable proposal sample')
|
|
872
|
-
.option('--stratified', 'Stratify sample across proposed domain and source collection')
|
|
873
|
-
.action(async (opts) => {
|
|
874
|
-
await runAuthorityDomainsReview(opts);
|
|
875
|
-
});
|
|
876
|
-
const authorityDomainsSampleCmd = authorityDomainsCmd
|
|
877
|
-
.command('sample')
|
|
878
|
-
.description('Manage human-reviewed authority-domain proposal samples');
|
|
879
|
-
authorityDomainsSampleCmd
|
|
880
|
-
.command('record')
|
|
881
|
-
.description('Record human-reviewed sample accuracy for authority-domain proposals')
|
|
882
|
-
.requiredOption('--sample-id <id>', 'Stable sample identifier from the review packet')
|
|
883
|
-
.option('--run-id <id>', 'Proposal run identifier')
|
|
884
|
-
.requiredOption('--approved <n>', 'Count of sampled proposals approved as-is')
|
|
885
|
-
.requiredOption('--rejected <n>', 'Count of sampled proposals rejected')
|
|
886
|
-
.requiredOption('--corrected <n>', 'Count of sampled proposals corrected to another domain')
|
|
887
|
-
.action(async (opts) => {
|
|
888
|
-
await runAuthorityDomainsRecordSample(opts);
|
|
889
|
-
});
|
|
890
|
-
authorityDomainsCmd
|
|
891
|
-
.command('ratify <proposal-id>')
|
|
892
|
-
.description('Ratify an authority-domain tag proposal')
|
|
893
|
-
.option('--note <note>', 'Review note')
|
|
894
|
-
.action(async (proposalId, opts) => {
|
|
895
|
-
await runAuthorityDomainsRatify(proposalId, opts);
|
|
896
|
-
});
|
|
897
|
-
authorityDomainsCmd
|
|
898
|
-
.command('queue-tag')
|
|
899
|
-
.description('Queue a known-correct authority-domain tag proposal')
|
|
900
|
-
.requiredOption('--entry <entryId>', 'Entry ID to tag, e.g. DEC-1244')
|
|
901
|
-
.requiredOption('--domain <domainSlug>', 'Authority-domain slug, e.g. product-design/ux')
|
|
902
|
-
.option('--note <note>', 'Known-correct evidence note')
|
|
903
|
-
.option('--ratify', 'Immediately ratify using the generated confirmation string')
|
|
904
|
-
.action(async (opts) => {
|
|
905
|
-
await runAuthorityDomainsQueueTag(opts);
|
|
906
|
-
});
|
|
907
|
-
authorityDomainsCmd
|
|
908
|
-
.command('reject <proposal-id>')
|
|
909
|
-
.description('Reject an authority-domain tag proposal')
|
|
910
|
-
.option('--reason <reason>', 'Rejection reason')
|
|
911
|
-
.action(async (proposalId, opts) => {
|
|
912
|
-
await runAuthorityDomainsReject(proposalId, opts);
|
|
913
|
-
});
|
|
914
|
-
authorityDomainsCmd
|
|
915
|
-
.command('discard-pending')
|
|
916
|
-
.description('Reject all pending authority-domain tag proposals after a failed batch diagnosis')
|
|
917
|
-
.option('--reason <reason>', 'Discard reason')
|
|
918
|
-
.action(async (opts) => {
|
|
919
|
-
await runAuthorityDomainsDiscardPending(opts);
|
|
920
|
-
});
|
|
921
|
-
authorityDomainsCmd
|
|
922
|
-
.command('readiness')
|
|
923
|
-
.description('Show WP-354 authority-domain readiness, evidence gap, and next action')
|
|
924
|
-
.action(async () => {
|
|
925
|
-
await runAuthorityDomainsReadiness();
|
|
926
|
-
});
|
|
927
|
-
authorityDomainsCmd
|
|
928
|
-
.command('benchmark')
|
|
929
|
-
.description('Run and persist the WP-354 authority-domain benchmark')
|
|
930
|
-
.action(async () => {
|
|
931
|
-
await runAuthorityDomainsBenchmark();
|
|
932
|
-
});
|
|
933
|
-
authorityDomainsCmd
|
|
934
|
-
.command('activate-cutover')
|
|
935
|
-
.description('Activate graph retrieval after WP-354 evidence gates pass')
|
|
936
|
-
.option('--force-pre-production', 'Bypass the permanently-locked valueProof gate (requires --dec-id, DEC-864)')
|
|
937
|
-
.option('--dec-id <decId>', 'Chain DEC ID authorizing the bypass')
|
|
938
|
-
.action(async (opts) => {
|
|
939
|
-
await runAuthorityDomainsActivateCutover({ forcePreProduction: opts.forcePreProduction, decId: opts.decId });
|
|
940
|
-
});
|
|
941
|
-
authorityDomainsCmd
|
|
942
|
-
.command('deactivate-cutover')
|
|
943
|
-
.description('Deactivate the active WP-354 authorityDomain cutover for this workspace (DEC-864 rollback).')
|
|
944
|
-
.option('--clerk-user-id <clerkUserId>', 'Override the Clerk user ID for audit trail')
|
|
945
|
-
.action(async (opts) => {
|
|
946
|
-
await runAuthorityDomainsDeactivateCutover({ clerkUserId: opts.clerkUserId });
|
|
947
|
-
});
|
|
948
|
-
authorityDomainsCmd
|
|
949
|
-
.command('principle-distribution')
|
|
950
|
-
.description('Pre-merge gate: check governance category match rate for principles entries')
|
|
951
|
-
.action(async () => {
|
|
952
|
-
await runAuthorityDomainsPrincipleDistribution();
|
|
953
|
-
});
|
|
954
474
|
// --- Definitions diff command (WP-305 Slice 4) ---
|
|
955
475
|
const definitionsCmd = program
|
|
956
476
|
.command('definitions')
|
|
957
|
-
.description('Inspect and compare workspace definitions
|
|
477
|
+
.description('Inspect and compare workspace definitions');
|
|
958
478
|
definitionsCmd
|
|
959
479
|
.command('diff [file]')
|
|
960
480
|
.description('Compare local dev-system-collections.json against server definitions (admin only)')
|
|
961
481
|
.action(async (file) => {
|
|
962
482
|
await runDefinitionsDiff({ file });
|
|
963
483
|
});
|
|
964
|
-
// --- Method commands (WP-329 S1: method visibility) ---
|
|
965
|
-
const methodCmd = program
|
|
966
|
-
.command('method')
|
|
967
|
-
.description('Inspect published methods (skills + rules) and their per-surface adapter status (WP-329)');
|
|
968
|
-
methodCmd
|
|
969
|
-
.command('ls')
|
|
970
|
-
.description('List all methods with version, published status, and adapter presence')
|
|
971
|
-
.action(async () => {
|
|
972
|
-
await runMethodList();
|
|
973
|
-
});
|
|
974
|
-
methodCmd
|
|
975
|
-
.command('show <name>')
|
|
976
|
-
.description('Show details for one method: frontmatter, Chain entry, and per-adapter fork status')
|
|
977
|
-
.action(async (name) => {
|
|
978
|
-
if (!name?.trim()) {
|
|
979
|
-
program.commands.find((c) => c.name() === 'method')?.help();
|
|
980
|
-
return;
|
|
981
|
-
}
|
|
982
|
-
await runMethodShow({ name: name.trim() });
|
|
983
|
-
});
|
|
984
|
-
methodCmd
|
|
985
|
-
.command('diff <name>')
|
|
986
|
-
.description('Show diff between local .productbrain/ source and last-published Chain version (WP-329 S2)')
|
|
987
|
-
.action(async (name) => {
|
|
988
|
-
if (!name?.trim()) {
|
|
989
|
-
program.commands.find((c) => c.name() === 'method')?.help();
|
|
990
|
-
return;
|
|
991
|
-
}
|
|
992
|
-
await runMethodDiff({ name: name.trim() });
|
|
993
|
-
});
|
|
994
|
-
methodCmd
|
|
995
|
-
.command('publish <name>')
|
|
996
|
-
.description('Publish a local .productbrain/ method (skill or rule) to the Chain methods collection (WP-329 S3)')
|
|
997
|
-
.option('--force', 'Publish even when local body matches the last-published version (override D4 no-op guard)')
|
|
998
|
-
.action(async (name, opts) => {
|
|
999
|
-
if (!name?.trim()) {
|
|
1000
|
-
program.commands.find((c) => c.name() === 'method')?.help();
|
|
1001
|
-
return;
|
|
1002
|
-
}
|
|
1003
|
-
await runMethodPublish({ name: name.trim(), force: opts.force });
|
|
1004
|
-
});
|
|
1005
484
|
// --- Profile commands (WP-302 Slice 2) ---
|
|
1006
485
|
const profileCmd = program
|
|
1007
486
|
.command('profile')
|
|
1008
|
-
.description('Manage workspace profiles (
|
|
487
|
+
.description('Manage workspace profiles (multi-workspace support)');
|
|
1009
488
|
profileCmd
|
|
1010
489
|
.command('list')
|
|
1011
490
|
.description('List all profiles, mark active one')
|
|
@@ -1014,9 +493,9 @@ profileCmd
|
|
|
1014
493
|
});
|
|
1015
494
|
profileCmd
|
|
1016
495
|
.command('create <name>')
|
|
1017
|
-
.description('Create a new profile with an API key')
|
|
1018
|
-
.
|
|
1019
|
-
.option('--url <url>',
|
|
496
|
+
.description('Create a new profile with an API key, pasted at a prompt that does not show it, or piped in on one line')
|
|
497
|
+
.option('--api-key <key>', `API key (${API_KEY_PREFIX} or ${AGENT_KEY_PREFIX}); it stays in shell history, so paste it instead`)
|
|
498
|
+
.option('--url <url>', "Gateway for this key. Defaults to the gateway of this folder's pinned profile, else production.")
|
|
1020
499
|
.action(async (name, opts) => {
|
|
1021
500
|
await runProfileCreate({ name, apiKey: opts.apiKey, url: opts.url });
|
|
1022
501
|
});
|
|
@@ -1045,10 +524,10 @@ program
|
|
|
1045
524
|
// --- Glossary command (WP-302 Slice 4) ---
|
|
1046
525
|
program
|
|
1047
526
|
.command('glossary')
|
|
1048
|
-
.description('Show
|
|
527
|
+
.description('Show the four platform glossary terms; pb search <word> finds your team terms')
|
|
1049
528
|
.action(() => {
|
|
1050
529
|
if (isJsonMode()) {
|
|
1051
|
-
process.stdout.write(JSON.stringify(
|
|
530
|
+
process.stdout.write(JSON.stringify(PLATFORM_GLOSSARY_TERMS) + '\n');
|
|
1052
531
|
return;
|
|
1053
532
|
}
|
|
1054
533
|
const lines = [
|
|
@@ -1063,7 +542,7 @@ program
|
|
|
1063
542
|
// --- Usage command (WP-322 S4, FEAT-1011) ---
|
|
1064
543
|
program
|
|
1065
544
|
.command('usage')
|
|
1066
|
-
.description('Session and activity dashboard — 4-tab Ink TUI
|
|
545
|
+
.description('Session and activity dashboard — 4-tab Ink TUI')
|
|
1067
546
|
.option('--json', 'Output machine-readable JSON (sessions, entries30d, activity array)')
|
|
1068
547
|
.action(async (opts) => {
|
|
1069
548
|
await runUsage({ json: opts.json });
|
|
@@ -1071,19 +550,26 @@ program
|
|
|
1071
550
|
// --- Proof-run command (WP-459: admin-proof bridge dogfood) ---
|
|
1072
551
|
program
|
|
1073
552
|
.command('proof-run <proof-name>')
|
|
1074
|
-
.description('Run an admin-only proof against the seeded preview via the proof bridge
|
|
553
|
+
.description('Run an admin-only proof against the seeded preview via the proof bridge')
|
|
1075
554
|
.action(async (proofName) => {
|
|
1076
555
|
await runProofRun({ proofName: proofName.trim() });
|
|
1077
556
|
});
|
|
1078
557
|
// --- Admin command group (WP-312 S2, FEAT-969) ---
|
|
1079
558
|
program.addCommand(createAdminCommand());
|
|
559
|
+
program.addCommand(createFeedbackCommand());
|
|
560
|
+
program.addCommand(createConflictsCommand());
|
|
561
|
+
program.addCommand(createQuestionCommand());
|
|
562
|
+
program.addCommand(createDirectionCommand());
|
|
563
|
+
program.addCommand(createOrganisationCommand());
|
|
564
|
+
program.addCommand(createAcceptPolicyCommand());
|
|
1080
565
|
// --- Upgrade command (WP-322 S1: ambient update notification) ---
|
|
1081
566
|
program
|
|
1082
567
|
.command('upgrade')
|
|
1083
|
-
.description(`Upgrade pb CLI to the latest beta (${
|
|
568
|
+
.description(`Upgrade pb CLI to the latest beta (${CLI_INSTALL_COMMAND})`)
|
|
1084
569
|
.action(async () => {
|
|
1085
570
|
await runUpgrade({ currentVersion: cliPackageVersion.version });
|
|
1086
571
|
});
|
|
1087
|
-
// Parse with global error handler —
|
|
1088
|
-
program
|
|
572
|
+
// Parse with global error handler — every error routes through handleError, which alone prints it (TASK-959)
|
|
573
|
+
silenceCommanderErrors(program);
|
|
574
|
+
program.parseAsync(process.argv).catch((err) => handleError(err, program));
|
|
1089
575
|
//# sourceMappingURL=index.js.map
|