@unbrained/pm-cli 2026.8.10 → 2026.8.11
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 +2 -2
- package/CHANGELOG.md +102 -80
- package/dist/cli/commander-usage.js +79 -7
- package/dist/cli/error-guidance.d.ts +10 -0
- package/dist/cli/error-guidance.js +76 -25
- package/dist/cli/main.js +6 -2
- package/dist/cli/register-assurance.d.ts +8 -0
- package/dist/cli/register-assurance.js +52 -0
- package/dist/cli/register-files-lookup.js +14 -3
- package/dist/cli/register-mutation.js +30 -9
- package/dist/cli/register-operations.js +16 -11
- package/dist/cli-bundle/bundle-manifest.json +159 -159
- package/dist/cli-bundle/chunks/{chunk-TRWXF476.js → chunk-2OOU2AFH.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-2RA2YTHJ.js +33 -0
- package/dist/cli-bundle/chunks/chunk-A2SJGHSI.js +3 -0
- package/dist/cli-bundle/chunks/chunk-DSKYD4LG.js +13 -0
- package/dist/cli-bundle/chunks/chunk-HC3GM6YY.js +194 -0
- package/dist/cli-bundle/chunks/chunk-IUNRVDAI.js +2 -0
- package/dist/cli-bundle/chunks/chunk-W7CPZGSB.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-EBO7OUUE.js → chunk-WMEZHCFI.js} +59 -53
- package/dist/cli-bundle/chunks/{chunk-ETML5C6H.js → chunk-ZU34C3LH.js} +47 -47
- package/dist/cli-bundle/chunks/chunk-ZXOC6HG5.js +5 -0
- package/dist/cli-bundle/chunks/{register-list-query-OJ6ZXKV4.js → register-list-query-HAUXVUPY.js} +8 -8
- package/dist/cli-bundle/chunks/register-mutation-7Y5U7ABT.js +20 -0
- package/dist/cli-bundle/chunks/register-operations-EQX3DLAZ.js +2 -0
- package/dist/cli-bundle/chunks/{register-setup-S3KT2LTH.js → register-setup-NOCOOWQY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-34SX654S.js → chunk-23FTGO3W.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-2COZ67XT.js → chunk-2DL3MRTD.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-3AYKXMYX.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-4AHEC74N.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-7UN6BHHO.js → chunk-4H5IA6AV.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-4SV3ZKG3.js +16 -0
- package/dist/cli-bundle/focused-chunks/chunk-55BIB6DV.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-6JW6Z2P5.js +8 -0
- package/dist/cli-bundle/focused-chunks/{chunk-IW43E4XL.js → chunk-BKPIY34S.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-D4PIWE6D.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-KR5RVXLQ.js → chunk-DPO7TEFX.js} +29 -29
- package/dist/cli-bundle/focused-chunks/{chunk-JMVA4HKR.js → chunk-E3KCL7AY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-ERAAFLPS.js +153 -0
- package/dist/cli-bundle/focused-chunks/{chunk-RIIN5V4N.js → chunk-F6E4JZKG.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-FPSYO5ZG.js +18 -0
- package/dist/cli-bundle/focused-chunks/{chunk-M6RPIXKC.js → chunk-J5EKAIVD.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-2EXI2DKR.js → chunk-KDH5OX3D.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-OJ3LVVIS.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-DZGAHZZV.js → chunk-TL5M2PAY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-75774JWP.js → chunk-UDAZWT25.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-VABB4L5Y.js +17 -0
- package/dist/cli-bundle/main.js +13 -13
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +41 -39
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +1 -1
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +2 -2
- package/dist/core/session/session-state.d.ts +47 -0
- package/dist/core/session/session-state.js +207 -6
- package/dist/core/shared/author.d.ts +7 -1
- package/dist/core/shared/author.js +66 -46
- package/dist/core/shared/errors.d.ts +8 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/sdk/agent/refusal-reachability.d.ts +40 -0
- package/dist/sdk/agent/refusal-reachability.js +72 -0
- package/dist/sdk/agent/subcommand-recovery.d.ts +40 -0
- package/dist/sdk/agent/subcommand-recovery.js +84 -0
- package/dist/sdk/cli-bootstrap.d.ts +8 -0
- package/dist/sdk/cli-bootstrap.js +7 -7
- package/dist/sdk/cli-contracts/completeness.js +13 -3
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.js +3 -2
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +17 -2
- package/dist/sdk/cli-contracts/runtime-contracts.js +4 -3
- package/dist/sdk/cli-contracts/schemas/assurance-definition.d.ts +513 -0
- package/dist/sdk/cli-contracts/schemas/assurance-definition.js +251 -0
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +79 -2
- package/dist/sdk/cli-contracts/tool-schema.d.ts +2 -2
- package/dist/sdk/cli-contracts/tool-schema.js +34 -4
- package/dist/sdk/cli-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts.js +3 -3
- package/dist/sdk/completion.js +9 -3
- package/dist/sdk/config.js +9 -3
- package/dist/sdk/context/semantic-session-attribution.d.ts +32 -0
- package/dist/sdk/context/semantic-session-attribution.js +83 -0
- package/dist/sdk/core-governance.d.ts +3 -1
- package/dist/sdk/core-governance.js +5 -3
- package/dist/sdk/core.d.ts +1 -1
- package/dist/sdk/core.js +2 -2
- package/dist/sdk/error-code-catalog.d.ts +13 -0
- package/dist/sdk/error-code-catalog.js +35 -2
- package/dist/sdk/extension.js +18 -17
- package/dist/sdk/files.d.ts +11 -0
- package/dist/sdk/files.js +82 -24
- package/dist/sdk/generated-error-code-catalog.js +32 -13
- package/dist/sdk/governance/assurance-action-contracts.d.ts +7 -0
- package/dist/sdk/governance/assurance-action-contracts.js +5 -0
- package/dist/sdk/governance/assurance-action.d.ts +70 -0
- package/dist/sdk/governance/assurance-action.js +198 -0
- package/dist/sdk/governance/assurance-limits.d.ts +7 -0
- package/dist/sdk/governance/assurance-limits.js +11 -0
- package/dist/sdk/governance/assurance-runtime.d.ts +20 -0
- package/dist/sdk/governance/assurance-runtime.js +131 -0
- package/dist/sdk/governance/assurance.d.ts +432 -0
- package/dist/sdk/governance/assurance.js +689 -0
- package/dist/sdk/graph/run.js +8 -3
- package/dist/sdk/index.d.ts +6 -1
- package/dist/sdk/index.js +8 -3
- package/dist/sdk/lifecycle/claim.js +18 -3
- package/dist/sdk/lifecycle/focus.js +13 -3
- package/dist/sdk/lifecycle/plan.js +8 -3
- package/dist/sdk/provenance.d.ts +38 -0
- package/dist/sdk/provenance.js +64 -2
- package/dist/sdk/query/context.js +19 -8
- package/dist/sdk/runtime-extended-actions.js +22 -5
- package/dist/sdk/runtime-primitives.d.ts +2 -0
- package/dist/sdk/runtime-primitives.js +4 -2
- package/dist/sdk/runtime.d.ts +4 -0
- package/dist/sdk/runtime.js +31 -27
- package/dist/sdk/telemetry.js +7 -4
- package/dist/sdk/traceability/runtime-files-lookup.d.ts +8 -0
- package/dist/sdk/traceability/runtime-files-lookup.js +33 -0
- package/dist/sdk/traceability/source-traceability.d.ts +102 -0
- package/dist/sdk/traceability/source-traceability.js +293 -0
- package/dist/types.d.ts +8 -2
- package/dist/types.js +2 -2
- package/docs/ASSURANCE.md +132 -0
- package/docs/README.md +1 -0
- package/docs/RELEASING.md +9 -5
- package/docs/SDK.md +12 -1
- package/docs/SDK_AGENT_SESSION_CONTEXT.md +40 -4
- package/docs/SDK_EVIDENCE_TRACEABILITY.md +39 -1
- package/docs/SDK_RUNTIME_BOUNDARIES.md +36 -1
- package/docs/TESTING.md +12 -9
- package/docs/generated/AGENT_COMMAND_SURFACE.md +1 -0
- package/marketplace.json +2 -2
- package/package.json +3 -3
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/extensions/templates/index.ts +9 -3
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/sdk/public-surface.json +840 -28
- package/dist/cli-bundle/chunks/chunk-2QYH4QMI.js +0 -30
- package/dist/cli-bundle/chunks/chunk-JUDU4RO4.js +0 -194
- package/dist/cli-bundle/chunks/chunk-JZSNADRR.js +0 -5
- package/dist/cli-bundle/chunks/chunk-MENWVGJW.js +0 -2
- package/dist/cli-bundle/chunks/chunk-S4EITGLA.js +0 -3
- package/dist/cli-bundle/chunks/chunk-TIGKWVLA.js +0 -13
- package/dist/cli-bundle/chunks/chunk-TSLDTJLQ.js +0 -2
- package/dist/cli-bundle/chunks/register-mutation-DKI7QC7O.js +0 -20
- package/dist/cli-bundle/chunks/register-operations-P5OGMT6I.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-36FTZ2NT.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-3CQECMKR.js +0 -16
- package/dist/cli-bundle/focused-chunks/chunk-CHIBMEZR.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-FF4MNAYB.js +0 -153
- package/dist/cli-bundle/focused-chunks/chunk-GHTN2ILR.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-I4YM2I7S.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-IMDTEN7K.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-KSNJG4KI.js +0 -16
- package/dist/cli-bundle/focused-chunks/chunk-MXYSIQ56.js +0 -18
- package/dist/cli-bundle/focused-chunks/chunk-RKWSCYYN.js +0 -2
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module sdk/agent/subcommand-recovery
|
|
3
|
+
*
|
|
4
|
+
* Provides one SDK-owned refusal contract for unknown positional subcommands.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
!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]="a9b23a46-0bba-5174-8793-dfc37016d1fb")}catch(e){}}();
|
|
8
|
+
import { levenshteinDistanceWithinLimit } from "../../core/shared/levenshtein.js";
|
|
9
|
+
import { EXIT_CODE } from "../../core/shared/constants.js";
|
|
10
|
+
import { PmCliError, } from "../../core/shared/errors.js";
|
|
11
|
+
/** Catalog-only alias retained for consumers of the former package lifecycle code. */
|
|
12
|
+
export const UNKNOWN_SUBCOMMAND_COMPATIBILITY_CODES = [
|
|
13
|
+
{ code: "unknown_lifecycle_action" },
|
|
14
|
+
];
|
|
15
|
+
function nearestSubcommand(token, allowed) {
|
|
16
|
+
const normalized = token.trim().toLowerCase();
|
|
17
|
+
if (normalized.length === 0)
|
|
18
|
+
return undefined;
|
|
19
|
+
const maxDistance = Math.floor(normalized.length / 3);
|
|
20
|
+
return allowed
|
|
21
|
+
.map((candidate) => ({
|
|
22
|
+
candidate,
|
|
23
|
+
distance: levenshteinDistanceWithinLimit(normalized, candidate.toLowerCase(), maxDistance) ?? Number.POSITIVE_INFINITY,
|
|
24
|
+
}))
|
|
25
|
+
.filter(({ distance }) => Number.isFinite(distance))
|
|
26
|
+
.sort((left, right) => left.distance !== right.distance
|
|
27
|
+
? left.distance - right.distance
|
|
28
|
+
: left.candidate.localeCompare(right.candidate))[0]?.candidate;
|
|
29
|
+
}
|
|
30
|
+
function renderCommand(tokens) {
|
|
31
|
+
return ["pm", ...tokens]
|
|
32
|
+
.map((token) => /^[A-Za-z0-9_./:@=-]+$/u.test(token) ? token : JSON.stringify(token))
|
|
33
|
+
.join(" ");
|
|
34
|
+
}
|
|
35
|
+
/** Build the shared typed refusal used by CLI, SDK, MCP, and packages. */
|
|
36
|
+
export function createUnknownSubcommandError(options) {
|
|
37
|
+
const commandPath = options.command_path.trim().replaceAll(/\s+/gu, " ");
|
|
38
|
+
const normalizedToken = options.token.trim();
|
|
39
|
+
const token = normalizedToken.length === 0 ? "<empty>" : normalizedToken;
|
|
40
|
+
const allowed = [...new Set(options.allowed.map((value) => value.trim()))]
|
|
41
|
+
.filter(Boolean)
|
|
42
|
+
.sort((left, right) => left.localeCompare(right));
|
|
43
|
+
if (commandPath.length === 0 || token.length === 0 || allowed.length === 0) {
|
|
44
|
+
throw new TypeError("Unknown-subcommand contracts require a path, token, and allowed set");
|
|
45
|
+
}
|
|
46
|
+
const commandTokens = commandPath.split(" ");
|
|
47
|
+
const trailingArgs = options.trailing_args ?? [];
|
|
48
|
+
const displayName = options.display_name ?? `pm ${commandPath}`;
|
|
49
|
+
const tokenKind = options.token_kind ?? "subcommand";
|
|
50
|
+
const nearest = options.retry_command
|
|
51
|
+
? undefined
|
|
52
|
+
: nearestSubcommand(token, allowed);
|
|
53
|
+
const attemptedCommand = renderCommand([
|
|
54
|
+
...commandTokens,
|
|
55
|
+
token,
|
|
56
|
+
...trailingArgs,
|
|
57
|
+
]);
|
|
58
|
+
const suggestedRetry = options.retry_command ??
|
|
59
|
+
(nearest
|
|
60
|
+
? renderCommand([...commandTokens, nearest, ...trailingArgs])
|
|
61
|
+
: undefined);
|
|
62
|
+
return new PmCliError(`Unknown ${displayName} ${tokenKind} "${token}". Allowed: ${allowed.join(", ")}${options.message_suffix ?? ""}`, options.exit_code ?? EXIT_CODE.USAGE, {
|
|
63
|
+
code: "unknown_subcommand",
|
|
64
|
+
reason: "unknown_positional_token",
|
|
65
|
+
examples: [
|
|
66
|
+
...(suggestedRetry ? [suggestedRetry] : []),
|
|
67
|
+
...(options.examples ?? []),
|
|
68
|
+
`pm ${commandPath} --help`,
|
|
69
|
+
],
|
|
70
|
+
nextSteps: suggestedRetry
|
|
71
|
+
? [`Retry with the suggested command: ${suggestedRetry}`]
|
|
72
|
+
: ["Choose one value from recovery.allowed_values."],
|
|
73
|
+
recovery: {
|
|
74
|
+
attempted_command: attemptedCommand,
|
|
75
|
+
allowed_values: allowed,
|
|
76
|
+
suggested_retry: suggestedRetry,
|
|
77
|
+
fallback_candidates: options.fallback_candidates,
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/** Test-only access to deterministic nearest-match behavior. */
|
|
82
|
+
export const _testOnly = { nearestSubcommand, renderCommand };
|
|
83
|
+
//# sourceMappingURL=subcommand-recovery.js.map
|
|
84
|
+
//# debugId=a9b23a46-0bba-5174-8793-dfc37016d1fb
|
|
@@ -49,6 +49,14 @@ export interface BootstrapHelpRequest {
|
|
|
49
49
|
}
|
|
50
50
|
/** Implements parse bootstrap help request for the public runtime surface of this module. */
|
|
51
51
|
export declare function parseBootstrapHelpRequest(argv: string[]): BootstrapHelpRequest;
|
|
52
|
+
/**
|
|
53
|
+
* Index of the command token in argv — the first non-flag token, skipping the
|
|
54
|
+
* value-consuming/global bootstrap flags. Returns undefined when there is none
|
|
55
|
+
* (bare invocation, only global flags, or a leading `--`). Single source of truth
|
|
56
|
+
* for command-position scanning shared by {@link parseBootstrapCommandName} and the
|
|
57
|
+
* command-alias rewrite so their precedence rules can never drift apart.
|
|
58
|
+
*/
|
|
59
|
+
export declare function findBootstrapCommandTokenIndex(argv: string[]): number | undefined;
|
|
52
60
|
/** Implements parse bootstrap command name for the public runtime surface of this module. */
|
|
53
61
|
export declare function parseBootstrapCommandName(argv: string[]): string | undefined;
|
|
54
62
|
/** Implements apply bootstrap pager policy for the public runtime surface of this module. */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Provides public bootstrap argument normalization for embedded CLI hosts.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!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]="
|
|
7
|
+
!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]="eac8ed6b-43c4-54fa-820a-220154001a6b")}catch(e){}}();
|
|
8
8
|
import { EXECUTABLE_COMMAND_ALIASES, resolveSubcommandFlagContractsForCommand, } from "./cli-contracts.js";
|
|
9
9
|
export { EXECUTABLE_COMMAND_ALIASES };
|
|
10
10
|
import { levenshteinDistanceWithinLimit } from "../core/shared/levenshtein.js";
|
|
@@ -194,7 +194,7 @@ export function parseBootstrapHelpRequest(argv) {
|
|
|
194
194
|
* for command-position scanning shared by {@link parseBootstrapCommandName} and the
|
|
195
195
|
* command-alias rewrite so their precedence rules can never drift apart.
|
|
196
196
|
*/
|
|
197
|
-
function
|
|
197
|
+
export function findBootstrapCommandTokenIndex(argv) {
|
|
198
198
|
for (let index = 0; index < argv.length; index += 1) {
|
|
199
199
|
const token = argv[index];
|
|
200
200
|
if (token === "--") {
|
|
@@ -220,7 +220,7 @@ function findCommandTokenIndex(argv) {
|
|
|
220
220
|
}
|
|
221
221
|
/** Implements parse bootstrap command name for the public runtime surface of this module. */
|
|
222
222
|
export function parseBootstrapCommandName(argv) {
|
|
223
|
-
const index =
|
|
223
|
+
const index = findBootstrapCommandTokenIndex(argv);
|
|
224
224
|
return index === undefined ? undefined : argv[index].trim().toLowerCase();
|
|
225
225
|
}
|
|
226
226
|
function shouldDisablePagerForInvocation(argv, bootstrapGlobal) {
|
|
@@ -279,7 +279,7 @@ const EXTENSION_ACTION_SYNTAX_TOKENS = new Set([
|
|
|
279
279
|
]);
|
|
280
280
|
/** Implements normalize legacy extension action syntax for the public runtime surface of this module. */
|
|
281
281
|
export function normalizeLegacyExtensionActionSyntax(argv) {
|
|
282
|
-
const extensionIndex =
|
|
282
|
+
const extensionIndex = findBootstrapCommandTokenIndex(argv);
|
|
283
283
|
if (extensionIndex === undefined || argv[extensionIndex] !== "extension") {
|
|
284
284
|
return [...argv];
|
|
285
285
|
}
|
|
@@ -310,7 +310,7 @@ const CLI_EXECUTABLE_ALIASES = new Set(["pm", "pm-cli"]);
|
|
|
310
310
|
* `bunx <package> pm-cli init` behave like direct executable invocations.
|
|
311
311
|
*/
|
|
312
312
|
function stripLeadingExecutableAlias(argv, trace) {
|
|
313
|
-
const index =
|
|
313
|
+
const index = findBootstrapCommandTokenIndex(argv);
|
|
314
314
|
if (index === undefined) {
|
|
315
315
|
return argv;
|
|
316
316
|
}
|
|
@@ -334,7 +334,7 @@ function stripLeadingExecutableAlias(argv, trace) {
|
|
|
334
334
|
* value-consuming global flag, mirroring {@link parseBootstrapCommandName}.
|
|
335
335
|
*/
|
|
336
336
|
function rewriteCommandAlias(argv, trace) {
|
|
337
|
-
const index =
|
|
337
|
+
const index = findBootstrapCommandTokenIndex(argv);
|
|
338
338
|
if (index === undefined) {
|
|
339
339
|
return argv;
|
|
340
340
|
}
|
|
@@ -886,4 +886,4 @@ export const _testOnly = {
|
|
|
886
886
|
resolveCanonicalFlag,
|
|
887
887
|
};
|
|
888
888
|
//# sourceMappingURL=cli-bootstrap.js.map
|
|
889
|
-
//# debugId=
|
|
889
|
+
//# debugId=eac8ed6b-43c4-54fa-820a-220154001a6b
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* a hand-picked test list.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
!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]="
|
|
10
|
+
!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]="11dade38-a681-599f-b3b7-8d121418366d")}catch(e){}}();
|
|
11
11
|
import { PM_TOOL_ACTIONS } from "./enum-contracts.js";
|
|
12
12
|
import { resolveSubcommandFlagContractsForCommand, } from "./flag-contracts.js";
|
|
13
13
|
import { pmToolActionParameterKeys } from "./tool-schema.js";
|
|
@@ -76,6 +76,11 @@ const CLI_POSITIONAL_PARAMETERS = new Set([
|
|
|
76
76
|
"text",
|
|
77
77
|
]);
|
|
78
78
|
const ACTION_POSITIONAL_PARAMETERS = {
|
|
79
|
+
assurance: {
|
|
80
|
+
id: "<id>",
|
|
81
|
+
kind: "<kind>",
|
|
82
|
+
subcommand: "<action>",
|
|
83
|
+
},
|
|
79
84
|
event: { title: "<title>" },
|
|
80
85
|
files: { lookupPath: "lookup <path...>" },
|
|
81
86
|
meet: { title: "<title>" },
|
|
@@ -89,6 +94,7 @@ const ACTION_POSITIONAL_PARAMETERS = {
|
|
|
89
94
|
},
|
|
90
95
|
};
|
|
91
96
|
const ACTION_FLAG_PARAMETER_OVERRIDES = {
|
|
97
|
+
assurance: { "--tree": "treeId" },
|
|
92
98
|
init: {
|
|
93
99
|
"--id-prefix": "idPrefix",
|
|
94
100
|
"--no-merge-fence": "mergeFence",
|
|
@@ -143,6 +149,9 @@ const ACTION_FLAG_PARAMETER_OVERRIDES = {
|
|
|
143
149
|
package: { "--gh": "github", "--scaffold": "init" },
|
|
144
150
|
install: { "--gh": "github" },
|
|
145
151
|
};
|
|
152
|
+
const GLOBAL_FLAG_PARAMETER_OVERRIDES = {
|
|
153
|
+
"--pm-path": "path",
|
|
154
|
+
};
|
|
146
155
|
const ACTION_STRUCTURED_FLAG_PARAMETERS = {
|
|
147
156
|
stats: {
|
|
148
157
|
"--analytics": [
|
|
@@ -174,7 +183,8 @@ function actionCommand(action) {
|
|
|
174
183
|
return action;
|
|
175
184
|
}
|
|
176
185
|
function parameterForFlag(action, flag) {
|
|
177
|
-
const override = ACTION_FLAG_PARAMETER_OVERRIDES[action]?.[flag]
|
|
186
|
+
const override = ACTION_FLAG_PARAMETER_OVERRIDES[action]?.[flag] ??
|
|
187
|
+
GLOBAL_FLAG_PARAMETER_OVERRIDES[flag];
|
|
178
188
|
if (override !== undefined)
|
|
179
189
|
return override;
|
|
180
190
|
return flag
|
|
@@ -366,4 +376,4 @@ export function analyzeSdkCliParameterCompleteness(source = {}) {
|
|
|
366
376
|
});
|
|
367
377
|
}
|
|
368
378
|
//# sourceMappingURL=completeness.js.map
|
|
369
|
-
//# debugId=
|
|
379
|
+
//# debugId=11dade38-a681-599f-b3b7-8d121418366d
|
|
@@ -23,7 +23,7 @@ export declare const PM_EXTENSION_POLICY_SURFACE_CONTRACTS: readonly ["commands.
|
|
|
23
23
|
/** Restricts pm extension policy surface contract values accepted by command, SDK, and storage contracts. */
|
|
24
24
|
export type PmExtensionPolicySurfaceContract = (typeof PM_EXTENSION_POLICY_SURFACE_CONTRACTS)[number];
|
|
25
25
|
/** Public contract for pm core command names, shared by SDK and presentation-layer consumers. */
|
|
26
|
-
export declare const PM_CORE_COMMAND_NAMES: readonly ["init", "config", "extension", "package", "packages", "install", "upgrade", "create", "item", "copy", "focus", "list", "list-all", "list-draft", "list-open", "list-in-progress", "list-blocked", "list-closed", "list-canceled", "aggregate", "context", "ctx", "get", "graph", "search", "duplicates", "eval", "next", "history", "events", "history-redact", "history-repair", "history-compact", "history-author-acknowledge", "merge", "schema", "profile", "activity", "restore", "update", "update-many", "close", "close-many", "delete", "append", "comments", "notes", "learnings", "files", "docs", "deps", "plan", "test", "test-all", "telemetry", "stats", "health", "validate", "gc", "workspace", "contracts", "claim", "release", "start-task", "pause-task", "close-task", "meet", "event", "remind", "help"];
|
|
26
|
+
export declare const PM_CORE_COMMAND_NAMES: readonly ["init", "config", "extension", "package", "packages", "install", "upgrade", "create", "item", "copy", "focus", "list", "list-all", "list-draft", "list-open", "list-in-progress", "list-blocked", "list-closed", "list-canceled", "aggregate", "context", "ctx", "get", "graph", "search", "duplicates", "eval", "next", "history", "events", "history-redact", "history-repair", "history-compact", "history-author-acknowledge", "merge", "schema", "profile", "activity", "restore", "update", "update-many", "close", "close-many", "delete", "append", "comments", "notes", "learnings", "files", "docs", "deps", "plan", "test", "test-all", "telemetry", "stats", "health", "validate", "assurance", "gc", "workspace", "contracts", "claim", "release", "start-task", "pause-task", "close-task", "meet", "event", "remind", "help"];
|
|
27
27
|
/** Supported values accepted by the graph subcommand contract across CLI, SDK, and MCP surfaces. */
|
|
28
28
|
export declare const GRAPH_SUBCOMMAND_VALUES: readonly ["ancestors", "descendants", "predecessors", "successors", "paths", "impact", "analyze", "audit", "communities", "redundancy", "dominators", "slack", "centrality", "articulation", "plan", "index"];
|
|
29
29
|
/** Restricts graph subcommand values accepted by command, SDK, and MCP contracts. */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Defines SDK command-contract metadata for Enum Contracts.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!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]="
|
|
7
|
+
!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]="818ca284-2aaa-5d35-b280-8c963d443b0c")}catch(e){}}();
|
|
8
8
|
import { KNOWN_EXTENSION_CAPABILITIES, KNOWN_EXTENSION_POLICY_MODES, KNOWN_EXTENSION_POLICY_SURFACES, KNOWN_EXTENSION_SANDBOX_PROFILES, KNOWN_EXTENSION_SERVICE_NAMES, KNOWN_EXTENSION_TRUST_MODES, } from "../../core/extensions/extension-types.js";
|
|
9
9
|
/** Public contract for pm extension capability contracts, shared by SDK and presentation-layer consumers. */
|
|
10
10
|
export const PM_EXTENSION_CAPABILITY_CONTRACTS = [
|
|
@@ -90,6 +90,7 @@ export const PM_CORE_COMMAND_NAMES = [
|
|
|
90
90
|
"stats",
|
|
91
91
|
"health",
|
|
92
92
|
"validate",
|
|
93
|
+
"assurance",
|
|
93
94
|
"gc",
|
|
94
95
|
"workspace",
|
|
95
96
|
"contracts",
|
|
@@ -190,4 +191,4 @@ export function isPmExtensionPolicySurfaceContract(value) {
|
|
|
190
191
|
return PM_EXTENSION_POLICY_SURFACE_CONTRACTS.includes(value);
|
|
191
192
|
}
|
|
192
193
|
//# sourceMappingURL=enum-contracts.js.map
|
|
193
|
-
//# debugId=
|
|
194
|
+
//# debugId=818ca284-2aaa-5d35-b280-8c963d443b0c
|
|
@@ -168,6 +168,8 @@ export declare const DUPLICATES_FLAG_CONTRACTS: CliFlagContract[];
|
|
|
168
168
|
export declare const HEALTH_FLAG_CONTRACTS: CliFlagContract[];
|
|
169
169
|
/** Public contract for validate flag contracts, shared by SDK and presentation-layer consumers. */
|
|
170
170
|
export declare const VALIDATE_FLAG_CONTRACTS: CliFlagContract[];
|
|
171
|
+
/** Public assurance registry and gate-evaluation flag contracts. */
|
|
172
|
+
export declare const ASSURANCE_FLAG_CONTRACTS: CliFlagContract[];
|
|
171
173
|
/** Creates flag contracts using the validated operation inputs. */
|
|
172
174
|
export declare const CREATE_FLAG_CONTRACTS: CliFlagContract[];
|
|
173
175
|
/** Atomic item-batch flags shared by contracts, help, and completions. */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* flag surface stays single-sourced across the CLI, SDK, and MCP boundaries.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
!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]="
|
|
10
|
+
!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]="48d9a5c7-f747-5fac-a534-01a4b3b7af2c")}catch(e){}}();
|
|
11
11
|
import { normalizeUniqueStringList } from "./string-lists.js";
|
|
12
12
|
import { RESERVED_EXTENSION_HOST_FLAGS } from "../../core/extensions/reserved-host-flags.js";
|
|
13
13
|
function normalizeFlagAliasKey(flag) {
|
|
@@ -279,6 +279,9 @@ export const FILES_FLAG_CONTRACTS = [
|
|
|
279
279
|
{ flag: "--offset" },
|
|
280
280
|
{ flag: "--no-truncate" },
|
|
281
281
|
{ flag: "--strict-read" },
|
|
282
|
+
{ flag: "--explain" },
|
|
283
|
+
{ flag: "--lines", value_name: "start:end" },
|
|
284
|
+
{ flag: "--decision-depth", value_name: "n", value_type: "number" },
|
|
282
285
|
{ flag: "--author" },
|
|
283
286
|
{ flag: "--message" },
|
|
284
287
|
{ flag: "--force" },
|
|
@@ -1003,6 +1006,17 @@ export const VALIDATE_FLAG_CONTRACTS = [
|
|
|
1003
1006
|
{ flag: "--counts" },
|
|
1004
1007
|
{ flag: "--full" },
|
|
1005
1008
|
];
|
|
1009
|
+
/** Public assurance registry and gate-evaluation flag contracts. */
|
|
1010
|
+
export const ASSURANCE_FLAG_CONTRACTS = [
|
|
1011
|
+
{ flag: "--definition", value_name: "json" },
|
|
1012
|
+
{ flag: "--trigger", value_name: "value" },
|
|
1013
|
+
{ flag: "--tree", value_name: "value" },
|
|
1014
|
+
{ flag: "--gate", value_name: "id" },
|
|
1015
|
+
{ flag: "--limit", value_name: "number" },
|
|
1016
|
+
{ flag: "--dry-run" },
|
|
1017
|
+
{ flag: "--author", value_name: "value" },
|
|
1018
|
+
{ flag: "--message", value_name: "value" },
|
|
1019
|
+
];
|
|
1006
1020
|
const ITEM_OWNERSHIP_AND_ISSUE_FLAG_CONTRACTS = [
|
|
1007
1021
|
{ flag: "--assignee" },
|
|
1008
1022
|
{ flag: "--parent" },
|
|
@@ -1694,6 +1708,7 @@ const SUBCOMMAND_FLAG_CONTRACTS_BY_COMMAND = new Map([
|
|
|
1694
1708
|
["test-all", TEST_ALL_FLAG_CONTRACTS],
|
|
1695
1709
|
["telemetry", TELEMETRY_FLAG_CONTRACTS],
|
|
1696
1710
|
["health", HEALTH_FLAG_CONTRACTS],
|
|
1711
|
+
["assurance", ASSURANCE_FLAG_CONTRACTS],
|
|
1697
1712
|
["validate", VALIDATE_FLAG_CONTRACTS],
|
|
1698
1713
|
["gc", GC_FLAG_CONTRACTS],
|
|
1699
1714
|
["stats", STATS_FLAG_CONTRACTS],
|
|
@@ -1796,4 +1811,4 @@ export function toCompletionFlagString(flagContracts, includeGlobal = true) {
|
|
|
1796
1811
|
return normalizeUniqueStringList(all).join(" ");
|
|
1797
1812
|
}
|
|
1798
1813
|
//# sourceMappingURL=flag-contracts.js.map
|
|
1799
|
-
//# debugId=
|
|
1814
|
+
//# debugId=48d9a5c7-f747-5fac-a534-01a4b3b7af2c
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Implements the pm contracts command surface and its agent-facing runtime behavior.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!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]="
|
|
7
|
+
!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]="651d4904-cae5-503b-8418-93bc44a413ad")}catch(e){}}();
|
|
8
8
|
import { EXIT_CODE, SETTINGS_DEFAULTS, PmCliError, activateExtensions, getActiveExtensionRegistrations, loadExtensions, pathExists, commandOptionFlagLabel, resolveCommandOptionPolicyState, resolveItemTypeRegistry, resolveRuntimeFieldRegistry, resolveRuntimeStatusRegistry, getSettingsPath, resolvePmRoot, readSettings, } from "../runtime-primitives.js";
|
|
9
9
|
import { buildMcpToolContracts, } from "../../mcp/tool-definitions.js";
|
|
10
|
-
import { ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS, ACTIVITY_FLAG_CONTRACTS, AGGREGATE_FLAG_CONTRACTS, APPEND_FLAG_CONTRACTS, CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS, CALENDAR_FLAG_CONTRACTS, CLAIM_FLAG_CONTRACTS, CLOSE_TASK_FLAG_CONTRACTS, COMMENTS_FLAG_CONTRACTS, CLOSE_FLAG_CONTRACTS, CLOSE_MANY_FLAG_CONTRACTS, COMPLETION_FLAG_CONTRACTS, CONFIG_FLAG_CONTRACTS, CONTRACTS_FLAG_CONTRACTS, COPY_FLAG_CONTRACTS, CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS, CONTEXT_FLAG_CONTRACTS, CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, CREATE_COMMANDER_STRING_OPTION_CONTRACTS, CREATE_FLAG_CONTRACTS, DELETE_FLAG_CONTRACTS, DEPS_FLAG_CONTRACTS, GRAPH_FLAG_CONTRACTS, DOCS_FLAG_CONTRACTS, EXTENSION_ACTIVATE_FLAG_CONTRACTS, EXTENSION_ADOPT_ALL_FLAG_CONTRACTS, EXTENSION_ADOPT_FLAG_CONTRACTS, EXTENSION_CATALOG_FLAG_CONTRACTS, EXTENSION_DEACTIVATE_FLAG_CONTRACTS, EXTENSION_DESCRIBE_FLAG_CONTRACTS, EXTENSION_DOCTOR_FLAG_CONTRACTS, EXTENSION_EXPLORE_FLAG_CONTRACTS, EXTENSION_FLAG_CONTRACTS, EXTENSION_INIT_FLAG_CONTRACTS, EXTENSION_INSTALL_FLAG_CONTRACTS, EXTENSION_MANAGE_FLAG_CONTRACTS, EXTENSION_MIGRATE_FLAG_CONTRACTS, EXTENSION_RELOAD_FLAG_CONTRACTS, EXTENSION_UNINSTALL_FLAG_CONTRACTS, FILES_FLAG_CONTRACTS, FOCUS_FLAG_CONTRACTS, GC_FLAG_CONTRACTS, GET_FLAG_CONTRACTS, GUIDE_FLAG_CONTRACTS, GLOBAL_FLAG_CONTRACTS, HEALTH_FLAG_CONTRACTS, HISTORY_FLAG_CONTRACTS, HISTORY_COMPACT_FLAG_CONTRACTS, HISTORY_REDACT_FLAG_CONTRACTS, HISTORY_REPAIR_FLAG_CONTRACTS, HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS, INSTALL_FLAG_CONTRACTS, INIT_FLAG_CONTRACTS, ITEM_COMPLETE_FLAG_CONTRACTS, ITEM_MUTATE_FLAG_CONTRACTS, LEARNINGS_FLAG_CONTRACTS, LIST_COMMANDER_STRING_OPTION_CONTRACTS, LIST_FILTER_FLAG_CONTRACTS, MERGE_FLAG_CONTRACTS, NOTES_FLAG_CONTRACTS, PACKAGE_FLAG_CONTRACTS, PACKAGE_INIT_FLAG_CONTRACTS, PM_EXTENSION_CAPABILITY_CONTRACTS, PM_EXTENSION_POLICY_MODE_CONTRACTS, PM_EXTENSION_POLICY_SURFACE_CONTRACTS, PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS, PM_EXTENSION_SERVICE_NAME_CONTRACTS, PM_EXTENSION_TRUST_MODE_CONTRACTS, PM_OUTPUT_DEGRADATION_STEPS, PLAN_FLAG_CONTRACTS, PM_CORE_COMMAND_NAMES, PM_TOOL_ACTIONS, PM_TOOL_PARAMETERS_SCHEMA, REINDEX_FLAG_CONTRACTS, RELEASE_FLAG_CONTRACTS, RESTORE_FLAG_CONTRACTS, SCHEMA_FLAG_CONTRACTS, PROFILE_FLAG_CONTRACTS, SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, EVAL_FLAG_CONTRACTS, WORKSPACE_FLAG_CONTRACTS, NEXT_FLAG_CONTRACTS, SEARCH_FLAG_CONTRACTS, STATS_FLAG_CONTRACTS, DUPLICATES_FLAG_CONTRACTS, START_TASK_FLAG_CONTRACTS, PAUSE_TASK_FLAG_CONTRACTS, TELEMETRY_FLAG_CONTRACTS, TEST_ALL_FLAG_CONTRACTS, TEST_FLAG_CONTRACTS, TEST_RUNS_FLAG_CONTRACTS, UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, UPDATE_COMMANDER_STRING_OPTION_CONTRACTS, UPDATE_FLAG_CONTRACTS, UPDATE_MANY_FLAG_CONTRACTS, UPGRADE_FLAG_CONTRACTS, VALIDATE_FLAG_CONTRACTS, compactFlagAliasContracts, resolvePmCommandOutputBudget, } from "../cli-contracts.js";
|
|
10
|
+
import { ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS, ACTIVITY_FLAG_CONTRACTS, AGGREGATE_FLAG_CONTRACTS, ASSURANCE_FLAG_CONTRACTS, APPEND_FLAG_CONTRACTS, CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS, CALENDAR_FLAG_CONTRACTS, CLAIM_FLAG_CONTRACTS, CLOSE_TASK_FLAG_CONTRACTS, COMMENTS_FLAG_CONTRACTS, CLOSE_FLAG_CONTRACTS, CLOSE_MANY_FLAG_CONTRACTS, COMPLETION_FLAG_CONTRACTS, CONFIG_FLAG_CONTRACTS, CONTRACTS_FLAG_CONTRACTS, COPY_FLAG_CONTRACTS, CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS, CONTEXT_FLAG_CONTRACTS, CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, CREATE_COMMANDER_STRING_OPTION_CONTRACTS, CREATE_FLAG_CONTRACTS, DELETE_FLAG_CONTRACTS, DEPS_FLAG_CONTRACTS, GRAPH_FLAG_CONTRACTS, DOCS_FLAG_CONTRACTS, EXTENSION_ACTIVATE_FLAG_CONTRACTS, EXTENSION_ADOPT_ALL_FLAG_CONTRACTS, EXTENSION_ADOPT_FLAG_CONTRACTS, EXTENSION_CATALOG_FLAG_CONTRACTS, EXTENSION_DEACTIVATE_FLAG_CONTRACTS, EXTENSION_DESCRIBE_FLAG_CONTRACTS, EXTENSION_DOCTOR_FLAG_CONTRACTS, EXTENSION_EXPLORE_FLAG_CONTRACTS, EXTENSION_FLAG_CONTRACTS, EXTENSION_INIT_FLAG_CONTRACTS, EXTENSION_INSTALL_FLAG_CONTRACTS, EXTENSION_MANAGE_FLAG_CONTRACTS, EXTENSION_MIGRATE_FLAG_CONTRACTS, EXTENSION_RELOAD_FLAG_CONTRACTS, EXTENSION_UNINSTALL_FLAG_CONTRACTS, FILES_FLAG_CONTRACTS, FOCUS_FLAG_CONTRACTS, GC_FLAG_CONTRACTS, GET_FLAG_CONTRACTS, GUIDE_FLAG_CONTRACTS, GLOBAL_FLAG_CONTRACTS, HEALTH_FLAG_CONTRACTS, HISTORY_FLAG_CONTRACTS, HISTORY_COMPACT_FLAG_CONTRACTS, HISTORY_REDACT_FLAG_CONTRACTS, HISTORY_REPAIR_FLAG_CONTRACTS, HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS, INSTALL_FLAG_CONTRACTS, INIT_FLAG_CONTRACTS, ITEM_COMPLETE_FLAG_CONTRACTS, ITEM_MUTATE_FLAG_CONTRACTS, LEARNINGS_FLAG_CONTRACTS, LIST_COMMANDER_STRING_OPTION_CONTRACTS, LIST_FILTER_FLAG_CONTRACTS, MERGE_FLAG_CONTRACTS, NOTES_FLAG_CONTRACTS, PACKAGE_FLAG_CONTRACTS, PACKAGE_INIT_FLAG_CONTRACTS, PM_EXTENSION_CAPABILITY_CONTRACTS, PM_EXTENSION_POLICY_MODE_CONTRACTS, PM_EXTENSION_POLICY_SURFACE_CONTRACTS, PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS, PM_EXTENSION_SERVICE_NAME_CONTRACTS, PM_EXTENSION_TRUST_MODE_CONTRACTS, PM_OUTPUT_DEGRADATION_STEPS, PLAN_FLAG_CONTRACTS, PM_CORE_COMMAND_NAMES, PM_TOOL_ACTIONS, PM_TOOL_PARAMETERS_SCHEMA, REINDEX_FLAG_CONTRACTS, RELEASE_FLAG_CONTRACTS, RESTORE_FLAG_CONTRACTS, SCHEMA_FLAG_CONTRACTS, PROFILE_FLAG_CONTRACTS, SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, EVAL_FLAG_CONTRACTS, WORKSPACE_FLAG_CONTRACTS, NEXT_FLAG_CONTRACTS, SEARCH_FLAG_CONTRACTS, STATS_FLAG_CONTRACTS, DUPLICATES_FLAG_CONTRACTS, START_TASK_FLAG_CONTRACTS, PAUSE_TASK_FLAG_CONTRACTS, TELEMETRY_FLAG_CONTRACTS, TEST_ALL_FLAG_CONTRACTS, TEST_FLAG_CONTRACTS, TEST_RUNS_FLAG_CONTRACTS, UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, UPDATE_COMMANDER_STRING_OPTION_CONTRACTS, UPDATE_FLAG_CONTRACTS, UPDATE_MANY_FLAG_CONTRACTS, UPGRADE_FLAG_CONTRACTS, VALIDATE_FLAG_CONTRACTS, compactFlagAliasContracts, resolvePmCommandOutputBudget, } from "../cli-contracts.js";
|
|
11
11
|
import { GOVERNANCE_CLOSE_VALIDATION_DEFAULT_VALUES, GOVERNANCE_CREATE_MODE_DEFAULT_VALUES, GOVERNANCE_OWNERSHIP_ENFORCEMENT_VALUES, GOVERNANCE_WORKFLOW_ENFORCEMENT_VALUES, } from "../../types.js";
|
|
12
12
|
import { BRIEF_LIST_FIELDS, DEFAULT_COMPACT_LIST_FIELDS, LIST_COMMAND_DEFAULT_PROJECTIONS, } from "../query/list.js";
|
|
13
13
|
import { getActiveContextIntentContracts, } from "../context-intent-contracts.js";
|
|
@@ -366,6 +366,7 @@ const CORE_COMMAND_FLAG_CONTRACT_ENTRIES = [
|
|
|
366
366
|
["duplicates", DUPLICATES_FLAG_CONTRACTS],
|
|
367
367
|
["validate", VALIDATE_FLAG_CONTRACTS],
|
|
368
368
|
["health", HEALTH_FLAG_CONTRACTS],
|
|
369
|
+
["assurance", ASSURANCE_FLAG_CONTRACTS],
|
|
369
370
|
["contracts", CONTRACTS_FLAG_CONTRACTS],
|
|
370
371
|
["completion", COMPLETION_FLAG_CONTRACTS],
|
|
371
372
|
["activity", ACTIVITY_FLAG_CONTRACTS],
|
|
@@ -1871,4 +1872,4 @@ export const _testOnlyContractsCommand = {
|
|
|
1871
1872
|
toRuntimeShortFlagToken,
|
|
1872
1873
|
};
|
|
1873
1874
|
//# sourceMappingURL=runtime-contracts.js.map
|
|
1874
|
-
//# debugId=
|
|
1875
|
+
//# debugId=651d4904-cae5-503b-8418-93bc44a413ad
|