@unbrained/pm-cli 2026.8.14 → 2026.8.16
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 +51 -11
- package/dist/cli/commander-usage.js +17 -4
- package/dist/cli/error-guidance.d.ts +7 -0
- package/dist/cli/error-guidance.js +65 -25
- package/dist/cli/main.js +3 -2
- package/dist/cli/register-history-author.js +16 -11
- package/dist/cli/register-mutation.js +4 -2
- package/dist/cli/register-operations.js +5 -5
- package/dist/cli-bundle/bundle-manifest.json +148 -148
- package/dist/cli-bundle/chunks/chunk-47OQEOQB.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-XAVMOK6B.js → chunk-73UGEBRS.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-HCIYWD6M.js +35 -0
- package/dist/cli-bundle/chunks/{chunk-FIW4P64F.js → chunk-I2LUWWR5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SBRKH6OR.js → chunk-IC5W2T34.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TMJ7URWS.js → chunk-PANOOBIS.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-BFALV3YP.js → chunk-RIS565OA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TXMEUUUY.js → chunk-TK6N7HGM.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-TOFG2URD.js +197 -0
- package/dist/cli-bundle/chunks/{chunk-G5JUB66K.js → chunk-URW4QRMI.js} +65 -59
- package/dist/cli-bundle/chunks/{register-list-query-T3EHHNNV.js → register-list-query-EYCXHZAG.js} +2 -2
- package/dist/cli-bundle/chunks/register-mutation-7YVIG54J.js +20 -0
- package/dist/cli-bundle/chunks/register-operations-KGDNRMCL.js +2 -0
- package/dist/cli-bundle/chunks/{register-setup-3YXZ444E.js → register-setup-NVXBOD5I.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-PPFGQDSI.js → chunk-4JPEBFFC.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-5NMFSX26.js +155 -0
- package/dist/cli-bundle/focused-chunks/{chunk-YOOI3UZX.js → chunk-6ROKKT4X.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-725JSCMP.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-XDNAW5OI.js → chunk-C7JUBRFP.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-4DQ2YERC.js → chunk-CODV5LUT.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-DQ6SMTBF.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-HAACPSUW.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-WCVE2NIG.js → chunk-J4UFYHOD.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-JX5Z344Q.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-L4RDYBIQ.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-KSEDUWVZ.js → chunk-NJ5RLEFD.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-K7RWWOAG.js → chunk-QYZERYR5.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-SSNDYZTM.js +8 -0
- package/dist/cli-bundle/focused-chunks/chunk-T46KLOIB.js +50 -0
- package/dist/cli-bundle/focused-chunks/{chunk-KFSZ3BP6.js → chunk-TZATVC4G.js} +6 -6
- package/dist/cli-bundle/focused-chunks/chunk-WY3WRPVN.js +2 -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 +32 -35
- 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 +32 -31
- 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/diagnostics/remediation.js +7 -2
- package/dist/core/extensions/reserved-host-flags.js +3 -2
- package/dist/core/history/replay.d.ts +14 -1
- package/dist/core/history/replay.js +45 -8
- package/dist/core/history/workspace-history.js +32 -10
- package/dist/core/output/output.d.ts +2 -0
- package/dist/core/output/output.js +7 -3
- package/dist/core/shared/command-types.d.ts +2 -0
- package/dist/core/shared/command-types.js +2 -2
- package/dist/core/shared/errors.d.ts +14 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/core/store/item-store.js +28 -2
- package/dist/mcp/tool-definitions.js +9 -5
- package/dist/sdk/agent/refusal-reachability.d.ts +69 -0
- package/dist/sdk/agent/refusal-reachability.js +159 -3
- package/dist/sdk/author-attribution.d.ts +56 -11
- package/dist/sdk/author-attribution.js +174 -50
- package/dist/sdk/cli-bootstrap.d.ts +2 -0
- package/dist/sdk/cli-bootstrap.js +7 -2
- package/dist/sdk/cli-contracts/completeness.js +3 -2
- package/dist/sdk/cli-contracts/flag-contracts.js +6 -2
- package/dist/sdk/cli-contracts/registration-helpers.js +3 -2
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +5 -0
- package/dist/sdk/cli-contracts/runtime-contracts.js +23 -7
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +22 -5
- package/dist/sdk/cli-contracts/tool-schema.js +20 -5
- package/dist/sdk/cli-program.js +3 -2
- package/dist/sdk/completion.js +11 -4
- package/dist/sdk/core.d.ts +2 -2
- package/dist/sdk/core.js +3 -3
- package/dist/sdk/generated/generated-error-code-catalog-part-1.js +50 -2
- package/dist/sdk/generated/generated-error-code-catalog-part-2.js +74 -14
- package/dist/sdk/governance/assurance-action.d.ts +7 -1
- package/dist/sdk/governance/assurance-action.js +7 -6
- package/dist/sdk/governance/assurance-mutation-error.d.ts +42 -1
- package/dist/sdk/governance/assurance-mutation-error.js +27 -3
- package/dist/sdk/governance/assurance-runtime.js +12 -11
- package/dist/sdk/governance/assurance.d.ts +9 -0
- package/dist/sdk/governance/assurance.js +80 -14
- package/dist/sdk/governance/coverage-assurance.d.ts +24 -0
- package/dist/sdk/governance/coverage-assurance.js +61 -0
- package/dist/sdk/governance/extension-host-version.d.ts +25 -0
- package/dist/sdk/governance/extension-host-version.js +116 -0
- package/dist/sdk/governance/health.d.ts +32 -1
- package/dist/sdk/governance/health.js +119 -27
- package/dist/sdk/governance/provenance-health.d.ts +27 -0
- package/dist/sdk/governance/provenance-health.js +95 -3
- package/dist/sdk/governance/validate.js +7 -8
- package/dist/sdk/governance.d.ts +6 -0
- package/dist/sdk/governance.js +8 -2
- package/dist/sdk/history-repair.d.ts +13 -1
- package/dist/sdk/history-repair.js +62 -18
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +4 -3
- package/dist/sdk/linked-artifacts.js +16 -5
- package/dist/sdk/pagination.d.ts +15 -0
- package/dist/sdk/pagination.js +9 -5
- package/dist/sdk/query/context.d.ts +5 -1
- package/dist/sdk/query/context.js +14 -5
- package/dist/sdk/read-output/continuation.d.ts +11 -0
- package/dist/sdk/read-output/continuation.js +132 -0
- package/dist/sdk/read-output-budget.d.ts +1 -1
- package/dist/sdk/read-output-budget.js +14 -10
- package/dist/sdk/read-output-contracts.d.ts +66 -2
- package/dist/sdk/read-output-contracts.js +185 -19
- package/dist/sdk/read-output-rows.d.ts +2 -0
- package/dist/sdk/read-output-rows.js +15 -2
- package/dist/sdk/runtime-input.js +4 -2
- package/dist/sdk/runtime.d.ts +2 -5
- package/dist/sdk/runtime.js +3 -2
- package/docs/ASSURANCE.md +59 -2
- package/docs/COMMANDS.md +8 -2
- package/docs/READ_OUTPUT_CONTRACTS.md +55 -8
- package/docs/RELEASING.md +54 -11
- package/docs/SDK_CONTEXT_INTEGRITY.md +94 -4
- package/docs/SDK_CONTEXT_TRUTH_CONTRACTS.md +13 -5
- 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/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 +1241 -180
- package/dist/cli-bundle/chunks/chunk-BBOFSVAK.js +0 -197
- package/dist/cli-bundle/chunks/chunk-YAMTJL6Y.js +0 -34
- package/dist/cli-bundle/chunks/chunk-YSVSMJ2B.js +0 -2
- package/dist/cli-bundle/chunks/register-mutation-E27WCLSZ.js +0 -20
- package/dist/cli-bundle/chunks/register-operations-4R6I7CPY.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-F43TT2QQ.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-KYUQGTSB.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-LZ4MV3RH.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-PGXJQLCT.js +0 -155
- package/dist/cli-bundle/focused-chunks/chunk-Q4YY3XNF.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-QK753U3U.js +0 -46
- package/dist/cli-bundle/focused-chunks/chunk-QUMB2J27.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-SM7MTG27.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZM6TZVHC.js +0 -2
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Provides CLI runtime support for Registration Helpers.
|
|
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]="8d60b13c-c58a-506f-adc9-2414dd69edef")}catch(e){}}();
|
|
8
8
|
import { Option } from "commander";
|
|
9
9
|
import { pathExists, refreshSearchArtifactsForMutation, shouldRunSearchRefreshInForeground, EXIT_CODE, PmCliError, printError, printResult, writeStdout, getSettingsPath, resolvePmRoot, readSettings, runActiveServiceOverride, setActiveCommandResult, } from "../runtime-primitives.js";
|
|
10
10
|
import { ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS, CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS, CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, CREATE_COMMANDER_STRING_OPTION_CONTRACTS, LIST_COMMANDER_STRING_OPTION_CONTRACTS, NEXT_COMMANDER_STRING_OPTION_CONTRACTS, SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, UPDATE_COMMANDER_STRING_OPTION_CONTRACTS, readFirstValueFromCommanderOptions, readFirstStringFromCommanderOptions, readStringArrayFromCommanderOptions, } from "../cli-contracts.js";
|
|
@@ -112,6 +112,7 @@ export function getGlobalOptions(command) {
|
|
|
112
112
|
outputLimit: readStringCommandOption(opts, "outputLimit"),
|
|
113
113
|
outputBudget: readStringCommandOption(opts, "outputBudget"),
|
|
114
114
|
outputSession: readStringCommandOption(opts, "outputSession"),
|
|
115
|
+
outputCursor: readStringCommandOption(opts, "outputCursor"),
|
|
115
116
|
...(opts.outputRowContract === true ? { outputRowContract: true } : {}),
|
|
116
117
|
...(opts.outputFormat === "toon" || opts.outputFormat === "json"
|
|
117
118
|
? { outputFormat: opts.outputFormat }
|
|
@@ -984,4 +985,4 @@ export const _testOnly = {
|
|
|
984
985
|
collectMutationItemIds,
|
|
985
986
|
};
|
|
986
987
|
//# sourceMappingURL=registration-helpers.js.map
|
|
987
|
-
//# debugId=
|
|
988
|
+
//# debugId=8d60b13c-c58a-506f-adc9-2414dd69edef
|
|
@@ -148,6 +148,11 @@ export interface ContractsResult {
|
|
|
148
148
|
close_validation_modes: string[];
|
|
149
149
|
workflow_enforcement_modes: string[];
|
|
150
150
|
};
|
|
151
|
+
/** Authoritative assurance declaration vocabularies for SDK and host validation. */
|
|
152
|
+
assurance_contracts?: {
|
|
153
|
+
measurement_source_kinds: readonly string[];
|
|
154
|
+
gate_triggers: readonly string[];
|
|
155
|
+
};
|
|
151
156
|
/** Value that configures or reports mcp tools for this contract. */
|
|
152
157
|
mcp_tools?: McpToolContract[];
|
|
153
158
|
/** Built-in intent-scoped read projections available to CLI, SDK, MCP, and package consumers. */
|
|
@@ -4,7 +4,7 @@
|
|
|
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]="8cdd82c3-979e-5f7f-bc72-592c7e55f11c")}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
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";
|
|
@@ -18,6 +18,7 @@ import { PM_ERROR_CODE_CATALOG } from "../generated-error-code-catalog.js";
|
|
|
18
18
|
import { resolvePmCommandOutputEnvelope, } from "../output-contracts.js";
|
|
19
19
|
import { PM_COMMAND_EXIT_OUTCOME_CONTRACTS, resolvePmCommandExitContract, } from "./command-exit-contracts.js";
|
|
20
20
|
import { BUILTIN_RELATIONSHIP_KINDS } from "../relationship-kinds/contract.js";
|
|
21
|
+
import { ASSURANCE_GATE_TRIGGERS, ASSURANCE_MEASUREMENT_SOURCE_KINDS, } from "../governance/assurance.js";
|
|
21
22
|
const AGENT_BOOTSTRAP_FLAGS = new Map([
|
|
22
23
|
[
|
|
23
24
|
"claim",
|
|
@@ -1328,7 +1329,8 @@ function resolveContractsSelection(options) {
|
|
|
1328
1329
|
fullOutput,
|
|
1329
1330
|
omitUnfilteredSchema: unfilteredDefaultBriefMode,
|
|
1330
1331
|
omitUnfilteredCommandFlags: unfilteredDefaultBriefMode,
|
|
1331
|
-
omitUnfilteredCommanderAliases: unfilteredDefaultBriefMode
|
|
1332
|
+
omitUnfilteredCommanderAliases: unfilteredDefaultBriefMode ||
|
|
1333
|
+
(selectedCommand !== undefined && !fullOutput),
|
|
1332
1334
|
};
|
|
1333
1335
|
}
|
|
1334
1336
|
function assertSingleContractsProjection(selection) {
|
|
@@ -1781,20 +1783,26 @@ function createContractsResult(selection, schemaContext, actionContext, outputCo
|
|
|
1781
1783
|
: {}),
|
|
1782
1784
|
};
|
|
1783
1785
|
}
|
|
1784
|
-
function attachRuntimeContractsResult(result, runtime) {
|
|
1786
|
+
function attachRuntimeContractsResult(result, runtime, selection) {
|
|
1787
|
+
const selectedCommand = selection.selectedCommand;
|
|
1785
1788
|
result.runtime_schema = {
|
|
1786
1789
|
statuses: runtime.statusRegistry.definitions.map((definition) => definition.id),
|
|
1787
1790
|
open_status: runtime.statusRegistry.open_status,
|
|
1788
1791
|
close_status: runtime.statusRegistry.close_status,
|
|
1789
1792
|
canceled_status: runtime.statusRegistry.canceled_status,
|
|
1790
1793
|
types: [...runtime.typeRegistry.types],
|
|
1791
|
-
fields_by_command: Object.fromEntries([...runtime.runtimeFieldRegistry.command_to_fields.entries()]
|
|
1794
|
+
fields_by_command: Object.fromEntries([...runtime.runtimeFieldRegistry.command_to_fields.entries()]
|
|
1795
|
+
.filter(([command]) => selectedCommand === undefined || command === selectedCommand)
|
|
1796
|
+
.map(([command, definitions]) => [
|
|
1792
1797
|
command,
|
|
1793
1798
|
[
|
|
1794
1799
|
...new Set(definitions.map((definition) => `--${definition.cli_flag}`)),
|
|
1795
1800
|
].sort((left, right) => left.localeCompare(right)),
|
|
1796
1801
|
])),
|
|
1797
1802
|
};
|
|
1803
|
+
if (selectedCommand !== undefined && !selection.fullOutput) {
|
|
1804
|
+
return;
|
|
1805
|
+
}
|
|
1798
1806
|
result.extension_contracts = {
|
|
1799
1807
|
capabilities: [...PM_EXTENSION_CAPABILITY_CONTRACTS],
|
|
1800
1808
|
services: [...PM_EXTENSION_SERVICE_NAME_CONTRACTS],
|
|
@@ -1877,7 +1885,9 @@ function attachCommanderAliasContractsResult(result, selection) {
|
|
|
1877
1885
|
result.commander_aliases = buildCommanderAliasSurface();
|
|
1878
1886
|
return;
|
|
1879
1887
|
}
|
|
1880
|
-
result.commander_aliases_omitted_reason =
|
|
1888
|
+
result.commander_aliases_omitted_reason = selection.selectedCommand
|
|
1889
|
+
? "command_scoped"
|
|
1890
|
+
: "unfiltered_default_brief";
|
|
1881
1891
|
}
|
|
1882
1892
|
/** Attach the compact agent-facing command semantics shared by summary and full projections. */
|
|
1883
1893
|
function attachAgentCommandContractsResult(result, outputCommands, extensionCommandContracts) {
|
|
@@ -1908,11 +1918,17 @@ export async function runContracts(options, global) {
|
|
|
1908
1918
|
}
|
|
1909
1919
|
const commandAliases = buildCommandAliasSurface(commands);
|
|
1910
1920
|
if (!(selection.flagsOnly && !selection.fullOutput)) {
|
|
1911
|
-
attachRuntimeContractsResult(result, runtime);
|
|
1921
|
+
attachRuntimeContractsResult(result, runtime, selection);
|
|
1912
1922
|
}
|
|
1913
1923
|
attachSchemaContractsResult(result, selection, schemaContext, extensionCommandContracts);
|
|
1914
1924
|
attachFlagContractsResult(result, selection, runtime, outputCommands, commandAliases);
|
|
1915
1925
|
attachCommanderAliasContractsResult(result, selection);
|
|
1926
|
+
if (selection.selectedCommand === "assurance" || selection.fullOutput) {
|
|
1927
|
+
result.assurance_contracts = {
|
|
1928
|
+
measurement_source_kinds: [...ASSURANCE_MEASUREMENT_SOURCE_KINDS],
|
|
1929
|
+
gate_triggers: [...ASSURANCE_GATE_TRIGGERS],
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1916
1932
|
// pm-4os2: snapshot the static MCP tool surface in the full projection so
|
|
1917
1933
|
// `pnpm contracts:check` (CI static gate) fails on unintended inputSchema
|
|
1918
1934
|
// drift in src/mcp/tool-definitions.ts.
|
|
@@ -1967,4 +1983,4 @@ export const _testOnlyContractsCommand = {
|
|
|
1967
1983
|
toRuntimeShortFlagToken,
|
|
1968
1984
|
};
|
|
1969
1985
|
//# sourceMappingURL=runtime-contracts.js.map
|
|
1970
|
-
//# debugId=
|
|
1986
|
+
//# debugId=8cdd82c3-979e-5f7f-bc72-592c7e55f11c
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Defines SDK command-contract metadata for Tool Parameter Tables.
|
|
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]="cb6f6915-307c-58e7-a892-3dff4c7ae399")}catch(e){}}();
|
|
8
8
|
import { PLAN_HARNESS_VALUES, PLAN_MODE_VALUES, PLAN_STEP_LINK_KIND_VALUES, PLAN_STEP_STATUS_VALUES, } from "../../types/index.js";
|
|
9
9
|
import { PM_READ_OUTPUT_SESSION_MAX_SEEN_ITEM_IDS } from "../read-output-session.js";
|
|
10
10
|
import { ASSURANCE_DEFINITION_SCHEMA } from "./schemas/assurance-definition.js";
|
|
@@ -20,7 +20,9 @@ export const PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
20
20
|
outputLimit: {
|
|
21
21
|
anyOf: [{ type: "integer", minimum: 1 }, { const: "unbounded" }],
|
|
22
22
|
},
|
|
23
|
-
outputBudget: {
|
|
23
|
+
outputBudget: {
|
|
24
|
+
anyOf: [{ type: "integer", minimum: 1 }, { const: "unbounded" }],
|
|
25
|
+
},
|
|
24
26
|
outputFormat: { type: "string", enum: ["json", "toon"] },
|
|
25
27
|
outputSession: {
|
|
26
28
|
anyOf: [
|
|
@@ -55,6 +57,7 @@ export const PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
55
57
|
},
|
|
56
58
|
],
|
|
57
59
|
},
|
|
60
|
+
outputCursor: { type: "string", minLength: 1 },
|
|
58
61
|
outputRowContract: { type: "boolean" },
|
|
59
62
|
path: { type: "string" },
|
|
60
63
|
pmExecutable: { type: "string" },
|
|
@@ -226,6 +229,7 @@ export const PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
226
229
|
parent: { type: "string" },
|
|
227
230
|
reviewer: { type: "string" },
|
|
228
231
|
attributedAuthor: { type: "string" },
|
|
232
|
+
planFingerprint: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
229
233
|
historyEvent: { type: "array", items: { type: "string" } },
|
|
230
234
|
risk: { type: "string" },
|
|
231
235
|
confidence: { anyOf: [{ type: "string" }, { type: "number" }] },
|
|
@@ -476,6 +480,7 @@ export const PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
476
480
|
edit: { type: "integer", minimum: 1 },
|
|
477
481
|
delete: { type: "integer", minimum: 1 },
|
|
478
482
|
dryRun: { type: "boolean" },
|
|
483
|
+
normalizeProvenance: { type: "boolean" },
|
|
479
484
|
all: { type: "boolean" },
|
|
480
485
|
clear: { type: "boolean" },
|
|
481
486
|
cliOnly: { type: "boolean" },
|
|
@@ -940,8 +945,8 @@ export const PM_TOOL_PARAMETER_METADATA = {
|
|
|
940
945
|
examples: [10, "unbounded"],
|
|
941
946
|
},
|
|
942
947
|
outputBudget: {
|
|
943
|
-
description: "Universal estimated-token ceiling for a read result.",
|
|
944
|
-
examples: [600, 1200],
|
|
948
|
+
description: "Universal estimated-token ceiling for a read result, or unbounded to disable the shared ceiling.",
|
|
949
|
+
examples: [600, 1200, "unbounded"],
|
|
945
950
|
},
|
|
946
951
|
outputFormat: {
|
|
947
952
|
description: "Universal read-result encoding selector.",
|
|
@@ -959,6 +964,9 @@ export const PM_TOOL_PARAMETER_METADATA = {
|
|
|
959
964
|
},
|
|
960
965
|
],
|
|
961
966
|
},
|
|
967
|
+
outputCursor: {
|
|
968
|
+
description: "Opaque continuation cursor returned when a declared row collection is compacted by the output budget.",
|
|
969
|
+
},
|
|
962
970
|
outputRowContract: {
|
|
963
971
|
description: "Include the row selector and TOON row-encoding contract on a read result.",
|
|
964
972
|
},
|
|
@@ -1190,6 +1198,12 @@ export const PM_TOOL_PARAMETER_METADATA = {
|
|
|
1190
1198
|
description: "Unknown-author history target in <item-id>:<one-based-line> form.",
|
|
1191
1199
|
examples: [["pm-example:4", "pm-example:5"]],
|
|
1192
1200
|
},
|
|
1201
|
+
planFingerprint: {
|
|
1202
|
+
description: "Exact SHA-256 returned by a history-author-acknowledge dry-run preview; apply refuses stale or changed source coordinates.",
|
|
1203
|
+
examples: [
|
|
1204
|
+
"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
|
|
1205
|
+
],
|
|
1206
|
+
},
|
|
1193
1207
|
estimate: {
|
|
1194
1208
|
description: "Estimated effort in minutes.",
|
|
1195
1209
|
examples: [60, "120"],
|
|
@@ -1393,6 +1407,9 @@ export const PM_TOOL_PARAMETER_METADATA = {
|
|
|
1393
1407
|
dryRun: {
|
|
1394
1408
|
description: "Preview command effects without mutating storage artifacts.",
|
|
1395
1409
|
},
|
|
1410
|
+
normalizeProvenance: {
|
|
1411
|
+
description: "For history-repair: remove invalid legacy provenance observations and emit only aggregate privacy-safe repair evidence.",
|
|
1412
|
+
},
|
|
1396
1413
|
all: {
|
|
1397
1414
|
description: "For history-repair action: scan every stream for drift and repair each drifted stream in one audited pass (mutually exclusive with id).",
|
|
1398
1415
|
},
|
|
@@ -2049,4 +2066,4 @@ export const PM_TOOL_ACTION_SCOPED_PARAMETER_METADATA = {
|
|
|
2049
2066
|
},
|
|
2050
2067
|
};
|
|
2051
2068
|
//# sourceMappingURL=tool-parameter-tables.js.map
|
|
2052
|
-
//# debugId=
|
|
2069
|
+
//# debugId=cb6f6915-307c-58e7-a892-3dff4c7ae399
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* consumers from a single source of truth.
|
|
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]="1d6089b2-ab59-59ad-a475-9a6ef1356b40")}catch(e){}}();
|
|
11
11
|
import { normalizeUniqueStringList } from "./string-lists.js";
|
|
12
12
|
import { PM_TOOL_ACTIONS } from "./enum-contracts.js";
|
|
13
13
|
import { TOOL_CREATE_OPTION_CONTRACTS, TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS, TOOL_UPDATE_OPTION_CONTRACTS, TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS, TOOL_CONTEXT_OPTION_CONTRACTS, TOOL_ACTIVITY_OPTION_CONTRACTS, TOOL_LIST_FILTER_OPTION_CONTRACTS, TOOL_AGGREGATE_OPTION_CONTRACTS, TOOL_SEARCH_FILTER_OPTION_CONTRACTS, TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS, } from "./tool-option-contracts.js";
|
|
@@ -31,6 +31,7 @@ const PM_TOOL_READ_OUTPUT_PARAMETER_KEYS = [
|
|
|
31
31
|
"outputBudget",
|
|
32
32
|
"outputFormat",
|
|
33
33
|
"outputSession",
|
|
34
|
+
"outputCursor",
|
|
34
35
|
"outputRowContract",
|
|
35
36
|
];
|
|
36
37
|
/** Canonical top-level MCP properties that take precedence over runtime custom fields. */
|
|
@@ -621,12 +622,26 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
621
622
|
},
|
|
622
623
|
"history-repair": {
|
|
623
624
|
// Exactly one of `id` (single stream) or `all` (bulk drift repair) is required.
|
|
624
|
-
optional: [
|
|
625
|
+
optional: [
|
|
626
|
+
"id",
|
|
627
|
+
"all",
|
|
628
|
+
"dryRun",
|
|
629
|
+
"normalizeProvenance",
|
|
630
|
+
...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS,
|
|
631
|
+
],
|
|
625
632
|
oneOfRequired: [["id"], ["all"]],
|
|
626
633
|
},
|
|
627
634
|
"history-author-acknowledge": {
|
|
628
|
-
|
|
629
|
-
|
|
635
|
+
optional: [
|
|
636
|
+
"historyEvent",
|
|
637
|
+
"allActionable",
|
|
638
|
+
"dryRun",
|
|
639
|
+
"planFingerprint",
|
|
640
|
+
"limit",
|
|
641
|
+
"attributedAuthor",
|
|
642
|
+
"reviewer",
|
|
643
|
+
"reason",
|
|
644
|
+
],
|
|
630
645
|
oneOfRequired: [["historyEvent"], ["allActionable"]],
|
|
631
646
|
},
|
|
632
647
|
"history-compact": {
|
|
@@ -1573,4 +1588,4 @@ export const _testOnlyCliContracts = {
|
|
|
1573
1588
|
withFlagAliasMetadata,
|
|
1574
1589
|
};
|
|
1575
1590
|
//# sourceMappingURL=tool-schema.js.map
|
|
1576
|
-
//# debugId=
|
|
1591
|
+
//# debugId=1d6089b2-ab59-59ad-a475-9a6ef1356b40
|
package/dist/sdk/cli-program.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Builds the reusable Commander root that embeds pm's universal global 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]="03d46cbf-73bc-50c9-b4e6-e7329ee53076")}catch(e){}}();
|
|
8
8
|
import { Command } from "commander";
|
|
9
9
|
import { writeStdout } from "../core/output/output.js";
|
|
10
10
|
/** Create a fresh pm root program suitable for one-shot CLI or embedded hosts. */
|
|
@@ -30,6 +30,7 @@ export function createPmCliProgram(version) {
|
|
|
30
30
|
.option("--output-budget <tokens|unbounded>", "Bound estimated tokens in read output or explicitly disable the default ceiling")
|
|
31
31
|
.option("--output-format <toon|json>", "Select the read-output encoding")
|
|
32
32
|
.option("--output-session <state>", "Carry a JSON session budget and served-item ledger across read calls")
|
|
33
|
+
.option("--output-cursor <cursor>", "Resume a budget-compacted declared row collection")
|
|
33
34
|
.option("--output-row-contract", "Include the machine-readable row selector and TOON encoding contract")
|
|
34
35
|
.option("--quiet", "Suppress stdout output")
|
|
35
36
|
.option("--no-changed-fields", "Omit the changed_fields array from mutation output (keeps changed_field_count)")
|
|
@@ -45,4 +46,4 @@ export function createPmCliProgram(version) {
|
|
|
45
46
|
.exitOverride();
|
|
46
47
|
}
|
|
47
48
|
//# sourceMappingURL=cli-program.js.map
|
|
48
|
-
//# debugId=
|
|
49
|
+
//# debugId=03d46cbf-73bc-50c9-b4e6-e7329ee53076
|
package/dist/sdk/completion.js
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* Implements the pm completion 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]="c337a436-ac3e-5447-9c76-de9aeebb2a1c")}catch(e){}}();
|
|
8
8
|
import { EXIT_CODE, PmCliError } from "./runtime-primitives.js";
|
|
9
9
|
import { listPmCommandsForTier } from "./agent-capability-contracts.js";
|
|
10
10
|
import { SCAFFOLD_CAPABILITIES } from "./extension/scaffold.js";
|
|
11
|
-
import { AGGREGATE_FLAG_CONTRACTS, ACTIVITY_FLAG_CONTRACTS, APPEND_FLAG_CONTRACTS, CALENDAR_FLAG_CONTRACTS, CLOSE_MANY_FLAG_CONTRACTS, COMPLETION_FLAG_CONTRACTS, CONTRACTS_FLAG_CONTRACTS, CONTEXT_FLAG_CONTRACTS, COPY_FLAG_CONTRACTS, FOCUS_FLAG_CONTRACTS, MEET_FLAG_CONTRACTS, REMIND_FLAG_CONTRACTS, CREATE_FLAG_CONTRACTS, DEPS_FLAG_CONTRACTS, DUPLICATES_FLAG_CONTRACTS, EXTENSION_FLAG_CONTRACTS, GRAPH_FLAG_CONTRACTS, GET_FLAG_CONTRACTS, GUIDE_FLAG_CONTRACTS, GLOBAL_FLAG_CONTRACTS, HEALTH_FLAG_CONTRACTS, HISTORY_FLAG_CONTRACTS, INIT_FLAG_CONTRACTS, LIST_FILTER_FLAG_CONTRACTS, NEXT_FLAG_CONTRACTS, PACKAGE_FLAG_CONTRACTS, PLAN_FLAG_CONTRACTS, SEARCH_FLAG_CONTRACTS, STATS_FLAG_CONTRACTS, EVENTS_FLAG_CONTRACTS, UPDATE_FLAG_CONTRACTS, UPDATE_MANY_FLAG_CONTRACTS, toCompletionFlagString, } from "./cli-contracts.js";
|
|
11
|
+
import { AGGREGATE_FLAG_CONTRACTS, ACTIVITY_FLAG_CONTRACTS, APPEND_FLAG_CONTRACTS, CALENDAR_FLAG_CONTRACTS, CLOSE_MANY_FLAG_CONTRACTS, COMPLETION_FLAG_CONTRACTS, CONTRACTS_FLAG_CONTRACTS, CONTEXT_FLAG_CONTRACTS, COPY_FLAG_CONTRACTS, FOCUS_FLAG_CONTRACTS, MEET_FLAG_CONTRACTS, REMIND_FLAG_CONTRACTS, CREATE_FLAG_CONTRACTS, DEPS_FLAG_CONTRACTS, DUPLICATES_FLAG_CONTRACTS, EXTENSION_FLAG_CONTRACTS, GRAPH_FLAG_CONTRACTS, GET_FLAG_CONTRACTS, GUIDE_FLAG_CONTRACTS, GLOBAL_FLAG_CONTRACTS, HEALTH_FLAG_CONTRACTS, HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS, HISTORY_FLAG_CONTRACTS, INIT_FLAG_CONTRACTS, LIST_FILTER_FLAG_CONTRACTS, NEXT_FLAG_CONTRACTS, PACKAGE_FLAG_CONTRACTS, PLAN_FLAG_CONTRACTS, SEARCH_FLAG_CONTRACTS, STATS_FLAG_CONTRACTS, EVENTS_FLAG_CONTRACTS, UPDATE_FLAG_CONTRACTS, UPDATE_MANY_FLAG_CONTRACTS, toCompletionFlagString, } from "./cli-contracts.js";
|
|
12
12
|
import { BUILTIN_ITEM_TYPE_VALUES, STATUS_VALUES } from "../types/index.js";
|
|
13
13
|
import { listGuideTopicIds } from "./guide-topics.js";
|
|
14
14
|
const VALID_SHELLS = ["bash", "zsh", "fish"];
|
|
@@ -29,6 +29,7 @@ const UPDATE_MANY_FLAGS = toCompletionFlagString(UPDATE_MANY_FLAG_CONTRACTS);
|
|
|
29
29
|
const CLOSE_MANY_FLAGS = toCompletionFlagString(CLOSE_MANY_FLAG_CONTRACTS);
|
|
30
30
|
const ACTIVITY_FLAGS = toCompletionFlagString(ACTIVITY_FLAG_CONTRACTS);
|
|
31
31
|
const HISTORY_FLAGS = toCompletionFlagString(HISTORY_FLAG_CONTRACTS);
|
|
32
|
+
const HISTORY_AUTHOR_ACKNOWLEDGE_FLAGS = toCompletionFlagString(HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS, false);
|
|
32
33
|
const EVENTS_FLAGS = toCompletionFlagString(EVENTS_FLAG_CONTRACTS);
|
|
33
34
|
const CALENDAR_FLAGS = toCompletionFlagString(CALENDAR_FLAG_CONTRACTS);
|
|
34
35
|
const CONTEXT_FLAGS = toCompletionFlagString(CONTEXT_FLAG_CONTRACTS);
|
|
@@ -648,7 +649,7 @@ export function generateBashScript(itemTypes = [], tags = [], eagerTagExpansion
|
|
|
648
649
|
` COMPREPLY=(${compgen("--before --ids --all-over --closed --all-streams --min-entries --dry-run --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help")})`,
|
|
649
650
|
" ;;",
|
|
650
651
|
" history-author-acknowledge)",
|
|
651
|
-
` COMPREPLY=(${compgen(
|
|
652
|
+
` COMPREPLY=(${compgen(`${HISTORY_AUTHOR_ACKNOWLEDGE_FLAGS} --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help`)})`,
|
|
652
653
|
" ;;",
|
|
653
654
|
" get)",
|
|
654
655
|
` COMPREPLY=(${compgen(GET_FLAGS)})`,
|
|
@@ -1199,6 +1200,9 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
1199
1200
|
_arguments \\
|
|
1200
1201
|
'*--event[Actionable unknown-author event]:item_and_line' \\
|
|
1201
1202
|
'--all-actionable[Select every currently actionable event]' \\
|
|
1203
|
+
'--dry-run[Preview a deterministic source-bound plan]' \\
|
|
1204
|
+
'--plan-fingerprint[Apply the exact dry-run plan]:sha256' \\
|
|
1205
|
+
'--limit[Maximum coordinate rows returned in the plan]:number' \\
|
|
1202
1206
|
'--attributed-author[Principal attributed by maintainer review]:author' \\
|
|
1203
1207
|
'--reviewer[Reviewer recording the disposition]:reviewer' \\
|
|
1204
1208
|
'--reason[Evidence-backed review rationale]:reason' \\
|
|
@@ -2308,6 +2312,9 @@ complete -c pm -n '__fish_seen_subcommand_from history-compact' -l message -d 'A
|
|
|
2308
2312
|
complete -c pm -n '__fish_seen_subcommand_from history-compact' -l force -d 'Force ownership/lock override'
|
|
2309
2313
|
complete -c pm -n '__fish_seen_subcommand_from history-author-acknowledge' -l event -d 'Actionable unknown-author event' -r
|
|
2310
2314
|
complete -c pm -n '__fish_seen_subcommand_from history-author-acknowledge' -l all-actionable -d 'Select every currently actionable event'
|
|
2315
|
+
complete -c pm -n '__fish_seen_subcommand_from history-author-acknowledge' -l dry-run -d 'Preview a deterministic source-bound plan'
|
|
2316
|
+
complete -c pm -n '__fish_seen_subcommand_from history-author-acknowledge' -l plan-fingerprint -d 'Apply the exact dry-run plan' -r
|
|
2317
|
+
complete -c pm -n '__fish_seen_subcommand_from history-author-acknowledge' -l limit -d 'Maximum coordinate rows returned in the plan' -r
|
|
2311
2318
|
complete -c pm -n '__fish_seen_subcommand_from history-author-acknowledge' -l attributed-author -d 'Principal attributed by maintainer review' -r
|
|
2312
2319
|
complete -c pm -n '__fish_seen_subcommand_from history-author-acknowledge' -l reviewer -d 'Reviewer recording the disposition' -r
|
|
2313
2320
|
complete -c pm -n '__fish_seen_subcommand_from history-author-acknowledge' -l reason -d 'Evidence-backed review rationale' -r
|
|
@@ -2762,4 +2769,4 @@ export function runCompletion(shell, itemTypes = [], tags = [], eagerTagExpansio
|
|
|
2762
2769
|
};
|
|
2763
2770
|
}
|
|
2764
2771
|
//# sourceMappingURL=completion.js.map
|
|
2765
|
-
//# debugId=
|
|
2772
|
+
//# debugId=c337a436-ac3e-5447-9c76-de9aeebb2a1c
|
package/dist/sdk/core.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export { BASELINE_ITEM_FORMAT_VERSION, BUILTIN_ITEM_TYPE_VALUES, CONFIDENCE_TEXT
|
|
|
7
7
|
export * from "./core-governance.js";
|
|
8
8
|
export * from "./agent-session-context.js";
|
|
9
9
|
export { isAlreadyClaimedError } from "./lifecycle/claim.js";
|
|
10
|
-
export { PM_READ_OUTPUT_DIMENSIONS, PM_READ_OUTPUT_OPTION_FLAGS, PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS, PM_READ_OUTPUT_SURFACE_CONTRACTS, applyReadOutputDimensions, isReadOutputBudgetExceeded, resolveReadOutputDimensions, resolveReadOutputEncoding, resolveReadOutputSurface, validateReadOutputOptions, } from "./read-output-contracts.js";
|
|
10
|
+
export { PM_READ_OUTPUT_DIMENSIONS, PM_READ_OUTPUT_OPTION_FLAGS, PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS, PM_READ_OUTPUT_SURFACE_CONTRACTS, applyReadOutputDimensions, decodeReadOutputContinuationCursor, encodeReadOutputContinuationCursor, isReadOutputBudgetExceeded, resolveReadOutputDimensions, resolveReadOutputEncoding, resolveReadOutputSurface, validateReadOutputOptions, } from "./read-output-contracts.js";
|
|
11
11
|
export { applyReadOutputSessionReferences, attachReadOutputSessionReceipt, parseReadOutputSession, readOutputSessionRemainingTokens, } from "./read-output-session.js";
|
|
12
|
-
export type { PmReadOutputBudgetExceeded, PmReadOutputDimension, PmReadOutputLegacyAlias, PmReadOutputOptions, PmReadOutputReceipt, PmReadOutputResult, PmReadOutputResultFor, PmReadOutputSurface, PmReadOutputSurfaceContract, } from "./read-output-contracts.js";
|
|
12
|
+
export type { PmReadOutputBudgetExceeded, PmReadOutputContinuation, PmReadOutputCursorEnvelope, PmReadOutputDimension, PmReadOutputLegacyAlias, PmReadOutputOptions, PmReadOutputReceipt, PmReadOutputResult, PmReadOutputResultFor, PmReadOutputSurface, PmReadOutputSurfaceContract, } from "./read-output-contracts.js";
|
|
13
13
|
export type { PmReadOutputSessionReceipt, PmReadOutputSessionReference, PmReadOutputSessionState, } from "./read-output-session.js";
|
|
14
14
|
export type { ItemDocument, ItemMetadata, ItemStatus, ItemType, PmSettings, } from "../types/index.js";
|
package/dist/sdk/core.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* Provides the stable item lifecycle client and universal project data types.
|
|
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]="dfc95179-77dd-5762-9bcc-c6bb461ff553")}catch(e){}}();
|
|
8
8
|
export { BASELINE_ITEM_FORMAT_VERSION, BUILTIN_ITEM_TYPE_VALUES, CONFIDENCE_TEXT_VALUES, CURRENT_ITEM_FORMAT_VERSION, DEPENDENCY_KIND_VALUES, EXIT_CODE, ISSUE_SEVERITY_VALUES, ITEM_TYPE_VALUES, PM_CLI_EXPECTED_ERROR_NAME, PmCliError, PmClient, RISK_VALUES, STATUS_VALUES, canonicalDocument, classifyItemFormatVersion, createPmCliExpectedError, effectiveItemFormatVersion, emptyImportedDocument, isPmCliExpectedError, normalizeItemFormatVersion, normalizeItemId, normalizeStatusInput, nowIso, runAction, serializeItemDocument, aggregate, append, claim, claimNext, close, comments, context, copy, create, deleteItem, deps, docs, files, filesDiscover, focus, get, graph, learnings, list, next, notes, release, restore, search, update, } from "./runtime.js";
|
|
9
9
|
export * from "./core-governance.js";
|
|
10
10
|
export * from "./agent-session-context.js";
|
|
11
11
|
export { isAlreadyClaimedError } from "./lifecycle/claim.js";
|
|
12
|
-
export { PM_READ_OUTPUT_DIMENSIONS, PM_READ_OUTPUT_OPTION_FLAGS, PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS, PM_READ_OUTPUT_SURFACE_CONTRACTS, applyReadOutputDimensions, isReadOutputBudgetExceeded, resolveReadOutputDimensions, resolveReadOutputEncoding, resolveReadOutputSurface, validateReadOutputOptions, } from "./read-output-contracts.js";
|
|
12
|
+
export { PM_READ_OUTPUT_DIMENSIONS, PM_READ_OUTPUT_OPTION_FLAGS, PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS, PM_READ_OUTPUT_SURFACE_CONTRACTS, applyReadOutputDimensions, decodeReadOutputContinuationCursor, encodeReadOutputContinuationCursor, isReadOutputBudgetExceeded, resolveReadOutputDimensions, resolveReadOutputEncoding, resolveReadOutputSurface, validateReadOutputOptions, } from "./read-output-contracts.js";
|
|
13
13
|
export { applyReadOutputSessionReferences, attachReadOutputSessionReceipt, parseReadOutputSession, readOutputSessionRemainingTokens, } from "./read-output-session.js";
|
|
14
14
|
//# sourceMappingURL=core.js.map
|
|
15
|
-
//# debugId=
|
|
15
|
+
//# debugId=dfc95179-77dd-5762-9bcc-c6bb461ff553
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Generated partition 1 of the exhaustive error-code catalog. */
|
|
2
2
|
|
|
3
|
-
!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]="
|
|
3
|
+
!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]="515e0f67-1d1d-5ee7-9000-bbe9aa201507")}catch(e){}}();
|
|
4
4
|
export const PM_ERROR_CODE_CATALOG_PART_1 = [
|
|
5
5
|
{
|
|
6
6
|
code: "acceptance_criteria_mutation_conflict",
|
|
@@ -806,6 +806,42 @@ export const PM_ERROR_CODE_CATALOG_PART_1 = [
|
|
|
806
806
|
canonical_code: "github_source_entry_unbuilt",
|
|
807
807
|
aliases: [],
|
|
808
808
|
},
|
|
809
|
+
{
|
|
810
|
+
code: "history_author_acknowledge_plan_conflict",
|
|
811
|
+
meaning: "History author acknowledge plan conflict condition.",
|
|
812
|
+
stability: "provisional",
|
|
813
|
+
exit_code: 4,
|
|
814
|
+
class: "conflict",
|
|
815
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
816
|
+
sources: ["sdk/author-attribution.ts"],
|
|
817
|
+
emitting_commands: ["*"],
|
|
818
|
+
canonical_code: "history_author_acknowledge_plan_conflict",
|
|
819
|
+
aliases: [],
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
code: "history_author_acknowledge_plan_fingerprint_required",
|
|
823
|
+
meaning: "History author acknowledge plan fingerprint required condition.",
|
|
824
|
+
stability: "provisional",
|
|
825
|
+
exit_code: 2,
|
|
826
|
+
class: "usage",
|
|
827
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
828
|
+
sources: ["sdk/author-attribution.ts"],
|
|
829
|
+
emitting_commands: ["*"],
|
|
830
|
+
canonical_code: "history_author_acknowledge_plan_fingerprint_required",
|
|
831
|
+
aliases: [],
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
code: "history_author_acknowledge_preview_limit_invalid",
|
|
835
|
+
meaning: "History author acknowledge preview limit invalid condition.",
|
|
836
|
+
stability: "provisional",
|
|
837
|
+
exit_code: 2,
|
|
838
|
+
class: "usage",
|
|
839
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
840
|
+
sources: ["sdk/author-attribution.ts"],
|
|
841
|
+
emitting_commands: ["*"],
|
|
842
|
+
canonical_code: "history_author_acknowledge_preview_limit_invalid",
|
|
843
|
+
aliases: [],
|
|
844
|
+
},
|
|
809
845
|
{
|
|
810
846
|
code: "history_author_acknowledge_required_values_missing",
|
|
811
847
|
meaning: "History author acknowledge required values missing condition.",
|
|
@@ -1592,6 +1628,18 @@ export const PM_ERROR_CODE_CATALOG_PART_1 = [
|
|
|
1592
1628
|
canonical_code: "manifest_capabilities_absent",
|
|
1593
1629
|
aliases: [],
|
|
1594
1630
|
},
|
|
1631
|
+
{
|
|
1632
|
+
code: "merge_conflict_markers_detected",
|
|
1633
|
+
meaning: "Merge conflict markers detected condition.",
|
|
1634
|
+
stability: "stable",
|
|
1635
|
+
exit_code: 1,
|
|
1636
|
+
class: "generic_failure",
|
|
1637
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1638
|
+
sources: ["core/item/item-format.ts"],
|
|
1639
|
+
emitting_commands: ["*"],
|
|
1640
|
+
canonical_code: "merge_conflict_markers_detected",
|
|
1641
|
+
aliases: ["history_merge_conflict_markers_detected"],
|
|
1642
|
+
},
|
|
1595
1643
|
];
|
|
1596
1644
|
//# sourceMappingURL=generated-error-code-catalog-part-1.js.map
|
|
1597
|
-
//# debugId=
|
|
1645
|
+
//# debugId=515e0f67-1d1d-5ee7-9000-bbe9aa201507
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
/** Generated partition 2 of the exhaustive error-code catalog. */
|
|
2
2
|
|
|
3
|
-
!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]="
|
|
3
|
+
!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]="e17917c7-8433-5de1-a895-ca5a03ce03da")}catch(e){}}();
|
|
4
4
|
export const PM_ERROR_CODE_CATALOG_PART_2 = [
|
|
5
|
-
{
|
|
6
|
-
code: "merge_conflict_markers_detected",
|
|
7
|
-
meaning: "Merge conflict markers detected condition.",
|
|
8
|
-
stability: "stable",
|
|
9
|
-
exit_code: 1,
|
|
10
|
-
class: "generic_failure",
|
|
11
|
-
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
12
|
-
sources: ["core/item/item-format.ts"],
|
|
13
|
-
emitting_commands: ["*"],
|
|
14
|
-
canonical_code: "merge_conflict_markers_detected",
|
|
15
|
-
aliases: ["history_merge_conflict_markers_detected"],
|
|
16
|
-
},
|
|
17
5
|
{
|
|
18
6
|
code: "merge_decisions_unreviewed",
|
|
19
7
|
meaning: "Merge decisions unreviewed condition.",
|
|
@@ -363,6 +351,54 @@ export const PM_ERROR_CODE_CATALOG_PART_2 = [
|
|
|
363
351
|
canonical_code: "project_runtime_stale_read",
|
|
364
352
|
aliases: [],
|
|
365
353
|
},
|
|
354
|
+
{
|
|
355
|
+
code: "provenance_value_domain_invalid",
|
|
356
|
+
meaning: "Provenance value domain invalid condition.",
|
|
357
|
+
stability: "provisional",
|
|
358
|
+
exit_code: 2,
|
|
359
|
+
class: "usage",
|
|
360
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
361
|
+
sources: ["core/diagnostics/remediation.ts"],
|
|
362
|
+
emitting_commands: ["*"],
|
|
363
|
+
canonical_code: "provenance_value_domain_invalid",
|
|
364
|
+
aliases: [],
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
code: "read_output_cursor_command_mismatch",
|
|
368
|
+
meaning: "Read output cursor command mismatch condition.",
|
|
369
|
+
stability: "provisional",
|
|
370
|
+
exit_code: 2,
|
|
371
|
+
class: "usage",
|
|
372
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
373
|
+
sources: ["sdk/read-output/continuation.ts"],
|
|
374
|
+
emitting_commands: ["*"],
|
|
375
|
+
canonical_code: "read_output_cursor_command_mismatch",
|
|
376
|
+
aliases: [],
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
code: "read_output_cursor_invalid",
|
|
380
|
+
meaning: "Read output cursor invalid condition.",
|
|
381
|
+
stability: "provisional",
|
|
382
|
+
exit_code: 2,
|
|
383
|
+
class: "usage",
|
|
384
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
385
|
+
sources: ["sdk/read-output/continuation.ts"],
|
|
386
|
+
emitting_commands: ["*"],
|
|
387
|
+
canonical_code: "read_output_cursor_invalid",
|
|
388
|
+
aliases: [],
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
code: "read_output_cursor_stale",
|
|
392
|
+
meaning: "Read output cursor stale condition.",
|
|
393
|
+
stability: "provisional",
|
|
394
|
+
exit_code: 2,
|
|
395
|
+
class: "usage",
|
|
396
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
397
|
+
sources: ["sdk/read-output/continuation.ts"],
|
|
398
|
+
emitting_commands: ["*"],
|
|
399
|
+
canonical_code: "read_output_cursor_stale",
|
|
400
|
+
aliases: [],
|
|
401
|
+
},
|
|
366
402
|
{
|
|
367
403
|
code: "redundant_edge",
|
|
368
404
|
meaning: "Redundant edge condition.",
|
|
@@ -750,6 +786,18 @@ export const PM_ERROR_CODE_CATALOG_PART_2 = [
|
|
|
750
786
|
canonical_code: "tracker_root_not_directory",
|
|
751
787
|
aliases: [],
|
|
752
788
|
},
|
|
789
|
+
{
|
|
790
|
+
code: "tracker_root_unreadable",
|
|
791
|
+
meaning: "Tracker root unreadable condition.",
|
|
792
|
+
stability: "provisional",
|
|
793
|
+
exit_code: 1,
|
|
794
|
+
class: "generic_failure",
|
|
795
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
796
|
+
sources: ["core/store/item-store.ts"],
|
|
797
|
+
emitting_commands: ["*"],
|
|
798
|
+
canonical_code: "tracker_root_unreadable",
|
|
799
|
+
aliases: [],
|
|
800
|
+
},
|
|
753
801
|
{
|
|
754
802
|
code: "type_duplicate",
|
|
755
803
|
meaning: "Type duplicate condition.",
|
|
@@ -1483,6 +1531,18 @@ export const PM_ERROR_CODE_CATALOG_PART_2 = [
|
|
|
1483
1531
|
canonical_code: "workflow_type_unknown",
|
|
1484
1532
|
aliases: [],
|
|
1485
1533
|
},
|
|
1534
|
+
{
|
|
1535
|
+
code: "workspace_history_chain_invalid",
|
|
1536
|
+
meaning: "Workspace history chain invalid condition.",
|
|
1537
|
+
stability: "provisional",
|
|
1538
|
+
exit_code: 4,
|
|
1539
|
+
class: "conflict",
|
|
1540
|
+
recovery: "Inspect the structured error guidance and retry the suggested command.",
|
|
1541
|
+
sources: ["core/history/workspace-history.ts"],
|
|
1542
|
+
emitting_commands: ["*"],
|
|
1543
|
+
canonical_code: "workspace_history_chain_invalid",
|
|
1544
|
+
aliases: [],
|
|
1545
|
+
},
|
|
1486
1546
|
{
|
|
1487
1547
|
code: "workspace_history_state_conflict",
|
|
1488
1548
|
meaning: "Workspace history state conflict condition.",
|
|
@@ -1605,4 +1665,4 @@ export const PM_ERROR_CODE_CATALOG_PART_2 = [
|
|
|
1605
1665
|
},
|
|
1606
1666
|
];
|
|
1607
1667
|
//# sourceMappingURL=generated-error-code-catalog-part-2.js.map
|
|
1608
|
-
//# debugId=
|
|
1668
|
+
//# debugId=e17917c7-8433-5de1-a895-ca5a03ce03da
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { GlobalOptions } from "../../core/shared/command-types.js";
|
|
7
7
|
import { type AssuranceBundleMutationReceipt, type AssuranceDeclaration, type AssuranceGateVerdict, type AssuranceMutationReceipt } from "./assurance.js";
|
|
8
8
|
import { type AssuranceDerivedProposal, type AssurancePreset, type AssurancePresetId } from "./assurance-presets.js";
|
|
9
|
+
import { type CreateAssuranceWorkspaceContextOptions } from "./assurance-runtime.js";
|
|
9
10
|
/** Assurance registry and evaluation verbs shared by every transport. */
|
|
10
11
|
export declare const ASSURANCE_ACTIONS: readonly ["list", "show", "put", "remove", "run", "verdicts", "presets", "apply", "derive", "promote"];
|
|
11
12
|
/** Assurance declaration kinds shared by every transport. */
|
|
@@ -49,6 +50,11 @@ export interface AssuranceActionInput {
|
|
|
49
50
|
/** Explicit next assertion enforcement level. */
|
|
50
51
|
enforcement?: string;
|
|
51
52
|
}
|
|
53
|
+
/** Embedding-host capabilities used only while evaluating assurance actions. */
|
|
54
|
+
export interface AssuranceActionRuntimeOptions {
|
|
55
|
+
/** Workspace adapters and provider capabilities supplied by an SDK host. */
|
|
56
|
+
workspace?: Omit<CreateAssuranceWorkspaceContextOptions, "tree_id" | "trigger">;
|
|
57
|
+
}
|
|
52
58
|
/** Result union returned by transport-neutral assurance execution. */
|
|
53
59
|
export type AssuranceActionResult = AssuranceDeclaration | AssuranceMutationReceipt | AssuranceGateVerdict | AssuranceBundleMutationReceipt | AssurancePreset | {
|
|
54
60
|
items: AssuranceDerivedProposal[];
|
|
@@ -89,6 +95,6 @@ export type AssuranceActionResult = AssuranceDeclaration | AssuranceMutationRece
|
|
|
89
95
|
};
|
|
90
96
|
};
|
|
91
97
|
/** Execute one assurance request through the public assurance SDK primitives. */
|
|
92
|
-
export declare function runAssuranceAction(input: AssuranceActionInput, global?: Pick<GlobalOptions, "path"
|
|
98
|
+
export declare function runAssuranceAction(input: AssuranceActionInput, global?: Pick<GlobalOptions, "path">, runtime?: AssuranceActionRuntimeOptions): Promise<AssuranceActionResult>;
|
|
93
99
|
/** Normalize a generic SDK or MCP argument envelope into one assurance request. */
|
|
94
100
|
export declare function runAssuranceDispatch(args: Record<string, unknown>, options: Record<string, unknown>, global: GlobalOptions): Promise<AssuranceActionResult>;
|