@unbrained/pm-cli 2026.5.12 → 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 +22 -0
- package/CONTRIBUTING.md +1 -0
- package/PRD.md +7 -28
- package/README.md +8 -14
- 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 +32 -1
- package/dist/cli/commander-usage.js.map +1 -1
- package/dist/cli/commands/activity.js +23 -5
- 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 +9 -3
- 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 +205 -49
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.js +88 -9
- 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 +7 -2
- package/dist/cli/commands/extension.js +360 -64
- 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 -8
- package/dist/cli/commands/index.js +6 -9
- 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.d.ts +8 -0
- package/dist/cli/commands/reindex.js +100 -24
- 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 +58 -27
- 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 +52 -33
- 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 +276 -32
- 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 +55 -150
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +277 -261
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +62 -199
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +55 -146
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.d.ts +2 -2
- package/dist/cli/registration-helpers.js +11 -21
- 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 +84 -54
- 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 +27 -1
- package/dist/core/packages/manifest.js +87 -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.d.ts +13 -1
- package/dist/core/search/embedding-batches.js +40 -8
- 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.d.ts +8 -1
- package/dist/core/store/front-matter-cache.js +28 -14
- 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.d.ts +8 -0
- package/dist/mcp/server.js +212 -53
- package/dist/mcp/server.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-mutation-options.d.ts +7 -0
- package/dist/sdk/cli-contracts/commander-mutation-options.js +484 -0
- package/dist/sdk/cli-contracts/commander-mutation-options.js.map +1 -0
- package/dist/sdk/cli-contracts/commander-types.d.ts +21 -0
- package/dist/sdk/cli-contracts/commander-types.js +95 -0
- package/dist/sdk/cli-contracts/commander-types.js.map +1 -0
- package/dist/sdk/cli-contracts.d.ts +10 -17
- package/dist/sdk/cli-contracts.js +232 -282
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +5 -1
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +29 -0
- package/dist/sdk/runtime.js +31 -0
- package/dist/sdk/runtime.js.map +1 -0
- 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 +83 -8
- package/docs/CONFIGURATION.md +4 -1
- package/docs/EXTENSIONS.md +176 -807
- package/docs/QUICKSTART.md +12 -5
- package/docs/README.md +7 -6
- package/docs/RELEASING.md +6 -4
- package/docs/SDK.md +78 -441
- package/docs/TESTING.md +2 -2
- package/marketplace.json +3 -3
- package/package.json +7 -4
- package/packages/pm-beads/extensions/beads/index.js +90 -101
- package/packages/pm-beads/extensions/beads/index.ts +2 -2
- package/packages/pm-beads/extensions/beads/runtime.js +2 -17
- package/packages/pm-beads/extensions/beads/runtime.ts +41 -18
- package/packages/pm-beads/package.json +34 -1
- package/packages/pm-calendar/README.md +13 -0
- package/packages/pm-calendar/extensions/calendar/index.js +56 -0
- package/packages/pm-calendar/extensions/calendar/index.ts +62 -0
- package/packages/pm-calendar/extensions/calendar/manifest.json +7 -0
- package/packages/pm-calendar/extensions/calendar/runtime.js +114 -0
- package/packages/pm-calendar/extensions/calendar/runtime.ts +123 -0
- package/packages/pm-calendar/package.json +51 -0
- package/packages/pm-governance-audit/README.md +23 -0
- package/packages/pm-governance-audit/extensions/governance-audit/index.js +117 -0
- package/packages/pm-governance-audit/extensions/governance-audit/index.ts +118 -0
- package/packages/pm-governance-audit/extensions/governance-audit/manifest.json +7 -0
- package/packages/pm-governance-audit/extensions/governance-audit/runtime.js +159 -0
- package/packages/pm-governance-audit/extensions/governance-audit/runtime.ts +176 -0
- package/packages/pm-governance-audit/package.json +52 -0
- package/packages/pm-guide-shell/README.md +23 -0
- package/packages/pm-guide-shell/extensions/guide-shell/index.js +76 -0
- package/packages/pm-guide-shell/extensions/guide-shell/index.ts +81 -0
- package/packages/pm-guide-shell/extensions/guide-shell/manifest.json +7 -0
- package/packages/pm-guide-shell/extensions/guide-shell/runtime.js +263 -0
- package/packages/pm-guide-shell/extensions/guide-shell/runtime.ts +327 -0
- package/packages/pm-guide-shell/package.json +52 -0
- package/packages/pm-linked-test-adapters/README.md +24 -0
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/index.js +101 -0
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/index.ts +102 -0
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/manifest.json +7 -0
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/runtime.js +142 -0
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/runtime.ts +173 -0
- package/packages/pm-linked-test-adapters/package.json +53 -0
- package/packages/pm-search-advanced/README.md +27 -0
- package/packages/pm-search-advanced/extensions/search-advanced/index.js +93 -0
- package/packages/pm-search-advanced/extensions/search-advanced/index.ts +94 -0
- package/packages/pm-search-advanced/extensions/search-advanced/manifest.json +7 -0
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.js +120 -0
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.ts +144 -0
- package/packages/pm-search-advanced/package.json +54 -0
- package/packages/pm-templates/README.md +20 -0
- package/packages/pm-templates/extensions/templates/index.js +101 -0
- package/packages/pm-templates/extensions/templates/index.ts +109 -0
- package/packages/pm-templates/extensions/templates/manifest.json +7 -0
- package/packages/pm-templates/extensions/templates/runtime.js +226 -0
- package/packages/pm-templates/extensions/templates/runtime.ts +283 -0
- package/packages/pm-templates/package.json +50 -0
- package/packages/pm-todos/extensions/todos/index.js +105 -116
- package/packages/pm-todos/extensions/todos/index.ts +3 -2
- package/packages/pm-todos/extensions/todos/runtime.js +2 -17
- package/packages/pm-todos/extensions/todos/runtime.ts +40 -18
- package/packages/pm-todos/package.json +35 -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}/scripts/pm-mcp-server.mjs +4 -2
- 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-cli-codex → pm-codex}/scripts/pm-mcp-server.mjs +4 -2
- 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}/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}/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
|
@@ -0,0 +1,95 @@
|
|
|
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]="5b919cb4-d842-52b2-92f8-d07fb6637a19")}catch(e){}}();
|
|
3
|
+
export const LIST_COMMANDER_STRING_OPTION_CONTRACTS = [
|
|
4
|
+
{ target: "status", keys: ["status"] },
|
|
5
|
+
{ target: "type", keys: ["type"] },
|
|
6
|
+
{ target: "tag", keys: ["tag"] },
|
|
7
|
+
{ target: "priority", keys: ["priority"] },
|
|
8
|
+
{ target: "deadlineBefore", keys: ["deadlineBefore"] },
|
|
9
|
+
{ target: "deadlineAfter", keys: ["deadlineAfter"] },
|
|
10
|
+
{ target: "assignee", keys: ["assignee"] },
|
|
11
|
+
{ target: "assigneeFilter", keys: ["assigneeFilter", "assignee_filter"] },
|
|
12
|
+
{ target: "parent", keys: ["parent"] },
|
|
13
|
+
{ target: "sprint", keys: ["sprint"] },
|
|
14
|
+
{ target: "release", keys: ["release"] },
|
|
15
|
+
{ target: "limit", keys: ["limit"] },
|
|
16
|
+
{ target: "offset", keys: ["offset"] },
|
|
17
|
+
{ target: "fields", keys: ["fields"] },
|
|
18
|
+
{ target: "sort", keys: ["sort"] },
|
|
19
|
+
{ target: "order", keys: ["order"] },
|
|
20
|
+
];
|
|
21
|
+
export const SEARCH_COMMANDER_STRING_OPTION_CONTRACTS = [
|
|
22
|
+
{ target: "mode", keys: ["mode"] },
|
|
23
|
+
{ target: "type", keys: ["type"] },
|
|
24
|
+
{ target: "tag", keys: ["tag"] },
|
|
25
|
+
{ target: "priority", keys: ["priority"] },
|
|
26
|
+
{ target: "deadlineBefore", keys: ["deadlineBefore"] },
|
|
27
|
+
{ target: "deadlineAfter", keys: ["deadlineAfter"] },
|
|
28
|
+
{ target: "fields", keys: ["fields"] },
|
|
29
|
+
{ target: "limit", keys: ["limit"] },
|
|
30
|
+
];
|
|
31
|
+
export const CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS = [
|
|
32
|
+
{ target: "view", keys: ["view"] },
|
|
33
|
+
{ target: "date", keys: ["date"] },
|
|
34
|
+
{ target: "from", keys: ["from"] },
|
|
35
|
+
{ target: "to", keys: ["to"] },
|
|
36
|
+
{ target: "limit", keys: ["limit"] },
|
|
37
|
+
{ target: "type", keys: ["type"] },
|
|
38
|
+
{ target: "tag", keys: ["tag"] },
|
|
39
|
+
{ target: "priority", keys: ["priority"] },
|
|
40
|
+
{ target: "status", keys: ["status"] },
|
|
41
|
+
{ target: "assignee", keys: ["assignee"] },
|
|
42
|
+
{ target: "assigneeFilter", keys: ["assigneeFilter", "assignee_filter"] },
|
|
43
|
+
{ target: "sprint", keys: ["sprint"] },
|
|
44
|
+
{ target: "release", keys: ["release"] },
|
|
45
|
+
{ target: "include", keys: ["include"] },
|
|
46
|
+
{ target: "recurrenceLookaheadDays", keys: ["recurrenceLookaheadDays", "recurrence_lookahead_days"] },
|
|
47
|
+
{ target: "recurrenceLookbackDays", keys: ["recurrenceLookbackDays", "recurrence_lookback_days"] },
|
|
48
|
+
{ target: "occurrenceLimit", keys: ["occurrenceLimit", "occurrence_limit"] },
|
|
49
|
+
{ target: "format", keys: ["format"] },
|
|
50
|
+
];
|
|
51
|
+
export const CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS = [
|
|
52
|
+
{ target: "date", keys: ["date"] },
|
|
53
|
+
{ target: "from", keys: ["from"] },
|
|
54
|
+
{ target: "to", keys: ["to"] },
|
|
55
|
+
{ target: "type", keys: ["type"] },
|
|
56
|
+
{ target: "tag", keys: ["tag"] },
|
|
57
|
+
{ target: "priority", keys: ["priority"] },
|
|
58
|
+
{ target: "assignee", keys: ["assignee"] },
|
|
59
|
+
{ target: "assigneeFilter", keys: ["assigneeFilter", "assignee_filter"] },
|
|
60
|
+
{ target: "sprint", keys: ["sprint"] },
|
|
61
|
+
{ target: "release", keys: ["release"] },
|
|
62
|
+
{ target: "limit", keys: ["limit"] },
|
|
63
|
+
{ target: "format", keys: ["format"] },
|
|
64
|
+
{ target: "depth", keys: ["depth"] },
|
|
65
|
+
{ target: "activityLimit", keys: ["activityLimit", "activity_limit"] },
|
|
66
|
+
{ target: "staleThreshold", keys: ["staleThreshold", "stale_threshold"] },
|
|
67
|
+
];
|
|
68
|
+
export const ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS = [
|
|
69
|
+
{ target: "id", keys: ["id"] },
|
|
70
|
+
{ target: "op", keys: ["op"] },
|
|
71
|
+
{ target: "author", keys: ["author"] },
|
|
72
|
+
{ target: "from", keys: ["from"] },
|
|
73
|
+
{ target: "to", keys: ["to"] },
|
|
74
|
+
{ target: "limit", keys: ["limit"] },
|
|
75
|
+
];
|
|
76
|
+
export function readFirstStringFromCommanderOptions(options, contract) {
|
|
77
|
+
for (const key of contract.keys) {
|
|
78
|
+
const candidate = options[key];
|
|
79
|
+
if (typeof candidate === "string") {
|
|
80
|
+
return candidate;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return undefined;
|
|
84
|
+
}
|
|
85
|
+
export function readStringArrayFromCommanderOptions(options, contract) {
|
|
86
|
+
for (const key of contract.keys) {
|
|
87
|
+
const candidate = options[key];
|
|
88
|
+
if (Array.isArray(candidate)) {
|
|
89
|
+
return candidate;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return undefined;
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=commander-types.js.map
|
|
95
|
+
//# debugId=5b919cb4-d842-52b2-92f8-d07fb6637a19
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commander-types.js","sources":["sdk/cli-contracts/commander-types.ts"],"sourceRoot":"/","sourcesContent":["export interface CommanderOptionAliasContract {\n target: string;\n keys: readonly string[];\n}\n\nexport interface CommanderOptionRegistrationContract extends CommanderOptionAliasContract {\n option: string;\n description: string;\n required?: boolean;\n repeatable?: boolean;\n aliasOptions?: Array<{\n option: string;\n description: string;\n }>;\n}\n\nexport const LIST_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[] = [\n { target: \"status\", keys: [\"status\"] },\n { target: \"type\", keys: [\"type\"] },\n { target: \"tag\", keys: [\"tag\"] },\n { target: \"priority\", keys: [\"priority\"] },\n { target: \"deadlineBefore\", keys: [\"deadlineBefore\"] },\n { target: \"deadlineAfter\", keys: [\"deadlineAfter\"] },\n { target: \"assignee\", keys: [\"assignee\"] },\n { target: \"assigneeFilter\", keys: [\"assigneeFilter\", \"assignee_filter\"] },\n { target: \"parent\", keys: [\"parent\"] },\n { target: \"sprint\", keys: [\"sprint\"] },\n { target: \"release\", keys: [\"release\"] },\n { target: \"limit\", keys: [\"limit\"] },\n { target: \"offset\", keys: [\"offset\"] },\n { target: \"fields\", keys: [\"fields\"] },\n { target: \"sort\", keys: [\"sort\"] },\n { target: \"order\", keys: [\"order\"] },\n];\n\nexport const SEARCH_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[] = [\n { target: \"mode\", keys: [\"mode\"] },\n { target: \"type\", keys: [\"type\"] },\n { target: \"tag\", keys: [\"tag\"] },\n { target: \"priority\", keys: [\"priority\"] },\n { target: \"deadlineBefore\", keys: [\"deadlineBefore\"] },\n { target: \"deadlineAfter\", keys: [\"deadlineAfter\"] },\n { target: \"fields\", keys: [\"fields\"] },\n { target: \"limit\", keys: [\"limit\"] },\n];\n\nexport const CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[] = [\n { target: \"view\", keys: [\"view\"] },\n { target: \"date\", keys: [\"date\"] },\n { target: \"from\", keys: [\"from\"] },\n { target: \"to\", keys: [\"to\"] },\n { target: \"limit\", keys: [\"limit\"] },\n { target: \"type\", keys: [\"type\"] },\n { target: \"tag\", keys: [\"tag\"] },\n { target: \"priority\", keys: [\"priority\"] },\n { target: \"status\", keys: [\"status\"] },\n { target: \"assignee\", keys: [\"assignee\"] },\n { target: \"assigneeFilter\", keys: [\"assigneeFilter\", \"assignee_filter\"] },\n { target: \"sprint\", keys: [\"sprint\"] },\n { target: \"release\", keys: [\"release\"] },\n { target: \"include\", keys: [\"include\"] },\n { target: \"recurrenceLookaheadDays\", keys: [\"recurrenceLookaheadDays\", \"recurrence_lookahead_days\"] },\n { target: \"recurrenceLookbackDays\", keys: [\"recurrenceLookbackDays\", \"recurrence_lookback_days\"] },\n { target: \"occurrenceLimit\", keys: [\"occurrenceLimit\", \"occurrence_limit\"] },\n { target: \"format\", keys: [\"format\"] },\n];\n\nexport const CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[] = [\n { target: \"date\", keys: [\"date\"] },\n { target: \"from\", keys: [\"from\"] },\n { target: \"to\", keys: [\"to\"] },\n { target: \"type\", keys: [\"type\"] },\n { target: \"tag\", keys: [\"tag\"] },\n { target: \"priority\", keys: [\"priority\"] },\n { target: \"assignee\", keys: [\"assignee\"] },\n { target: \"assigneeFilter\", keys: [\"assigneeFilter\", \"assignee_filter\"] },\n { target: \"sprint\", keys: [\"sprint\"] },\n { target: \"release\", keys: [\"release\"] },\n { target: \"limit\", keys: [\"limit\"] },\n { target: \"format\", keys: [\"format\"] },\n { target: \"depth\", keys: [\"depth\"] },\n { target: \"activityLimit\", keys: [\"activityLimit\", \"activity_limit\"] },\n { target: \"staleThreshold\", keys: [\"staleThreshold\", \"stale_threshold\"] },\n];\n\nexport const ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[] = [\n { target: \"id\", keys: [\"id\"] },\n { target: \"op\", keys: [\"op\"] },\n { target: \"author\", keys: [\"author\"] },\n { target: \"from\", keys: [\"from\"] },\n { target: \"to\", keys: [\"to\"] },\n { target: \"limit\", keys: [\"limit\"] },\n];\n\nexport function readFirstStringFromCommanderOptions(\n options: Record<string, unknown>,\n contract: CommanderOptionAliasContract,\n): string | undefined {\n for (const key of contract.keys) {\n const candidate = options[key];\n if (typeof candidate === \"string\") {\n return candidate;\n }\n }\n return undefined;\n}\n\nexport function readStringArrayFromCommanderOptions(\n options: Record<string, unknown>,\n contract: CommanderOptionAliasContract,\n): string[] | undefined {\n for (const key of contract.keys) {\n const candidate = options[key];\n if (Array.isArray(candidate)) {\n return candidate as string[];\n }\n }\n return undefined;\n}\n"],"names":[],"mappings":";;AAgBA,MAAM,CAAC,MAAM,sCAAsC,GAAmC;IACpF,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE;IACtC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE;IAClC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE;IAChC,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,UAAU,CAAC,EAAE;IAC1C,EAAE,MAAM,EAAE,gBA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,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,mCAAmC,CACjD,OAAgC,EAChC,QAAsC;IAEtC,KAAK,MAAM,GAAG,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;QAChC,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;QAC/B,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC;YAC7B,OAAO,SAAqB,CAAC;QAC/B,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC","debugId":"5b919cb4-d842-52b2-92f8-d07fb6637a19"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export type { CommanderOptionAliasContract, CommanderOptionRegistrationContract } from "./cli-contracts/commander-types.js";
|
|
2
|
+
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";
|
|
3
|
+
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";
|
|
5
4
|
export interface CliFlagContract {
|
|
6
5
|
flag: string;
|
|
7
6
|
short?: string;
|
|
@@ -27,8 +26,9 @@ export type PmExtensionSandboxProfileContract = (typeof PM_EXTENSION_SANDBOX_PRO
|
|
|
27
26
|
export declare const PM_EXTENSION_POLICY_SURFACE_CONTRACTS: readonly ["commands.override", "commands.handler", "hooks.beforecommand", "hooks.aftercommand", "hooks.onwrite", "hooks.onread", "hooks.onindex", "schema.flags", "schema.itemfields", "schema.itemtypes", "schema.migrations", "parser.override", "preflight.override", "services.override", "renderers.override", "importers.importer", "importers.exporter", "search.provider", "search.vectorstore"];
|
|
28
27
|
export type PmExtensionPolicySurfaceContract = (typeof PM_EXTENSION_POLICY_SURFACE_CONTRACTS)[number];
|
|
29
28
|
export declare function withFlagAliasMetadata(flagContracts: CliFlagContract[]): CliFlagContract[];
|
|
30
|
-
export declare
|
|
31
|
-
export declare const
|
|
29
|
+
export declare function compactFlagAliasContracts(flagContracts: CliFlagContract[]): CliFlagContract[];
|
|
30
|
+
export declare const PM_CORE_COMMAND_NAMES: readonly ["init", "config", "extension", "package", "packages", "install", "upgrade", "create", "list", "list-all", "list-draft", "list-open", "list-in-progress", "list-blocked", "list-closed", "list-canceled", "aggregate", "dedupe-audit", "guide", "context", "ctx", "get", "search", "reindex", "history", "history-redact", "activity", "restore", "update", "update-many", "normalize", "close", "delete", "append", "comments", "comments-audit", "notes", "learnings", "files", "docs", "deps", "plan", "test", "test-all", "test-runs", "stats", "health", "validate", "gc", "contracts", "claim", "release", "start-task", "pause-task", "close-task", "completion", "help"];
|
|
31
|
+
export declare const PM_TOOL_ACTIONS: readonly ["init", "config", "extension-init", "extension-install", "extension-uninstall", "extension-explore", "extension-manage", "extension-reload", "extension-doctor", "extension-catalog", "extension-adopt", "extension-adopt-all", "extension-activate", "extension-deactivate", "extension", "package-init", "package-install", "package-uninstall", "package-explore", "package-manage", "package-reload", "package-doctor", "package-catalog", "package-adopt", "package-adopt-all", "package-activate", "package-deactivate", "package", "install", "upgrade", "create", "list", "list-all", "list-draft", "list-open", "list-in-progress", "list-blocked", "list-closed", "list-canceled", "aggregate", "context", "ctx", "get", "search", "history", "history-redact", "activity", "restore", "update", "update-many", "close", "delete", "append", "comments", "plan", "notes", "learnings", "files", "docs", "deps", "test", "test-all", "stats", "health", "validate", "gc", "contracts", "claim", "release", "start-task", "pause-task", "close-task"];
|
|
32
32
|
export type PmToolAction = (typeof PM_TOOL_ACTIONS)[number];
|
|
33
33
|
export declare function isPmToolAction(value: string): value is PmToolAction;
|
|
34
34
|
export declare function isPmExtensionCapabilityContract(value: string): value is PmExtensionCapabilityContract;
|
|
@@ -60,9 +60,12 @@ export declare const LEARNINGS_FLAG_CONTRACTS: CliFlagContract[];
|
|
|
60
60
|
export declare const FILES_FLAG_CONTRACTS: CliFlagContract[];
|
|
61
61
|
export declare const DOCS_FLAG_CONTRACTS: CliFlagContract[];
|
|
62
62
|
export declare const HISTORY_FLAG_CONTRACTS: CliFlagContract[];
|
|
63
|
+
export declare const HISTORY_REDACT_FLAG_CONTRACTS: CliFlagContract[];
|
|
64
|
+
export declare const PLAN_FLAG_CONTRACTS: CliFlagContract[];
|
|
63
65
|
export declare const INIT_FLAG_CONTRACTS: CliFlagContract[];
|
|
64
66
|
export declare const CONFIG_FLAG_CONTRACTS: CliFlagContract[];
|
|
65
67
|
export declare const EXTENSION_FLAG_CONTRACTS: CliFlagContract[];
|
|
68
|
+
export declare const INSTALL_FLAG_CONTRACTS: CliFlagContract[];
|
|
66
69
|
export declare const UPGRADE_FLAG_CONTRACTS: CliFlagContract[];
|
|
67
70
|
export declare const REINDEX_FLAG_CONTRACTS: CliFlagContract[];
|
|
68
71
|
export declare const CLOSE_FLAG_CONTRACTS: CliFlagContract[];
|
|
@@ -87,6 +90,7 @@ export declare const NORMALIZE_FLAG_CONTRACTS: CliFlagContract[];
|
|
|
87
90
|
export declare const CALENDAR_FLAG_CONTRACTS: CliFlagContract[];
|
|
88
91
|
export declare const ACTIVITY_FLAG_CONTRACTS: CliFlagContract[];
|
|
89
92
|
export declare const CONTEXT_FLAG_CONTRACTS: CliFlagContract[];
|
|
93
|
+
export declare const GET_FLAG_CONTRACTS: CliFlagContract[];
|
|
90
94
|
export declare const GUIDE_FLAG_CONTRACTS: CliFlagContract[];
|
|
91
95
|
export declare const DEPS_FLAG_CONTRACTS: CliFlagContract[];
|
|
92
96
|
export declare const SEARCH_FLAG_CONTRACTS: CliFlagContract[];
|
|
@@ -94,17 +98,6 @@ export declare const CONTRACTS_FLAG_CONTRACTS: CliFlagContract[];
|
|
|
94
98
|
export declare const COMPLETION_FLAG_CONTRACTS: CliFlagContract[];
|
|
95
99
|
export declare function resolveSubcommandFlagContractsForCommand(commandName: string | undefined): CliFlagContract[];
|
|
96
100
|
export declare function toCompletionFlagString(flagContracts: CliFlagContract[], includeGlobal?: boolean): string;
|
|
97
|
-
export declare const CREATE_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
98
|
-
export declare const CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
99
|
-
export declare const UPDATE_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
100
|
-
export declare const UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
101
|
-
export declare const LIST_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
102
|
-
export declare const SEARCH_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
103
|
-
export declare const CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
104
|
-
export declare const CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
105
|
-
export declare const ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS: CommanderOptionAliasContract[];
|
|
106
|
-
export declare function readFirstStringFromCommanderOptions(options: Record<string, unknown>, contract: CommanderOptionAliasContract): string | undefined;
|
|
107
|
-
export declare function readStringArrayFromCommanderOptions(options: Record<string, unknown>, contract: CommanderOptionAliasContract): string[] | undefined;
|
|
108
101
|
export interface PmActionSchemaContract {
|
|
109
102
|
required?: string[];
|
|
110
103
|
optional?: string[];
|