@unbrained/pm-cli 2026.5.14 → 2026.5.24
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/.claude-plugin/marketplace.json +4 -4
- package/AGENTS.md +78 -457
- package/CHANGELOG.md +71 -0
- package/CONTRIBUTING.md +1 -0
- package/README.md +8 -6
- package/dist/cli/argv-utils.js +4 -1
- package/dist/cli/argv-utils.js.map +1 -1
- package/dist/cli/bootstrap-args.js +4 -1
- package/dist/cli/bootstrap-args.js.map +1 -1
- package/dist/cli/commander-usage.js +19 -1
- package/dist/cli/commander-usage.js.map +1 -1
- package/dist/cli/commands/activity.js +4 -1
- package/dist/cli/commands/activity.js.map +1 -1
- package/dist/cli/commands/aggregate.js +5 -2
- package/dist/cli/commands/aggregate.js.map +1 -1
- package/dist/cli/commands/annotation-command.d.ts +49 -0
- package/dist/cli/commands/annotation-command.js +135 -0
- package/dist/cli/commands/annotation-command.js.map +1 -0
- package/dist/cli/commands/append.js +5 -6
- package/dist/cli/commands/append.js.map +1 -1
- package/dist/cli/commands/calendar.js +5 -5
- package/dist/cli/commands/calendar.js.map +1 -1
- package/dist/cli/commands/claim.d.ts +3 -0
- package/dist/cli/commands/claim.js +29 -23
- package/dist/cli/commands/claim.js.map +1 -1
- package/dist/cli/commands/close.js +63 -8
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/comments-audit.js +4 -1
- package/dist/cli/commands/comments-audit.js.map +1 -1
- package/dist/cli/commands/comments.d.ts +5 -0
- package/dist/cli/commands/comments.js +29 -116
- package/dist/cli/commands/comments.js.map +1 -1
- package/dist/cli/commands/completion.js +198 -15
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/config.js +4 -1
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/context.js +21 -13
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/contracts.d.ts +9 -0
- package/dist/cli/commands/contracts.js +314 -64
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.js +77 -48
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/dedupe-audit.js +9 -3
- package/dist/cli/commands/dedupe-audit.js.map +1 -1
- package/dist/cli/commands/delete.d.ts +3 -0
- package/dist/cli/commands/delete.js +11 -7
- package/dist/cli/commands/delete.js.map +1 -1
- package/dist/cli/commands/deps.js +4 -1
- package/dist/cli/commands/deps.js.map +1 -1
- package/dist/cli/commands/docs.d.ts +1 -0
- package/dist/cli/commands/docs.js +6 -7
- package/dist/cli/commands/docs.js.map +1 -1
- package/dist/cli/commands/event-validation-messages.d.ts +3 -0
- package/dist/cli/commands/event-validation-messages.js +44 -0
- package/dist/cli/commands/event-validation-messages.js.map +1 -0
- package/dist/cli/commands/extension.d.ts +3 -1
- package/dist/cli/commands/extension.js +259 -52
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/files.js +8 -12
- package/dist/cli/commands/files.js.map +1 -1
- package/dist/cli/commands/gc.js +19 -3
- package/dist/cli/commands/gc.js.map +1 -1
- package/dist/cli/commands/get.d.ts +10 -5
- package/dist/cli/commands/get.js +135 -20
- package/dist/cli/commands/get.js.map +1 -1
- package/dist/cli/commands/guide.js +6 -8
- package/dist/cli/commands/guide.js.map +1 -1
- package/dist/cli/commands/health.d.ts +14 -0
- package/dist/cli/commands/health.js +269 -67
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history-redact.d.ts +50 -0
- package/dist/cli/commands/history-redact.js +476 -0
- package/dist/cli/commands/history-redact.js.map +1 -0
- package/dist/cli/commands/history-repair.d.ts +33 -0
- package/dist/cli/commands/history-repair.js +166 -0
- package/dist/cli/commands/history-repair.js.map +1 -0
- package/dist/cli/commands/history.d.ts +4 -0
- package/dist/cli/commands/history.js +12 -79
- package/dist/cli/commands/history.js.map +1 -1
- package/dist/cli/commands/index.d.ts +5 -1
- package/dist/cli/commands/index.js +9 -2
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init-agent-guidance.d.ts +31 -0
- package/dist/cli/commands/init-agent-guidance.js +336 -0
- package/dist/cli/commands/init-agent-guidance.js.map +1 -0
- package/dist/cli/commands/init.d.ts +42 -0
- package/dist/cli/commands/init.js +96 -1
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/learnings.js +22 -118
- package/dist/cli/commands/learnings.js.map +1 -1
- package/dist/cli/commands/linked-test-entry.d.ts +3 -0
- package/dist/cli/commands/linked-test-entry.js +62 -0
- package/dist/cli/commands/linked-test-entry.js.map +1 -0
- package/dist/cli/commands/list.d.ts +1 -0
- package/dist/cli/commands/list.js +72 -38
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/metadata-normalizers.js +4 -1
- package/dist/cli/commands/metadata-normalizers.js.map +1 -1
- package/dist/cli/commands/normalize.js +4 -1
- package/dist/cli/commands/normalize.js.map +1 -1
- package/dist/cli/commands/notes.js +22 -118
- package/dist/cli/commands/notes.js.map +1 -1
- package/dist/cli/commands/plan.d.ts +121 -0
- package/dist/cli/commands/plan.js +1137 -0
- package/dist/cli/commands/plan.js.map +1 -0
- package/dist/cli/commands/reindex.js +4 -1
- package/dist/cli/commands/reindex.js.map +1 -1
- package/dist/cli/commands/restore.js +9 -49
- package/dist/cli/commands/restore.js.map +1 -1
- package/dist/cli/commands/schema.d.ts +31 -0
- package/dist/cli/commands/schema.js +98 -0
- package/dist/cli/commands/schema.js.map +1 -0
- package/dist/cli/commands/search.js +156 -40
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/stats.js +4 -1
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/commands/templates.d.ts +4 -0
- package/dist/cli/commands/templates.js +91 -16
- package/dist/cli/commands/templates.js.map +1 -1
- package/dist/cli/commands/test-all.js +6 -7
- package/dist/cli/commands/test-all.js.map +1 -1
- package/dist/cli/commands/test-runs.js +4 -1
- package/dist/cli/commands/test-runs.js.map +1 -1
- package/dist/cli/commands/test.d.ts +1 -0
- package/dist/cli/commands/test.js +9 -9
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/commands/update-many.js +6 -7
- package/dist/cli/commands/update-many.js.map +1 -1
- package/dist/cli/commands/update.js +204 -103
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/commands/upgrade.js +6 -3
- package/dist/cli/commands/upgrade.js.map +1 -1
- package/dist/cli/commands/validate.d.ts +3 -1
- package/dist/cli/commands/validate.js +44 -64
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/error-guidance.js +99 -6
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/extension-command-help.d.ts +0 -1
- package/dist/cli/extension-command-help.js +4 -12
- package/dist/cli/extension-command-help.js.map +1 -1
- package/dist/cli/extension-command-options.d.ts +1 -0
- package/dist/cli/extension-command-options.js +108 -6
- package/dist/cli/extension-command-options.js.map +1 -1
- package/dist/cli/guide-topics.js +4 -1
- package/dist/cli/guide-topics.js.map +1 -1
- package/dist/cli/help-content.d.ts +0 -1
- package/dist/cli/help-content.js +46 -22
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/help-json-payload.d.ts +1 -0
- package/dist/cli/help-json-payload.js +35 -2
- package/dist/cli/help-json-payload.js.map +1 -1
- package/dist/cli/main.js +214 -30
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/migration-gates.js +4 -1
- package/dist/cli/migration-gates.js.map +1 -1
- package/dist/cli/register-list-query.d.ts +1 -1
- package/dist/cli/register-list-query.js +75 -29
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.d.ts +1 -1
- package/dist/cli/register-mutation.js +430 -38
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +47 -10
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +47 -25
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.d.ts +0 -2
- package/dist/cli/registration-helpers.js +21 -40
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli/shared-parsers.js +4 -1
- package/dist/cli/shared-parsers.js.map +1 -1
- package/dist/cli/telemetry-flush.js +4 -1
- package/dist/cli/telemetry-flush.js.map +1 -1
- package/dist/cli.js +65 -3
- package/dist/cli.js.map +1 -1
- package/dist/core/extensions/extension-types.js +4 -1
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/extensions/index.d.ts +0 -1
- package/dist/core/extensions/index.js +4 -13
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/item-fields.js +4 -1
- package/dist/core/extensions/item-fields.js.map +1 -1
- package/dist/core/extensions/loader.js +78 -60
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/runtime-registrations.js +4 -1
- package/dist/core/extensions/runtime-registrations.js.map +1 -1
- package/dist/core/fs/fs-utils.js +4 -1
- package/dist/core/fs/fs-utils.js.map +1 -1
- package/dist/core/fs/index.js +4 -1
- package/dist/core/fs/index.js.map +1 -1
- package/dist/core/fs/path-utils.d.ts +1 -0
- package/dist/core/fs/path-utils.js +12 -0
- package/dist/core/fs/path-utils.js.map +1 -0
- package/dist/core/history/drift-scan.d.ts +11 -0
- package/dist/core/history/drift-scan.js +67 -0
- package/dist/core/history/drift-scan.js.map +1 -0
- package/dist/core/history/history-stream-policy.js +4 -1
- package/dist/core/history/history-stream-policy.js.map +1 -1
- package/dist/core/history/history.js +4 -1
- package/dist/core/history/history.js.map +1 -1
- package/dist/core/history/index.js +4 -1
- package/dist/core/history/index.js.map +1 -1
- package/dist/core/history/replay.d.ts +82 -0
- package/dist/core/history/replay.js +249 -0
- package/dist/core/history/replay.js.map +1 -0
- package/dist/core/item/id.js +4 -1
- package/dist/core/item/id.js.map +1 -1
- package/dist/core/item/index.js +4 -1
- package/dist/core/item/index.js.map +1 -1
- package/dist/core/item/item-format.js +250 -8
- package/dist/core/item/item-format.js.map +1 -1
- package/dist/core/item/item-type-definition.d.ts +52 -0
- package/dist/core/item/item-type-definition.js +123 -0
- package/dist/core/item/item-type-definition.js.map +1 -0
- package/dist/core/item/parent-reference-policy.js +4 -1
- package/dist/core/item/parent-reference-policy.js.map +1 -1
- package/dist/core/item/parse.js +34 -3
- package/dist/core/item/parse.js.map +1 -1
- package/dist/core/item/priority.d.ts +23 -0
- package/dist/core/item/priority.js +55 -0
- package/dist/core/item/priority.js.map +1 -0
- package/dist/core/item/sprint-release-format.js +4 -1
- package/dist/core/item/sprint-release-format.js.map +1 -1
- package/dist/core/item/status.d.ts +14 -1
- package/dist/core/item/status.js +24 -1
- package/dist/core/item/status.js.map +1 -1
- package/dist/core/item/toon-decode.d.ts +19 -0
- package/dist/core/item/toon-decode.js +69 -0
- package/dist/core/item/toon-decode.js.map +1 -0
- package/dist/core/item/type-registry.js +15 -83
- package/dist/core/item/type-registry.js.map +1 -1
- package/dist/core/lock/index.js +4 -1
- package/dist/core/lock/index.js.map +1 -1
- package/dist/core/lock/lock.js +4 -1
- package/dist/core/lock/lock.js.map +1 -1
- package/dist/core/output/output.d.ts +4 -0
- package/dist/core/output/output.js +47 -6
- package/dist/core/output/output.js.map +1 -1
- package/dist/core/packages/manifest.d.ts +1 -0
- package/dist/core/packages/manifest.js +6 -8
- package/dist/core/packages/manifest.js.map +1 -1
- package/dist/core/packages/root.d.ts +3 -0
- package/dist/core/packages/root.js +51 -0
- package/dist/core/packages/root.js.map +1 -0
- package/dist/core/schema/item-types-file.d.ts +85 -0
- package/dist/core/schema/item-types-file.js +243 -0
- package/dist/core/schema/item-types-file.js.map +1 -0
- package/dist/core/schema/runtime-field-filters.js +4 -1
- package/dist/core/schema/runtime-field-filters.js.map +1 -1
- package/dist/core/schema/runtime-field-values.js +4 -1
- package/dist/core/schema/runtime-field-values.js.map +1 -1
- package/dist/core/schema/runtime-schema.d.ts +2 -1
- package/dist/core/schema/runtime-schema.js +13 -8
- package/dist/core/schema/runtime-schema.js.map +1 -1
- package/dist/core/search/cache.js +7 -2
- package/dist/core/search/cache.js.map +1 -1
- package/dist/core/search/corpus.d.ts +2 -0
- package/dist/core/search/corpus.js +77 -2
- package/dist/core/search/corpus.js.map +1 -1
- package/dist/core/search/embedding-batches.js +21 -7
- package/dist/core/search/embedding-batches.js.map +1 -1
- package/dist/core/search/http-client.js +4 -1
- package/dist/core/search/http-client.js.map +1 -1
- package/dist/core/search/providers.js +4 -1
- package/dist/core/search/providers.js.map +1 -1
- package/dist/core/search/semantic-defaults.js +12 -3
- package/dist/core/search/semantic-defaults.js.map +1 -1
- package/dist/core/search/vector-stores.js +4 -1
- package/dist/core/search/vector-stores.js.map +1 -1
- package/dist/core/sentry/helpers.js +4 -1
- package/dist/core/sentry/helpers.js.map +1 -1
- package/dist/core/sentry/instrument.js +10 -13
- package/dist/core/sentry/instrument.js.map +1 -1
- package/dist/core/shared/author.d.ts +1 -0
- package/dist/core/shared/author.js +9 -0
- package/dist/core/shared/author.js.map +1 -0
- package/dist/core/shared/command-types.js +4 -1
- package/dist/core/shared/command-types.js.map +1 -1
- package/dist/core/shared/conflict-markers.js +4 -1
- package/dist/core/shared/conflict-markers.js.map +1 -1
- package/dist/core/shared/constants.d.ts +2 -2
- package/dist/core/shared/constants.js +24 -1
- package/dist/core/shared/constants.js.map +1 -1
- package/dist/core/shared/errors.js +4 -1
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/core/shared/index.js +4 -1
- package/dist/core/shared/index.js.map +1 -1
- package/dist/core/shared/lazy-module.d.ts +1 -0
- package/dist/core/shared/lazy-module.js +11 -0
- package/dist/core/shared/lazy-module.js.map +1 -0
- package/dist/core/shared/levenshtein.js +4 -1
- package/dist/core/shared/levenshtein.js.map +1 -1
- package/dist/core/shared/option-alias-visibility.d.ts +44 -0
- package/dist/core/shared/option-alias-visibility.js +76 -0
- package/dist/core/shared/option-alias-visibility.js.map +1 -0
- package/dist/core/shared/primitives.js +4 -1
- package/dist/core/shared/primitives.js.map +1 -1
- package/dist/core/shared/serialization.js +4 -1
- package/dist/core/shared/serialization.js.map +1 -1
- package/dist/core/shared/text-normalization.d.ts +0 -1
- package/dist/core/shared/text-normalization.js +4 -4
- package/dist/core/shared/text-normalization.js.map +1 -1
- package/dist/core/shared/time.js +4 -1
- package/dist/core/shared/time.js.map +1 -1
- package/dist/core/store/front-matter-cache.js +8 -3
- package/dist/core/store/front-matter-cache.js.map +1 -1
- package/dist/core/store/index.js +4 -1
- package/dist/core/store/index.js.map +1 -1
- package/dist/core/store/item-format-migration.js +4 -1
- package/dist/core/store/item-format-migration.js.map +1 -1
- package/dist/core/store/item-store.d.ts +4 -0
- package/dist/core/store/item-store.js +133 -39
- package/dist/core/store/item-store.js.map +1 -1
- package/dist/core/store/paths.js +4 -1
- package/dist/core/store/paths.js.map +1 -1
- package/dist/core/store/settings-validator.d.ts +106 -0
- package/dist/core/store/settings-validator.js +279 -0
- package/dist/core/store/settings-validator.js.map +1 -0
- package/dist/core/store/settings.js +32 -331
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/telemetry/consent.js +4 -1
- package/dist/core/telemetry/consent.js.map +1 -1
- package/dist/core/telemetry/observability.d.ts +1 -1
- package/dist/core/telemetry/observability.js +11 -2
- package/dist/core/telemetry/observability.js.map +1 -1
- package/dist/core/telemetry/runtime.js +34 -6
- package/dist/core/telemetry/runtime.js.map +1 -1
- package/dist/core/test/background-runs.js +4 -1
- package/dist/core/test/background-runs.js.map +1 -1
- package/dist/core/test/item-test-run-tracking.js +4 -1
- package/dist/core/test/item-test-run-tracking.js.map +1 -1
- package/dist/mcp/server.js +182 -22
- package/dist/mcp/server.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-mutation-options.js +10 -3
- package/dist/sdk/cli-contracts/commander-mutation-options.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-types.js +4 -1
- package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +13 -2
- package/dist/sdk/cli-contracts.js +410 -26
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/sdk/index.js +4 -1
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +25 -1
- package/dist/sdk/runtime.js +48 -2
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/types/index.js +4 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types.d.ts +92 -2
- package/dist/types.js +42 -1
- package/dist/types.js.map +1 -1
- package/docs/AGENT_GUIDE.md +23 -7
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/CLAUDE_CODE_PLUGIN.md +10 -10
- package/docs/CODEX_PLUGIN.md +2 -2
- package/docs/COMMANDS.md +117 -12
- package/docs/CONFIGURATION.md +5 -2
- package/docs/EXTENSIONS.md +158 -814
- package/docs/QUICKSTART.md +11 -5
- package/docs/README.md +7 -6
- package/docs/RELEASING.md +13 -9
- package/docs/SDK.md +11 -2
- package/docs/TESTING.md +2 -2
- package/marketplace.json +3 -3
- package/package.json +15 -12
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/README.md +4 -2
- package/packages/pm-calendar/extensions/calendar/index.js +22 -3
- package/packages/pm-calendar/extensions/calendar/index.ts +22 -3
- package/packages/pm-calendar/extensions/calendar/runtime.js +26 -7
- package/packages/pm-calendar/extensions/calendar/runtime.ts +26 -7
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/extensions/guide-shell/index.js +1 -1
- package/packages/pm-guide-shell/extensions/guide-shell/index.ts +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/README.md +8 -0
- package/packages/pm-search-advanced/extensions/search-advanced/index.js +74 -0
- package/packages/pm-search-advanced/extensions/search-advanced/index.ts +75 -1
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.js +67 -9
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.ts +67 -9
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/README.md +1 -1
- package/packages/pm-templates/extensions/templates/runtime.js +11 -202
- package/packages/pm-templates/extensions/templates/runtime.ts +38 -230
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/plugins/{pm-cli-claude → pm-claude}/.claude-plugin/plugin.json +2 -2
- package/plugins/{pm-cli-claude → pm-claude}/.mcp.json +1 -1
- package/plugins/{pm-cli-claude → pm-claude}/README.md +4 -4
- package/plugins/{pm-cli-claude → pm-claude}/agents/pm-coordinator.md +1 -1
- package/plugins/{pm-cli-claude → pm-claude}/commands/pm-init.md +10 -1
- package/plugins/{pm-cli-claude → pm-claude}/commands/pm-planner.md +18 -0
- package/plugins/{pm-cli-claude → pm-claude}/skills/pm-planner/SKILL.md +46 -1
- package/plugins/{pm-cli-codex → pm-codex}/.codex-plugin/plugin.json +3 -3
- package/plugins/{pm-cli-codex → pm-codex}/.mcp.json +1 -1
- package/plugins/{pm-cli-codex → pm-codex}/README.md +7 -4
- package/plugins/pm-codex/skills/pm-native/SKILL.md +81 -0
- package/scripts/finalize-build.mjs +28 -0
- package/scripts/prepare-build-cache.mjs +37 -0
- package/dist/core/output/command-aware.d.ts +0 -1
- package/dist/core/output/command-aware.js +0 -394
- package/dist/core/output/command-aware.js.map +0 -1
- package/plugins/pm-cli-codex/skills/pm-native/SKILL.md +0 -57
- /package/plugins/{pm-cli-claude → pm-claude}/agents/pm-delivery-chain.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/agents/pm-triage-agent.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/agents/pm-verification-agent.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-audit.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-calendar.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-close-task.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-developer.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-list.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-new.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-release.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-search.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-start-task.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-status.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-triage.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/commands/pm-workflow.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/hooks/hooks.json +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/hooks/session-start.mjs +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/scripts/pm-mcp-server.mjs +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/skills/pm-audit/SKILL.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/skills/pm-developer/SKILL.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/skills/pm-release/SKILL.md +0 -0
- /package/plugins/{pm-cli-claude → pm-claude}/skills/pm-workflow/SKILL.md +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/assets/pm-cli-small.svg +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/commands/pm-audit.md +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/commands/pm-close-task.md +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/commands/pm-start-task.md +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/scripts/pm-mcp-server.mjs +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/skills/pm-auditor/SKILL.md +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/skills/pm-auditor/agents/openai.yaml +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/skills/pm-native/agents/openai.yaml +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/skills/pm-release/SKILL.md +0 -0
- /package/plugins/{pm-cli-codex → pm-codex}/skills/pm-release/agents/openai.yaml +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ab5654d4-0aa0-5942-9f7e-b0cf2c952ea8")}catch(e){}}();
|
|
1
3
|
import { EXIT_CODE } from "../../core/shared/constants.js";
|
|
2
4
|
import { PmCliError } from "../../core/shared/errors.js";
|
|
3
|
-
import { ACTIVITY_FLAG_CONTRACTS, APPEND_FLAG_CONTRACTS, CALENDAR_FLAG_CONTRACTS, COMPLETION_FLAG_CONTRACTS, CONTRACTS_FLAG_CONTRACTS, CONTEXT_FLAG_CONTRACTS, CREATE_FLAG_CONTRACTS, DEPS_FLAG_CONTRACTS, GUIDE_FLAG_CONTRACTS, GLOBAL_FLAG_CONTRACTS, HEALTH_FLAG_CONTRACTS, INIT_FLAG_CONTRACTS, LIST_FILTER_FLAG_CONTRACTS, NORMALIZE_FLAG_CONTRACTS, PM_CORE_COMMAND_NAMES, SEARCH_FLAG_CONTRACTS, UPDATE_FLAG_CONTRACTS, UPDATE_MANY_FLAG_CONTRACTS, toCompletionFlagString, } from "../../sdk/cli-contracts.js";
|
|
5
|
+
import { ACTIVITY_FLAG_CONTRACTS, APPEND_FLAG_CONTRACTS, CALENDAR_FLAG_CONTRACTS, COMPLETION_FLAG_CONTRACTS, CONTRACTS_FLAG_CONTRACTS, CONTEXT_FLAG_CONTRACTS, CREATE_FLAG_CONTRACTS, DEPS_FLAG_CONTRACTS, GUIDE_FLAG_CONTRACTS, GLOBAL_FLAG_CONTRACTS, HEALTH_FLAG_CONTRACTS, INIT_FLAG_CONTRACTS, LIST_FILTER_FLAG_CONTRACTS, NORMALIZE_FLAG_CONTRACTS, PLAN_FLAG_CONTRACTS, PM_CORE_COMMAND_NAMES, SEARCH_FLAG_CONTRACTS, UPDATE_FLAG_CONTRACTS, UPDATE_MANY_FLAG_CONTRACTS, toCompletionFlagString, } from "../../sdk/cli-contracts.js";
|
|
4
6
|
import { BUILTIN_ITEM_TYPE_VALUES } from "../../types/index.js";
|
|
5
7
|
import { listGuideTopicIds } from "../guide-topics.js";
|
|
6
8
|
const VALID_SHELLS = ["bash", "zsh", "fish"];
|
|
@@ -22,10 +24,13 @@ const SEARCH_FLAGS = toCompletionFlagString(SEARCH_FLAG_CONTRACTS);
|
|
|
22
24
|
const HEALTH_FLAGS = toCompletionFlagString(HEALTH_FLAG_CONTRACTS);
|
|
23
25
|
const INIT_FLAGS = toCompletionFlagString(INIT_FLAG_CONTRACTS);
|
|
24
26
|
const CONTRACTS_FLAGS = toCompletionFlagString(CONTRACTS_FLAG_CONTRACTS);
|
|
27
|
+
const PLAN_FLAGS = toCompletionFlagString(PLAN_FLAG_CONTRACTS);
|
|
28
|
+
const PLAN_SUBCOMMANDS_LIST = "create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize";
|
|
25
29
|
const COMPLETION_FLAGS = toCompletionFlagString(COMPLETION_FLAG_CONTRACTS);
|
|
26
30
|
const COMPLETION_SHELL_CHOICES = `${COMPLETION_FLAGS} bash zsh fish`;
|
|
27
31
|
const GUIDE_TOPIC_CHOICES = joinCompletionValues(listGuideTopicIds());
|
|
28
32
|
const MUTATION_FLAGS = "--author --message --force --json --quiet --path --no-extensions --no-pager --profile --help";
|
|
33
|
+
const DELETE_MUTATION_FLAGS = "--dry-run --author --message --force --json --quiet --path --no-extensions --no-pager --profile --help";
|
|
29
34
|
const CLOSE_MUTATION_FLAGS = "--author --message --validate-close --force --json --quiet --path --no-extensions --no-pager --profile --help";
|
|
30
35
|
const RELEASE_MUTATION_FLAGS = "--allow-audit-release --author --message --force --json --quiet --path --no-extensions --no-pager --profile --help";
|
|
31
36
|
const GLOBAL_FLAGS = GLOBAL_FLAG_CONTRACTS.flatMap((entry) => [entry.short, entry.flag])
|
|
@@ -196,7 +201,22 @@ export function generateBashScript(itemTypes = DEFAULT_ITEM_TYPES, tags = [], ea
|
|
|
196
201
|
` COMPREPLY=(${compgen(HEALTH_FLAGS)})`,
|
|
197
202
|
" ;;",
|
|
198
203
|
" history)",
|
|
199
|
-
` COMPREPLY=(${compgen("--limit --diff --verify --json --quiet --path --no-extensions --no-pager --profile --help")})`,
|
|
204
|
+
` COMPREPLY=(${compgen("--limit --compact --full --diff --verify --json --quiet --path --no-extensions --no-pager --profile --help")})`,
|
|
205
|
+
" ;;",
|
|
206
|
+
" get)",
|
|
207
|
+
` COMPREPLY=(${compgen("--depth --full --fields --json --quiet --path --no-extensions --no-pager --profile --help")})`,
|
|
208
|
+
" ;;",
|
|
209
|
+
" history-redact)",
|
|
210
|
+
` COMPREPLY=(${compgen("--literal --regex --replacement --dry-run --author --message --force --json --quiet --path --no-extensions --no-pager --profile --help")})`,
|
|
211
|
+
" ;;",
|
|
212
|
+
" history-repair)",
|
|
213
|
+
` COMPREPLY=(${compgen("--dry-run --author --message --force --json --quiet --path --no-extensions --no-pager --profile --help")})`,
|
|
214
|
+
" ;;",
|
|
215
|
+
" schema)",
|
|
216
|
+
` COMPREPLY=(${compgen("add-type --description --default-status --folder --alias --author --force --json --quiet --path --no-extensions --no-pager --profile --help")})`,
|
|
217
|
+
" ;;",
|
|
218
|
+
" plan)",
|
|
219
|
+
` COMPREPLY=(${compgen(`${PLAN_SUBCOMMANDS_LIST} ${PLAN_FLAGS}`)})`,
|
|
200
220
|
" ;;",
|
|
201
221
|
" activity)",
|
|
202
222
|
` COMPREPLY=(${compgen(ACTIVITY_FLAGS)})`,
|
|
@@ -213,7 +233,10 @@ export function generateBashScript(itemTypes = DEFAULT_ITEM_TYPES, tags = [], ea
|
|
|
213
233
|
" release)",
|
|
214
234
|
` COMPREPLY=(${compgen(RELEASE_MUTATION_FLAGS)})`,
|
|
215
235
|
" ;;",
|
|
216
|
-
"
|
|
236
|
+
" delete)",
|
|
237
|
+
` COMPREPLY=(${compgen(DELETE_MUTATION_FLAGS)})`,
|
|
238
|
+
" ;;",
|
|
239
|
+
" claim|restore|start-task|pause-task)",
|
|
217
240
|
` COMPREPLY=(${compgen(MUTATION_FLAGS)})`,
|
|
218
241
|
" ;;",
|
|
219
242
|
" completion)",
|
|
@@ -286,6 +309,10 @@ _pm_commands() {
|
|
|
286
309
|
'search:Search items with keyword, semantic, or hybrid modes'
|
|
287
310
|
'reindex:Rebuild search artifacts'
|
|
288
311
|
'history:Show item history entries'
|
|
312
|
+
'history-redact:Redact sensitive literals/patterns and recompute history hashes'
|
|
313
|
+
'history-repair:Re-anchor a drifted history chain so pm health/validate report ok'
|
|
314
|
+
'schema:Register custom item types into .agents/pm/schema/types.json'
|
|
315
|
+
'plan:Agent-optimized Plan item workflow (create/show/add-step/update-step/complete-step/link/approve/materialize)'
|
|
289
316
|
'activity:Show recent activity across items'
|
|
290
317
|
'restore:Restore an item to an earlier state'
|
|
291
318
|
'update:Update item fields and metadata'
|
|
@@ -414,7 +441,7 @@ _pm() {
|
|
|
414
441
|
'--deadline[Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)]:deadline' \\
|
|
415
442
|
'--estimate[Estimated minutes]:minutes' \\
|
|
416
443
|
'--acceptance-criteria[Acceptance criteria]:criteria' \\
|
|
417
|
-
'--reminder[Reminder entry at=<iso|relative>,text=<text>]:reminder' \\
|
|
444
|
+
'--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\
|
|
418
445
|
'--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\
|
|
419
446
|
'--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\
|
|
420
447
|
'--unset[Clear scalar metadata field by name]:field' \\
|
|
@@ -452,7 +479,7 @@ _pm() {
|
|
|
452
479
|
'--file[Linked file path=<value>,scope=<project|global>,note=<text>]:file' \\
|
|
453
480
|
'--test[Linked test command=<value>,path=<value>,scope=<project|global>]:test' \\
|
|
454
481
|
'--doc[Linked doc path=<value>,scope=<project|global>,note=<text>]:doc' \\
|
|
455
|
-
'--reminder[Reminder entry at=<iso|relative>,text=<text>]:reminder' \\
|
|
482
|
+
'--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\
|
|
456
483
|
'--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\
|
|
457
484
|
'--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\
|
|
458
485
|
'--unset[Clear scalar metadata field by name]:field' \\
|
|
@@ -535,7 +562,7 @@ _pm() {
|
|
|
535
562
|
'--file[Linked file path=<value>,scope=<project|global>,note=<text>]:file' \\
|
|
536
563
|
'--test[Linked test command=<value>,path=<value>,scope=<project|global>]:test' \\
|
|
537
564
|
'--doc[Linked doc path=<value>,scope=<project|global>,note=<text>]:doc' \\
|
|
538
|
-
'--reminder[Reminder entry at=<iso|relative>,text=<text>]:reminder' \\
|
|
565
|
+
'--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\
|
|
539
566
|
'--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\
|
|
540
567
|
'--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\
|
|
541
568
|
'--unset[Clear scalar metadata field by name]:field' \\
|
|
@@ -596,7 +623,7 @@ _pm() {
|
|
|
596
623
|
'--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\
|
|
597
624
|
'--sprint[Filter by sprint]:sprint' \\
|
|
598
625
|
'--release[Filter by release]:release' \\
|
|
599
|
-
'--include[Include event sources]:(all deadlines reminders events)' \\
|
|
626
|
+
'--include[Include event sources]:(all deadlines reminders events scheduled)' \\
|
|
600
627
|
'--recurrence-lookahead-days[Bound open-ended recurrence lookahead]:days' \\
|
|
601
628
|
'--recurrence-lookback-days[Bound open-ended recurrence lookback]:days' \\
|
|
602
629
|
'--occurrence-limit[Cap occurrences per recurring event]:number' \\
|
|
@@ -653,11 +680,79 @@ _pm() {
|
|
|
653
680
|
history)
|
|
654
681
|
_arguments \\
|
|
655
682
|
'--limit[Max entries]:number' \\
|
|
683
|
+
'--compact[Condensed history projection]' \\
|
|
684
|
+
'--full[Show full history entries]' \\
|
|
656
685
|
'--diff[Include changed-field patch summary]' \\
|
|
657
686
|
'--verify[Verify history hash chain and replay integrity]' \\
|
|
658
687
|
'--json[Output JSON]' \\
|
|
659
688
|
'--quiet[Suppress stdout]'
|
|
660
689
|
;;
|
|
690
|
+
get)
|
|
691
|
+
_arguments \\
|
|
692
|
+
'--depth[Detail depth]:(brief standard deep)' \\
|
|
693
|
+
'--full[Explicit full item read]' \\
|
|
694
|
+
'--fields[Render custom comma-separated item fields]:fields' \\
|
|
695
|
+
'--json[Output JSON]' \\
|
|
696
|
+
'--quiet[Suppress stdout]'
|
|
697
|
+
;;
|
|
698
|
+
history-redact)
|
|
699
|
+
_arguments \\
|
|
700
|
+
'--literal[Literal string matcher to redact from history/item payloads]:literal' \\
|
|
701
|
+
'--regex[Regex matcher to redact (/pattern/flags or raw pattern)]:regex' \\
|
|
702
|
+
'--replacement[Replacement text (defaults to [redacted])]:replacement' \\
|
|
703
|
+
'--dry-run[Preview redaction impact without writing files]' \\
|
|
704
|
+
'--author[Mutation author]:author' \\
|
|
705
|
+
'--message[Audit history message]:message' \\
|
|
706
|
+
'--force[Force ownership/lock override]' \\
|
|
707
|
+
'--json[Output JSON]' \\
|
|
708
|
+
'--quiet[Suppress stdout]'
|
|
709
|
+
;;
|
|
710
|
+
history-repair)
|
|
711
|
+
_arguments \\
|
|
712
|
+
'--dry-run[Preview the re-anchor impact without writing the history file]' \\
|
|
713
|
+
'--author[Mutation author]:author' \\
|
|
714
|
+
'--message[Audit history message]:message' \\
|
|
715
|
+
'--force[Force ownership/lock override]' \\
|
|
716
|
+
'--json[Output JSON]' \\
|
|
717
|
+
'--quiet[Suppress stdout]'
|
|
718
|
+
;;
|
|
719
|
+
schema)
|
|
720
|
+
_arguments \\
|
|
721
|
+
'1:subcommand:(add-type)' \\
|
|
722
|
+
'--description[Human description for the custom item type]:text' \\
|
|
723
|
+
'--default-status[Default status hint for the custom item type]:status' \\
|
|
724
|
+
'--folder[Storage folder for items of this custom type]:dir' \\
|
|
725
|
+
'--alias[Alias for the custom type (repeatable)]:name' \\
|
|
726
|
+
'--author[Mutation author]:author' \\
|
|
727
|
+
'--force[Force ownership/lock override]' \\
|
|
728
|
+
'--json[Output JSON]' \\
|
|
729
|
+
'--quiet[Suppress stdout]'
|
|
730
|
+
;;
|
|
731
|
+
plan)
|
|
732
|
+
_arguments \\
|
|
733
|
+
'1:subcommand:(create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize)' \\
|
|
734
|
+
'--title[Plan title]:title' \\
|
|
735
|
+
'--scope[Plan scope statement]:scope' \\
|
|
736
|
+
'--harness[Plan harness provenance]:harness:(codex claude-code cursor generic)' \\
|
|
737
|
+
'--mode[Plan mode]:mode:(draft research review approved executing paused completed superseded)' \\
|
|
738
|
+
'--resume-context[Resume context summary]:text' \\
|
|
739
|
+
'--step-title[Step title]:title' \\
|
|
740
|
+
'--step-status[Step status]:status:(pending in_progress completed blocked skipped superseded)' \\
|
|
741
|
+
'--step-evidence[Step evidence]:text' \\
|
|
742
|
+
'--depends-on[Pm item id step depends on]:id' \\
|
|
743
|
+
'--link[Pm item id to link]:id' \\
|
|
744
|
+
'--link-kind[Link kind]:kind:(related blocks blocked_by depends_on discovered_from implements verifies supersedes)' \\
|
|
745
|
+
'--depth[Show depth]:depth:(brief standard deep)' \\
|
|
746
|
+
'--steps[Step ids/orders for materialize]:steps' \\
|
|
747
|
+
'--materialize-type[Item type for materialized steps]:type' \\
|
|
748
|
+
'--allow-multiple-active[Allow multiple in_progress steps]' \\
|
|
749
|
+
'--promote-to-item-dep[Also add link as top-level item dependency]' \\
|
|
750
|
+
'--author[Mutation author]:author' \\
|
|
751
|
+
'--message[Mutation message]:message' \\
|
|
752
|
+
'--force[Force ownership override]' \\
|
|
753
|
+
'--json[Output JSON]' \\
|
|
754
|
+
'--quiet[Suppress stdout]'
|
|
755
|
+
;;
|
|
661
756
|
activity)
|
|
662
757
|
_arguments \\
|
|
663
758
|
'--id[Filter by item ID]:id' \\
|
|
@@ -666,6 +761,8 @@ _pm() {
|
|
|
666
761
|
'--from[Lower timestamp bound (ISO/date string or relative)]:date' \\
|
|
667
762
|
'--to[Upper timestamp bound (ISO/date string or relative)]:date' \\
|
|
668
763
|
'--limit[Max entries]:number' \\
|
|
764
|
+
'--compact[Condensed activity projection]' \\
|
|
765
|
+
'--full[Show full activity entries]' \\
|
|
669
766
|
'--stream[Emit line-delimited JSON rows]:mode' \\
|
|
670
767
|
'--json[Output JSON]' \\
|
|
671
768
|
'--quiet[Suppress stdout]'
|
|
@@ -797,12 +894,26 @@ _pm() {
|
|
|
797
894
|
init)
|
|
798
895
|
_arguments \\
|
|
799
896
|
'--preset[Governance preset for new setups]:preset:(minimal default strict)' \\
|
|
897
|
+
'--defaults[Use non-interactive setup defaults]' \\
|
|
898
|
+
'-y[Alias for --defaults]' \\
|
|
899
|
+
'--yes[Alias for --defaults]' \\
|
|
900
|
+
'--author[Set the default mutation author for this project]:author' \\
|
|
901
|
+
'--agent-guidance[Agent guidance mode]:mode:(ask add skip status)' \\
|
|
902
|
+
'--with-packages[Install bundled first-party packages during initialization]' \\
|
|
903
|
+
'--verbose[Include the full resolved settings tree in init output]' \\
|
|
800
904
|
'--json[Output JSON]' \\
|
|
801
905
|
'--quiet[Suppress stdout]'
|
|
802
906
|
;;
|
|
803
907
|
init)
|
|
804
908
|
_arguments \\
|
|
805
909
|
'--preset[Governance preset for new setups]:preset:(minimal default strict)' \\
|
|
910
|
+
'--defaults[Use non-interactive setup defaults]' \\
|
|
911
|
+
'-y[Alias for --defaults]' \\
|
|
912
|
+
'--yes[Alias for --defaults]' \\
|
|
913
|
+
'--author[Set the default mutation author for this project]:author' \\
|
|
914
|
+
'--agent-guidance[Agent guidance mode]:mode:(ask add skip status)' \\
|
|
915
|
+
'--with-packages[Install bundled first-party packages during initialization]' \\
|
|
916
|
+
'--verbose[Include the full resolved settings tree in init output]' \\
|
|
806
917
|
'--json[Output JSON]' \\
|
|
807
918
|
'--quiet[Suppress stdout]'
|
|
808
919
|
;;
|
|
@@ -841,6 +952,15 @@ _pm() {
|
|
|
841
952
|
'--json[Output JSON]' \\
|
|
842
953
|
'--quiet[Suppress stdout]'
|
|
843
954
|
;;
|
|
955
|
+
delete)
|
|
956
|
+
_arguments \\
|
|
957
|
+
'--dry-run[Preview the item file that would be deleted without mutating]' \\
|
|
958
|
+
'--author[Mutation author]:author' \\
|
|
959
|
+
'--message[History message]:message' \\
|
|
960
|
+
'--force[Force override]' \\
|
|
961
|
+
'--json[Output JSON]' \\
|
|
962
|
+
'--quiet[Suppress stdout]'
|
|
963
|
+
;;
|
|
844
964
|
start-task|pause-task)
|
|
845
965
|
_arguments \\
|
|
846
966
|
'--author[Mutation author]:author' \\
|
|
@@ -884,6 +1004,8 @@ _pm() {
|
|
|
884
1004
|
'--no-refresh[Disable automatic vector refresh attempts during health checks]' \\
|
|
885
1005
|
'--refresh-vectors[Explicitly enable vector refresh attempts during health checks]' \\
|
|
886
1006
|
'--verbose-stale-items[Include full stale vectorization ID lists in health output]' \\
|
|
1007
|
+
'--brief[Emit compact health details for low-token agent checks]' \\
|
|
1008
|
+
'--summary[Emit one-line-style health status with check names and warning count]' \\
|
|
887
1009
|
'--strict-exit[Return non-zero exit when health warnings are present]' \\
|
|
888
1010
|
'--fail-on-warn[Alias for --strict-exit]' \\
|
|
889
1011
|
'--json[Output JSON]' \\
|
|
@@ -1035,6 +1157,10 @@ complete -c pm -n __pm_no_subcommand -a get -d 'Show item details by I
|
|
|
1035
1157
|
complete -c pm -n __pm_no_subcommand -a search -d 'Search items with keyword, semantic, or hybrid modes'
|
|
1036
1158
|
complete -c pm -n __pm_no_subcommand -a reindex -d 'Rebuild search artifacts'
|
|
1037
1159
|
complete -c pm -n __pm_no_subcommand -a history -d 'Show item history entries'
|
|
1160
|
+
complete -c pm -n __pm_no_subcommand -a history-redact -d 'Redact sensitive literals/patterns and recompute history hashes'
|
|
1161
|
+
complete -c pm -n __pm_no_subcommand -a history-repair -d 'Re-anchor a drifted history chain so pm health/validate report ok'
|
|
1162
|
+
complete -c pm -n __pm_no_subcommand -a schema -d 'Register custom item types into .agents/pm/schema/types.json'
|
|
1163
|
+
complete -c pm -n __pm_no_subcommand -a plan -d 'Agent-optimized Plan workflow (create/show/add-step/update-step/complete-step/link/approve/materialize)'
|
|
1038
1164
|
complete -c pm -n __pm_no_subcommand -a activity -d 'Show recent activity across items'
|
|
1039
1165
|
complete -c pm -n __pm_no_subcommand -a restore -d 'Restore an item to an earlier state'
|
|
1040
1166
|
complete -c pm -n __pm_no_subcommand -a update -d 'Update item fields and metadata'
|
|
@@ -1132,7 +1258,7 @@ complete -c pm -n '__fish_seen_subcommand_from create' -s b -l body
|
|
|
1132
1258
|
complete -c pm -n '__fish_seen_subcommand_from create' -l deadline -d 'Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)' -r
|
|
1133
1259
|
complete -c pm -n '__fish_seen_subcommand_from create' -l estimate -d 'Estimated minutes' -r
|
|
1134
1260
|
complete -c pm -n '__fish_seen_subcommand_from create' -l acceptance-criteria -d 'Acceptance criteria' -r
|
|
1135
|
-
complete -c pm -n '__fish_seen_subcommand_from create' -l reminder -d 'Reminder entry at=<iso|relative>,text=<text>' -r
|
|
1261
|
+
complete -c pm -n '__fish_seen_subcommand_from create' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r
|
|
1136
1262
|
complete -c pm -n '__fish_seen_subcommand_from create' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r
|
|
1137
1263
|
complete -c pm -n '__fish_seen_subcommand_from create' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r
|
|
1138
1264
|
complete -c pm -n '__fish_seen_subcommand_from create' -l author -d 'Mutation author' -r
|
|
@@ -1164,7 +1290,7 @@ complete -c pm -n '__fish_seen_subcommand_from update' -l learning
|
|
|
1164
1290
|
complete -c pm -n '__fish_seen_subcommand_from update' -l file -d 'Linked file path=<value>,scope=<project|global>,note=<text>' -r
|
|
1165
1291
|
complete -c pm -n '__fish_seen_subcommand_from update' -l test -d 'Linked test command=<value>,path=<value>,scope=<project|global>' -r
|
|
1166
1292
|
complete -c pm -n '__fish_seen_subcommand_from update' -l doc -d 'Linked doc path=<value>,scope=<project|global>,note=<text>' -r
|
|
1167
|
-
complete -c pm -n '__fish_seen_subcommand_from update' -l reminder -d 'Reminder entry at=<iso|relative>,text=<text>' -r
|
|
1293
|
+
complete -c pm -n '__fish_seen_subcommand_from update' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r
|
|
1168
1294
|
complete -c pm -n '__fish_seen_subcommand_from update' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r
|
|
1169
1295
|
complete -c pm -n '__fish_seen_subcommand_from update' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r
|
|
1170
1296
|
complete -c pm -n '__fish_seen_subcommand_from update' -l unset -d 'Clear scalar metadata field by name' -r
|
|
@@ -1246,7 +1372,7 @@ complete -c pm -n '__fish_seen_subcommand_from update-many' -l learning
|
|
|
1246
1372
|
complete -c pm -n '__fish_seen_subcommand_from update-many' -l file -d 'Linked file path=<value>,scope=<project|global>,note=<text>' -r
|
|
1247
1373
|
complete -c pm -n '__fish_seen_subcommand_from update-many' -l test -d 'Linked test command=<value>,path=<value>,scope=<project|global>' -r
|
|
1248
1374
|
complete -c pm -n '__fish_seen_subcommand_from update-many' -l doc -d 'Linked doc path=<value>,scope=<project|global>,note=<text>' -r
|
|
1249
|
-
complete -c pm -n '__fish_seen_subcommand_from update-many' -l reminder -d 'Reminder entry at=<iso|relative>,text=<text>' -r
|
|
1375
|
+
complete -c pm -n '__fish_seen_subcommand_from update-many' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r
|
|
1250
1376
|
complete -c pm -n '__fish_seen_subcommand_from update-many' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r
|
|
1251
1377
|
complete -c pm -n '__fish_seen_subcommand_from update-many' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r
|
|
1252
1378
|
complete -c pm -n '__fish_seen_subcommand_from update-many' -l unset -d 'Clear scalar metadata field by name' -r
|
|
@@ -1309,7 +1435,7 @@ complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l assignee -d 'Fi
|
|
|
1309
1435
|
complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'
|
|
1310
1436
|
complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l sprint -d 'Filter by sprint' -r
|
|
1311
1437
|
complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l release -d 'Filter by release' -r
|
|
1312
|
-
complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l include -d 'Include event sources' -r -a 'all deadlines reminders events'
|
|
1438
|
+
complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l include -d 'Include event sources' -r -a 'all deadlines reminders events scheduled'
|
|
1313
1439
|
complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l recurrence-lookahead-days -d 'Bound open-ended recurrence lookahead' -r
|
|
1314
1440
|
complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l recurrence-lookback-days -d 'Bound open-ended recurrence lookback' -r
|
|
1315
1441
|
complete -c pm -n '__fish_seen_subcommand_from calendar cal' -l occurrence-limit -d 'Cap occurrences per recurring event' -r
|
|
@@ -1341,16 +1467,63 @@ complete -c pm -n '__fish_seen_subcommand_from guide' -a '${guideTopicChoices}'
|
|
|
1341
1467
|
complete -c pm -n '__fish_seen_subcommand_from reindex' -l mode -d 'Reindex mode' -r -a 'keyword semantic hybrid'
|
|
1342
1468
|
complete -c pm -n '__fish_seen_subcommand_from reindex' -l progress -d 'Emit progress updates to stderr'
|
|
1343
1469
|
|
|
1470
|
+
# get flags
|
|
1471
|
+
complete -c pm -n '__fish_seen_subcommand_from get' -l depth -d 'Detail depth' -r -a 'brief standard deep'
|
|
1472
|
+
complete -c pm -n '__fish_seen_subcommand_from get' -l full -d 'Explicit full item read'
|
|
1473
|
+
complete -c pm -n '__fish_seen_subcommand_from get' -l fields -d 'Render custom comma-separated item fields' -r
|
|
1474
|
+
|
|
1344
1475
|
# history / activity flags
|
|
1345
1476
|
complete -c pm -n '__fish_seen_subcommand_from history' -l limit -d 'Max history entries' -r
|
|
1477
|
+
complete -c pm -n '__fish_seen_subcommand_from history' -l compact -d 'Condensed history projection'
|
|
1478
|
+
complete -c pm -n '__fish_seen_subcommand_from history' -l full -d 'Show full history entries'
|
|
1346
1479
|
complete -c pm -n '__fish_seen_subcommand_from history' -l diff -d 'Include changed-field patch summary'
|
|
1347
1480
|
complete -c pm -n '__fish_seen_subcommand_from history' -l verify -d 'Verify history hash chain and replay integrity'
|
|
1481
|
+
complete -c pm -n '__fish_seen_subcommand_from history-redact' -l literal -d 'Literal string matcher to redact from history/item payloads' -r
|
|
1482
|
+
complete -c pm -n '__fish_seen_subcommand_from history-redact' -l regex -d 'Regex matcher to redact (/pattern/flags or raw pattern)' -r
|
|
1483
|
+
complete -c pm -n '__fish_seen_subcommand_from history-redact' -l replacement -d 'Replacement text (defaults to [redacted])' -r
|
|
1484
|
+
complete -c pm -n '__fish_seen_subcommand_from history-redact' -l dry-run -d 'Preview redaction impact without writing files'
|
|
1485
|
+
complete -c pm -n '__fish_seen_subcommand_from history-redact' -l author -d 'Mutation author' -r
|
|
1486
|
+
complete -c pm -n '__fish_seen_subcommand_from history-redact' -l message -d 'Audit history message' -r
|
|
1487
|
+
complete -c pm -n '__fish_seen_subcommand_from history-redact' -l force -d 'Force ownership/lock override'
|
|
1488
|
+
complete -c pm -n '__fish_seen_subcommand_from history-repair' -l dry-run -d 'Preview the re-anchor impact without writing the history file'
|
|
1489
|
+
complete -c pm -n '__fish_seen_subcommand_from history-repair' -l author -d 'Mutation author' -r
|
|
1490
|
+
complete -c pm -n '__fish_seen_subcommand_from history-repair' -l message -d 'Audit history message' -r
|
|
1491
|
+
complete -c pm -n '__fish_seen_subcommand_from history-repair' -l force -d 'Force ownership/lock override'
|
|
1492
|
+
complete -c pm -n '__fish_seen_subcommand_from schema' -a 'add-type' -d 'Schema subcommand'
|
|
1493
|
+
complete -c pm -n '__fish_seen_subcommand_from schema' -l description -d 'Human description for the custom item type' -r
|
|
1494
|
+
complete -c pm -n '__fish_seen_subcommand_from schema' -l default-status -d 'Default status hint for the custom item type' -r
|
|
1495
|
+
complete -c pm -n '__fish_seen_subcommand_from schema' -l folder -d 'Storage folder for items of this custom type' -r
|
|
1496
|
+
complete -c pm -n '__fish_seen_subcommand_from schema' -l alias -d 'Alias for the custom type (repeatable)' -r
|
|
1497
|
+
complete -c pm -n '__fish_seen_subcommand_from schema' -l author -d 'Mutation author' -r
|
|
1498
|
+
complete -c pm -n '__fish_seen_subcommand_from schema' -l force -d 'Force ownership/lock override'
|
|
1499
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -a 'create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize' -d 'Plan subcommand'
|
|
1500
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l title -d 'Plan title' -r
|
|
1501
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l scope -d 'Plan scope statement' -r
|
|
1502
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l harness -d 'Plan harness provenance' -r -a 'codex claude-code cursor generic'
|
|
1503
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l mode -d 'Plan mode' -r -a 'draft research review approved executing paused completed superseded'
|
|
1504
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l resume-context -d 'Resume context summary' -r
|
|
1505
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l step-title -d 'Step title' -r
|
|
1506
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l step-status -d 'Step status' -r -a 'pending in_progress completed blocked skipped superseded'
|
|
1507
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l step-evidence -d 'Step evidence' -r
|
|
1508
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l depends-on -d 'Pm item id step depends on' -r
|
|
1509
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l link -d 'Pm item id to link' -r
|
|
1510
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l link-kind -d 'Link kind' -r -a 'related blocks blocked_by depends_on discovered_from implements verifies supersedes'
|
|
1511
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l depth -d 'Show depth' -r -a 'brief standard deep'
|
|
1512
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l steps -d 'Step ids/orders for materialize' -r
|
|
1513
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l materialize-type -d 'Item type for materialized steps' -r
|
|
1514
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l allow-multiple-active -d 'Allow multiple in_progress steps'
|
|
1515
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l promote-to-item-dep -d 'Also add link as item dependency'
|
|
1516
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l author -d 'Mutation author' -r
|
|
1517
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l message -d 'Mutation message' -r
|
|
1518
|
+
complete -c pm -n '__fish_seen_subcommand_from plan' -l force -d 'Force ownership override'
|
|
1348
1519
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l id -d 'Filter by item ID' -r
|
|
1349
1520
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l op -d 'Filter by history operation' -r
|
|
1350
1521
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l author -d 'Filter by history author' -r
|
|
1351
1522
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l from -d 'Lower timestamp bound (ISO/date string or relative)' -r
|
|
1352
1523
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l to -d 'Upper timestamp bound (ISO/date string or relative)' -r
|
|
1353
1524
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l limit -d 'Max activity entries' -r
|
|
1525
|
+
complete -c pm -n '__fish_seen_subcommand_from activity' -l compact -d 'Condensed activity projection'
|
|
1526
|
+
complete -c pm -n '__fish_seen_subcommand_from activity' -l full -d 'Show full activity entries'
|
|
1354
1527
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l stream -d 'Emit line-delimited JSON rows'
|
|
1355
1528
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l action -d 'Filter schema by tool action' -r
|
|
1356
1529
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l command -d 'Scope output to one command (narrow-by-default)' -r
|
|
@@ -1437,11 +1610,12 @@ complete -c pm -n '__fish_seen_subcommand_from append' -l message -d 'History me
|
|
|
1437
1610
|
complete -c pm -n '__fish_seen_subcommand_from append' -l force -d 'Force override'
|
|
1438
1611
|
|
|
1439
1612
|
# close flags
|
|
1440
|
-
complete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task' -l author -d 'Mutation author' -r
|
|
1441
|
-
complete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task' -l message -d 'History message' -r
|
|
1442
|
-
complete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task' -l force -d 'Force override'
|
|
1613
|
+
complete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l author -d 'Mutation author' -r
|
|
1614
|
+
complete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l message -d 'History message' -r
|
|
1615
|
+
complete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l force -d 'Force override'
|
|
1443
1616
|
complete -c pm -n '__fish_seen_subcommand_from close close-task' -l validate-close -d 'Validate closure metadata mode' -r -a 'off warn strict'
|
|
1444
1617
|
complete -c pm -n '__fish_seen_subcommand_from release' -l allow-audit-release -d 'Allow non-owner release handoffs without requiring --force'
|
|
1618
|
+
complete -c pm -n '__fish_seen_subcommand_from delete' -l dry-run -d 'Preview the item file that would be deleted without mutating'
|
|
1445
1619
|
|
|
1446
1620
|
# validate flags
|
|
1447
1621
|
complete -c pm -n '__fish_seen_subcommand_from validate' -l check-metadata -d 'Run metadata completeness checks'
|
|
@@ -1459,6 +1633,12 @@ complete -c pm -n '__fish_seen_subcommand_from validate' -l fail-on-warn -d 'Ali
|
|
|
1459
1633
|
complete -c pm -n '__fish_seen_subcommand_from validate' -l check-history-drift -d 'Run item/history hash drift checks'
|
|
1460
1634
|
complete -c pm -n '__fish_seen_subcommand_from validate' -l check-command-references -d 'Run linked-command PM-ID reference checks'
|
|
1461
1635
|
complete -c pm -n '__fish_seen_subcommand_from init' -l preset -d 'Governance preset for new setups' -r -a 'minimal default strict'
|
|
1636
|
+
complete -c pm -n '__fish_seen_subcommand_from init' -l defaults -d 'Use non-interactive setup defaults'
|
|
1637
|
+
complete -c pm -n '__fish_seen_subcommand_from init' -s y -l yes -d 'Alias for --defaults'
|
|
1638
|
+
complete -c pm -n '__fish_seen_subcommand_from init' -l author -d 'Set the default mutation author for this project' -r
|
|
1639
|
+
complete -c pm -n '__fish_seen_subcommand_from init' -l agent-guidance -d 'Agent guidance mode' -r -a 'ask add skip status'
|
|
1640
|
+
complete -c pm -n '__fish_seen_subcommand_from init' -l with-packages -d 'Install bundled first-party packages during initialization'
|
|
1641
|
+
complete -c pm -n '__fish_seen_subcommand_from init' -l verbose -d 'Include the full resolved settings tree in init output'
|
|
1462
1642
|
complete -c pm -n '__fish_seen_subcommand_from config' -l criterion -d 'Criteria value for definition-of-done metadata-required-fields or lifecycle pattern keys (repeatable for set)' -r
|
|
1463
1643
|
complete -c pm -n '__fish_seen_subcommand_from config' -l clear-criteria -d 'Clear config criteria-list key values'
|
|
1464
1644
|
complete -c pm -n '__fish_seen_subcommand_from config' -l format -d 'Item format for item-format key' -r -a 'toon'
|
|
@@ -1468,6 +1648,8 @@ complete -c pm -n '__fish_seen_subcommand_from health' -l check-only -d 'Run rea
|
|
|
1468
1648
|
complete -c pm -n '__fish_seen_subcommand_from health' -l no-refresh -d 'Disable automatic vector refresh attempts during health checks'
|
|
1469
1649
|
complete -c pm -n '__fish_seen_subcommand_from health' -l refresh-vectors -d 'Explicitly enable vector refresh attempts during health checks'
|
|
1470
1650
|
complete -c pm -n '__fish_seen_subcommand_from health' -l verbose-stale-items -d 'Include full stale vectorization ID lists in health output'
|
|
1651
|
+
complete -c pm -n '__fish_seen_subcommand_from health' -l brief -d 'Emit compact health details for low-token agent checks'
|
|
1652
|
+
complete -c pm -n '__fish_seen_subcommand_from health' -l summary -d 'Emit one-line-style health status with check names and warning count'
|
|
1471
1653
|
complete -c pm -n '__fish_seen_subcommand_from health' -l strict-exit -d 'Return non-zero exit when health warnings are present'
|
|
1472
1654
|
complete -c pm -n '__fish_seen_subcommand_from health' -l fail-on-warn -d 'Alias for --strict-exit'
|
|
1473
1655
|
complete -c pm -n '__fish_seen_subcommand_from comments-audit' -l status -d 'Filter by item status' -r -a 'draft open in_progress blocked closed canceled'
|
|
@@ -1546,4 +1728,5 @@ export function runCompletion(shell, itemTypes = DEFAULT_ITEM_TYPES, tags = [],
|
|
|
1546
1728
|
setup_hint: SETUP_HINTS[validShell],
|
|
1547
1729
|
};
|
|
1548
1730
|
}
|
|
1549
|
-
//# sourceMappingURL=completion.js.map
|
|
1731
|
+
//# sourceMappingURL=completion.js.map
|
|
1732
|
+
//# debugId=ab5654d4-0aa0-5942-9f7e-b0cf2c952ea8
|