@unbrained/pm-cli 2026.11.8 → 2026.11.10
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 +1 -1
- package/CHANGELOG.md +31 -0
- package/dist/cli/error-guidance.js +4 -4
- package/dist/cli/main.js +1 -1
- package/dist/cli/public.d.ts +1 -1
- package/dist/cli/register-history-maintenance.js +2 -2
- package/dist/cli/register-setup.js +1 -1
- package/dist/cli/runtime/projection-retry.js +1 -1
- package/dist/cli/runtime/read-output-mutation-retry.js +2 -0
- package/dist/cli-bundle/bundle-manifest.json +1 -1
- package/dist/cli-bundle/chunks/{chunk-NKO42JMT.js → chunk-4AASUCHO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-7GC6WIDR.js → chunk-4FLAKTZW.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-5CAMQHEW.js +3 -0
- package/dist/cli-bundle/chunks/{chunk-NH7QX2M2.js → chunk-7NAAW5EX.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-BSJSGDA3.js +3 -0
- package/dist/cli-bundle/chunks/{chunk-DOHZKPPC.js → chunk-CZETQYKO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YUTFMHSG.js → chunk-D727C4RO.js} +33 -33
- package/dist/cli-bundle/chunks/{chunk-XBUZENP4.js → chunk-EHDGHFMJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-L5BU5FYN.js → chunk-F6FBGLR7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MKW5LGVQ.js → chunk-F7P2NZEG.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-7V6I6X4G.js → chunk-FYD6LSJA.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-L4WWG2H6.js +6 -0
- package/dist/cli-bundle/chunks/{chunk-S4IZIMAO.js → chunk-NNE63MSM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HESIRIVX.js → chunk-NZAFLDSH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Z3LWNF7C.js → chunk-OJ2KEDUX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4BMPGUTG.js → chunk-T2MNRM3S.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YGUUJHSR.js → chunk-TBBWPEF5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-C4MQFWCM.js → chunk-U7LILCUN.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-UFPLZ6LZ.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-CP43BHX3.js → chunk-UL64P6MR.js} +29 -29
- package/dist/cli-bundle/chunks/chunk-WNEUWDUE.js +116 -0
- package/dist/cli-bundle/chunks/{chunk-RC6SSFOF.js → chunk-X7NM5HVQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-LI2HP5OX.js → chunk-YSWD2NXB.js} +2 -2
- package/dist/cli-bundle/chunks/item-revision-M7KXLQXF.js +2 -0
- package/dist/cli-bundle/chunks/item-transaction-4N5P34GO.js +2 -0
- package/dist/cli-bundle/chunks/{mutation-admission-FJ3D66PV.js → mutation-admission-374UR7NI.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-GXP77CX7.js → register-list-query-GSB7PP5P.js} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-XJ2DROUM.js → register-mutation-ZBF6ITYK.js} +2 -2
- package/dist/cli-bundle/chunks/{register-operations-O5LERXM7.js → register-operations-PWF6GOHE.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-4VOTYLL2.js → register-setup-QDZ2Y3CI.js} +2 -2
- package/dist/cli-bundle/chunks/{stage-ZDJL3FGL.js → stage-67WGPKPH.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-Z2QWZRSL.js → chunk-2SQUWQP3.js} +18 -18
- package/dist/cli-bundle/focused-chunks/{chunk-P4EHEH4C.js → chunk-2Y4H4LIX.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-WPXMPGTY.js → chunk-3DWNH72D.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-3K2MYE7R.js +26 -0
- package/dist/cli-bundle/focused-chunks/{chunk-LTPT5TE7.js → chunk-56MIAFEN.js} +20 -20
- package/dist/cli-bundle/focused-chunks/{chunk-3HFENALW.js → chunk-67M7E2Z3.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-6U5HP6L3.js → chunk-ALLOWZSH.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-I4YUZW3J.js → chunk-BE2GK2G7.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-KNF2QTEZ.js → chunk-HTMQDNVC.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-UUVRYIKA.js → chunk-LWMPQRJT.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-O7K3X4LH.js → chunk-LY3JXL25.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-DIEBSC76.js → chunk-NZQYHPUN.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-5YPX3QKU.js → chunk-PAGW6A2X.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-QCHCEFTO.js +12 -0
- package/dist/cli-bundle/focused-chunks/{chunk-4UOXVFJZ.js → chunk-QHGGO7SY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-QK7FX4O5.js +44 -0
- package/dist/cli-bundle/focused-chunks/{chunk-SZ2BKK3M.js → chunk-RFMKS7VD.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-U7HWWEJ2.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-UIZVD36C.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-ULTSMJYF.js → chunk-WJHDUON5.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-TSHRBPTI.js → chunk-WK773UVA.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZBOCYFBE.js +82 -0
- package/dist/cli-bundle/focused-chunks/item-revision-XC4ZJ7MY.js +2 -0
- package/dist/cli-bundle/focused-chunks/{item-transaction-Q2Z7DDCR.js → item-transaction-CVGK4RJP.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{mutation-admission-QWC6MLTZ.js → mutation-admission-N27D5H64.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{stage-NKH5SKSZ.js → stage-KPK2UHVO.js} +2 -2
- package/dist/cli-bundle/main.js +26 -26
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +4 -4
- package/dist/cli-bundle/sdk-core.js +1 -1
- 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 +57 -57
- 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 +9 -9
- package/dist/core/checkpoint/mutation-checkpoint.d.ts +12 -20
- package/dist/core/config/nested-settings.d.ts +14 -45
- package/dist/core/config/nested-settings.js +1 -1
- package/dist/core/config/positional-value.d.ts +11 -14
- package/dist/core/config/positional-value.js +1 -1
- package/dist/core/extensions/activation-summary-markdown.d.ts +4 -5
- package/dist/core/extensions/activation-summary.d.ts +7 -15
- package/dist/core/extensions/capability-usage.d.ts +7 -23
- package/dist/core/extensions/command-hook-context.d.ts +4 -7
- package/dist/core/extensions/command-metadata-contract.d.ts +2 -2
- package/dist/core/extensions/contribution-inventory.d.ts +3 -25
- package/dist/core/extensions/extension-capability-aliases.d.ts +7 -10
- package/dist/core/extensions/extension-hook-runtime.d.ts +2 -2
- package/dist/core/extensions/extension-policy.d.ts +12 -47
- package/dist/core/extensions/extension-registries.d.ts +2 -2
- package/dist/core/extensions/extension-types.d.ts +332 -545
- package/dist/core/extensions/flag-definition-validation.d.ts +11 -13
- package/dist/core/extensions/flag-value-types.d.ts +11 -13
- package/dist/core/extensions/index.d.ts +15 -20
- package/dist/core/extensions/item-field-types.d.ts +5 -5
- package/dist/core/extensions/item-fields.d.ts +4 -7
- package/dist/core/extensions/loader.d.ts +5 -69
- package/dist/core/extensions/manifest-parser.d.ts +3 -3
- package/dist/core/extensions/manifest-schema.d.ts +10 -13
- package/dist/core/extensions/registration-contracts.d.ts +2 -4
- package/dist/core/extensions/registration-validation.d.ts +1 -1
- package/dist/core/extensions/registration-values.d.ts +5 -7
- package/dist/core/extensions/runtime-registrations.d.ts +6 -6
- package/dist/core/extensions/version-compat.d.ts +9 -10
- package/dist/core/fs/fs-utils.d.ts +4 -6
- package/dist/core/fs/host-environment-errors.d.ts +8 -10
- package/dist/core/governance/content-fields.d.ts +10 -14
- package/dist/core/governance/issue-codes.d.ts +12 -18
- package/dist/core/governance/metadata-coverage.d.ts +24 -34
- package/dist/core/history/digest.d.ts +3 -3
- package/dist/core/history/event-classification.d.ts +5 -5
- package/dist/core/history/event-index.d.ts +14 -35
- package/dist/core/history/history-compact-bulk.d.ts +10 -13
- package/dist/core/history/history-diff.d.ts +6 -11
- package/dist/core/history/history-rewrite.d.ts +24 -40
- package/dist/core/history/history-storage-stats.d.ts +9 -17
- package/dist/core/history/history-stream-policy.d.ts +8 -11
- package/dist/core/history/history.d.ts +10 -44
- package/dist/core/history/identity.d.ts +4 -5
- package/dist/core/history/operation-contract.d.ts +5 -15
- package/dist/core/history/projection.d.ts +10 -14
- package/dist/core/history/read.d.ts +6 -7
- package/dist/core/history/replay.d.ts +16 -37
- package/dist/core/history/workspace-history.d.ts +27 -60
- package/dist/core/io/body-file.d.ts +2 -2
- package/dist/core/io/bulk-ids-input.d.ts +7 -8
- package/dist/core/item/actionability.d.ts +16 -22
- package/dist/core/item/dependency-reference.d.ts +2 -2
- package/dist/core/item/id.d.ts +5 -9
- package/dist/core/item/item-format-version.d.ts +11 -13
- package/dist/core/item/item-format.d.ts +20 -60
- package/dist/core/item/item-format.js +1 -1
- package/dist/core/item/item-record.d.ts +2 -2
- package/dist/core/item/literal-mutation-input.d.ts +2 -2
- package/dist/core/item/parent-reference-policy.d.ts +4 -7
- package/dist/core/item/parse.d.ts +10 -26
- package/dist/core/item/plan-lifecycle.d.ts +3 -3
- package/dist/core/item/priority.d.ts +2 -2
- package/dist/core/item/sprint-release-format.d.ts +3 -7
- package/dist/core/item/status-filter.d.ts +5 -7
- package/dist/core/item/status.d.ts +3 -4
- package/dist/core/item/type-registry.d.ts +17 -24
- package/dist/core/item/type-synonyms.d.ts +1 -1
- package/dist/core/lock/lock-owner.d.ts +8 -10
- package/dist/core/lock/lock.d.ts +19 -67
- package/dist/core/output/output-control.d.ts +5 -6
- package/dist/core/output/output.d.ts +18 -20
- package/dist/core/output/output.js +4 -4
- package/dist/core/output/tabular.d.ts +2 -2
- package/dist/core/packages/manifest.d.ts +13 -17
- package/dist/core/packages/root.d.ts +3 -3
- package/dist/core/policy/workflow-policy-schema.d.ts +2 -310
- package/dist/core/policy/workflow-policy-store.d.ts +5 -14
- package/dist/core/policy/workflow-policy.d.ts +25 -52
- package/dist/core/profile/profile-describe.d.ts +8 -11
- package/dist/core/profile/profile-lint.d.ts +11 -13
- package/dist/core/profile/profile-plan.d.ts +30 -49
- package/dist/core/profile/profile-presets.d.ts +25 -36
- package/dist/core/reproducibility/context.d.ts +6 -7
- package/dist/core/schema/fields-file.d.ts +14 -21
- package/dist/core/schema/item-types-file.d.ts +16 -22
- package/dist/core/schema/runtime-field-filters.d.ts +2 -2
- package/dist/core/schema/runtime-field-values.d.ts +6 -13
- package/dist/core/schema/runtime-schema.d.ts +19 -31
- package/dist/core/schema/status-defs-file.d.ts +15 -25
- package/dist/core/schema/status-token.d.ts +1 -1
- package/dist/core/schema/type-inference.d.ts +6 -8
- package/dist/core/schema/type-presets.d.ts +5 -5
- package/dist/core/schema/type-workflows.d.ts +11 -16
- package/dist/core/search/background-refresh.d.ts +6 -12
- package/dist/core/search/bm25.d.ts +11 -19
- package/dist/core/search/cache.d.ts +19 -41
- package/dist/core/search/corpus.d.ts +16 -19
- package/dist/core/search/corpus.js +1 -1
- package/dist/core/search/embedding-batches.d.ts +12 -17
- package/dist/core/search/eval-thresholds.d.ts +3 -3
- package/dist/core/search/eval.d.ts +16 -34
- package/dist/core/search/http-client.d.ts +14 -18
- package/dist/core/search/providers.d.ts +22 -39
- package/dist/core/search/relevance.d.ts +14 -19
- package/dist/core/search/semantic-defaults.d.ts +4 -5
- package/dist/core/search/vector-stores.d.ts +35 -57
- package/dist/core/search/vectorization-metadata.d.ts +9 -11
- package/dist/core/sentry/helpers.d.ts +6 -31
- package/dist/core/sentry/instrument.d.ts +6 -59
- package/dist/core/session/session-state.d.ts +12 -32
- package/dist/core/shared/agent-session-context.d.ts +10 -17
- package/dist/core/shared/author.d.ts +48 -69
- package/dist/core/shared/command-line.d.ts +3 -3
- package/dist/core/shared/command-types.d.ts +3 -4
- package/dist/core/shared/constants.d.ts +14 -32
- package/dist/core/shared/error-details.d.ts +5 -18
- package/dist/core/shared/errors.d.ts +42 -83
- package/dist/core/shared/html-entity-decode.d.ts +1 -1
- package/dist/core/shared/item-metadata-contract.d.ts +2 -2
- package/dist/core/shared/lazy-module.d.ts +1 -1
- package/dist/core/shared/levenshtein.d.ts +1 -1
- package/dist/core/shared/numeric-parsers.d.ts +1 -1
- package/dist/core/shared/option-alias-visibility.d.ts +2 -2
- package/dist/core/shared/output-unicode.d.ts +1 -1
- package/dist/core/shared/primitives.d.ts +10 -10
- package/dist/core/shared/secret-rules.d.ts +7 -93
- package/dist/core/shared/serial-queue.d.ts +7 -9
- package/dist/core/shared/serialization.d.ts +1 -1
- package/dist/core/shared/split-comma-list.d.ts +4 -5
- package/dist/core/shared/text-normalization.d.ts +1 -1
- package/dist/core/shared/time.d.ts +6 -20
- package/dist/core/store/item-format-migration.d.ts +4 -5
- package/dist/core/store/item-metadata-cache.d.ts +22 -27
- package/dist/core/store/item-metadata-query-index.d.ts +20 -61
- package/dist/core/store/item-metadata-read-work.d.ts +3 -7
- package/dist/core/store/item-mutation-precondition.d.ts +19 -35
- package/dist/core/store/item-store.d.ts +18 -141
- package/dist/core/store/paths.d.ts +5 -10
- package/dist/core/store/settings-read-cache.d.ts +7 -9
- package/dist/core/store/settings-sections.d.ts +15 -19
- package/dist/core/store/settings-validator.d.ts +27 -143
- package/dist/core/store/settings-validator.js +1 -1
- package/dist/core/store/settings.d.ts +19 -94
- package/dist/core/store/sqlite-runtime.d.ts +3 -3
- package/dist/core/store/tracker-preflight.d.ts +2 -2
- package/dist/core/telemetry/consent.d.ts +2 -2
- package/dist/core/telemetry/observability.d.ts +8 -19
- package/dist/core/telemetry/policy.d.ts +8 -23
- package/dist/core/telemetry/runtime.d.ts +44 -254
- package/dist/core/test/background-runs.d.ts +35 -79
- package/dist/core/test/run-selectors.d.ts +10 -12
- package/dist/core/validate/fix-planning.d.ts +19 -28
- package/dist/core/validate/missing-by-type.d.ts +3 -4
- package/dist/core/validate/missing-link-owners.d.ts +12 -16
- package/dist/core/validate/stale-file-classification.d.ts +5 -6
- package/dist/mcp/tool-definitions.d.ts +7 -30
- package/dist/mcp/tool-definitions.js +1 -1
- package/dist/sdk/actionability.d.ts +1 -1
- package/dist/sdk/agent/closed-domain-contracts.d.ts +4 -5
- package/dist/sdk/agent/command-recovery.d.ts +9 -13
- package/dist/sdk/agent/command-suggestions.d.ts +2 -2
- package/dist/sdk/agent/create-option-policy.d.ts +2 -2
- package/dist/sdk/agent/identity-config.d.ts +13 -18
- package/dist/sdk/agent/item-addressing.d.ts +4 -5
- package/dist/sdk/agent/linked-resource-recovery.d.ts +3 -4
- package/dist/sdk/agent/refusal-closure-census.d.ts +13 -25
- package/dist/sdk/agent/refusal-closure.d.ts +8 -11
- package/dist/sdk/agent/refusal-corpus-contracts.d.ts +15 -21
- package/dist/sdk/agent/refusal-reachability.d.ts +38 -52
- package/dist/sdk/agent/subcommand-recovery.d.ts +7 -15
- package/dist/sdk/agent/task-transcript-contracts.d.ts +12 -15
- package/dist/sdk/agent/tracker-preflight-contracts.d.ts +13 -17
- package/dist/sdk/agent-capability-contracts.d.ts +19 -32
- package/dist/sdk/agent-session-context.d.ts +1 -1
- package/dist/sdk/annotations.d.ts +32 -68
- package/dist/sdk/annotations.js +1 -1
- package/dist/sdk/author-attribution.d.ts +22 -33
- package/dist/sdk/authoring.d.ts +1 -19
- package/dist/sdk/cli-bootstrap.d.ts +22 -59
- package/dist/sdk/cli-contracts/agent-output-contracts.d.ts +31 -57
- package/dist/sdk/cli-contracts/command-aliases.d.ts +7 -8
- package/dist/sdk/cli-contracts/command-exit-contracts.d.ts +19 -65
- package/dist/sdk/cli-contracts/commander-mutation-options.d.ts +2 -2
- package/dist/sdk/cli-contracts/commander-types.d.ts +6 -11
- package/dist/sdk/cli-contracts/completeness.d.ts +11 -15
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +25 -37
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +16 -20
- package/dist/sdk/cli-contracts/flag-lexicon-contracts.d.ts +14 -19
- package/dist/sdk/cli-contracts/grammar-contracts.d.ts +29 -47
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +44 -265
- package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +11 -564
- package/dist/sdk/cli-contracts/tool-schema.d.ts +18 -51
- package/dist/sdk/cli-contracts/typed-action-inputs.d.ts +18 -37
- package/dist/sdk/cli-contracts.d.ts +1 -16
- package/dist/sdk/cli-program.d.ts +2 -2
- package/dist/sdk/command-line.d.ts +3 -4
- package/dist/sdk/comments.d.ts +6 -10
- package/dist/sdk/compile-cache.d.ts +4 -5
- package/dist/sdk/completion/bash.d.ts +2 -2
- package/dist/sdk/completion/fish.d.ts +2 -2
- package/dist/sdk/completion/shared.d.ts +10 -77
- package/dist/sdk/completion/shared.js +1 -1
- package/dist/sdk/completion/zsh.d.ts +2 -2
- package/dist/sdk/completion.d.ts +2 -6
- package/dist/sdk/compose.d.ts +49 -74
- package/dist/sdk/config.d.ts +18 -94
- package/dist/sdk/config.js +1 -1
- package/dist/sdk/context/recency.d.ts +2 -2
- package/dist/sdk/context/semantic-session-attribution.d.ts +6 -25
- package/dist/sdk/context/usage-ledger.d.ts +9 -21
- package/dist/sdk/context-intent-contracts.d.ts +24 -35
- package/dist/sdk/context-intent-runtime.d.ts +7 -9
- package/dist/sdk/context-packing.d.ts +16 -34
- package/dist/sdk/context-relevance.d.ts +58 -93
- package/dist/sdk/context-signal-store.d.ts +29 -60
- package/dist/sdk/context-usage.d.ts +22 -69
- package/dist/sdk/contracts.d.ts +1 -24
- package/dist/sdk/core-governance.d.ts +1 -5
- package/dist/sdk/core.d.ts +1 -27
- package/dist/sdk/corpus-shape.d.ts +16 -28
- package/dist/sdk/define.d.ts +10 -14
- package/dist/sdk/dependencies.d.ts +32 -50
- package/dist/sdk/dependency-provenance.d.ts +19 -23
- package/dist/sdk/docs.d.ts +6 -10
- package/dist/sdk/duplicates.d.ts +8 -15
- package/dist/sdk/environment/agent-environment.d.ts +60 -101
- package/dist/sdk/environment/host-environment-errors.d.ts +1 -1
- package/dist/sdk/environment/project-runtime-compatibility.d.ts +15 -29
- package/dist/sdk/environment/source-context.d.ts +6 -7
- package/dist/sdk/environment/tracker-preflight.d.ts +1 -1
- package/dist/sdk/error-code-catalog.d.ts +9 -26
- package/dist/sdk/error-runtime.d.ts +6 -8
- package/dist/sdk/errors.d.ts +10 -17
- package/dist/sdk/eval.d.ts +11 -21
- package/dist/sdk/extension/command-options.d.ts +14 -26
- package/dist/sdk/extension/describe.d.ts +14 -19
- package/dist/sdk/extension/doctor.d.ts +8 -48
- package/dist/sdk/extension/install-plan.d.ts +12 -26
- package/dist/sdk/extension/install-runtime.d.ts +10 -11
- package/dist/sdk/extension/install-sources.d.ts +22 -104
- package/dist/sdk/extension/managed-state.d.ts +13 -18
- package/dist/sdk/extension/migrations.d.ts +22 -37
- package/dist/sdk/extension/output-ownership.d.ts +3 -30
- package/dist/sdk/extension/shared.d.ts +9 -15
- package/dist/sdk/extension/source-resolution.d.ts +13 -18
- package/dist/sdk/extension/static-inventory.d.ts +17 -21
- package/dist/sdk/extension/update-check.d.ts +7 -11
- package/dist/sdk/extension-command-context.d.ts +2 -3
- package/dist/sdk/extension-contracts.d.ts +11 -14
- package/dist/sdk/extension.d.ts +31 -192
- package/dist/sdk/files.d.ts +27 -68
- package/dist/sdk/flag-invocation-contracts.d.ts +13 -17
- package/dist/sdk/generated/error-code-catalog-rows.js +1 -1
- package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
- package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -1
- package/dist/sdk/generated-error-code-catalog.d.ts +1 -1
- package/dist/sdk/governance/artifact-ledgers.d.ts +9 -16
- package/dist/sdk/governance/assurance-action-contracts.d.ts +1 -1
- package/dist/sdk/governance/assurance-action.d.ts +13 -45
- package/dist/sdk/governance/assurance-mutation-error.d.ts +12 -17
- package/dist/sdk/governance/assurance-presets.d.ts +10 -21
- package/dist/sdk/governance/assurance-runtime.d.ts +5 -6
- package/dist/sdk/governance/assurance.d.ts +97 -154
- package/dist/sdk/governance/boundary-fixtures.d.ts +17 -23
- package/dist/sdk/governance/closure-timestamps.d.ts +5 -15
- package/dist/sdk/governance/coverage-assurance.d.ts +5 -6
- package/dist/sdk/governance/defect-recurrence-coverage.d.ts +13 -23
- package/dist/sdk/governance/defect-recurrence-graph.d.ts +9 -13
- package/dist/sdk/governance/defect-recurrence.d.ts +43 -67
- package/dist/sdk/governance/extension-host-version.d.ts +8 -10
- package/dist/sdk/governance/gc.d.ts +12 -20
- package/dist/sdk/governance/health/projection.d.ts +8 -23
- package/dist/sdk/governance/health.d.ts +23 -167
- package/dist/sdk/governance/hierarchy-validation.d.ts +2 -18
- package/dist/sdk/governance/linked-file-report.d.ts +6 -10
- package/dist/sdk/governance/merge-receipt-history.d.ts +12 -16
- package/dist/sdk/governance/provenance-health.d.ts +17 -23
- package/dist/sdk/governance/reindex.d.ts +13 -116
- package/dist/sdk/governance/reliability.d.ts +13 -17
- package/dist/sdk/governance/stale-work.d.ts +8 -11
- package/dist/sdk/governance/status-role-diagnostics.d.ts +4 -6
- package/dist/sdk/governance/storage-integrity.d.ts +16 -23
- package/dist/sdk/governance/upgrade.d.ts +17 -57
- package/dist/sdk/governance/validate-item-reader.d.ts +3 -11
- package/dist/sdk/governance/validate-normalization.d.ts +2 -2
- package/dist/sdk/governance/validate.d.ts +29 -175
- package/dist/sdk/governance/workflow-completeness.d.ts +5 -17
- package/dist/sdk/governance/workflow-policy.d.ts +8 -16
- package/dist/sdk/governance/workspace-position.d.ts +12 -43
- package/dist/sdk/governance.d.ts +1 -39
- package/dist/sdk/graph/adapter.d.ts +23 -41
- package/dist/sdk/graph/analytics.d.ts +20 -31
- package/dist/sdk/graph/assembly.d.ts +24 -35
- package/dist/sdk/graph/cache.d.ts +13 -25
- package/dist/sdk/graph/cardinality-integrity.d.ts +4 -6
- package/dist/sdk/graph/centrality.d.ts +14 -20
- package/dist/sdk/graph/conformance.d.ts +12 -19
- package/dist/sdk/graph/deadline-scheduling.d.ts +14 -20
- package/dist/sdk/graph/durable-cache.d.ts +11 -14
- package/dist/sdk/graph/governance-contracts.d.ts +2 -2
- package/dist/sdk/graph/governance.d.ts +22 -36
- package/dist/sdk/graph/hierarchy-integrity.d.ts +18 -26
- package/dist/sdk/graph/index.d.ts +1 -17
- package/dist/sdk/graph/lifecycle-coverage.d.ts +8 -12
- package/dist/sdk/graph/mutation-advisory.d.ts +5 -16
- package/dist/sdk/graph/query-contracts.d.ts +1 -2
- package/dist/sdk/graph/remediation.d.ts +11 -18
- package/dist/sdk/graph/run.d.ts +73 -115
- package/dist/sdk/graph/scheduling.d.ts +8 -15
- package/dist/sdk/graph/traversal.d.ts +9 -15
- package/dist/sdk/graph/workspace-relationship-kind-registry.d.ts +2 -2
- package/dist/sdk/graph.d.ts +1 -12
- package/dist/sdk/guide-topics.d.ts +7 -10
- package/dist/sdk/guide.d.ts +21 -43
- package/dist/sdk/history/attestation-command.d.ts +7 -10
- package/dist/sdk/history/attestation-contract.d.ts +19 -34
- package/dist/sdk/history/attestation.d.ts +2 -3
- package/dist/sdk/history/maintenance.d.ts +17 -27
- package/dist/sdk/history/salvage.d.ts +5 -22
- package/dist/sdk/history/subject.d.ts +5 -11
- package/dist/sdk/history-analytics.d.ts +28 -59
- package/dist/sdk/history-compact.d.ts +25 -66
- package/dist/sdk/history-provenance.d.ts +16 -33
- package/dist/sdk/history-read.d.ts +9 -16
- package/dist/sdk/history-redact.d.ts +19 -74
- package/dist/sdk/history-redact.js +1 -1
- package/dist/sdk/history-repair.d.ts +26 -71
- package/dist/sdk/improvement-ledger-validation.d.ts +2 -2
- package/dist/sdk/improvement-ledger.d.ts +20 -39
- package/dist/sdk/index.d.ts +1 -268
- package/dist/sdk/init-agent-guidance.d.ts +13 -68
- package/dist/sdk/init.d.ts +24 -94
- package/dist/sdk/invocation-author.d.ts +1 -1
- package/dist/sdk/item-children.d.ts +10 -13
- package/dist/sdk/item-metadata-index.d.ts +1 -2
- package/dist/sdk/item-schedule.d.ts +8 -9
- package/dist/sdk/item-transaction.d.ts +46 -90
- package/dist/sdk/learnings.d.ts +6 -10
- package/dist/sdk/lifecycle/append.d.ts +7 -9
- package/dist/sdk/lifecycle/claim.d.ts +26 -42
- package/dist/sdk/lifecycle/cli-input.d.ts +1 -1
- package/dist/sdk/lifecycle/close-many.d.ts +14 -65
- package/dist/sdk/lifecycle/close.d.ts +10 -26
- package/dist/sdk/lifecycle/copy.d.ts +6 -10
- package/dist/sdk/lifecycle/create.d.ts +15 -83
- package/dist/sdk/lifecycle/delete.d.ts +7 -9
- package/dist/sdk/lifecycle/focus.d.ts +9 -11
- package/dist/sdk/lifecycle/item-revision.d.ts +31 -45
- package/dist/sdk/lifecycle/item-revision.js +1 -1
- package/dist/sdk/lifecycle/lifecycle-transitions.d.ts +4 -5
- package/dist/sdk/lifecycle/mutation-command-options.d.ts +6 -9
- package/dist/sdk/lifecycle/plan-mutation-receipt.d.ts +5 -13
- package/dist/sdk/lifecycle/plan.d.ts +34 -74
- package/dist/sdk/lifecycle/reopen.d.ts +8 -14
- package/dist/sdk/lifecycle/restore.d.ts +9 -38
- package/dist/sdk/lifecycle/shared-unset-fields.d.ts +23 -614
- package/dist/sdk/lifecycle/start-blockers.d.ts +7 -27
- package/dist/sdk/lifecycle/structured-mutation-plan.d.ts +8 -16
- package/dist/sdk/lifecycle/task-composition.d.ts +6 -14
- package/dist/sdk/lifecycle/update-many.d.ts +15 -65
- package/dist/sdk/lifecycle/update.d.ts +21 -104
- package/dist/sdk/lifecycle/workflow-transition.d.ts +2 -11
- package/dist/sdk/lifecycle-completion.d.ts +11 -14
- package/dist/sdk/lifecycle-policy.d.ts +23 -32
- package/dist/sdk/linked-artifacts.d.ts +31 -41
- package/dist/sdk/mcp/apps.d.ts +12 -27
- package/dist/sdk/mcp/authorization.d.ts +30 -63
- package/dist/sdk/mcp/discovery.d.ts +23 -52
- package/dist/sdk/mcp/executable.d.ts +3 -10
- package/dist/sdk/mcp/interactions.d.ts +25 -47
- package/dist/sdk/mcp/protocol.d.ts +32 -64
- package/dist/sdk/mcp/skills.d.ts +21 -71
- package/dist/sdk/mcp/subscriptions.d.ts +14 -28
- package/dist/sdk/mcp/tasks.d.ts +21 -55
- package/dist/sdk/mcp/transport.d.ts +7 -15
- package/dist/sdk/merge/driver.d.ts +13 -37
- package/dist/sdk/merge/index.d.ts +1 -6
- package/dist/sdk/merge/install.d.ts +27 -55
- package/dist/sdk/merge/receipt-operation.d.ts +5 -6
- package/dist/sdk/merge/receipt-schema.d.ts +6 -9
- package/dist/sdk/merge/receipts.d.ts +29 -79
- package/dist/sdk/merge/reconcile.d.ts +9 -18
- package/dist/sdk/merge/three-way.d.ts +21 -30
- package/dist/sdk/merge.d.ts +1 -5
- package/dist/sdk/mutation-events.d.ts +21 -53
- package/dist/sdk/mutation-guard.d.ts +15 -135
- package/dist/sdk/notes.d.ts +6 -10
- package/dist/sdk/output/fit-envelope.d.ts +21 -28
- package/dist/sdk/output/list-envelope.d.ts +1 -1
- package/dist/sdk/output/table-rows.d.ts +8 -12
- package/dist/sdk/output-contracts.d.ts +11 -14
- package/dist/sdk/output-projection.d.ts +18 -130
- package/dist/sdk/output-token-accounting.d.ts +8 -15
- package/dist/sdk/output.d.ts +10 -15
- package/dist/sdk/ownership-source.d.ts +4 -5
- package/dist/sdk/package-import-adapters.d.ts +27 -37
- package/dist/sdk/package-migrations.d.ts +2 -2
- package/dist/sdk/package-runtime-options.d.ts +3 -3
- package/dist/sdk/pagination.d.ts +12 -24
- package/dist/sdk/profile.d.ts +25 -42
- package/dist/sdk/provenance.d.ts +21 -32
- package/dist/sdk/public-surface.json +1 -1
- package/dist/sdk/query/activity.d.ts +24 -77
- package/dist/sdk/query/aggregate.d.ts +20 -95
- package/dist/sdk/query/calendar.d.ts +26 -74
- package/dist/sdk/query/complete-list.d.ts +19 -35
- package/dist/sdk/query/context.d.ts +69 -240
- package/dist/sdk/query/declared-blockers.d.ts +2 -9
- package/dist/sdk/query/duplicate-candidates.d.ts +3 -5
- package/dist/sdk/query/get-facet-roots.js +2 -0
- package/dist/sdk/query/get.d.ts +13 -55
- package/dist/sdk/query/get.js +1 -1
- package/dist/sdk/query/history.d.ts +18 -29
- package/dist/sdk/query/item-filter-options.d.ts +7 -12
- package/dist/sdk/query/list-filter-shared.d.ts +4 -8
- package/dist/sdk/query/list.d.ts +44 -168
- package/dist/sdk/query/multi-value-filters.d.ts +7 -9
- package/dist/sdk/query/next-ranking-policy.d.ts +4 -10
- package/dist/sdk/query/next-ready-budget.d.ts +4 -5
- package/dist/sdk/query/next.d.ts +27 -86
- package/dist/sdk/query/parsers.d.ts +4 -6
- package/dist/sdk/query/projection-contracts.d.ts +12 -21
- package/dist/sdk/query/search/corpus.d.ts +5 -20
- package/dist/sdk/query/search/filters.d.ts +5 -17
- package/dist/sdk/query/search/input.d.ts +4 -9
- package/dist/sdk/query/search/lexical.d.ts +5 -9
- package/dist/sdk/query/search/response.d.ts +5 -22
- package/dist/sdk/query/search/semantic.d.ts +24 -170
- package/dist/sdk/query/search/types.d.ts +19 -73
- package/dist/sdk/query/search-contracts.d.ts +24 -34
- package/dist/sdk/query/search-pagination.d.ts +5 -24
- package/dist/sdk/query/search-rendering.d.ts +8 -32
- package/dist/sdk/query/search.d.ts +3 -63
- package/dist/sdk/query/workspace-contracts.d.ts +2 -2
- package/dist/sdk/query.d.ts +1 -43
- package/dist/sdk/read-output/continuation.d.ts +5 -6
- package/dist/sdk/read-output/options.d.ts +3 -8
- package/dist/sdk/read-output/positional-rows.js +2 -0
- package/dist/sdk/read-output/session-result.d.ts +2 -33
- package/dist/sdk/read-output/tail-retention.d.ts +6 -8
- package/dist/sdk/read-output-budget.d.ts +14 -16
- package/dist/sdk/read-output-contracts.d.ts +62 -102
- package/dist/sdk/read-output-contracts.js +1 -1
- package/dist/sdk/read-output-rows.d.ts +5 -9
- package/dist/sdk/read-output-session.d.ts +11 -14
- package/dist/sdk/relationship-analytics.d.ts +17 -37
- package/dist/sdk/relationship-context.d.ts +15 -33
- package/dist/sdk/relationship-history.d.ts +29 -50
- package/dist/sdk/relationship-kinds/contract.d.ts +11 -12
- package/dist/sdk/relationship-migration.d.ts +6 -10
- package/dist/sdk/relationships.d.ts +22 -34
- package/dist/sdk/reproducibility/process.d.ts +7 -11
- package/dist/sdk/runtime/actions.js +1 -1
- package/dist/sdk/runtime/context.d.ts +6 -22
- package/dist/sdk/runtime/schema-preview.d.ts +1 -1
- package/dist/sdk/runtime-input.d.ts +9 -20
- package/dist/sdk/runtime-primitives.d.ts +3 -82
- package/dist/sdk/runtime-public-contracts.d.ts +30 -50
- package/dist/sdk/runtime.d.ts +77 -302
- package/dist/sdk/scheduling-shortcuts.d.ts +8 -12
- package/dist/sdk/schema-migration.d.ts +18 -80
- package/dist/sdk/schema.d.ts +89 -192
- package/dist/sdk/search-refresh-worker.d.ts +1 -1
- package/dist/sdk/similarity-scoring.d.ts +6 -8
- package/dist/sdk/similarity.d.ts +33 -64
- package/dist/sdk/start-task-status.d.ts +2 -2
- package/dist/sdk/stats.d.ts +13 -48
- package/dist/sdk/structured-mutations.d.ts +18 -26
- package/dist/sdk/telemetry-flush.d.ts +1 -1
- package/dist/sdk/telemetry.d.ts +14 -20
- package/dist/sdk/templates.d.ts +14 -35
- package/dist/sdk/test/batch.d.ts +10 -25
- package/dist/sdk/test/execution.d.ts +44 -209
- package/dist/sdk/test/json-path.d.ts +2 -5
- package/dist/sdk/test/linked-command-detection.d.ts +10 -25
- package/dist/sdk/test/measurements.d.ts +10 -13
- package/dist/sdk/test/parsers.d.ts +16 -20
- package/dist/sdk/test/prerequisites.d.ts +2 -3
- package/dist/sdk/test/runs.d.ts +19 -52
- package/dist/sdk/test/trust.d.ts +8 -12
- package/dist/sdk/test/update.d.ts +9 -25
- package/dist/sdk/testing.d.ts +97 -206
- package/dist/sdk/traceability/source-traceability.d.ts +25 -56
- package/dist/sdk/tracker-root-discovery.d.ts +1 -1
- package/dist/sdk/workspace-contracts-cache.d.ts +2 -2
- package/dist/sdk/workspace-contracts.d.ts +8 -14
- package/dist/sdk/workspace-memory.d.ts +24 -42
- package/dist/sdk/workspace-recipe.d.ts +10 -14
- package/dist/sdk/workspace-snapshot.d.ts +26 -53
- package/dist/sdk/workspace-transaction-gc.d.ts +12 -16
- package/dist/sdk/workspace-transaction.d.ts +26 -40
- package/dist/sdk/workspace.d.ts +8 -10
- package/dist/types/index.d.ts +1 -1
- package/dist/types.d.ts +210 -353
- package/docs/AGENT_OUTPUT_ENCODINGS.md +16 -0
- package/docs/COMMANDS.md +8 -0
- package/docs/CONFIGURATION.md +17 -0
- package/docs/DIAGNOSTIC_OUTPUT_CONTRACTS.md +28 -9
- package/docs/README.md +1 -1
- package/docs/READ_OUTPUT_CONTRACTS.md +21 -0
- package/docs/RELEASING.md +52 -5
- package/docs/SDK.md +17 -2
- package/docs/TESTING.md +11 -0
- package/marketplace.json +1 -1
- package/package.json +2 -1
- 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-claude/package.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/pm-codex/package.json +1 -1
- package/plugins/pm-codex/plugin.json +1 -1
- package/runtime-dependencies.json +1 -1
- package/scripts/finalize-build.mjs +41 -4
- package/dist/cli-bundle/chunks/chunk-3A5DJZCC.js +0 -116
- package/dist/cli-bundle/chunks/chunk-AFZS6WFV.js +0 -3
- package/dist/cli-bundle/chunks/chunk-JAE5MWLX.js +0 -2
- package/dist/cli-bundle/chunks/chunk-LLTRUVKK.js +0 -6
- package/dist/cli-bundle/chunks/chunk-PE6CZ3PE.js +0 -3
- package/dist/cli-bundle/chunks/item-revision-TUGZYYXX.js +0 -2
- package/dist/cli-bundle/chunks/item-transaction-2RRBAQN3.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-2A3QZELL.js +0 -26
- package/dist/cli-bundle/focused-chunks/chunk-KBRSA4OK.js +0 -44
- package/dist/cli-bundle/focused-chunks/chunk-P6TG33FV.js +0 -82
- package/dist/cli-bundle/focused-chunks/chunk-PL6EO4GJ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-PSLDGAEY.js +0 -12
- package/dist/cli-bundle/focused-chunks/chunk-UNNLBJRI.js +0 -2
- package/dist/cli-bundle/focused-chunks/item-revision-XNSRDTFB.js +0 -2
- package/docs/ECOSYSTEM_PLANNING_REVIEW.md +0 -274
package/dist/sdk/testing.d.ts
CHANGED
|
@@ -3,28 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Defines public SDK APIs and package-author helpers for Testing.
|
|
5
5
|
*/
|
|
6
|
-
import type
|
|
7
|
-
import { describeExtensionBlueprint,lintExtensionBlueprint } from "./compose.js";
|
|
8
|
-
import { describeExtensionActivation } from "../core/extensions/activation-summary.js";
|
|
9
|
-
import type { DescribeExtensionActivationOptions,ExtensionActivationSummary } from "../core/extensions/activation-summary.js";
|
|
10
|
-
import type { ProjectProfileDefinition } from "../core/profile/profile-presets.js";
|
|
11
|
-
import { type ProjectProfileLintReport } from "../core/profile/profile-lint.js";
|
|
12
|
-
import { renderExtensionSurfaceMarkdown } from "../core/extensions/activation-summary-markdown.js";
|
|
13
|
-
import type { ExtensionSurfaceMarkdownOptions } from "../core/extensions/activation-summary-markdown.js";
|
|
14
|
-
import type { ExtensionBlueprint,ExtensionBlueprintLintCode,ExtensionBlueprintLintFinding,ExtensionBlueprintLintResult,ExtensionBlueprintLintSeverity,ExtensionManifestCompatibilityManifest,ExtensionManifestCompatibilityResult,ExtensionManifestCompatibilityTarget,ExtensionPreflightReport,LintExtensionBlueprintOptions,PreflightExtensionOptions } from "./compose.js";
|
|
15
|
-
import type { GlobalOptions } from "../core/shared/command-types.js";
|
|
16
|
-
import type { PmPackageManifest,PmPackageResourceKind } from "../core/packages/manifest.js";
|
|
6
|
+
import type{AfterCommandHookContext,BeforeCommandHookContext,BeforeMutationHookContext,CommandHandlerResult,CommandOverrideContext,CommandOverrideResult,ExtensionActivationResult,ExtensionCapability,ExtensionCommandRegistry,ExtensionDeactivationResult,ExtensionGovernancePolicy,ExtensionHookRegistry,ExtensionCommandSdk,ExtensionLayer,ExtensionManifest,ExtensionParserRegistry,ExtensionPreflightRegistry,ExtensionRegistrationRegistry,ExtensionRendererRegistry,ExtensionServiceName,ExtensionServiceRegistry,FlagDefinition,OnIndexHookContext,OnReadHookContext,OnWriteHookContext,OutputRendererFormat,ParserOverrideContext,ParserOverrideResult,PreflightOverrideContext,PreflightOverrideResult,RegisteredExtensionCommandDefinition,RegisteredExtensionCommandOverride,RegisteredExtensionExporter,RegisteredExtensionFlagDefinitions,RegisteredExtensionImporter,RegisteredExtensionParserOverride,RegisteredExtensionPreflightOverride,RegisteredExtensionProjectProfile,RegisteredExtensionRendererOverride,RegisteredExtensionSchemaFieldDefinitions,RegisteredExtensionSchemaItemTypeDefinitions,RegisteredExtensionSchemaMigrationDefinition,RegisteredExtensionSearchProvider,RegisteredExtensionServiceOverride,RegisteredExtensionVectorStoreAdapter,RendererOverrideContext,RendererOverrideResult,SchemaFieldDefinition,SchemaItemTypeDefinition,SearchProviderEmbedBatchContext,SearchProviderEmbedContext,SearchProviderQueryContext,SearchProviderQueryExpansionContext,SearchProviderQueryExpansionResult,SearchProviderQueryResult,SearchProviderRerankContext,SearchProviderRerankResult,ServiceOverrideContext,ServiceOverrideResult,VectorStoreDeleteContext,VectorStoreQueryContext,VectorStoreQueryHit,VectorStoreUpsertContext}from "../core/extensions/loader.js";import{describeExtensionBlueprint,lintExtensionBlueprint}from "./compose.js";import{describeExtensionActivation}from "../core/extensions/activation-summary.js";import type{DescribeExtensionActivationOptions,ExtensionActivationSummary}from "../core/extensions/activation-summary.js";import type{ProjectProfileDefinition}from "../core/profile/profile-presets.js";import{type ProjectProfileLintReport}from "../core/profile/profile-lint.js";import{renderExtensionSurfaceMarkdown}from "../core/extensions/activation-summary-markdown.js";import type{ExtensionSurfaceMarkdownOptions}from "../core/extensions/activation-summary-markdown.js";import type{ExtensionBlueprint,ExtensionBlueprintLintCode,ExtensionBlueprintLintFinding,ExtensionBlueprintLintResult,ExtensionBlueprintLintSeverity,ExtensionManifestCompatibilityManifest,ExtensionManifestCompatibilityResult,ExtensionManifestCompatibilityTarget,ExtensionPreflightReport,LintExtensionBlueprintOptions,PreflightExtensionOptions}from "./compose.js";import type{GlobalOptions}from "../core/shared/command-types.js";import type{PmPackageManifest,PmPackageResourceKind}from "../core/packages/manifest.js";
|
|
17
7
|
/** Host-pinned TOON codecs for semantic package-output assertions without deep imports. */
|
|
18
|
-
export
|
|
8
|
+
export{decode as decodeToon,encode as encodeToon}from "@toon-format/toon";
|
|
19
9
|
/** Codec options and JSON values owned by the exact implementation used by the host. */
|
|
20
|
-
export type
|
|
21
|
-
export { describeExtensionActivation,renderExtensionSurfaceMarkdown };
|
|
22
|
-
export type { DescribeExtensionActivationOptions,ExtensionActivationSummary,} from "../core/extensions/activation-summary.js";
|
|
23
|
-
export type { ExtensionSurfaceMarkdownOptions } from "../core/extensions/activation-summary-markdown.js";
|
|
24
|
-
export { describeExtensionBlueprint,lintExtensionBlueprint };
|
|
25
|
-
export type { ExtensionBlueprint,ExtensionBlueprintLintCode,ExtensionBlueprintLintFinding,ExtensionBlueprintLintResult,ExtensionBlueprintLintSeverity,LintExtensionBlueprintOptions,};
|
|
10
|
+
export type{DecodeOptions as ToonDecodeOptions,EncodeOptions as ToonEncodeOptions,JsonValue as ToonJsonValue}from "@toon-format/toon";export{describeExtensionActivation,renderExtensionSurfaceMarkdown};export type{DescribeExtensionActivationOptions,ExtensionActivationSummary,}from "../core/extensions/activation-summary.js";export type{ExtensionSurfaceMarkdownOptions}from "../core/extensions/activation-summary-markdown.js";export{describeExtensionBlueprint,lintExtensionBlueprint};export type{ExtensionBlueprint,ExtensionBlueprintLintCode,ExtensionBlueprintLintFinding,ExtensionBlueprintLintResult,ExtensionBlueprintLintSeverity,LintExtensionBlueprintOptions,};
|
|
26
11
|
/** Documents the activate extension for test options payload exchanged by command, SDK, and package integrations. */
|
|
27
|
-
export interface ActivateExtensionForTestOptions
|
|
12
|
+
export interface ActivateExtensionForTestOptions{
|
|
28
13
|
/** Value that configures or reports name for this contract. */
|
|
29
14
|
name?:string;
|
|
30
15
|
/** Value that configures or reports layer for this contract. */
|
|
@@ -32,10 +17,9 @@ layer?:ExtensionLayer;
|
|
|
32
17
|
/** Value that configures or reports capabilities for this contract. */
|
|
33
18
|
capabilities?:readonly ExtensionCapability[];
|
|
34
19
|
/** Value that configures or reports policy for this contract. */
|
|
35
|
-
policy?:ExtensionGovernancePolicy;
|
|
36
|
-
}
|
|
20
|
+
policy?:ExtensionGovernancePolicy;}
|
|
37
21
|
/** Documents the deactivate extension for test options payload exchanged by command, SDK, and package integrations. */
|
|
38
|
-
export interface DeactivateExtensionForTestOptions
|
|
22
|
+
export interface DeactivateExtensionForTestOptions{
|
|
39
23
|
/** Overrides the in-memory extension name (defaults to `manifest.name` or `"test-extension"`). */
|
|
40
24
|
name?:string;
|
|
41
25
|
/** Overrides the layer recorded for the in-memory extension (defaults to `"project"`). */
|
|
@@ -43,13 +27,12 @@ layer?:ExtensionLayer;
|
|
|
43
27
|
/** Activation result returned by `activateExtensionForTest`. When provided, an extension whose `activate` failed is skipped — mirroring the host teardown contract that never deactivates a never-initialized extension. Pass the same `name`/`layer` to both helpers so the skip key matches. */
|
|
44
28
|
activation?:Pick<ExtensionActivationResult,"failed">;
|
|
45
29
|
/** Per-hook teardown bound, forwarded as `deactivate_timeout_ms`. Use `0` (or `Infinity`) to wait indefinitely; omit to keep the host default. */
|
|
46
|
-
deactivateTimeoutMs?:number;
|
|
47
|
-
}
|
|
30
|
+
deactivateTimeoutMs?:number;}
|
|
48
31
|
/**
|
|
49
32
|
* Options for {@link runRegisteredCommandForTest} — the inputs forwarded to a
|
|
50
33
|
* registered extension command handler when exercising its behavior in a test.
|
|
51
34
|
*/
|
|
52
|
-
export interface RunRegisteredCommandForTestOptions
|
|
35
|
+
export interface RunRegisteredCommandForTestOptions{
|
|
53
36
|
/** Full registered command path to invoke, e.g. `"hello"` or `"todos import"`. Matched against `commands.handlers[].command` after normalization (trimmed, lower-cased, internal whitespace collapsed), mirroring runtime dispatch. */
|
|
54
37
|
command:string;
|
|
55
38
|
/** Positional arguments forwarded as `context.args` (default: none). */
|
|
@@ -65,15 +48,11 @@ sdk?:ExtensionCommandSdk;
|
|
|
65
48
|
/** Lazily build a typed host SDK override from the resolved test context. `pmRoot` is the tracker storage root (normally `<workspace>/.agents/pm`), not the workspace root. */
|
|
66
49
|
sdkFactory?:(context:{
|
|
67
50
|
/** Tracker storage root for tracker data under `.agents/pm`, not the workspace root. */
|
|
68
|
-
pmRoot:string;
|
|
69
|
-
global:GlobalOptions;
|
|
70
|
-
}) => ExtensionCommandSdk;
|
|
71
|
-
}
|
|
51
|
+
pmRoot:string;global:GlobalOptions;})=> ExtensionCommandSdk;}
|
|
72
52
|
/** Options for invoking a registered transactional mutation guard in package tests. */
|
|
73
|
-
export interface RunRegisteredMutationGuardForTestOptions
|
|
53
|
+
export interface RunRegisteredMutationGuardForTestOptions{
|
|
74
54
|
/** Synthetic proposed mutation context, including a host-bound read-only SDK. */
|
|
75
|
-
context:BeforeMutationHookContext;
|
|
76
|
-
}
|
|
55
|
+
context:BeforeMutationHookContext;}
|
|
77
56
|
/**
|
|
78
57
|
* Options for {@link runRegisteredHookForTest} — the lifecycle `kind` to fire and
|
|
79
58
|
* the synthetic context handed to every registered hook of that kind.
|
|
@@ -83,22 +62,7 @@ context:BeforeMutationHookContext;
|
|
|
83
62
|
* {@link AfterCommandHookContext}, and so on — so authors cannot accidentally
|
|
84
63
|
* pass an index context to a read hook.
|
|
85
64
|
*/
|
|
86
|
-
export type RunRegisteredHookForTestOptions
|
|
87
|
-
kind:"before_command";
|
|
88
|
-
context:BeforeCommandHookContext;
|
|
89
|
-
} | {
|
|
90
|
-
kind:"after_command";
|
|
91
|
-
context:AfterCommandHookContext;
|
|
92
|
-
} | {
|
|
93
|
-
kind:"on_read";
|
|
94
|
-
context:OnReadHookContext;
|
|
95
|
-
} | {
|
|
96
|
-
kind:"on_write";
|
|
97
|
-
context:OnWriteHookContext;
|
|
98
|
-
} | {
|
|
99
|
-
kind:"on_index";
|
|
100
|
-
context:OnIndexHookContext;
|
|
101
|
-
};
|
|
65
|
+
export type RunRegisteredHookForTestOptions={kind:"before_command";context:BeforeCommandHookContext;}|{kind:"after_command";context:AfterCommandHookContext;}|{kind:"on_read";context:OnReadHookContext;}|{kind:"on_write";context:OnWriteHookContext;}|{kind:"on_index";context:OnIndexHookContext;};
|
|
102
66
|
/**
|
|
103
67
|
* Maps each invokable search-provider operation to the context type its function
|
|
104
68
|
* receives, keeping {@link runRegisteredSearchProviderForTest} type-safe per
|
|
@@ -106,7 +70,7 @@ context:OnIndexHookContext;
|
|
|
106
70
|
* semantic `query`, single/batch embedding (`embed`/`embedBatch`),
|
|
107
71
|
* `queryExpansion`, and `rerank`.
|
|
108
72
|
*/
|
|
109
|
-
export interface SearchProviderOperationContexts
|
|
73
|
+
export interface SearchProviderOperationContexts{
|
|
110
74
|
/** Value that configures or reports query for this contract. */
|
|
111
75
|
query:SearchProviderQueryContext;
|
|
112
76
|
/** Value that configures or reports embed for this contract. */
|
|
@@ -116,14 +80,13 @@ embedBatch:SearchProviderEmbedBatchContext;
|
|
|
116
80
|
/** Value that configures or reports query expansion for this contract. */
|
|
117
81
|
queryExpansion:SearchProviderQueryExpansionContext;
|
|
118
82
|
/** Value that configures or reports rerank for this contract. */
|
|
119
|
-
rerank:SearchProviderRerankContext;
|
|
120
|
-
}
|
|
83
|
+
rerank:SearchProviderRerankContext;}
|
|
121
84
|
/**
|
|
122
85
|
* Maps each invokable search-provider operation to the result type its function
|
|
123
86
|
* returns, so {@link runRegisteredSearchProviderForTest} resolves a precise return
|
|
124
87
|
* type from the chosen `operation` instead of a union the caller must narrow.
|
|
125
88
|
*/
|
|
126
|
-
export interface SearchProviderOperationResults
|
|
89
|
+
export interface SearchProviderOperationResults{
|
|
127
90
|
/** Value that configures or reports query for this contract. */
|
|
128
91
|
query:SearchProviderQueryResult;
|
|
129
92
|
/** Value that configures or reports embed for this contract. */
|
|
@@ -133,8 +96,7 @@ embedBatch:number[][];
|
|
|
133
96
|
/** Value that configures or reports query expansion for this contract. */
|
|
134
97
|
queryExpansion:SearchProviderQueryExpansionResult;
|
|
135
98
|
/** Value that configures or reports rerank for this contract. */
|
|
136
|
-
rerank:SearchProviderRerankResult;
|
|
137
|
-
}
|
|
99
|
+
rerank:SearchProviderRerankResult;}
|
|
138
100
|
/**
|
|
139
101
|
* Options for {@link runRegisteredSearchProviderForTest}: the registered
|
|
140
102
|
* `provider` name to resolve, the `operation` to invoke, and the synthetic
|
|
@@ -143,44 +105,39 @@ rerank:SearchProviderRerankResult;
|
|
|
143
105
|
* {@link SearchProviderEmbedContext}, `operation: "rerank"` a
|
|
144
106
|
* {@link SearchProviderRerankContext}, and so on.
|
|
145
107
|
*/
|
|
146
|
-
export type RunRegisteredSearchProviderForTestOptions
|
|
147
|
-
[Operation in keyof SearchProviderOperationContexts]:{
|
|
108
|
+
export type RunRegisteredSearchProviderForTestOptions={[Operation in keyof SearchProviderOperationContexts]:{
|
|
148
109
|
/** Registered provider name to resolve, matched case-insensitively as the host does. */
|
|
149
110
|
provider:string;
|
|
150
111
|
/** Provider operation to invoke. */
|
|
151
112
|
operation:Operation;
|
|
152
113
|
/** Synthetic context handed to the resolved operation function. */
|
|
153
|
-
context:SearchProviderOperationContexts[Operation];
|
|
154
|
-
};
|
|
155
|
-
}[keyof SearchProviderOperationContexts];
|
|
114
|
+
context:SearchProviderOperationContexts[Operation];};}[keyof SearchProviderOperationContexts];
|
|
156
115
|
/**
|
|
157
116
|
* Maps each invokable vector-store-adapter operation to the context type its
|
|
158
117
|
* function receives, keeping {@link runRegisteredVectorStoreAdapterForTest}
|
|
159
118
|
* type-safe per operation. Mirrors the operations the host dispatches to a
|
|
160
119
|
* registered adapter: nearest-neighbour `query`, `upsert`, and `delete`.
|
|
161
120
|
*/
|
|
162
|
-
export interface VectorStoreAdapterOperationContexts
|
|
121
|
+
export interface VectorStoreAdapterOperationContexts{
|
|
163
122
|
/** Value that configures or reports query for this contract. */
|
|
164
123
|
query:VectorStoreQueryContext;
|
|
165
124
|
/** Value that configures or reports upsert for this contract. */
|
|
166
125
|
upsert:VectorStoreUpsertContext;
|
|
167
126
|
/** Value that configures or reports delete for this contract. */
|
|
168
|
-
delete:VectorStoreDeleteContext;
|
|
169
|
-
}
|
|
127
|
+
delete:VectorStoreDeleteContext;}
|
|
170
128
|
/**
|
|
171
129
|
* Maps each invokable vector-store-adapter operation to the result type its
|
|
172
130
|
* function returns. Only `query` has a structured result
|
|
173
131
|
* ({@link VectorStoreQueryHit}[]); `upsert`/`delete` report success by not
|
|
174
132
|
* throwing, so their result is `unknown` and typically ignored.
|
|
175
133
|
*/
|
|
176
|
-
export interface VectorStoreAdapterOperationResults
|
|
134
|
+
export interface VectorStoreAdapterOperationResults{
|
|
177
135
|
/** Value that configures or reports query for this contract. */
|
|
178
136
|
query:VectorStoreQueryHit[];
|
|
179
137
|
/** Value that configures or reports upsert for this contract. */
|
|
180
138
|
upsert:unknown;
|
|
181
139
|
/** Value that configures or reports delete for this contract. */
|
|
182
|
-
delete:unknown;
|
|
183
|
-
}
|
|
140
|
+
delete:unknown;}
|
|
184
141
|
/**
|
|
185
142
|
* Options for {@link runRegisteredVectorStoreAdapterForTest}: the registered
|
|
186
143
|
* `adapter` name to resolve, the `operation` to invoke, and the synthetic
|
|
@@ -189,28 +146,24 @@ delete:unknown;
|
|
|
189
146
|
* {@link VectorStoreUpsertContext}, `operation: "delete"` a
|
|
190
147
|
* {@link VectorStoreDeleteContext}, and so on.
|
|
191
148
|
*/
|
|
192
|
-
export type RunRegisteredVectorStoreAdapterForTestOptions
|
|
193
|
-
[Operation in keyof VectorStoreAdapterOperationContexts]:{
|
|
149
|
+
export type RunRegisteredVectorStoreAdapterForTestOptions={[Operation in keyof VectorStoreAdapterOperationContexts]:{
|
|
194
150
|
/** Registered adapter name to resolve, matched case-insensitively as the host does. */
|
|
195
151
|
adapter:string;
|
|
196
152
|
/** Adapter operation to invoke. */
|
|
197
153
|
operation:Operation;
|
|
198
154
|
/** Synthetic context handed to the resolved operation function. */
|
|
199
|
-
context:VectorStoreAdapterOperationContexts[Operation];
|
|
200
|
-
};
|
|
201
|
-
}[keyof VectorStoreAdapterOperationContexts];
|
|
155
|
+
context:VectorStoreAdapterOperationContexts[Operation];};}[keyof VectorStoreAdapterOperationContexts];
|
|
202
156
|
/**
|
|
203
157
|
* Options for {@link runRegisteredMigrationForTest}: which registered migration
|
|
204
158
|
* to invoke and the workspace root its run context reports.
|
|
205
159
|
*/
|
|
206
|
-
export interface RunRegisteredMigrationForTestOptions
|
|
160
|
+
export interface RunRegisteredMigrationForTestOptions{
|
|
207
161
|
/** Registered migration id to resolve, matched case-insensitively against `definition.id`. */
|
|
208
162
|
migration:string;
|
|
209
163
|
/** Optional extension name to disambiguate when several extensions register the same id. */
|
|
210
164
|
extensionName?:string;
|
|
211
165
|
/** Resolved pm workspace root forwarded as `context.pm_root` (default `""`). */
|
|
212
|
-
pmRoot?:string;
|
|
213
|
-
}
|
|
166
|
+
pmRoot?:string;}
|
|
214
167
|
/**
|
|
215
168
|
* Options for {@link runRegisteredImporterForTest} — the registered importer name
|
|
216
169
|
* to invoke plus the synthetic invocation context forwarded to its handler.
|
|
@@ -220,7 +173,7 @@ pmRoot?:string;
|
|
|
220
173
|
* `registrations.importers`; the helper derives the `"<name> import"` command
|
|
221
174
|
* path internally, so authors never hand-build it.
|
|
222
175
|
*/
|
|
223
|
-
export interface RunRegisteredImporterForTestOptions
|
|
176
|
+
export interface RunRegisteredImporterForTestOptions{
|
|
224
177
|
/** Registered importer name to resolve, e.g. `"csv"` for a `"csv import"` handler. */
|
|
225
178
|
importer:string;
|
|
226
179
|
/** Optional extension name to disambiguate when several extensions register the same importer. */
|
|
@@ -232,8 +185,7 @@ options?:Record<string,unknown>;
|
|
|
232
185
|
/** Global option overrides merged onto the agent-safe test defaults (`{ json: true, quiet: true, noPager: true }`), forwarded as `context.global`. */
|
|
233
186
|
global?:Partial<GlobalOptions>;
|
|
234
187
|
/** Resolved pm workspace root forwarded as `context.pm_root` (default: `""`). */
|
|
235
|
-
pmRoot?:string;
|
|
236
|
-
}
|
|
188
|
+
pmRoot?:string;}
|
|
237
189
|
/**
|
|
238
190
|
* Options for {@link runRegisteredExporterForTest} — the registered exporter name
|
|
239
191
|
* to invoke plus the synthetic invocation context forwarded to its handler.
|
|
@@ -243,7 +195,7 @@ pmRoot?:string;
|
|
|
243
195
|
* `registrations.exporters`; the helper derives the `"<name> export"` command
|
|
244
196
|
* path internally, so authors never hand-build it.
|
|
245
197
|
*/
|
|
246
|
-
export interface RunRegisteredExporterForTestOptions
|
|
198
|
+
export interface RunRegisteredExporterForTestOptions{
|
|
247
199
|
/** Registered exporter name to resolve, e.g. `"csv"` for a `"csv export"` handler. */
|
|
248
200
|
exporter:string;
|
|
249
201
|
/** Optional extension name to disambiguate when several extensions register the same exporter. */
|
|
@@ -255,22 +207,16 @@ options?:Record<string,unknown>;
|
|
|
255
207
|
/** Global option overrides merged onto the agent-safe test defaults (`{ json: true, quiet: true, noPager: true }`), forwarded as `context.global`. */
|
|
256
208
|
global?:Partial<GlobalOptions>;
|
|
257
209
|
/** Resolved pm workspace root forwarded as `context.pm_root` (default: `""`). */
|
|
258
|
-
pmRoot?:string;
|
|
259
|
-
}
|
|
210
|
+
pmRoot?:string;}
|
|
260
211
|
/** Documents the extension deactivation expectation payload exchanged by command, SDK, and package integrations. */
|
|
261
|
-
export interface ExtensionDeactivationExpectation
|
|
212
|
+
export interface ExtensionDeactivationExpectation{
|
|
262
213
|
/** Expected count of extensions whose `deactivate` ran without throwing (default `1`). */
|
|
263
214
|
deactivated?:number;
|
|
264
215
|
/** Expected count of teardown failures (default `0`). */
|
|
265
|
-
failed?:number;
|
|
266
|
-
}
|
|
267
|
-
type NamedRegistrationExpectation<TLegacyKey extends string,TValue,TDetails extends object = Record<never,never>> = TDetails & (({
|
|
268
|
-
name:TValue;
|
|
269
|
-
} & Partial<Record<TLegacyKey,TValue>>) | ({
|
|
270
|
-
name?:TValue;
|
|
271
|
-
} & Record<TLegacyKey,TValue>));
|
|
216
|
+
failed?:number;}
|
|
217
|
+
type NamedRegistrationExpectation<TLegacyKey extends string,TValue,TDetails extends object=Record<never,never>>=TDetails&(({name:TValue;}&Partial<Record<TLegacyKey,TValue>>)|({name?:TValue;}&Record<TLegacyKey,TValue>));
|
|
272
218
|
/** Documents the registered command contract expectation payload exchanged by command, SDK, and package integrations. `name` is canonical; `command` remains a backward-compatible alias. */
|
|
273
|
-
export type RegisteredCommandContractExpectation
|
|
219
|
+
export type RegisteredCommandContractExpectation=NamedRegistrationExpectation<"command",string,{
|
|
274
220
|
/** Value that configures or reports action for this contract. */
|
|
275
221
|
action?:string;
|
|
276
222
|
/** Value that configures or reports extension name for this contract. */
|
|
@@ -278,165 +224,140 @@ extensionName?:string;
|
|
|
278
224
|
/** Value that configures or reports arguments for this contract. */
|
|
279
225
|
arguments?:string[];
|
|
280
226
|
/** Value that configures or reports flags for this contract. */
|
|
281
|
-
flags?:string[];
|
|
282
|
-
}>;
|
|
227
|
+
flags?:string[];}>;
|
|
283
228
|
/** Documents the registered command contract assertion payload exchanged by command, SDK, and package integrations. */
|
|
284
|
-
export interface RegisteredCommandContractAssertion
|
|
229
|
+
export interface RegisteredCommandContractAssertion{
|
|
285
230
|
/** Value that configures or reports command for this contract. */
|
|
286
231
|
command:RegisteredExtensionCommandDefinition;
|
|
287
232
|
/** Value that configures or reports flags for this contract. */
|
|
288
|
-
flags:FlagDefinition[];
|
|
289
|
-
}
|
|
233
|
+
flags:FlagDefinition[];}
|
|
290
234
|
/** Documents the registered flags expectation payload exchanged by command, SDK, and package integrations. */
|
|
291
|
-
export type RegisteredFlagsExpectation
|
|
235
|
+
export type RegisteredFlagsExpectation=NamedRegistrationExpectation<"targetCommand",string,{
|
|
292
236
|
/** Value that configures or reports extension name for this contract. */
|
|
293
237
|
extensionName?:string;
|
|
294
238
|
/** Value that configures or reports flags for this contract. */
|
|
295
|
-
flags?:string[];
|
|
296
|
-
}>;
|
|
239
|
+
flags?:string[];}>;
|
|
297
240
|
/** Public hook lifecycle kinds an extension can register through `api.hooks.*`. */
|
|
298
|
-
export type RegisteredHookKind
|
|
299
|
-
declare const HOOK_KIND_TO_REGISTRY_FIELD:Record<RegisteredHookKind,keyof ExtensionHookRegistry>;
|
|
241
|
+
export type RegisteredHookKind="before_command"|"before_mutation"|"after_command"|"on_read"|"on_write"|"on_index";declare const HOOK_KIND_TO_REGISTRY_FIELD:Record<RegisteredHookKind,keyof ExtensionHookRegistry>;
|
|
300
242
|
/** One registered hook of the given lifecycle kind, as stored in the extension hook registry. */
|
|
301
|
-
export type RegisteredHookEntry<TKind extends RegisteredHookKind
|
|
243
|
+
export type RegisteredHookEntry<TKind extends RegisteredHookKind>=NonNullable<ExtensionHookRegistry[(typeof HOOK_KIND_TO_REGISTRY_FIELD)[TKind]]>[number];
|
|
302
244
|
/** Documents the registered hook expectation payload exchanged by command, SDK, and package integrations. */
|
|
303
|
-
export interface RegisteredHookExpectation
|
|
245
|
+
export interface RegisteredHookExpectation{
|
|
304
246
|
/** Value that configures or reports kind for this contract. */
|
|
305
247
|
kind:RegisteredHookKind;
|
|
306
248
|
/** Value that configures or reports extension name for this contract. */
|
|
307
|
-
extensionName?:string;
|
|
308
|
-
}
|
|
249
|
+
extensionName?:string;}
|
|
309
250
|
/** Documents the registered search provider expectation payload exchanged by command, SDK, and package integrations. */
|
|
310
|
-
export type RegisteredSearchProviderExpectation
|
|
251
|
+
export type RegisteredSearchProviderExpectation=NamedRegistrationExpectation<"provider",string,{
|
|
311
252
|
/** Value that configures or reports extension name for this contract. */
|
|
312
|
-
extensionName?:string;
|
|
313
|
-
}>;
|
|
253
|
+
extensionName?:string;}>;
|
|
314
254
|
/** Documents the registered vector store adapter expectation payload exchanged by command, SDK, and package integrations. */
|
|
315
|
-
export type RegisteredVectorStoreAdapterExpectation
|
|
255
|
+
export type RegisteredVectorStoreAdapterExpectation=NamedRegistrationExpectation<"adapter",string,{
|
|
316
256
|
/** Value that configures or reports extension name for this contract. */
|
|
317
|
-
extensionName?:string;
|
|
318
|
-
}>;
|
|
257
|
+
extensionName?:string;}>;
|
|
319
258
|
/** Documents the registered importer expectation payload exchanged by command, SDK, and package integrations. */
|
|
320
|
-
export type RegisteredImporterExpectation
|
|
259
|
+
export type RegisteredImporterExpectation=NamedRegistrationExpectation<"importer",string,{
|
|
321
260
|
/** Value that configures or reports extension name for this contract. */
|
|
322
|
-
extensionName?:string;
|
|
323
|
-
}>;
|
|
261
|
+
extensionName?:string;}>;
|
|
324
262
|
/** Documents the registered exporter expectation payload exchanged by command, SDK, and package integrations. */
|
|
325
|
-
export type RegisteredExporterExpectation
|
|
263
|
+
export type RegisteredExporterExpectation=NamedRegistrationExpectation<"exporter",string,{
|
|
326
264
|
/** Value that configures or reports extension name for this contract. */
|
|
327
|
-
extensionName?:string;
|
|
328
|
-
}>;
|
|
265
|
+
extensionName?:string;}>;
|
|
329
266
|
/** Documents the registered item field expectation payload exchanged by command, SDK, and package integrations. */
|
|
330
|
-
export type RegisteredItemFieldExpectation
|
|
267
|
+
export type RegisteredItemFieldExpectation=NamedRegistrationExpectation<"field",string,{
|
|
331
268
|
/** Value that configures or reports extension name for this contract. */
|
|
332
269
|
extensionName?:string;
|
|
333
270
|
/** Schema type that determines the shape and validation rules for this value. */
|
|
334
|
-
type?:SchemaFieldDefinition["type"];
|
|
335
|
-
}>;
|
|
271
|
+
type?:SchemaFieldDefinition["type"];}>;
|
|
336
272
|
/** Documents the registered item field assertion payload exchanged by command, SDK, and package integrations. */
|
|
337
|
-
export interface RegisteredItemFieldAssertion
|
|
273
|
+
export interface RegisteredItemFieldAssertion{
|
|
338
274
|
/** Value that configures or reports registration for this contract. */
|
|
339
275
|
registration:RegisteredExtensionSchemaFieldDefinitions;
|
|
340
276
|
/** Value that configures or reports field for this contract. */
|
|
341
|
-
field:SchemaFieldDefinition;
|
|
342
|
-
}
|
|
277
|
+
field:SchemaFieldDefinition;}
|
|
343
278
|
/** Documents the registered item type expectation payload exchanged by command, SDK, and package integrations. */
|
|
344
|
-
export type RegisteredItemTypeExpectation
|
|
279
|
+
export type RegisteredItemTypeExpectation=NamedRegistrationExpectation<"itemType",string,{
|
|
345
280
|
/** Value that configures or reports extension name for this contract. */
|
|
346
281
|
extensionName?:string;
|
|
347
282
|
/** Value that configures or reports folder for this contract. */
|
|
348
|
-
folder?:string;
|
|
349
|
-
}>;
|
|
283
|
+
folder?:string;}>;
|
|
350
284
|
/** Documents the registered item type assertion payload exchanged by command, SDK, and package integrations. */
|
|
351
|
-
export interface RegisteredItemTypeAssertion
|
|
285
|
+
export interface RegisteredItemTypeAssertion{
|
|
352
286
|
/** Value that configures or reports registration for this contract. */
|
|
353
287
|
registration:RegisteredExtensionSchemaItemTypeDefinitions;
|
|
354
288
|
/** Schema type that determines the shape and validation rules for this value. */
|
|
355
|
-
itemType:SchemaItemTypeDefinition;
|
|
356
|
-
}
|
|
289
|
+
itemType:SchemaItemTypeDefinition;}
|
|
357
290
|
/** Documents the registered command override expectation payload exchanged by command, SDK, and package integrations. */
|
|
358
|
-
export type RegisteredCommandOverrideExpectation
|
|
291
|
+
export type RegisteredCommandOverrideExpectation=NamedRegistrationExpectation<"command",string,{
|
|
359
292
|
/** Value that configures or reports extension name for this contract. */
|
|
360
|
-
extensionName?:string;
|
|
361
|
-
}>;
|
|
293
|
+
extensionName?:string;}>;
|
|
362
294
|
/** Documents the registered parser override expectation payload exchanged by command, SDK, and package integrations. */
|
|
363
|
-
export type RegisteredParserOverrideExpectation
|
|
295
|
+
export type RegisteredParserOverrideExpectation=NamedRegistrationExpectation<"command",string,{
|
|
364
296
|
/** Value that configures or reports extension name for this contract. */
|
|
365
|
-
extensionName?:string;
|
|
366
|
-
}>;
|
|
297
|
+
extensionName?:string;}>;
|
|
367
298
|
/** Documents the registered preflight override expectation payload exchanged by command, SDK, and package integrations. */
|
|
368
|
-
export interface RegisteredPreflightOverrideExpectation
|
|
299
|
+
export interface RegisteredPreflightOverrideExpectation{
|
|
369
300
|
/** Value that configures or reports extension name for this contract. */
|
|
370
|
-
extensionName?:string;
|
|
371
|
-
}
|
|
301
|
+
extensionName?:string;}
|
|
372
302
|
/** Documents the registered renderer override expectation payload exchanged by command, SDK, and package integrations. */
|
|
373
|
-
export type RegisteredRendererOverrideExpectation
|
|
303
|
+
export type RegisteredRendererOverrideExpectation=NamedRegistrationExpectation<"format",OutputRendererFormat,{
|
|
374
304
|
/** Value that configures or reports extension name for this contract. */
|
|
375
|
-
extensionName?:string;
|
|
376
|
-
}>;
|
|
305
|
+
extensionName?:string;}>;
|
|
377
306
|
/** Documents the registered service override expectation payload exchanged by command, SDK, and package integrations. */
|
|
378
|
-
export type RegisteredServiceOverrideExpectation
|
|
307
|
+
export type RegisteredServiceOverrideExpectation=NamedRegistrationExpectation<"service",ExtensionServiceName,{
|
|
379
308
|
/** Value that configures or reports extension name for this contract. */
|
|
380
|
-
extensionName?:string;
|
|
381
|
-
}>;
|
|
309
|
+
extensionName?:string;}>;
|
|
382
310
|
/** Documents the registered migration expectation payload exchanged by command, SDK, and package integrations. */
|
|
383
|
-
export type RegisteredMigrationExpectation
|
|
311
|
+
export type RegisteredMigrationExpectation=NamedRegistrationExpectation<"migration",string,{
|
|
384
312
|
/** Value that configures or reports extension name for this contract. */
|
|
385
313
|
extensionName?:string;
|
|
386
314
|
/** Value that configures or reports mandatory for this contract. */
|
|
387
|
-
mandatory?:boolean;
|
|
388
|
-
}>;
|
|
315
|
+
mandatory?:boolean;}>;
|
|
389
316
|
/** Documents the registered project-profile expectation payload exchanged by command, SDK, and package integrations. */
|
|
390
|
-
export type RegisteredProfileExpectation
|
|
317
|
+
export type RegisteredProfileExpectation=NamedRegistrationExpectation<"profile",string,{
|
|
391
318
|
/** Restrict the match to a single extension when several are active. */
|
|
392
|
-
extensionName?:string;
|
|
393
|
-
}>;
|
|
319
|
+
extensionName?:string;}>;
|
|
394
320
|
/** Documents the registered project-profile assertion payload exchanged by command, SDK, and package integrations. */
|
|
395
|
-
export interface RegisteredProfileAssertion
|
|
321
|
+
export interface RegisteredProfileAssertion{
|
|
396
322
|
/** The matching registration entry. */
|
|
397
323
|
registration:RegisteredExtensionProjectProfile;
|
|
398
324
|
/** The registered profile definition. */
|
|
399
|
-
profile:ProjectProfileDefinition;
|
|
400
|
-
}
|
|
325
|
+
profile:ProjectProfileDefinition;}
|
|
401
326
|
/** Documents the extension capability usage expectation payload exchanged by command, SDK, and package integrations. */
|
|
402
|
-
export interface ExtensionCapabilityUsageExpectation
|
|
327
|
+
export interface ExtensionCapabilityUsageExpectation{
|
|
403
328
|
/** Capabilities the manifest declares. Mirror `manifest.capabilities` here so the assertion fails when the manifest grants more than the code uses. */
|
|
404
329
|
declared:readonly ExtensionCapability[];
|
|
405
330
|
/** Restrict reconciliation to a single extension when the activation has several. */
|
|
406
331
|
extensionName?:string;
|
|
407
332
|
/** Capabilities allowed to be declared without being exercised (e.g. ones a runtime registers only behind a config flag). These are excluded from the least-privilege failure. */
|
|
408
|
-
allowUnused?:readonly ExtensionCapability[];
|
|
409
|
-
}
|
|
333
|
+
allowUnused?:readonly ExtensionCapability[];}
|
|
410
334
|
/** Documents the extension capability usage assertion payload exchanged by command, SDK, and package integrations. */
|
|
411
|
-
export interface ExtensionCapabilityUsageAssertion
|
|
335
|
+
export interface ExtensionCapabilityUsageAssertion{
|
|
412
336
|
/** Declared capabilities considered, sorted and de-duplicated. */
|
|
413
337
|
declared:ExtensionCapability[];
|
|
414
338
|
/** Capabilities the extension actually registered against, sorted. */
|
|
415
339
|
used:ExtensionCapability[];
|
|
416
340
|
/** Declared capabilities with no matching registration after the allowlist. */
|
|
417
|
-
unused:ExtensionCapability[];
|
|
418
|
-
}
|
|
341
|
+
unused:ExtensionCapability[];}
|
|
419
342
|
/** Restricts package manifest resource expectation values accepted by command, SDK, and storage contracts. */
|
|
420
|
-
export type PackageManifestResourceExpectation
|
|
343
|
+
export type PackageManifestResourceExpectation=Partial<Record<PmPackageResourceKind,readonly string[]>>;
|
|
421
344
|
/** Documents the package manifest expectation payload exchanged by command, SDK, and package integrations. */
|
|
422
|
-
export interface PackageManifestExpectation
|
|
345
|
+
export interface PackageManifestExpectation{
|
|
423
346
|
/** Value that configures or reports package name for this contract. */
|
|
424
347
|
packageName?:string;
|
|
425
348
|
/** Value that configures or reports aliases for this contract. */
|
|
426
349
|
aliases?:readonly string[];
|
|
427
350
|
/** Value that configures or reports resources for this contract. */
|
|
428
|
-
resources?:PackageManifestResourceExpectation;
|
|
429
|
-
}
|
|
351
|
+
resources?:PackageManifestResourceExpectation;}
|
|
430
352
|
/**
|
|
431
353
|
* Options for {@link ExtensionTestHarness.renderMarkdown}.
|
|
432
354
|
*/
|
|
433
|
-
export interface RenderExtensionHarnessMarkdownOptions extends ExtensionSurfaceMarkdownOptions
|
|
355
|
+
export interface RenderExtensionHarnessMarkdownOptions extends ExtensionSurfaceMarkdownOptions{
|
|
434
356
|
/**
|
|
435
357
|
* Restrict the rendered summary to one activated extension by name. Defaults
|
|
436
358
|
* to the full activation union, matching {@link ExtensionTestHarness.activationSummary}.
|
|
437
359
|
*/
|
|
438
|
-
extensionName?:string;
|
|
439
|
-
}
|
|
360
|
+
extensionName?:string;}
|
|
440
361
|
/**
|
|
441
362
|
* Activate one in-memory extension module for package tests.
|
|
442
363
|
*
|
|
@@ -597,11 +518,7 @@ export declare function runRegisteredServiceOverrideForTest(services:ExtensionSe
|
|
|
597
518
|
* the requested operation, since invoking an absent provider/operation is a
|
|
598
519
|
* wiring bug in the test rather than a behavior under test.
|
|
599
520
|
*/
|
|
600
|
-
export declare function runRegisteredSearchProviderForTest<Operation extends keyof SearchProviderOperationContexts>(registrations:ExtensionRegistrationRegistry,options:{
|
|
601
|
-
provider:string;
|
|
602
|
-
operation:Operation;
|
|
603
|
-
context:SearchProviderOperationContexts[Operation];
|
|
604
|
-
}):Promise<SearchProviderOperationResults[Operation]>;
|
|
521
|
+
export declare function runRegisteredSearchProviderForTest<Operation extends keyof SearchProviderOperationContexts>(registrations:ExtensionRegistrationRegistry,options:{provider:string;operation:Operation;context:SearchProviderOperationContexts[Operation];}):Promise<SearchProviderOperationResults[Operation]>;
|
|
605
522
|
/**
|
|
606
523
|
* Invoke an operation of a registered vector store adapter through the same name
|
|
607
524
|
* resolution the host uses and return the operation's result, so package tests
|
|
@@ -620,11 +537,7 @@ context:SearchProviderOperationContexts[Operation];
|
|
|
620
537
|
* registered, and a separate error when the resolved adapter does not implement
|
|
621
538
|
* the requested operation.
|
|
622
539
|
*/
|
|
623
|
-
export declare function runRegisteredVectorStoreAdapterForTest<Operation extends keyof VectorStoreAdapterOperationContexts>(registrations:ExtensionRegistrationRegistry,options:{
|
|
624
|
-
adapter:string;
|
|
625
|
-
operation:Operation;
|
|
626
|
-
context:VectorStoreAdapterOperationContexts[Operation];
|
|
627
|
-
}):Promise<VectorStoreAdapterOperationResults[Operation]>;
|
|
540
|
+
export declare function runRegisteredVectorStoreAdapterForTest<Operation extends keyof VectorStoreAdapterOperationContexts>(registrations:ExtensionRegistrationRegistry,options:{adapter:string;operation:Operation;context:VectorStoreAdapterOperationContexts[Operation];}):Promise<VectorStoreAdapterOperationResults[Operation]>;
|
|
628
541
|
/**
|
|
629
542
|
* Invoke a registered schema migration's `run` function through the same runtime
|
|
630
543
|
* definition the host executes and return its result, so package tests can assert
|
|
@@ -714,9 +627,7 @@ export declare function assertRegisteredFlags(registrations:ExtensionRegistratio
|
|
|
714
627
|
* Hooks are surfaced via `ExtensionActivationResult.hooks`, not the command
|
|
715
628
|
* registration registry, so this helper accepts an `ExtensionHookRegistry`.
|
|
716
629
|
*/
|
|
717
|
-
export declare function assertRegisteredHook<TKind extends RegisteredHookKind>(hooks:ExtensionHookRegistry,expectation:RegisteredHookExpectation
|
|
718
|
-
kind:TKind;
|
|
719
|
-
}):RegisteredHookEntry<TKind>;
|
|
630
|
+
export declare function assertRegisteredHook<TKind extends RegisteredHookKind>(hooks:ExtensionHookRegistry,expectation:RegisteredHookExpectation&{kind:TKind;}):RegisteredHookEntry<TKind>;
|
|
720
631
|
/** Assert that an activated extension registration registry contains a search provider with the expected name (optionally scoped to a specific extension). */
|
|
721
632
|
export declare function assertRegisteredSearchProvider(registrations:ExtensionRegistrationRegistry,expectation:RegisteredSearchProviderExpectation):RegisteredExtensionSearchProvider;
|
|
722
633
|
/** Assert that an activated extension registration registry contains a vector store adapter with the expected name (optionally scoped to a specific extension). */
|
|
@@ -826,10 +737,9 @@ export declare function assertExtensionCapabilityUsage(activation:ExtensionActiv
|
|
|
826
737
|
*/
|
|
827
738
|
export declare function assertExtensionBlueprint(blueprint:ExtensionBlueprint,options?:LintExtensionBlueprintOptions):ExtensionBlueprintLintResult;
|
|
828
739
|
/** Options for {@link assertProjectProfile}. */
|
|
829
|
-
export interface AssertProjectProfileOptions
|
|
740
|
+
export interface AssertProjectProfileOptions{
|
|
830
741
|
/** Also throw when the profile produces `warning`-severity findings (e.g. a workflow transition referencing a status no profile or built-in defines). Off by default so warnings stay advisory; turn on for strict CI gates. */
|
|
831
|
-
strict?:boolean;
|
|
832
|
-
}
|
|
742
|
+
strict?:boolean;}
|
|
833
743
|
/**
|
|
834
744
|
* Assert a {@link ProjectProfileDefinition} is internally consistent in a test,
|
|
835
745
|
* throwing on any `error`-severity finding (and on `warning`-severity findings
|
|
@@ -848,7 +758,7 @@ export declare function assertProjectProfile(profile:ProjectProfileDefinition,op
|
|
|
848
758
|
* blueprint actually exercises. Returned only when they match exactly (the
|
|
849
759
|
* assertion throws otherwise).
|
|
850
760
|
*/
|
|
851
|
-
export interface ExtensionManifestBlueprintMatch
|
|
761
|
+
export interface ExtensionManifestBlueprintMatch{
|
|
852
762
|
/** The least-privilege capability set the blueprint exercises (from `deriveExtensionCapabilities`). */
|
|
853
763
|
used:ExtensionCapability[];
|
|
854
764
|
/** The manifest's declared capabilities, legacy-alias resolved and normalized. */
|
|
@@ -858,8 +768,7 @@ missing:ExtensionCapability[];
|
|
|
858
768
|
/** Capabilities the manifest declares but no surface exercises — violates least privilege. Empty on success. */
|
|
859
769
|
unused:ExtensionCapability[];
|
|
860
770
|
/** Every lint finding for the blueprint, so callers can inspect advisory warnings. */
|
|
861
|
-
findings:ExtensionBlueprintLintFinding[];
|
|
862
|
-
}
|
|
771
|
+
findings:ExtensionBlueprintLintFinding[];}
|
|
863
772
|
/**
|
|
864
773
|
* Strictly assert a manifest's `capabilities` equal the least-privilege set a
|
|
865
774
|
* declarative {@link ExtensionBlueprint} exercises, throwing on any drift in
|
|
@@ -933,7 +842,7 @@ export declare function assertExtensionPreflight(blueprint:ExtensionBlueprint,op
|
|
|
933
842
|
* teardown engine. The raw {@link activation} stays public as an escape hatch to
|
|
934
843
|
* the standalone helpers for any surface not covered by a convenience method.
|
|
935
844
|
*/
|
|
936
|
-
export interface ExtensionTestHarness
|
|
845
|
+
export interface ExtensionTestHarness{
|
|
937
846
|
/** The in-memory extension module supplied to {@link createExtensionTestHarness}. */
|
|
938
847
|
readonly module:unknown;
|
|
939
848
|
/** Resolved extension name (manifest name, explicit override, or `"test-extension"`). */
|
|
@@ -961,9 +870,7 @@ assertItemType(expectation:RegisteredItemTypeExpectation):RegisteredItemTypeAsse
|
|
|
961
870
|
/** Bound {@link assertRegisteredProfile} over `activation.registrations`. */
|
|
962
871
|
assertProfile(expectation:RegisteredProfileExpectation):RegisteredProfileAssertion;
|
|
963
872
|
/** Bound {@link assertRegisteredHook} over `activation.hooks`. */
|
|
964
|
-
assertHook<TKind extends RegisteredHookKind>(expectation:RegisteredHookExpectation
|
|
965
|
-
kind:TKind;
|
|
966
|
-
}):RegisteredHookEntry<TKind>;
|
|
873
|
+
assertHook<TKind extends RegisteredHookKind>(expectation:RegisteredHookExpectation&{kind:TKind;}):RegisteredHookEntry<TKind>;
|
|
967
874
|
/** Bound {@link assertRegisteredCommandOverride} over `activation.commands`. */
|
|
968
875
|
assertCommandOverride(expectation:RegisteredCommandOverrideExpectation):RegisteredExtensionCommandOverride;
|
|
969
876
|
/** Bound {@link assertRegisteredParserOverride} over `activation.parsers`. */
|
|
@@ -1003,17 +910,9 @@ runRendererOverride(context:RendererOverrideContext):Promise<RendererOverrideRes
|
|
|
1003
910
|
/** Bound {@link runRegisteredServiceOverrideForTest} over `activation.services`. */
|
|
1004
911
|
runServiceOverride(context:ServiceOverrideContext):Promise<ServiceOverrideResult>;
|
|
1005
912
|
/** Bound {@link runRegisteredSearchProviderForTest} over `activation.registrations`. */
|
|
1006
|
-
runSearchProvider<Operation extends keyof SearchProviderOperationContexts>(options:{
|
|
1007
|
-
provider:string;
|
|
1008
|
-
operation:Operation;
|
|
1009
|
-
context:SearchProviderOperationContexts[Operation];
|
|
1010
|
-
}):Promise<SearchProviderOperationResults[Operation]>;
|
|
913
|
+
runSearchProvider<Operation extends keyof SearchProviderOperationContexts>(options:{provider:string;operation:Operation;context:SearchProviderOperationContexts[Operation];}):Promise<SearchProviderOperationResults[Operation]>;
|
|
1011
914
|
/** Bound {@link runRegisteredVectorStoreAdapterForTest} over `activation.registrations`. */
|
|
1012
|
-
runVectorStoreAdapter<Operation extends keyof VectorStoreAdapterOperationContexts>(options:{
|
|
1013
|
-
adapter:string;
|
|
1014
|
-
operation:Operation;
|
|
1015
|
-
context:VectorStoreAdapterOperationContexts[Operation];
|
|
1016
|
-
}):Promise<VectorStoreAdapterOperationResults[Operation]>;
|
|
915
|
+
runVectorStoreAdapter<Operation extends keyof VectorStoreAdapterOperationContexts>(options:{adapter:string;operation:Operation;context:VectorStoreAdapterOperationContexts[Operation];}):Promise<VectorStoreAdapterOperationResults[Operation]>;
|
|
1017
916
|
/** Bound {@link runRegisteredMigrationForTest} over `activation.registrations`. */
|
|
1018
917
|
runMigration(options:RunRegisteredMigrationForTestOptions):Promise<unknown>;
|
|
1019
918
|
/** Bound {@link runRegisteredImporterForTest} over the whole `activation`. */
|
|
@@ -1025,10 +924,7 @@ runExporter(options:RunRegisteredExporterForTestOptions):Promise<CommandHandlerR
|
|
|
1025
924
|
* this harness's module, forwarding its resolved `name`/`layer`/`activation` so
|
|
1026
925
|
* the skip-key matches and a never-initialized extension is not deactivated.
|
|
1027
926
|
*/
|
|
1028
|
-
deactivate(options?:{
|
|
1029
|
-
deactivateTimeoutMs?:number;
|
|
1030
|
-
}):Promise<ExtensionDeactivationResult>;
|
|
1031
|
-
}
|
|
927
|
+
deactivate(options?:{deactivateTimeoutMs?:number;}):Promise<ExtensionDeactivationResult>;}
|
|
1032
928
|
/**
|
|
1033
929
|
* Activate one in-memory extension module and return a fluent
|
|
1034
930
|
* {@link ExtensionTestHarness} that binds every SDK testing helper to the right
|
|
@@ -1055,9 +951,4 @@ deactivateTimeoutMs?:number;
|
|
|
1055
951
|
* deliberately exercise a *failed* activation should call
|
|
1056
952
|
* {@link activateExtensionForTest} directly and inspect `activation.failed`.
|
|
1057
953
|
*/
|
|
1058
|
-
export declare function createExtensionTestHarness(module:unknown,options?:ActivateExtensionForTestOptions):Promise<ExtensionTestHarness>;
|
|
1059
|
-
export type { CommandHandlerResult,CommandOverrideContext,CommandOverrideResult,ExtensionActivationResult,ExtensionCommandRegistry,ExtensionDeactivationResult,ExtensionHookRegistry,ExtensionManifest,ExtensionParserRegistry,ExtensionPreflightRegistry,ExtensionRegistrationRegistry,ExtensionRendererRegistry,ExtensionServiceRegistry,ParserOverrideContext,ParserOverrideResult,PreflightOverrideContext,PreflightOverrideResult,RegisteredExtensionCommandOverride,RegisteredExtensionExporter,RegisteredExtensionFlagDefinitions,RegisteredExtensionImporter,RegisteredExtensionParserOverride,RegisteredExtensionPreflightOverride,RegisteredExtensionRendererOverride,RegisteredExtensionSchemaMigrationDefinition,RegisteredExtensionSearchProvider,RegisteredExtensionServiceOverride,RegisteredExtensionVectorStoreAdapter,RendererOverrideContext,RendererOverrideResult,ServiceOverrideContext,ServiceOverrideResult } from "../core/extensions/extension-types.js";
|
|
1060
|
-
export type { PmPackageManifest } from "../core/packages/manifest.js";
|
|
1061
|
-
export type { ProjectProfileLintReport } from "../core/profile/profile-lint.js";
|
|
1062
|
-
export type { ProjectProfileDefinition } from "../core/profile/profile-presets.js";
|
|
1063
|
-
export type { ExtensionManifestCompatibilityManifest,ExtensionManifestCompatibilityResult,ExtensionManifestCompatibilityTarget,ExtensionPreflightReport,PreflightExtensionOptions } from "./compose.js";
|
|
954
|
+
export declare function createExtensionTestHarness(module:unknown,options?:ActivateExtensionForTestOptions):Promise<ExtensionTestHarness>;export type{CommandHandlerResult,CommandOverrideContext,CommandOverrideResult,ExtensionActivationResult,ExtensionCommandRegistry,ExtensionDeactivationResult,ExtensionHookRegistry,ExtensionManifest,ExtensionParserRegistry,ExtensionPreflightRegistry,ExtensionRegistrationRegistry,ExtensionRendererRegistry,ExtensionServiceRegistry,ParserOverrideContext,ParserOverrideResult,PreflightOverrideContext,PreflightOverrideResult,RegisteredExtensionCommandOverride,RegisteredExtensionExporter,RegisteredExtensionFlagDefinitions,RegisteredExtensionImporter,RegisteredExtensionParserOverride,RegisteredExtensionPreflightOverride,RegisteredExtensionRendererOverride,RegisteredExtensionSchemaMigrationDefinition,RegisteredExtensionSearchProvider,RegisteredExtensionServiceOverride,RegisteredExtensionVectorStoreAdapter,RendererOverrideContext,RendererOverrideResult,ServiceOverrideContext,ServiceOverrideResult}from "../core/extensions/extension-types.js";export type{PmPackageManifest}from "../core/packages/manifest.js";export type{ProjectProfileLintReport}from "../core/profile/profile-lint.js";export type{ProjectProfileDefinition}from "../core/profile/profile-presets.js";export type{ExtensionManifestCompatibilityManifest,ExtensionManifestCompatibilityResult,ExtensionManifestCompatibilityTarget,ExtensionPreflightReport,PreflightExtensionOptions}from "./compose.js";
|