@unbrained/pm-cli 2026.8.13 → 2026.8.14
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 +141 -112
- package/dist/cli/main.js +39 -3
- package/dist/cli-bundle/bundle-manifest.json +144 -176
- package/dist/cli-bundle/chunks/{chunk-DEDU3DG7.js → chunk-BBOFSVAK.js} +66 -65
- package/dist/cli-bundle/chunks/chunk-BFALV3YP.js +5 -0
- package/dist/cli-bundle/chunks/{chunk-Q47C67TQ.js → chunk-FIW4P64F.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QGTUPEU5.js → chunk-G5JUB66K.js} +41 -41
- package/dist/cli-bundle/chunks/{chunk-3ZMOWAFM.js → chunk-SBRKH6OR.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-TMJ7URWS.js +13 -0
- package/dist/cli-bundle/chunks/{chunk-F7FJYGK3.js → chunk-TXMEUUUY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YLBAPY22.js → chunk-XAVMOK6B.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TF3TPKPR.js → chunk-YAMTJL6Y.js} +33 -33
- package/dist/cli-bundle/chunks/{chunk-IMGIN7R6.js → chunk-YSVSMJ2B.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-4HIZ7EA3.js → register-list-query-T3EHHNNV.js} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-W64FZ5HN.js → register-mutation-E27WCLSZ.js} +2 -2
- package/dist/cli-bundle/chunks/{register-operations-C44ET7R5.js → register-operations-4R6I7CPY.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-634MFRXU.js → register-setup-3YXZ444E.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-OOYYKQWX.js → chunk-4DQ2YERC.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-F43TT2QQ.js +8 -0
- package/dist/cli-bundle/focused-chunks/{chunk-2RI2FESN.js → chunk-K7RWWOAG.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-KFSZ3BP6.js +16 -0
- package/dist/cli-bundle/focused-chunks/{chunk-3DJSGWVB.js → chunk-KSEDUWVZ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-NFHFZH2Z.js → chunk-KYUQGTSB.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-IIS2FRKL.js → chunk-LZ4MV3RH.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-PGXJQLCT.js +155 -0
- package/dist/cli-bundle/focused-chunks/{chunk-E3AVJ655.js → chunk-PPFGQDSI.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-Q4YY3XNF.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-QK753U3U.js +46 -0
- package/dist/cli-bundle/focused-chunks/{chunk-QDZUABWL.js → chunk-QUMB2J27.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-SM7MTG27.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-I75MANL7.js → chunk-WCVE2NIG.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-XDNAW5OI.js +18 -0
- package/dist/cli-bundle/focused-chunks/{chunk-2JP7W7GO.js → chunk-YOOI3UZX.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZM6TZVHC.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 +44 -41
- 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 +109 -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/history/drift-scan.d.ts +6 -0
- package/dist/core/history/drift-scan.js +74 -50
- package/dist/core/history/workspace-history.d.ts +59 -0
- package/dist/core/history/workspace-history.js +197 -10
- package/dist/core/output/output.js +12 -4
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +6 -1
- package/dist/sdk/cli-contracts/runtime-contracts.js +155 -60
- package/dist/sdk/cli-program.js +3 -3
- package/dist/sdk/context-relevance.js +12 -4
- package/dist/sdk/governance/assurance.js +4 -4
- package/dist/sdk/governance/health.js +15 -3
- package/dist/sdk/governance/validate-history-drift.d.ts +7 -0
- package/dist/sdk/governance/validate-history-drift.js +68 -0
- package/dist/sdk/governance/validate.js +4 -46
- package/dist/sdk/graph/assembly.d.ts +23 -0
- package/dist/sdk/graph/assembly.js +54 -2
- package/dist/sdk/graph/durable-cache.js +50 -20
- package/dist/sdk/graph/governance-contracts.d.ts +1 -1
- package/dist/sdk/graph/governance-contracts.js +4 -2
- package/dist/sdk/graph/governance.d.ts +21 -1
- package/dist/sdk/graph/governance.js +94 -32
- package/dist/sdk/graph/index.d.ts +2 -2
- package/dist/sdk/graph/index.js +4 -4
- package/dist/sdk/graph/mutation-advisory.js +15 -7
- package/dist/sdk/graph/remediation.js +12 -2
- package/dist/sdk/history-read.d.ts +8 -0
- package/dist/sdk/history-read.js +2 -2
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +3 -3
- package/dist/sdk/query/history.js +20 -3
- package/dist/sdk/read-output-budget.d.ts +2 -0
- package/dist/sdk/read-output-budget.js +12 -5
- package/dist/sdk/read-output-contracts.d.ts +61 -5
- package/dist/sdk/read-output-contracts.js +210 -28
- package/dist/sdk/read-output-rows.d.ts +11 -0
- package/dist/sdk/read-output-rows.js +47 -2
- package/dist/sdk/runtime-primitives.d.ts +1 -1
- package/dist/sdk/runtime-primitives.js +3 -3
- package/dist/sdk/runtime.js +5 -3
- package/docs/ASSURANCE.md +10 -1
- package/docs/COMMANDS.md +31 -2
- package/docs/READ_OUTPUT_CONTRACTS.md +44 -8
- package/docs/RELATIONSHIP_GRAPH.md +20 -5
- package/docs/SDK.md +12 -5
- package/docs/SDK_CONTEXT_INTEGRITY.md +32 -1
- package/docs/TESTING.md +23 -1
- package/docs/performance/sdk-entrypoint-import-costs.md +20 -13
- package/marketplace.json +2 -2
- package/package.json +6 -6
- package/packages/pm-beads/extensions/beads/index.ts +1 -0
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/extensions/calendar/index.ts +1 -0
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/extensions/digital-twin/index.ts +7 -0
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/extensions/governance-audit/index.ts +4 -0
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/extensions/guide-shell/index.ts +5 -0
- 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/extensions/linked-test-adapters/index.ts +6 -0
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/extensions/search-advanced/index.ts +2 -0
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/extensions/templates/index.ts +4 -0
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/extensions/todos/index.ts +2 -0
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/extensions/vcs/index.ts +7 -0
- 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/scripts/bundle-cli.mjs +17 -4
- package/sdk/public-surface.json +209 -29
- package/dist/cli-bundle/chunks/chunk-DL5M5J3V.js +0 -13
- package/dist/cli-bundle/chunks/chunk-HIUZVCMN.js +0 -5
- package/dist/cli-bundle/focused-chunks/chunk-27N23W6M.js +0 -31
- package/dist/cli-bundle/focused-chunks/chunk-3BNVU6LC.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-6MLIRBLV.js +0 -5
- package/dist/cli-bundle/focused-chunks/chunk-6XYLENDV.js +0 -155
- package/dist/cli-bundle/focused-chunks/chunk-CP4K4WFS.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-EBTNSFYE.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-HC2OL2H2.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-OGC4XSBC.js +0 -17
- package/dist/cli-bundle/focused-chunks/chunk-PKPOZXLL.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-QQX5TDFT.js +0 -16
- package/dist/cli-bundle/focused-chunks/chunk-TEZIXMTH.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-WEH6NSL6.js +0 -18
package/sdk/public-surface.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"aggregate_completeness": {
|
|
3
|
-
"covered_symbols":
|
|
3
|
+
"covered_symbols": 1513,
|
|
4
4
|
"excluded": [
|
|
5
5
|
{
|
|
6
6
|
"name": "_testOnlyCliContracts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
],
|
|
10
10
|
"missing": [],
|
|
11
|
-
"required_symbols":
|
|
11
|
+
"required_symbols": 1514
|
|
12
12
|
},
|
|
13
13
|
"breaking_acknowledgements": [
|
|
14
14
|
{
|
|
@@ -448,6 +448,54 @@
|
|
|
448
448
|
],
|
|
449
449
|
"package_version": "2026.8.12",
|
|
450
450
|
"reason": "Source-derived finding-code type replaces an identical handwritten union; the accepted values and runtime behavior are unchanged."
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"changes": [
|
|
454
|
+
"signature ./sdk:HistoryVerificationResult",
|
|
455
|
+
"signature ./sdk:RelationshipAuditDelta",
|
|
456
|
+
"signature ./sdk:RelationshipAuditFinding",
|
|
457
|
+
"signature ./sdk:RelationshipCoverageProfile",
|
|
458
|
+
"signature ./sdk:WorkspaceRelationshipAssembly",
|
|
459
|
+
"signature ./sdk/graph:RelationshipAuditDelta",
|
|
460
|
+
"signature ./sdk/graph:RelationshipAuditFinding",
|
|
461
|
+
"signature ./sdk/graph:RelationshipCoverageProfile",
|
|
462
|
+
"signature ./sdk/graph:WorkspaceRelationshipAssembly"
|
|
463
|
+
],
|
|
464
|
+
"package_version": "2026.8.13",
|
|
465
|
+
"reason": "pm-dwj33e and pm-h06944: additive optional history-agreement and graph-governance fields; existing inputs and legacy snapshots remain accepted"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"changes": [
|
|
469
|
+
"signature ./sdk:PM_READ_OUTPUT_SURFACES",
|
|
470
|
+
"signature ./sdk:PmReadOutputOptions",
|
|
471
|
+
"signature ./sdk:PmReadOutputReceipt",
|
|
472
|
+
"signature ./sdk:PmResolvedReadOutputDimensions",
|
|
473
|
+
"signature ./sdk/contracts:PM_READ_OUTPUT_SURFACES",
|
|
474
|
+
"signature ./sdk/contracts:PmReadOutputOptions",
|
|
475
|
+
"signature ./sdk/contracts:PmReadOutputReceipt",
|
|
476
|
+
"signature ./sdk/contracts:PmResolvedReadOutputDimensions",
|
|
477
|
+
"signature ./sdk/core:PmReadOutputOptions",
|
|
478
|
+
"signature ./sdk/core:PmReadOutputReceipt",
|
|
479
|
+
"signature ./sdk/runtime:PmReadOutputOptions"
|
|
480
|
+
],
|
|
481
|
+
"package_version": "2026.8.13",
|
|
482
|
+
"reason": "Intentional SDK contract widening: default output budgets, explicit unbounded opt-out, and assurance/comments-audit read surfaces"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"changes": [
|
|
486
|
+
"signature ./sdk:PmReadOutputLegacyAlias",
|
|
487
|
+
"signature ./sdk:PmReadOutputReceipt",
|
|
488
|
+
"signature ./sdk:PmReadOutputResult",
|
|
489
|
+
"signature ./sdk/contracts:PmReadOutputLegacyAlias",
|
|
490
|
+
"signature ./sdk/contracts:PmReadOutputReceipt",
|
|
491
|
+
"signature ./sdk/contracts:PmReadOutputResult",
|
|
492
|
+
"signature ./sdk/core:PmReadOutputLegacyAlias",
|
|
493
|
+
"signature ./sdk/core:PmReadOutputReceipt",
|
|
494
|
+
"signature ./sdk/core:PmReadOutputResult",
|
|
495
|
+
"signature ./sdk/runtime:PmReadOutputResult"
|
|
496
|
+
],
|
|
497
|
+
"package_version": "2026.8.13",
|
|
498
|
+
"reason": "Additive optional read-output receipts and explicit alias semantics for executable recovery contracts"
|
|
451
499
|
}
|
|
452
500
|
],
|
|
453
501
|
"entrypoints": {
|
|
@@ -1036,6 +1084,12 @@
|
|
|
1036
1084
|
"name": "applyReadOutputDimensions",
|
|
1037
1085
|
"signature": "<Result extends Record<string, unknown>>(command: string, options: Record<string, unknown>, result: Result) => PmReadOutputResult<Result> | calls: <Result extends Record<string, unknown>>(command: string, options: Record<string, unknown>, result: Result) => PmReadOutputResult<Result>"
|
|
1038
1086
|
},
|
|
1087
|
+
{
|
|
1088
|
+
"classification": "contract_data",
|
|
1089
|
+
"kind": "function",
|
|
1090
|
+
"name": "applyReadOutputIncludeModes",
|
|
1091
|
+
"signature": "(command: string, includeValue: unknown, commandOptions: Record<string, unknown>) => { selectors: string[]; modes: string[]; } | calls: (command: string, includeValue: unknown, commandOptions: Record<string, unknown>) => { selectors: string[]; modes: string[]; }"
|
|
1092
|
+
},
|
|
1039
1093
|
{
|
|
1040
1094
|
"classification": "supported",
|
|
1041
1095
|
"kind": "function",
|
|
@@ -2344,6 +2398,12 @@
|
|
|
2344
2398
|
"name": "collectOrderingCycles",
|
|
2345
2399
|
"signature": "(successors: Map<string, string[]>) => string[][] | calls: (successors: Map<string, string[]>) => string[][]"
|
|
2346
2400
|
},
|
|
2401
|
+
{
|
|
2402
|
+
"classification": "supported",
|
|
2403
|
+
"kind": "function",
|
|
2404
|
+
"name": "collectOrderingStorageContradictions",
|
|
2405
|
+
"signature": "(items: readonly DependencyReferenceHolder[], isTerminal?: (status: ItemStatus) => boolean, registry?: RelationshipKindRegistry) => OrderingStorageContradiction[] | calls: (items: readonly DependencyReferenceHolder[], isTerminal?: (status: ItemStatus) => boolean, registry?: RelationshipKindRegistry) => OrderingStorageContradiction[]"
|
|
2406
|
+
},
|
|
2347
2407
|
{
|
|
2348
2408
|
"classification": "advanced_export",
|
|
2349
2409
|
"kind": "function",
|
|
@@ -5188,6 +5248,12 @@
|
|
|
5188
5248
|
"name": "formatDuplicateEdgeGroup",
|
|
5189
5249
|
"signature": "(group: DuplicateRelationshipEdgeGroup) => string | calls: (group: DuplicateRelationshipEdgeGroup) => string"
|
|
5190
5250
|
},
|
|
5251
|
+
{
|
|
5252
|
+
"classification": "supported",
|
|
5253
|
+
"kind": "function",
|
|
5254
|
+
"name": "formatOrderingStorageContradiction",
|
|
5255
|
+
"signature": "(contradiction: Pick<OrderingStorageContradiction, \"dependency_kind\" | \"holder_id\" | \"target_id\">) => string | calls: (contradiction: Pick<OrderingStorageContradiction, \"holder_id\" | \"target_id\" | \"dependency_kind\">) => string"
|
|
5256
|
+
},
|
|
5191
5257
|
{
|
|
5192
5258
|
"classification": "advanced_export",
|
|
5193
5259
|
"kind": "function",
|
|
@@ -6062,7 +6128,7 @@
|
|
|
6062
6128
|
"classification": "advanced_export",
|
|
6063
6129
|
"kind": "interface",
|
|
6064
6130
|
"name": "HistoryVerificationResult",
|
|
6065
|
-
"signature": "export interface HistoryVerificationResult { ok: boolean; entries: number; errors: string[]; latest_after_hash?: string; current_item_hash?: string; current_matches_latest?: boolean; }"
|
|
6131
|
+
"signature": "export interface HistoryVerificationResult { ok: boolean; entries: number; errors: string[]; latest_after_hash?: string; current_item_hash?: string; current_matches_latest?: boolean; workspace_state_matches_latest?: boolean; workspace_state_mismatches?: string[]; workspace_state_missing?: string[]; workspace_state_unreadable?: string[]; }"
|
|
6066
6132
|
},
|
|
6067
6133
|
{
|
|
6068
6134
|
"classification": "advanced_export",
|
|
@@ -6268,6 +6334,12 @@
|
|
|
6268
6334
|
"name": "InspectStaleInProgressOptions",
|
|
6269
6335
|
"signature": "export interface InspectStaleInProgressOptions { in_progress_status?: string; threshold_hours: number; now?: Date; last_history_activity?: (item: ItemMetadata) => string | undefined; }"
|
|
6270
6336
|
},
|
|
6337
|
+
{
|
|
6338
|
+
"classification": "advanced_export",
|
|
6339
|
+
"kind": "function",
|
|
6340
|
+
"name": "inspectWorkspaceHistoryState",
|
|
6341
|
+
"signature": "(pmRoot: string) => Promise<WorkspaceHistoryStateAgreement> | calls: (pmRoot: string) => Promise<WorkspaceHistoryStateAgreement>"
|
|
6342
|
+
},
|
|
6271
6343
|
{
|
|
6272
6344
|
"classification": "advanced_export",
|
|
6273
6345
|
"kind": "function",
|
|
@@ -7504,6 +7576,12 @@
|
|
|
7504
7576
|
"name": "normalizeRawItemId",
|
|
7505
7577
|
"signature": "(input: string) => string | calls: (input: string) => string"
|
|
7506
7578
|
},
|
|
7579
|
+
{
|
|
7580
|
+
"classification": "contract_data",
|
|
7581
|
+
"kind": "function",
|
|
7582
|
+
"name": "normalizeReadOutputIncludeModeOptions",
|
|
7583
|
+
"signature": "(command: string, options: Record<string, unknown>) => void | calls: (command: string, options: Record<string, unknown>) => void"
|
|
7584
|
+
},
|
|
7507
7585
|
{
|
|
7508
7586
|
"classification": "advanced_export",
|
|
7509
7587
|
"kind": "function",
|
|
@@ -7630,6 +7708,12 @@
|
|
|
7630
7708
|
"name": "orderingPredecessors",
|
|
7631
7709
|
"signature": "(graph: RelationshipGraph, id: string, options?: GraphTraversalOptions) => RelationshipQueryResult<string[]> | calls: (graph: RelationshipGraph, id: string, options?: GraphTraversalOptions) => RelationshipQueryResult<string[]>"
|
|
7632
7710
|
},
|
|
7711
|
+
{
|
|
7712
|
+
"classification": "supported",
|
|
7713
|
+
"kind": "interface",
|
|
7714
|
+
"name": "OrderingStorageContradiction",
|
|
7715
|
+
"signature": "export interface OrderingStorageContradiction { holder_id: string; target_id: string; dependency_kind: string; holder_status: ItemStatus; legacy_terminal: boolean; }"
|
|
7716
|
+
},
|
|
7633
7717
|
{
|
|
7634
7718
|
"classification": "supported",
|
|
7635
7719
|
"kind": "function",
|
|
@@ -8570,7 +8654,7 @@
|
|
|
8570
8654
|
"classification": "contract_data",
|
|
8571
8655
|
"kind": "value",
|
|
8572
8656
|
"name": "PM_READ_OUTPUT_SURFACES",
|
|
8573
|
-
"signature": "readonly [\"list\", \"context\", \"search\", \"get\", \"next\", \"health\", \"deps\", \"graph\", \"history\", \"activity\", \"validate\", \"events\", \"contracts\", \"comments\", \"notes\", \"files\", \"docs\", \"stats\", \"aggregate\", \"package-manage\"]"
|
|
8657
|
+
"signature": "readonly [\"list\", \"context\", \"search\", \"get\", \"next\", \"health\", \"deps\", \"graph\", \"history\", \"activity\", \"validate\", \"events\", \"contracts\", \"comments\", \"notes\", \"files\", \"docs\", \"stats\", \"aggregate\", \"package-manage\", \"comments-audit\", \"assurance\"]"
|
|
8574
8658
|
},
|
|
8575
8659
|
{
|
|
8576
8660
|
"classification": "advanced_export",
|
|
@@ -9074,25 +9158,25 @@
|
|
|
9074
9158
|
"classification": "supported",
|
|
9075
9159
|
"kind": "interface",
|
|
9076
9160
|
"name": "PmReadOutputLegacyAlias",
|
|
9077
|
-
"signature": "export interface PmReadOutputLegacyAlias { flag: string; migration_hint: string; visibility: \"hidden_alias\"; }"
|
|
9161
|
+
"signature": "export interface PmReadOutputLegacyAlias { flag: string; semantics?: \"replacement\" | \"behavior_preserving\"; migration_hint: string; visibility: \"hidden_alias\"; }"
|
|
9078
9162
|
},
|
|
9079
9163
|
{
|
|
9080
9164
|
"classification": "supported",
|
|
9081
9165
|
"kind": "interface",
|
|
9082
9166
|
"name": "PmReadOutputOptions",
|
|
9083
|
-
"signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
|
|
9167
|
+
"signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number | \"unbounded\"; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
|
|
9084
9168
|
},
|
|
9085
9169
|
{
|
|
9086
9170
|
"classification": "supported",
|
|
9087
9171
|
"kind": "interface",
|
|
9088
9172
|
"name": "PmReadOutputReceipt",
|
|
9089
|
-
"signature": "export interface PmReadOutputReceipt { contract_version: 1; command: PmReadOutputSurface; requested_dimensions: PmReadOutputDimension[]; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; legacy_aliases_used: string[]; migration_hints: string[]; estimated_tokens: number; within_budget: boolean; strings_compacted: boolean; rows_compacted: boolean; result_omitted: boolean; }"
|
|
9173
|
+
"signature": "export interface PmReadOutputReceipt { contract_version: 1; command: PmReadOutputSurface; requested_dimensions: PmReadOutputDimension[]; budget_source?: \"default\"; budget_tokens?: number; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; legacy_aliases_used: string[]; migration_hints: string[]; estimated_tokens: number; within_budget: boolean; strings_compacted: boolean; rows_compacted: boolean; compacted_row_paths?: string[]; result_omitted: boolean; omitted_result_estimated_tokens?: number; }"
|
|
9090
9174
|
},
|
|
9091
9175
|
{
|
|
9092
9176
|
"classification": "supported",
|
|
9093
9177
|
"kind": "type",
|
|
9094
9178
|
"name": "PmReadOutputResult",
|
|
9095
|
-
"signature": "export type PmReadOutputResult<Result> = (Result & { read_output?: PmReadOutputReceipt; read_session?: PmReadOutputSessionReceipt; }) | (PmReadOutputBudgetExceeded & { read_session?: PmReadOutputSessionReceipt; });"
|
|
9179
|
+
"signature": "export type PmReadOutputResult<Result> = (Result & { read_output?: PmReadOutputReceipt; read_session?: PmReadOutputSessionReceipt; output_budget_truncation?: PmReadOutputTruncationDisclosure; }) | (PmReadOutputBudgetExceeded & { read_session?: PmReadOutputSessionReceipt; });"
|
|
9096
9180
|
},
|
|
9097
9181
|
{
|
|
9098
9182
|
"classification": "supported",
|
|
@@ -9136,6 +9220,12 @@
|
|
|
9136
9220
|
"name": "PmReadOutputSurfaceContract",
|
|
9137
9221
|
"signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; }"
|
|
9138
9222
|
},
|
|
9223
|
+
{
|
|
9224
|
+
"classification": "contract_data",
|
|
9225
|
+
"kind": "interface",
|
|
9226
|
+
"name": "PmReadOutputTruncationDisclosure",
|
|
9227
|
+
"signature": "export interface PmReadOutputTruncationDisclosure { reason: \"output_budget_reached\"; budget_source: PmReadOutputDimensionSource | \"session\"; budget_tokens: number; overridden_dimensions: PmReadOutputDimension[]; compacted_row_paths: string[]; restore_with: string; }"
|
|
9228
|
+
},
|
|
9139
9229
|
{
|
|
9140
9230
|
"classification": "advanced_export",
|
|
9141
9231
|
"kind": "interface",
|
|
@@ -9170,7 +9260,7 @@
|
|
|
9170
9260
|
"classification": "contract_data",
|
|
9171
9261
|
"kind": "interface",
|
|
9172
9262
|
"name": "PmResolvedReadOutputDimensions",
|
|
9173
|
-
"signature": "export interface PmResolvedReadOutputDimensions { command: PmReadOutputSurface; include?: PmResolvedReadOutputDimension<string[]>; amount?: PmResolvedReadOutputDimension<number | \"unbounded\">; cost?: PmResolvedReadOutputDimension<number>; encoding?: PmResolvedReadOutputDimension<\"json\" | \"toon\" | \"stream\">; legacy_aliases_used: string[]; migration_hints: string[]; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; }"
|
|
9263
|
+
"signature": "export interface PmResolvedReadOutputDimensions { command: PmReadOutputSurface; include?: PmResolvedReadOutputDimension<string[]>; amount?: PmResolvedReadOutputDimension<number | \"unbounded\">; cost?: PmResolvedReadOutputDimension<number | \"unbounded\">; encoding?: PmResolvedReadOutputDimension<\"json\" | \"toon\" | \"stream\">; legacy_aliases_used: string[]; migration_hints: string[]; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; }"
|
|
9174
9264
|
},
|
|
9175
9265
|
{
|
|
9176
9266
|
"classification": "supported",
|
|
@@ -9814,6 +9904,18 @@
|
|
|
9814
9904
|
"name": "readLocatedItem",
|
|
9815
9905
|
"signature": "(item: LocatedItem, options?: { schema?: RuntimeSchemaSettings; extensionFieldNames?: readonly string[]; warnings?: string[]; }) => Promise<{ raw: string; document: ItemDocument; }> | calls: (item: LocatedItem, options?: { schema?: RuntimeSchemaSettings; extensionFieldNames?: readonly string[]; warnings?: string[]; }) => Promise<{ raw: string; document: ItemDocument; }>"
|
|
9816
9906
|
},
|
|
9907
|
+
{
|
|
9908
|
+
"classification": "advanced_export",
|
|
9909
|
+
"kind": "function",
|
|
9910
|
+
"name": "readOutputBudgetCollections",
|
|
9911
|
+
"signature": "(result: Record<string, unknown>) => PmReadOutputRowCollection[] | calls: (result: Record<string, unknown>) => PmReadOutputRowCollection[]"
|
|
9912
|
+
},
|
|
9913
|
+
{
|
|
9914
|
+
"classification": "contract_data",
|
|
9915
|
+
"kind": "function",
|
|
9916
|
+
"name": "readOutputIncludeModeOptions",
|
|
9917
|
+
"signature": "(command: string) => ReadonlyMap<string, string> | calls: (command: string) => ReadonlyMap<string, string>"
|
|
9918
|
+
},
|
|
9817
9919
|
{
|
|
9818
9920
|
"classification": "advanced_export",
|
|
9819
9921
|
"kind": "function",
|
|
@@ -9922,6 +10024,12 @@
|
|
|
9922
10024
|
"name": "reconcileExtensionCapabilityUsage",
|
|
9923
10025
|
"signature": "(loaded: ReadonlyArray<{ layer: ExtensionLayer; name: string; capabilities?: readonly string[]; }>, activation: ExtensionActivationResult) => ExtensionCapabilityUsageReconciliation[] | calls: (loaded: ReadonlyArray<{ layer: ExtensionLayer; name: string; capabilities?: readonly string[]; }>, activation: ExtensionActivationResult) => ExtensionCapabilityUsageReconciliation[]"
|
|
9924
10026
|
},
|
|
10027
|
+
{
|
|
10028
|
+
"classification": "advanced_export",
|
|
10029
|
+
"kind": "function",
|
|
10030
|
+
"name": "reconcileWorkspaceJsonHistory",
|
|
10031
|
+
"signature": "(options: WorkspaceJsonReconciliationOptions) => Promise<{ changed: boolean; entry?: HistoryEntry; historyPath: string; }> | calls: (options: WorkspaceJsonReconciliationOptions) => Promise<{ changed: boolean; entry?: HistoryEntry; historyPath: string; }>"
|
|
10032
|
+
},
|
|
9925
10033
|
{
|
|
9926
10034
|
"classification": "advanced_export",
|
|
9927
10035
|
"kind": "function",
|
|
@@ -10250,13 +10358,13 @@
|
|
|
10250
10358
|
"classification": "supported",
|
|
10251
10359
|
"kind": "interface",
|
|
10252
10360
|
"name": "RelationshipAuditDelta",
|
|
10253
|
-
"signature": "export interface RelationshipAuditDelta { baseline_saved_at: string; same_snapshot: boolean; affected_subjects_by_code: Record<string, number>; profile: { nodes: number; edges: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }; }"
|
|
10361
|
+
"signature": "export interface RelationshipAuditDelta { baseline_saved_at: string; same_snapshot: boolean; affected_subjects_by_code: Record<string, number>; profile: { nodes: number; recorded_nodes?: number; edges: number; informative_edges?: number; redundant_edges?: number; ordering_contradiction_edges?: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }; }"
|
|
10254
10362
|
},
|
|
10255
10363
|
{
|
|
10256
10364
|
"classification": "supported",
|
|
10257
10365
|
"kind": "interface",
|
|
10258
10366
|
"name": "RelationshipAuditFinding",
|
|
10259
|
-
"signature": "export interface RelationshipAuditFinding { code: RelationshipAuditFindingCode; severity: RelationshipAuditSeverity; policy: string; message: string; count: number; sample: string[]; sample_truncated: boolean; remediation: string; }"
|
|
10367
|
+
"signature": "export interface RelationshipAuditFinding { code: RelationshipAuditFindingCode; severity: RelationshipAuditSeverity; policy: string; message: string; count: number; sample: string[]; evidence?: string[]; sample_truncated: boolean; remediation: string; }"
|
|
10260
10368
|
},
|
|
10261
10369
|
{
|
|
10262
10370
|
"classification": "supported",
|
|
@@ -10370,7 +10478,7 @@
|
|
|
10370
10478
|
"classification": "supported",
|
|
10371
10479
|
"kind": "interface",
|
|
10372
10480
|
"name": "RelationshipCoverageProfile",
|
|
10373
|
-
"signature": "export interface RelationshipCoverageProfile { nodes: number; edges: number; edge_basis: \"deduplicated_directed\"; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; articulation_points: number; bridge_edges: number; outcome_nodes: number; active_outcome_reachable_nodes: number; active_outcome_unreachable_nodes: number; active_outcome_reachability_basis_points: number; terminal_nodes: number; terminal_outcome_reachable_nodes: number; terminal_outcome_unreachable_nodes: number; terminal_outcome_reachability_basis_points: number; outcome_reachable_nodes: number; outcome_unreachable_nodes: number; outcome_reachability_basis_points: number; finding_subjects_by_code: Record<RelationshipAuditFindingCode, number>; }"
|
|
10481
|
+
"signature": "export interface RelationshipCoverageProfile { nodes: number; recorded_nodes?: number; edges: number; informative_edges?: number; redundant_edges?: number; ordering_contradiction_edges?: number; edge_basis: \"deduplicated_directed\"; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; articulation_points: number; bridge_edges: number; outcome_nodes: number; active_outcome_reachable_nodes: number; active_outcome_unreachable_nodes: number; active_outcome_reachability_basis_points: number; terminal_nodes: number; terminal_outcome_reachable_nodes: number; terminal_outcome_unreachable_nodes: number; terminal_outcome_reachability_basis_points: number; outcome_reachable_nodes: number; outcome_unreachable_nodes: number; outcome_reachability_basis_points: number; finding_subjects_by_code: Record<RelationshipAuditFindingCode, number>; }"
|
|
10374
10482
|
},
|
|
10375
10483
|
{
|
|
10376
10484
|
"classification": "supported",
|
|
@@ -11518,6 +11626,12 @@
|
|
|
11518
11626
|
"name": "RestoreResult",
|
|
11519
11627
|
"signature": "export interface RestoreResult { item: ItemMetadata; restored_from: { kind: \"version\" | \"timestamp\"; target: string; history_index: number; entry_ts: string; entry_op: string; }; changed_fields: string[]; warnings: string[]; }"
|
|
11520
11628
|
},
|
|
11629
|
+
{
|
|
11630
|
+
"classification": "advanced_export",
|
|
11631
|
+
"kind": "function",
|
|
11632
|
+
"name": "restoreWorkspaceJsonFromHistory",
|
|
11633
|
+
"signature": "(options: WorkspaceJsonRestoreOptions) => Promise<WorkspaceJsonRestoreResult> | calls: (options: WorkspaceJsonRestoreOptions) => Promise<WorkspaceJsonRestoreResult>"
|
|
11634
|
+
},
|
|
11521
11635
|
{
|
|
11522
11636
|
"classification": "advanced_export",
|
|
11523
11637
|
"kind": "function",
|
|
@@ -14476,6 +14590,12 @@
|
|
|
14476
14590
|
"name": "WorkspaceHistoryChange",
|
|
14477
14591
|
"signature": "export interface WorkspaceHistoryChange { pmRoot: string; documentPath: string; before: unknown; after: unknown; op: string; idempotencyKey?: string; author: string; message?: string; lockTtlSeconds: number; lockWaitMs: number; }"
|
|
14478
14592
|
},
|
|
14593
|
+
{
|
|
14594
|
+
"classification": "advanced_export",
|
|
14595
|
+
"kind": "interface",
|
|
14596
|
+
"name": "WorkspaceHistoryStateAgreement",
|
|
14597
|
+
"signature": "export interface WorkspaceHistoryStateAgreement { ok: boolean; document_count: number; matching_documents: string[]; mismatched_documents: string[]; missing_documents: string[]; unreadable_documents: string[]; }"
|
|
14598
|
+
},
|
|
14479
14599
|
{
|
|
14480
14600
|
"classification": "advanced_export",
|
|
14481
14601
|
"kind": "interface",
|
|
@@ -14488,6 +14608,24 @@
|
|
|
14488
14608
|
"name": "WorkspaceJsonMutationOptions",
|
|
14489
14609
|
"signature": "export interface WorkspaceJsonMutationOptions<Result> extends Omit<WorkspaceJsonWriteOptions, \"raw\"> { mutate: (beforeRaw: string | null) => WorkspaceJsonMutation<Result> | Promise<WorkspaceJsonMutation<Result>>; }"
|
|
14490
14610
|
},
|
|
14611
|
+
{
|
|
14612
|
+
"classification": "advanced_export",
|
|
14613
|
+
"kind": "interface",
|
|
14614
|
+
"name": "WorkspaceJsonReconciliationOptions",
|
|
14615
|
+
"signature": "export interface WorkspaceJsonReconciliationOptions extends Omit<WorkspaceJsonWriteOptions, \"raw\" | \"recordCreation\"> { authorizationDecision: string; }"
|
|
14616
|
+
},
|
|
14617
|
+
{
|
|
14618
|
+
"classification": "advanced_export",
|
|
14619
|
+
"kind": "interface",
|
|
14620
|
+
"name": "WorkspaceJsonRestoreOptions",
|
|
14621
|
+
"signature": "export interface WorkspaceJsonRestoreOptions extends Omit<WorkspaceJsonWriteOptions, \"raw\" | \"recordCreation\"> { targetVersion: number; }"
|
|
14622
|
+
},
|
|
14623
|
+
{
|
|
14624
|
+
"classification": "advanced_export",
|
|
14625
|
+
"kind": "interface",
|
|
14626
|
+
"name": "WorkspaceJsonRestoreResult",
|
|
14627
|
+
"signature": "export interface WorkspaceJsonRestoreResult { document_path: string; restored_from_version: number; changed: boolean; }"
|
|
14628
|
+
},
|
|
14491
14629
|
{
|
|
14492
14630
|
"classification": "advanced_export",
|
|
14493
14631
|
"kind": "interface",
|
|
@@ -14552,7 +14690,7 @@
|
|
|
14552
14690
|
"classification": "supported",
|
|
14553
14691
|
"kind": "interface",
|
|
14554
14692
|
"name": "WorkspaceRelationshipAssembly",
|
|
14555
|
-
"signature": "export interface WorkspaceRelationshipAssembly { graph: RelationshipGraph; details: WorkspaceRelationshipNodeDetails[]; missingIdSet: Set<string>; dangling: DanglingDependencyReferenceSummary; duplicateRows: DuplicateDependencyRow[]; legacyAliasCounts: Record<string, number>; }"
|
|
14693
|
+
"signature": "export interface WorkspaceRelationshipAssembly { graph: RelationshipGraph; details: WorkspaceRelationshipNodeDetails[]; missingIdSet: Set<string>; dangling: DanglingDependencyReferenceSummary; duplicateRows: DuplicateDependencyRow[]; orderingContradictions?: OrderingStorageContradiction[]; legacyAliasCounts: Record<string, number>; }"
|
|
14556
14694
|
},
|
|
14557
14695
|
{
|
|
14558
14696
|
"classification": "supported",
|
|
@@ -16138,6 +16276,12 @@
|
|
|
16138
16276
|
"name": "applyReadOutputDimensions",
|
|
16139
16277
|
"signature": "<Result extends Record<string, unknown>>(command: string, options: Record<string, unknown>, result: Result) => PmReadOutputResult<Result> | calls: <Result extends Record<string, unknown>>(command: string, options: Record<string, unknown>, result: Result) => PmReadOutputResult<Result>"
|
|
16140
16278
|
},
|
|
16279
|
+
{
|
|
16280
|
+
"classification": "contract_data",
|
|
16281
|
+
"kind": "function",
|
|
16282
|
+
"name": "applyReadOutputIncludeModes",
|
|
16283
|
+
"signature": "(command: string, includeValue: unknown, commandOptions: Record<string, unknown>) => { selectors: string[]; modes: string[]; } | calls: (command: string, includeValue: unknown, commandOptions: Record<string, unknown>) => { selectors: string[]; modes: string[]; }"
|
|
16284
|
+
},
|
|
16141
16285
|
{
|
|
16142
16286
|
"classification": "contract_data",
|
|
16143
16287
|
"kind": "value",
|
|
@@ -16738,6 +16882,12 @@
|
|
|
16738
16882
|
"name": "NEXT_FLAG_CONTRACTS",
|
|
16739
16883
|
"signature": "CliFlagContract[]"
|
|
16740
16884
|
},
|
|
16885
|
+
{
|
|
16886
|
+
"classification": "contract_data",
|
|
16887
|
+
"kind": "function",
|
|
16888
|
+
"name": "normalizeReadOutputIncludeModeOptions",
|
|
16889
|
+
"signature": "(command: string, options: Record<string, unknown>) => void | calls: (command: string, options: Record<string, unknown>) => void"
|
|
16890
|
+
},
|
|
16741
16891
|
{
|
|
16742
16892
|
"classification": "contract_data",
|
|
16743
16893
|
"kind": "value",
|
|
@@ -16940,7 +17090,7 @@
|
|
|
16940
17090
|
"classification": "contract_data",
|
|
16941
17091
|
"kind": "value",
|
|
16942
17092
|
"name": "PM_READ_OUTPUT_SURFACES",
|
|
16943
|
-
"signature": "readonly [\"list\", \"context\", \"search\", \"get\", \"next\", \"health\", \"deps\", \"graph\", \"history\", \"activity\", \"validate\", \"events\", \"contracts\", \"comments\", \"notes\", \"files\", \"docs\", \"stats\", \"aggregate\", \"package-manage\"]"
|
|
17093
|
+
"signature": "readonly [\"list\", \"context\", \"search\", \"get\", \"next\", \"health\", \"deps\", \"graph\", \"history\", \"activity\", \"validate\", \"events\", \"contracts\", \"comments\", \"notes\", \"files\", \"docs\", \"stats\", \"aggregate\", \"package-manage\", \"comments-audit\", \"assurance\"]"
|
|
16944
17094
|
},
|
|
16945
17095
|
{
|
|
16946
17096
|
"classification": "contract_data",
|
|
@@ -17264,25 +17414,25 @@
|
|
|
17264
17414
|
"classification": "contract_data",
|
|
17265
17415
|
"kind": "interface",
|
|
17266
17416
|
"name": "PmReadOutputLegacyAlias",
|
|
17267
|
-
"signature": "export interface PmReadOutputLegacyAlias { flag: string; migration_hint: string; visibility: \"hidden_alias\"; }"
|
|
17417
|
+
"signature": "export interface PmReadOutputLegacyAlias { flag: string; semantics?: \"replacement\" | \"behavior_preserving\"; migration_hint: string; visibility: \"hidden_alias\"; }"
|
|
17268
17418
|
},
|
|
17269
17419
|
{
|
|
17270
17420
|
"classification": "contract_data",
|
|
17271
17421
|
"kind": "interface",
|
|
17272
17422
|
"name": "PmReadOutputOptions",
|
|
17273
|
-
"signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
|
|
17423
|
+
"signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number | \"unbounded\"; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
|
|
17274
17424
|
},
|
|
17275
17425
|
{
|
|
17276
17426
|
"classification": "contract_data",
|
|
17277
17427
|
"kind": "interface",
|
|
17278
17428
|
"name": "PmReadOutputReceipt",
|
|
17279
|
-
"signature": "export interface PmReadOutputReceipt { contract_version: 1; command: PmReadOutputSurface; requested_dimensions: PmReadOutputDimension[]; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; legacy_aliases_used: string[]; migration_hints: string[]; estimated_tokens: number; within_budget: boolean; strings_compacted: boolean; rows_compacted: boolean; result_omitted: boolean; }"
|
|
17429
|
+
"signature": "export interface PmReadOutputReceipt { contract_version: 1; command: PmReadOutputSurface; requested_dimensions: PmReadOutputDimension[]; budget_source?: \"default\"; budget_tokens?: number; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; legacy_aliases_used: string[]; migration_hints: string[]; estimated_tokens: number; within_budget: boolean; strings_compacted: boolean; rows_compacted: boolean; compacted_row_paths?: string[]; result_omitted: boolean; omitted_result_estimated_tokens?: number; }"
|
|
17280
17430
|
},
|
|
17281
17431
|
{
|
|
17282
17432
|
"classification": "contract_data",
|
|
17283
17433
|
"kind": "type",
|
|
17284
17434
|
"name": "PmReadOutputResult",
|
|
17285
|
-
"signature": "export type PmReadOutputResult<Result> = (Result & { read_output?: PmReadOutputReceipt; read_session?: PmReadOutputSessionReceipt; }) | (PmReadOutputBudgetExceeded & { read_session?: PmReadOutputSessionReceipt; });"
|
|
17435
|
+
"signature": "export type PmReadOutputResult<Result> = (Result & { read_output?: PmReadOutputReceipt; read_session?: PmReadOutputSessionReceipt; output_budget_truncation?: PmReadOutputTruncationDisclosure; }) | (PmReadOutputBudgetExceeded & { read_session?: PmReadOutputSessionReceipt; });"
|
|
17286
17436
|
},
|
|
17287
17437
|
{
|
|
17288
17438
|
"classification": "contract_data",
|
|
@@ -17314,6 +17464,12 @@
|
|
|
17314
17464
|
"name": "PmReadOutputSurfaceContract",
|
|
17315
17465
|
"signature": "export interface PmReadOutputSurfaceContract { command: PmReadOutputSurface; dimensions: Record<PmReadOutputDimension, PmReadOutputDimensionContract>; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; }"
|
|
17316
17466
|
},
|
|
17467
|
+
{
|
|
17468
|
+
"classification": "contract_data",
|
|
17469
|
+
"kind": "interface",
|
|
17470
|
+
"name": "PmReadOutputTruncationDisclosure",
|
|
17471
|
+
"signature": "export interface PmReadOutputTruncationDisclosure { reason: \"output_budget_reached\"; budget_source: PmReadOutputDimensionSource | \"session\"; budget_tokens: number; overridden_dimensions: PmReadOutputDimension[]; compacted_row_paths: string[]; restore_with: string; }"
|
|
17472
|
+
},
|
|
17317
17473
|
{
|
|
17318
17474
|
"classification": "contract_data",
|
|
17319
17475
|
"kind": "interface",
|
|
@@ -17330,7 +17486,7 @@
|
|
|
17330
17486
|
"classification": "contract_data",
|
|
17331
17487
|
"kind": "interface",
|
|
17332
17488
|
"name": "PmResolvedReadOutputDimensions",
|
|
17333
|
-
"signature": "export interface PmResolvedReadOutputDimensions { command: PmReadOutputSurface; include?: PmResolvedReadOutputDimension<string[]>; amount?: PmResolvedReadOutputDimension<number | \"unbounded\">; cost?: PmResolvedReadOutputDimension<number>; encoding?: PmResolvedReadOutputDimension<\"json\" | \"toon\" | \"stream\">; legacy_aliases_used: string[]; migration_hints: string[]; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; }"
|
|
17489
|
+
"signature": "export interface PmResolvedReadOutputDimensions { command: PmReadOutputSurface; include?: PmResolvedReadOutputDimension<string[]>; amount?: PmResolvedReadOutputDimension<number | \"unbounded\">; cost?: PmResolvedReadOutputDimension<number | \"unbounded\">; encoding?: PmResolvedReadOutputDimension<\"json\" | \"toon\" | \"stream\">; legacy_aliases_used: string[]; migration_hints: string[]; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; }"
|
|
17334
17490
|
},
|
|
17335
17491
|
{
|
|
17336
17492
|
"classification": "contract_data",
|
|
@@ -17380,6 +17536,12 @@
|
|
|
17380
17536
|
"name": "readFirstValueFromCommanderOptions",
|
|
17381
17537
|
"signature": "(options: Record<string, unknown>, contract: CommanderOptionAliasContract) => unknown | calls: (options: Record<string, unknown>, contract: CommanderOptionAliasContract) => unknown"
|
|
17382
17538
|
},
|
|
17539
|
+
{
|
|
17540
|
+
"classification": "contract_data",
|
|
17541
|
+
"kind": "function",
|
|
17542
|
+
"name": "readOutputIncludeModeOptions",
|
|
17543
|
+
"signature": "(command: string) => ReadonlyMap<string, string> | calls: (command: string) => ReadonlyMap<string, string>"
|
|
17544
|
+
},
|
|
17383
17545
|
{
|
|
17384
17546
|
"classification": "contract_data",
|
|
17385
17547
|
"kind": "function",
|
|
@@ -18560,25 +18722,25 @@
|
|
|
18560
18722
|
"classification": "supported",
|
|
18561
18723
|
"kind": "interface",
|
|
18562
18724
|
"name": "PmReadOutputLegacyAlias",
|
|
18563
|
-
"signature": "export interface PmReadOutputLegacyAlias { flag: string; migration_hint: string; visibility: \"hidden_alias\"; }"
|
|
18725
|
+
"signature": "export interface PmReadOutputLegacyAlias { flag: string; semantics?: \"replacement\" | \"behavior_preserving\"; migration_hint: string; visibility: \"hidden_alias\"; }"
|
|
18564
18726
|
},
|
|
18565
18727
|
{
|
|
18566
18728
|
"classification": "supported",
|
|
18567
18729
|
"kind": "interface",
|
|
18568
18730
|
"name": "PmReadOutputOptions",
|
|
18569
|
-
"signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
|
|
18731
|
+
"signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number | \"unbounded\"; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
|
|
18570
18732
|
},
|
|
18571
18733
|
{
|
|
18572
18734
|
"classification": "supported",
|
|
18573
18735
|
"kind": "interface",
|
|
18574
18736
|
"name": "PmReadOutputReceipt",
|
|
18575
|
-
"signature": "export interface PmReadOutputReceipt { contract_version: 1; command: PmReadOutputSurface; requested_dimensions: PmReadOutputDimension[]; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; legacy_aliases_used: string[]; migration_hints: string[]; estimated_tokens: number; within_budget: boolean; strings_compacted: boolean; rows_compacted: boolean; result_omitted: boolean; }"
|
|
18737
|
+
"signature": "export interface PmReadOutputReceipt { contract_version: 1; command: PmReadOutputSurface; requested_dimensions: PmReadOutputDimension[]; budget_source?: \"default\"; budget_tokens?: number; precedence: readonly [ \"canonical\", \"legacy\", \"intent\", \"default\" ]; legacy_aliases_used: string[]; migration_hints: string[]; estimated_tokens: number; within_budget: boolean; strings_compacted: boolean; rows_compacted: boolean; compacted_row_paths?: string[]; result_omitted: boolean; omitted_result_estimated_tokens?: number; }"
|
|
18576
18738
|
},
|
|
18577
18739
|
{
|
|
18578
18740
|
"classification": "supported",
|
|
18579
18741
|
"kind": "type",
|
|
18580
18742
|
"name": "PmReadOutputResult",
|
|
18581
|
-
"signature": "export type PmReadOutputResult<Result> = (Result & { read_output?: PmReadOutputReceipt; read_session?: PmReadOutputSessionReceipt; }) | (PmReadOutputBudgetExceeded & { read_session?: PmReadOutputSessionReceipt; });"
|
|
18743
|
+
"signature": "export type PmReadOutputResult<Result> = (Result & { read_output?: PmReadOutputReceipt; read_session?: PmReadOutputSessionReceipt; output_budget_truncation?: PmReadOutputTruncationDisclosure; }) | (PmReadOutputBudgetExceeded & { read_session?: PmReadOutputSessionReceipt; });"
|
|
18582
18744
|
},
|
|
18583
18745
|
{
|
|
18584
18746
|
"classification": "supported",
|
|
@@ -19624,6 +19786,12 @@
|
|
|
19624
19786
|
"name": "collectOrderingCycles",
|
|
19625
19787
|
"signature": "(successors: Map<string, string[]>) => string[][] | calls: (successors: Map<string, string[]>) => string[][]"
|
|
19626
19788
|
},
|
|
19789
|
+
{
|
|
19790
|
+
"classification": "supported",
|
|
19791
|
+
"kind": "function",
|
|
19792
|
+
"name": "collectOrderingStorageContradictions",
|
|
19793
|
+
"signature": "(items: readonly DependencyReferenceHolder[], isTerminal?: (status: ItemStatus) => boolean, registry?: RelationshipKindRegistry) => OrderingStorageContradiction[] | calls: (items: readonly DependencyReferenceHolder[], isTerminal?: (status: ItemStatus) => boolean, registry?: RelationshipKindRegistry) => OrderingStorageContradiction[]"
|
|
19794
|
+
},
|
|
19627
19795
|
{
|
|
19628
19796
|
"classification": "supported",
|
|
19629
19797
|
"kind": "function",
|
|
@@ -19792,6 +19960,12 @@
|
|
|
19792
19960
|
"name": "formatDuplicateEdgeGroup",
|
|
19793
19961
|
"signature": "(group: DuplicateRelationshipEdgeGroup) => string | calls: (group: DuplicateRelationshipEdgeGroup) => string"
|
|
19794
19962
|
},
|
|
19963
|
+
{
|
|
19964
|
+
"classification": "supported",
|
|
19965
|
+
"kind": "function",
|
|
19966
|
+
"name": "formatOrderingStorageContradiction",
|
|
19967
|
+
"signature": "(contradiction: Pick<OrderingStorageContradiction, \"dependency_kind\" | \"holder_id\" | \"target_id\">) => string | calls: (contradiction: Pick<OrderingStorageContradiction, \"holder_id\" | \"target_id\" | \"dependency_kind\">) => string"
|
|
19968
|
+
},
|
|
19795
19969
|
{
|
|
19796
19970
|
"classification": "supported",
|
|
19797
19971
|
"kind": "value",
|
|
@@ -20098,6 +20272,12 @@
|
|
|
20098
20272
|
"name": "orderingPredecessors",
|
|
20099
20273
|
"signature": "(graph: RelationshipGraph, id: string, options?: GraphTraversalOptions) => RelationshipQueryResult<string[]> | calls: (graph: RelationshipGraph, id: string, options?: GraphTraversalOptions) => RelationshipQueryResult<string[]>"
|
|
20100
20274
|
},
|
|
20275
|
+
{
|
|
20276
|
+
"classification": "supported",
|
|
20277
|
+
"kind": "interface",
|
|
20278
|
+
"name": "OrderingStorageContradiction",
|
|
20279
|
+
"signature": "export interface OrderingStorageContradiction { holder_id: string; target_id: string; dependency_kind: string; holder_status: ItemStatus; legacy_terminal: boolean; }"
|
|
20280
|
+
},
|
|
20101
20281
|
{
|
|
20102
20282
|
"classification": "supported",
|
|
20103
20283
|
"kind": "function",
|
|
@@ -20156,13 +20336,13 @@
|
|
|
20156
20336
|
"classification": "supported",
|
|
20157
20337
|
"kind": "interface",
|
|
20158
20338
|
"name": "RelationshipAuditDelta",
|
|
20159
|
-
"signature": "export interface RelationshipAuditDelta { baseline_saved_at: string; same_snapshot: boolean; affected_subjects_by_code: Record<string, number>; profile: { nodes: number; edges: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }; }"
|
|
20339
|
+
"signature": "export interface RelationshipAuditDelta { baseline_saved_at: string; same_snapshot: boolean; affected_subjects_by_code: Record<string, number>; profile: { nodes: number; recorded_nodes?: number; edges: number; informative_edges?: number; redundant_edges?: number; ordering_contradiction_edges?: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; }; }"
|
|
20160
20340
|
},
|
|
20161
20341
|
{
|
|
20162
20342
|
"classification": "supported",
|
|
20163
20343
|
"kind": "interface",
|
|
20164
20344
|
"name": "RelationshipAuditFinding",
|
|
20165
|
-
"signature": "export interface RelationshipAuditFinding { code: RelationshipAuditFindingCode; severity: RelationshipAuditSeverity; policy: string; message: string; count: number; sample: string[]; sample_truncated: boolean; remediation: string; }"
|
|
20345
|
+
"signature": "export interface RelationshipAuditFinding { code: RelationshipAuditFindingCode; severity: RelationshipAuditSeverity; policy: string; message: string; count: number; sample: string[]; evidence?: string[]; sample_truncated: boolean; remediation: string; }"
|
|
20166
20346
|
},
|
|
20167
20347
|
{
|
|
20168
20348
|
"classification": "supported",
|
|
@@ -20276,7 +20456,7 @@
|
|
|
20276
20456
|
"classification": "supported",
|
|
20277
20457
|
"kind": "interface",
|
|
20278
20458
|
"name": "RelationshipCoverageProfile",
|
|
20279
|
-
"signature": "export interface RelationshipCoverageProfile { nodes: number; edges: number; edge_basis: \"deduplicated_directed\"; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; articulation_points: number; bridge_edges: number; outcome_nodes: number; active_outcome_reachable_nodes: number; active_outcome_unreachable_nodes: number; active_outcome_reachability_basis_points: number; terminal_nodes: number; terminal_outcome_reachable_nodes: number; terminal_outcome_unreachable_nodes: number; terminal_outcome_reachability_basis_points: number; outcome_reachable_nodes: number; outcome_unreachable_nodes: number; outcome_reachability_basis_points: number; finding_subjects_by_code: Record<RelationshipAuditFindingCode, number>; }"
|
|
20459
|
+
"signature": "export interface RelationshipCoverageProfile { nodes: number; recorded_nodes?: number; edges: number; informative_edges?: number; redundant_edges?: number; ordering_contradiction_edges?: number; edge_basis: \"deduplicated_directed\"; edges_by_kind: Record<string, number>; edge_share_by_kind: Record<string, number>; semantic_edges: number; semantic_edge_share: number; active_nodes: number; missing_nodes: number; isolated_active_nodes: number; degree_leq_one_active_nodes: number; coverage_by_type: Record<string, RelationshipCoverageTypeProfile>; articulation_points: number; bridge_edges: number; outcome_nodes: number; active_outcome_reachable_nodes: number; active_outcome_unreachable_nodes: number; active_outcome_reachability_basis_points: number; terminal_nodes: number; terminal_outcome_reachable_nodes: number; terminal_outcome_unreachable_nodes: number; terminal_outcome_reachability_basis_points: number; outcome_reachable_nodes: number; outcome_unreachable_nodes: number; outcome_reachability_basis_points: number; finding_subjects_by_code: Record<RelationshipAuditFindingCode, number>; }"
|
|
20280
20460
|
},
|
|
20281
20461
|
{
|
|
20282
20462
|
"classification": "supported",
|
|
@@ -20714,7 +20894,7 @@
|
|
|
20714
20894
|
"classification": "supported",
|
|
20715
20895
|
"kind": "interface",
|
|
20716
20896
|
"name": "WorkspaceRelationshipAssembly",
|
|
20717
|
-
"signature": "export interface WorkspaceRelationshipAssembly { graph: RelationshipGraph; details: WorkspaceRelationshipNodeDetails[]; missingIdSet: Set<string>; dangling: DanglingDependencyReferenceSummary; duplicateRows: DuplicateDependencyRow[]; legacyAliasCounts: Record<string, number>; }"
|
|
20897
|
+
"signature": "export interface WorkspaceRelationshipAssembly { graph: RelationshipGraph; details: WorkspaceRelationshipNodeDetails[]; missingIdSet: Set<string>; dangling: DanglingDependencyReferenceSummary; duplicateRows: DuplicateDependencyRow[]; orderingContradictions?: OrderingStorageContradiction[]; legacyAliasCounts: Record<string, number>; }"
|
|
20718
20898
|
},
|
|
20719
20899
|
{
|
|
20720
20900
|
"classification": "supported",
|
|
@@ -23954,13 +24134,13 @@
|
|
|
23954
24134
|
"classification": "supported",
|
|
23955
24135
|
"kind": "interface",
|
|
23956
24136
|
"name": "PmReadOutputOptions",
|
|
23957
|
-
"signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
|
|
24137
|
+
"signature": "export interface PmReadOutputOptions { outputInclude?: string | string[]; outputLimit?: string | number | \"unbounded\"; outputBudget?: string | number | \"unbounded\"; outputFormat?: \"json\" | \"toon\"; outputSession?: string | PmReadOutputSessionState; outputRowContract?: boolean; }"
|
|
23958
24138
|
},
|
|
23959
24139
|
{
|
|
23960
24140
|
"classification": "supported",
|
|
23961
24141
|
"kind": "type",
|
|
23962
24142
|
"name": "PmReadOutputResult",
|
|
23963
|
-
"signature": "export type PmReadOutputResult<Result> = (Result & { read_output?: PmReadOutputReceipt; read_session?: PmReadOutputSessionReceipt; }) | (PmReadOutputBudgetExceeded & { read_session?: PmReadOutputSessionReceipt; });"
|
|
24143
|
+
"signature": "export type PmReadOutputResult<Result> = (Result & { read_output?: PmReadOutputReceipt; read_session?: PmReadOutputSessionReceipt; output_budget_truncation?: PmReadOutputTruncationDisclosure; }) | (PmReadOutputBudgetExceeded & { read_session?: PmReadOutputSessionReceipt; });"
|
|
23964
24144
|
},
|
|
23965
24145
|
{
|
|
23966
24146
|
"classification": "supported",
|