@unbrained/pm-cli 2026.5.14 → 2026.5.18
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 +11 -0
- package/CONTRIBUTING.md +1 -0
- package/README.md +6 -5
- 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 +5 -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/append.js +4 -1
- package/dist/cli/commands/append.js.map +1 -1
- package/dist/cli/commands/calendar.js +4 -1
- package/dist/cli/commands/calendar.js.map +1 -1
- package/dist/cli/commands/claim.d.ts +3 -0
- package/dist/cli/commands/claim.js +19 -3
- package/dist/cli/commands/claim.js.map +1 -1
- package/dist/cli/commands/close.js +4 -1
- 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.js +4 -1
- package/dist/cli/commands/comments.js.map +1 -1
- package/dist/cli/commands/completion.js +98 -2
- 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 +19 -5
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/contracts.d.ts +9 -0
- package/dist/cli/commands/contracts.js +152 -34
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.js +30 -6
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/dedupe-audit.js +4 -1
- package/dist/cli/commands/dedupe-audit.js.map +1 -1
- package/dist/cli/commands/delete.js +4 -1
- 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.js +4 -1
- package/dist/cli/commands/docs.js.map +1 -1
- package/dist/cli/commands/extension.d.ts +2 -1
- package/dist/cli/commands/extension.js +123 -33
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/files.js +4 -1
- package/dist/cli/commands/files.js.map +1 -1
- package/dist/cli/commands/gc.js +4 -1
- package/dist/cli/commands/gc.js.map +1 -1
- package/dist/cli/commands/get.d.ts +7 -3
- package/dist/cli/commands/get.js +91 -18
- 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 +4 -0
- package/dist/cli/commands/health.js +31 -8
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history-redact.d.ts +42 -0
- package/dist/cli/commands/history-redact.js +559 -0
- package/dist/cli/commands/history-redact.js.map +1 -0
- package/dist/cli/commands/history.d.ts +4 -0
- package/dist/cli/commands/history.js +14 -3
- package/dist/cli/commands/history.js.map +1 -1
- package/dist/cli/commands/index.d.ts +2 -0
- package/dist/cli/commands/index.js +6 -1
- 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 +14 -0
- package/dist/cli/commands/init.js +75 -1
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/learnings.js +4 -1
- package/dist/cli/commands/learnings.js.map +1 -1
- package/dist/cli/commands/list.d.ts +1 -0
- package/dist/cli/commands/list.js +42 -18
- 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 +4 -1
- package/dist/cli/commands/notes.js.map +1 -1
- package/dist/cli/commands/plan.d.ts +118 -0
- package/dist/cli/commands/plan.js +975 -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 +4 -1
- package/dist/cli/commands/restore.js.map +1 -1
- package/dist/cli/commands/search.js +7 -2
- 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.js +4 -1
- package/dist/cli/commands/templates.js.map +1 -1
- package/dist/cli/commands/test-all.js +4 -1
- 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.js +4 -1
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/commands/update-many.js +4 -1
- package/dist/cli/commands/update-many.js.map +1 -1
- package/dist/cli/commands/update.js +114 -71
- 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.js +32 -4
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/error-guidance.js +5 -2
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/extension-command-help.js +4 -1
- package/dist/cli/extension-command-help.js.map +1 -1
- package/dist/cli/extension-command-options.js +4 -1
- 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.js +35 -15
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/help-json-payload.js +4 -1
- package/dist/cli/help-json-payload.js.map +1 -1
- package/dist/cli/main.js +203 -25
- 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.js +37 -14
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +228 -4
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +33 -1
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +23 -13
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.js +10 -2
- 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 +45 -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.js +4 -1
- 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 +77 -53
- 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/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/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 +241 -2
- package/dist/core/item/item-format.js.map +1 -1
- 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 +33 -3
- package/dist/core/item/parse.js.map +1 -1
- 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.js +4 -1
- package/dist/core/item/status.js.map +1 -1
- package/dist/core/item/type-registry.js +4 -1
- 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/command-aware.js +4 -1
- package/dist/core/output/command-aware.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 +5 -1
- 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/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.js +4 -1
- 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 +11 -2
- 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/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/levenshtein.js +4 -1
- package/dist/core/shared/levenshtein.js.map +1 -1
- 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.js +4 -1
- 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 +2 -0
- package/dist/core/store/item-store.js +66 -3
- 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.js +39 -1
- 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 +31 -5
- 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 +123 -14
- 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 +6 -2
- package/dist/sdk/cli-contracts.js +213 -20
- 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.js +4 -1
- 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 +86 -2
- package/dist/types.js +34 -1
- package/dist/types.js.map +1 -1
- package/docs/AGENT_GUIDE.md +16 -6
- package/docs/CLAUDE_CODE_PLUGIN.md +10 -10
- package/docs/CODEX_PLUGIN.md +2 -2
- package/docs/COMMANDS.md +80 -8
- package/docs/CONFIGURATION.md +4 -1
- package/docs/EXTENSIONS.md +158 -814
- package/docs/QUICKSTART.md +11 -5
- package/docs/README.md +7 -6
- package/docs/RELEASING.md +2 -2
- package/docs/TESTING.md +2 -2
- package/marketplace.json +3 -3
- package/package.json +4 -2
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/README.md +1 -1
- package/packages/pm-calendar/extensions/calendar/index.js +1 -1
- package/packages/pm-calendar/extensions/calendar/index.ts +1 -1
- 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/extensions/search-advanced/index.ts +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/README.md +1 -1
- 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/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,3 +1,5 @@
|
|
|
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]="4e7e9e79-ece5-54e2-883e-5ef16db5152b")}catch(e){}}();
|
|
1
3
|
export { ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS, CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS, CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS, LIST_COMMANDER_STRING_OPTION_CONTRACTS, SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, readFirstStringFromCommanderOptions, readStringArrayFromCommanderOptions, } from "./cli-contracts/commander-types.js";
|
|
2
4
|
export { CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS, CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, CREATE_COMMANDER_STRING_OPTION_CONTRACTS, UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS, UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, UPDATE_COMMANDER_STRING_OPTION_CONTRACTS, } from "./cli-contracts/commander-mutation-options.js";
|
|
3
5
|
export const PM_EXTENSION_CAPABILITY_CONTRACTS = [
|
|
@@ -118,6 +120,7 @@ export const PM_CORE_COMMAND_NAMES = [
|
|
|
118
120
|
"search",
|
|
119
121
|
"reindex",
|
|
120
122
|
"history",
|
|
123
|
+
"history-redact",
|
|
121
124
|
"activity",
|
|
122
125
|
"restore",
|
|
123
126
|
"update",
|
|
@@ -133,6 +136,7 @@ export const PM_CORE_COMMAND_NAMES = [
|
|
|
133
136
|
"files",
|
|
134
137
|
"docs",
|
|
135
138
|
"deps",
|
|
139
|
+
"plan",
|
|
136
140
|
"test",
|
|
137
141
|
"test-all",
|
|
138
142
|
"test-runs",
|
|
@@ -190,24 +194,21 @@ export const PM_TOOL_ACTIONS = [
|
|
|
190
194
|
"list-closed",
|
|
191
195
|
"list-canceled",
|
|
192
196
|
"aggregate",
|
|
193
|
-
"dedupe-audit",
|
|
194
|
-
"guide",
|
|
195
197
|
"context",
|
|
196
198
|
"ctx",
|
|
197
199
|
"get",
|
|
198
200
|
"search",
|
|
199
|
-
"reindex",
|
|
200
201
|
"history",
|
|
202
|
+
"history-redact",
|
|
201
203
|
"activity",
|
|
202
204
|
"restore",
|
|
203
205
|
"update",
|
|
204
206
|
"update-many",
|
|
205
|
-
"normalize",
|
|
206
207
|
"close",
|
|
207
208
|
"delete",
|
|
208
209
|
"append",
|
|
209
210
|
"comments",
|
|
210
|
-
"
|
|
211
|
+
"plan",
|
|
211
212
|
"notes",
|
|
212
213
|
"learnings",
|
|
213
214
|
"files",
|
|
@@ -215,17 +216,11 @@ export const PM_TOOL_ACTIONS = [
|
|
|
215
216
|
"deps",
|
|
216
217
|
"test",
|
|
217
218
|
"test-all",
|
|
218
|
-
"test-runs-list",
|
|
219
|
-
"test-runs-status",
|
|
220
|
-
"test-runs-logs",
|
|
221
|
-
"test-runs-stop",
|
|
222
|
-
"test-runs-resume",
|
|
223
219
|
"stats",
|
|
224
220
|
"health",
|
|
225
221
|
"validate",
|
|
226
222
|
"gc",
|
|
227
223
|
"contracts",
|
|
228
|
-
"completion",
|
|
229
224
|
"claim",
|
|
230
225
|
"release",
|
|
231
226
|
"start-task",
|
|
@@ -511,6 +506,8 @@ export const LIST_FILTER_FLAG_CONTRACTS = [
|
|
|
511
506
|
{ flag: "--limit" },
|
|
512
507
|
{ flag: "--offset" },
|
|
513
508
|
{ flag: "--compact" },
|
|
509
|
+
{ flag: "--brief" },
|
|
510
|
+
{ flag: "--full" },
|
|
514
511
|
{ flag: "--fields" },
|
|
515
512
|
{ flag: "--sort" },
|
|
516
513
|
{ flag: "--order" },
|
|
@@ -627,8 +624,70 @@ export const HISTORY_FLAG_CONTRACTS = [
|
|
|
627
624
|
{ flag: "--diff" },
|
|
628
625
|
{ flag: "--verify" },
|
|
629
626
|
];
|
|
627
|
+
export const HISTORY_REDACT_FLAG_CONTRACTS = [
|
|
628
|
+
{ flag: "--literal" },
|
|
629
|
+
{ flag: "--regex" },
|
|
630
|
+
{ flag: "--replacement" },
|
|
631
|
+
{ flag: "--dry-run" },
|
|
632
|
+
{ flag: "--author" },
|
|
633
|
+
{ flag: "--message" },
|
|
634
|
+
{ flag: "--force" },
|
|
635
|
+
];
|
|
636
|
+
export const PLAN_FLAG_CONTRACTS = [
|
|
637
|
+
{ flag: "--title" },
|
|
638
|
+
{ flag: "--description" },
|
|
639
|
+
{ flag: "--scope" },
|
|
640
|
+
{ flag: "--parent" },
|
|
641
|
+
{ flag: "--related" },
|
|
642
|
+
{ flag: "--blocks" },
|
|
643
|
+
{ flag: "--blocked-by", aliases: ["--blocked_by"] },
|
|
644
|
+
{ flag: "--harness" },
|
|
645
|
+
{ flag: "--mode" },
|
|
646
|
+
{ flag: "--resume-context", aliases: ["--resume_context"] },
|
|
647
|
+
{ flag: "--tags" },
|
|
648
|
+
{ flag: "--priority" },
|
|
649
|
+
{ flag: "--body" },
|
|
650
|
+
{ flag: "--claim" },
|
|
651
|
+
{ flag: "--from-search", aliases: ["--from_search"] },
|
|
652
|
+
{ flag: "--step-title", aliases: ["--step_title"] },
|
|
653
|
+
{ flag: "--step-body", aliases: ["--step_body"] },
|
|
654
|
+
{ flag: "--step-owner", aliases: ["--step_owner"] },
|
|
655
|
+
{ flag: "--step-status", aliases: ["--step_status"] },
|
|
656
|
+
{ flag: "--step-evidence", aliases: ["--step_evidence"] },
|
|
657
|
+
{ flag: "--step-blocked-reason", aliases: ["--step_blocked_reason"] },
|
|
658
|
+
{ flag: "--step-replacement", aliases: ["--step_replacement"] },
|
|
659
|
+
{ flag: "--depends-on", aliases: ["--depends_on"] },
|
|
660
|
+
{ flag: "--link" },
|
|
661
|
+
{ flag: "--link-kind", aliases: ["--link_kind"] },
|
|
662
|
+
{ flag: "--link-note", aliases: ["--link_note"] },
|
|
663
|
+
{ flag: "--promote-to-item-dep", aliases: ["--promote_to_item_dep"] },
|
|
664
|
+
{ flag: "--allow-multiple-active", aliases: ["--allow_multiple_active"] },
|
|
665
|
+
{ flag: "--file" },
|
|
666
|
+
{ flag: "--test" },
|
|
667
|
+
{ flag: "--doc" },
|
|
668
|
+
{ flag: "--decision-text", aliases: ["--decision_text"] },
|
|
669
|
+
{ flag: "--decision-rationale", aliases: ["--decision_rationale"] },
|
|
670
|
+
{ flag: "--decision-evidence", aliases: ["--decision_evidence"] },
|
|
671
|
+
{ flag: "--discovery-text", aliases: ["--discovery_text"] },
|
|
672
|
+
{ flag: "--validation-text", aliases: ["--validation_text"] },
|
|
673
|
+
{ flag: "--validation-command", aliases: ["--validation_command"] },
|
|
674
|
+
{ flag: "--validation-expected", aliases: ["--validation_expected"] },
|
|
675
|
+
{ flag: "--depth" },
|
|
676
|
+
{ flag: "--fields" },
|
|
677
|
+
{ flag: "--steps" },
|
|
678
|
+
{ flag: "--materialize-type", aliases: ["--materialize_type"] },
|
|
679
|
+
{ flag: "--materialize-parent", aliases: ["--materialize_parent"] },
|
|
680
|
+
{ flag: "--materialize-tags", aliases: ["--materialize_tags"] },
|
|
681
|
+
{ flag: "--author" },
|
|
682
|
+
{ flag: "--message" },
|
|
683
|
+
{ flag: "--force" },
|
|
684
|
+
];
|
|
630
685
|
export const INIT_FLAG_CONTRACTS = [
|
|
631
686
|
{ flag: "--preset" },
|
|
687
|
+
{ flag: "--defaults", short: "-y", aliases: ["--yes"] },
|
|
688
|
+
{ flag: "--author" },
|
|
689
|
+
{ flag: "--agent-guidance" },
|
|
690
|
+
{ flag: "--with-packages" },
|
|
632
691
|
];
|
|
633
692
|
export const CONFIG_FLAG_CONTRACTS = [
|
|
634
693
|
{ flag: "--criterion" },
|
|
@@ -675,6 +734,14 @@ export const EXTENSION_FLAG_CONTRACTS = [
|
|
|
675
734
|
{ flag: "--strict-exit" },
|
|
676
735
|
{ flag: "--fail-on-warn" },
|
|
677
736
|
];
|
|
737
|
+
export const INSTALL_FLAG_CONTRACTS = [
|
|
738
|
+
{ flag: "--project" },
|
|
739
|
+
{ flag: "--local" },
|
|
740
|
+
{ flag: "--global" },
|
|
741
|
+
{ flag: "--gh" },
|
|
742
|
+
{ flag: "--github" },
|
|
743
|
+
{ flag: "--ref" },
|
|
744
|
+
];
|
|
678
745
|
export const UPGRADE_FLAG_CONTRACTS = [
|
|
679
746
|
{ flag: "--dry-run" },
|
|
680
747
|
{ flag: "--cli-only" },
|
|
@@ -691,6 +758,8 @@ export const REINDEX_FLAG_CONTRACTS = [
|
|
|
691
758
|
{ flag: "--progress" },
|
|
692
759
|
];
|
|
693
760
|
export const CLOSE_FLAG_CONTRACTS = [
|
|
761
|
+
{ flag: "--reason" },
|
|
762
|
+
{ flag: "--close-reason" },
|
|
694
763
|
{ flag: "--author" },
|
|
695
764
|
{ flag: "--message" },
|
|
696
765
|
{ flag: "--validate-close" },
|
|
@@ -801,6 +870,10 @@ export const HEALTH_FLAG_CONTRACTS = [
|
|
|
801
870
|
{ flag: "--no-refresh" },
|
|
802
871
|
{ flag: "--refresh-vectors" },
|
|
803
872
|
{ flag: "--verbose-stale-items" },
|
|
873
|
+
{ flag: "--skip-vectors" },
|
|
874
|
+
{ flag: "--skip-integrity" },
|
|
875
|
+
{ flag: "--skip-drift" },
|
|
876
|
+
{ flag: "--full" },
|
|
804
877
|
];
|
|
805
878
|
export const VALIDATE_FLAG_CONTRACTS = [
|
|
806
879
|
{ flag: "--check-metadata" },
|
|
@@ -1173,6 +1246,10 @@ export const CONTEXT_FLAG_CONTRACTS = [
|
|
|
1173
1246
|
{ flag: "--activity-limit" },
|
|
1174
1247
|
{ flag: "--stale-threshold" },
|
|
1175
1248
|
];
|
|
1249
|
+
export const GET_FLAG_CONTRACTS = [
|
|
1250
|
+
{ flag: "--depth" },
|
|
1251
|
+
{ flag: "--fields" },
|
|
1252
|
+
];
|
|
1176
1253
|
export const GUIDE_FLAG_CONTRACTS = [
|
|
1177
1254
|
{ flag: "--list" },
|
|
1178
1255
|
{ flag: "--format" },
|
|
@@ -1186,6 +1263,8 @@ export const DEPS_FLAG_CONTRACTS = [
|
|
|
1186
1263
|
];
|
|
1187
1264
|
export const SEARCH_FLAG_CONTRACTS = [
|
|
1188
1265
|
{ flag: "--mode" },
|
|
1266
|
+
{ flag: "--semantic" },
|
|
1267
|
+
{ flag: "--hybrid" },
|
|
1189
1268
|
{ flag: "--include-linked" },
|
|
1190
1269
|
{ flag: "--title-exact" },
|
|
1191
1270
|
{ flag: "--phrase-exact" },
|
|
@@ -1207,6 +1286,7 @@ export const CONTRACTS_FLAG_CONTRACTS = [
|
|
|
1207
1286
|
{ flag: "--availability-only" },
|
|
1208
1287
|
{ flag: "--runtime-only" },
|
|
1209
1288
|
{ flag: "--active-only" },
|
|
1289
|
+
{ flag: "--full" },
|
|
1210
1290
|
];
|
|
1211
1291
|
export const COMPLETION_FLAG_CONTRACTS = [
|
|
1212
1292
|
{ flag: "--eager-tags" },
|
|
@@ -1239,7 +1319,6 @@ const LIST_COMMAND_NAME_CONTRACTS = new Set([
|
|
|
1239
1319
|
"list-canceled",
|
|
1240
1320
|
]);
|
|
1241
1321
|
const NO_SURFACE_COMMAND_NAME_CONTRACTS = new Set([
|
|
1242
|
-
"get",
|
|
1243
1322
|
"stats",
|
|
1244
1323
|
"reindex",
|
|
1245
1324
|
"help",
|
|
@@ -1281,8 +1360,9 @@ export function resolveSubcommandFlagContractsForCommand(commandName) {
|
|
|
1281
1360
|
case "extension":
|
|
1282
1361
|
case "package":
|
|
1283
1362
|
case "packages":
|
|
1284
|
-
case "install":
|
|
1285
1363
|
return withSubcommandGlobalFlags(EXTENSION_FLAG_CONTRACTS);
|
|
1364
|
+
case "install":
|
|
1365
|
+
return withSubcommandGlobalFlags(INSTALL_FLAG_CONTRACTS);
|
|
1286
1366
|
case "upgrade":
|
|
1287
1367
|
return withSubcommandGlobalFlags(UPGRADE_FLAG_CONTRACTS);
|
|
1288
1368
|
case "create":
|
|
@@ -1297,10 +1377,16 @@ export function resolveSubcommandFlagContractsForCommand(commandName) {
|
|
|
1297
1377
|
return withSubcommandGlobalFlags(CALENDAR_FLAG_CONTRACTS);
|
|
1298
1378
|
case "context":
|
|
1299
1379
|
return withSubcommandGlobalFlags(CONTEXT_FLAG_CONTRACTS);
|
|
1380
|
+
case "get":
|
|
1381
|
+
return withSubcommandGlobalFlags(GET_FLAG_CONTRACTS);
|
|
1300
1382
|
case "search":
|
|
1301
1383
|
return withSubcommandGlobalFlags(SEARCH_FLAG_CONTRACTS);
|
|
1302
1384
|
case "history":
|
|
1303
1385
|
return withSubcommandGlobalFlags(HISTORY_FLAG_CONTRACTS);
|
|
1386
|
+
case "history-redact":
|
|
1387
|
+
return withSubcommandGlobalFlags(HISTORY_REDACT_FLAG_CONTRACTS);
|
|
1388
|
+
case "plan":
|
|
1389
|
+
return withSubcommandGlobalFlags(PLAN_FLAG_CONTRACTS);
|
|
1304
1390
|
case "activity":
|
|
1305
1391
|
return withSubcommandGlobalFlags(ACTIVITY_FLAG_CONTRACTS);
|
|
1306
1392
|
case "restore":
|
|
@@ -1393,6 +1479,9 @@ const PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
1393
1479
|
sort: { type: "string", enum: ["priority", "deadline", "updated_at", "created_at", "title", "parent"] },
|
|
1394
1480
|
prefix: { type: "string" },
|
|
1395
1481
|
preset: { type: "string", enum: ["minimal", "default", "strict", "custom"] },
|
|
1482
|
+
defaults: { type: "boolean" },
|
|
1483
|
+
agentGuidance: { type: "string", enum: ["ask", "add", "skip", "status"] },
|
|
1484
|
+
withPackages: { type: "boolean" },
|
|
1396
1485
|
scope: { type: "string", enum: ["project", "global"] },
|
|
1397
1486
|
contractAction: { type: "string" },
|
|
1398
1487
|
command: { type: "string" },
|
|
@@ -1468,6 +1557,7 @@ const PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
1468
1557
|
},
|
|
1469
1558
|
op: { type: "string" },
|
|
1470
1559
|
compact: { type: "boolean" },
|
|
1560
|
+
brief: { type: "boolean" },
|
|
1471
1561
|
full: { type: "boolean" },
|
|
1472
1562
|
view: { type: "string", enum: ["agenda", "day", "week", "month"] },
|
|
1473
1563
|
date: { type: "string" },
|
|
@@ -1480,6 +1570,8 @@ const PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
1480
1570
|
recurrenceLookbackDays: { anyOf: [{ type: "string" }, { type: "number" }] },
|
|
1481
1571
|
occurrenceLimit: { anyOf: [{ type: "string" }, { type: "number" }] },
|
|
1482
1572
|
includeLinked: { type: "boolean" },
|
|
1573
|
+
semantic: { type: "boolean" },
|
|
1574
|
+
hybrid: { type: "boolean" },
|
|
1483
1575
|
titleExact: { type: "boolean" },
|
|
1484
1576
|
phraseExact: { type: "boolean" },
|
|
1485
1577
|
includeBody: { type: "boolean" },
|
|
@@ -1517,6 +1609,9 @@ const PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
1517
1609
|
autoPmContext: { type: "boolean" },
|
|
1518
1610
|
diff: { type: "boolean" },
|
|
1519
1611
|
verify: { type: "boolean" },
|
|
1612
|
+
literal: { type: "array", items: { type: "string" } },
|
|
1613
|
+
regex: { type: "array", items: { type: "string" } },
|
|
1614
|
+
replacement: { type: "string" },
|
|
1520
1615
|
timeout: { anyOf: [{ type: "string" }, { type: "number" }] },
|
|
1521
1616
|
validateClose: { type: "string", enum: ["off", "warn", "strict"] },
|
|
1522
1617
|
checkMetadata: { type: "boolean" },
|
|
@@ -1657,6 +1752,8 @@ const LIST_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
|
1657
1752
|
...TOOL_LIST_FILTER_OPTION_CONTRACTS.map((entry) => entry.param),
|
|
1658
1753
|
"includeBody",
|
|
1659
1754
|
"compact",
|
|
1755
|
+
"brief",
|
|
1756
|
+
"full",
|
|
1660
1757
|
]);
|
|
1661
1758
|
const AGGREGATE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
1662
1759
|
...TOOL_AGGREGATE_OPTION_CONTRACTS.map((entry) => entry.param),
|
|
@@ -1668,6 +1765,8 @@ const SEARCH_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
|
1668
1765
|
"query",
|
|
1669
1766
|
"keywords",
|
|
1670
1767
|
"mode",
|
|
1768
|
+
"semantic",
|
|
1769
|
+
"hybrid",
|
|
1671
1770
|
"includeLinked",
|
|
1672
1771
|
"titleExact",
|
|
1673
1772
|
"phraseExact",
|
|
@@ -1677,7 +1776,7 @@ const SEARCH_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
|
1677
1776
|
]);
|
|
1678
1777
|
const AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS = ["author", "message", "force"];
|
|
1679
1778
|
const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
1680
|
-
init: { optional: ["prefix", "preset"] },
|
|
1779
|
+
init: { optional: ["prefix", "preset", "defaults", "author", "agentGuidance", "withPackages"] },
|
|
1681
1780
|
config: {
|
|
1682
1781
|
required: ["scope", "configAction"],
|
|
1683
1782
|
optional: ["key", "criterion", "clearCriteria", "format", "policy"],
|
|
@@ -1790,13 +1889,71 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1790
1889
|
guide: { optional: ["format", "depth"] },
|
|
1791
1890
|
context: { optional: CONTEXT_CONTRACT_PARAMETER_KEYS },
|
|
1792
1891
|
ctx: { optional: CONTEXT_CONTRACT_PARAMETER_KEYS },
|
|
1793
|
-
get: { required: ["id"] },
|
|
1892
|
+
get: { required: ["id"], optional: ["depth", "fields"] },
|
|
1794
1893
|
search: {
|
|
1795
1894
|
optional: SEARCH_CONTRACT_PARAMETER_KEYS,
|
|
1796
1895
|
anyOfRequired: [["query"], ["keywords"]],
|
|
1797
1896
|
},
|
|
1798
1897
|
reindex: { optional: ["mode", "progress"] },
|
|
1799
1898
|
history: { required: ["id"], optional: ["limit", "diff", "verify"] },
|
|
1899
|
+
"history-redact": {
|
|
1900
|
+
required: ["id"],
|
|
1901
|
+
optional: ["literal", "regex", "replacement", "dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS],
|
|
1902
|
+
anyOfRequired: [["literal"], ["regex"]],
|
|
1903
|
+
},
|
|
1904
|
+
plan: {
|
|
1905
|
+
required: ["subcommand"],
|
|
1906
|
+
optional: [
|
|
1907
|
+
"id",
|
|
1908
|
+
"stepRef",
|
|
1909
|
+
"reorderTo",
|
|
1910
|
+
"title",
|
|
1911
|
+
"description",
|
|
1912
|
+
"scope",
|
|
1913
|
+
"parent",
|
|
1914
|
+
"related",
|
|
1915
|
+
"blocks",
|
|
1916
|
+
"blockedBy",
|
|
1917
|
+
"harness",
|
|
1918
|
+
"mode",
|
|
1919
|
+
"resumeContext",
|
|
1920
|
+
"tags",
|
|
1921
|
+
"priority",
|
|
1922
|
+
"body",
|
|
1923
|
+
"claim",
|
|
1924
|
+
"fromSearch",
|
|
1925
|
+
"stepTitle",
|
|
1926
|
+
"stepBody",
|
|
1927
|
+
"stepOwner",
|
|
1928
|
+
"stepStatus",
|
|
1929
|
+
"stepEvidence",
|
|
1930
|
+
"stepBlockedReason",
|
|
1931
|
+
"stepReplacement",
|
|
1932
|
+
"dependsOn",
|
|
1933
|
+
"link",
|
|
1934
|
+
"linkKind",
|
|
1935
|
+
"linkNote",
|
|
1936
|
+
"promoteToItemDep",
|
|
1937
|
+
"allowMultipleActive",
|
|
1938
|
+
"file",
|
|
1939
|
+
"test",
|
|
1940
|
+
"doc",
|
|
1941
|
+
"decisionText",
|
|
1942
|
+
"decisionRationale",
|
|
1943
|
+
"decisionEvidence",
|
|
1944
|
+
"discoveryText",
|
|
1945
|
+
"validationText",
|
|
1946
|
+
"validationCommand",
|
|
1947
|
+
"validationExpected",
|
|
1948
|
+
"depth",
|
|
1949
|
+
"fields",
|
|
1950
|
+
"steps",
|
|
1951
|
+
"materializeType",
|
|
1952
|
+
"materializeParent",
|
|
1953
|
+
"materializeTags",
|
|
1954
|
+
...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS,
|
|
1955
|
+
],
|
|
1956
|
+
},
|
|
1800
1957
|
activity: { optional: ACTIVITY_CONTRACT_PARAMETER_KEYS },
|
|
1801
1958
|
restore: { required: ["id", "target"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
|
|
1802
1959
|
update: { required: ["id"], optional: UPDATE_CONTRACT_PARAMETER_KEYS },
|
|
@@ -1928,6 +2085,10 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1928
2085
|
"noRefresh",
|
|
1929
2086
|
"refreshVectors",
|
|
1930
2087
|
"verboseStaleItems",
|
|
2088
|
+
"skipVectors",
|
|
2089
|
+
"skipIntegrity",
|
|
2090
|
+
"skipDrift",
|
|
2091
|
+
"full",
|
|
1931
2092
|
],
|
|
1932
2093
|
},
|
|
1933
2094
|
validate: {
|
|
@@ -1957,7 +2118,7 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1957
2118
|
"pause-task": { required: ["id"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
|
|
1958
2119
|
"close-task": { required: ["id", "text"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
|
|
1959
2120
|
};
|
|
1960
|
-
export const PM_TOOL_ACTION_PARAMETER_CONTRACTS = PM_TOOL_ACTION_SCHEMA_CONTRACTS;
|
|
2121
|
+
export const PM_TOOL_ACTION_PARAMETER_CONTRACTS = Object.freeze(Object.fromEntries(PM_TOOL_ACTIONS.map((action) => [action, PM_TOOL_ACTION_SCHEMA_CONTRACTS[action]])));
|
|
1961
2122
|
const PM_TOOL_PARAMETER_METADATA = {
|
|
1962
2123
|
action: {
|
|
1963
2124
|
description: "Tool action to execute.",
|
|
@@ -1967,7 +2128,7 @@ const PM_TOOL_PARAMETER_METADATA = {
|
|
|
1967
2128
|
examples: [".agents/pm"],
|
|
1968
2129
|
},
|
|
1969
2130
|
scope: {
|
|
1970
|
-
description: "Scope selector for commands that operate on project or global state.",
|
|
2131
|
+
description: "Scope selector for commands that operate on project or global state. Linked files, docs, and tests default to project scope when omitted.",
|
|
1971
2132
|
examples: ["project", "global"],
|
|
1972
2133
|
},
|
|
1973
2134
|
detail: {
|
|
@@ -2059,6 +2220,16 @@ const PM_TOOL_PARAMETER_METADATA = {
|
|
|
2059
2220
|
description: "Governance preset for initialization flows.",
|
|
2060
2221
|
examples: ["minimal", "default", "strict"],
|
|
2061
2222
|
},
|
|
2223
|
+
defaults: {
|
|
2224
|
+
description: "Use non-interactive setup defaults during initialization.",
|
|
2225
|
+
},
|
|
2226
|
+
agentGuidance: {
|
|
2227
|
+
description: "Control AGENTS.md/CLAUDE.md guidance behavior during init: ask, add, skip, or status.",
|
|
2228
|
+
examples: ["ask", "add", "skip", "status"],
|
|
2229
|
+
},
|
|
2230
|
+
withPackages: {
|
|
2231
|
+
description: "Install all bundled first-party pm packages during initialization.",
|
|
2232
|
+
},
|
|
2062
2233
|
createMode: {
|
|
2063
2234
|
description: "Create required-option policy mode.",
|
|
2064
2235
|
examples: ["strict", "progressive"],
|
|
@@ -2235,6 +2406,18 @@ const PM_TOOL_PARAMETER_METADATA = {
|
|
|
2235
2406
|
description: "Number of most recent comments to include per item in comments-audit output (use 0 for summary-only item rows).",
|
|
2236
2407
|
examples: [0, 1, "3"],
|
|
2237
2408
|
},
|
|
2409
|
+
literal: {
|
|
2410
|
+
description: "Repeatable literal matcher used by history-redact to scrub exact string values.",
|
|
2411
|
+
examples: ["[redacted_path_prefix]/private/path"],
|
|
2412
|
+
},
|
|
2413
|
+
regex: {
|
|
2414
|
+
description: "Repeatable regex matcher used by history-redact. Accepts either /pattern/flags or a raw pattern (global mode is auto-enabled).",
|
|
2415
|
+
examples: ["/192\\\\.168\\\\.[0-9.]+/g", "token=[A-Za-z0-9_-]+"],
|
|
2416
|
+
},
|
|
2417
|
+
replacement: {
|
|
2418
|
+
description: 'Replacement text used by history-redact (defaults to "[redacted]").',
|
|
2419
|
+
examples: ["[scrubbed_path]"],
|
|
2420
|
+
},
|
|
2238
2421
|
validateClose: {
|
|
2239
2422
|
description: 'Close-time metadata validation mode ("off", "warn", or "strict").',
|
|
2240
2423
|
examples: ["off", "warn", "strict"],
|
|
@@ -2280,6 +2463,15 @@ const PM_TOOL_PARAMETER_METADATA = {
|
|
|
2280
2463
|
verboseStaleItems: {
|
|
2281
2464
|
description: "For health action, include full stale-item arrays in vectorization details.",
|
|
2282
2465
|
},
|
|
2466
|
+
skipVectors: {
|
|
2467
|
+
description: "For health action, skip vectorization checks for a faster diagnostic run.",
|
|
2468
|
+
},
|
|
2469
|
+
skipIntegrity: {
|
|
2470
|
+
description: "For health action, skip item/history file integrity checks for a faster diagnostic run.",
|
|
2471
|
+
},
|
|
2472
|
+
skipDrift: {
|
|
2473
|
+
description: "For health action, skip history drift hash checks for a faster diagnostic run.",
|
|
2474
|
+
},
|
|
2283
2475
|
scanMode: {
|
|
2284
2476
|
description: "Select file candidate scan mode for --check-files.",
|
|
2285
2477
|
examples: ["default", "tracked-all", "tracked-all-strict"],
|
|
@@ -2377,8 +2569,8 @@ const PM_TOOL_PARAMETER_METADATA = {
|
|
|
2377
2569
|
description: "Render full nested search hit payload output.",
|
|
2378
2570
|
},
|
|
2379
2571
|
fields: {
|
|
2380
|
-
description: "Comma-separated projection fields for search or list-family outputs.",
|
|
2381
|
-
examples: ["id,title,
|
|
2572
|
+
description: "Comma-separated projection fields for get, search, or list-family outputs.",
|
|
2573
|
+
examples: ["id,title,status,parent,type", "id,title,score,matched_fields"],
|
|
2382
2574
|
},
|
|
2383
2575
|
groupBy: {
|
|
2384
2576
|
description: "Comma-separated aggregate grouping fields (supported: parent,type,priority,status,assignee,tags,sprint,release).",
|
|
@@ -2556,4 +2748,5 @@ function buildProviderCompatibleToolSchema() {
|
|
|
2556
2748
|
};
|
|
2557
2749
|
}
|
|
2558
2750
|
export const PM_PROVIDER_TOOL_PARAMETERS_SCHEMA = buildProviderCompatibleToolSchema();
|
|
2559
|
-
//# sourceMappingURL=cli-contracts.js.map
|
|
2751
|
+
//# sourceMappingURL=cli-contracts.js.map
|
|
2752
|
+
//# debugId=4e7e9e79-ece5-54e2-883e-5ef16db5152b
|